/* Família Zanatta · base comum (almoço e noite) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sai .7s cubic-bezier(.7,0,.3,1) both; }
::view-transition-new(root) { animation: vt-entra .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-sai { to { opacity: 0; filter: blur(14px) brightness(.6); transform: scale(1.04); } }
@keyframes vt-entra { from { opacity: 0; filter: blur(18px); transform: scale(.985); } }

:root {
  --verde: #12281f;
  --verde-2: #1b3a2d;
  --verde-3: #2b5240;
  --salvia: #a9bba3;
  --salvia-2: #c9d4c1;
  --madeira: #9a5f33;
  --palha: #e2a95e;
  --ouro-1: #f3e2b8;
  --ouro-2: #d6b06a;
  --ouro-3: #a87b37;
  --parede: #f0e7d9;
  --parede-2: #e6d9c4;
  --tinta: #1a2b23;
  --tinta-suave: rgba(26, 43, 35, .68);
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --script: 'Pinyon Script', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topo-h: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--tinta);
  background: var(--parede); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--ouro-2); color: var(--verde); }
em { font-style: normal; }

#parede { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; pointer-events: none; }

/* ouro: degradê suave de uma família só, sem horizonte duro */
.ouro {
  background: linear-gradient(170deg, #f6e7c2 0%, #dcb874 38%, #b98a41 62%, #e7cd92 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; padding: 0 .06em;
}
body.noite .ouro, .tema-escuro .ouro {
  background: linear-gradient(170deg, #fff1cf 0%, #e8c784 40%, #c39446 66%, #f2dca6 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- topo ---------- */
.topo {
  position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1280px, calc(100% - 32px)); height: 70px; display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 22px; border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 252, 245, .62), rgba(240, 231, 217, .42));
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(120, 90, 50, .12), 0 10px 40px -18px rgba(30, 40, 30, .45);
  transition: background .6s, box-shadow .6s, transform .6s var(--ease), opacity .6s;
}
.topo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from 210deg, rgba(255,255,255,.95), rgba(170,150,120,.35), rgba(255,255,255,.8), rgba(150,130,100,.3), rgba(255,255,255,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.topo.some { transform: translate(-50%, -120%); opacity: 0; }
.marca { display: flex; align-items: center; gap: 12px; margin-right: auto; line-height: 1; }
.selo-z { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 28%, #2d5a45, #12281f 62%, #0b1a14);
  box-shadow: inset 0 0 0 1.5px rgba(226, 194, 126, .85), inset 0 0 0 3.5px #12281f, inset 0 0 0 4.5px rgba(226,194,126,.45), 0 6px 16px -6px rgba(18, 40, 31, .7); }
.selo-z i { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 5.5px; letter-spacing: 1.2px; color: #e2c27e; }
.selo-z b { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-top: 7px;
  background: linear-gradient(170deg, #fff1cf, #e2c07c 45%, #b88a42 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marca-txt { display: flex; flex-direction: column; }
.marca-nome { font-family: var(--serif); font-weight: 520; font-size: 23px; font-variant: small-caps; letter-spacing: .035em; color: var(--verde); }
.marca-sub { display: flex; align-items: center; gap: 7px; margin-top: 5px; font-family: var(--serif); font-variant: small-caps; font-size: 11.5px; letter-spacing: .34em; color: var(--ouro-3); }
.marca-sub::before, .marca-sub::after { content: ""; height: 1px; flex: 1; max-width: 22px; background: linear-gradient(90deg, transparent, var(--ouro-2)); }
.marca-sub::after { background: linear-gradient(90deg, var(--ouro-2), transparent); }
body.noite .marca-nome { color: var(--creme); }
body.noite .marca-sub { color: var(--ouro-2); }
.menu { position: relative; display: flex; gap: 2px; }
.menu a { position: relative; z-index: 1; font-family: var(--serif); font-variant: small-caps; font-size: 18.5px; font-weight: 500; letter-spacing: .03em; color: var(--verde); padding: 7px 15px 9px; border-radius: 30px; transition: color .3s; }
.menu a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ouro-2), transparent); transform: translateX(-50%); transition: width .45s var(--ease); }
.menu a:hover::after, .menu a.atual::after { width: 60%; }
.menu a.atual { color: var(--ouro-3); }
body.noite .menu a.atual { color: var(--ouro-1); }
.menu-bolha { position: absolute; z-index: 0; top: 0; height: 100%; border-radius: 30px; opacity: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(233, 222, 200, .7)); box-shadow: inset 0 1px 0 #fff, 0 4px 14px -6px rgba(80,60,30,.4);
  transition: left .45s var(--ease), width .45s var(--ease), opacity .3s; }
.menu-mobile { display: none; }
.gaveta { display: none; }

/* ---------- vidro líquido ---------- */
.vidro {
  --tom-a: rgba(255, 246, 225, .78); --tom-b: rgba(222, 196, 146, .55); --txt: #3a2a12;
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 8px;
  border-radius: 40px; font-weight: 650; font-size: 15.5px; color: var(--txt); white-space: nowrap; isolation: isolate;
  background: linear-gradient(180deg, var(--tom-a), var(--tom-b));
  -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -8px 16px -10px rgba(120, 80, 20, .35), 0 14px 30px -14px rgba(90, 60, 20, .55);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.vidro::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; z-index: -1; pointer-events: none;
  background: conic-gradient(from 160deg, #fff, #b9a27a, #fffaf0, #8d7a5c, #f4ead6, #a99068, #fff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.vidro::after { content: ""; position: absolute; left: 14%; right: 14%; top: 3px; height: 42%; border-radius: 30px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0)); }
.vidro:hover { transform: translateY(-2px); box-shadow: inset 0 1.5px 0 #fff, inset 0 -8px 16px -10px rgba(120,80,20,.35), 0 20px 36px -14px rgba(90,60,20,.6); }
.vidro-salvia { --tom-a: rgba(236, 244, 232, .72); --tom-b: rgba(160, 186, 156, .5); --txt: #1d3a2c; }
.vidro.pequeno { height: 44px; font-size: 14px; padding-right: 18px; gap: 9px; }
.esfera { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #fff 0 12%, #e8e3d8 30%, #a9a296 62%, #6e695f 88%, #8d877b 100%);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.25), 0 3px 8px -3px rgba(0,0,0,.45); }
.vidro.pequeno .esfera { width: 30px; height: 30px; }
.esfera svg { width: 55%; height: 55%; fill: none; stroke: #2a2a26; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- tipografia ---------- */
.titulo-secao { font-family: var(--serif); font-weight: 450; font-size: clamp(40px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -.012em; margin: 0; color: var(--verde); }
.cap-num { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ouro-3); margin-bottom: 16px; }
.enche { --p: 0; }
.enche .w { color: rgba(26, 43, 35, .16); transition: color .25s linear; }
.enche .w.on { color: var(--verde); }
.revela { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.revela.visto { opacity: 1; transform: none; filter: none; }

/* ---------- cenas presas ---------- */
.cena { position: relative; }
.cena-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.secao { position: relative; padding: 140px 0; }

/* ---------- arco (formato dos painéis de madeira do salão) ---------- */
.arco-borda { position: absolute; inset: 0; pointer-events: none; border-radius: 999px 999px 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 60px rgba(0,0,0,.25); }

/* ---------- cursor ---------- */
.cursor { position: fixed; z-index: 90; left: 0; top: 0; pointer-events: none; mix-blend-mode: normal; }
.cursor-luz { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle, #fff6df 0 30%, #f0c47a 55%, rgba(240,196,122,0) 72%);
  box-shadow: 0 0 22px 6px rgba(240, 190, 110, .45); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
.cursor-txt { position: absolute; transform: translate(-50%, -50%); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #3a2a12; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.grande .cursor-luz { width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.85), rgba(255, 238, 205, .55) 45%, rgba(225, 190, 130, .35));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 #fff, 0 10px 30px -10px rgba(60,40,10,.5); }
.cursor.grande .cursor-txt { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.com-cursor, body.com-cursor a, body.com-cursor button { cursor: none; } }

.cortina-portal { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 196, 120, .55), rgba(18, 40, 31, .96) 55%, #08130f); transition: opacity .7s var(--ease); }
.cortina-portal.on { opacity: 1; }

/* ---------- rodapé ---------- */
.rodape { position: relative; text-align: center; padding: 110px 24px 60px; color: var(--parede); background: linear-gradient(180deg, rgba(18,40,31,0), var(--verde) 26%); }
.rod-marca { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.rod-marca .marca-estrelas { font-size: 12px; letter-spacing: 6px; color: var(--ouro-2); }
.rod-nome { font-family: var(--serif); font-variant: small-caps; font-size: 44px; margin-top: 10px; letter-spacing: .03em; }
.rod-sub { font-family: var(--serif); font-variant: small-caps; letter-spacing: .32em; font-size: 14px; margin-top: 10px; color: var(--ouro-1); }
.rod-lema { font-family: var(--script); font-size: 34px; color: var(--ouro-1); margin: 34px 0 10px; }
.rod-info { font-size: 14.5px; opacity: .78; margin: 0; }
.rod-credito { font-size: 12.5px; opacity: .5; margin: 34px 0 0; }
.rod-credito a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .menu, .topo > .vidro { display: none; }
  .topo { height: 62px; top: 12px; }
  .selo-z { width: 38px; height: 38px; } .selo-z b { font-size: 18px; } .selo-z i { top: 6px; font-size: 4.5px; }
  .marca-nome { font-size: 19px; } .marca-sub { font-size: 10px; }
  .menu-mobile { display: grid; place-items: center; gap: 5px; width: 44px; height: 44px; border-radius: 50%; margin-left: auto;
    background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(230,218,196,.6)); box-shadow: inset 0 1px 0 #fff, 0 4px 12px -6px rgba(0,0,0,.4); }
  .menu-mobile i { display: block; width: 18px; height: 1.6px; background: var(--verde); transition: transform .4s var(--ease); }
  .menu-mobile { align-content: center; }
  body.gaveta-on .menu-mobile i:first-child { transform: translateY(3.3px) rotate(45deg); }
  body.gaveta-on .menu-mobile i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .gaveta { display: flex; flex-direction: column; justify-content: center; gap: 6px; position: fixed; inset: 0; z-index: 45; padding: 100px 32px;
    background: rgba(18, 40, 31, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
  .gaveta a { font-family: var(--serif); font-size: 40px; color: var(--parede); transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
  body.gaveta-on .gaveta { opacity: 1; pointer-events: auto; }
  body.gaveta-on .gaveta a { transform: none; opacity: 1; }
  body.gaveta-on .gaveta a:nth-child(2) { transition-delay: .05s; } body.gaveta-on .gaveta a:nth-child(3) { transition-delay: .1s; }
  body.gaveta-on .gaveta a:nth-child(4) { transition-delay: .15s; } body.gaveta-on .gaveta a:nth-child(5) { transition-delay: .2s; } body.gaveta-on .gaveta a:nth-child(6) { transition-delay: .25s; }
  .secao { padding: 96px 0; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .revela { opacity: 1; transform: none; filter: none; }
}

/* ---------- luzinhas de Natal ---------- */
.guirlanda { position: absolute; pointer-events: none; overflow: visible; z-index: 5; }
.g-fio { fill: none; stroke: #2e241a; stroke-width: 1.5; opacity: .9; }
.g-halo { fill: url(#g-halo-grad); fill: rgba(255, 186, 96, .3); filter: blur(3px); }
.g-reflexo { fill: rgba(255,255,255,.9); }
.g-bocal { fill: #2c241b; }
.g-lampada { fill: #ffe7b0; filter: drop-shadow(0 0 3px #ffb347) drop-shadow(0 0 9px rgba(255, 160, 50, .85)); }
.g-luz { animation: pisca 3.4s ease-in-out infinite; }
@keyframes pisca { 0%, 100% { opacity: 1; } 45% { opacity: .5; } 55% { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .g-luz { animation: none; } }
