/* Dr. Alessandro Dantas Pennella | Centro Oftalmológico
   Cores da marca nova (Instagram @dralessandropennella): terracota, bege, taupe e azul-marinho da placa.
   Tema único claro. Faixas: bege (topo, sobre, clínica), areia (tratamentos), azul-marinho (convênios), terracota (rodapé).
   Formas: fotos em arco ou 24px, painéis 24px, botões em pílula. */

:root {
  --bg: #EFEBE5;
  --areia: #E5DDD2;
  --surface: #F8F5F1;
  --panel: #DDD5CA;
  --linha: #D2C9BC;
  --texto: #1C304B;
  --mudo: #5F584C;
  --acento: #A33D27;
  --acento-hover: #8C3220;
  --navy: #1C304B;
  --navy-2: #233A59;
  --creme: #F3E9DF;
  --bege: #C7C0B6;
  --sombra: 0 22px 50px -26px rgb(60 40 25 / .45);

  --fonte: "Lexend", system-ui, sans-serif;
  --raio: 24px;
  --max: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --atraso: 0s;
  color-scheme: light;
}
html.com-intro { --atraso: 2.75s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--texto);
  font-family: var(--fonte); font-size: 1.125rem; font-weight: 300; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.lead { color: var(--mudo); max-width: 52ch; margin-top: 1rem; text-wrap: pretty; }
.mudo { color: var(--mudo); font-size: .9em; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.simbolo { overflow: visible; flex: none; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 8px; }

.pular { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--texto); color: var(--bg); padding: .6rem 1rem; border-radius: 999px; }
.pular:focus { top: 1rem; }

/* ---------- Abertura ---------- */
.intro { display: none; }
.com-intro .intro { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: auto; }
.com-intro body { overflow: hidden; }
.palpebra { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); transition: transform 1s cubic-bezier(.7, 0, .2, 1); }
.palpebra-sup { top: 0; }
.palpebra-inf { bottom: 0; }
.palpebra-sup::after, .palpebra-inf::before {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--acento); opacity: 0;
  transition: opacity .3s;
}
.palpebra-sup::after { bottom: 0; }
.palpebra-inf::before { top: 0; }
.intro-conteudo {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem; transition: opacity .45s var(--ease), transform .8s var(--ease);
}
.intro-simbolo { width: clamp(150px, 22vw, 240px); height: auto; color: var(--acento); }
.intro-simbolo path { stroke-dasharray: 1 1.2; stroke-dashoffset: 1; opacity: 0; }
.intro-nome {
  margin-top: 1.8rem; font-size: clamp(2rem, 5.2vw, 3.8rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--navy);
}
.intro-nome .l { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); }
.intro-nome .w { display: inline-block; white-space: nowrap; }
.intro-sub {
  margin-top: 1rem; font-size: clamp(.78rem, 1.5vw, 1rem); letter-spacing: .42em; text-transform: uppercase; color: var(--mudo);
  opacity: 0; transform: translateY(6px);
}
.intro-pular {
  position: absolute; right: 1.25rem; bottom: 1.25rem; font: inherit; font-size: .85rem; color: var(--mudo);
  background: none; border: 1px solid var(--linha); border-radius: 999px; padding: .45rem 1rem; cursor: pointer;
}
.intro-pular:hover { color: var(--texto); border-color: var(--texto); }

@keyframes desenha { 0% { opacity: 1; stroke-dashoffset: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes letra { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes aparece { to { opacity: 1; transform: none; } }

.com-intro .intro-simbolo .cilio { animation: desenha .7s var(--ease) forwards; }
.com-intro .intro-simbolo .cilio:nth-child(1) { animation-delay: .15s; }
.com-intro .intro-simbolo .cilio:nth-child(2) { animation-delay: .27s; }
.com-intro .intro-simbolo .cilio:nth-child(3) { animation-delay: .39s; }
.com-intro .intro-simbolo .cilio:nth-child(4) { animation-delay: .51s; }
.com-intro .intro-simbolo .sorriso { animation: desenha .8s var(--ease) forwards .7s; }
.com-intro .intro-nome .l { animation: letra .6s var(--ease) forwards; animation-delay: calc(.95s + var(--i) * 28ms); }
.com-intro .intro-sub { animation: aparece .7s var(--ease) forwards 1.9s; }

.intro.abrindo .palpebra-sup::after, .intro.abrindo .palpebra-inf::before { opacity: 1; }
.intro.abrindo .palpebra-sup { transform: translateY(-101%); }
.intro.abrindo .palpebra-inf { transform: translateY(101%); }
.intro.abrindo .intro-conteudo { opacity: 0; transform: scale(.96); }
.intro.abrindo .intro-pular { opacity: 0; }
.intro.abrindo { pointer-events: none; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1.5px solid var(--acento);
  background: var(--acento); color: #FFF8F2;
  font-family: var(--fonte); font-weight: 500; font-size: 1rem;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.botao:hover { background: var(--acento-hover); border-color: var(--acento-hover); box-shadow: 0 10px 24px -12px rgb(163 61 39 / .7); transform: translateY(-2px); }
.botao:active { transform: translateY(0) scale(.98); }
.botao-linha { background: transparent; color: var(--texto); border-color: var(--linha); }
.botao-linha:hover { background: var(--surface); border-color: var(--texto); box-shadow: none; }
.botao-p { min-height: 46px; padding: .6rem 1.15rem; font-size: .95rem; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo-in { max-width: var(--max); margin: 0 auto; height: 80px; padding: 0 1.5rem; display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.logo-simbolo { width: 56px; height: auto; color: var(--acento); }
.logo-texto { display: flex; flex-direction: column; }
.logo-nome { font-size: 1.08rem; font-weight: 500; line-height: 1.08; color: var(--navy); letter-spacing: -0.01em; }
.logo-sub { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mudo); font-weight: 400; margin-top: 4px; }
.logo .cilio { transform-box: view-box; transform-origin: 50px 62px; }
.menu { display: flex; gap: 1.75rem; }
.menu a { text-decoration: none; font-size: .95rem; font-weight: 400; color: var(--mudo); position: relative; padding: .4rem 0; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acento); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover { color: var(--texto); }
.menu a:hover::after { transform: scaleX(1); }

/* ---------- Herói ---------- */
.heroi {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  min-height: calc(100dvh - 80px); max-height: 940px;
}
.heroi-texto { align-self: center; padding: clamp(2rem, 5vw, 4rem) 0; }
.sobretitulo { font-size: .92rem; color: var(--acento); font-weight: 500; letter-spacing: .02em; }
.heroi h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-top: 1.1rem; max-width: 14ch; line-height: 1.04; }
.heroi-sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--mudo); max-width: 40ch; margin-top: 1.4rem; text-wrap: pretty; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

/* Foto inteira (busto), no formato da foto original, sem recorte */
.heroi-foto { position: relative; justify-self: center; width: min(calc(100% - 1.5rem), 420px); aspect-ratio: 4 / 5; margin: 1.5rem 1.5rem 2rem 0; }
.busto {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 100% 0;
  border-radius: var(--raio);
  background: var(--panel); box-shadow: var(--sombra);
}
.heroi-foto::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border-radius: var(--raio); background: var(--acento); }
.selo {
  position: absolute; left: -48px; bottom: 2.5rem; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: var(--acento); color: var(--creme);
  box-shadow: 0 14px 30px -12px rgb(100 35 20 / .55);
}
.selo .simbolo { width: 64px; height: auto; }
.raio { transform-box: view-box; transform-origin: 50px 62px; }

/* ---------- Faixas ---------- */
.faixa { background: var(--bg); }
.faixa-areia { background: var(--areia); }
.faixa-navy { background: var(--navy); color: var(--creme); }
.faixa-navy .lead { color: #C9C2B8; }
.secao { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 1.5rem; }

/* ---------- Tabela de letras e simulações (cards e páginas) ---------- */
.tabela-cena {
  position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--raio);
  background: var(--surface); container-type: inline-size;
}
.letras {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.6cqw;
  font-weight: 600; color: var(--navy); line-height: 1;
  transition: filter .6s var(--ease), transform .6s var(--ease), opacity .6s var(--ease);
}
.letras span { font-size: calc(var(--t) * 15cqw); letter-spacing: calc(var(--t) * 1.6cqw + .1em); white-space: nowrap; }
.fantasma { opacity: 0; }
.tunel, .nevoa, .mancha, .moscas { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tunel { background: radial-gradient(ellipse 34% 40% at 50% 46%, transparent 0%, transparent 45%, rgb(28 48 75 / .7) 78%, var(--navy) 100%); transform: scale(1.4); }
.nevoa { background: rgb(250 238 212 / .5); }
.mancha { background: radial-gradient(circle at 50% 46%, rgb(45 38 32 / .92) 0, rgb(45 38 32 / .75) 9%, rgb(45 38 32 / .3) 17%, transparent 27%); }
.moscas {
  background:
    radial-gradient(circle at 28% 30%, rgb(40 35 30 / .35) 0 1.4%, transparent 2.6%),
    radial-gradient(circle at 64% 22%, rgb(40 35 30 / .3) 0 1%, transparent 2%),
    radial-gradient(ellipse 7% 2% at 70% 64%, rgb(40 35 30 / .28) 0 40%, transparent 70%),
    radial-gradient(circle at 38% 72%, rgb(40 35 30 / .3) 0 1.2%, transparent 2.4%),
    radial-gradient(ellipse 2% 6% at 20% 58%, rgb(40 35 30 / .25) 0 40%, transparent 70%);
}
[data-efeito="miopia"] .letras:not(.fantasma) { filter: blur(.75cqw); }
[data-efeito="estrabismo"] .fantasma { opacity: .42; transform: translate(4.5cqw, -1.2cqw); }
[data-efeito="glaucoma"] .tunel { opacity: 1; transform: scale(1); }
[data-efeito="catarata"] .letras:not(.fantasma) { filter: blur(.4cqw) sepia(.7) contrast(.55) brightness(1.15); }
[data-efeito="catarata"] .nevoa { opacity: 1; }
[data-efeito="retina"] .letras:not(.fantasma) { filter: url(#ondas); }
[data-efeito="retina"] .mancha { opacity: 1; }
[data-efeito="uveites"] .letras:not(.fantasma) { filter: blur(.45cqw); }
[data-efeito="uveites"] .nevoa { opacity: .55; }
[data-efeito="uveites"] .moscas { opacity: 1; }
.tabela-e .letras span { display: flex; gap: .55em; letter-spacing: 0; }
.tabela-e i { font-style: normal; display: inline-block; transform: rotate(var(--r)); }

/* ---------- Tratamentos (página inicial) ---------- */
.trat-cabeca { max-width: 640px; }
.temas-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.card-tema {
  position: relative; display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: var(--texto);
  background: var(--surface); border-radius: var(--raio); padding: 1rem; overflow: hidden;
  box-shadow: 0 16px 34px -26px rgb(60 40 25 / .5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card-tema:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgb(60 40 25 / .6); }
.card-tema .tabela-cena { background: var(--bg); flex: none; }
/* passar o mouse "trata" a visão: a tabela volta ao normal */
.card-tema:hover .letras, .card-tema:focus-visible .letras { filter: none; }
.card-tema:hover .fantasma, .card-tema:focus-visible .fantasma { opacity: 0; transform: none; }
.card-tema:hover :is(.tunel, .nevoa, .mancha, .moscas), .card-tema:focus-visible :is(.tunel, .nevoa, .mancha, .moscas) { opacity: 0; }
.card-texto { display: flex; flex-direction: column; gap: .35rem; padding: 0 .4rem .4rem; }
.card-titulo { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.card-curto { color: var(--mudo); font-size: .98rem; line-height: 1.45; }
.mais { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; color: var(--acento); font-weight: 500; font-size: .95rem; }
.mais .ic { transition: transform .3s var(--ease); }
.card-tema:hover .mais .ic { transform: translateX(4px); }
.card-grande { grid-column: span 2; grid-row: span 2; }
.card-grande .card-titulo { font-size: 1.8rem; }
.card-largo { grid-column: span 2; flex-direction: row; align-items: center; }
.card-largo .tabela-cena { width: 46%; }
.card-pequeno { padding: 1.4rem 1.4rem 1.2rem; gap: .4rem; justify-content: space-between; min-height: 190px; }
.card-pequeno .mais { margin-top: auto; padding-top: .8rem; }
.card-terracota { background: var(--acento); color: var(--creme); }
.card-terracota .card-curto { color: rgb(243 233 223 / .85); }
.card-terracota .mais { color: var(--creme); }
.tambem-linha { margin-top: 1.5rem; color: var(--mudo); font-size: .98rem; }

/* ---------- Páginas de tratamento ---------- */
.tema-heroi {
  max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.trilha { font-size: .9rem; color: var(--mudo); }
.trilha a { color: var(--acento); text-decoration: none; font-weight: 500; }
.trilha a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tema-heroi h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-top: .8rem; line-height: 1.04; }
.comparar { position: relative; margin: 0; }
.comparar .tabela-cena { box-shadow: var(--sombra); }
.comparar .cena-efeito { position: absolute; top: 0; left: 0; right: 0; box-shadow: none; clip-path: inset(0 0 0 var(--pos)); }
.comparar .palco { position: relative; }
.comparar .divisor { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; aspect-ratio: auto; background: var(--acento); pointer-events: none; }
.comparar .divisor span {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--acento); box-shadow: 0 6px 18px -6px rgb(100 35 20 / .6);
}
.comparar .divisor span::before, .comparar .divisor span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent;
}
.comparar .divisor span::before { left: 6px; border-right-color: var(--creme); }
.comparar .divisor span::after { right: 6px; border-left-color: var(--creme); }
.comparar input[type="range"] { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.rot { position: absolute; top: .9rem; font-size: .8rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: rgb(248 245 241 / .92); color: var(--navy); pointer-events: none; }
.rot-esq { left: .9rem; }
.rot-dir { right: .9rem; background: var(--navy); color: var(--creme); }
.comparar figcaption { margin-top: .9rem; font-size: .88rem; color: var(--mudo); text-align: center; }
.comparar-e figcaption { text-align: left; }
.comparar-e .tabela-cena { box-shadow: var(--sombra); }

.tema-corpo { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.tema-texto { display: grid; gap: 2.4rem; max-width: 64ch; }
.bloco h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: .8rem; }
.bloco p { color: #3F3A33; }
.sinais { display: grid; gap: .6rem; }
.sinais li { position: relative; padding: .75rem 1rem .75rem 2.6rem; background: var(--surface); border-radius: 16px; font-weight: 400; line-height: 1.45; }
.sinais li::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: .8rem; height: .42rem;
  border-left: 2.5px solid var(--acento); border-bottom: 2.5px solid var(--acento); transform: rotate(-45deg);
}
.tema-lado { display: grid; gap: 1rem; position: sticky; top: 100px; }
.lado-card { border-radius: var(--raio); padding: 1.5rem; }
.lado-quando { background: var(--navy); color: var(--creme); }
.lado-quando h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.lado-quando p { color: #D6CFC5; font-size: 1rem; line-height: 1.55; }
.lado-medico { background: var(--surface); display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: start; }
.lado-medico img { width: 84px; height: 84px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; }
.lado-nome { font-weight: 500; line-height: 1.2; }
.lado-cred { font-size: .92rem; color: var(--mudo); margin: .4rem 0 1rem; line-height: 1.45; }
.lado-medico .botao { min-height: 46px; padding: .6rem 1.1rem; font-size: .92rem; }
.outros h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.outros-lista { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.outros-lista a {
  display: inline-flex; padding: .65rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 400;
  border: 1.5px solid var(--linha); transition: border-color .25s, background-color .25s, color .25s;
}
.outros-lista a:hover { border-color: var(--acento); background: var(--acento); color: var(--creme); }
.aviso { margin-top: 2rem; font-size: .85rem; color: var(--mudo); }

/* ---------- Sobre ---------- */
.sobre-grade { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sobre-foto { position: relative; }
.sobre-foto::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border-radius: var(--raio);
  background: var(--acento); z-index: 0;
}
.sobre-foto img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; border-radius: var(--raio); background: var(--panel); }
.formacao { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--linha); }
.formacao h3 { color: var(--acento); margin-bottom: .8rem; }
.formacao li { font-size: .98rem; line-height: 1.45; color: var(--mudo); padding-left: 1rem; position: relative; }
.formacao li + li { margin-top: .7rem; }
.formacao li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 2px; background: var(--acento); opacity: .6; }

/* ---------- Convênios ---------- */
.conv-cabeca { max-width: 640px; }
.conv-lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.conv-lista li {
  display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 1rem; border-radius: var(--raio);
  background: #FBF9F6; box-shadow: 0 16px 34px -24px rgb(0 0 0 / .6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.conv-lista li:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgb(0 0 0 / .7); }
.conv-lista img { width: auto; height: auto; max-width: 84%; max-height: 96px; object-fit: contain; }
.conv-rodape { margin-top: 1.75rem; color: #C9C2B8; }
.conv-rodape a { color: var(--creme); font-weight: 500; text-underline-offset: 3px; text-decoration-color: var(--acento); text-decoration-thickness: 2px; }

/* ---------- Clínica ---------- */
.clin-cabeca { max-width: 640px; }
.clin-grade { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; margin-top: 2.5rem; }
.clin-foto { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 40%; border-radius: var(--raio); background: var(--panel); box-shadow: var(--sombra); }
.clin-lado { display: flex; flex-direction: column; gap: 1.5rem; }
.dados { margin: 0; display: grid; gap: 1.1rem; padding: 1.5rem; background: var(--surface); border-radius: var(--raio); }
.dados dt { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--acento); font-weight: 500; }
.dados dd { margin: .3rem 0 0 1.65rem; font-weight: 400; }
.dados a { text-decoration: none; border-bottom: 1px solid var(--linha); }
.dados a:hover { border-color: var(--acento); }
.mapa { flex: 1; min-height: 220px; border-radius: var(--raio); overflow: hidden; background: var(--panel); }
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; filter: saturate(.75) sepia(.12); }
.clin-lado .acoes { margin-top: 0; }

/* ---------- Rodapé (terracota, com a logo em creme como no perfil dele) ---------- */
.rodape { background: var(--acento); color: var(--creme); }
.rodape-in {
  max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 7vw, 5rem) 1.5rem 2.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 2.5rem; align-items: start;
}
.rodape-marca { display: flex; align-items: center; gap: 1.1rem; }
.rodape-simbolo { width: clamp(84px, 9vw, 112px); height: auto; color: var(--creme); }
.rodape-nome { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; }
.rodape-nome span { display: block; margin-top: .55rem; font-size: .68rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.rodape-col h2 { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 1rem; }
.rodape-col p { font-size: .98rem; line-height: 1.5; }
.rodape-col p + p { margin-top: .6rem; }
.rodape-col a { text-decoration: none; }
.rodape-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.redes { display: grid; gap: .55rem; }
.redes a { display: inline-flex; align-items: center; gap: .55rem; font-size: .98rem; }
.redes .ic { width: 1.3em; height: 1.3em; }
.rodape-base {
  max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid rgb(243 233 223 / .25);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .85rem; opacity: .9;
}
.credito a { color: inherit; text-decoration: none; }
.credito a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flutuante ---------- */
.flutuante {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--creme); box-shadow: 0 12px 30px -10px rgb(15 25 40 / .6);
  transition: transform .3s var(--ease), background-color .3s;
}
.flutuante svg { width: 28px; height: 28px; fill: currentColor; }
.flutuante:hover { transform: scale(1.07); background: var(--navy-2); }

/* ---------- Movimento ---------- */
@keyframes entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes foco { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: blur(0); } }
@keyframes cilio { from { transform: scale(.15); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes entra-foto { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .foco { animation: foco 1.2s var(--ease) both calc(var(--atraso) + .1s); }
  .sobretitulo, .heroi-sub, .heroi .acoes { animation: sobe .9s var(--ease) both; }
  .sobretitulo { animation-delay: calc(var(--atraso) + .05s); }
  .heroi-sub { animation-delay: calc(var(--atraso) + .35s); }
  .heroi .acoes { animation-delay: calc(var(--atraso) + .5s); }
  .busto { animation: entra-foto 1.1s var(--ease) both calc(var(--atraso) + .05s); }
  .selo { animation: sobe .9s var(--ease) both calc(var(--atraso) + .35s); }
  .raio { animation: cilio 1.1s var(--ease) both; }
  .raio:nth-child(1) { animation-delay: calc(var(--atraso) + .4s); }
  .raio:nth-child(2) { animation-delay: calc(var(--atraso) + .5s); }
  .raio:nth-child(3) { animation-delay: calc(var(--atraso) + .6s); }
  .raio:nth-child(4) { animation-delay: calc(var(--atraso) + .7s); }
  .heroi-sorriso-p { stroke-dasharray: 1 1.2; stroke-dashoffset: 1; opacity: 0; animation: desenha 1s var(--ease) forwards calc(var(--atraso) + .85s); }
  .logo .cilio { animation: cilio .9s var(--ease) both; animation-delay: calc(var(--atraso) * .9); }
  .logo:hover .cilio { animation: cilio .7s var(--ease) both; }
  .logo .cilio:nth-child(2) { animation-delay: calc(var(--atraso) * .9 + .08s); }
  .logo .cilio:nth-child(3) { animation-delay: calc(var(--atraso) * .9 + .16s); }
  .logo .cilio:nth-child(4) { animation-delay: calc(var(--atraso) * .9 + .24s); }

  .js .revelar { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .revelar.visivel { opacity: 1; transform: none; }
  .js .conv-lista.revelar li { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s; transition-delay: calc(var(--i, 0) * 70ms); }
  .js .conv-lista.revelar.visivel li { opacity: 1; transform: none; }
  .js .conv-lista.revelar.visivel li:hover { transform: translateY(-4px); transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Tablet e celular ---------- */
@media (max-width: 1020px) {
  .menu { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 1.0625rem; }
  .topo-in { height: 70px; padding: 0 1rem; gap: 1rem; }
  .logo-simbolo { width: 46px; }
  .logo-nome { font-size: .98rem; }
  .logo-sub { font-size: .55rem; letter-spacing: .18em; }
  .botao-p span { display: none; }
  .botao-p { width: 46px; padding: 0; justify-content: center; }
  .intro-nome { max-width: 10em; }
  .heroi { grid-template-columns: 1fr; min-height: 0; max-height: none; padding: 0; gap: 2rem; }
  .heroi-texto { padding: 2rem 1.25rem 0; }
  .heroi h1 { max-width: 12ch; }
  .heroi-foto { width: min(84%, 380px); justify-self: center; margin: 0 0 3.5rem; }
  .selo { left: 1.25rem; bottom: -40px; width: 88px; height: 88px; }
  .selo .simbolo { width: 50px; }
  .secao { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sobre-grade, .clin-grade, .tema-heroi, .tema-corpo { grid-template-columns: 1fr; }
  .temas-grade { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .card-grande, .card-largo { grid-column: span 2; grid-row: auto; }
  .card-largo { flex-direction: column; align-items: stretch; }
  .card-largo .tabela-cena { width: 100%; }
  .card-grande .card-titulo { font-size: 1.5rem; }
  .card-pequeno { min-height: 0; padding: 1.1rem; }
  .card-pequeno .card-titulo { font-size: 1.1rem; }
  .card-pequeno .card-curto { font-size: .9rem; }
  .tema-heroi { padding: 1.5rem 1.25rem 3rem; }
  .tema-lado { position: static; }
  .clin-foto { min-height: 0; height: auto; aspect-ratio: 900 / 843; }
  .sobre-foto { max-width: 300px; margin-right: 1.2rem; }
  .formacao { grid-template-columns: 1fr; gap: 1.5rem; }
  .conv-lista { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .conv-lista li { padding: 1rem; }
  .conv-lista img { max-height: 62px; }
  .mapa, .mapa iframe { min-height: 260px; }
  .rodape-in { grid-template-columns: 1fr; gap: 2rem; }
  .rodape-base { flex-direction: column; padding-bottom: 5.5rem; }
  .acoes .botao { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 380px) {
  .logo-nome { font-size: .9rem; }
}
