/* Dra. Júlia Fedal · Clínica FEDAL · Instituto FEDAL
   Paleta oficial (04/12/2026). Fundos: Sellier (toda a casa), Conhaque (Clínica),
   Atelier e Preto (Instituto e cursos). Letra: no Sellier, preto, Conhaque ou Atelier;
   no Conhaque, Marfim; no Atelier e no Preto, Sellier. */
:root {
  --sellier: #efe7da; --conhaque: #7e4426; --marfim: #ece6dc; --atelier: #22281f; --preto: #121212;
  --bg: var(--preto); --ink: var(--sellier); --mute: rgba(239,231,218,.62); --accent: var(--sellier);
  --line: rgba(239,231,218,.16);
  --caslon: "Libre Caslon Display", Georgia, serif;
  --bodoni: "Bodoni Moda", Georgia, serif;
  --jost: "Jost", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--preto); color: var(--sellier); -webkit-font-smoothing: antialiased; }
body { font-family: var(--jost); font-weight: 300; font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
em { font-family: var(--bodoni); font-style: italic; font-weight: 500; color: var(--accent); }
.h2 { font-family: var(--caslon); font-weight: 400; font-size: clamp(44px, 6.6vw, 112px); line-height: .98; letter-spacing: -.01em; }
.h2 em { font-size: .92em; letter-spacing: -.02em; }
.eyebrow { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; opacity: .75; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---------- logos (desenhados pelo gerador oficial da marca) ---------- */
.logo { display: block; overflow: visible; height: auto; }
.logo path { transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.brandmark { margin-bottom: 44px; }
.brandmark__logo { width: min(300px, 70%); }

/* ---------- seções de cor ---------- */
.sec--sellier { --accent: var(--conhaque); --line: rgba(18,18,18,.16); --mute: rgba(18,18,18,.6); background: var(--sellier); color: var(--preto); }
.sec--sellier-atelier { --accent: var(--atelier); --line: rgba(34,40,31,.18); --mute: rgba(34,40,31,.65); background: var(--sellier); color: var(--atelier); }
.sec--conhaque { --accent: var(--marfim); --line: rgba(236,230,220,.24); --mute: rgba(236,230,220,.72); background: var(--conhaque); color: var(--marfim); }
.sec--atelier { --accent: var(--sellier); --line: rgba(239,231,218,.18); --mute: rgba(239,231,218,.66); background: var(--atelier); color: var(--sellier); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--preto); display: grid; place-items: center; transition: clip-path 1.2s var(--ease) .1s; clip-path: inset(0 0 0 0); }
.loader__mark { width: 120px; opacity: 0; transform: scale(.9); animation: mark-in 1.4s var(--ease) .1s forwards; }
.loader__count { position: absolute; right: var(--pad); bottom: var(--pad); font-family: var(--caslon); font-size: clamp(64px, 12vw, 180px); line-height: 1; font-variant-numeric: tabular-nums; }
.is-loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes mark-in { to { opacity: 1; transform: scale(1); } }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--sellier); }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(239,231,218,.6); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; }
.cursor__ring em { font-family: var(--jost); font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.cursor.is-label .cursor__ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: var(--sellier); }
.cursor.is-label .cursor__ring em { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button, input { cursor: none; } }

/* ---------- header ---------- */
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--pad); mix-blend-mode: difference; color: var(--sellier); }
.top__logo { display: flex; align-items: center; gap: 14px; }
.top__ff { width: 42px; }
.top__name { display: grid; font-family: var(--caslon); font-size: 18px; line-height: 1; letter-spacing: .06em; }
.top__name small { font-family: var(--jost); font-size: 9px; letter-spacing: .5em; margin-bottom: 4px; }
.top__nav { display: flex; gap: 30px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.top__nav a, .top__cta { display: inline-block; padding: 10px 0; }
.top__cta { padding: 10px 20px; border: 1px solid rgba(239,231,218,.5); border-radius: 999px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 1050px) { .top__nav { display: none; } }

/* ---------- reveals ---------- */
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-loaded .hero .line > span { transform: none; }
.is-loaded .hero .line:nth-child(2) > span { transition-delay: .12s; }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease) .3s; }
.is-loaded .reveal-line > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 1 hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--preto); }
#gl, .hero__still { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__still { object-fit: cover; object-position: 100% 20%; opacity: 0; filter: brightness(.6); }
.no-gl .hero__still { opacity: 1; }
.hero__inner { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,18,18,.88), rgba(18,18,18,.25) 55%, transparent 75%); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) clamp(28px, 5vh, 60px); pointer-events: none; }
.hero__kicker { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; margin-bottom: 22px; }
.hero__title { font-family: var(--caslon); font-weight: 400; font-size: clamp(46px, 10.5vw, 200px); line-height: .9; letter-spacing: -.015em; }
.hero__title em { font-size: .9em; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(20px, 3vh, 40px); }
.hero__lead { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; max-width: 30ch; }
.hero__stat { display: grid; text-align: right; }
.hero__stat b { font-family: var(--caslon); font-weight: 400; font-size: clamp(44px, 5vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stat b::after { content: " mil"; font-size: .4em; letter-spacing: .1em; }
.hero__stat span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.hero__hint { position: absolute; top: 50%; right: var(--pad); writing-mode: vertical-rl; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); opacity: 0; transition: opacity 1s 1.6s; }
.is-loaded .hero__hint { opacity: 1; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 56px; background: rgba(239,231,218,.15); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--sellier); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-width: 700px) { .hero__foot { flex-direction: column; align-items: flex-start; } .hero__stat { text-align: left; } .hero__hint { display: none; } }

/* ---------- 2 manifesto ---------- */
.manifesto { padding: clamp(120px, 22vh, 240px) var(--pad); max-width: 1500px; }
.manifesto__text { font-family: var(--caslon); font-size: clamp(34px, 4.8vw, 80px); line-height: 1.08; }
.manifesto__text .w { display: inline-block; opacity: .14; transition: opacity .5s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__meta { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 60px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--mute); }
.manifesto__meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--sellier); margin-right: 12px; vertical-align: middle; }

/* ---------- blocos com fotos sobrepostas ---------- */
.about, .mentor { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); align-items: center; padding: clamp(100px, 16vh, 180px) var(--pad); }
.about__pics, .mentor__pics { position: relative; height: min(86vh, 820px); }
.about__a, .about__b, .mentor__a, .mentor__b { position: absolute; width: 58%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; will-change: transform; }
.about__a, .mentor__a { left: 0; top: 0; }
.about__b, .mentor__b { right: 0; bottom: 0; }
.about__text > p, .mentor__text > p, .clinic__text > p, .course__head > p { font-size: 19px; max-width: 44ch; margin-top: 28px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0; border-top: 1px solid var(--line); padding-top: 26px; }
.facts b { display: block; font-family: var(--caslon); font-weight: 400; font-size: clamp(28px, 2.8vw, 46px); line-height: 1.05; }
.facts span { font-size: 13px; color: var(--mute); }
.btn { display: inline-flex; gap: 14px; align-items: center; padding: 18px 32px; border-radius: 999px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; background: currentColor; transition: opacity .3s; }
.btn > * , .btn { -webkit-text-fill-color: var(--btnink, var(--preto)); }
.sec--sellier .btn { --btnink: var(--sellier); }
.sec--sellier-atelier .btn { --btnink: var(--sellier); }
.sec--conhaque .btn { --btnink: var(--conhaque); }
.sec--atelier .btn { --btnink: var(--atelier); }
.btn:hover { opacity: .85; }
.btn--ghost { background: transparent; border: 1px solid var(--line); -webkit-text-fill-color: var(--sellier); }
.btn--ghost > * { -webkit-text-fill-color: var(--sellier); }
@media (max-width: 900px) { .about, .mentor { grid-template-columns: 1fr; } .about__pics, .mentor__pics { height: 120vw; } .mentor__pics { order: -1; } .facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; } }

/* ---------- 4 casos (pinned horizontal) ---------- */
.cases { position: relative; background: var(--preto); }
.cases__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.cases__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 0 var(--pad); }
.cases__head .eyebrow { margin-bottom: 14px; }
.cases__note { color: var(--mute); font-size: 14px; text-align: right; }
.cases__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--pad); will-change: transform; }
.case { flex: none; width: clamp(260px, min(26vw, 46svh), 400px); }
.case h3 { font-family: var(--caslon); font-weight: 400; font-size: 28px; margin-top: 18px; }
.case p { color: var(--mute); font-size: 15px; }
.case--txt { display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.case__quote { font-family: var(--caslon); font-size: clamp(26px, 2.4vw, 36px) !important; line-height: 1.2; color: var(--sellier) !important; }
.ba, .split { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: #1c1c1c; }
.ba img, .split img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; background: var(--sellier); }
.ba__line::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: var(--sellier); color: var(--preto); display: grid; place-items: center; font-size: 18px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.split::after { content: ""; position: absolute; top: 8%; bottom: 8%; left: 50%; width: 1px; background: rgba(239,231,218,.5); }
.ba__tag { position: absolute; bottom: 14px; z-index: 2; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; padding: 6px 10px; background: rgba(18,18,18,.7); color: var(--sellier); pointer-events: none; }
.ba__tag--l { left: 14px; } .ba__tag--r { right: 14px; }
/* véu sobre imagens clínicas: a paciente vê só se quiser */
.veil img { transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.veil:not(.is-open) img { filter: blur(22px) saturate(.6) brightness(.8); transform: scale(1.1); }
.veil:not(.is-open) .ba__line, .veil:not(.is-open) input { display: none; }
.veil__btn { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--sellier); }
.veil.is-open .veil__btn { display: none; }
@media (max-width: 800px) {
  .cases__sticky { position: relative; height: auto; padding: 100px 0; }
  .cases__head { flex-direction: column; align-items: flex-start; } .cases__note { text-align: left; }
  .cases__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 10px; }
  .case { width: 78vw; scroll-snap-align: center; }
}

/* ---------- 5 método: passos ---------- */
.method { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gut); padding: clamp(100px, 16vh, 180px) var(--pad); border-top: 1px solid var(--line); }
.method__side { position: sticky; top: 12vh; align-self: start; }
.method__big { display: block; margin-top: 30px; font-family: var(--caslon); font-size: clamp(140px, 20vw, 340px); line-height: .8; color: rgba(239,231,218,.14); }
.method__steps { list-style: none; }
.method__steps li { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); opacity: .25; transition: opacity .6s; }
.method__steps li.on { opacity: 1; }
.method__steps h3 { font-family: var(--caslon); font-weight: 400; font-size: clamp(30px, 3vw, 48px); margin-bottom: 14px; }
.method__steps p { max-width: 46ch; font-size: 18px; color: var(--mute); }
@media (max-width: 800px) { .method { grid-template-columns: 1fr; } .method__side { position: relative; top: 0; } .method__big { font-size: 120px; } .method__steps li { min-height: 0; padding: 40px 0; opacity: 1; } }

/* ---------- 6 clínica ---------- */
.clinic { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--gut); padding: clamp(100px, 16vh, 180px) var(--pad); align-items: center; }
.clinic__img { position: relative; height: min(88vh, 860px); overflow: hidden; border-radius: 3px; }
.clinic__img img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.procs__list { list-style: none; margin: 44px 0; border-top: 1px solid var(--line); }
.procs__list li { position: relative; display: grid; grid-template-columns: 60px 1fr auto; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.procs__list li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: currentColor; transition: width .9s var(--ease); }
.procs__list li:hover::before { width: 100%; }
.procs__list li:hover { padding-left: 24px; }
.procs__n { font-size: 12px; letter-spacing: .2em; color: var(--mute); }
.procs__name { font-family: var(--caslon); font-size: clamp(28px, 3vw, 48px); line-height: 1.1; }
.procs__list li:hover .procs__name { font-family: var(--bodoni); font-style: italic; color: var(--accent); }
.procs__tag { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.procs__float { position: fixed; left: 0; top: 0; width: 260px; height: 330px; object-fit: cover; border-radius: 3px; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-4deg); transition: opacity .35s, transform .6s var(--ease); }
.procs__float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
@media (hover: none), (pointer: coarse) { .procs__float { display: none; } }
@media (max-width: 900px) { .clinic { grid-template-columns: 1fr; } .clinic__img { height: 110vw; } }

/* ---------- 7 curso on-line ---------- */
.course { padding: clamp(100px, 16vh, 180px) var(--pad); }
.course__head { max-width: 900px; }
.course__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--gut); margin: 80px 0 60px; align-items: start; }
.course__fig { position: sticky; top: 12vh; }
.course__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.modules { list-style: none; border-top: 1px solid var(--line); }
.modules li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.modules span { font-family: var(--caslon); font-size: 30px; color: var(--mute); }
.modules h3 { font-family: var(--caslon); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; }
.modules p { color: var(--mute); margin-top: 6px; }
@media (max-width: 900px) { .course__grid { grid-template-columns: 1fr; } .course__fig { position: relative; top: 0; } }

/* ---------- 9 palcos (marquee) ---------- */
.insta { padding: clamp(100px, 16vh, 180px) 0; overflow: hidden; }
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; padding: 0 var(--pad) 60px; }
.insta__handles { display: grid; gap: 8px; text-align: right; }
.insta__handles a { color: var(--mute); transition: color .3s; padding: 6px 0; }
.insta__handles a:hover { color: var(--sellier); }
.insta__handles b { color: var(--sellier); font-weight: 400; margin-right: 8px; }
.marquee { overflow: hidden; padding: 8px 0; }
.marquee__row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.marquee__row img { width: clamp(200px, 18vw, 290px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; filter: grayscale(.9) brightness(.8); transition: filter .6s, transform .8s var(--ease); }
.marquee__row img:hover { filter: none; transform: scale(1.03); }
@media (max-width: 700px) { .insta__handles { text-align: left; } }

/* ---------- 10 agendar ---------- */
.close { padding: clamp(120px, 20vh, 220px) var(--pad) 40px; border-top: 1px solid var(--line); text-align: center; }
.close__title { font-family: var(--caslon); font-weight: 400; font-size: clamp(54px, 9vw, 170px); line-height: .95; }
.close__title .line > span { transform: translateY(110%); }
.close__title.is-in .line > span { transform: none; }
.close__title.is-in .line:nth-child(2) > span { transition-delay: .12s; }
.close__btn { display: inline-grid; place-items: center; width: 220px; height: 220px; margin: 70px auto 0; border-radius: 50%; background: var(--sellier); color: var(--preto); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; transition: background .3s; }
.close__btn:hover { background: #fff; }
.close__units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 110px; text-align: left; border-top: 1px solid var(--line); padding-top: 34px; }
.close__units h3 { font-weight: 400; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 10px; }
.close__units p { color: var(--mute); }
.close__units a { border-bottom: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 90px; font-size: 13px; color: var(--mute); }
@media (max-width: 800px) { .close__units { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .line > span, .reveal-line > span, [data-reveal] { transform: none !important; opacity: 1 !important; }
  .manifesto__text .w { opacity: 1; }
}

/* o hífen do Bodoni itálico some em tamanho grande: usa o do Caslon */
.hy { font-family: var(--caslon); font-style: normal; }

/* ---------- a casa FEDAL: três painéis, o que está sob o cursor se abre ---------- */
.house { display: flex; min-height: 100svh; }
.house__panel { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 120px 34px 70px; text-align: center; overflow: hidden; transition: flex 1.1s var(--ease); isolation: isolate; }
.house__panel--julia { background: var(--sellier); color: var(--preto); }
.house__panel--clinica { background: var(--conhaque); color: var(--marfim); }
.house__panel--instituto { background: var(--atelier); color: var(--sellier); }
/* um halo de luz atrás do brasão, que acende no hover */
.house__panel::before { content: ""; position: absolute; left: 50%; top: 44%; width: 120%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, currentColor, transparent); opacity: .05; z-index: -1; transition: opacity 1s, scale 1.2s var(--ease); scale: .7; }
.house__panel:hover::before { opacity: .11; scale: 1; }
.house:hover .house__panel { flex: .8; }
.house .house__panel:hover { flex: 1.45; }
.house__num { position: absolute; top: 108px; left: 34px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.house__logo { width: min(300px, 78%); transition: transform 1.2s var(--ease); }
.house__panel:hover .house__logo { transform: scale(1.06); }
.house__role { max-width: 28ch; font-size: 16px; opacity: .85; }
.house__go { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.house__go i { font-style: normal; display: inline-block; transition: transform .6s var(--ease); }
.house__panel:hover .house__go i { transform: translateX(6px); }
/* o brasão se desenha quando a seção aparece */
.logo.is-draw path:not([data-glyph]) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.logo.is-draw.is-in path:not([data-glyph]) { stroke-dashoffset: 0; }
.logo.is-draw text, .logo.is-draw path[data-glyph] { opacity: 0; transition: opacity 1.4s var(--ease) .9s; }
.logo.is-draw.is-in text, .logo.is-draw.is-in path[data-glyph] { opacity: 1; }
@media (max-width: 900px) { .house { flex-direction: column; } .house__panel { min-height: 72svh; padding: 110px 28px 60px; } .house:hover .house__panel, .house .house__panel:hover { flex: 1; } }

/* ---------- aplicações ---------- */
.apps { background: var(--sellier); color: var(--preto); padding: clamp(100px, 16vh, 180px) var(--pad); --line: rgba(18,18,18,.16); }
.apps__head { margin-bottom: 70px; }
.apps__head .eyebrow { margin-bottom: 14px; }
.apps__head em { color: var(--conhaque); }
.apps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.app { perspective: 1200px; }
.app__stage { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; display: grid; place-items: center; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.app__stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.22), transparent 55%); pointer-events: none; mix-blend-mode: soft-light; }
.app figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 22px; }
.app figcaption b { font-family: var(--caslon); font-weight: 400; font-size: 24px; }
.app figcaption span { font-size: 13px; color: rgba(18,18,18,.6); text-align: right; align-self: center; }
.mock { box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 8px 18px -8px rgba(0,0,0,.3); }

/* cartões da Dra. Júlia */
.app__stage--cards { background: #d9d0c2; }
.card { position: absolute; width: 74%; aspect-ratio: 85 / 55; border-radius: 3px; display: grid; place-items: center; }
.card--back { background: var(--preto); transform: translate(10%, -38%) rotate(-8deg); }
.card--front { background: var(--sellier); transform: translate(-6%, 22%) rotate(4deg); align-content: center; gap: 8px; }
.card__ff { width: 26%; }
.card__logo { width: 52%; }
.card__line { font-size: 8px; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.app:hover .card--back { transform: translate(14%, -44%) rotate(-11deg); }
.app:hover .card--front { transform: translate(-8%, 26%) rotate(2deg); }
.card { transition: transform 1s var(--ease); }

/* placa da Clínica */
.app__stage--door { background: linear-gradient(180deg, #e7ded0, #d6cbbb); }
.app__stage--door::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, #cbbfae, #bfb2a0); }
.door { position: relative; width: 62%; aspect-ratio: 3 / 4; background: var(--conhaque); border-radius: 2px; display: grid; place-items: center; transform: translateY(-6%); }
.door__plate { width: 78%; aspect-ratio: 3 / 4; border: 1px solid rgba(236,230,220,.35); display: grid; place-items: center; }
.door__logo { width: 70%; }

/* certificado do Instituto */
.app__stage--cert { background: var(--atelier); }
.cert { width: 84%; aspect-ratio: 297 / 210; background: var(--sellier); color: var(--atelier); padding: 6% 7%; display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; outline: 1px solid rgba(34,40,31,.4); outline-offset: -10px; transform: rotate(-3deg); transition: transform 1s var(--ease); }
.app:hover .cert { transform: rotate(0); }
.cert__seal { width: 15%; margin-bottom: 6px; }
.cert__k { font-size: 6px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.cert__t { font-family: var(--caslon); font-size: clamp(16px, 1.8vw, 26px); letter-spacing: .12em; }
.cert__line { font-size: 8px; opacity: .8; }
.cert__sig { margin-top: 10px; font-size: 6px; letter-spacing: .26em; text-transform: uppercase; display: grid; justify-items: center; gap: 4px; }
.cert__sig i { display: block; width: 70px; height: 1px; background: currentColor; opacity: .5; }
@media (max-width: 900px) { .apps__grid { grid-template-columns: 1fr; gap: 60px; } }

/* ---------- logos no fechamento ---------- */
.close__ff { width: 90px; margin: 0 auto 50px; }
.close__name { width: 150px; margin-bottom: 14px; }

/* ---------- quinas com movimento ---------- */
[data-shape] { --k: 1; overflow: hidden; }
[data-shape="arch"] { border-radius: 50% 50% 4px 4px / calc(var(--k) * 30%) calc(var(--k) * 30%) 4px 4px; }
[data-shape="leaf"] { border-radius: calc(4px + var(--k) * clamp(48px, 8vw, 150px)) 4px calc(4px + var(--k) * clamp(48px, 8vw, 150px)) 4px; }
.clinic__img::after, .course__fig::after { content: ""; position: absolute; inset: 16px; border: 1px solid currentColor; opacity: .4; border-radius: inherit; pointer-events: none; z-index: 2; }
.course__fig { position: sticky; overflow: hidden; } .course__fig img { border-radius: 0; display: block; }
.marquee__row img { filter: brightness(.88) !important; }
.marquee__row img:hover { filter: none !important; }
.marquee__row img:nth-child(3n+1) { border-radius: 50% 50% 4px 4px / 28% 28% 4px 4px; }
.marquee__row img:nth-child(3n+2) { border-radius: 64px 4px 64px 4px; }
.marquee__row img:nth-child(3n) { border-radius: 4px 64px 4px 64px; }

/* ---------- palavras gigantes ao fundo ---------- */
.about, .clinic, .course, .mentor { position: relative; overflow: clip; isolation: isolate; }
.ghost { position: absolute; top: clamp(30px, 6vh, 80px); left: -4vw; z-index: -1; white-space: nowrap; pointer-events: none;
  font-family: var(--caslon); font-size: clamp(120px, 22vw, 380px); line-height: .8; text-transform: uppercase; letter-spacing: -.02em;
  color: currentColor; opacity: .055; will-change: transform; }
.clinic .ghost, .mentor .ghost { top: auto; bottom: clamp(20px, 4vh, 60px); left: auto; right: -4vw; }
.clinic__img img { object-position: 50% 6%; }

/* antes e depois: cor original e a foto inteira, no formato em que ela posta */
.split { aspect-ratio: 1 / 1; }
.ba, .split { border-radius: 6px; }
.ba img, .split img { object-fit: contain; }
.veil.is-open img { filter: none; transform: none; }

/* o cursor não inverte mais as cores das fotos (parecia negativo/raio-x) */
.cursor { mix-blend-mode: normal; }
.cursor__dot { background: var(--sellier); box-shadow: 0 0 0 1px rgba(18,18,18,.35); }
.cursor__ring { border-color: rgba(239,231,218,.75); box-shadow: 0 0 0 1px rgba(18,18,18,.18); }
.cursor.is-label .cursor__ring { background: rgba(239,231,218,.92); border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cursor.is-label .cursor__ring em { color: var(--preto); }

/* rodapé: as três marcas alinhadas e centradas, na mesma altura */
.close__units { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; align-items: start; text-align: center; gap: 48px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.close__units > div { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.close__name { width: auto; height: 64px; max-width: 100%; margin: 0; display: block; }
.close__units p { line-height: 1.6; }
@media (max-width: 800px) { .close__units { grid-template-columns: 1fr; gap: 54px; } }

/* telas grandes (TV, monitores largos): o conteúdo fica numa coluna central de até 1640px */
:root { --gut: clamp(20px, 4vw, 64px); --pad: max(var(--gut), calc((100vw - 1640px) / 2)); }
.manifesto { max-width: none; }
.manifesto__text { max-width: 1400px; }

/* ===== Aplicações em ambientes reais (mockups aprovados) ===== */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px) var(--gut); margin-top: clamp(90px, 12vh, 150px); }
.show__item { margin: 0; }
.show__item--wide { grid-column: 1 / -1; }
.show__img { overflow: hidden; border-radius: 4px; background: #e6dccd; aspect-ratio: 2400 / 1164; }
.show__img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.8s var(--ease); }
.show__item.is-in .show__img img { transform: none; }
@media (hover: hover) { .show__item:hover .show__img img { transform: scale(1.015); } }
.show__item figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-top: 16px; font-size: 14px; }
.show__item figcaption b { font-weight: 500; letter-spacing: .02em; }
.show__item figcaption span { opacity: .62; }
.show__note { grid-column: 1 / -1; font-size: 12px; opacity: .5; margin: 0; text-align: center; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; gap: 48px; } }
@media (prefers-reduced-motion: reduce) { .show__img img { transform: none !important; transition: none; } }
