/* =========================================================
   LP Dra. Mariana Motta | Neurologista
   Tokens da marca (manual Monique Borba Design, 2024)
   ========================================================= */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-garamond-variable.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta oficial */
  --amarelo: #DEC04E;
  --manteiga: #FEF4C1;
  --cinza: #BDB6AF;
  --branco: #F7F5E6;
  /* Apoio (texto e superfícies) */
  --papel: #FFFFFF;
  --tinta: #3B3631;
  --tinta-suave: #69625A;
  --amarelo-hover: #CDAE36;

  /* Tipografia: troque "Cormorant Garamond" por "The Seasons" quando o arquivo da fonte chegar */
  --fonte-titulo: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --fonte-texto: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --largura: 1160px;
  --texto-max: 36rem;
  --raio-botao: 999px;
  --espaco-secao: clamp(4.5rem, 10vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0 0 0.45em;
  color: var(--tinta);
}
h1 { font-size: clamp(2.9rem, 8.2vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 5.6vw, 3.7rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.1; }

/* Subtítulo da marca: Manrope em maiúsculas (uso contido) */
.subtitulo {
  font-family: var(--fonte-texto);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  margin: 0 0 1.4rem;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.22rem); color: var(--tinta); max-width: var(--texto-max); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }
.secao { padding-block: var(--espaco-secao); position: relative; }
.bg-papel { background: var(--papel); }
.bg-branco { background: var(--branco); }
.bg-manteiga { background: var(--manteiga); }
.bg-gradiente {
  background:
    radial-gradient(120% 90% at 0% 0%, var(--manteiga) 0%, rgba(254,244,193,0) 55%),
    radial-gradient(120% 90% at 100% 100%, var(--manteiga) 0%, rgba(254,244,193,0) 50%),
    var(--amarelo);
}
.duas-colunas { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (min-width: 900px) {
  .duas-colunas { grid-template-columns: 1fr 1fr; }
  .duas-colunas.foto-esquerda > .foto { order: -1; }
}

/* ---------- Botões (única aplicação da cor de destaque) ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 56px;
  padding: 0.95rem 2rem;
  border-radius: var(--raio-botao);
  background: var(--amarelo);
  color: var(--tinta);
  font-family: var(--fonte-texto);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.botao:hover { background: var(--amarelo-hover); }
.botao:active { transform: translateY(1px); }
.botao:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
}
.botao svg { width: 20px; height: 20px; flex: none; }
.botao--escuro { background: var(--tinta); color: var(--branco); }
.botao--escuro:hover { background: #26221f; }
.botao--pequeno { min-height: 44px; padding: 0.6rem 1.3rem; font-size: 0.92rem; }
.microcopy { font-size: 0.9rem; color: var(--tinta-suave); margin-top: 1rem; max-width: 26rem; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(189,182,175,0.35);
}
.topo .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.topo__logo img { height: 26px; width: auto; }
@media (max-width: 520px) { .topo__logo img { height: 20px; } .topo .botao { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, var(--papel) 0%, var(--papel) 35%, var(--manteiga) 140%);
  overflow: hidden;
}
.hero .duas-colunas { align-items: end; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.hero .lead { margin-bottom: 2rem; }
.hero .lead p { margin-bottom: 0.7em; }
.microcopy p { margin: 0 0 0.35em; }
.hero__foto { position: relative; justify-self: center; width: min(100%, 440px); }
.arco {
  position: relative; z-index: 1;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5.4;
  background: var(--branco);
}
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.orbita {
  position: absolute; z-index: 0; pointer-events: none;
  width: 150%; left: -38%; top: -14%;
  color: var(--amarelo);
}
.orbita circle.linha { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.orbita .ponto { fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .orbita circle.linha { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: desenhar 2.4s cubic-bezier(.4,0,.2,1) .3s forwards; }
  .orbita circle.linha:nth-of-type(2) { animation-delay: .55s; }
  .orbita circle.linha:nth-of-type(3) { animation-delay: .8s; }
  .orbita .ponto { opacity: 0; animation: surgir .6s ease 2.2s forwards; }
}
@keyframes desenhar { to { stroke-dashoffset: 0; } }
@keyframes surgir { to { opacity: 1; } }
@media (max-width: 899px) { .hero__foto { width: min(82%, 380px); margin-top: 1rem; } }

/* ---------- Dor ---------- */
.dor { display: grid; gap: 0 5rem; }
@media (min-width: 960px) {
  .dor { grid-template-columns: 1fr 1.1fr; grid-template-rows: auto 1fr; }
  .dor .lista-dor { grid-column: 2; grid-row: 1 / span 2; margin-top: 0.6rem; }
  .dor .fecho-dor { grid-column: 1; grid-row: 2; align-self: end; }
}
.lista-dor { list-style: none; padding: 0; margin: 2.2rem 0 2.6rem; display: grid; gap: 0; max-width: 44rem; }
.lista-dor li {
  display: grid; grid-template-columns: 28px 1fr; gap: 1rem; align-items: baseline;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(189,182,175,0.55);
  font-size: 1.08rem;
}
.lista-dor li:last-child { border-bottom: 1px solid rgba(189,182,175,0.55); }
.lista-dor li::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--cinza); transform: translateY(2px);
}
.fecho-dor { max-width: 40rem; }
.fecho-dor strong { font-weight: 600; }
.frase-marca {
  font-family: var(--fonte-titulo); font-weight: 300; text-transform: lowercase;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin-top: 2.2rem; max-width: 20ch;
}

/* ---------- Investigação (sequência real) ---------- */
.foto-retrato { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.foto-retrato img { width: 100%; height: 100%; object-fit: cover; }
.passos { list-style: none; padding: 0; margin: 2.2rem 0 0; counter-reset: passo; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.6rem 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(189,182,175,0.6); }
.passos li::before {
  content: counter(passo);
  font-family: var(--fonte-titulo); font-weight: 300; font-size: 2.6rem; line-height: 0.9; color: var(--tinta-suave);
  grid-row: span 2;
}
.passos h3 { margin: 0; font-size: 1.55rem; }
.passos p { margin: 0; color: var(--tinta-suave); }

/* ---------- Objetivos ---------- */
.objetivos { overflow: hidden; padding-bottom: clamp(7rem, 14vw, 10rem); }
.objetivos .raios {
  position: absolute; width: min(900px, 140%); left: 50%; bottom: -42%; transform: translateX(-50%);
  opacity: 0.75; pointer-events: none;
}
.objetivos .container { position: relative; z-index: 1; }
.objetivos h2 { text-align: center; margin-inline: auto; max-width: 16ch; }
.lista-objetivos { list-style: none; padding: 0; margin: 2.8rem auto 0; max-width: 40rem; display: grid; gap: 0.9rem; }
.lista-objetivos li {
  background: rgba(255,255,255,0.88);
  border-radius: 14px;
  padding: 1.05rem 1.3rem;
  font-size: 1.05rem;
}
.nota-objetivos { text-align: center; max-width: 34rem; margin: 2.2rem auto 0; font-size: 0.95rem; color: var(--tinta-suave); }

/* ---------- Sobre ---------- */
.servicos { list-style: none; padding: 0; margin: 0.4rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.servicos li { border: 1px solid var(--cinza); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.92rem; }
.registro { font-size: 0.9rem; color: var(--tinta-suave); letter-spacing: 0.02em; }

/* ---------- Depoimentos ---------- */
.depoimentos__grade { display: grid; gap: 1.5rem; margin-top: 2.6rem; }
@media (min-width: 900px) { .depoimentos__grade { grid-template-columns: 1.35fr 1fr; } }
.depo { margin: 0; background: var(--papel); border-radius: 18px; padding: clamp(1.6rem, 3vw, 2.4rem); }
.depo blockquote { margin: 0 0 1.2rem; }
.depo--destaque blockquote p {
  font-family: var(--fonte-titulo); font-weight: 400; font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.35;
}
.depo figcaption { font-size: 0.92rem; font-weight: 600; }
.depo figcaption span { display: block; font-weight: 400; color: var(--tinta-suave); font-size: 0.85rem; }
.depo__coluna { display: grid; gap: 1.5rem; }

/* ---------- Oferta ---------- */
.lista-check { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: 0.95rem; }
.lista-check li { display: grid; grid-template-columns: 22px 1fr; gap: 0.85rem; align-items: start; }
.lista-check svg { width: 22px; height: 22px; margin-top: 3px; color: var(--tinta); }
.modalidades { display: grid; gap: 1rem; margin: 0 0 2rem; }
@media (min-width: 560px) { .modalidades { grid-template-columns: 1fr 1fr; } }
.modalidade { border: 1px solid rgba(189,182,175,0.7); border-radius: 14px; padding: 1.1rem 1.2rem; font-size: 0.95rem; }
.modalidade strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }

/* ---------- Objeções ---------- */
.objecoes { display: grid; gap: 1.2rem 3rem; margin-top: 2.6rem; }
@media (min-width: 900px) { .objecoes { grid-template-columns: 1fr 1fr; } }
.objecao { padding-top: 1.4rem; border-top: 1px solid rgba(189,182,175,0.7); }
.objecao h3 { font-size: 1.65rem; }
.objecao p { color: var(--tinta-suave); }

/* ---------- Compromisso ---------- */
.compromisso .foto-retrato { aspect-ratio: 4 / 4.6; }
.compromisso__texto p { font-size: 1.12rem; }
.assinatura { margin-top: 1.6rem; font-weight: 600; }
.assinatura span { display: block; font-weight: 400; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; margin: 2.4rem 0 0; }
.faq details { border-top: 1px solid rgba(189,182,175,0.7); }
.faq details:last-child { border-bottom: 1px solid rgba(189,182,175,0.7); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0.4rem; top: 50%; width: 12px; height: 12px;
  border-right: 1.5px solid var(--tinta); border-bottom: 1.5px solid var(--tinta);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 2.5rem 1.4rem 0; color: var(--tinta-suave); }

/* ---------- CTA final ---------- */
.final h2 { max-width: 12ch; }
.final .endereco { margin-top: 2rem; font-size: 0.95rem; color: var(--tinta-suave); }
.ps { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(189,182,175,0.7); font-size: 0.98rem; max-width: 34rem; }
.ps strong { font-weight: 700; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--tinta); color: var(--branco); padding: 3.5rem 0 6.5rem; font-size: 0.9rem; }
.rodape__grade { display: grid; gap: 2rem; }
@media (min-width: 800px) { .rodape__grade { grid-template-columns: 1.2fr 1fr 1fr; } .rodape { padding-bottom: 3.5rem; } }
.rodape img { height: 26px; width: auto; margin-bottom: 1rem; }
.rodape p { color: rgba(247,245,230,0.82); }
.rodape strong { color: var(--branco); font-weight: 600; }
.rodape__aviso { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(247,245,230,0.15); font-size: 0.8rem; color: rgba(247,245,230,0.6); }

/* ---------- Barra fixa mobile ---------- */
.barra-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid rgba(189,182,175,0.5);
  transform: translateY(110%); transition: transform .3s ease;
}
.barra-mobile.visivel { transform: translateY(0); }
.barra-mobile .botao { width: 100%; }
@media (min-width: 800px) { .barra-mobile { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Frase da marca mantém escala de título também dentro de blocos com texto maior */
.compromisso__texto .frase-marca { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

/* Alerta de sinais de AVC (informação de emergência, sem CTA) */
.alerta {
  margin-top: 3rem; max-width: 50rem;
  border: 1.5px solid var(--tinta); border-radius: 16px;
  padding: 1.4rem 1.6rem; background: var(--papel);
}
.alerta .subtitulo { margin-bottom: 0.6rem; color: var(--tinta); }
.alerta p:last-child { margin: 0; }
.modalidade--larga { grid-column: 1 / -1; }

/* Quebras de linha controladas (cada span = uma linha) */
.quebras { max-width: none; }
.quebras > span { display: block; }
.final .endereco { display: grid; gap: 0.9rem; }
.final .endereco p { margin: 0; }
.final .endereco strong { color: var(--tinta); font-weight: 700; }
/* Falas das objeções em negrito */
.objecao h3 { font-weight: 600; }
