/* CRMClean — site de apresentação. Sem dependências externas: tudo carrega do próprio domínio. */

:root {
  /* Tema escuro, o único do site. Cores tiradas da logo: azul (CRM) e verde (Clean). */
  --blue: #3aa3ec;
  --blue-dark: #8cc8ff;
  --blue-soft: #0f2a44;
  --green: #6cc24a;
  --green-dark: #7fe08f;
  --green-soft: #12301c;
  --ink: #e6edf7;
  --muted: #a3b3c9;
  --bg: #0a1322;
  --surface: #101b2e;
  --border: #22324a;
  --phone: #24344f;
  --danger: #ff8f85;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 34px -16px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 28px 56px -26px rgba(46, 158, 62, 0.4);
  --gradient: linear-gradient(135deg, #0072c6 0%, #13946b 55%, #489c30 100%);
  --focus: rgba(72, 156, 48, 0.6);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* Base: texto maior, para ler bem no celular */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 800;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.fine {
  font-size: 0.95rem;
  color: var(--muted);
}

.center {
  text-align: center;
}

/* Barra superior (fixa ao rolar) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.topbar.is-scrolled {
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.5);
}

.topbar > .brand {
  display: inline-flex;
  margin: 14px clamp(16px, 4vw, 40px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  flex: none;
}

.brand img {
  width: 150px;
  height: auto;
  margin-left: -20px;
}

.topnav {
  display: flex;
  gap: 30px;
  font-size: 1rem;
  font-weight: 600;
}

.topnav a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.8;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.topnav a:hover {
  color: var(--blue);
  opacity: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 2px;
  min-width: 240px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.menu-panel a {
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.menu-panel a:hover {
  background: var(--blue-soft);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(0, 114, 198, 0.65);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px -12px rgba(0, 114, 198, 0.75);
}

.btn-ghost {
  background: var(--surface);
  color: var(--blue-dark);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.btn-sm {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 1rem;
}

.btn-light {
  background: #fff;
  color: #00783c;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.35);
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Rótulos pequenos acima dos títulos */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Herói */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 112px);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 92% 0%, rgba(72, 156, 48, 0.2), transparent 70%),
    radial-gradient(55% 60% at 0% 8%, rgba(0, 114, 198, 0.16), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.grad {
  background: var(--gradient);
  background-size: 100% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.lead {
  max-width: 34em;
  margin-bottom: 28px;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 36px;
  font-size: 1.08rem;
  font-weight: 600;
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--green-soft);
}

.checks li::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  width: 5px;
  height: 10px;
  margin-top: -7px;
  border-right: 2.5px solid var(--green-dark);
  border-bottom: 2.5px solid var(--green-dark);
  transform: rotate(45deg);
}

/* Celular de exemplo */
.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.phone {
  position: relative;
  width: min(300px, 80vw);
  padding: 12px;
  border-radius: 44px;
  background: var(--phone);
  box-shadow: var(--shadow-glow);
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 24px;
  margin-left: -48px;
  border-radius: 999px;
  background: var(--phone);
}

.phone-screen {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 430px;
  padding: 46px 14px 18px;
  border-radius: 34px;
  background: var(--bg);
}

.phone-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4px 4px;
}

.phone-head strong {
  font-size: 1.25rem;
}

.phone-head span {
  font-size: 0.9rem;
  color: var(--muted);
}

.phone-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.phone-card.card-violet {
  border-left-color: #7c3aed;
}

.phone-card.card-green {
  border-left-color: var(--green);
}

.phone-card strong {
  font-size: 1.05rem;
}

.phone-card small {
  font-size: 0.95rem;
  color: var(--muted);
}

.pill {
  justify-self: start;
  margin-bottom: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.pill-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.pill-violet {
  background: #ede9fe;
  color: #6d28d9;
}

.pill-green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.phone-stats div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
}

.phone-stats b {
  font-size: 1.2rem;
}

.phone-stats span {
  font-size: 0.9rem;
  opacity: 0.92;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
}

.float-chip::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.chip-a {
  top: 16%;
  right: -2%;
}

.chip-b {
  bottom: 16%;
  left: -4%;
}

.chip-b::before {
  background: var(--blue);
}

/* Seções */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head h2 {
  margin: 0;
}

.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

/* Recursos */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(72, 156, 48, 0.35);
}

.feature p {
  margin: 0;
  font-size: 1.04rem;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  transition: transform 0.35s var(--ease);
}

.feature:hover .icon {
  transform: rotate(-6deg) scale(1.08);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-green {
  background: var(--green-soft);
  color: var(--green-dark);
}

/* Como começar */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.step p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 10px 20px -10px rgba(72, 156, 48, 0.7);
}

/* Planos */
.period-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.period-btn {
  min-height: 50px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.period-btn:hover {
  color: var(--ink);
}

.period-btn[aria-pressed='true'] {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(0, 114, 198, 0.7);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.plan:not(.plan-featured):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan h3 {
  margin: 0;
}

.plan-desc {
  margin: 6px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.plan-featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box;
  box-shadow: var(--shadow-glow);
  translate: 0 -10px;
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(0, 114, 198, 0.6);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 6px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
}

.price-amount {
  font-size: clamp(2.5rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-unit {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--muted);
}

.price-note {
  min-height: 2.6em;
  margin: 0 0 22px;
  font-size: 1rem;
  color: var(--muted);
}

.plan ul {
  display: grid;
  flex: 1;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 30px;
  font-size: 1.05rem;
}

.plan li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.4em;
  width: 7px;
  height: 12px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg);
}

.btn-plan {
  width: 100%;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.btn-plan:hover {
  background: var(--gradient);
  color: #fff;
}

.btn-plan-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(0, 114, 198, 0.65);
}

.checkout-status {
  min-height: 1.6em;
  margin: 22px 0 0;
  color: var(--danger);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

/* Confirmação do e-mail antes do pagamento (item 2, app.js): painel aberto pelo clique no plano */
.verificacao {
  max-width: 520px;
  margin: 32px auto 0;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.verificacao h3 {
  margin: 0 0 6px;
}

.verificacao-plano {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-weight: 700;
}

.verificacao .form {
  max-width: none;
  margin-top: 18px;
}

.verificacao .fine,
.verificacao-linha {
  margin: 0;
  overflow-wrap: anywhere;
}

.verificacao-acoes {
  margin-top: 12px;
}

.verificacao-acoes .btn {
  width: 100%;
}

/* Aplicativo */
.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(32px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.app-card h2 {
  margin: 0 0 12px;
  color: #fff;
}

.app-card p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.12rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 13px 22px;
  border-radius: 16px;
  background: #0b1220;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.store:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6);
}

.store[aria-disabled='true'] {
  opacity: 0.85;
}

.store-small {
  display: block;
  font-size: 0.95rem;
  opacity: 0.9;
}

.store-big {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
}

.app-note {
  margin: 0;
  font-size: 1.02rem;
  opacity: 0.94;
}

.app-icon-wrap {
  display: grid;
  place-items: center;
}

.app-icon-wrap img {
  width: min(200px, 60vw);
  height: auto;
  border-radius: 42px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.45);
}

/* Perguntas */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.faq {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq:hover {
  border-color: rgba(72, 156, 48, 0.35);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq[open] summary::after {
  content: '–';
}

.faq p {
  margin: 12px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

/* Chamada final */
.cta {
  padding: clamp(40px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #00783c 0%, #489c30 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -28px rgba(0, 120, 60, 0.6);
}

.cta h2 {
  max-width: 22em;
  margin: 0 auto 12px;
  color: #fff;
}

.cta p {
  margin: 0 0 28px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.94);
}

/* Rodapé */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-grid img {
  width: 130px;
  height: auto;
  margin-bottom: 14px;
  margin-left: -17px;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-grid a {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-grid a:hover {
  color: var(--blue);
  opacity: 1;
}

.foot-title {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.98rem;
}

/* Páginas de texto (privacidade, termos, 404, agradecimento) */
/* A imagem das páginas do documento (/documento): cabe na largura da tela, com fundo branco. */
.doc-paginas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.doc-paginas[hidden] {
  display: none;
}
.doc-pagina {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 56px) clamp(16px, 4vw, 24px) 72px;
}

.doc h1 {
  font-size: clamp(2rem, 5.4vw, 2.6rem);
}

.doc h2 {
  margin-top: 1.8em;
  font-size: 1.3rem;
}

.doc ul {
  padding-left: 1.2em;
  color: var(--ink);
}

.doc li {
  margin-bottom: 0.4em;
}

.doc.center {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 60vh;
  text-align: center;
}

/* Movimento: só transform, opacidade e sombra. Quem pede menos movimento no aparelho não recebe nada disso. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes shine {
  from {
    background-position: 0% center;
  }

  to {
    background-position: 100% center;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(3%, -2%, 0) scale(1.06);
  }
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }

  70% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bump {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(72, 156, 48, 0.5);
  }

  75%,
  100% {
    box-shadow: 0 0 0 16px rgba(72, 156, 48, 0);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrada do herói */
  .hero-text > * {
    animation: rise 0.9s var(--ease) backwards;
  }

  .hero-text > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-text > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-text > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-text > :nth-child(5) {
    animation-delay: 0.32s;
  }

  .hero-visual {
    animation: rise 1s var(--ease) 0.25s backwards;
  }

  /* Coisas que se mexem sozinhas */
  .hero::before {
    animation: drift 18s ease-in-out infinite;
  }

  .phone {
    animation: float 7s ease-in-out infinite;
  }

  .float-chip {
    animation: float 6s ease-in-out infinite;
  }

  .chip-b {
    animation-delay: -2.5s;
  }

  .float-chip::before {
    animation: blink 2.2s ease-in-out infinite;
  }

  .hero .btn-primary {
    animation: pulse 2.4s ease-out 1.4s 3;
  }

  .grad {
    background-size: 220% auto;
    animation: shine 6s linear infinite;
  }

  /* Conteúdo que entra ao aparecer na tela (o JavaScript marca .is-visible) */
  .js .reveal {
    opacity: 0;
  }

  .js .reveal.is-visible {
    opacity: 1;
    animation: rise 0.8s var(--ease) backwards;
  }

  .features .feature.is-visible:nth-child(3n + 2) {
    animation-delay: 0.08s;
  }

  .features .feature.is-visible:nth-child(3n) {
    animation-delay: 0.16s;
  }

  .steps .step.is-visible:nth-child(2) {
    animation-delay: 0.1s;
  }

  .steps .step.is-visible:nth-child(3) {
    animation-delay: 0.2s;
  }

  .step.is-visible .step-num {
    animation: pop 0.6s var(--ease) 0.3s backwards;
  }

  .plans .plan.is-visible:nth-child(2) {
    animation-delay: 0.1s;
  }

  .plans .plan.is-visible:nth-child(3) {
    animation-delay: 0.2s;
  }

  .faq-grid .faq.is-visible:nth-child(2) {
    animation-delay: 0.08s;
  }

  .faq-grid .faq.is-visible:nth-child(3) {
    animation-delay: 0.16s;
  }

  .faq-grid .faq.is-visible:nth-child(4) {
    animation-delay: 0.24s;
  }

  .faq[open] p {
    animation: rise 0.35s var(--ease) backwards;
  }

  /* Troca de período: o preço "pisca" ao mudar */
  .price-amount.bump {
    animation: bump 0.45s var(--ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Telas menores */
@media (max-width: 1000px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .float-chip {
    display: none;
  }

  .plans {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
  }

  .plan-featured {
    translate: none;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-icon-wrap {
    order: -1;
  }

  .app-icon-wrap img {
    width: 120px;
    border-radius: 28px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topnav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 680px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    text-align: left;
  }

  .section-head h2,
  .section-head p:not(.eyebrow) {
    margin-inline: 0;
  }

  .feature,
  .step,
  .plan {
    padding: 26px 22px;
  }

  .period-toggle {
    width: 100%;
  }

  .period-btn {
    flex: 1;
    padding-inline: 10px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  /* Barra superior no celular: com fontes de sistema mais largas (DejaVu Sans), logo + Assinar + Menu passavam da tela a 360 px */
  .topbar-inner {
    gap: 10px;
  }

  .cta-row .btn,
  .cta .btn,
  .store {
    width: 100%;
  }

  .store {
    min-width: 0;
  }

  .phone-screen {
    min-height: 0;
  }
}

/* Barra superior abaixo de 360 px (ex.: 320 px): o logo continua desenhado com os mesmos 130 px de hoje (o max-width: 100%
   já reduz os 150 px declarados) e a margem negativa fica sobre a parte transparente à direita do logo.png. Assim o link do
   logo deixa de reservar espaço vazio; botões, logo e espaços entre os botões não mudam. */
@media (max-width: 359px) {
  .topbar-inner .brand img {
    width: 130px;
    max-width: none;
    margin-right: -20px;
  }
}

/* Formulários (criar senha) */
[hidden] {
  display: none !important;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  max-width: 440px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input {
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}

.field input:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.form .btn {
  width: 100%;
}

.msg {
  min-height: 1.6em;
  margin: 18px 0 0;
  font-weight: 600;
}

.msg-ok {
  color: var(--green-dark);
}

.msg-erro {
  color: var(--danger);
}

/* Aceitar convite: lista de convites a escolher (criar-senha.js) */
.convites {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.convites legend {
  padding: 0;
  margin-bottom: 4px;
  font-weight: 700;
}

.convite {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.convite:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.convite input {
  grid-row: 1 / span 2;
  margin-top: 6px;
  width: 20px;
  height: 20px;
}

.convite-empresa {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.convite-detalhe {
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

/* Lançamento (25/11/2026): contato pelo WhatsApp (contato.js) e aviso de cookies (analytics.js).
   Tudo nasce escondido no HTML; sem número do WhatsApp ou sem ga4Id no config.js, nada disto aparece. */
.contato-linha {
  max-width: 40em;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.contato-linha a {
  color: var(--green-dark);
  font-weight: 700;
}

.cta .cta-contato {
  margin: 22px 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.94);
}

.cta .cta-contato a {
  color: #fff;
  font-weight: 700;
}

/* Botão fixo do WhatsApp: no canto, acima do conteúdo ao rolar; o rodapé ganha espaço para não ficar por baixo dele. */
.whats-fixo {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 56px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: #15803d;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.whats-fixo:hover {
  background: #166534;
  transform: translateY(-1px);
}

.whats-fixo svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.whats-fixo svg path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.whats-fixo svg path:last-child {
  fill: currentColor;
}

.com-whats .footer {
  padding-bottom: 104px;
}

.com-aviso-cookies .whats-fixo {
  display: none;
}

/* Aviso de cookies: só com ga4Id no config.js, até a pessoa escolher. Aceitar e Recusar com um clique cada. */
.aviso-cookies {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.aviso-cookies-texto {
  flex: 1 1 300px;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.aviso-cookies-texto a {
  color: var(--blue-dark);
  font-weight: 700;
}

.aviso-cookies-acoes {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.com-aviso-cookies .footer,
.com-aviso-cookies .doc {
  padding-bottom: 240px;
}

@media (max-width: 520px) {
  /* No celular, o botão fica só com o ícone (o nome continua no aria-label). */
  .whats-fixo {
    padding: 0;
  }

  .whats-fixo span {
    display: none;
  }

  .aviso-cookies-acoes {
    flex: 1 1 100%;
  }

  .aviso-cookies-acoes .btn {
    flex: 1 1 0;
  }
}

/* Página 404 (lançamento, 25/11/2026): atalhos para as páginas principais e o contato. */
.links-404 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 4px 0 8px;
}

.links-404 a {
  color: var(--blue-dark);
  font-weight: 700;
}

.acoes-404 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Telas reais do app: carrossel lateral (28/11/2026; script em carrossel.js). Sem JavaScript, uma fileira com rolagem e encaixe;
   com JavaScript (.carrossel-ligado), um palco em círculo: a tela do centro em destaque e até duas de cada lado. */
.telas {
  overflow: hidden;
}

.carrossel {
  position: relative;
}

.carrossel-trilho {
  position: relative;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 28px calc(50% - 115px) 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.carrossel-trilho::-webkit-scrollbar {
  display: none;
}

.carrossel-trilho:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
  border-radius: var(--radius);
}

.tela {
  flex: 0 0 230px;
  margin: 0;
  text-align: center;
  scroll-snap-align: center;
}

.carrossel-ligado .carrossel-trilho {
  display: block;
  overflow: hidden;
  padding: 0;
  scroll-snap-type: none;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.carrossel-ligado .carrossel-trilho.arrastando {
  cursor: grabbing;
}

.carrossel-ligado .tela {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 230px;
  transform-origin: 50% 42%;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
  will-change: transform, opacity;
}

.carrossel-ligado .carrossel-trilho.arrastando .tela {
  transition: none;
}

.carrossel-ligado .tela:not(.atual) {
  cursor: pointer;
}

.carrossel-ligado .tela img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.carrossel-ligado .tela figcaption {
  transition: opacity 0.4s var(--ease);
}

.carrossel-ligado .tela:not(.atual) figcaption {
  opacity: 0;
}

.tela-fone {
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(150deg, #2b3a52 0%, #121c2d 55%, #1f2c42 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), 0 30px 60px -32px rgba(58, 163, 236, 0.45);
}

.tela-fone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #f6f7fb;
}

.tela figcaption {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.tela figcaption strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.tela figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.carrossel-controles {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.carrossel-ligado .carrossel-controles {
  display: flex;
}

.carrossel-botao {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.carrossel-botao:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.carrossel-botao:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.carrossel-botao svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carrossel-pausa .icone-tocar,
.carrossel-pausa[aria-pressed="true"] .icone-pausar {
  display: none;
}

.carrossel-pausa[aria-pressed="true"] .icone-tocar {
  display: block;
}

@media (min-width: 900px) {
  .tela {
    flex-basis: 250px;
  }

  .carrossel-ligado .tela {
    width: 250px;
  }

  .carrossel-trilho {
    gap: 44px;
    padding-left: calc(50% - 125px);
    padding-right: calc(50% - 125px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carrossel-ligado .tela,
  .carrossel-ligado .tela figcaption {
    transition: none;
  }
}
