/* AZVCHAT · site institucional
   Cores de marca vindas do produto (apps/web/src/lib/brand.ts):
   verde #17BF6B (detalhe) · #0a6b3a (fundo sólido, passa no AA com branco) · azul-marinho #102A4C. */

:root {
  --green: #17bf6b;
  --green-50: #e9faf1;
  --green-100: #c6f2dc;
  --green-400: #2fcb80;
  --green-600: #0a6b3a;
  --green-700: #07512c;
  --navy: #102a4c;
  --navy-800: #0b1f38;
  --ink: #16202b;
  --ink-2: #4b5866;
  --line: #e3e8ee;
  --soft: #f4f7fa;
  --white: #ffffff;
  --note: #fff6c2;
  --sent: #d9fdd3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 42, 76, 0.10);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
/* `hidden` tem de vencer qualquer `display` de classe (o botão do pop-up é .btn, inline-flex). */
[hidden] { display: none !important; }
a { color: var(--green-600); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: var(--soft); padding: .1em .4em; border-radius: 6px; font-size: .95em; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 14px 22px; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
/* Só o CTA "Quero ser atendido por humano". O seletor por data-lead não alcança
   os outros .btn--ghost (Ver preços, barra do celular). Azul-marinho da marca. */
.btn[data-lead="humano"] {
  background: var(--navy); /* #102a4c */
  color: #fff;
  border-color: var(--navy);
}
.btn[data-lead="humano"]:hover {
  background: var(--navy-800); /* #0b1f38 */
  border-color: var(--navy-800);
  color: #fff;
}
.btn--sm { padding: 10px 16px; font-size: .95rem; }
.btn--lg { padding: 18px 28px; font-size: 1.1rem; }
.section__cta { margin-top: 40px; text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.actions--center { justify-content: center; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-weight: 800; letter-spacing: -0.02em; font-size: 1.2rem; text-transform: uppercase; }
.brand__azv { color: var(--navy); }
.brand__chat { color: var(--green); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav__list a:hover { color: var(--navy); }
.nav__cta { display: none; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--navy); }

/* Herói */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--green-50) 0%, #fff 70%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
/* Sem o vídeo ao lado, o texto ocupa o topo sozinho; a largura fica limitada para a linha não esticar. */
.hero__copy { max-width: 820px; }
.eyebrow { color: var(--green-600); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.eyebrow--center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 56ch; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { background: #fff; border: 1px solid var(--green-100); color: var(--navy); font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.badges li::before { content: "✓ "; color: var(--green-600); }

/* Vídeo de vendas no herói */
.hero__video { display: grid; gap: 10px; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: radial-gradient(120% 120% at 20% 0%, #1b3d66 0%, var(--navy) 45%, var(--navy-800) 100%); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; font: inherit; padding: 24px; }
.video__poster:focus-visible { outline: 3px solid var(--green-400); outline-offset: -3px; }
.video__play { width: 76px; height: 76px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(23,191,107,.45); transition: transform .15s; }
.video__play::after { content: ""; display: block; width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--navy-800); margin-left: 6px; }
.video__poster:hover .video__play { transform: scale(1.06); }
.video__label { font-weight: 700; font-size: 1.05rem; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.video--empty .video__poster { cursor: default; }
/* Com capa clara (print do sistema), o rótulo branco só se lê com um véu escuro por cima. */
.video--poster .video__poster { background: linear-gradient(180deg, rgba(11, 31, 56, .25) 0%, rgba(11, 31, 56, .6) 100%); }
.video--empty .video__label { font-weight: 500; color: #c9d3df; font-size: .95rem; max-width: 34ch; }
.hero__caption { margin: 0; font-size: .9rem; color: var(--ink-2); text-align: center; }

/* Mockup da Inbox */
.shot--mock { max-width: 100%; }
.mock { background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; font-size: 11px; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d5dbe3; }
.mock__bar em { margin-left: 10px; font-style: normal; color: var(--ink-2); background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; }
.mock__body { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr; min-height: 330px; }
.mock__list { border-right: 1px solid var(--line); padding: 8px; }
.mock__filters { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.mock__filters i { font-style: normal; border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; color: var(--ink-2); }
.mock__row { display: flex; gap: 7px; align-items: center; padding: 6px; border-radius: 8px; }
.mock__row--active { background: var(--green-50); }
.mock__row div { flex: 1; min-width: 0; }
.mock__row strong { display: block; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__row small { color: var(--ink-2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.av--g { background: var(--green-600); }
.av--n { background: var(--navy); }
.pill { background: #0c8049; color: #fff; border-radius: 999px; padding: 1px 6px; font-weight: 700; }
.mock__chat { display: flex; flex-direction: column; gap: 6px; padding: 8px; background: #f7f9fb; }
.mock__chat header { background: #fff; border-radius: 8px; padding: 6px 8px; border: 1px solid var(--line); }
.mock__chat header strong { display: block; color: var(--navy); }
.mock__chat header small { color: var(--ink-2); }
.mock__pin { background: #fff; border-left: 3px solid var(--green); padding: 4px 8px; border-radius: 6px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bub { max-width: 82%; padding: 6px 9px; border-radius: 10px; line-height: 1.35; }
.bub--in { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.bub--out { background: var(--sent); color: #111b21; align-self: flex-end; }
.bub--note { background: var(--note); border: 1px solid #f1df8b; align-self: stretch; max-width: 100%; color: #5c4b00; }
.mock__composer { margin-top: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; color: var(--ink-2); }
.mock__composer span { color: var(--green-600); font-weight: 600; }
.mock__panel { border-left: 1px solid var(--line); padding: 8px 10px; }
.mock__panel p { margin: 0 0 8px; }
.mock__panel small { display: block; color: var(--ink-2); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.mock__panel strong { color: var(--navy); display: block; }
.st { color: #b45309 !important; }
.tag { display: inline-block; border-radius: 4px; padding: 1px 6px; color: #fff; font-weight: 600; }
.tag--a { background: var(--navy); }
.tag--b { background: #dc2626; }

/* Seções */
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #e6ecf3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__title { text-align: center; max-width: 24ch; margin-inline: auto; margin-bottom: 40px; }
.section__title--left { text-align: left; margin-inline: 0; }
.section__close { text-align: center; max-width: 60ch; margin: 32px auto 0; color: var(--ink-2); font-size: 1.05rem; }
.text { color: var(--ink-2); font-size: 1.05rem; }

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

.pain { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 22px; font-size: 1.02rem; color: var(--ink); font-style: italic; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pillars li { display: flex; gap: 16px; background: var(--soft); border-radius: var(--radius); padding: 20px; }
.pillars__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); border-radius: 12px; font-size: 1.3rem; }
.pillars h3 { margin-bottom: .25em; }
.pillars p { margin: 0; color: var(--ink-2); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.steps__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--navy-800); font-weight: 800; margin-bottom: 14px; }
.steps p { margin: 0; color: #c9d3df; }

/* Funcionalidades */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature--flip .feature__text { order: 2; }
.feature__text p { color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3 3 7-7' fill='none' stroke='%2307512c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(16, 42, 76, .45); background: #fff; }
.shot__ph { aspect-ratio: 16 / 10; border-radius: var(--radius); border: 2px dashed #c9d3df; background: repeating-linear-gradient(135deg, #f7f9fb 0 12px, #eef2f6 12px 24px); display: grid; place-items: center; padding: 24px; text-align: center; color: var(--ink-2); font-weight: 500; }

/* Diferenciais e histórias */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.05rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.story { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.story__when { color: var(--green-600); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: 10px; }
.story p:last-child { margin: 0; }

/* Segurança */
.secure { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; max-width: 980px; margin-inline: auto; }
.secure li { padding-left: 30px; position: relative; color: #dbe4ee; }
.secure li::before { content: "🔒"; position: absolute; left: 0; top: 0; font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 32px 16px 0; list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--green-600); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* Chamada final */
.cta { background: linear-gradient(180deg, #fff 0%, var(--green-50) 100%); }
.cta__box { text-align: center; background: #fff; border: 1px solid var(--green-100); border-radius: 20px; padding: 48px 32px; box-shadow: var(--shadow); }
.cta__box p { color: var(--ink-2); font-size: 1.1rem; max-width: 58ch; margin-inline: auto; }
.cta__alt { font-size: 1rem !important; margin-top: 8px; }

/* Rodapé */
.footer { background: var(--navy-800); color: #b7c3d1; padding: 48px 0 24px; font-size: .95rem; }
.footer a { color: #e6ecf3; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__grid p { margin: 8px 0 0; max-width: 40ch; }
.brand__word--footer .brand__azv { color: #fff; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .85rem; color: #8b9bb0; }
.footer__legal p { margin: 0 0 8px; }

/* Responsivo */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero__grid, .split, .feature { grid-template-columns: minmax(0, 1fr); }
  .hero__copy, .hero__video, .shot--mock, .mock, .mock__list, .mock__chat, .mock__panel { min-width: 0; }
  .feature--flip .feature__text { order: 0; }
  .secure { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .hero { padding-top: 36px; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .topbar .btn { display: none; }
  .nav__toggle { display: inline-block; }
  .nav__list { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--soft); }
  .nav--open .nav__list { display: flex; }
  .mock__body { grid-template-columns: 1fr 1.4fr; }
  .mock__panel { display: none; }
  .btn { width: 100%; white-space: normal; text-align: center; padding: 14px 16px; }
  .nav__cta { display: block; padding-top: 12px; }
  .nav__cta a.btn { display: flex; border-bottom: 0; color: #fff; }

  /* Herói: no celular o título de seis linhas empurrava os botões para a segunda tela. */
  .hero { padding-bottom: 28px; }
  .hero__grid { gap: 28px; }
  .eyebrow { font-size: .72rem; letter-spacing: .06em; margin-bottom: 10px; }
  h1 { font-size: 1.9rem; line-height: 1.12; }
  .lead { font-size: 1.02rem; }
  .actions { margin: 18px 0 16px; }
  .badges li { font-size: .8rem; padding: 5px 10px; }
  /* Sem vídeo configurado, o espaço reservado não ganha nada no celular: só distância. */
  .hero__video:has(.video--empty) { display: none; }
  .hero__caption { font-size: .85rem; }

  /* Funcionalidades: imagem antes do texto e lista resumida, com "ver tudo" por bloco.
     Sem isso a seção tinha 12 mil pixels de altura, metade da página, no telefone. */
  .feature { gap: 18px; padding: 28px 0; }
  .feature .shot { order: -1; }
  .feature--flip .feature__text { order: 0; }
  .feature__text h3 { font-size: 1.25rem; }
  .feature--collapsible:not(.feature--open) .checks li:nth-child(n+4) { display: none; }
  .feature--collapsible .feature__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 0; background: none; border: 0; color: var(--green-600); font: inherit; font-weight: 600; cursor: pointer; }
  .feature__more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
  .feature--open .feature__more::after { transform: translateY(2px) rotate(225deg); }

  /* Alvos de toque: slider com polegar maior e links do rodapé com área de 44px. */
  .ctl__row input[type="range"] { height: 28px; }
  .ctl__btn { width: 44px; height: 44px; }
  .footer__links { gap: 4px 20px; }
  .footer__links a { display: inline-block; padding: 10px 0; }
  .footer__grid p { font-size: .95rem; }
  .cta__box { padding: 32px 20px; }
  .section__title { margin-bottom: 28px; }
  .statement__title { font-size: 1.85rem; }
  .statement__text, .text, .section__close { font-size: 1rem; }
  .pain { padding: 18px; font-size: .98rem; }
  .steps li, .story, .card { padding: 20px; }
  .faq summary { font-size: 1rem; padding: 14px 32px 14px 0; }
  main { padding-bottom: 76px; } /* espaço para a barra fixa não cobrir o rodapé */
}

/* Barra fixa do celular e o "ver tudo" das funcionalidades: só existem em tela estreita. */
.stickybar, .feature__more { display: none; }
@media (max-width: 760px) {
  .stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,42,76,.08); transform: translateY(110%); transition: transform .2s; }
  .stickybar.is-visible { transform: translateY(0); }
  .stickybar .btn { padding: 12px 10px; font-size: .95rem; }
  .stickybar .btn--ghost { background: #fff; }
  @media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }
}

/* Ligação no mockup, nota de módulo e cards de destaque */
.bub--call { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-700); align-self: center; max-width: 100%; font-weight: 600; }
.note { font-size: .92rem; color: var(--ink-2); background: var(--soft); border-radius: 10px; padding: 10px 14px; margin-top: 16px; }
.card--lead { border-color: var(--green-400); background: linear-gradient(180deg, #fff 0%, var(--green-50) 100%); }
.card--lead h3::before { content: "★ "; color: var(--green); }

/* Preços · simulador */
.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.pricing__form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 24px; }
.pricing__help { margin: 0; color: var(--ink-2); }
.ctl { display: grid; gap: 10px; }
.ctl__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ctl__head label { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.ctl__value { font-weight: 800; color: var(--navy); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.ctl__row { display: flex; align-items: center; gap: 12px; }
.ctl__btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ctl__btn:hover { border-color: var(--green-600); color: var(--green-700); }
.ctl__btn:focus-visible, .ctl__row input:focus-visible, .switch input:focus-visible + .switch__track { outline: 3px solid var(--green-400); outline-offset: 2px; }
.ctl__row input[type="range"] { flex: 1; accent-color: var(--green-600); height: 6px; cursor: pointer; }
.ctl__row input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; }
.ctl__row input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; }
.ctl__hint { margin: 0; font-size: .9rem; color: var(--ink-2); min-height: 1.3em; }
.switch { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 46px; height: 26px; border-radius: 999px; background: #cfd7e0; position: relative; transition: background .15s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .switch__track { background: var(--green-600); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch__text strong { display: block; color: var(--navy); }
.switch__text small { color: var(--ink-2); }
.switch__price { font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.included-ai { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px dashed var(--green-400); border-radius: 14px; background: var(--green-50); }
.included-ai__badge { width: 46px; height: 26px; border-radius: 8px; background: var(--green-600); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; letter-spacing: .05em; }
.included-ai .switch__price { color: var(--green-700); }
.quote { background: var(--navy); color: #e6ecf3; border-radius: 20px; padding: 28px; position: sticky; top: 88px; }
.quote__label { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #9fb0c5; font-weight: 700; }
.quote__total { margin: 6px 0 14px; font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.quote__total small { font-size: 1rem; font-weight: 500; color: #9fb0c5; margin-left: 4px; }
.quote__lines { list-style: none; margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.quote__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.quote__lines li span:last-child { font-weight: 600; color: #fff; }
.quote__included { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: #c9d3df; }
.quote__included li { padding-left: 22px; position: relative; }
.quote__included li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.quote .btn { width: 100%; }
.quote__foot { margin: 14px 0 0; font-size: .82rem; color: #9fb0c5; }
@media (max-width: 1000px) {
  .pricing { grid-template-columns: 1fr; }
  .quote { position: static; }
}
@media (max-width: 760px) {
  .pricing__form, .quote { padding: 20px; }
  .switch, .included-ai { grid-template-columns: auto 1fr; }
  .switch__price { grid-column: 2; }
}

/* Pop-up "Quero ser atendido" (nome + WhatsApp) */
.popup { width: min(460px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 20px; padding: 0; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(16, 42, 76, .45); }
.popup::backdrop { background: rgba(11, 31, 56, .6); backdrop-filter: blur(2px); }
.popup__form { display: grid; gap: 8px; padding: 22px 22px 20px; }
.popup__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.popup__kicker { margin: 0 0 4px; color: var(--green-600); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.popup__head h3 { margin: 0; font-size: 1.25rem; }
.popup__close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.popup__close:hover { border-color: var(--navy); }
.popup__escolha { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; margin: 8px 0 4px; padding: 0; min-width: 0; }
.popup__escolha legend { grid-column: 1 / -1; padding: 0; margin-bottom: 6px; }
.popup__opcao { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f5f8fb; color: var(--navy); font-size: .92rem; font-weight: 600; line-height: 1.25; cursor: pointer; transition: background .15s, border-color .15s; }
.popup__opcao input { position: absolute; opacity: 0; pointer-events: none; }
.popup__opcao-icone { width: 22px; height: 22px; flex: none; color: var(--ink-2); }
.popup__opcao:hover { border-color: var(--green-400); }
.popup__opcao:has(input:checked) { background: var(--green-50); border-color: var(--green-600); box-shadow: inset 0 0 0 1px var(--green-600); color: var(--green-700); }
.popup__opcao:has(input:checked) .popup__opcao-icone { color: var(--green-600); }
.popup__opcao:has(input:focus-visible) { outline: 2px solid var(--green-400); outline-offset: 2px; }
.popup--pronto .popup__escolha { display: none; }
.popup__intro { margin: 0 0 8px; color: var(--ink-2); font-size: .95rem; }
.popup__label { font-weight: 600; font-size: .9rem; color: var(--navy); margin-top: 4px; }
.popup__input { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; }
.popup__input:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 3px rgba(23, 191, 107, .25); }
.popup__input[aria-invalid="true"] { border-color: #c8432b; }
.popup__erro { margin: 0; color: #b23a24; font-size: .9rem; }
.popup__submit { margin-top: 10px; width: 100%; }
.popup__submit[disabled] { opacity: .7; cursor: wait; }
.popup__nota { margin: 0; text-align: center; color: var(--ink-2); font-size: .8rem; }
.popup__ok { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--green-100); border-radius: 12px; background: var(--green-50); }
.popup__ok strong { color: var(--navy); }
.popup__ok p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.popup--enviando .popup__submit { pointer-events: none; }
.popup--pronto .popup__label, .popup--pronto .popup__input, .popup--pronto .popup__submit, .popup--pronto .popup__nota, .popup--pronto .popup__intro, .popup--pronto .popup__erro { display: none; }

/* Declaração: diferente de tudo, pensado pelo empresário */
.statement { background: var(--navy-800); color: #dbe4ee; padding: 72px 0; position: relative; overflow: hidden; }
.statement::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23,191,107,.22), transparent 70%); pointer-events: none; }
.statement__inner { position: relative; max-width: 900px; }
.statement__kicker { margin: 0 0 14px; color: var(--green); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.statement__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 22px; text-wrap: balance; }
.statement__title mark { background: linear-gradient(transparent 55%, rgba(23,191,107,.35) 55%); color: #fff; padding: 0 .1em; }
.statement__text { font-size: 1.15rem; line-height: 1.6; max-width: 64ch; color: #dbe4ee; }
.statement__points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.statement__points li { border-top: 3px solid var(--green); padding-top: 14px; display: grid; gap: 6px; }
.statement__points strong { color: #fff; font-size: 1.05rem; }
.statement__points span { color: #b7c3d1; font-size: .95rem; }
@media (max-width: 760px) {
  .statement { padding: 52px 0; }
  .statement__points { grid-template-columns: 1fr; }
}

/* Celular: logo depois do herói vêm as Funcionalidades; o resto segue a ordem normal.
   Só muda a ordem visual (o HTML e o computador continuam iguais). */
@media (max-width: 760px) {
  #conteudo { display: flex; flex-direction: column; }
  #conteudo > * { order: 2; }
  #conteudo > .hero { order: 0; }
  #conteudo > #funcionalidades { order: 1; }
}
