/* Teodoro Lins · Psicólogo — landing page (tokens do handoff do Claude Design) */
:root {
  --fundo: #FAF6F1;
  --areia: #F2E9DF;
  --rosado: #F3E1D6;
  --borda-clara: #EADFD3;
  --divisor: #DCCBBB;
  --contorno: #C9B6A6;
  --acao: #A4553B;
  --acao-escuro: #8C4631;
  --texto-forte: #3A2A22;
  --texto: #4E3C33;
  --texto-2: #6A5549;
  --escuro: #3A2A22;
  --escuro-2: #433229;
  --escuro-borda: #5C4A40;
  --sobre-escuro: #E8DDD4;
  --sobre-escuro-2: #F0E7DF;
  --acento-escuro: #F0C2AE;
  --titulo: 'Literata', Georgia, serif;
  --corpo: 'Nunito Sans', system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
  --secao: clamp(72px, 9vw, 120px);
}

* { box-sizing: border-box; }
/* iPhone: não aumentar fontes sozinho; nada pode passar da largura da tela (1px a mais abre a página ampliada) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--fundo); color: var(--texto-forte); font-family: var(--corpo); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: var(--acao-escuro); }
a:hover { color: var(--texto-forte); }
:focus-visible { outline: 2px solid var(--acao-escuro); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1160px; margin: 0 auto; }
.secao { padding: var(--secao) var(--pad); }
.secao--areia { background: var(--areia); }
.secao--cola { padding-top: 0; } /* seção logo depois de outra com o mesmo fundo */
.colunas { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.pilha { display: flex; flex-direction: column; gap: 16px; }
.cabeca { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }

.rotulo { font-size: 14px; font-weight: 700; color: var(--acao-escuro); }
.titulo { font-family: var(--titulo); font-weight: 400; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.titulo--leve { font-weight: 300; }
.texto { font-size: 18px; line-height: 1.7; color: var(--texto); }
.texto p + p { margin-top: 18px; }
.secundario { color: var(--texto-2); }
.serifa { font-family: var(--titulo); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--acao); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { background: var(--acao-escuro); color: #fff; }
.btn--contorno { background: none; border: 1px solid var(--contorno); color: var(--texto-forte); font-weight: 600; padding: 15px 25px; }
.btn--contorno:hover { background: none; border-color: var(--texto-forte); color: var(--texto-forte); }
.btn--pequeno { padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.botoes { display: flex; gap: 12px; flex-wrap: wrap; }
.link-forte { font-weight: 700; }

/* marca: arco com ponto (CSS, sem imagem) */
.simbolo { flex: none; width: 22px; height: 28px; border-radius: 999px 999px 4px 4px; border: 2px solid var(--acao); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; }
.simbolo::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acao); }
.simbolo--grande { width: 30px; height: 38px; border-radius: 999px 999px 5px 5px; padding-bottom: 6px; }
.simbolo--grande::after { width: 10px; height: 10px; }
.simbolo--claro { border-color: var(--acento-escuro); }
.simbolo--claro::after { background: var(--acento-escuro); }

/* cabeçalho */
.cab { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 241, .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--borda-clara); }
.cab__in { max-width: 1160px; margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.marca { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texto-forte); }
.marca:hover { color: var(--texto-forte); }
.marca__txt { display: flex; flex-direction: column; line-height: 1.05; }
.marca__nome { font-family: var(--titulo); font-size: 21px; }
.marca__crp { font-size: 12px; color: var(--texto-2); margin-top: 3px; }
.nav { flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-end; column-gap: clamp(14px, 2vw, 26px); row-gap: 6px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--texto-forte); text-decoration: none; }
.nav a:hover { color: var(--acao-escuro); }
/* no celular: marca + botão numa linha só (o cabeçalho é fixo, não pode ficar alto); CRP continua visível */
@media (max-width: 760px) {
  .nav { display: none; }
  .cab__in { flex-wrap: nowrap; gap: 12px; }
  .marca { min-width: 0; gap: 10px; }
  .marca__nome { font-size: 18px; white-space: nowrap; }
  .marca__crp { font-size: 11px; white-space: nowrap; }
  .so-desktop { display: none; }
}
@media (max-width: 359px) { .marca__nome { font-size: 16px; } .marca__crp { font-size: 10px; } .cab .btn--pequeno { padding: 10px 14px; } }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) var(--pad) var(--secao); }
.hero__in { display: flex; flex-wrap: wrap-reverse; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__foto { flex: 1 1 340px; min-width: 0; max-width: 460px; }
.hero__foto .foto { aspect-ratio: 4 / 5; border-radius: 999px 999px 32px 32px; }
.hero__txt { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-family: var(--titulo); font-weight: 300; font-size: clamp(44px, 6.2vw, 80px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 em, .final h2 em { color: var(--acao); }
.hero__sub { max-width: 30em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--texto-2); text-wrap: pretty; }

/* fotos (placeholder listrado até chegarem as reais) */
.foto { background: repeating-linear-gradient(135deg, #EFE3D6 0 12px, #E8DACB 12px 24px); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto:has(img) { padding: 0; background: var(--areia); }
.foto__legenda { font: 12px ui-monospace, Menlo, monospace; color: #5E4E44; background: var(--fundo); padding: 6px 10px; border-radius: 6px; }

/* sobre */
.sobre__titulo { flex: 1 1 300px; }
.sobre__corpo { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.sobre__corpo .texto { max-width: 36em; }
.fichas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.ficha { background: var(--fundo); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.ficha dt { font-size: 13px; font-weight: 700; color: var(--acao-escuro); }
.ficha dd { font-size: 15px; line-height: 1.5; }

/* quando procurar */
.motivos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.motivos li { padding: 22px 0; border-top: 1px solid var(--divisor); font-family: var(--titulo); font-size: 22px; line-height: 1.35; }
.nota { font-size: 18px; line-height: 1.6; color: var(--texto-2); }

/* como trabalho (bloco escuro) */
.escuro { background: var(--escuro); color: var(--fundo); border-radius: 36px; padding: clamp(36px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.escuro .rotulo { color: var(--acento-escuro); }
.escuro__txt { flex: 1.4 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.7; color: var(--sobre-escuro); }
.pontos { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pontos li { display: flex; gap: 14px; align-items: baseline; }
.pontos li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acento-escuro); flex: none; transform: translateY(-2px); }

/* como funciona */
.passos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.passo { background: var(--areia); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.passo__n { width: 36px; height: 36px; border-radius: 50%; background: var(--acao); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.passo h3 { font-family: var(--titulo); font-weight: 400; font-size: 23px; line-height: 1.2; }
.passo p { font-size: 16px; line-height: 1.6; color: var(--texto-2); }

/* primeira sessão */
.divide { border-top: 1px solid var(--divisor); padding-top: clamp(48px, 6vw, 72px); }
.primeira__txt { flex: 1.4 1 400px; min-width: 0; }

/* atendimentos */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--borda-clara); border-radius: 28px; padding: clamp(28px, 4vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.card__meta { font-size: 14px; color: var(--texto-2); }
.card h3 { font-family: var(--titulo); font-weight: 400; font-size: 28px; }
.card p { flex: 1; font-size: 16px; line-height: 1.65; color: var(--texto-2); }
.card a { font-weight: 700; font-size: 15px; text-decoration: none; }

/* online */
.online__txt { flex: 1.2 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.online__txt > p:last-child { font-size: 17px; line-height: 1.65; color: var(--texto-2); max-width: 32em; }
.pilulas { flex: 1 1 300px; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pilulas li { background: var(--fundo); border-radius: 18px; padding: 18px 22px; font-size: 16px; line-height: 1.5; }
.pilulas .obs { background: none; padding: 4px 4px 0; font-size: 14px; color: var(--texto-2); }

/* sigilo */
.centro { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.centro .titulo { font-size: clamp(34px, 4.6vw, 56px); }
.centro > p:last-child { max-width: 34em; font-size: 17px; line-height: 1.65; color: var(--texto-2); }

/* consultório */
.consultorio__cab { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.consultorio__cab > p { max-width: 24em; font-size: 16px; line-height: 1.6; color: var(--texto-2); }
.galeria { display: flex; flex-wrap: wrap; gap: 14px; }
.galeria .foto { border-radius: 26px; }
.galeria__grande { flex: 2 1 440px; min-width: 0; aspect-ratio: 3 / 2; }
.galeria__lado { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.galeria__lado .foto { flex: 1; min-height: 180px; }

/* valores */
.valores { background: var(--rosado); border-radius: 32px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); align-items: center; }
.valores .titulo { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.valores__txt { flex: 1.3 1 360px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.65; color: var(--texto); }
.valores__txt .secundario { font-size: 15px; }

/* perguntas frequentes */
.faq__lado { flex: 1 1 280px; }
.faq__lado > p:last-child { font-size: 16px; line-height: 1.6; color: var(--texto-2); }
.faq { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--divisor); }
.faq details { border-bottom: 1px solid var(--divisor); }
.faq summary { cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--titulo); font-size: 20px; line-height: 1.35; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--areia); display: flex; align-items: center; justify-content: center; font: 20px var(--corpo); color: var(--acao-escuro); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.65; color: var(--texto-2); }

/* localização */
.local__txt { flex: 1 1 360px; display: flex; flex-direction: column; gap: 28px; }
.dados div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--divisor); }
.dados div:last-child { border-bottom: 1px solid var(--divisor); }
.dados dt { font-weight: 700; font-size: 15px; }
.dados dd { font-size: 16px; line-height: 1.55; color: var(--texto-2); }
@media (max-width: 420px) { .dados div { grid-template-columns: 1fr; gap: 4px; } }
.mapa { flex: 1 1 360px; min-height: 360px; border-radius: 28px; overflow: hidden; background: #E6DCCF; display: flex; }
.mapa iframe { border: 0; width: 100%; min-height: 360px; flex: 1; }

/* CTA final */
.final { padding: clamp(80px, 10vw, 136px) var(--pad); }
.final h2 { font-family: var(--titulo); font-weight: 300; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.final .centro { gap: 24px; }
.final .centro > p { max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--texto-2); }
.btn--final { padding: 17px 30px; font-size: 17px; }

/* rodapé */
.rodape { background: var(--escuro); color: var(--sobre-escuro); padding: clamp(56px, 7vw, 88px) var(--pad) 96px; } /* 96px: o botão flutuante não cobre a última linha */
.rodape a { color: var(--sobre-escuro); text-decoration: none; }
.rodape a:hover { color: #fff; }
.rodape__in { display: flex; flex-direction: column; gap: 44px; }
.crise { border: 1px solid var(--escuro-borda); border-radius: 20px; padding: 20px 24px; display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; background: var(--escuro-2); font-size: 15px; line-height: 1.5; color: var(--sobre-escuro-2); }
.crise strong { color: var(--fundo); }
.rodape__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px; }
.rodape__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.rodape__col > strong { color: var(--fundo); }
.rodape__marca { display: flex; align-items: center; gap: 12px; color: var(--fundo); font-family: var(--titulo); font-size: 21px; }
.rodape__fim { border-top: 1px solid var(--escuro-borda); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #CDBFB4; }
.selo { display: inline-flex; align-items: center; border: 1px solid #7A675C; border-radius: 999px; padding: 5px 12px; color: var(--sobre-escuro-2); }

/* WhatsApp flutuante */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--acao); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(58, 42, 34, .24); }
.wa:hover { background: var(--acao-escuro); color: #fff; }
.wa::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #F6D3C3; box-shadow: 0 0 0 4px rgba(246, 211, 195, .28); }

/* entrada das seções: só com JS (classe .js no <html>) e só para quem não pediu menos movimento */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].visivel { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
