/* Lead page do Dr. Rodolfo Afiune / LiP.
   Cores sólidas da marca (src/theme/tokens.ts), sem degradês. Tema claro. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #9064C5;
  --brand-light: #B49BDD;
  --brand-ink: #7550B0;
  --brand-tint: #F1EBF9;
  --plum: #3B2466;
  --plum-soft: #4B3180;
  --mint: #5ABFA3;
  --mint-tint: #DDF3EC;
  --mint-ink: #1D6B57;
  --navy: #143D73;
  --ink: #143D73;
  --muted: #4F607A;
  --paper: #F7F4FC;
  --surface: #FFFFFF;
  --border: #E2DAF0;
  --error: #C0392B;
  --on-dark: #FFFFFF;
  --on-dark-muted: #DCD0EE;

  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow: 0 6px 22px rgba(59, 36, 102, .08);
  --shadow-up: 0 18px 44px rgba(59, 36, 102, .2);
  --gutter: clamp(20px, 5vw, 40px);
  --overlap: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
svg { width: 1em; height: 1em; }
.icon-sprite { position: absolute; width: 0; height: 0; }
:focus-visible { outline: 3px solid var(--mint-ink); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 24px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 840px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--navy); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

h1, h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); color: var(--on-dark); }
h1 span { color: var(--mint); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h2 span { color: var(--brand-ink); }
h3 { font-weight: 800; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; }

/* Selo de seção */
.tag {
  display: inline-flex; align-items: center; gap: 10px; align-self: start; justify-self: start;
  color: var(--brand-ink); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.tag::before { content: ''; width: 24px; height: 2px; background: var(--mint); }
.tag-dark { color: var(--on-dark-muted); }

/* Botões */
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font: 800 .9375rem/1.1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-small { min-height: 46px; padding: 0 22px; }
.button-purple { background: var(--brand-ink); color: var(--on-dark); }
.button-purple:hover, .button-purple:focus-visible { background: var(--plum); }
.button-green { background: var(--mint); color: var(--navy); }
.button-green:hover, .button-green:focus-visible { background: var(--mint-tint); }
.button-outline { border-color: var(--on-dark); color: var(--on-dark); }
.button-outline:hover, .button-outline:focus-visible { background: var(--on-dark); color: var(--plum); }
.button[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Blocos de ícone */
.icon-box { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); color: var(--brand-ink); font-size: 1.75rem; flex: none; }
.icon-box-light { background: var(--brand-tint); }

/* Cabeçalho */
.site-header { background: var(--paper); }
.header-bar { display: flex; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 48px; }
.logo-name { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.credentials { display: none; margin-left: auto; gap: 32px; }
.credentials li { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: .9375rem; line-height: 1.3; }
.credentials small { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); }
.credential-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); font-size: 1.4rem; }
.header-bar .button { margin-left: auto; }
.main-nav { display: none; align-items: center; gap: 4px; padding: 8px; border-radius: var(--r-lg); background: var(--brand-ink); position: relative; z-index: 3; margin-bottom: -34px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 12px; color: var(--on-dark); font-weight: 700; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background-color .18s ease; }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--plum); }
.main-nav .nav-button { margin-left: auto; background: var(--surface); color: var(--brand-ink); }
.main-nav .nav-button:hover, .main-nav .nav-button:focus-visible { background: var(--mint-tint); color: var(--navy); }
@media (min-width: 960px) {
  .credentials { display: flex; }
  .header-bar .button { margin-left: 24px; }
  .main-nav { display: flex; }
}
@media (max-width: 420px) { .logo-name { display: none; } }

/* Menu no celular: só aparece quando o script está ativo (classe js no <html>) */
.menu-toggle { display: none; place-content: center; gap: 5px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: var(--brand-tint); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--brand-ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 959px) {
  .js .menu-toggle { display: grid; }
  .main-nav.open { display: flex; flex-direction: column; align-items: stretch; margin-bottom: 12px; }
  .main-nav.open .nav-button { margin-left: 0; justify-content: center; }
}

/* Topo: faixa escura com base arredondada, médico e cartão que sai da faixa */
.hero { background: var(--plum); color: var(--on-dark); border-radius: 0 0 50% 50% / 0 0 56px 56px; padding-top: clamp(36px, 6vw, 56px); }
@media (min-width: 960px) { .hero { padding-top: 96px; border-radius: 0 0 50% 50% / 0 0 120px 120px; } }
.hero-grid { display: grid; gap: 28px; margin-bottom: calc(var(--overlap) * -1); }
.hero-text { display: grid; gap: 20px; align-content: center; }
.intro { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--on-dark-muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.hero-photo { position: relative; display: grid; justify-items: center; align-items: end; z-index: 2; }
.hero-photo img { position: relative; width: min(68%, 320px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--surface); box-shadow: var(--shadow-up); }
.hero-circle { position: absolute; left: 50%; bottom: 0; width: min(68%, 320px); aspect-ratio: 1; border-radius: 50%; transform: translate(-64%, -10%); background: var(--plum-soft); }

.hero-card { display: grid; gap: 24px; padding: 28px; border-radius: var(--r-xl); background: var(--brand-ink); box-shadow: var(--shadow-up); position: relative; }
.hero-card li { display: grid; gap: 10px; justify-items: start; }
.hero-card h2 { font-size: 1.25rem; letter-spacing: -.015em; }
.hero-card p { color: var(--on-dark); font-size: .9688rem; }
@media (min-width: 620px) { .hero-card { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 420px minmax(0, 1fr); gap: 0 56px; }
  .hero-photo { grid-column: 1; grid-row: 1 / 3; margin-left: 12px; padding-bottom: 40px; }
  .hero-photo img, .hero-circle { width: 340px; }
  .hero-circle { transform: translate(-64%, -16%); }
  .hero-text { grid-column: 2; grid-row: 1; padding-bottom: 48px; }
  .hero-card { grid-column: 1 / -1; grid-row: 2; padding: 36px 44px 36px 488px; gap: 40px; }
}

/* Seções */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-first { padding-top: calc(var(--overlap) + clamp(56px, 7vw, 96px)); }
.section-lilac { background: var(--brand-tint); }
.heading-center { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 46rem; margin: 0 auto clamp(32px, 4vw, 52px); }
.heading-center .tag { justify-self: center; }
.heading-row { display: grid; gap: 20px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.heading-row > div { display: grid; gap: 16px; }
.heading-row > p { color: var(--muted); }
@media (min-width: 960px) {
  .heading-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* Quatro cartões numerados */
.features { display: grid; gap: 20px; }
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature, .audience, .plan {
  position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature::after, .audience::after, .plan::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--mint);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.feature:hover, .audience:hover, .plan:hover, .feature:focus-within, .audience:focus-within, .plan:focus-within {
  transform: translateY(-6px); box-shadow: 0 28px 48px -26px rgba(59, 36, 102, .5); border-color: var(--brand-light);
}
.feature:hover::after, .audience:hover::after, .plan:hover::after, .feature:focus-within::after, .audience:focus-within::after, .plan:focus-within::after { transform: scaleX(1); }
.feature { display: grid; gap: 18px; align-content: start; padding: 28px 24px; }
.feature-title { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.015em; }
.number { display: grid; place-items: center; flex: none; width: 40px; height: 34px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink); font-size: .8125rem; letter-spacing: .02em; }
.feature-icon { font-size: 3.25rem; color: var(--brand); }
.feature-icon, .audience .icon-box { transition: transform .3s ease; }
.feature:hover .feature-icon, .audience:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.feature > p:last-child { color: var(--muted); font-size: .9688rem; }

/* O médico */
.doctor { display: grid; gap: 28px; align-items: center; }
.doctor-photo img { width: 100%; max-width: 420px; margin: 0 auto; border-radius: var(--r-xl); }
.doctor-text { display: grid; gap: 16px; }
.doctor-text > p { color: var(--muted); }
.education { padding: 28px; border-radius: var(--r-xl); background: var(--brand-ink); color: var(--on-dark); }
.education h3 { display: inline-block; padding: 10px 22px; margin-bottom: 8px; border-radius: 999px; background: var(--surface); color: var(--brand-ink); font-size: 1rem; }
.education dl > div { padding: 16px 0; border-bottom: 1px solid var(--brand-light); }
.education dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.education dt { font-weight: 800; font-size: .9375rem; }
.education dd { font-size: .9375rem; }
@media (min-width: 760px) { .doctor { grid-template-columns: 1fr 1fr; } .education { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .doctor { grid-template-columns: minmax(0, 340px) minmax(0, 1fr) minmax(0, 320px); gap: 40px; } .education { grid-column: auto; } }
.publications { margin-top: 28px; padding: 0 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.publications summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; cursor: pointer; list-style: none; font-weight: 800; }
.publications ul { display: grid; gap: 10px; padding: 0 0 22px; color: var(--muted); }

.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint);
}
.checklist li::after {
  content: ''; position: absolute; left: 6px; top: calc(.3em + 6px); width: 8px; height: 5px;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}

/* Para quem e planos */
.two-columns { display: grid; gap: 20px; }
@media (min-width: 820px) { .two-columns { grid-template-columns: 1fr 1fr; gap: 28px; } }
.audience, .plan { display: grid; gap: 20px; align-content: start; justify-items: start; padding: clamp(24px, 4vw, 40px); }
.audience h3, .plan h3 { font-size: 1.6rem; letter-spacing: -.025em; }
.audience-dark, .plan-featured { background: var(--plum); border-color: var(--plum); color: var(--on-dark); }
/* Plano em destaque: um pouco acima do outro, só quando ficam lado a lado */
@media (min-width: 820px) {
  .plan-featured { transform: translateY(-14px); }
  .plan-featured:hover, .plan-featured:focus-within { transform: translateY(-20px); }
}
.plan-price { font-size: clamp(2.2rem, 4.5vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.plan-price span { font-size: 1.125rem; letter-spacing: 0; vertical-align: .9em; }
.plan-price small { font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan-featured .plan-price small { color: var(--on-dark-muted); }
.plan-summary { color: var(--muted); font-size: 1.0625rem; }
.plan-featured .plan-summary { color: var(--on-dark-muted); }
.plan-badge { padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
/* Formas de pagamento, logo abaixo dos planos */
.payments { display: grid; gap: 14px; justify-items: center; margin-top: 36px; text-align: center; }
.payments h3 { font-size: 1rem; }
.payments ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.payments li { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-weight: 700; font-size: .9375rem; }
.payments svg { font-size: 1.35rem; color: var(--brand-ink); }
.plans-note { margin: 28px auto 0; color: var(--muted); max-width: 44rem; text-align: center; }

/* Como funciona */
.steps { display: grid; gap: 20px; }
@media (min-width: 620px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; padding: 44px 22px 28px; margin-top: 28px; border-radius: var(--r-xl); background: var(--brand-tint); transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease; }
.steps li:hover { transform: translateX(6px); background: var(--surface); box-shadow: var(--shadow); }
.step-number { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-ink); color: var(--on-dark); font-weight: 800; font-size: 1.25rem; border: 5px solid var(--paper); }
.steps p { color: var(--muted); font-size: .9688rem; }

/* Acompanhamento profissional: cartão escuro com o retrato num disco, sobre um painel mais claro */
.followup { display: grid; overflow: hidden; border-radius: var(--r-xl); background: var(--plum); color: var(--on-dark); box-shadow: var(--shadow-up); }
.followup-photo { display: grid; place-items: center; padding: 28px; background: var(--plum-soft); }
.followup-photo img { width: min(100%, 300px); aspect-ratio: 1; object-fit: cover; object-position: 50% 0; border-radius: 50%; background: var(--brand-ink); }
.followup-text { display: grid; gap: 20px; align-content: center; justify-items: start; padding: clamp(24px, 4vw, 48px); }
.followup-text h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
.followup-text h2 span { color: var(--mint); }
.followup-intro { color: var(--on-dark-muted); max-width: 38em; }
.benefits { display: grid; gap: 22px; width: 100%; }
.benefits li { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 14px; align-items: start; }
.benefits .icon-box { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; }
.benefits h3 { font-size: 1.0625rem; }
.benefits p { grid-column: 2; color: var(--on-dark-muted); font-size: .9688rem; }
@media (min-width: 620px) { .benefits { grid-template-columns: 1fr 1fr; gap: 26px 28px; } }
@media (min-width: 960px) {
  .followup { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
}

/* Formulário */
.contact { background: var(--plum); color: var(--on-dark); }
.contact-grid { display: grid; gap: 32px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); align-items: center; }
.contact-text { display: grid; gap: 18px; align-content: start; }
.contact-text h2 span { color: var(--mint); }
.contact-text > p { color: var(--on-dark-muted); max-width: 32em; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }

.lead-form, .thanks { background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-up); }
.lead-form { display: grid; gap: 16px; }
@media (min-width: 620px) {
  .lead-form { grid-template-columns: 1fr 1fr; }
  .field-wide, .form-footer, .form-status { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-weight: 800; font-size: .9375rem; }
.optional { font-weight: 500; color: var(--muted); }
.field input[type='text'], .field input[type='tel'], .field input[type='email'] {
  width: 100%; min-height: 54px; padding: 0 16px;
  font: 500 1rem var(--body); color: var(--ink);
  background: var(--paper); border: 2px solid var(--border); border-radius: var(--r-md);
  transition: border-color .18s ease, background-color .18s ease;
}
.field input::placeholder { color: var(--muted); opacity: .8; }
.field input:hover { border-color: var(--brand-light); }
.field input:focus-visible { outline: 0; border-color: var(--brand-ink); background: var(--surface); }
.field input[aria-invalid='true'] { border-color: var(--error); }
.field-error { font-size: .875rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 2px solid var(--border); border-radius: 999px; font-weight: 700; background: var(--paper); transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.choice input:checked + span { background: var(--brand-tint); border-color: var(--brand-ink); color: var(--brand-ink); }
.choice input:checked + span::before { content: '✓'; margin-right: 8px; font-weight: 800; }
.choice input:focus-visible + span { outline: 3px solid var(--mint-ink); outline-offset: 3px; }

.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 500 !important; font-size: .9375rem; color: var(--muted); cursor: pointer; padding: 6px 0; }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--brand-ink); cursor: pointer; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { font-size: .875rem; color: var(--muted); flex: 1 1 220px; }
.form-status { font-weight: 700; color: var(--error); }
.form-status:empty { display: none; }
.thanks { display: grid; gap: 12px; justify-items: start; align-content: center; }
.thanks[hidden] { display: none; }
.thanks .icon-box { color: var(--mint-ink); }
.thanks h3 { font-size: 1.6rem; }
.thanks p { color: var(--muted); }

/* Dúvidas */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.0625rem; line-height: 1.35; }
.faq summary::-webkit-details-marker, .publications summary::-webkit-details-marker { display: none; }
.faq summary::after, .publications summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); font-size: 1.4rem; font-weight: 500; line-height: 1; transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.faq details[open] summary::after, .publications[open] summary::after { transform: rotate(45deg); background: var(--brand-ink); color: var(--on-dark); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Rodapé */
.site-footer { background: var(--plum); color: var(--on-dark-muted); font-size: .9375rem; }
.footer-grid { display: grid; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo img { border-radius: 50%; background: var(--surface); }
.footer-name { font-size: 1.125rem; font-weight: 800; color: var(--on-dark); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); transition: color .2s ease, padding-left .2s ease; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--mint); padding-left: 4px; }
.footer-note { padding-top: 20px; border-top: 1px solid var(--plum-soft); font-size: .875rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } .footer-note { grid-column: 1 / -1; } }

/* Blocos ainda não revelados ficam deslocados para o lado: sem isto criariam rolagem horizontal. */
.js-anim body { overflow-x: clip; }

/* Revelação ao rolar. Só vale com a classe js-anim, que js/motion.js põe no <html>:
   sem script, ou com movimento reduzido, tudo aparece parado e visível. */
.js-anim .reveal { --dx: 0px; --dy: 24px; opacity: 0; transform: translate(var(--dx), var(--dy)); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.js-anim .reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1); }
.js-anim .reveal.visible, .js-anim .reveal-scale.visible { opacity: 1; transform: none; }
/* Cascata nas grades */
.js-anim .features > .reveal:nth-child(2), .js-anim .steps > .reveal:nth-child(2), .js-anim .two-columns > .reveal:nth-child(2), .js-anim .faq > .reveal:nth-child(2) { transition-delay: .1s; }
.js-anim .features > .reveal:nth-child(3), .js-anim .steps > .reveal:nth-child(3), .js-anim .faq > .reveal:nth-child(3) { transition-delay: .2s; }
.js-anim .features > .reveal:nth-child(4), .js-anim .steps > .reveal:nth-child(4), .js-anim .faq > .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: no-preference) {
  /* Entrada do topo: uma sequência curta, só no carregamento */
  .fade-in { opacity: 0; animation: fade-in .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: 80ms; }
  .delay-1 { animation-delay: 170ms; }
  .delay-2 { animation-delay: 260ms; }
  .delay-3 { animation-delay: 350ms; }
  @keyframes fade-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  /* Disco atrás do retrato: sobe e desce devagar */
  .hero-circle { animation: float 6s ease-in-out infinite; }
  @keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
  /* Pulso no botão principal */
  .pulse { animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse { from { box-shadow: 0 0 0 0 rgba(90, 191, 163, .55); } to { box-shadow: 0 0 0 12px rgba(90, 191, 163, 0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse, .fade-in, .hero-circle { animation: none; }
  .button, .feature, .audience, .plan, .feature::after, .audience::after, .plan::after, .feature-icon, .audience .icon-box,
  .steps li, .site-footer nav a, .menu-toggle span, .faq summary::after, .publications summary::after { transition: none; }
  .button:hover, .button:focus-visible, .button:active, .feature:hover, .audience:hover, .plan:hover, .feature:focus-within, .audience:focus-within, .plan:focus-within,
  .feature:hover .feature-icon, .audience:hover .icon-box, .steps li:hover, .plan-featured, .plan-featured:hover, .plan-featured:focus-within { transform: none; }
}
