/* ============================================================
   GABINETE DE EVENTOS · SISTEMA DE DESIGN v2
   ============================================================ */
:root {
  --noir: #08060a;
  --noir-2: #110d10;
  --noir-3: #1a1418;
  --champagne: #f5e6c8;
  --champagne-soft: #e8dcc0;
  --gold: #d4af6a;
  --gold-bright: #f0d18a;
  --gold-deep: #8b6b35;
  --gold-shadow: rgba(212, 175, 106, 0.15);
  --rose: #c98a7d;
  --burgundy: #5a1f2a;
  --burgundy-deep: #3a0f18;
  --cream: #f8efe0;
  --ink-soft: rgba(245, 230, 200, 0.65);
  --ink-faint: rgba(245, 230, 200, 0.35);
  --border-gold: rgba(212, 175, 106, 0.18);
  --border-gold-strong: rgba(212, 175, 106, 0.45);
  --font-display: 'Italiana', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  --font-script: 'Pinyon Script', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--champagne);
  background: var(--noir);
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Fundo dinâmico fixo que troca de imagem no scroll */
.bg-scroll {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
.bg-scroll .layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.32) saturate(0.85) contrast(1.05);
  animation: slowZoom 30s ease-in-out infinite alternate;
}
.bg-scroll .layer.active { opacity: 1; }
.bg-scroll::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(212,175,106,0.14), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(90,31,42,0.4), transparent 60%),
    linear-gradient(135deg, rgba(8,6,10,0.65), rgba(8,6,10,0.82));
  pointer-events: none;
}

body::after {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-serif); font-weight: 400;
  letter-spacing: -0.01em; color: var(--cream);
}
.display { font-family: var(--font-display); font-weight: 400; }
.script { font-family: var(--font-script); font-weight: 400; }
em { font-family: var(--font-serif); font-style: italic; color: var(--gold-bright); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAVBAR */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(8, 6, 10, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  transition: all 0.4s ease;
}
nav.scrolled { padding: 0.8rem 4rem; background: rgba(8, 6, 10, 0.92); }
.nav-logo { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo img { height: 50px; width: auto; transition: height 0.4s ease; }
nav.scrolled .nav-logo img { height: 40px; }
.nav-links { display: flex; gap: 2.3rem; align-items: center; }
.nav-links a {
  font-size: 0.74rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink-soft);
  transition: color 0.3s ease; position: relative; padding: 0.5rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 0.75rem 1.8rem; border: 1px solid var(--gold);
  color: var(--gold) !important; font-size: 0.72rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--noir) !important; }
.nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; }

.section-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--gold);
  display: inline-block; position: relative;
  padding-left: 3.5rem; margin-bottom: 1.2rem;
}
.section-eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 2.5rem; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05; color: var(--cream);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.7rem;
  padding: 1.1rem 2.6rem;
  font-size: 0.75rem; letter-spacing: 0.35em;
  text-transform: uppercase;
  font-family: var(--font-sans); font-weight: 400;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; border: 1px solid var(--gold);
  background: transparent; position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--gold); color: var(--noir); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 35px rgba(212, 175, 106, 0.3); }
.btn-ghost { color: var(--champagne); border-color: rgba(245, 230, 200, 0.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--noir); }
.btn-wpp { background: #25d366; color: #fff !important; border-color: #25d366; }
.btn-wpp:hover { background: #1da851; border-color: #1da851; transform: translateY(-2px); box-shadow: 0 14px 35px rgba(37, 211, 102, 0.35); color: #fff !important; }

/* WhatsApp flutuante */
.wpp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  color: #fff;
}
.wpp-float::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; background: rgba(37, 211, 102, 0.3);
  animation: pulse 2s ease infinite; z-index: -1;
}
.wpp-float:hover { transform: scale(1.1); }
.wpp-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

footer {
  background: rgba(17, 13, 16, 0.95);
  backdrop-filter: blur(20px);
  padding: 5rem 4rem 2rem;
  border-top: 1px solid var(--border-gold);
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1300px; margin: 0 auto 3rem;
}
.footer-brand img { height: 80px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--ink-soft); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 {
  font-size: 0.78rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.4rem; font-family: var(--font-sans); font-weight: 400;
}
.footer-col a, .footer-col p {
  display: block; color: var(--ink-soft);
  font-size: 0.88rem; margin-bottom: 0.7rem;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  max-width: 1300px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--border-gold);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.15em;
  flex-wrap: wrap; gap: 1rem;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes bounceDown { 0%, 100% { transform: translate(-50%, 0); opacity: 0.7; } 50% { transform: translate(-50%, 12px); opacity: 1; } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  nav { padding: 1rem 2rem; }
  nav.scrolled { padding: 0.7rem 2rem; }
  footer { padding: 4rem 2rem 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 320px; height: 100vh;
    background: var(--noir-2);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 4rem 2.5rem; gap: 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-gold);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.85rem; }
  .nav-toggle { display: block; z-index: 101; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .wpp-float { bottom: 1rem; right: 1rem; width: 54px; height: 54px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 3rem 1.5rem 1.5rem; }
}
