/* =========================================================================
   CHÁCARA LAGO JB — visual compartilhado (site base + cardápio)
   IDENTIDADE baseada na logo: AZUL-MARINHO + LARANJA (sol) + BRANCO.
   Tipografia: Cinzel (títulos, estilo serifado clássico da logo) + Inter (texto).
   ========================================================================= */
:root {
  --azul:        #1d3f70;   /* azul-marinho principal (da logo) */
  --azul-escuro: #122a4e;
  --laranja:     #f47a1d;   /* laranja do sol (da logo) */
  --laranja-esc: #d9641a;
  --branco:      #ffffff;
  --fundo:       #f6f8fb;   /* branco levemente azulado (fundo) */
  --carvao:      #1f2733;   /* texto escuro */
  --cinza:       #5f6b73;   /* texto suave */
  --borda:       #e3e9f0;
  --sombra:      0 10px 30px rgba(16, 30, 55, .10);
  --raio:        18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--carvao);
  background: var(--fundo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Títulos grandes: Cinzel (serifada clássica, como a logo) */
h1, h2 { font-family: "Cinzel", Georgia, serif; line-height: 1.18; letter-spacing: .5px; }
/* Títulos pequenos: Inter forte (mais legível em tamanho menor) */
h3 { font-family: "Inter", sans-serif; line-height: 1.25; }
img { max-width: 100%; display: block; }

/* ======================= FAIXA DE ANÚNCIO ======================= */
.announce {
  background: linear-gradient(90deg, var(--laranja), var(--laranja-esc));
  color: #fff; text-align: center; padding: 10px 16px;
  font-size: 14.5px; font-weight: 500; line-height: 1.35;
}
.announce strong { font-weight: 700; }

/* ======================= TOPO ======================= */
/* faixa de estreia + barra da logo grudam no topo ao rolar */
.site-top { position: sticky; top: 0; z-index: 50; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--carvao); }
.brand-logo-full { height: 52px; width: auto; display: block; }
.brand-mark {  /* badge de texto (reserva) */
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--azul); color: #fff; font-family: "Cinzel", serif; font-weight: 700; font-size: 15px;
}
.brand-name { font-family: "Cinzel", serif; font-weight: 600; font-size: 18px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--cinza); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--azul); }
/* botão ☰ aparece só no celular */
.nav-toggle { display: none; background: none; border: none; color: var(--azul); font-size: 26px; line-height: 1; cursor: pointer; padding: 6px; }

/* ======================= BOTÕES ======================= */
.btn {
  display: inline-block; text-decoration: none;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer; border: none; font-family: inherit;
}
.btn:active { transform: scale(.97); }
/* Botão principal = laranja (chama a ação) */
.btn-primary { background: var(--laranja); color: #fff; box-shadow: 0 8px 22px rgba(244,122,29,.35); }
.btn-primary:hover { background: var(--laranja-esc); transform: translateY(-2px); }
.btn-azul { background: var(--azul); color: #fff; box-shadow: var(--sombra); }
.btn-azul:hover { background: var(--azul-escuro); }
.btn-whats { background: #25d366; color: #fff; box-shadow: var(--sombra); }
.btn-ghost { background: transparent; color: var(--azul); border: 2px solid var(--azul); }
.btn-ghost:hover { background: var(--azul); color: #fff; }

/* ======================= HERO ======================= */
.hero {
  position: relative; min-height: 84vh;
  display: grid; place-items: center; text-align: center;
  padding: 60px 20px;
  background: #122a4e url('img/capa.jpg') center/cover no-repeat; /* imagem onde a água encontra a areia, caso o vídeo não toque */
  color: #fff; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  /* disfarça a baixa resolução do vídeo: leve suavidade + cor mais viva.
     O scale evita que as bordas desfocadas apareçam. O texto por cima fica nítido. */
  filter: blur(1.4px) saturate(1.14) contrast(1.04);
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,42,78,.45) 0%, rgba(12,24,46,.80) 100%),
              radial-gradient(circle at 78% 15%, rgba(244,122,29,.28), transparent 45%);
}
.hero-content { position: relative; z-index: 2; max-width: 740px; }
.hero-kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600; opacity: .92; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 8vw, 80px); font-weight: 700; }
.hero-sub { font-family: "Inter", sans-serif; font-style: italic; font-size: clamp(18px, 3vw, 26px); font-weight: 500; margin: 16px 0 6px; }
.hero-support { font-size: clamp(15px, 2.2vw, 18px); opacity: .9; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ======================= ANIMAÇÃO AO ROLAR (reveal) ======================= */
/* só ativa quando há JavaScript, pra não esconder nada sem necessidade */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ======================= FAIXA DE FOTO (parallax) ======================= */
.photo-band {
  position: relative; min-height: 62vh;
  display: grid; place-items: center; text-align: center; color: #fff;
  padding: 60px 20px; overflow: hidden;
}
/* a imagem fica numa camada própria, um pouco maior, que desliza no scroll (parallax que funciona no celular também) */
.photo-band .pb-bg {
  position: absolute; left: 0; right: 0; top: -22%; height: 144%;
  background-size: cover; background-position: center; z-index: 0; will-change: transform;
}
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18,42,78,.35), rgba(12,24,46,.6)); }
.photo-band .pb-text { position: relative; z-index: 2; max-width: 720px; }
.photo-band h2 { color: #fff; font-size: clamp(28px, 5.5vw, 50px); }
@media (max-width: 820px) { .photo-band { min-height: 52vh; } }

/* ======================= SEÇÕES ======================= */
.section { max-width: 1000px; margin: 0 auto; padding: 70px 20px; }
.section-alt { background: #fff; max-width: none; }
.section-alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--laranja); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(28px, 5.5vw, 44px); font-weight: 700; color: var(--azul); }
.section-desc { color: var(--cinza); margin-top: 10px; }
code { background: #eef2f6; padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* ======================= SOBRE / DESTAQUES ======================= */
/* 6 cards em fileiras iguais: 3+3 no PC, 2+2+2 no tablet, 1 por linha no celular */
.features { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 26px; text-align: center; box-shadow: var(--sombra);
}
.feature .ico { font-size: 34px; }
.feature h3 { font-size: 19px; font-weight: 700; margin: 10px 0 6px; color: var(--azul); }
.feature p { color: var(--cinza); font-size: 15px; }

/* ======================= GALERIA (PC: 2 fileiras de 5, clicável) ======================= */
.gallery-wrap { position: relative; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 14px; cursor: pointer; background: #dfe7ef;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--sombra); filter: brightness(1.05); }
/* setas do carrossel: escondidas no PC (lá é grade) */
.gal-arrow { display: none; }

/* CELULAR: vira carrossel que desliza pro lado, com setas */
@media (max-width: 820px) {
  .gallery {
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-bottom: 2px;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 82%; scroll-snap-align: center; }  /* mostra um pedacinho da próxima */
  .gal-arrow {
    display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(29, 63, 112, .85); color: #fff; font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
  .gal-prev { left: 4px; } .gal-next { right: 4px; }
}

/* Lightbox (ampliar foto) */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(10, 20, 38, .93); }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 14px 50px rgba(0,0,0,.55); }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; right: 18px; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 26px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .85; }
@media (max-width: 600px) { .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 20px; } }

/* ======================= CARDS GERAIS (ingresso/info) ======================= */
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 30px; }
.card { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px; box-shadow: var(--sombra); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--azul); }
.card p { color: var(--cinza); }
.price-tag { font-family: "Inter", sans-serif; font-size: 40px; font-weight: 800; color: var(--laranja-esc); margin: 6px 0; }
.price-tag small { font-size: 16px; color: var(--cinza); font-weight: 500; }
.note { font-size: 14px; color: var(--cinza); margin-top: 10px; }

/* ======================= RESERVA (mini formulário) ======================= */
.form { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px; box-shadow: var(--sombra); max-width: 520px; margin: 0 auto; }
.form label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.form input, .form select { width: 100%; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 12px; font-family: inherit; font-size: 16px; background: var(--fundo); }
.form input:focus, .form select:focus { outline: 2px solid var(--azul); border-color: transparent; }
.form .btn { width: 100%; margin-top: 22px; text-align: center; }

/* ======================= PARCEIROS ======================= */
.partner-box { background: linear-gradient(135deg, var(--azul), var(--azul-escuro)); color: #fff; border-radius: 24px; padding: 40px 28px; text-align: center; box-shadow: var(--sombra); }
.partner-box h2 { font-size: clamp(26px, 5vw, 38px); color: #fff; }
.partner-box p { opacity: .95; max-width: 600px; margin: 14px auto 0; }
.partner-cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 24px 0; }
.partner-cats span { background: rgba(255,255,255,.15); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }

/* ======================= ATRAÇÕES ======================= */
.attractions-box {
  background: linear-gradient(135deg, var(--laranja), var(--laranja-esc));
  color: #fff; border-radius: 24px; padding: 40px 28px; text-align: center; box-shadow: var(--sombra);
}
.attractions-box h2 { font-size: clamp(24px, 4.5vw, 36px); color: #fff; }
.attractions-box p { opacity: .96; max-width: 620px; margin: 14px auto 0; }
.attractions-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.attractions-tags span { background: rgba(255,255,255,.18); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }

/* ======================= CONTATO ======================= */
.info-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ======================= RODAPÉ ======================= */
.footer { text-align: center; padding: 50px 20px; background: var(--azul-escuro); color: #fff; }
.footer-brand { font-family: "Cinzel", serif; font-size: 24px; font-weight: 700; margin-bottom: 6px; letter-spacing: 1px; }
.footer p { opacity: .9; }
.footer a { color: #fff; }
.footer-small { opacity: .65; font-size: 13px; margin-top: 14px; }

/* ======================= WHATSAPP FLUTUANTE ======================= */
.whats-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 26px; text-decoration: none; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .15s; }
.whats-float:hover { transform: scale(1.08); }

/* =========================================================================
   PÁGINA DO CARDÁPIO (cardapio.html)
   ========================================================================= */
.menu-page { max-width: 680px; margin: 0 auto; padding: 0 18px 90px; }
.menu-hero { text-align: center; padding: 36px 20px 26px; }
.menu-logo-full { width: 100%; max-width: 320px; height: auto; display: block; margin: 0 auto 8px; }
.menu-hero h1 { font-size: clamp(32px, 7vw, 48px); color: var(--azul); }
.menu-hero p { color: var(--cinza); margin-top: 8px; }

/* Abas Comida / Bebida */
.tabs { display: flex; gap: 8px; background: #fff; border: 1px solid var(--borda); padding: 6px; border-radius: 999px; max-width: 360px; margin: 0 auto 34px; box-shadow: var(--sombra); position: sticky; top: 12px; z-index: 20; }
.tab { flex: 1; padding: 12px 16px; border-radius: 999px; background: transparent; color: var(--cinza); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: all .2s; }
.tab.is-active { background: var(--azul); color: #fff; }

/* Itens */
.menu-cat { margin-bottom: 34px; }
.menu-cat-title { font-family: "Inter", sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--azul); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.menu-cat-title::after { content: ""; flex: 1; height: 2px; background: var(--borda); }
.menu-cat-nota { font-size: 13px; color: var(--cinza); margin: -6px 0 12px; font-style: italic; }
.menu-subcat-title { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--azul); margin: 20px 0 6px; }
.menu-subcat-title:first-of-type { margin-top: 4px; }
.menu-mini-sep { width: 80px; height: 3px; border-radius: 3px; margin: 14px auto; background: linear-gradient(90deg, transparent, var(--laranja), transparent); }
.menu-promo { display: inline-flex; align-items: center; gap: 9px; margin: 2px 0 18px; padding: 9px 14px 9px 9px; background: linear-gradient(135deg, #ff8f33, var(--laranja-esc)); color: #fff; font-weight: 800; font-size: 15px; border-radius: 13px; transform: rotate(-1.8deg); box-shadow: 0 10px 22px rgba(217,100,26,.34); animation: promoPulse 2.4s ease-in-out infinite; }
.menu-promo-tag { background: #fff; color: var(--laranja-esc); font-size: 11px; font-weight: 900; letter-spacing: .4px; padding: 3px 8px; border-radius: 7px; white-space: nowrap; }
.menu-promo-txt { white-space: nowrap; }
@keyframes promoPulse {
  0%, 100% { transform: rotate(-1.8deg) scale(1);    box-shadow: 0 10px 22px rgba(217,100,26,.34); }
  50%      { transform: rotate(-1.8deg) scale(1.045); box-shadow: 0 14px 30px rgba(217,100,26,.52); }
}
@media (prefers-reduced-motion: reduce) { .menu-promo { animation: none; } }
.menu-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--borda); }
.menu-item:last-child { border-bottom: none; }
.mi-thumb { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; object-fit: cover; }
.mi-thumb-ph { display: grid; place-items: center; font-size: 30px; background: #eef3f8; border: 1px solid var(--borda); }
.mi-left { flex: 1; min-width: 0; }
.mi-name { font-weight: 600; font-size: 17px; }
.mi-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--laranja-esc); border: 1px solid var(--laranja); border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.mi-desc { color: var(--cinza); font-size: 14px; margin-top: 2px; }
.mi-price { font-weight: 800; color: var(--azul); white-space: nowrap; }
.mi-price::before { content: "R$ "; font-weight: 500; font-size: 13px; color: var(--cinza); }
.menu-back { text-align: center; margin-top: 40px; }
.menu-back a { color: var(--azul); text-decoration: none; font-weight: 600; }

/* ======================= GERADOR DE QR ======================= */
.qr-wrap { max-width: 560px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.qr-box { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 30px; box-shadow: var(--sombra); margin-top: 20px; }
#qrcode { display: inline-block; margin: 18px auto; }
#qrcode img, #qrcode canvas { margin: 0 auto; }

/* ======================= CELULAR ======================= */
@media (max-width: 600px) {
  .section { padding: 50px 18px; }
  .hero { min-height: 76vh; }
  /* logo centralizada; botão de menu no canto direito */
  .topbar { position: relative; justify-content: center; }
  .nav-toggle { display: block; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
  .brand-logo-full { height: 46px; }
  /* menu vira lista que abre embaixo da barra */
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--borda); box-shadow: var(--sombra); padding: 6px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 22px; font-size: 16px; }
  /* título numa linha só */
  .hero h1 { font-size: clamp(26px, 7.6vw, 40px); letter-spacing: 0; white-space: nowrap; }
}

/* ============================================================
   EFEITOS INTERATIVOS (morph de fotos, ondas, números e hover moderno)
   ============================================================ */

/* Transição de fotos controlada pelo scroll */
.morph { position: relative; height: 200vh; background: #0a1626; }
.morph-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.morph-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.morph-img-a { will-change: clip-path; clip-path: inset(0 0 0 0); }
.morph-seam { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 16px 2px rgba(255,255,255,.85); opacity: 0; z-index: 3; }
.morph-caption { position: absolute; left: 0; right: 0; bottom: 16%; height: 1.3em; z-index: 4; }
.morph-cap { position: absolute; left: 16px; right: 16px; text-align: center; color: #fff; font-family: "Cinzel", serif; font-size: clamp(22px, 5vw, 46px); text-shadow: 0 4px 26px rgba(0,0,0,.6); }
.morph-cap-a { opacity: calc(1 - var(--mp, 0)); }
.morph-cap-b { opacity: var(--mp, 0); }
.morph-hint { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; color: rgba(255,255,255,.9); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; z-index: 4; animation: morphHint 1.8s ease-in-out infinite; }
@keyframes morphHint { 0%, 100% { transform: translateY(0); opacity: .65; } 50% { transform: translateY(7px); opacity: 1; } }

/* Hover moderno */
.gallery-item { transition: transform .35s ease, box-shadow .35s ease; }
.gallery-item:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 32px rgba(18,42,78,.20); }
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(18,42,78,.16); }
.feature .ico { display: inline-block; transition: transform .3s ease; }
.feature:hover .ico { transform: scale(1.18) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
  .morph-hint { animation: none; }
}

/* ---- Divisores de onda animados ---- */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; pointer-events: none; }
.hero-wave svg { display: block; width: 100%; height: clamp(48px, 8vw, 90px); }
.hw1 { fill: var(--fundo); }
.hw2 { fill: rgba(42, 160, 216, .35); }
.hw { animation: hwBob 6s ease-in-out infinite; transform-origin: center bottom; }
.hw2 { animation-duration: 8s; animation-direction: reverse; }
@keyframes hwBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---- Números que sobem ao aparecer ---- */
.stats { position: relative; background: linear-gradient(135deg, var(--azul), var(--azul-escuro)); color: #fff; padding: 74px 20px 50px; overflow: hidden; }
.stats-wave { position: absolute; top: -1px; left: 0; right: 0; line-height: 0; pointer-events: none; }
.stats-wave svg { display: block; width: 100%; height: clamp(40px, 6vw, 70px); }
.sw1 { fill: var(--fundo); }
.sw { animation: hwBob 7s ease-in-out infinite; transform-origin: center top; }
.stats-grid { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: "Cinzel", serif; font-size: clamp(34px, 6vw, 52px); font-weight: 700; color: #fff; line-height: 1; }
.stat-label { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .82); letter-spacing: .4px; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; } }

/* ---- Texto revelando palavra por palavra ---- */
.rw-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .05em; margin: -.16em -.05em; }
.rw-word > span { display: inline-block; transform: translateY(120%); opacity: 0; transition: transform .6s cubic-bezier(.22, .8, .3, 1), opacity .6s ease; }
.section-head.visible .rw-word > span { transform: translateY(0); opacity: 1; }

/* ---- Galeria estilo cortina (entra alternando, no PC) ---- */
@media (min-width: 821px) {
  .js .gallery-item.reveal:nth-child(odd)  { transform: translateX(-52px) translateY(10px); }
  .js .gallery-item.reveal:nth-child(even) { transform: translateX(52px) translateY(10px); }
  .js .gallery-item.reveal.visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hw, .sw { animation: none; }
  .rw-word > span { transition: none; transform: none; opacity: 1; }
}
