/* ============================================================
   homenscasados.com.br — redesign visual 2026
   Luxo discreto · Editorial · Preto · Dourado · Grafite
   ============================================================ */

/* ---- RESET + VARIÁVEIS ---- */
:root {
  --bg:      #060504;
  --bg2:     #0a0907;
  --panel:   #0e0c0a;
  --panel2:  #131109;
  --text:    #f0e8dc;
  --text2:   #c8bfb4;
  --muted:   #9a9088;
  --gold:    #c9a84c;
  --gold2:   #7d5c1e;
  --gold3:   #e8c97a;
  --champagne: #e4d5b8;
  --line:    rgba(201,168,76,.22);
  --line2:   rgba(201,168,76,.40);
  --ease:    cubic-bezier(.22,.61,.36,1);
  --ease2:   cubic-bezier(.16,1,.3,1);
}
*  { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; background: var(--bg) }
body {
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,168,76,.07) 0%, transparent 70%),
    linear-gradient(rgba(6,5,4,.86), rgba(6,5,4,.92)),
    url('/fundo-marmore.jpg?v=54') center top / cover fixed no-repeat;
}
@media (max-width: 760px) {
  body {
    background-image:
      radial-gradient(ellipse 100% 40% at 50% -5%, rgba(201,168,76,.06) 0%, transparent 60%),
      linear-gradient(rgba(6,5,4,.88), rgba(6,5,4,.94)),
      url('/fundo-marmore.jpg?v=54') center top / cover no-repeat;
    background-attachment: scroll;
  }
}
a  { text-decoration: none; color: inherit }
img { display: block; max-width: 100% }
p  { color: var(--text2); line-height: 1.82; font-size: .97rem }
strong.hl { color: var(--text) }
h1,h2,h3,h4 { font-family: Georgia, serif; font-weight: 400; line-height: 1 }

/* ---- LAYOUT ---- */
.wrap { width: min(1180px, 92%); margin: auto }

/* ---- TIPOGRAFIA UTILITÁRIA ---- */
.eyebrow {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: .63rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: "—  " }
.eyebrow::after  { content: "  —" }

/* ---- DIVISOR DOURADO ---- */
.divider {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px 0;
}

/* ================================================================
   NAVEGAÇÃO
   ================================================================ */
.nav-wrapper {
  position: sticky; top: 0; z-index: 200;
  background: rgba(6,5,4,.82);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
nav {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px }
.mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--gold2);
  border-radius: 12px;
  font: 700 26px Georgia, serif;
  color: var(--gold);
  background: rgba(201,168,76,.05);
  box-shadow: 0 0 0 1px rgba(201,168,76,.04), 0 8px 24px rgba(0,0,0,.32);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.mark:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(201,168,76,.12), 0 8px 28px rgba(0,0,0,.38) }
.brandname {
  font-family: Georgia, serif;
  font-size: .88rem;
  letter-spacing: .10em;
  color: var(--champagne);
}
.nav-links {
  display: flex; gap: 28px;
  font-family: Arial, sans-serif;
  font-size: .70rem; letter-spacing: .14em; text-transform: uppercase;
}
.nav-links a {
  position: relative; padding-bottom: 3px;
  color: var(--text2);
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px; background: var(--gold);
  transition: right .3s var(--ease2);
}
.nav-links a:hover { color: var(--gold) }
.nav-links a:hover::after, .nav-links a.active::after { right: 0 }
.nav-links a.active { color: var(--gold) }

/* Hambúrguer mobile */
.menu-btn {
  display: none;
  width: 44px; height: 40px;
  border: 1px solid var(--gold2); border-radius: 10px;
  background: rgba(6,5,4,.72); color: var(--gold); font-size: 20px;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.menu-btn:hover { border-color: var(--gold); background: rgba(201,168,76,.08) }

@media (max-width: 760px) {
  .nav-wrapper { position: fixed; width: 100%; top: 0 }
  nav { height: 64px }
  .brandname { display: none }
  .menu-btn { display: grid; place-items: center }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(8,7,6,.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    display: none;
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .75rem;
  }
  .nav-links a:last-child { border-bottom: 0 }
  body { padding-top: 64px }
}

/* ================================================================
   HERO — HOME
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

/* Camadas de fundo do hero */
.hero-layers {
  position: absolute; inset: 0; z-index: 0;
}
/* foto posta à direita como background via ::after do hero */
.hero-layers::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      #060504 0%,
      rgba(6,5,4,.98) 28%,
      rgba(6,5,4,.82) 46%,
      rgba(6,5,4,.32) 64%,
      rgba(6,5,4,.06) 80%
    ),
    url('/foto1.jpg?v=54') right center / auto 100% no-repeat;
  background-size: auto 100%, auto 100%;
}
/* textura âmbar/grafite sobre o texto */
.hero-layers::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 18% 52%,
    rgba(201,168,76,.09) 0%,
    rgba(100,80,30,.05) 45%,
    transparent 75%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  padding: 130px 0 100px;
  max-width: 620px;
}
.hero-eyebrow {
  font-family: Arial, sans-serif;
  font-size: .62rem; letter-spacing: .30em; text-transform: uppercase;
  color: var(--gold);
  opacity: .85;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(4.4rem, 8.5vw, 8rem);
  line-height: .84;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero h1 .first { display: block; color: var(--champagne) }
.hero h1 .last  { display: block; color: var(--gold) }

.hero-sub {
  font-family: Arial, sans-serif;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: #a8906a;
  margin-bottom: 22px;
}
.hero-desc {
  max-width: 480px;
  font-size: .97rem;
  color: var(--text2);
  line-height: 1.78;
  margin-bottom: 38px;
}

/* Hero mobile */
@media (max-width: 760px) {
  .hero { min-height: auto; display: block }
  .hero-layers { position: relative; height: 58vh; min-height: 380px; max-height: 580px }
  .hero-layers::before {
    background:
      linear-gradient(to bottom,
        rgba(6,5,4,.12) 0%,
        rgba(6,5,4,.28) 55%,
        rgba(6,5,4,.90) 80%,
        #060504 100%
      ),
      url('/foto1.jpg?v=54') center top / cover no-repeat;
  }
  .hero-layers::after { display: none }
  .hero-inner {
    padding: 28px 0 60px;
    max-width: 100%;
  }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.5rem) }
  .hero-desc { max-width: 100% }
}

/* ================================================================
   AVISO 18+
   ================================================================ */
.age-gate {
  position: fixed; inset: 0; z-index: 2147483647;
  display: grid; place-items: center; padding: 20px;
  background:
    linear-gradient(rgba(4,3,2,.97), rgba(4,3,2,.99)),
    url('/fundo-marmore.jpg?v=54') center / cover no-repeat;
  overflow: hidden;
  animation: ageIn .45s var(--ease2) both;
}
.age-gate.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .38s var(--ease), visibility 0s linear .38s;
}
@keyframes ageIn  { from { opacity: 0 } to { opacity: 1 } }
@keyframes ageOut { from { opacity: 1 } to { opacity: 0 } }

html.age-locked,
html.age-locked body {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

.age-card {
  width: min(500px, 100%);
  padding: 50px 36px 42px;
  background: rgba(9,8,7,.98);
  border: 1px solid var(--gold2);
  border-radius: 24px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(201,168,76,.05),
    0 32px 96px rgba(0,0,0,.80),
    0 0 60px rgba(201,168,76,.04);
  animation: cardIn .55s .1s var(--ease2) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97) } to { opacity: 1; transform: none } }

.age-logo {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold2);
  border-radius: 15px;
  font: 700 28px Georgia, serif;
  color: var(--gold);
  background: rgba(201,168,76,.05);
  letter-spacing: .02em;
}
.age-gate .eyebrow { margin-bottom: 14px }
.age-gate h2 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.1;
}
.age-gate p {
  max-width: 380px; margin: 0 auto;
  font-size: .91rem;
  color: #b0a898;
  line-height: 1.7;
}
.age-actions {
  display: flex; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-top: 30px;
}
@media (max-width: 520px) {
  .age-card { padding: 38px 22px 32px }
  .age-actions { flex-direction: column }
  .age-actions .btn { width: 100%; justify-content: center }
}

/* ================================================================
   BOTÕES
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(6,5,4,.75);
  cursor: pointer;
  transition:
    background .28s var(--ease),
    color .28s var(--ease),
    border-color .28s var(--ease),
    transform .28s var(--ease),
    box-shadow .28s var(--ease);
}
.btn:hover {
  background: var(--gold);
  color: #080603;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,.22);
}
.btn-ghost {
  border-color: rgba(201,168,76,.35);
  color: var(--text2);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(201,168,76,.10);
  color: var(--gold);
  border-color: var(--gold);
}
.btn-lg {
  padding: 17px 36px;
  font-size: .76rem;
}
.wa-icon { width: 18px; height: 18px; flex-shrink: 0 }

/* ================================================================
   SECÇÕES GENÉRICAS
   ================================================================ */
section {
  padding: 96px 0;
  position: relative;
}
section + section::before {
  content: "";
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* glass card base */
.glass {
  background: rgba(10,9,7,.80);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 72px rgba(0,0,0,.32);
}

/* ================================================================
   PREVIEW DE GALERIA (Home)
   ================================================================ */
.preview-section { padding: 88px 0 72px }
.preview-section .section-head { margin-bottom: 48px }
.section-head h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--champagne);
  margin-top: 8px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 320px 260px;
  gap: 16px;
}
.preview-card {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--panel);
  border: 1px solid var(--gold2);
  transition:
    transform .38s var(--ease2),
    border-color .38s var(--ease2),
    box-shadow .38s var(--ease2);
}
.preview-card:first-child {
  grid-row: 1 / 3;
  border-radius: 32px 14px 32px 14px;
}
.preview-card:nth-child(2) { border-radius: 14px 32px 14px 32px }
.preview-card:nth-child(3) { border-radius: 28px }
.preview-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease2), filter .4s var(--ease2);
}
.preview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,.65);
  box-shadow: 0 28px 70px rgba(0,0,0,.42), 0 0 36px rgba(201,168,76,.07);
}
.preview-card:hover img { transform: scale(1.04); filter: brightness(1.04) }

/* shimmer dourado sutil no hover */
.preview-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.preview-card:hover::after { opacity: 1 }

.preview-cta { margin-top: 36px; text-align: right }

@media (max-width: 760px) {
  .preview-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }
  .preview-card,
  .preview-card:first-child,
  .preview-card:nth-child(2),
  .preview-card:nth-child(3) {
    grid-row: auto;
    aspect-ratio: 4/5;
    border-radius: 20px;
  }
  .preview-cta { text-align: center }
}

/* ================================================================
   AVISO IMPORTANTE
   ================================================================ */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 38px 40px;
  border-radius: 28px;
}
.badge18 {
  width: 72px; height: 72px;
  border: 1px solid var(--gold2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font: 700 1rem Arial, sans-serif;
  letter-spacing: .04em;
  background: rgba(201,168,76,.05);
  flex-shrink: 0;
}
.notice h2 {
  font-size: 1.55rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.notice-lead {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.notice p { margin-bottom: 12px; font-size: .94rem }
.notice p:last-child { margin-bottom: 0 }

@media (max-width: 680px) {
  .notice { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; gap: 20px }
  .badge18 { margin: auto }
}

/* glow suave no card de aviso */
.notice.glass {
  position: relative; overflow: hidden;
}
.notice.glass::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.09), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* ================================================================
   CONTATO
   ================================================================ */
.contact-section { padding: 72px 0 96px }
.contact-inner {
  padding: 60px 48px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,168,76,.09) 0%, transparent 60%),
    rgba(10,9,7,.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 32px 80px rgba(0,0,0,.36);
}
.contact-inner .eyebrow { margin-bottom: 18px }
.contact-inner h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--champagne);
  margin-bottom: 14px;
}
.contact-inner > p {
  max-width: 460px; margin: 0 auto 36px;
  font-size: .95rem; color: var(--text2);
}
@media (max-width: 600px) {
  .contact-inner { padding: 40px 20px }
}

/* ================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ================================================================ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 180;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold2);
  background: rgba(8,7,6,.92);
  color: var(--gold);
  box-shadow: 0 14px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(201,168,76,.06);
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--gold);
  box-shadow: 0 20px 52px rgba(0,0,0,.60), 0 0 24px rgba(201,168,76,.14);
}

/* ================================================================
   RODAPÉ
   ================================================================ */
footer {
  position: relative;
  background:
    linear-gradient(rgba(4,3,2,.92), rgba(4,3,2,.97)),
    url('/fundo-marmore.jpg?v=54') center / cover no-repeat;
  padding: 52px 0 36px;
}
footer::before {
  content: "";
  position: absolute; top: 0; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line2), transparent);
}
.footer-inner { text-align: center }
.footer-monogram {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--gold2); border-radius: 12px;
  font: 700 22px Georgia, serif;
  color: var(--gold);
  margin-bottom: 20px;
  background: rgba(201,168,76,.04);
}
.footer-brand {
  font-family: Georgia, serif;
  color: var(--champagne);
  font-size: 1.05rem; letter-spacing: .14em;
  margin-bottom: 6px;
}
.footer-sub {
  font-family: Arial, sans-serif;
  font-size: .70rem; letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 24px;
}
.footer-sep {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 20px;
}
.footer-links {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  font-family: Arial, sans-serif;
  font-size: .68rem; letter-spacing: .10em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.footer-links a { transition: color .2s }
.footer-links a:hover { color: var(--gold) }
.footer-links span { color: var(--line2); font-size: .7rem }
.footer-legal {
  font-family: Arial, sans-serif;
  font-size: .68rem; color: #5e574e;
  line-height: 1.6;
}

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(3,3,2,.97);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open {
  display: flex;
  animation: fadeIn .22s ease both;
}
.lightbox img {
  max-width: 94vw; max-height: 90vh;
  object-fit: contain;
  border: 1px solid var(--gold2); border-radius: 14px;
  animation: zoomIn .26s var(--ease2) both;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes zoomIn { from { transform: scale(.97); opacity: .3 } to { transform: scale(1); opacity: 1 } }

.lb {
  position: fixed;
  background: rgba(8,7,6,.92);
  border: 1px solid var(--gold2);
  color: var(--gold); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .2s, background .2s;
  font-family: Arial, sans-serif;
}
.lb:hover { border-color: var(--gold); background: rgba(201,168,76,.10) }
.lb.close  { top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; font-size: 22px }
.lb.prev   { top: 50%; left: 10px;  transform: translateY(-50%); width: 44px; height: 58px; border-radius: 10px; font-size: 26px }
.lb.next   { top: 50%; right: 10px; transform: translateY(-50%); width: 44px; height: 58px; border-radius: 10px; font-size: 26px }
.lb-counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: Arial, sans-serif; font-size: .72rem; letter-spacing: .10em; color: var(--muted) }

/* ================================================================
   SOBRE — RETRATO + BLOCOS
   ================================================================ */
.about-page { padding: 72px 0 96px }
.about-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.portrait-wrap {
  position: sticky; top: 90px;
}
.portrait {
  border: 1px solid var(--gold2);
  border-radius: 32px 14px 32px 14px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.40), 0 0 0 1px rgba(201,168,76,.06);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.portrait:hover {
  border-color: rgba(201,168,76,.55);
  box-shadow: 0 36px 90px rgba(0,0,0,.48), 0 0 40px rgba(201,168,76,.07);
}
.portrait img { width: 100%; height: auto; display: block }

.about-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: .9;
  margin: 14px 0 24px;
  letter-spacing: -.02em;
}
.about-copy h1 span { color: var(--gold) }
.about-intro {
  font-size: 1.02rem; color: #c0b7ab; line-height: 1.8;
  max-width: 600px; margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.blocks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 4px;
}
.block {
  padding: 24px 22px; border-radius: 20px;
  background: rgba(11,10,8,.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.block:hover {
  border-color: rgba(201,168,76,.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 54px rgba(0,0,0,.32);
}
.block:nth-child(odd)  { border-radius: 22px 10px 22px 10px }
.block:nth-child(even) { border-radius: 10px 22px 10px 22px }
.block.wide { grid-column: 1/-1; border-radius: 20px }
.block h2 { font-size: 1.15rem; color: var(--gold); margin-bottom: 10px }
.block p  { font-size: .91rem; margin: 0; color: var(--text2) }

.about-btn { margin-top: 28px }

@media (max-width: 820px) {
  .about-layout { grid-template-columns: 1fr; gap: 36px }
  .portrait-wrap { position: static }
  .portrait { max-width: 480px; margin: auto }
  .blocks { grid-template-columns: 1fr }
  .block.wide, .block:nth-child(odd), .block:nth-child(even) { border-radius: 18px }
}

/* ================================================================
   GALERIA COMPLETA
   ================================================================ */
.gallery-page { padding: 60px 0 96px }
.gallery-title { text-align: center; margin-bottom: 52px }
.gallery-title h1 {
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  color: var(--gold);
  margin-top: 10px;
  letter-spacing: -.025em;
}
.gallery-title p { font-size: .92rem; color: var(--muted); margin-top: 14px }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 16px;
}
.photo {
  overflow: hidden;
  border: 1px solid var(--gold2);
  background: var(--panel);
  cursor: zoom-in;
  box-shadow: 0 20px 56px rgba(0,0,0,.34);
  transition: transform .38s var(--ease2), border-color .38s var(--ease2), box-shadow .38s var(--ease2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .52s var(--ease2), filter .4s var(--ease) }
.photo:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.65); box-shadow: 0 28px 70px rgba(0,0,0,.44), 0 0 32px rgba(201,168,76,.07) }
.photo:hover img { transform: scale(1.04); filter: brightness(1.04) }

.photo:nth-child(1) { grid-column: span 7; grid-row: span 5; border-radius: 32px 12px 32px 12px }
.photo:nth-child(2) { grid-column: span 5; grid-row: span 3; border-radius: 12px 32px 12px 32px }
.photo:nth-child(3) { grid-column: span 5; grid-row: span 2; border-radius: 24px }
.photo:nth-child(4) { grid-column: span 6; grid-row: span 3; border-radius: 28px 12px 28px 12px }
.photo:nth-child(5) { grid-column: span 6; grid-row: span 3; border-radius: 12px 28px 12px 28px }

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }
  .photo,
  .photo:nth-child(1),
  .photo:nth-child(2),
  .photo:nth-child(3),
  .photo:nth-child(4),
  .photo:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 3/4;
    border-radius: 20px;
  }
  .photo:nth-child(1) { grid-column: span 2 }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; gap: 12px }
  .photo:nth-child(1) { grid-column: auto }
}

/* ================================================================
   404
   ================================================================ */
.page-404-body {
  min-height: 100svh; display: grid; place-items: center; text-align: center
}
.box-404 { padding: 30px }
.box-404 h1 { color: var(--gold); font-size: 5rem; margin-bottom: 16px }
.box-404 p  { margin-bottom: 28px }

/* ================================================================
   REVEAL ON SCROLL
   ================================================================ */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s var(--ease2), transform .75s var(--ease2);
}
.reveal.in { opacity: 1; transform: none }
.reveal-d1 { transition-delay: .08s }
.reveal-d2 { transition-delay: .16s }
.reveal-d3 { transition-delay: .24s }

/* Hero animations */
.hero-eyebrow, .hero h1, .hero-sub, .hero-desc, .hero-cta {
  opacity: 0; transform: translateY(18px);
}
body.ready .hero-eyebrow { animation: heroIn .65s .04s var(--ease2) both }
body.ready .hero h1      { animation: heroIn .70s .12s var(--ease2) both }
body.ready .hero-sub     { animation: heroIn .60s .22s var(--ease2) both }
body.ready .hero-desc    { animation: heroIn .60s .30s var(--ease2) both }
body.ready .hero-cta     { animation: heroIn .55s .40s var(--ease2) both }
@keyframes heroIn { to { opacity: 1; transform: none } }

/* ================================================================
   ACESSIBILIDADE
   ================================================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ================================================================
   PREFERS-REDUCED-MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .hero-eyebrow, .hero h1, .hero-sub, .hero-desc, .hero-cta {
    opacity: 1 !important; transform: none !important;
  }
}

/* ================================================================
   MOBILE HOVER CLEANUP
   ================================================================ */
@media (hover: none) {
  .preview-card:hover,
  .photo:hover,
  .portrait:hover,
  .notice:hover,
  .block:hover { transform: none }
}

/* ================================================================
   UTILITÁRIOS
   ================================================================ */
.mt-36 { margin-top: 36px }
.text-center { text-align: center }


/* v54 — evita o flash da tela 18+ em usuários já confirmados */
html.age-accepted .age-gate {
  display: none !important;
}
html.age-required .age-gate {
  display: grid !important;
}
