/* ============================================
   VERDANT ÉCLAT — Global Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---- Variables ---- */
:root {
  --forest:      #1B3A2A;
  --forest-deep: #122a1e;
  --forest-mid:  #2a5040;
  --pearl:       #F5F5F5;
  --gold:        #D4AF37;
  --gold-light:  #e8c84a;
  --gold-dim:    rgba(212,175,55,0.25);
  --sage:        #C7D3C4;
  --slate:       #2E2E2E;
  --white:       #ffffff;
  --text-muted:  rgba(245,245,245,0.6);
  --text-dim:    rgba(46,46,46,0.6);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lora', serif;
  background: var(--forest-deep);
  color: var(--pearl);
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: none; }

/* ---- Custom Cursor ---- */
.cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; z-index: 9999;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, opacity .3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; z-index: 9998;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, opacity .3s;
  opacity: .5;
}
.cursor.grow { width: 22px; height: 22px; }
.cursor-ring.grow { width: 60px; height: 60px; opacity: .8; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 64px;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(18,42,30,.97);
  backdrop-filter: blur(14px);
  padding: 16px 64px;
  border-bottom-color: rgba(212,175,55,.18);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  letter-spacing: .06em;
  color: var(--pearl);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; gap: 40px;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(245,245,245,.7);
  position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--pearl); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--gold);
  padding: 12px 28px;
  transition: background .3s, transform .2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: none;
}
.nav-hamburger span {
  display: block; height: 1px;
  background: var(--pearl);
  transition: transform .3s, opacity .3s;
}
.nav-mobile {
  display: none;
  position: fixed; inset: 0;
  background: var(--forest-deep);
  z-index: 490;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-style: italic;
  color: var(--pearl);
  transition: color .3s;
}
.nav-mobile a:hover { color: var(--gold); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  min-height: 420px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding: 0 64px 70px;
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.35) saturate(.7);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,42,30,.9) 0%, rgba(18,42,30,.3) 60%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.page-hero-eyebrow::before {
  content: ''; width: 36px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.08;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }

/* ---- SECTION HELPERS ---- */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 28px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
.section-label.dark { color: var(--forest); }
.section-label.dark::before { background: var(--forest); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 700; line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.dark em { color: var(--forest-mid); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--gold);
  padding: 18px 42px;
  position: relative; overflow: hidden;
  transition: background .3s, transform .2s, box-shadow .3s;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,.15);
  transform: skewX(-20deg);
  transition: left .4s;
}
.btn-primary:hover::before { left: 150%; }
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px rgba(212,175,55,.32);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--pearl);
  transition: color .3s;
}
.btn-ghost svg { transition: transform .3s; }
.btn-ghost:hover { color: var(--gold); }
.btn-ghost:hover svg { transform: translateX(5px); }
.btn-ghost.dark { color: var(--slate); }
.btn-ghost.dark:hover { color: var(--forest); }

.btn-dark {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--pearl);
  background: var(--forest-deep);
  padding: 18px 42px;
  flex-shrink: 0;
  transition: background .3s, transform .2s;
}
.btn-dark:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

/* ---- GOLD DIVIDER ---- */
.gold-divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 28px 0;
}
.gold-divider.centered { margin: 28px auto; }

/* ---- ORNAMENT ---- */
.ornament {
  font-family: 'Playfair Display', serif;
  color: var(--gold); opacity: .5;
  letter-spacing: 12px; font-size: 1.1rem;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ---- FOOTER ---- */
footer {
  background: var(--forest-deep);
  border-top: 1px solid rgba(212,175,55,.2);
  padding: 70px 64px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; letter-spacing: .06em;
  color: var(--pearl); display: block; margin-bottom: 18px;
}
.footer-brand-name span { color: var(--gold); }
.footer-brand p {
  font-size: .88rem; line-height: 1.8;
  color: rgba(245,245,245,.4);
  font-style: italic; margin-bottom: 28px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .72rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  transition: background .3s, border-color .3s, color .3s;
}
.social-btn:hover {
  background: var(--gold); color: var(--forest-deep);
  border-color: var(--gold);
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: 'Lora', serif; font-size: .88rem;
  color: rgba(245,245,245,.4);
  transition: color .3s;
}
.footer-links a:hover { color: var(--pearl); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p {
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem; letter-spacing: .1em;
  color: rgba(245,245,245,.25);
}
.footer-bottom span { color: var(--gold); }
.footer-bottom a {
  color: rgba(245,245,245,.25);
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem; letter-spacing: .1em;
  transition: color .3s;
}
.footer-bottom a:hover { color: var(--pearl); }

/* ---- CARDS ---- */
.card-forest {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,175,55,.15);
  padding: 42px 36px;
  transition: border-color .3s, background .3s;
}
.card-forest:hover {
  border-color: rgba(212,175,55,.4);
  background: rgba(255,255,255,.07);
}

/* ---- LEGAL PAGES ---- */
.legal-content {
  max-width: 820px; margin: 0 auto;
  padding: 100px 64px;
}
.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--pearl);
  margin: 48px 0 16px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  font-size: .97rem; line-height: 1.85;
  color: rgba(245,245,245,.65); margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc; margin-left: 24px;
  margin-bottom: 16px;
}
.legal-content ul li {
  font-size: .97rem; line-height: 1.85;
  color: rgba(245,245,245,.65); margin-bottom: 8px;
}
.legal-content a { color: var(--gold); }
.legal-content a:hover { text-decoration: underline; }
.legal-date {
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; letter-spacing: .15em;
  color: rgba(245,245,245,.35); text-transform: uppercase;
  margin-bottom: 40px; display: block;
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed; bottom: 40px; right: 40px;
  width: 48px; height: 48px;
  background: var(--gold); color: var(--forest-deep);
  display: flex; align-items: center; justify-content: center;
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  transform: translateY(10px);
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  nav { padding: 22px 40px; }
  nav.scrolled { padding: 14px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 0 24px 50px; min-height: 340px; }
  .legal-content { padding: 60px 24px; }
  footer { padding: 50px 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
