*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --violet: #2D1B69;
  --violet-light: #4A2FA0;
  --violet-pale: #EDE8FF;
  --rose: #F2C4CE;
  --rose-deep: #D4768A;
  --gold: #E8C547;
  --cream: #FAFAF8;
  --text: #3A3A3A;
  --text-muted: #7A7A7A;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
nav.scrolled, nav.solid {
  background: rgba(250,250,248,0.97);
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
nav.scrolled .nav-logo, nav.solid .nav-logo { color: var(--violet); }

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
nav.scrolled .nav-links a, nav.solid .nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
nav.scrolled .nav-links a:hover, nav.solid .nav-links a:hover { color: var(--violet); background: var(--violet-pale); }
.nav-links a.active { color: var(--violet) !important; background: var(--violet-pale) !important; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--violet) !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,197,71,0.4) !important; background: var(--gold) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
nav.scrolled .burger span, nav.solid .burger span { background: var(--violet); }

/* ---- PAGE HEADER (sous-pages) ---- */
.page-header {
  background: var(--violet);
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,196,206,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 20px;
}
.page-header h1 em { color: var(--rose); font-style: italic; }
.page-header-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.8;
}

/* ---- SECTIONS ---- */
section { padding: 88px 48px; }
.container { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--violet);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--gold);
  color: var(--violet);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,197,71,0.35); }

.btn-secondary {
  color: var(--violet);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1.5px solid var(--violet);
  display: inline-block;
  transition: background 0.15s, color 0.15s;
}
.btn-secondary:hover { background: var(--violet); color: var(--white); }

.btn-ghost {
  color: rgba(255,255,255,0.8);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-block;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(45,27,105,0.1); }

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- FOOTER ---- */
footer {
  background: #1A0F3D;
  padding: 56px 48px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 240px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  nav.scrolled, nav.solid { padding: 12px 24px; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--violet); flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; color: rgba(255,255,255,0.8) !important; padding: 12px 24px; }
  .nav-links a:hover { color: var(--white) !important; background: rgba(255,255,255,0.08) !important; }
  .burger { display: flex; z-index: 10; }
  .page-header { padding: 110px 24px 60px; }
  section { padding: 60px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
