/* ==========================================================================
   TeResponde — Design System
   Tokens herdados de apresentacao/css/style.css (identidade oficial vigente).
   Sem framework, sem reset universal (`*`), sem !important.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tipografia auto-hospedada
   Inter é a tipografia oficial da marca (a mesma da apresentação comercial).
   Servida daqui, e não do Google Fonts, por três motivos:
     1. elimina duas conexões de terceiros no caminho crítico;
     2. permite `preload`, então a fonte chega antes da primeira pintura;
     3. evita o envio do IP do visitante a um terceiro — coerente com o
        Aviso de Privacidade da própria plataforma.
   O fallback abaixo tem as métricas ajustadas às da Inter: se a fonte ainda
   não chegou, o texto ocupa praticamente a mesma altura e não há refluxo.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 750;   /* fonte variável: um arquivo cobre toda a escala */
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Helvetica Neue"), local("Arial"), local("Liberation Sans");
  size-adjust: 107.12%;
  ascent-override: 90.43%;
  descent-override: 22.61%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca — verde */
  --green-50:  #e0f6ec;
  --green-100: #b8ecd2;
  --green-300: #59d198;
  --green-500: #00b860;
  --green-600: #009e53;
  --green-700: #00783e;
  --green-800: #005c30;

  /* Apoio — azul petróleo */
  --blue-50:  #e5ecf0;
  --blue-100: #cfdde6;
  --blue-500: #3f7d9e;
  --blue-600: #286080;
  --blue-700: #1d4a63;

  /* Neutros */
  --ink:       #0a0f1e;
  --ink-soft:  #1e293b;
  --muted:     #64748b;
  --line:      #e6eaf0;
  --line-soft: #f1f5f9;
  --surface:   #f8fafc;
  --white:     #ffffff;

  /* Semânticos */
  --brand:        var(--green-700);
  --brand-hover:  var(--green-800);
  --brand-bright: var(--green-600);
  --accent:       var(--blue-600);
  --bg:           var(--white);
  --bg-alt:       var(--surface);
  --text:         var(--ink-soft);
  --text-strong:  var(--ink);
  --text-dim:     var(--muted);
  --border:       var(--line);

  /* Tipografia */
  --font-sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui,
               -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
               Consolas, monospace;

  --fs-kicker:  0.8125rem;
  --fs-small:   0.875rem;
  --fs-body:    1rem;
  --fs-lead:    clamp(1.0625rem, 0.35vw + 1rem, 1.25rem);
  --fs-h3:      clamp(1.125rem, 0.3vw + 1.05rem, 1.3rem);
  --fs-h2:      clamp(1.75rem, 2.2vw + 1rem, 2.75rem);
  --fs-display: clamp(2.125rem, 3.6vw + 1.1rem, 4rem);

  /* Espaçamento — escala 4px */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.25rem;  --s-6: 1.5rem;   --s-8: 2rem;     --s-10: 2.5rem;
  --s-12: 3rem;    --s-16: 4rem;    --s-20: 5rem;    --s-24: 6rem;

  /* Ritmo vertical das seções */
  --section-y: clamp(3.5rem, 6vw, 6.5rem);

  /* Formas e elevação */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 18px;  --r-xl: 26px;  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(10, 15, 30, .05), 0 1px 3px rgba(10, 15, 30, .04);
  --sh-md: 0 4px 12px rgba(10, 15, 30, .06), 0 2px 4px rgba(10, 15, 30, .04);
  --sh-lg: 0 18px 40px rgba(10, 15, 30, .10), 0 6px 14px rgba(10, 15, 30, .05);
  --sh-xl: 0 34px 70px rgba(10, 15, 30, .16), 0 10px 24px rgba(10, 15, 30, .07);

  /* Movimento — 150–300ms, ease-out ao entrar */
  --t-fast: 150ms cubic-bezier(.22, .61, .36, 1);
  --t-base: 220ms cubic-bezier(.22, .61, .36, 1);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --header-h: 72px;

  /* Camadas */
  --z-header: 100;
  --z-menu: 200;
  --z-skip: 300;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.021em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); letter-spacing: -0.032em; }
h2 { font-size: var(--fs-h2);     letter-spacing: -0.026em; }
h3 { font-size: var(--fs-h3);     letter-spacing: -0.014em; }

p { margin: 0; text-wrap: pretty; }

a { color: var(--brand); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-hover); }

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

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

strong { font-weight: 650; color: var(--text-strong); }

button { font: inherit; color: inherit; cursor: pointer; }

/* Foco visível — nunca remover */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection { background: var(--green-100); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. Utilitários de layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
@media (min-width: 768px)  { .wrap { padding-inline: var(--s-8); } }
@media (min-width: 1280px) { .wrap { padding-inline: var(--s-6); } }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--tight { padding-block: calc(var(--section-y) * .68); }

.skip-link {
  position: absolute;
  left: var(--s-4); top: var(--s-4);
  z-index: var(--z-skip);
  padding: var(--s-3) var(--s-5);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-sm);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform var(--t-base);
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

/* Cabeçalho de seção */
.s-head {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: var(--s-12);
  text-align: center;
}
.s-head--left { margin-inline: 0; text-align: left; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  padding: var(--s-1) var(--s-3);
  border: 1px solid var(--green-100);
  border-radius: var(--r-pill);
  background: var(--green-50);
  color: var(--green-800);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kicker__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.lead {
  margin-top: var(--s-4);
  color: var(--text-dim);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Ícones (sprite SVG — sem fonte de ícones, sem emoji)
   -------------------------------------------------------------------------- */
.ico {
  width: 24px; height: 24px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.ico--sm { width: 18px; height: 18px; stroke-width: 2; }
.ico--lg { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   5. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-6);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.008em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--sh-md);
}
.btn--primary:hover { background: var(--brand-hover); color: var(--white); box-shadow: var(--sh-lg); }

.btn--ghost {
  background: var(--white);
  border-color: var(--border);
  color: var(--text-strong);
}
.btn--ghost:hover { border-color: var(--green-300); background: var(--green-50); color: var(--green-800); }

.btn--onDark {
  background: var(--white);
  color: var(--green-800);
}
.btn--onDark:hover { background: var(--green-50); color: var(--green-800); }

.btn--outlineDark {
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
  background: transparent;
}
.btn--outlineDark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Cabeçalho / navegação
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.header[data-stuck="true"] { border-bottom-color: var(--border); box-shadow: var(--sh-sm); }

.header__bar {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 44px; /* alvo de toque, mesmo com o logotipo mais baixo */
}
.brand img { width: 158px; height: 34px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 550;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__link:hover { background: var(--green-50); color: var(--green-800); }

.header__cta { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.header__cta .btn { min-height: 42px; padding-inline: var(--s-5); font-size: var(--fs-small); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--text-strong);
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    z-index: var(--z-menu);
    margin: 0;
    padding: var(--s-4) var(--s-5) var(--s-8);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .nav__link {
    padding: var(--s-4);
    font-size: var(--fs-body);
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav__cta { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
}
@media (min-width: 961px) {
  .nav[hidden] { display: block; }
  .nav__cta { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(var(--s-12), 5.5vw, var(--s-24)) 0;
  background:
    radial-gradient(1100px 560px at 12% -8%, var(--green-50), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, var(--blue-50), transparent 60%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: var(--s-10);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: var(--s-12); }
}

.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  /* realce baixo, como um marca-texto discreto — nunca itálico */
  background: linear-gradient(transparent 72%, var(--green-100) 72%, var(--green-100) 94%, transparent 94%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__lead {
  max-width: 34rem;
  color: var(--text-dim);
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.hero .btn-row { margin-top: var(--s-8); }

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  color: var(--text-dim);
  font-size: var(--fs-small);
}
.hero__note { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__note .ico { color: var(--brand-bright); }

/* Moldura de aplicação */
.shot {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.shot__chrome {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.shot__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot__label {
  margin-left: var(--s-2);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
}
.shot img { width: 100%; }

.hero__shot { margin-bottom: calc(var(--section-y) * -.2); }

.figure { margin: 0; }
.figure figcaption {
  margin-top: var(--s-3);
  color: var(--text-dim);
  font-size: var(--fs-small);
  text-align: center;
}

/* --------------------------------------------------------------------------
   8. Grids e cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.card--hover:hover {
  border-color: var(--green-300);
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}
.card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--green-50);
  color: var(--green-800);
}
.card h3 { margin-top: var(--s-1); }
.card p { color: var(--text-dim); font-size: var(--fs-small); line-height: 1.6; }

/* Cards de problema */
.pain {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
}
.pain .ico { margin-top: 2px; color: #b4424c; }
.pain p { font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   9. Fluxo da solução
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  gap: var(--s-4);
  align-items: stretch;
  margin-top: var(--s-10);
}
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
}

.flow__node {
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-sm);
  text-align: center;
}
.flow__node--brand {
  border-color: transparent;
  background: linear-gradient(160deg, var(--green-700), var(--blue-700));
  color: var(--white);
  box-shadow: var(--sh-lg);
}
.flow__node--brand h3, .flow__node--brand p { color: var(--white); }
.flow__node--brand p { opacity: .88; }
.flow__node .card__ico { margin-inline: auto; }
.flow__node--brand .card__ico { background: rgba(255, 255, 255, .16); color: var(--white); }
.flow__node h3 { margin-block: var(--s-3) var(--s-1); }
.flow__node p { font-size: var(--fs-small); }

.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-300);
}
.flow__arrow .ico { width: 28px; height: 28px; }
@media (max-width: 899px) {
  .flow__arrow .ico { transform: rotate(90deg); }
}

/* --------------------------------------------------------------------------
   10. Passos numerados
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }

.step {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.step p { color: var(--text-dim); font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   11. Blocos alternados (IA, CRM)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--s-10);
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-16); }
  .split--flip .split__media { order: -1; }
}

.ticks { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.ticks .ico { margin-top: 3px; color: var(--brand-bright); }

/* --------------------------------------------------------------------------
   12. Integrações
   -------------------------------------------------------------------------- */
.integra { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .integra { grid-template-columns: repeat(3, 1fr); } }

.integra__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
}
.integra__item h3 { font-size: 1.0625rem; }
.integra__item p { margin-top: var(--s-1); color: var(--text-dim); font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   13. Depoimentos
   -------------------------------------------------------------------------- */
.quotes { display: grid; gap: var(--s-5); }
@media (min-width: 700px)  { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes { grid-template-columns: repeat(4, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.quote__stars { display: flex; gap: 2px; margin-bottom: var(--s-4); color: #e0a01a; }
.quote__stars .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.quote blockquote { margin: 0; font-size: var(--fs-small); line-height: 1.65; }
.quote figcaption {
  margin-top: auto;
  padding-top: var(--s-5);
}
.quote__name { font-weight: 600; color: var(--text-strong); font-size: var(--fs-small); }
.quote__org { color: var(--text-dim); font-size: 0.8125rem; }

/* --------------------------------------------------------------------------
   14. Planos
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-8) var(--s-6) var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.plan--featured {
  border-color: var(--green-300);
  box-shadow: var(--sh-lg);
}
@media (min-width: 900px) {
  .plan--featured { transform: scale(1.03); z-index: 1; }
}

.plan__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--s-1) var(--s-4);
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan--featured .plan__badge { background: var(--brand); }
.plan:not(.plan--featured) .plan__badge { background: var(--ink-soft); }

.plan__name {
  color: var(--text-dim);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
  margin-block: var(--s-3) var(--s-1);
}
.plan__amount {
  color: var(--text-strong);
  font-size: clamp(2.25rem, 3vw, 2.875rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.plan__cycle { color: var(--text-dim); font-size: var(--fs-small); }
.plan__summary {
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: var(--fs-small);
}

.plan__feats { display: grid; gap: var(--s-3); padding-block: var(--s-5); }
.plan__feats li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.plan__feats .ico { margin-top: 2px; }
.plan__feats li[data-on="yes"] .ico { color: var(--brand-bright); }
.plan__feats li[data-on="no"]  { color: var(--text-dim); }
.plan__feats li[data-on="no"] .ico { color: #c2cad6; }

.plan .btn { margin-top: auto; }
.plan__note {
  margin-top: var(--s-8);
  color: var(--text-dim);
  font-size: var(--fs-small);
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; display: grid; gap: var(--s-3); }

.qa {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.qa:has(.qa__btn[aria-expanded="true"]) { border-color: var(--green-300); box-shadow: var(--sh-sm); }

.qa__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  min-height: 60px;
  padding: var(--s-4) var(--s-5);
  border: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: var(--fs-body);
  font-weight: 600;
  text-align: left;
  transition: background var(--t-fast);
}
.qa__btn:hover { background: var(--surface); }
.qa__btn .ico { color: var(--brand); transition: transform var(--t-base); }
.qa__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }

.qa__body { padding: 0 var(--s-5) var(--s-5); }
.qa__body[hidden] { display: none; }
.qa__body p { color: var(--text-dim); font-size: var(--fs-small); line-height: 1.7; }
.qa__body p + p { margin-top: var(--s-3); }

/* --------------------------------------------------------------------------
   16. CTA final
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  padding-block: var(--section-y);
  background: linear-gradient(155deg, var(--green-800) 0%, var(--green-700) 42%, var(--blue-700) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .1), transparent);
  pointer-events: none;
}
.cta-final h2 { color: var(--white); position: relative; }
.cta-final p {
  position: relative;
  max-width: 40rem;
  margin: var(--s-4) auto 0;
  color: rgba(255, 255, 255, .86);
  font-size: var(--fs-lead);
}
.cta-final .btn-row { position: relative; margin-top: var(--s-8); }

/* --------------------------------------------------------------------------
   17. Rodapé
   -------------------------------------------------------------------------- */
.footer {
  padding-block: var(--s-16) var(--s-8);
  background: var(--ink);
  color: #94a3b8;
  font-size: var(--fs-small);
}
.footer__grid {
  display: grid;
  gap: var(--s-10);
}
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.footer img { width: 168px; height: auto; }
.footer__about { margin-top: var(--s-5); max-width: 22rem; line-height: 1.65; }

.footer h3 {
  margin-bottom: var(--s-4);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.footer ul { display: grid; }
.footer a { color: #94a3b8; }
.footer a:hover { color: var(--white); }

/* Links do rodapé com alvo de toque de 44px — a linha inteira é clicável */
.footer nav ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
}
.footer__contact li > a,
.footer__contact li > span {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.footer__contact .ico { color: var(--green-300); }

.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid #243043;
  border-radius: 50%;
  color: #94a3b8;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.footer__social a:hover { border-color: var(--green-300); background: #16202f; color: var(--white); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-16);
  padding-top: var(--s-6);
  border-top: 1px solid #1c2636;
  font-size: 0.8125rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-5); }

/* --------------------------------------------------------------------------
   18. Botão flutuante do WhatsApp
   -------------------------------------------------------------------------- */
.wa {
  position: fixed;
  right: max(var(--s-5), env(safe-area-inset-right));
  bottom: max(var(--s-5), env(safe-area-inset-bottom));
  z-index: var(--z-header);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  height: 56px;
  padding-inline: var(--s-5);
  border-radius: var(--r-pill);
  /* #0f7e37 dá 5,17:1 com o texto branco — o verde claro do WhatsApp
     (#25D366 / #1fab54) fica em 3:1 e reprova em texto pequeno. */
  background: #0f7e37;
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 600;
  box-shadow: var(--sh-lg);
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.wa:hover { background: #0b6e30; color: var(--white); box-shadow: var(--sh-xl); transform: translateY(-2px); }
.wa .ico { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.wa__text { display: none; }
@media (min-width: 640px) { .wa__text { display: inline; } }

/* --------------------------------------------------------------------------
   19. Páginas de documento (Termos / Privacidade)
   -------------------------------------------------------------------------- */
.doc-hero {
  padding-block: var(--s-16) var(--s-12);
  background:
    radial-gradient(900px 420px at 15% -20%, var(--green-50), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.doc-hero h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-block: var(--s-4) var(--s-3); }
.doc-hero .meta { color: var(--text-dim); font-size: var(--fs-lead); max-width: 42rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  color: var(--text-dim);
  font-size: var(--fs-small);
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--text-strong); font-weight: 550; }
.crumbs .ico { width: 14px; height: 14px; opacity: .6; }

.doc {
  max-width: 50rem;
  margin-inline: auto;
  padding-block: var(--s-12) var(--s-20);
}
.doc h2 {
  margin-top: var(--s-12);
  margin-bottom: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-soft);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  scroll-margin-top: calc(var(--header-h) + var(--s-6));
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc h3 { margin-top: var(--s-8); margin-bottom: var(--s-3); font-size: 1.0625rem; }
.doc p, .doc li { color: var(--text); font-size: 0.9375rem; line-height: 1.75; }
.doc p { margin-block: var(--s-4); }
.doc ul, .doc ol { margin-block: var(--s-4); padding-left: var(--s-6); }
.doc ul li { list-style: disc; margin-bottom: var(--s-2); }
.doc ol li { list-style: decimal; margin-bottom: var(--s-2); }
.doc a { text-decoration: underline; text-underline-offset: 2px; }

.doc .card {
  gap: 0;
  margin-block: var(--s-6);
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
}
.doc .notice {
  border-color: var(--green-100);
  background: var(--green-50);
}
.doc .notice p, .doc .notice { color: var(--green-800); }
.doc .toc ol { margin-top: var(--s-3); margin-bottom: 0; }
.doc .toc strong { display: block; }
.doc .toc li { font-size: var(--fs-small); }
.doc .badge {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  border: 1px solid var(--green-100);
  border-radius: var(--r-pill);
  background: var(--green-50);
  color: var(--green-800);
  font-size: var(--fs-kicker);
  font-weight: 600;
}
.doc table { width: 100%; border-collapse: collapse; margin-block: var(--s-5); font-size: var(--fs-small); }
.doc th, .doc td { padding: var(--s-3); border: 1px solid var(--border); text-align: left; }
.doc th { background: var(--surface); font-weight: 650; color: var(--text-strong); }

/* Tabelas largas rolam dentro do próprio contêiner */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   20. Movimento — entrada suave, respeitando preferências
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 420ms cubic-bezier(.22, .61, .36, 1),
                transform 420ms cubic-bezier(.22, .61, .36, 1);
  }
  .reveal[data-shown="true"] { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   21. Impressão
   -------------------------------------------------------------------------- */
@media print {
  .header, .wa, .cta-final, .footer__social, .nav-toggle { display: none; }
  body { color: #000; }
  .doc { max-width: none; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
