/* ════════════════════════════════════════════════
   2L SOLUÇÕES — PLANOS DE SAÚDE
   Folha de estilos principal — direção editorial

   Índice
   ──────
    1. Tokens de design
    2. Reset & base
    3. Layout utilitário
    4. Header
    5. Hero — copy
    6. Formulário — card
    7. Formulário — campos
    8. Formulário — segmented control
    9. Formulário — chips (checkbox)
   10. Formulário — idades / faixa
   11. Formulário — preferências
   12. Formulário — CTA
   13. Cabeçalho de seção
   14. Destaques (planos)
   15. Diferenciais
   16. Assinatura (logo)
   17. Footer
   18. Reveal on scroll
   19. Responsivo
   20. Acessibilidade / motion
   ════════════════════════════════════════════════ */


/* ── 1. Tokens de design ─────────────────────── */
:root {
  /* Paleta — derivada do logo, tom sóbrio */
  --paper:      #F7F6F2;   /* fundo geral, marfim quente */
  --surface:    #FFFFFF;   /* cards e formulário */
  --ink:        #1E2A31;   /* texto corrido */
  --ink-soft:   rgba(30, 42, 49, 0.62);
  --ink-faint:  rgba(30, 42, 49, 0.42);
  --navy:       #123B53;   /* títulos, botões */
  --navy-deep:  #0C2837;   /* footer, hover do CTA */
  --teal:       #1E7A8A;   /* acento institucional */
  --mint-wash:  #EBF2EE;   /* lavagem sutil de fundo */

  /* Hairlines */
  --line:        rgba(18, 59, 83, 0.14);
  --line-strong: rgba(18, 59, 83, 0.28);

  /* Sombras — contidas */
  --shadow-card: 0 1px 2px rgba(12, 40, 55, 0.05),
                 0 16px 40px rgba(12, 40, 55, 0.07);
  --shadow-header: 0 1px 0 var(--line), 0 8px 24px rgba(12, 40, 55, 0.06);

  /* Tipografia */
  --font: 'Public Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Raios — discretos */
  --radius-card: 6px;
  --radius-el:   4px;

  /* Animação */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Medidas */
  --wrap-max: 1160px;
  --wrap-pad: clamp(20px, 5vw, 48px);
}


/* ── 2. Reset & base ─────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

.hidden { display: none !important; }


/* ── 3. Layout utilitário ────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

/* Eyebrow editorial — pequeno, caixa alta, com traço */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}


/* ── 4. Header ───────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-header);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.header-nav a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.header-nav a:hover { color: var(--navy); }
.header-nav a:hover::after { transform: scaleX(1); }

.header-nav .header-cta {
  color: var(--navy);
  font-weight: 600;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-el);
  padding: 9px 18px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-nav .header-cta::after { display: none; }

.header-nav .header-cta:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}


/* ── 5. Hero — copy ──────────────────────────── */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 24px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 480;
  font-variation-settings: 'opsz' 100;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  font-weight: 540;
  color: var(--teal);
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 420px;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.hero-trust svg {
  width: 15px;
  height: 15px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* ── 6. Formulário — card ────────────────────── */
.form-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 34px 30px;
  width: 100%;
}

.form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  flex-shrink: 0;
}

.plano-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ── 7. Formulário — campos ──────────────────── */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.input-field {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-el);
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  font-family: var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:hover { border-color: rgba(18, 59, 83, 0.45); }

.input-field:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 59, 83, 0.12);
}

.input-field::placeholder { color: var(--ink-faint); }


/* ── 8. Formulário — segmented control ───────── */
.seg-group {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-el);
  overflow: hidden;
  background: var(--surface);
}

.seg-opt {
  flex: 1;
  cursor: pointer;
}

.seg-opt + .seg-opt { border-left: 1px solid var(--line-strong); }

.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }

.seg-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}

.seg-opt span:hover { color: var(--navy); background: var(--mint-wash); }

.seg-opt input:checked + span {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.seg-opt input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}


/* ── 9. Formulário — chips (checkbox) ────────── */
.check-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.check-opt { cursor: pointer; }

.check-opt input { position: absolute; opacity: 0; pointer-events: none; }

.check-opt span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-el);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.check-opt span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 1px;
  border: 1.5px solid var(--line-strong);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check-opt span:hover { border-color: var(--navy); color: var(--navy); }

.check-opt input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}

.check-opt input:checked + span::before {
  background: #fff;
  border-color: #fff;
}

.check-opt input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}


/* ── 10. Formulário — idades / faixa ─────────── */
.idades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.idade-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.idade-item-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faixa-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faixa-sep {
  font-size: 14px;
  color: var(--ink-faint);
  flex-shrink: 0;
}


/* ── 11. Formulário — preferências ───────────── */
.prefs-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 13px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-el);
  cursor: pointer;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.prefs-toggle:hover { border-color: var(--navy); }

.prefs-optional {
  font-weight: 400;
  color: var(--ink-faint);
}

.prefs-icon {
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.prefs-toggle[aria-expanded="true"] {
  border-color: var(--navy);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.prefs-toggle[aria-expanded="true"] .prefs-icon {
  transform: rotate(45deg);
  color: var(--navy);
}

.prefs-body {
  border: 1px solid var(--navy);
  border-top: none;
  border-radius: 0 0 var(--radius-el) var(--radius-el);
  padding: 18px 13px 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: prefsOpen 0.3s var(--ease-out);
}

@keyframes prefsOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pref-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pref-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ── 12. Formulário — CTA ────────────────────── */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 28px;
  margin-top: 6px;
  border: none;
  border-radius: var(--radius-el);
  background: var(--navy);
  color: #fff;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(12, 40, 55, 0.22);
}

.cta:active { transform: translateY(0); }

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

.cta-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-out);
}

.cta:hover .cta-arrow { transform: translateX(4px); }

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: -4px;
}

.form-privacy svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* ── 13. Cabeçalho de seção ──────────────────── */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head .eyebrow { margin-bottom: 18px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: var(--navy);
}

.section-sub {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 14px;
}


/* ── 14. Destaques (planos) ──────────────────── */
.destaques {
  padding: clamp(64px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}

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

.plano-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}

.plano-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.plano-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.plano-card:hover::before { transform: scaleX(1); }

.plano-ideal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--teal);
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.plano-ideal svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plano-seguradora {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.plano-nome {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 540;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.plano-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
}

.plano-price-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.plano-price-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.plano-price-cent {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
  margin-left: 3px;
}

.plano-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-grow: 1;
}

.plano-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.plano-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7A8A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plano-more {
  font-weight: 600;
  color: var(--teal) !important;
}

.plano-more::before {
  background: none !important;
  content: '+' !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--teal);
  top: 2px !important;
}

.plano-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 24px;
  border-radius: var(--radius-el);
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.plano-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.plano-btn:hover .cta-arrow { transform: translateX(4px); }

/* Dots do carrossel — só aparecem no mobile */
.destaques-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.destaques-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: width 0.3s var(--ease-out), background 0.3s ease;
}

.destaques-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--navy);
}


/* ── 15. Diferenciais ────────────────────────── */
.diferenciais {
  padding: clamp(64px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}

.dif-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.dif-item {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
}

.dif-item:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-left: 0;
}

.dif-item:nth-child(even) { padding-right: 0; }

.dif-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 14px;
}

.dif-num::after {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--teal);
  margin-top: 10px;
  opacity: 0.5;
}

.dif-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 540;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 10px;
}

.dif-text {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 44ch;
}


/* ── 16. Assinatura (logo) ───────────────────── */
.assinatura {
  padding: clamp(72px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.assinatura-logo {
  width: 168px;
  height: auto;
  mix-blend-mode: multiply;
  margin-bottom: 32px;
}

.assinatura-frase {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 460;
  line-height: 1.4;
  color: var(--navy);
  max-width: 22em;
  margin: 0 auto;
}

.assinatura-frase em {
  font-style: italic;
  color: var(--teal);
}


/* ── 17. Footer ──────────────────────────────── */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 36px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 540;
  color: #fff;
}

.footer-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-el);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-link:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy-deep);
}

.footer-link:hover .cta-arrow { transform: translateX(4px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}


/* ── 18. Reveal on scroll ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger sutil em grids */
.destaques-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.destaques-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

.dif-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.dif-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.dif-grid .reveal:nth-child(4) { transition-delay: 0.2s; }

.hero-copy .reveal:nth-child(2) { transition-delay: 0.06s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.12s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.18s; }


/* ── 19. Responsivo ──────────────────────────── */

/* Tablet: hero empilhado, planos ainda em grade */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-col {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-copy { text-align: left; }

  .destaques-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .section-head { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head .eyebrow { justify-content: center; }
}

/* Carrossel de destaques + diferenciais em coluna */
@media (max-width: 700px) {
  .header-nav a:not(.header-cta) { display: none; }

  /* Prioriza o formulário: os selos reaparecem como diferenciais abaixo */
  .hero-trust { display: none; }
  .hero-sub { margin-bottom: 0; }

  /* Destaques: carrossel horizontal com scroll-snap */
  .destaques-grid {
    display: flex;
    max-width: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--wrap-pad);
    padding: 4px var(--wrap-pad) 12px;
    margin: 0 calc(-1 * var(--wrap-pad));
    scrollbar-width: none;
  }

  .destaques-grid::-webkit-scrollbar { display: none; }

  .plano-card {
    flex: 0 0 84%;
    max-width: 340px;
    scroll-snap-align: center;
  }

  .destaques-dots { display: flex; }

  /* Diferenciais: coluna única, réguas horizontais */
  .dif-grid { grid-template-columns: 1fr; }

  .dif-item,
  .dif-item:nth-child(odd),
  .dif-item:nth-child(even) {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .brand-mark { height: 32px; }
  .brand-name { font-size: 15px; }

  .header-inner { height: 60px; }

  .hero { padding-top: 40px; }

  .form-col { padding: 26px 20px 24px; }

  .form-head {
    flex-direction: column;
    gap: 2px;
  }

  .hero-title { font-size: clamp(30px, 8.6vw, 36px); }

  .assinatura-logo { width: 140px; }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}


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

  .reveal { opacity: 1; transform: none !important; }
}
