/* Dra. Luiza Villela · folha única, organizada por seção (prefixos ab, so, cx, fi, nc, jo, lo, fe, hd, ix, ft)
   Grade comum: 12 colunas (.g12) com as mesmas margens laterais em todas as seções (--pad). */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --preto: #0B0A09;
  --grafite: #1A1714;
  --grafite-2: #221E1A;
  --champanhe: #D0BB8A;
  --ouro: #CB9E3F;
  --ouro-claro: #F9DD91;
  --creme: #F3EDE3;
  --texto: #F3EDE3;
  --texto-2: rgba(243, 237, 227, .72);
  --texto-3: rgba(243, 237, 227, .5);
  --fio: rgba(208, 187, 138, .2);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --larg: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --g: 24px;
  --sec: clamp(88px, 10vw, 144px);
  --hd: 68px;
  --curva: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 860px) { :root { --g: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hd); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--preto); color: var(--texto); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ouro-claro); outline-offset: 3px; }
::selection { background: var(--ouro); color: var(--preto); }
.nw, .btn { white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--creme); color: var(--preto); padding: 10px 16px; text-decoration: none; }
.pular:focus { top: 12px; }

/* Margens laterais comuns: o conteúdo começa sempre na mesma linha vertical */
.hd-barra, .ab, .so, .cx, .fi, .nc, .jo, .lo-palco, .fe, .ft { padding-left: max(var(--gutter), calc((100% - var(--larg)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--larg)) / 2)); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
@media (max-width: 860px) { .g12 > * { grid-column: 1 / -1 !important; } }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 26px; font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background-color .25s, color .25s, border-color .25s; }
.btn-ouro { background: var(--ouro); color: var(--preto); border: 1px solid var(--ouro); }
.btn-ouro:hover { background: var(--champanhe); border-color: var(--champanhe); }
.btn-linha { border: 1px solid rgba(208, 187, 138, .55); color: var(--champanhe); }
.btn-linha:hover { background: rgba(208, 187, 138, .1); border-color: var(--champanhe); }

/* Cabeçalho de seção: rótulo acima do título, ambos na linha da primeira coluna */
.cab { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(36px, 4.5vw, 56px); }
.cab-titulo { font: 500 clamp(38px, 4.6vw, 64px)/1.05 var(--serif); letter-spacing: -.01em; text-wrap: balance; max-width: 20ch; }
.cab-titulo em, .lo-titulo em, .fe-titulo em { color: var(--ouro); }
.cab-rotulo { font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champanhe); white-space: nowrap; }

/* Rótulos das seções animadas: o espaçamento entre letras se fecha até o valor final */
.js-motion .rv-rotulo { letter-spacing: .5em; opacity: 0; transition: letter-spacing 1.2s var(--curva), opacity .8s ease; }
.js-motion .rv-rotulo.in { letter-spacing: .18em; opacity: 1; }

/* Título por palavras (seção 2): cada palavra sobe dentro da própria máscara */
.js-motion .rv-palavras .pw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js-motion .rv-palavras .pw > span { display: inline-block; transform: translateY(108%); transition: transform .95s var(--curva) calc(var(--w) * 70ms); }
.js-motion .rv-palavras.in .pw > span { transform: none; }

/* ============ Cabeçalho (estático) ============ */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(11, 10, 9, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(208, 187, 138, .12); }
.hd-barra { height: var(--hd); display: flex; align-items: center; gap: 28px; }
.hd-marca { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.hd-marca img { width: 40px; height: 40px; }
.hd-marca span { font: 500 22px/1 var(--serif); letter-spacing: .01em; white-space: nowrap; }
.hd-nav { display: flex; gap: 24px; }
.hd-nav a { font: 500 14px/1 var(--sans); text-decoration: none; color: var(--texto-2); padding: 8px 0; }
.hd-nav a:hover { color: var(--champanhe); }
.hd-cta { min-height: 40px; padding: 0 18px; font-size: 12px; }
.hd-menu { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; background: none; border: 0; color: var(--texto); font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.hd-menu-ico { display: grid; gap: 6px; width: 22px; }
.hd-menu-ico i { display: block; height: 1px; background: var(--champanhe); transition: transform .3s; }
.hd-menu[aria-expanded="true"] .hd-menu-ico i:first-child { transform: translateY(3.5px) rotate(45deg); }
.hd-menu[aria-expanded="true"] .hd-menu-ico i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.hd-painel { border-top: 1px solid var(--fio); padding: 12px var(--gutter) 24px; display: grid; gap: 2px; background: var(--preto); max-height: calc(100svh - var(--hd)); overflow-y: auto; }
.hd-painel[hidden] { display: none; }
.hd-painel a:not(.btn) { font: 500 24px/1.2 var(--serif); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(208, 187, 138, .1); }
.hd-painel .btn { margin-top: 18px; }
@media (max-width: 1099px) { .hd-nav, .hd-cta { display: none; } .hd-menu { display: inline-flex; } }
@media (min-width: 1100px) { .hd-painel { display: none !important; } }

/* ============ Índice lateral (funcional, só desktop, dentro da margem direita) ============ */
.ix { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; width: 22px; }
.ix ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; justify-items: center; }
.ix a { display: grid; place-items: center; width: 22px; height: 22px; text-decoration: none; }
.ix-nome { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ix-ponto { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 237, 227, .28); transition: background-color .3s, height .3s; }
.ix a:hover .ix-ponto { background: var(--champanhe); }
.ix a[aria-current="true"] .ix-ponto { background: var(--ouro); height: 16px; border-radius: 3px; }
.ix-atual { margin: 14px auto 0; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champanhe); white-space: nowrap; width: 22px; display: flex; align-items: center; }
.ix.ix-claro .ix-ponto { background: rgba(11, 10, 9, .3); }
.ix.ix-claro a[aria-current="true"] .ix-ponto { background: var(--ouro); }
.ix.ix-claro .ix-atual { color: #6c5426; }
@media (min-width: 1200px) { .ix { display: block; } }

/* ============ 1 · Abertura (animada) ============ */
.ab { position: relative; min-height: max(100svh, 680px); padding-top: calc(var(--hd) + clamp(40px, 8vh, 96px)); padding-bottom: 36px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.ab-luz { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(50% 60% at 78% 40%, rgba(203, 158, 63, .12), transparent 65%), radial-gradient(40% 40% at 15% 10%, rgba(155, 111, 86, .1), transparent 70%); }
.ab-foto { --s: min(48vw, calc(100svh - var(--hd))); position: absolute; z-index: -1; right: 0; top: var(--hd); width: var(--s); height: var(--s);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 9%, #000 68%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 34%), linear-gradient(to bottom, transparent 0, #000 9%, #000 68%, transparent 100%); mask-composite: intersect; }
.ab-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ab-brilho { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(38% 34% at 52% 30%, rgba(249, 221, 145, .32), transparent 70%); mix-blend-mode: soft-light; }
.ab-grade { position: relative; z-index: 2; flex: 1; align-content: center; }
.ab-texto { grid-column: 1 / span 7; padding-bottom: 32px; }
.ab-selo { display: inline-block; font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champanhe); padding: 8px 14px; border: 1px solid var(--fio); margin-bottom: clamp(24px, 4vh, 40px); }
.ab-titulo { font: 500 clamp(44px, 5.4vw, 82px)/1 var(--serif); letter-spacing: -.015em; margin-bottom: clamp(24px, 4vh, 36px); }
.ab-linha { display: block; overflow: hidden; padding: .04em .06em .12em 0; margin-bottom: -.08em; }
.ab-linha > span { display: block; transform-origin: 0 100%; }
.ab-linha-ouro { font-style: italic; }
.ab-linha-ouro > span { background: linear-gradient(100deg, var(--ouro) 30%, var(--ouro-claro) 50%, var(--ouro) 70%); background-size: 240% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
@media (min-width: 1200px) { .ab-titulo { width: max-content; } .ab-linha > span { white-space: nowrap; } }
.ab-sub { max-width: 40ch; color: var(--texto-2); font-size: clamp(16px, 1.3vw, 19px); text-wrap: pretty; }
.ab-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 4vh, 40px); }
.ab-link { font: 500 15px/1 var(--sans); color: var(--champanhe); text-decoration: none; display: inline-flex; gap: 8px; padding: 12px 0; border-bottom: 1px solid transparent; }
.ab-link:hover { border-bottom-color: var(--champanhe); }
.ab-seta { display: inline-block; }
.ab-dados { position: relative; z-index: 2; margin: 8px 0 0; border-top: 1px solid var(--fio); }
.ab-dado { grid-column: span 4; position: relative; padding: 20px 0 4px; }
.ab-dado + .ab-dado::after { content: ""; position: absolute; left: calc(var(--g) / -2); top: 0; bottom: 0; width: 1px; background: var(--fio); }
.ab-dado::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 1px; background: var(--ouro); transform-origin: 0 0; }
.ab-dados dt { font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--texto-3); margin-bottom: 6px; }
.ab-dados dd { margin: 0; font: 500 clamp(20px, 1.8vw, 26px)/1.2 var(--serif); }

/* Coreografia da abertura: máscara nas linhas, foto revelada de baixo para cima saindo do escuro, luz que respira, detalhes com entradas próprias */
@keyframes abLinha { from { transform: translateY(108%) rotate(3deg); } to { transform: none; } }
@keyframes abBrilho { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes abSelo { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes abFoco { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
@keyframes abPreenche { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes abLinkEntra { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes abSeta { 0%, 100% { transform: none; } 50% { transform: translateY(5px); } }
@keyframes abFoto { from { clip-path: inset(100% 0 0 0); filter: brightness(.12) saturate(.5); } 55% { filter: brightness(.6) saturate(.8); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes abRespira { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes abFio { from { transform: scaleX(0); } to { transform: none; } }
@keyframes abDado { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.js-motion .ab-selo { animation: abSelo .9s var(--curva) .05s both; }
.js-motion .ab-linha > span { animation: abLinha 1.15s var(--curva) .15s both; }
.js-motion .ab-linha-ouro > span { animation: abLinha 1.15s var(--curva) .32s both, abBrilho 1.8s ease-out 1.1s both; }
.js-motion .ab-sub { animation: abFoco 1s ease-out .7s both; }
.js-motion .ab-cta { animation: abPreenche .8s var(--curva) .95s both; }
.js-motion .ab-link { animation: abLinkEntra .7s var(--curva) 1.1s both; }
.js-motion .ab-seta { animation: abSeta 1.2s ease-in-out 1.8s 3; }
.js-motion .ab-foto img { animation: abFoto 1.8s var(--curva) .2s both; }
.js-motion .ab-brilho { animation: abRespira 7s ease-in-out 1.6s infinite both; }
.js-motion .ab-dado::before { animation: abFio .8s var(--curva) both; }
.js-motion .ab-dado > * { animation: abDado .8s var(--curva) both; }
.js-motion .ab-dado:nth-child(1)::before, .js-motion .ab-dado:nth-child(1) > * { animation-delay: 1s; }
.js-motion .ab-dado:nth-child(2)::before, .js-motion .ab-dado:nth-child(2) > * { animation-delay: 1.15s; }
.js-motion .ab-dado:nth-child(3)::before, .js-motion .ab-dado:nth-child(3) > * { animation-delay: 1.3s; }

@media (max-width: 860px) {
  .ab { padding-top: calc(var(--hd) + 32px); min-height: 0; }
  .ab-grade { order: 1; }
  .ab-foto { order: 2; position: relative; top: auto; right: auto; z-index: 0; width: calc(100% + 2 * var(--gutter)); height: auto; aspect-ratio: 1; margin: -8px calc(-1 * var(--gutter)) -40px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 70%, transparent 100%); }
  .ab-dados { order: 3; }
  .ab-dado { padding: 14px 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .ab-dado + .ab-dado { border-top: 1px solid var(--fio); }
  .ab-dado + .ab-dado::after { display: none; }
  .ab-dados dt { margin: 0; }
  .ab-dados dd { text-align: right; font-size: 20px; }
  .ab-selo { font-size: 11px; letter-spacing: .12em; }
}

/* ============ 2 · Sobre (estática + título por palavras e fio das credenciais) ============ */
.so { padding-top: var(--sec); padding-bottom: var(--sec); background: var(--grafite); }
.so-grade { align-items: start; }
.so-texto { grid-column: 1 / span 6; }
.so-foto { grid-column: 8 / span 5; position: sticky; top: calc(var(--hd) + 32px); border: 1px solid var(--fio); padding: 10px; }
.so-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 44% 20%; }
.so .cab { margin-bottom: 28px; }
.so-apres { color: var(--texto-2); font-size: 18px; max-width: 60ch; text-wrap: pretty; }
.so-proposito { margin-top: 24px; font: italic 500 clamp(24px, 2.2vw, 30px)/1.3 var(--serif); color: var(--champanhe); max-width: 30ch; text-wrap: balance; }
.so-formacao { position: relative; list-style: none; margin: 40px 0 0; padding: 0 0 0 24px; display: grid; gap: 18px; }
.so-formacao::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--ouro); transform-origin: 0 0; }
.js-motion .so-formacao::before { transform: scaleY(0); transition: transform 1.4s var(--curva) .1s; }
.js-motion .so-formacao.in::before { transform: none; }
.so-formacao li { display: grid; gap: 2px; }
.so-formacao strong { font: 500 21px/1.3 var(--serif); color: var(--texto); }
.so-formacao span { font-size: 15px; color: var(--texto-3); }
.so-registro { margin-top: 32px; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; color: var(--champanhe); }
@media (max-width: 860px) { .so-foto { position: static; order: -1; max-width: 520px; margin-bottom: 40px; } }

/* ============ 3 · Procedimentos cirúrgicos (animada) ============ */
.cx { padding-top: var(--sec); padding-bottom: var(--sec); }
.cx-grade { align-items: start; }
.cx-foto { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 24px); --p: 1; }
.cx-janela { overflow: hidden; clip-path: inset(calc((1 - var(--p)) * 16%) calc((1 - var(--p)) * 12%) round 2px); }
.cx-janela img { width: 100%; aspect-ratio: 2 / 3; max-height: calc(100svh - var(--hd) - 64px); object-fit: cover; object-position: 50% 30%; transform: scale(calc(1 + (1 - var(--p)) * .22)); transform-origin: 50% 40%; }
.cx-cartoes { grid-column: 5 / span 8; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: var(--g); }
.cx-cartao { --mx: 50%; --my: 0%; position: relative; background-color: var(--grafite); background-image: radial-gradient(260px circle at var(--mx) var(--my), rgba(203, 158, 63, .14), transparent 70%); border: 1px solid rgba(208, 187, 138, .14); padding: 32px 28px 34px; transition: transform .45s var(--curva), border-color .45s, background-color .45s; }
.cx-cartao::before, .cx-cartao::after { content: ""; position: absolute; background: var(--ouro); pointer-events: none; }
.cx-cartao::before { left: -1px; top: -1px; width: calc(100% + 2px); height: 1px; transform-origin: 0 0; }
.cx-cartao::after { left: -1px; top: -1px; width: 1px; height: calc(100% + 2px); transform-origin: 0 0; }
.cx-canto { position: absolute; right: 14px; top: 14px; width: 16px; height: 16px; border-top: 1px solid var(--ouro); border-right: 1px solid var(--ouro); transition: width .45s var(--curva), height .45s var(--curva); }
.cx-cartao h3 { font: 500 clamp(26px, 2.2vw, 30px)/1.1 var(--serif); color: var(--texto); }
.cx-fio { display: block; width: 48px; height: 1px; margin: 16px 0; background: linear-gradient(90deg, var(--ouro), var(--ouro-claro)); transform-origin: 0 0; transition: width .6s var(--curva); }
.cx-cartao p { color: var(--texto-2); font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
@media (hover: hover) {
  .cx-cartao:hover { transform: translateY(-6px); border-color: rgba(203, 158, 63, .55); background-color: var(--grafite-2); }
  .cx-cartao:hover .cx-fio { width: 100%; }
  .cx-cartao:hover .cx-canto { width: 30px; height: 30px; }
}
/* Entrada dos cartões: a borda dourada se desenha, o texto se revela por recorte, o fio do título cresce e o canto aparece; uma vez só */
.js-motion .cx-cartao::before { transform: scaleX(0); transition: transform 1s var(--curva) calc(var(--i) * .12s); }
.js-motion .cx-cartao::after { transform: scaleY(0); transition: transform 1s var(--curva) calc(var(--i) * .12s + .2s); }
.js-motion .cx-conteudo { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--curva) calc(var(--i) * .12s + .25s); }
.js-motion .cx-fio { transform: scaleX(0); transition: transform 1s var(--curva) calc(var(--i) * .12s + .7s), width .6s var(--curva); }
.js-motion .cx-canto { clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--curva) calc(var(--i) * .12s + .9s), width .45s var(--curva), height .45s var(--curva); }
.js-motion .cx-cartao.in::before { transform: scaleX(1); }
.js-motion .cx-cartao.in::after { transform: scaleY(1); }
.js-motion .cx-cartao.in .cx-conteudo { clip-path: inset(0 0 0 0); }
.js-motion .cx-cartao.in .cx-fio { transform: none; }
.js-motion .cx-cartao.in .cx-canto { clip-path: inset(0 0 0 0); }
html:not(.js-motion) .cx-cartao::before, html:not(.js-motion) .cx-cartao::after { opacity: .5; }
@media (max-width: 960px) and (min-width: 861px) { .cx-foto { grid-column: 1 / span 5; } .cx-cartoes { grid-column: 6 / span 7; grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .cx-foto { position: relative; top: 0; margin-bottom: var(--g); }
  .cx-janela img { aspect-ratio: 4 / 3; max-height: none; object-position: 50% 28%; }
}
@media (max-width: 600px) { .cx-cartoes { grid-template-columns: 1fr; grid-auto-rows: auto; } }

/* ============ 4 · Filosofia (estática, creme + citação, riscos e itens animados) ============ */
.fi { background: var(--creme); color: var(--preto); padding-top: clamp(80px, 8vw, 120px); padding-bottom: clamp(80px, 8vw, 120px); }
.fi .cab-titulo em { color: #93701f; }
.fi .cab-rotulo { color: #7a5e2a; }
.fi-grade { align-items: start; }
.fi-esq { grid-column: 1 / span 5; }
.fi-dir { grid-column: 6 / span 7; display: grid; gap: 12px; }
.fi .cab { margin-bottom: 28px; }
.fi-citacao { position: relative; margin: 0; padding: 4px 0 4px 24px; }
.fi-citacao::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--ouro), rgba(203, 158, 63, .2)); transform-origin: 0 0; }
.js-motion .fi-citacao::before { transform: scaleY(0); transition: transform 1.2s var(--curva); }
.js-motion .fi-citacao.in::before { transform: none; }
.fi-citacao p { font: italic 500 clamp(24px, 2.3vw, 32px)/1.3 var(--serif); color: #3b302a; text-wrap: balance; }
.fi-lado { padding: 26px clamp(22px, 2.6vw, 34px) 18px; }
.fi-lado h3 { font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.fi-lado ul { list-style: none; margin: 0; padding: 0; }
.fi-lado li { font: 500 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); padding: 12px 0 12px 32px; position: relative; border-top: 1px solid rgba(11, 10, 9, .1); }
.fi-evito { border: 1px solid rgba(11, 10, 9, .14); color: rgba(11, 10, 9, .58); }
.fi-evito h3 { color: rgba(11, 10, 9, .55); }
.fi-evito li::before { content: ""; position: absolute; left: 4px; top: calc(12px + .65em); width: 14px; height: 1px; background: rgba(11, 10, 9, .4); }
/* risco desenhado sobre a frase (acompanha a quebra de linha) */
.fi-evito li span { background: linear-gradient(rgba(11, 10, 9, .45), rgba(11, 10, 9, .45)) 0 58% / 100% 1px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js-motion .fi-evito li span { background-size: 0% 1px; transition: background-size .9s var(--curva) calc(var(--i) * .18s + .2s); }
.js-motion .fi-evito li.in span { background-size: 100% 1px; }
.fi-busco { background: var(--preto); color: var(--creme); border: 1px solid var(--ouro); }
.fi-busco h3 { color: var(--ouro); }
.fi-busco li { border-top-color: rgba(208, 187, 138, .18); }
.fi-busco li::before { content: ""; position: absolute; left: 2px; top: calc(12px + .4em); width: 12px; height: 6px; border-left: 1.5px solid var(--ouro); border-bottom: 1.5px solid var(--ouro); transform: rotate(-45deg); }
/* itens do "busco" entram um a um por recorte, da esquerda para a direita */
.js-motion .fi-busco li { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--curva) calc(var(--i) * .14s + .3s); }
.js-motion .fi-busco li.in { clip-path: inset(0 0 0 0); }
@media (max-width: 860px) { .fi-esq { margin-bottom: 32px; } }

/* ============ 5 · Procedimentos não cirúrgicos (animada) ============ */
.nc { padding-top: var(--sec); padding-bottom: var(--sec); }
.nc .cab { margin-bottom: 18px; }
.nc-intro { color: var(--texto-2); max-width: 52ch; margin-bottom: clamp(40px, 5vw, 64px); text-wrap: pretty; }
.nc-diagrama { position: relative; grid-template-rows: 1fr 1fr; row-gap: clamp(32px, 4vw, 56px); align-items: stretch; }
.nc-fios { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.nc-fios path { fill: none; stroke: var(--ouro); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.nc-fios circle { fill: none; stroke: var(--ouro); stroke-width: 1; }
.nc-centro { grid-column: 5 / span 4; grid-row: 1 / span 2; align-self: center; justify-self: center; width: min(100%, 290px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; position: relative; background: radial-gradient(closest-side, rgba(203, 158, 63, .16), rgba(203, 158, 63, .03) 70%, transparent); border: 1px solid var(--fio); }
.nc-centro span { font: 500 clamp(28px, 2.6vw, 38px)/1.05 var(--serif); }
.nc-centro em { color: var(--ouro); }
.nc-pilar { position: relative; border: 1px solid rgba(208, 187, 138, .16); background: var(--grafite); padding: 28px 28px 30px; min-height: 150px; display: flex; align-items: flex-start; transition: border-color .6s, background-color .6s; }
.nc-pilar h3 { font: 500 clamp(24px, 2.1vw, 30px)/1.15 var(--serif); text-wrap: balance; }
.nc-no { position: absolute; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ouro); background: var(--preto); top: 50%; margin-top: -4.5px; transition: background-color .5s, box-shadow .5s; }
.nc-p1 { grid-column: 1 / span 4; grid-row: 1; } .nc-p2 { grid-column: 9 / span 4; grid-row: 1; }
.nc-p3 { grid-column: 1 / span 4; grid-row: 2; } .nc-p4 { grid-column: 9 / span 4; grid-row: 2; }
.nc-p1 .nc-no, .nc-p3 .nc-no { right: -5px; }
.nc-p2 .nc-no, .nc-p4 .nc-no { left: -5px; }
.nc-pilar.aceso, html:not(.js-motion) .nc-pilar { border-color: rgba(203, 158, 63, .6); background: var(--grafite-2); }
.nc-pilar.aceso .nc-no, html:not(.js-motion) .nc-no { background: var(--ouro); box-shadow: 0 0 14px rgba(249, 221, 145, .55); }
.nc-recursos { margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--fio); align-items: center; row-gap: 16px; }
.nc-recursos h3 { grid-column: 1 / span 2; font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champanhe); }
.nc-recursos ul { grid-column: 3 / span 7; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nc-recursos li { font-size: 15px; padding: 8px 16px; border: 1px solid var(--fio); border-radius: 40px; color: var(--texto-2); }
.nc-cta { grid-column: 10 / span 3; justify-self: end; }
/* chips: surgem em escala, um após o outro; CTA abre do centro para as bordas */
.js-motion .nc-recursos li { opacity: 0; transform: scale(.7); transition: opacity .5s ease calc(var(--i) * .09s), transform .7s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i) * .09s); }
.js-motion .nc-recursos li.in { opacity: 1; transform: none; }
.js-motion .nc-cta { clip-path: inset(0 50% 0 50%); transition: clip-path .9s var(--curva) .35s; }
.js-motion .nc-cta.in { clip-path: inset(0 0 0 0); }
@media (max-width: 860px) {
  .nc-diagrama { grid-template-rows: none; row-gap: 18px; padding-left: 30px; }
  .nc-centro { grid-row: auto; width: min(220px, 64vw); margin: 0 0 26px -30px; }
  .nc-pilar { grid-row: auto !important; min-height: 0; padding: 22px 22px 24px; }
  .nc-p1 .nc-no, .nc-p2 .nc-no, .nc-p3 .nc-no, .nc-p4 .nc-no { left: -5px; right: auto; }
  .nc-cta { justify-self: start; }
}

/* ============ 6 · Jornada (estática + linha que cresce e etapas que acendem) ============ */
.jo { padding-top: var(--sec); padding-bottom: var(--sec); background: var(--grafite); }
.jo-trilha { position: relative; padding-top: 34px; --p: 1; }
.jo-linha { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(208, 187, 138, .18); }
.jo-linha i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ouro), var(--ouro-claro)); transform-origin: 0 0; transform: scaleX(var(--p)); }
.jo-etapas { list-style: none; margin: 0; padding: 0; grid-template-rows: auto auto 1fr; row-gap: 0; }
.jo-etapa { grid-column: span 3; position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 3; padding: 30px 26px 32px; background: var(--preto); border: 1px solid rgba(208, 187, 138, .12); transition: transform .45s var(--curva), border-color .5s, background-color .5s; }
.jo-etapa::before { content: ""; position: absolute; left: -1px; top: -1px; right: -1px; height: 2px; background: linear-gradient(90deg, var(--ouro), var(--ouro-claro)); transform-origin: 0 0; transform: scaleX(.18); transition: transform .6s var(--curva); }
.jo-no { position: absolute; left: -1px; top: -40px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ouro); background: var(--ouro); box-shadow: 0 0 12px rgba(249, 221, 145, .5); transition: background-color .5s, box-shadow .5s; }
.jo-ico { width: 40px; height: 40px; margin-bottom: 18px; fill: none; stroke: var(--champanhe); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s, transform .5s var(--curva); }
.jo-etapa h3 { font: 500 clamp(24px, 2vw, 29px)/1.15 var(--serif); margin-bottom: 12px; text-wrap: balance; align-self: start; }
.jo-etapa p { color: var(--texto-2); font-size: 15.5px; text-wrap: pretty; }
/* antes de a linha chegar, a etapa fica apagada (texto legível); ao chegar, acende */
.js-motion .jo-etapa:not(.aceso) { border-color: rgba(208, 187, 138, .08); }
.js-motion .jo-etapa:not(.aceso) .jo-no { background: var(--preto); box-shadow: none; }
.js-motion .jo-etapa:not(.aceso) .jo-ico { stroke: rgba(208, 187, 138, .35); }
.js-motion .jo-etapa:not(.aceso)::before { transform: scaleX(0); }
.jo-etapa.aceso { border-color: rgba(203, 158, 63, .35); }
@media (hover: hover) {
  .jo-etapa:hover { transform: translateY(-6px); background-color: var(--grafite-2); border-color: rgba(203, 158, 63, .6); }
  .jo-etapa:hover::before { transform: scaleX(1) !important; }
  .jo-etapa:hover .jo-ico { stroke: var(--ouro); transform: scale(1.08); }
}
@media (max-width: 980px) and (min-width: 861px) { .jo-etapa { grid-column: span 6; } }
@media (max-width: 860px) {
  .jo-trilha { padding-top: 0; padding-left: 30px; }
  .jo-linha { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .jo-linha i { transform-origin: 0 0; transform: scaleY(var(--p)); }
  .jo-etapas { grid-template-rows: none; row-gap: 16px; }
  .jo-etapa { grid-row: auto; display: block; }
  .jo-no { left: -30px; top: 30px; }
}

/* ============ 7 · Onde atendo (animada) ============ */
.lo { position: relative; }
.lo-palco { position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; padding-top: calc(var(--hd) + 24px); padding-bottom: clamp(28px, 5vh, 56px); overflow: hidden; --p: 1; }
.lo-foto { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--p)) * 14%) calc((1 - var(--p)) * 26%) round calc((1 - var(--p)) * 6px)); }
.lo-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(calc(1.14 - var(--p) * .14)); }
.lo-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 10, 9, .8), rgba(11, 10, 9, 0) 55%); opacity: var(--p); }
.lo-painel { grid-column: 1 / span 5; position: relative; z-index: 2; background: rgba(11, 10, 9, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--fio); padding: clamp(26px, 3vw, 40px); }
.lo-painel .cab-rotulo { margin-bottom: 14px; }
.lo-titulo { font: 500 clamp(34px, 3.6vw, 52px)/1.05 var(--serif); margin-bottom: 18px; text-wrap: balance; }
.lo-painel address { font-style: normal; color: var(--texto-2); }
.lo-fone { margin-top: 12px; }
.lo-fone a { color: var(--champanhe); text-decoration: none; font-weight: 500; }
.lo-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lo-mask { display: inline-flex; overflow: hidden; padding: 3px; margin: -3px; }
/* CTAs sobem de dentro da própria máscara */
.js-motion .lo-acoes .btn { transform: translateY(115%); transition: transform .8s var(--curva) calc(var(--i) * .12s + .2s), background-color .25s, color .25s, border-color .25s; }
.js-motion .lo-acoes .btn.in { transform: none; }
.js-motion .lo { height: 190vh; }
.js-motion .lo-palco { position: sticky; top: 0; height: 100svh; }
@media (max-width: 1099px) and (min-width: 861px) { .lo-painel { grid-column: 1 / span 7; } }
@media (max-width: 860px) {
  .js-motion .lo { height: 160vh; }
  .lo-foto { clip-path: inset(calc((1 - var(--p)) * 10%) calc((1 - var(--p)) * 12%) round calc((1 - var(--p)) * 6px)); }
  .lo-painel { padding: 22px 20px; }
  .lo-titulo { font-size: 32px; margin-bottom: 12px; }
  .lo-painel address { font-size: 15px; }
  .lo-acoes { margin-top: 20px; }
  .lo-mask { flex: 1 1 0; }
  .lo-acoes .btn { width: 100%; padding: 0 12px; }
}

/* ============ 8 · Fechamento (estático + nome preenchido pela rolagem) ============ */
.fe { padding-top: var(--sec); overflow: hidden; }
.fe-grade { align-items: center; }
.fe-texto { grid-column: 1 / span 7; }
.fe-foto { grid-column: 9 / span 4; border: 1px solid var(--fio); padding: 10px; }
.fe-foto img { width: 100%; aspect-ratio: 666 / 692; object-fit: cover; }
.fe-titulo { font: 500 clamp(34px, 4.2vw, 58px)/1.08 var(--serif); text-wrap: balance; margin-bottom: 24px; }
.fe-texto > p { color: var(--texto-2); max-width: 46ch; }
.fe-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fe-nome { --p: 1; margin: clamp(48px, 7vw, 96px) 0 0; text-align: center; font: 500 clamp(64px, 15vw, 230px)/.85 var(--serif); letter-spacing: -.02em; white-space: nowrap; user-select: none; -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 95%); mask-image: linear-gradient(to bottom, #000 25%, transparent 95%); }
.fe-nome span { display: inline-block; color: transparent; -webkit-text-stroke: 1px rgba(208, 187, 138, .6); background: linear-gradient(90deg, rgba(208, 187, 138, .5) 0 50%, transparent 50% 100%); background-size: 200% 100%; background-position: calc((1 - var(--p)) * 100%) 0; -webkit-background-clip: text; background-clip: text; padding: 0 .04em .06em; }
@media (max-width: 860px) { .fe-foto { max-width: 400px; margin-top: 40px; } .fe-nome { font-size: 16vw; } }

/* ============ Rodapé (estático) ============ */
.ft { border-top: 1px solid var(--fio); padding-top: 56px; padding-bottom: 28px; background: var(--preto); }
.ft-grade { row-gap: 28px; }
.ft-marca { grid-column: 1 / span 4; display: flex; gap: 18px; align-items: flex-start; }
.ft-col { grid-column: span 4; display: grid; gap: 6px; align-content: start; }
.ft-marca img { width: 56px; height: 56px; flex: none; }
.ft p, .ft a { font-size: 14.5px; color: var(--texto-2); }
.ft .ft-nome { font: 500 24px/1.2 var(--serif); color: var(--texto); margin-bottom: 6px; }
.ft .ft-rot { font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--champanhe); margin-bottom: 10px; }
.ft-col a { text-decoration: none; padding: 4px 0; }
.ft-col a:hover { color: var(--champanhe); }
.ft .ft-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(208, 187, 138, .1); font-size: 13px; color: var(--texto-3); }

/* Movimento reduzido: tudo completo e parado */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
