/* Dra. Brízia Lacerda · concept. Ivory paper, wine and navy from her brand, sound as the motion idea. */
:root {
  --ivory: #f6f1e8;
  --paper: #ede4d5;
  --ink: #1f1517;
  --muted: #6b5d58;
  --wine: #430f1c;
  --wine-2: #742235;
  --gold: #c8ad80;
  --navy: #142033;
  --line: rgba(31, 21, 23, .14);
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(20px, 4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--wine); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--wine-2); outline-offset: 3px; }

.h2 { font: 400 clamp(40px, 5.6vw, 88px)/1 var(--serif); letter-spacing: -.025em; }
.h2 em { color: var(--wine-2); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--wine-2); margin-bottom: 18px; }

/* buttons: they step on hover and press on click */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 500 15px/1 var(--sans); border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--solid { background: var(--wine); color: var(--ivory); }
.btn--solid:hover { background: var(--wine-2); }
.btn--light { background: var(--ivory); color: var(--wine); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(246, 241, 232, .4); }
.btn--ghost:hover { border-color: var(--ivory); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #d9c196; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); transition: background .4s, padding .4s, transform .5s var(--ease); }
.top.is-solid { background: rgba(246, 241, 232, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top__mark { display: grid; line-height: 1.1; }
.top__name { font: 500 22px/1 var(--serif); letter-spacing: -.01em; }
.top__role { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.top__nav { display: flex; gap: 32px; font-size: 14px; }
.top__nav a { position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__cta { padding: 11px 20px; border-radius: 999px; background: var(--wine); color: var(--ivory); font-size: 14px; font-weight: 500; transition: background .3s, transform .3s var(--ease); }
.top__cta:hover { background: var(--wine-2); transform: translateY(-1px); }
@media (max-width: 980px) { .top__nav { display: none; } }
@media (max-width: 520px) { .top__role { display: none; } .top__cta { padding: 10px 16px; font-size: 13px; } }

/* 1 · hero */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; background: radial-gradient(120% 80% at 70% 30%, #fbf8f2 0%, var(--ivory) 45%, var(--paper) 100%); }
.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero__title { position: absolute; inset: 0; margin: 0; font-weight: 400; font-family: var(--serif); letter-spacing: -.045em; line-height: .86; pointer-events: none; }
.hero__row { position: absolute; display: block; white-space: nowrap; }
.hero__row--a { z-index: 1; top: 16%; left: var(--pad); font-size: clamp(64px, 12vw, 230px); color: var(--ink); }
.hero__row--b { z-index: 4; top: 44%; right: var(--pad); font-size: clamp(52px, 10.5vw, 190px); color: var(--wine); }
.hero__row--b em { font-style: italic; }
.hero__portrait { position: absolute; z-index: 3; bottom: 0; left: 71%; height: 94%; width: auto; transform: translateX(-46%); filter: drop-shadow(0 30px 40px rgba(67, 15, 28, .18)); }
.hero__side { position: absolute; z-index: 5; left: var(--pad); bottom: 56px; max-width: 360px; display: grid; gap: 22px; justify-items: start; }
.hero__lead { font-size: 17px; color: var(--ink); }
.hero__facts { position: absolute; z-index: 5; left: calc(var(--pad) + 400px); bottom: 62px; display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; }
.hero__facts li { display: grid; }
.hero__facts b { font: 400 40px/1 var(--serif); color: var(--wine); }
.hero__facts span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* letters rise one by one, on a wave */
[data-letters] .ch { display: inline-block; transform: translateY(105%) rotate(4deg); opacity: 0; transition: transform 1.1s var(--ease), opacity .8s; transition-delay: calc(var(--i) * 45ms + var(--d, 0ms)); }
.hero__row--b { --d: 260ms; }
.is-ready [data-letters] .ch { transform: none; opacity: 1; }
.hero__portrait, .hero__side, .hero__facts { opacity: 0; transition: opacity 1.2s var(--ease) .5s, transform 1.4s var(--ease) .5s; }
.hero__portrait { transform: translate(-46%, 40px); }
.is-ready .hero__portrait { opacity: 1; transform: translate(-46%, 0); }
.is-ready .hero__side, .is-ready .hero__facts { opacity: 1; }

@media (min-width: 901px) and (max-width: 1250px) { .hero__facts { left: var(--pad); bottom: 290px; } }
@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; padding: 110px var(--pad) 40px; display: grid; }
  .hero__title { position: relative; inset: auto; height: 46vw; }
  .hero__row--a { top: 0; left: 0; font-size: 19vw; }
  .hero__row--b { top: 21vw; right: 0; font-size: 14vw; }
  .hero__portrait { position: relative; left: auto; bottom: auto; height: 108vw; max-height: 620px; margin: -10vw auto 0; transform: translateY(30px); }
  .is-ready .hero__portrait { transform: none; }
  .hero__side { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 28px; }
  .hero__facts { position: relative; left: auto; bottom: auto; margin-top: 32px; gap: 24px; justify-content: space-between; }
  .hero__facts b { font-size: 30px; }
  .hero__waves { height: 70%; top: 18%; }
}

/* 2 · listen */
.listen { position: relative; background: var(--wine); color: var(--ivory); padding: clamp(90px, 12vw, 160px) var(--pad); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: center; min-height: 100svh; }
.listen .eyebrow { color: var(--gold); }
.listen .h2 em { color: var(--gold); }
.listen__text > p { margin-top: 24px; max-width: 460px; color: rgba(246, 241, 232, .82); }
.listen__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.listen__note { margin-top: 18px; font-size: 13px; color: rgba(246, 241, 232, .6); }
.listen__scope { position: relative; border-radius: 28px; background: #2c0912; box-shadow: inset 0 0 0 1px rgba(200, 173, 128, .18); padding: 28px; display: grid; gap: 22px; }
.listen__scope canvas { width: 100%; height: clamp(220px, 26vw, 360px); display: block; border-radius: 16px; background-image: linear-gradient(rgba(200, 173, 128, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 173, 128, .08) 1px, transparent 1px); background-size: 100% 25%, 8.333% 100%; }
.listen__read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.listen__read > div { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.listen__k { width: 100%; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 232, .55); }
.listen__read b { font: 400 44px/1 var(--serif); color: var(--ivory); font-variant-numeric: tabular-nums; }
.listen__u { color: var(--gold); }
.listen__meter { display: block; width: 100%; height: 6px; border-radius: 6px; background: rgba(246, 241, 232, .12); overflow: hidden; margin-top: 18px; }
.listen__meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #f1d9a8); border-radius: inherit; transition: width .08s linear; }
.listen__range { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; font-size: 12px; color: rgba(246, 241, 232, .55); position: relative; }
.listen__range::before { content: ""; grid-column: 2; grid-row: 1; height: 1px; background: rgba(246, 241, 232, .2); }
.listen__range i { grid-column: 2; grid-row: 1; justify-self: start; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-left: calc(var(--p, .5) * 100% - 6px); transition: margin-left .2s var(--ease); box-shadow: 0 0 0 6px rgba(200, 173, 128, .2); }
.listen.is-live .listen__scope { box-shadow: inset 0 0 0 1px rgba(200, 173, 128, .5), 0 0 80px rgba(200, 173, 128, .12); }
@media (max-width: 900px) { .listen { grid-template-columns: 1fr; min-height: 0; } .listen__read b { font-size: 32px; } }

/* 3 · areas: sticky picture, circle wipe */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); padding: 0 var(--pad); }
.areas__media { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.areas__img { position: absolute; width: min(100%, 560px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 300px 300px 24px 24px; clip-path: circle(0% at 50% 60%); transition: clip-path 1.2s var(--ease); }
.areas__img.is-on { clip-path: circle(80% at 50% 50%); z-index: 1; }
.areas__img.was-on { clip-path: circle(80% at 50% 50%); z-index: 0; }
.areas__count { position: absolute; z-index: 2; bottom: 8vh; right: 4%; font: italic 400 120px/1 var(--serif); color: var(--ivory); mix-blend-mode: difference; }
.areas__list { padding: 18vh 0 20vh; }
.area__img { display: none; }
.area { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .28; transition: opacity .6s var(--ease); }
.area.is-on { opacity: 1; }
.area__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-2); }
.area h3 { font: 400 clamp(44px, 5vw, 76px)/1 var(--serif); letter-spacing: -.02em; margin: 16px 0 20px; }
.area p { max-width: 460px; font-size: 18px; color: var(--muted); }
@media (max-width: 900px) {
  .areas { grid-template-columns: 1fr; }
  .areas__media { display: none; }
  .areas__list { padding: 90px 0 60px; }
  .area { min-height: 0; padding: 36px 0 44px; opacity: 1; }
  .area__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 20px 20px; margin-bottom: 26px; }
}

/* 4 · who: rows, letters ripple on hover */
.who { padding: clamp(100px, 12vw, 170px) var(--pad); background: var(--paper); }
.who__list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); }
.who__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); cursor: default; }
.who__list span { font: 400 clamp(30px, 4.2vw, 64px)/1.05 var(--serif); letter-spacing: -.02em; transition: color .3s; }
.who__list small { font-size: 15px; color: var(--muted); text-align: right; }
.who__list .ch { display: inline-block; white-space: pre; }
.who__list li:hover span { color: var(--wine-2); }
.who__list li:hover .ch { animation: ripple .9s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes ripple { 0% { transform: none; } 35% { transform: translateY(-14px); font-style: italic; } 100% { transform: none; } }
@media (max-width: 700px) { .who__list li { flex-direction: column; gap: 6px; } .who__list small { text-align: left; } }

/* 5 · signs: sticky pile */
.signs { padding: clamp(100px, 12vw, 160px) var(--pad) 18vh; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.signs__head { position: sticky; top: 22vh; }
.signs__stack { list-style: none; margin: 0; padding: 0; }
.sign { position: sticky; top: calc(18vh + var(--k) * 22px); min-height: 42vh; margin-bottom: 8vh; padding: clamp(28px, 3.5vw, 52px); border-radius: 28px; background: #fffdf9; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(67, 15, 28, .25); display: flex; flex-direction: column; justify-content: space-between; transform-origin: 50% 0; transition: transform .2s linear, filter .2s linear; }
.sign:nth-child(2) { background: var(--paper); }
.sign:nth-child(3) { background: #e3d4c0; }
.sign:nth-child(4) { background: var(--navy); color: var(--ivory); }
.sign--alert { background: var(--wine); color: var(--ivory); }
.sign__n { font: italic 400 64px/1 var(--serif); color: var(--wine-2); }
.sign:nth-child(4) .sign__n, .sign--alert .sign__n { color: var(--gold); }
.sign p { font: 400 clamp(26px, 2.8vw, 42px)/1.2 var(--serif); letter-spacing: -.01em; max-width: 620px; }
.sign b { font-weight: 500; }
@media (max-width: 900px) { .signs { grid-template-columns: 1fr; } .signs__head { position: relative; top: 0; } .sign { min-height: 34vh; top: calc(90px + var(--k) * 14px); } }

/* 6 · about: the fan */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(80px, 10vw, 140px) var(--pad); min-height: 100svh; overflow: hidden; }
.about__fan { position: relative; height: min(78svh, 720px); }
.about__fan img { position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(31, 21, 23, .45); transform: translate(-50%, -50%); will-change: transform; }
.about__main { z-index: 6; width: 48% !important; }
.about__text > p { margin-top: 26px; font-size: 18px; color: var(--muted); max-width: 480px; }
.about__facts { margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.about__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about__facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--wine-2); padding-top: 3px; }
.about__facts dd { margin: 0; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__fan { height: 110vw; max-height: 560px; } .about__fan img { width: 52%; } .about__main { width: 58% !important; } }

/* 7 · how */
.how { padding: clamp(100px, 12vw, 160px) var(--pad); background: var(--navy); color: var(--ivory); min-height: 100svh; display: grid; align-content: center; }
.how .h2 em { color: var(--gold); }
.how__track { position: relative; margin-top: 80px; }
.how__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.how__line path { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.how__steps { list-style: none; margin: 0; padding: 150px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.how__steps li { opacity: .3; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.how__steps li.is-on { opacity: 1; transform: none; }
.how__steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: italic 400 20px/1 var(--serif); }
.how__steps h3 { font: 400 28px/1.1 var(--serif); margin: 22px 0 10px; }
.how__steps p { color: rgba(246, 241, 232, .72); font-size: 16px; }
.how__law { margin-top: 70px; font-size: 13px; color: rgba(246, 241, 232, .5); }
@media (max-width: 900px) { .how__steps { grid-template-columns: 1fr 1fr; padding-top: 130px; } }
@media (max-width: 520px) { .how__steps { grid-template-columns: 1fr; } }

/* 8 · vs */
.vs { padding: clamp(100px, 12vw, 160px) var(--pad); text-align: center; }
.vs__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; margin: 60px auto 0; max-width: 1100px; text-align: left; }
.vs__card { padding: clamp(28px, 3.5vw, 48px); border-radius: 28px; background: #fffdf9; box-shadow: 0 1px 0 var(--line); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--ease); }
.vs__card:hover { transform: translateY(-2px); }
.vs__card--alt { background: var(--paper); }
.vs__k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-2); }
.vs__card p { font: 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); margin-top: 40px; }
.vs__and { font: italic 400 72px/1 var(--serif); color: var(--gold); }
.vs__foot { margin-top: 40px; color: var(--muted); }
@media (max-width: 800px) { .vs__grid { grid-template-columns: 1fr; } .vs__and { text-align: center; } }

/* 9 · faq */
.faq { padding: 0 var(--pad) clamp(100px, 12vw, 160px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font: 400 clamp(20px, 1.8vw, 26px)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--sans); color: var(--wine-2); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 620px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* 10 · close */
.close { background: var(--navy); color: var(--ivory); display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.close__img { width: 100%; height: 100%; object-fit: cover; min-height: 60svh; }
.close__body { padding: clamp(60px, 8vw, 120px) var(--pad); display: grid; align-content: center; justify-items: start; gap: 28px; }
.close__title { font: 400 clamp(52px, 6.5vw, 108px)/.95 var(--serif); letter-spacing: -.03em; }
.close__title em { color: var(--gold); }
.close__body p { max-width: 420px; color: rgba(246, 241, 232, .75); }
.foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px var(--pad); border-top: 1px solid rgba(246, 241, 232, .12); font-size: 13px; color: rgba(246, 241, 232, .5); }
@media (max-width: 900px) { .close { grid-template-columns: 1fr; } .close__img { height: 70svh; } }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* a ring opens where you click, like a sound */
.ring { position: fixed; z-index: 100; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 1px solid var(--wine-2); pointer-events: none; animation: ring 1s var(--ease) forwards; }
@keyframes ring { to { transform: scale(9); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-letters] .ch, .hero__portrait, .hero__side, .hero__facts, [data-reveal], .how__steps li { opacity: 1 !important; transform: none !important; }
  @media (min-width: 901px) { .hero__portrait { transform: translateX(-46%) !important; } }
  .areas__img { clip-path: none; }
}
