/* =============================================================================
   RAYFLECTIONS — Premium CSS Stylesheet
   Dark navy night-sky aesthetic · Gold accents · Ivory white text
   ============================================================================= */

/* =============================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================================================= */
:root {
  /* Backgrounds */
  --bg:       #0B1320;
  --bg2:      #0E1729;
  --bg3:      #121D30;
  --bg-card:  #0F1A2E;

  /* Brand colors */
  --gold:       #C9A96A;
  --gold-light: #E2C97E;
  --gold-dim:   rgba(201, 169, 106, 0.12);

  /* Text */
  --white:      #F5F2EB;
  --gray:       #8899AA;
  --gray-light: #B8C0CC;
  --sand:       #D8C6A3;

  /* Borders */
  --border:      rgba(255, 255, 255, 0.07);
  --border-gold: rgba(201, 169, 106, 0.2);

  /* Typography */
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold-dim);
  color: var(--gold-light);
}


/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.05em; }

p {
  color: var(--gray-light);
  max-width: 65ch;
}

p + p {
  margin-top: 1em;
}

strong {
  font-weight: 600;
  color: var(--white);
}

em {
  font-style: italic;
  color: var(--sand);
}

blockquote {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--gray-light);
}


/* =============================================================================
   4. UTILITIES
   ============================================================================= */

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container-wide {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* Text helpers */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Color helpers */
.gold  { color: var(--gold); }
.gray  { color: var(--gray); }
.white { color: var(--white); }
.sand  { color: var(--sand); }

/* Italic */
.italic { font-style: italic; }

/* Section tag — small uppercase gold label above title */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3em 0.8em;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

/* Tag pill — inline badge */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 0.25em 0.75em;
}

/* Gold divider */
.divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-inline: auto;
  margin-block: var(--space-md);
}

.divider--left {
  margin-inline: 0;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for siblings */
.reveal:nth-child(1)  { transition-delay: 0s; }
.reveal:nth-child(2)  { transition-delay: 0.1s; }
.reveal:nth-child(3)  { transition-delay: 0.2s; }
.reveal:nth-child(4)  { transition-delay: 0.3s; }
.reveal:nth-child(5)  { transition-delay: 0.4s; }
.reveal:nth-child(6)  { transition-delay: 0.5s; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =============================================================================
   5. NAVIGATION
   ============================================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(11, 19, 32, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: right;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

/* Gold highlight nav link (Checkpoint) */
.nav__link--gold {
  color: var(--gold) !important;
  opacity: 1 !important;
}
.nav__link--gold::after {
  background: var(--gold) !important;
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav actions wrapper */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Nav CTA */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 0.55em 1.4em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.nav__members {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.55em 1.1em 0.55em 0.9em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.nav__members:hover {
  background: rgba(201,169,106,0.08);
  border-color: var(--gold);
}

.nav__cta:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

/* Hamburger → X when open */
body.nav-open .nav__hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .nav__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.nav-open .nav__hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(14, 23, 41, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: var(--space-sm) 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

body.nav-open .nav__mobile {
  max-height: 400px;
}

.nav__mobile-link {
  display: block;
  padding: 0.85rem var(--space-md);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}

.nav__mobile-link:hover,
.nav__mobile-link.active {
  color: var(--gold);
  background: var(--gold-dim);
}

.nav__mobile-cta {
  margin: var(--space-sm) var(--space-md);
  text-align: center;
}


/* =============================================================================
   6. BUTTONS
   ============================================================================= */

/* Base shared styles */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.85em 2em;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary — gold fill */
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 106, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary — transparent, white border */
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Outline gold */
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn-outline-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* btn-- modifier aliases */
.btn--primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 106, 0.25);
}
.btn--secondary,
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn--secondary:hover,
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Size variants */
.btn--sm {
  font-size: 0.68rem;
  padding: 0.65em 1.5em;
}

.btn--lg {
  font-size: 0.85rem;
  padding: 1em 2.5em;
}


/* =============================================================================
   7. HERO — MAIN (full viewport)
   ============================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--space-md) 4rem;
  overflow: hidden;
}

/* Gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 169, 106, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(18, 29, 48, 0.9) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg3) 100%);
  z-index: 0;
}

/* Subtle noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__eyebrow {
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--gray-light);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Background parallax layer */
.hero__bg-layer {
  position: absolute;
  inset: -10%;
  z-index: 0;
  will-change: transform;
}

/* Decorative gold ring */
.hero__ring {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.hero__ring--2 {
  width: 900px;
  height: 900px;
  opacity: 0.15;
}


/* =============================================================================
   8. PAGE HERO (inner pages — 50vh)
   ============================================================================= */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem var(--space-md) var(--space-xl);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 169, 106, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg3) 100%);
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  margin-bottom: var(--space-sm);
}

.page-hero__sub {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 50ch;
}


/* =============================================================================
   9. SECTIONS
   ============================================================================= */
.section {
  padding: var(--space-2xl) 0;
}

.section--sm {
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--bg2);
}

.section--deeper {
  background: var(--bg3);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__tag {
  /* Uses .section-tag */
}

.section-header__title {
  margin-bottom: var(--space-sm);
}

.section-header__subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 52ch;
  margin-inline: auto;
}

/* Section with left-aligned header */
.section-header--left {
  text-align: left;
}

.section-header--left .section-header__subtitle {
  margin-inline: 0;
}


/* =============================================================================
   10. CARDS
   ============================================================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(201, 169, 106, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card--flat {
  border-color: var(--border);
}

.card--flat:hover {
  border-color: var(--border-gold);
}

/* Card icon placeholder */
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  color: var(--gold);
  flex-shrink: 0;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__tag {
  margin-bottom: var(--space-sm);
}

.card__title {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.card__body {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* Masterclass card */
.masterclass-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.masterclass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.masterclass-card:hover {
  border-color: rgba(201, 169, 106, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.masterclass-card:hover::before {
  opacity: 1;
}

.masterclass-card__number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border-gold);
  line-height: 1;
  margin-bottom: -0.25rem;
}

.masterclass-card__title {
  font-size: 1.5rem;
  line-height: 1.2;
}

.masterclass-card__desc {
  font-size: 0.88rem;
  color: var(--gray);
  flex: 1;
}

.masterclass-card__footer {
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.masterclass-card__price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold);
}

/* Masterclass grid */
.masterclass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}


/* =============================================================================
   11. PILLARS (4-column grid)
   ============================================================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.pillar {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.pillar:hover {
  border-color: var(--border-gold);
  background: var(--gold-dim);
}

.pillar__number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.pillar__title {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pillar__desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: none;
}


/* =============================================================================
   12. STEPS (déroulement / process)
   ============================================================================= */
.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical connecting line */
.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0.3;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  position: relative;
}

.step:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step__content {}

.step__title {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.step__desc {
  font-size: 0.88rem;
  color: var(--gray);
}

/* Horizontal steps variant */
.steps--horizontal {
  flex-direction: row;
  align-items: flex-start;
}

.steps--horizontal::before {
  top: 28px;
  left: 28px;
  right: 28px;
  bottom: auto;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.steps--horizontal .step {
  flex: 1;
  grid-template-columns: 1fr;
  text-align: center;
  border-bottom: none;
  padding: 0 var(--space-sm);
}

.steps--horizontal .step__number {
  margin-inline: auto;
  margin-bottom: var(--space-sm);
}


/* =============================================================================
   13. FAQ ACCORDION
   ============================================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.faq-item.open {
  background: var(--gold-dim);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1.35rem 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  transition: color var(--transition);
  user-select: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
  background: var(--gold-dim);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer__inner {
  padding-bottom: 1.35rem;
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.75;
}


/* =============================================================================
   14. FORMS
   ============================================================================= */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.8em 1em;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.1);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238899AA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 16px;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.2rem;
}

.form-error {
  font-size: 0.75rem;
  color: #e06b6b;
  margin-top: 0.2rem;
}


/* =============================================================================
   15. TESTIMONIALS
   ============================================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: border-color var(--transition);
}

.testimonial:hover {
  border-color: var(--border-gold);
}

.testimonial__quote {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  flex: 1;
}

.testimonial__quote::before {
  content: '"';
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.6rem;
  color: var(--gold);
  margin-right: 0.1em;
  opacity: 0.5;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border-gold);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}

.testimonial__role {
  font-size: 0.75rem;
  color: var(--gray);
  display: block;
}

/* Stars */
.testimonial__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}


/* =============================================================================
   16. CTA SECTION
   ============================================================================= */
.cta-section {
  position: relative;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201, 169, 106, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  z-index: 0;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.cta-section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: var(--space-sm);
}

.cta-section__sub {
  font-size: 1rem;
  color: var(--gray-light);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  max-width: 50ch;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cta-section__note {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: var(--space-sm);
}


/* =============================================================================
   17. FOOTER
   ============================================================================= */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* Footer brand column */
.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
}

.footer__logo-mark {
  width: 26px;
  height: 26px;
}

.footer__logo-text {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: var(--space-md);
  max-width: 28ch;
}

/* Social links */
.footer__social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: border-color var(--transition), color var(--transition);
}

.footer__social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* Footer nav columns */
.footer__col-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav-link {
  font-size: 0.85rem;
  color: var(--gray-light);
  transition: color var(--transition);
}

.footer__nav-link:hover {
  color: var(--gold);
}

/* Footer bottom bar */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--gray);
  max-width: none;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal-link {
  font-size: 0.75rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer__legal-link:hover {
  color: var(--white);
}


/* =============================================================================
   18. MISC COMPONENTS
   ============================================================================= */

/* Stat / number callout */
.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.35rem;
  display: block;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Icon feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.1rem;
}

.feature-item__text {
  font-size: 0.92rem;
  color: var(--gray-light);
}

/* Two-column text + image layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Offer / pricing card */
.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.offer-card--featured {
  border-color: var(--gold);
}

.offer-card--featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25em 1em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.offer-card__title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.offer-card__price {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.offer-card__price span {
  font-size: 1rem;
  color: var(--gray);
  font-family: var(--font-body);
}

.offer-card__features {
  text-align: left;
  margin-block: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.offer-card__feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--gray-light);
}

.offer-card__feature::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  flex-shrink: 0;
}

/* Alert / info box */
.alert {
  padding: 1rem var(--space-md);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  font-size: 0.88rem;
  color: var(--gray-light);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray);
  flex-wrap: wrap;
}

.breadcrumb__sep {
  opacity: 0.4;
}

.breadcrumb a {
  color: var(--gray);
  transition: color var(--transition);
}

.breadcrumb a:hover,
.breadcrumb__current {
  color: var(--gold);
}


/* =============================================================================
   19. RESPONSIVE — TABLET (max 1024px)
   ============================================================================= */
@media (max-width: 1024px) {
  .masterclass-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .split {
    gap: var(--space-lg);
  }
}


/* =============================================================================
   20. RESPONSIVE — TABLET/MOBILE (max 768px)
   ============================================================================= */
@media (max-width: 768px) {
  /* Navigation — hide links, show hamburger */
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
    position: fixed;
    top: 62px; /* nav height */
    left: 0;
    right: 0;
    z-index: 99;
  }

  /* Hero */
  .hero {
    padding: 7rem 1rem 3rem;
  }

  .hero__content {
    max-width: 100%;
    padding-inline: 0.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Section tag — reduce letter-spacing before it overflows */
  .section-tag {
    letter-spacing: 0.14em;
  }

  /* Typography */
  h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); }

  /* Sections */
  .section {
    padding: var(--space-xl) 0;
  }

  /* Grids → single column */
  .masterclass-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps--horizontal {
    flex-direction: column;
  }

  .steps--horizontal::before {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse {
    direction: ltr;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  /* CTA */
  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =============================================================================
   21. RESPONSIVE — MOBILE (max 480px)
   ============================================================================= */
@media (max-width: 480px) {
  :root {
    --space-2xl: 4rem;
    --space-xl:  2.5rem;
    --space-lg:  1.75rem;
    --space-md:  1.25rem;
  }

  /* Container — ensure no double padding cramping */
  .container,
  .container-wide {
    padding-inline: 1rem;
  }

  /* Pillars grid */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Hero min-height réduit sur très petit écran */
  .hero { min-height: 75vh; }
  .page-hero { min-height: 35vh; }

  /* Hero title fallback (overridden by inline !important where needed) */
  .hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: 0.07em;
  }

  /* Section tag — reduce tracking on mobile */
  .section-tag {
    letter-spacing: 0.12em;
    font-size: 0.6rem;
  }

  /* Page hero inner pages */
  .page-hero {
    min-height: 40vh;
    padding: 6rem 1rem 2.5rem;
  }

  .page-hero__title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    word-break: break-word;
  }

  /* Cards */
  .card,
  .masterclass-card,
  .testimonial,
  .offer-card {
    padding: var(--space-md);
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary,
  .btn-outline-gold {
    width: 100%;
    justify-content: center;
  }

  /* Split layout — reset inner padding */
  .split {
    gap: var(--space-md);
  }

  /* Section headers */
  .section-header {
    margin-bottom: var(--space-lg);
  }

  /* Nav logo text — reduce size on tiny screens */
  .nav__logo-text {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }
}


/* =============================================================================
   22. PRINT STYLES
   ============================================================================= */
@media print {
  .nav,
  .footer,
  .cta-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* ── Hero visual overlay ── */
.hero { position: relative; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,169,106,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(14,23,41,0.8) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* ── Section patterns ── */
.section-pattern {
  position: relative;
  overflow: hidden;
}
.section-pattern::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A96A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* ── Calendly embed ── */
.calendly-embed {
  min-height: 630px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── Social grid (contact page) ── */
.social-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gray-light);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  font-size: 0.85rem;
}
.social-card:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,106,0.05);
}
.social-card svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Brochure download ── */
.brochure-block {
  background: linear-gradient(135deg, rgba(201,169,106,0.08) 0%, rgba(14,23,41,0.6) 100%);
  border: 1px solid rgba(201,169,106,0.2);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.brochure-block h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.brochure-block p { color: var(--gray-light); font-size: 0.9rem; }

/* ── Video placeholder ── */
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #090e1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-placeholder__play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(201,169,106,0.15);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.video-placeholder:hover .video-placeholder__play {
  background: rgba(201,169,106,0.25);
}
.video-placeholder__play svg { color: var(--gold); margin-left: 4px; }
