:root {
  --creme: #f4efe8;
  --creme-2: #efe6da;
  --bege: #e3d6c3;
  --bege-2: #c9bfa9;
  --bordo: #6e1420;
  --bordo-2: #8a1f2c;
  --bordo-suave: #a8505a;
  --choco: #2a1710;
  --choco-2: #3b2116;
  --choco-3: #5a3420;
  --caramelo: #9a5a33;
  --ouro: #c9a15a;
  --ouro-2: #e6c98a;
  --ouro-tinta: #8a6524;
  --rosado: #efc6b6;

  --f-titulo: 'Libre Bodoni', 'Bodoni Moda', Didot, Georgia, serif;
  --f-texto: 'Amulya', 'Segoe UI', system-ui, sans-serif;

  --margem: clamp(22px, 5.6vw, 96px);
  --nav-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--choco);
  font-family: var(--f-texto);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bordo-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- moldura do hero ---------- */
.hero {
  position: relative;
  min-height: max(100svh, 640px);
  overflow: clip;
  isolation: isolate;
  background: var(--creme);
}

/* malha de luz de estúdio */
.hero-luz { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.luz {
  position: absolute;
  border-radius: 50%;
  animation: respira 32s ease-in-out infinite alternate;
}
.l1 { /* parede bege atrás dela */
  width: 74vw; height: 74vw; right: -16vw; top: -18vw;
  background: radial-gradient(closest-side in oklab, #e3d6c3, rgb(227 214 195 / 0));
}
.l2 { /* pêssego-rosado leve */
  width: 52vw; height: 52vw; right: 6vw; top: 22%;
  background: radial-gradient(closest-side in oklab, rgb(240 205 188 / .85), rgb(240 205 188 / 0));
  animation-duration: 27s; animation-delay: -9s;
}
.l3 { /* luz alta, creme claro */
  width: 70vw; height: 70vw; left: -22vw; top: -30vw;
  background: radial-gradient(closest-side in oklab, #fbf8f3, rgb(251 248 243 / 0));
  animation-duration: 36s;
}
.l4 { /* sopro de bordô, baixo */
  width: 56vw; height: 40vw; right: -8vw; bottom: -22vw;
  background: radial-gradient(closest-side in oklab, rgb(138 31 44 / .2), rgb(138 31 44 / 0));
  animation-duration: 30s; animation-delay: -14s;
}
.l5 { /* bege quente embaixo à esquerda */
  width: 60vw; height: 44vw; left: -14vw; bottom: -20vw;
  background: radial-gradient(closest-side in oklab, rgb(233 219 199 / .9), rgb(233 219 199 / 0));
  animation-duration: 38s; animation-delay: -20s;
}
@keyframes respira {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(.97); }
}

/* papel de convite: granulado fino fixo */
.hero-papel {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .12 0 0 0 0 .08 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* filete ouro de convite */
.hero-filete {
  position: absolute; inset: 14px; z-index: -1; pointer-events: none;
  border: 1px solid rgb(201 161 90 / .6);
  border-radius: 2px;
}
.hero-filete::after {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgb(201 161 90 / .22);
}

/* ---------- navegação ---------- */
.hero-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--margem) 0;
}
.marca { text-decoration: none; display: grid; line-height: 1.1; }
.marca-nome {
  font-family: var(--f-titulo); font-weight: 500;
  font-size: 24px; letter-spacing: .01em; color: var(--choco-2);
}
.marca-sub {
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--choco-3); margin-top: 4px;
}
.nav-zap {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 500; font-size: 17px;
  color: var(--bordo);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgb(110 20 32 / .3);
  background: rgb(244 239 232 / .55);
  transition: background .25s, color .25s, border-color .25s;
}
.nav-zap svg { width: 18px; height: 18px; fill: currentColor; }
.nav-zap:hover { background: var(--bordo); color: var(--creme); border-color: var(--bordo); }

/* ---------- corpo ---------- */
.hero-corpo {
  position: relative;
  min-height: inherit;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 8px) var(--margem) 48px;
}
.hero-texto {
  position: relative; z-index: 3;
  width: min(640px, 50vw);
}

.hero-titulo {
  margin: 0 0 clamp(22px, 3.2vh, 34px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero-titulo .t1 {
  display: block;
  font-family: var(--f-titulo); font-weight: 400;
  font-size: clamp(34px, 3.5vw, 52px);
  color: var(--choco-3);
}
.hero-titulo .t2 {
  display: block;
  font-family: var(--f-texto); font-weight: 700;
  font-size: clamp(42px, 4.6vw, 68px);
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--choco);
  margin-top: .06em;
}

/* ---------- a conversa ---------- */
.conversa {
  --q-fs: clamp(27px, 2.6vw, 38px);
  position: relative;
  padding: clamp(18px, 2.4vh, 24px) 0 0;
  border-top: 1px solid rgb(201 161 90 / .7);
}
.conversa-palco { display: grid; }
.par {
  grid-area: 1 / 1;
  margin: 0;
  position: relative;
}
.js .par:not(.is-on) { visibility: hidden; }
html:not(.js) .par:not(:first-child) { display: none; }

.ouvido {
  position: relative;
  margin: 0;
  padding-left: .8em;
  font-family: var(--f-titulo); font-weight: 400;
  font-size: var(--q-fs);
  line-height: 1.16;
  color: var(--choco-2);
  text-wrap: balance;
}
.aspa {
  position: absolute; left: -.12em; top: -.2em;
  font-size: 2.3em; line-height: 1;
  color: var(--bordo-suave);
  opacity: .8;
}
.aspa-fim { color: var(--bordo-suave); opacity: .8; }
html:not(.js) .frase { text-decoration: line-through 2px var(--bordo-2); }

.risco {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.risco path {
  fill: none; stroke: var(--bordo-2);
  stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round;
}

.resposta {
  margin: .6em 0 0;
  padding-left: calc(var(--q-fs) * .8);
  font-family: var(--f-texto); font-weight: 500;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.42;
  color: var(--choco);
  max-width: 34em;
}
.resposta .w { display: inline-block; }
.resposta mark {
  color: var(--choco); font-weight: 700;
  background: linear-gradient(100deg, rgb(230 201 138 / .9), rgb(239 190 174 / .85));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% .62em;
  padding: 0 .12em;
  margin: 0 -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  border-radius: 2px;
}
.js .par .resposta mark { background-size: 0 .62em; }
.js .par.grifo .resposta mark { background-size: 100% .62em; transition: background-size .8s var(--ease); }

.conversa-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: -6px 0 clamp(12px, 1.8vh, 18px);
}
.conversa-rotulo {
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--choco-3);
}
.conversa-botoes { display: flex; align-items: center; gap: 2px; }
.pt, .pausa {
  position: relative;
  width: 40px; height: 40px;
  border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
  border-radius: 50%;
}
.pt span {
  font-family: var(--f-titulo); font-size: 18px; line-height: 1;
  color: var(--choco-3);
  transition: color .3s;
}
.pt i {
  position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px;
  background: rgb(90 52 32 / .18); border-radius: 2px; overflow: hidden;
}
.pt i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bordo-2);
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.pt.is-on span { color: var(--bordo); font-weight: 600; }
.pt.is-on i::after { transform: scaleX(var(--p, 1)); }
.pt:hover span { color: var(--bordo); }
.pausa svg { width: 16px; height: 16px; }
.pausa path { stroke: var(--choco-3); stroke-width: 2; stroke-linecap: round; fill: none; }
.pausa .ic-play { fill: var(--choco-3); stroke: none; display: none; }
.pausa[aria-pressed="true"] .ic-pausa { display: none; }
.pausa[aria-pressed="true"] .ic-play { display: block; }
.pausa:hover path { stroke: var(--bordo); }

/* ---------- apoio e ações ---------- */
.apoio {
  margin: clamp(18px, 2.8vh, 28px) 0 0;
  max-width: 33em;
  font-size: 18px; line-height: 1.55;
  color: var(--choco-2);
}
.apoio strong { font-weight: 700; color: var(--choco); }

.acoes {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  margin-top: clamp(18px, 2.8vh, 28px);
}
.btn-zap {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 56px; padding: 0 28px 0 22px;
  border-radius: 999px;
  background: var(--bordo); color: #fbf6ef;
  text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .005em;
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 12px 26px -12px rgb(110 20 32 / .6);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-zap svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-zap:hover { background: #5a0f1a; transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 16px 30px -12px rgb(110 20 32 / .7); }
.link-insta {
  font-size: 18px; font-weight: 500; color: var(--choco-2);
  text-decoration: underline; text-decoration-color: rgb(201 161 90 / .9);
  text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.link-insta:hover { color: var(--bordo); text-decoration-color: var(--bordo); }

/* ---------- retrato ---------- */
.hero-retrato {
  position: absolute; z-index: 2;
  right: clamp(24px, 7vw, 130px);
  bottom: 0;
  height: min(92svh, calc((100vw - 640px) * 1.4));
  min-height: 560px;
  aspect-ratio: 900 / 1409;
}
.retrato-halo {
  position: absolute; left: -22%; right: -22%; top: -4%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side in oklab, rgb(251 247 241 / .95), rgb(251 247 241 / 0));
  z-index: -1;
}
.retrato-img {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgb(59 33 22 / .16));
}
.retrato-legenda {
  position: absolute; right: -46px; top: 9%;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--choco-3);
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.retrato-legenda i { width: 1px; height: 26px; background: var(--ouro); display: block; }

.prova {
  position: absolute; left: -31%; bottom: 3%;
  width: 282px;
  margin: 0;
  padding: 18px 20px 16px;
  background: rgb(250 246 240 / .94);
  border: 1px solid rgb(201 161 90 / .55);
  border-radius: 3px;
  box-shadow: 0 22px 40px -24px rgb(59 33 22 / .45);
}
.prova-nota { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.prova-num { font-family: var(--f-titulo); font-size: 34px; line-height: 1; color: var(--bordo); font-weight: 500; }
.prova-estrelas { font-size: 16px; letter-spacing: .12em; color: var(--ouro-tinta); }
.prova-fonte { flex-basis: 100%; font-size: 15px; color: var(--choco-3); letter-spacing: .02em; }
.prova-frase {
  margin: 10px 0 0;
  font-size: 17px; line-height: 1.42; font-weight: 500; color: var(--choco);
}
.prova-quem { margin-top: 6px; font-size: 15px; color: var(--choco-3); }

/* ---------- entrada (só com JS e com movimento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-nav, .js .hero-titulo, .js .conversa-nav, .js .apoio, .js .acoes, .js .prova { opacity: 0; transform: translateY(14px); }
  .js .in { opacity: 1 !important; transform: none !important; transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .livre .hero-nav, .livre .hero-titulo, .livre .conversa-nav, .livre .apoio, .livre .acoes, .livre .prova,
  .livre .par.is-on .ouvido, .livre .hero-retrato .retrato-img, .livre .par.is-on .resposta .w { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero-retrato .retrato-img { opacity: 0; clip-path: inset(18% 0 0 0); transform: translateY(18px); }
  .js .hero-retrato.in .retrato-img {
    opacity: 1; clip-path: inset(0 0 0 0); transform: none;
    transition: opacity 1.1s var(--ease), clip-path 1.3s var(--ease), transform 1.3s var(--ease);
  }
  .js .hero-retrato.limpo .retrato-img { clip-path: none; }
  .js .par.is-on .ouvido { opacity: 0; transform: translateY(10px); }
  .js .par.is-on.fala .ouvido { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); }
  .js .par.is-on .resposta .w { opacity: 0; transform: translateY(.45em); }
  .js .par.is-on .resposta .w.ok { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .65s var(--ease); }
  .js .par.sai { opacity: 0; transition: opacity .45s ease; }
}

/* ---------- notebooks baixos ---------- */
@media (min-width: 861px) and (max-height: 820px) {
  :root { --nav-h: 72px; }
  .hero-titulo .t1 { font-size: clamp(30px, 3vw, 44px); }
  .hero-titulo .t2 { font-size: clamp(38px, 4vw, 58px); }
  .conversa { --q-fs: clamp(25px, 2.3vw, 33px); }
  .resposta { font-size: clamp(18px, 1.4vw, 21px); }
  .apoio { font-size: 17px; }
}

/* ---------- notebooks estreitos / tablet deitado ---------- */
@media (min-width: 861px) and (max-width: 1180px) {
  .hero-retrato {
    right: -2vw;
    height: min(92svh, calc((50vw - 52px) * 1.565));
    min-height: 0;
  }
  .retrato-legenda, .rot-mais { display: none; }
  .prova { left: -30%; bottom: 2%; width: 250px; padding: 14px 16px 13px; }
  .prova-num { font-size: 30px; }
}

/* ---------- celular ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 68px; --margem: 22px; }
  .hero-filete { inset: 9px; }
  .hero-filete::after { display: none; }
  .marca-nome { font-size: 21px; }
  .marca-sub { font-size: 12.5px; letter-spacing: .12em; }
  .nav-zap { padding: 9px 12px; font-size: 0; gap: 0; }
  .nav-zap span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-zap svg { width: 22px; height: 22px; }

  .hero-corpo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "foto" "texto" "prova";
    align-items: start;
    padding: 0 0 36px;
  }
  .hero-retrato { display: contents; }
  .retrato-halo {
    grid-area: foto; position: relative; left: auto; right: auto; top: auto;
    width: 120%; height: 100%; justify-self: center; z-index: 0;
  }
  .retrato-img {
    grid-area: foto; position: relative; z-index: 1;
    width: auto; height: min(62svh, 560px); min-height: 430px;
    justify-self: center;
    margin-top: calc(var(--nav-h) - 6px);
    object-fit: contain; object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, #000 48%, rgb(0 0 0 / .35) 74%, transparent 92%);
    mask-image: linear-gradient(to bottom, #000 48%, rgb(0 0 0 / .35) 74%, transparent 92%);
    filter: none;
  }
  .retrato-legenda { display: none; }
  .hero-texto {
    grid-area: texto; width: auto; z-index: 3;
    margin-top: -9svh;
    padding: 0 var(--margem);
  }
  .hero-titulo { margin-bottom: 22px; }
  .hero-titulo .t1 { font-size: clamp(29px, 8.4vw, 40px); }
  .hero-titulo .t2 { font-size: clamp(36px, 10.6vw, 54px); }
  .conversa { --q-fs: clamp(25px, 7.1vw, 32px); }
  .resposta { font-size: 18.5px; padding-left: 0; }
  .conversa-nav { gap: 8px; margin-right: -8px; }
  .conversa-rotulo { font-size: 12.5px; white-space: nowrap; }
  .rot-mais { display: none; }
  .pt, .pausa { width: 34px; }
  .apoio { font-size: 17.5px; }
  .acoes { gap: 16px 22px; }
  .btn-zap { width: 100%; justify-content: center; font-size: 17px; padding: 0 16px; gap: 9px; white-space: nowrap; }
  .link-insta { margin: 0 auto; }
  .prova {
    grid-area: prova; position: relative; left: auto; bottom: auto;
    width: auto; margin: 30px var(--margem) 0; z-index: 3;
  }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .js .hero-retrato .retrato-img { clip-path: inset(0 0 0 0); }
}

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