/* ══ TOKENS ══ */
:root {
  --olive:   #4A5E3A;
  --forest:  #1C2B1A;
  --offwhite:#F5F0E8;
  --gold:    #C8A97E;
  --sienna:  #A0522D;
  --charcoal:#2C2C2A;
  --cream:   #E8E0D0;
  --display: 'Bodoni Moda', Georgia, serif;
  --sans:    'Raleway', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* ══ CURSOR ══ */
.cursor {
  width: 8px; height: 8px;
  background: var(--olive);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--olive);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.35s ease, border-color 0.2s, width 0.2s, height 0.2s;
  opacity: 0.6;
}

/* ══ NAV ══ */
nav#mainNav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 60px;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
nav#mainNav.scrolled {
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(12px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(74,94,58,0.12);
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-logo-text {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--olive); }
.nav-cta {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--offwhite); background: var(--forest);
  padding: 11px 24px; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--olive); }
.nav-toggle { display: none; }

/* ══ MOBILE MENU ══ */
.mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--forest); z-index: 99;
  padding: 100px 40px 40px;
  transition: right 0.4s ease;
  display: flex; flex-direction: column;
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { margin-bottom: 28px; }
.mobile-menu ul li a {
  font-family: var(--display);
  font-size: 24px; font-weight: 400;
  color: var(--offwhite); text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--gold); }
.mobile-cta {
  color: var(--gold) !important;
  font-size: 14px !important;
  font-family: var(--sans) !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ══ SECTION HELPERS ══ */
.section-label {
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 16px;
}
.section-label::before { content: '—'; margin-right: 10px; color: var(--gold); }

/* ══ BUTTONS ══ */
.btn-primary {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--forest); background: var(--gold);
  padding: 15px 36px; text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--offwhite); }
.btn-secondary {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--forest); background: transparent;
  border: 1px solid rgba(28,43,26,0.3);
  padding: 15px 36px; text-decoration: none;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: var(--forest); color: var(--offwhite); border-color: var(--forest); }
.btn-ghost {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,232,0.7); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  transition: color 0.2s;
}
.btn-ghost::after { content:''; display:inline-block; width:28px; height:1px; background:currentColor; transition:width 0.2s; }
.btn-ghost:hover { color: var(--gold); }
.btn-ghost:hover::after { width: 44px; }
.btn-dark {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--offwhite); background: var(--forest);
  padding: 16px 40px; text-decoration: none;
  display: inline-block;
  transition: background 0.2s; border: none; cursor: pointer;
}
.btn-dark:hover { background: var(--charcoal); }

/* ══ SCROLL REVEAL ══ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══ MARQUEE ══ */
.marquee-track { background: var(--olive); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; gap: 60px; animation: marquee 30s linear infinite; }
.marquee-inner span { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(245,240,232,0.7); }
.marquee-inner .dot { color: var(--gold); font-size: 14px; letter-spacing: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══ FOOTER ══ */
footer {
  background: var(--charcoal);
  padding: 60px 60px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  border-top: 1px solid rgba(245,240,232,0.06);
}
.footer-brand p { font-family: var(--sans); font-weight: 300; font-size: 13px; color: rgba(245,240,232,0.35); line-height: 1.8; max-width: 300px; margin-top: 16px; }
.footer-logo { font-family: var(--display); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--offwhite); text-decoration: none; opacity: 0.8; }
.footer-logo img { height: 22px; width: auto; opacity: 0.7; }
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a { color: rgba(245,240,232,0.4); transition: color 0.2s; }
.footer-social a:hover { color: var(--gold); }
.footer-col h4 { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-family: var(--sans); font-weight: 300; font-size: 13px; color: rgba(245,240,232,0.4); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--offwhite); }
.footer-bottom { background: var(--charcoal); padding: 20px 60px; border-top: 1px solid rgba(245,240,232,0.06); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-family: var(--sans); font-size: 10px; color: rgba(245,240,232,0.2); letter-spacing: 0.06em; }
.footer-bottom a { font-family: var(--sans); font-size: 10px; color: rgba(245,240,232,0.2); text-decoration: none; letter-spacing: 0.06em; }

/* ══ PAGE HEADER (páginas interiores) ══ */
.page-hero {
  min-height: 340px;
  background: var(--forest);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 120px 60px 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: attr(data-letter);
  font-family: var(--display);
  font-size: 320px; font-weight: 700;
  color: rgba(255,255,255,0.04);
  position: absolute; top: -40px; left: -20px;
  line-height: 1; pointer-events: none; user-select: none;
}
.page-hero .section-label { color: var(--gold); }
.page-hero .section-label::before { color: rgba(200,169,126,0.5); }
.page-hero h1 { font-family: var(--display); font-size: clamp(36px,5vw,72px); font-weight: 400; color: var(--offwhite); line-height: 1.05; }
.page-hero h1 em { font-style: italic; color: var(--gold); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  nav#mainNav { padding: 20px 32px; }
  nav#mainNav.scrolled { padding: 14px 32px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
  }
  .nav-toggle span { display: block; width: 24px; height: 1px; background: var(--forest); transition: transform 0.3s, opacity 0.3s; }
  footer { grid-template-columns: 1fr 1fr; padding: 60px 32px 32px; gap: 40px; }
  .footer-bottom { padding: 20px 32px; flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { padding: 100px 32px 48px; }
}
@media (max-width: 640px) {
  footer { grid-template-columns: 1fr; }
}

/* ══ FIX NAV LOGO ══ */
nav#mainNav .nav-logo img {
  height: 36px;
  filter: brightness(10);
}
nav#mainNav.scrolled .nav-logo img {
  filter: none;
}
nav#mainNav .nav-logo-text {
  display: block !important;
  font-size: 14px;
  color: var(--offwhite);
}
nav#mainNav.scrolled .nav-logo-text {
  color: var(--forest);
}

/* ══ FIX NAV LINKS COR NO HERO ══ */
nav#mainNav .nav-links a {
  color: rgba(245,240,232,0.85);
}
nav#mainNav.scrolled .nav-links a {
  color: var(--charcoal);
}
nav#mainNav .nav-links a:hover {
  color: var(--gold);
}
nav#mainNav.scrolled .nav-links a:hover {
  color: var(--olive);
}

/* ══ FIX MARQUEE ESPAÇO ══ */
.marquee-track {
  display: block !important;
  overflow: hidden !important;
}

/* ══ FIX HERO IMAGEM ══ */
.hero-visual-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-d-mark { z-index: 1; }
.hero-stats { z-index: 2; }
