/* Instituto Luiza Carvalho — Harmonização Facial (v2) */
:root {
  --cream: #f7f1e9;
  --nude: #eadccb;
  --sand: #d9c4ad;
  --wine: #5c1a26;
  --wine-2: #7a2433;
  --wine-d: #3e1018;
  --gold: #b8924f;
  --gold-l: #dcc08a;
  --ink: #241b18;
  --mute: #6f625a;
  --line: #dccbb8;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 1.04rem; font-weight: 400; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-x: clip; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { fill: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--wine-2); }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 1.5px solid var(--wine); outline-offset: 3px; }
.motion [data-split] { visibility: hidden; }
.ln { padding: .16em 0 .06em; margin-top: -.16em; }

.eyebrow { margin: 0 0 1.3rem; font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.eyebrow--wine { color: var(--wine-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 1.05em 1.8em; border: 0; border-radius: 999px; font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-2); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-l); color: var(--wine-d); }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; text-decoration: none; color: var(--wine); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(5px); }

/* header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 30px; height: 80px; padding: 0 var(--pad); transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(247, 241, 233, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 32px; }
.brand span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .3em; color: var(--mute); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: .86rem; text-decoration: none; opacity: .8; }
.nav a:hover { opacity: 1; color: var(--wine-2); }
.hbtn { padding: .7em 1.3em; border: 1px solid var(--wine); border-radius: 999px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--wine); transition: background .25s, color .25s; }
.hbtn:hover { background: var(--wine); color: #fff; }
.menu-btn { display: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.hero__img { position: relative; overflow: hidden; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.hero__txt { display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(28px, 6vw, 110px) 70px; }
.hero__mono { width: 54px; margin-bottom: 2rem; }
.hero h1 { font-size: clamp(2.8rem, 5vw, 5.4rem); font-weight: 300; }
.h1__a { display: block; }
.whisper { display: block; margin-top: .1em; font-weight: 300; letter-spacing: .01em; }
.whisper .ch { display: inline-block; white-space: pre; }
.hero__lead { max-width: 32rem; margin: 1.8rem 0 2.2rem; color: var(--mute); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* creds band */
.creds { padding: 18px 0; background: var(--wine); color: #f3e3d6; overflow: hidden; }
.creds__track { display: flex; align-items: center; gap: 30px; width: max-content; padding-right: 30px; }
.creds span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.creds i { font-style: normal; color: var(--gold-l); }
.no-motion .creds__track { flex-wrap: wrap; width: auto; padding: 0 var(--pad); }

/* drawing section */
.draw { background: var(--nude); }
.draw__pin { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: clamp(28px, 5vw, 90px); min-height: 100svh; padding: 100px var(--pad) 60px; }
.draw h2 { font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 300; margin-bottom: 2rem; }
.draw__steps { list-style: none; margin: 0; padding: 0; counter-reset: d; max-width: 34rem; }
.draw__steps li { counter-increment: d; display: grid; grid-template-columns: 54px 1fr; padding: 18px 0; border-top: 1px solid rgba(92, 26, 38, .2); opacity: .32; transition: opacity .5s; }
.draw__steps li::before { content: "0" counter(d); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--wine-2); }
.draw__steps li.is-on, .no-motion .draw__steps li { opacity: 1; }
.draw__steps b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; }
.draw__steps span { color: var(--mute); font-size: .96rem; }
.draw__film { justify-self: center; width: min(100%, 440px); }
.draw__film video { width: 100%; aspect-ratio: 480 / 706; object-fit: cover; border-radius: 240px 240px 6px 6px; box-shadow: 0 40px 70px -40px rgba(62, 16, 24, .6); }
.draw__film figcaption { display: flex; align-items: center; gap: 16px; margin-top: 16px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.draw__bar { flex: 1; height: 1px; background: rgba(92, 26, 38, .25); position: relative; }
.draw__bar b { position: absolute; inset: 0; background: var(--wine); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* results */
.results { position: relative; padding: 140px 0 120px; }
.results__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--pad); margin-bottom: 50px; }
.results h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); font-weight: 300; max-width: 15ch; }
.results__hint { max-width: 20rem; margin: 0; font-size: .88rem; color: var(--mute); }
.track { display: flex; gap: 26px; overflow-x: auto; padding: 0 var(--pad) 20px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(380px, 76vw); scroll-snap-align: start; }
.lens-wrap { position: relative; overflow: hidden; cursor: none; }
.lens-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.slide h3 { margin: 18px 0 8px; font-size: 1.7rem; }
.slide p { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.45; color: var(--mute); }
.lens { position: fixed; z-index: 60; left: 0; top: 0; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--wine), 0 20px 40px -10px rgba(0, 0, 0, .45); background-repeat: no-repeat; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease); }
.lens.is-on { opacity: 1; transform: none; }
.results__note { padding: 0 var(--pad); margin: 30px 0 0; max-width: 60rem; font-size: .78rem; color: var(--mute); }

/* concerns */
.concerns { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 90px); padding: 130px var(--pad); background: var(--nude); align-items: start; }
.concerns__side { position: sticky; top: 110px; }
.concerns h2 { font-size: clamp(2.3rem, 4.2vw, 4.2rem); font-weight: 300; margin-bottom: 1.4rem; }
.concerns__side > p:not(.eyebrow) { color: var(--mute); max-width: 32rem; }
.concerns__films { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.6rem; max-width: 420px; }
.concerns__films video { width: 100%; aspect-ratio: 480 / 750; object-fit: cover; border-radius: 120px 120px 4px 4px; }
.concerns__list { list-style: none; margin: 0; padding: 0; }
.concerns__list li { display: grid; grid-template-columns: 60px 1fr; padding: 26px 0; border-top: 1px solid rgba(92, 26, 38, .2); }
.concerns__list li > span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--wine-2); }
.concerns__list h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: 6px; transition: color .3s, transform .5s var(--ease); }
.concerns__list li:hover h3 { color: var(--wine-2); transform: translateX(8px); }
.concerns__list p { margin: 0 0 8px; color: var(--mute); }
.concerns__list small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* manifesto */
.manifesto { padding: 160px var(--pad); background: var(--wine-d); color: #f3e3d6; text-align: center; }
.manifesto__q { max-width: 22ch; margin: 0 auto 2.4rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.4rem, 5.2vw, 5.2rem); line-height: 1.1; }
.manifesto__q .w { opacity: .18; transition: none; }
.no-motion .manifesto__q .w { opacity: 1; }
.manifesto p { max-width: 40rem; margin: 0 auto; color: #d8bfb4; }

/* doctor */
.doctor { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px clamp(28px, 5vw, 90px); align-items: center; padding: 140px var(--pad) 100px; }
.doctor__img img { width: 100%; aspect-ratio: 540 / 800; object-fit: cover; border-radius: 300px 300px 4px 4px; }
.doctor h2 { font-size: clamp(2.8rem, 5.6vw, 5.6rem); font-weight: 300; }
.doctor__sub { margin: 10px 0 1.6rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.doctor__txt > p:not(.eyebrow):not(.doctor__sub) { color: var(--mute); max-width: 38rem; }
.career { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.career figure:nth-child(2) { margin-top: 70px; }
.career img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.career figcaption { margin-top: 10px; font-size: .8rem; color: var(--mute); }

/* pros */
.pros { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 90px); padding: 120px var(--pad); background: var(--wine); color: #f3e3d6; }
.pros h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 300; }
.pros__items { display: grid; gap: 30px; align-content: start; }
.pros__items h3 { font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.pros__items p { color: #dcc3b8; margin: 0; }
.pros .btn { justify-self: start; }

/* institute */
.institute { padding: 140px var(--pad); }
.institute__head { max-width: 760px; margin-bottom: 50px; }
.institute h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 300; }
.institute__quote { margin: 1rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--mute); }
.institute__photos { display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: auto auto; gap: 16px; }
.institute__photos img { width: 100%; height: 100%; object-fit: cover; }
.p1 { aspect-ratio: 1160 / 690; }
.p2 { grid-row: span 2; }
.p3 { width: 70%; justify-self: end; aspect-ratio: 900 / 669; }
.institute__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.institute__info h3 { font-size: 1.5rem; margin-bottom: 8px; }
.institute__info p { color: var(--mute); margin: 0; }
.institute__info a { color: var(--wine); }

/* voices */
.voices { padding: 120px var(--pad); background: var(--nude); text-align: center; }
.voices__stage { position: relative; max-width: 900px; min-height: 230px; margin: 0 auto; }
.voices blockquote { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.voices blockquote.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.voices p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.25; }
.voices cite { font-style: normal; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wine-2); }
.voices__dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.voices__dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(92, 26, 38, .2); cursor: pointer; transition: background .3s; }
.voices__dots button.is-on { background: var(--wine); }

.final { display: grid; justify-items: center; gap: 30px; padding: 140px var(--pad); text-align: center; }
.final img { width: 70px; }
.final h2 { font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 300; max-width: 18ch; }

.footer { padding: 40px var(--pad) 60px; background: var(--wine-d); color: #cdb3a8; text-align: center; font-size: .84rem; }
.footer p { margin: 0 0 6px; }
.footer a { color: #fff; }
.fab { display: none; }

/* responsive */
@media (max-width: 980px) {
  .header { height: 70px; gap: 14px; background: rgba(247, 241, 233, .94); }
  .brand span { font-size: 1rem; }
  .hbtn { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; margin-left: auto; padding: 0 12px; border: 1px solid var(--wine); border-radius: 50%; background: none; cursor: pointer; }
  .menu-btn span { display: block; height: 1.5px; background: var(--wine); transition: transform .3s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; padding: 10px var(--pad) 26px; background: var(--cream); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 0; font-family: var(--serif); font-size: 1.6rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .header.menu-open { background: var(--cream); }

  .hero { grid-template-columns: 1fr; }
  .hero__img { height: 64svh; }
  .hero__txt { padding: 50px var(--pad) 70px; }
  .hero__mono { display: none; }
  .draw__pin { grid-template-columns: 1fr; padding: 100px var(--pad); min-height: 0; }
  .draw__steps li { opacity: 1; }
  .draw__film { width: min(100%, 360px); }
  .results { padding: 100px 0; }
  .lens-wrap { cursor: auto; }
  .concerns { grid-template-columns: 1fr; padding: 100px var(--pad); }
  .concerns__side { position: relative; top: 0; }
  .manifesto { padding: 120px var(--pad); }
  .doctor { grid-template-columns: 1fr; padding: 100px var(--pad); }
  .doctor__img { max-width: 380px; }
  .career { grid-template-columns: 1fr 1fr; }
  .career figure:nth-child(2) { margin-top: 40px; }
  .career figure:nth-child(3) { display: none; }
  .pros { grid-template-columns: 1fr; padding: 100px var(--pad); }
  .institute { padding: 100px var(--pad); }
  .institute__photos { grid-template-columns: 1fr 1fr; }
  .p1 { grid-column: 1 / -1; }
  .p2 { grid-row: auto; }
  .p3 { width: 100%; }
  .institute__info { grid-template-columns: 1fr; }
  .voices__stage { min-height: 300px; }
  .fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wine); color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); }
  .fab svg { width: 26px; height: 26px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.2rem); }
  .concerns__films { max-width: none; }
  .voices__stage { min-height: 360px; }
}
