/*
Theme Name: Académie de Golf
Theme URI: https://golfimages.fr/
Author: Antigravity
Description: Thème sur-mesure pour l'Académie de Golf, refonte 2026.
Version: 1.0
Text Domain: academie
*/

/* =============================================================
   GOLF IMAGES — French Riviera VIP Edition (Refonte 2026)
   Direction : LUXE RIVIERA LUMINEUX
   - Typographie éditoriale combinant Cormorant Garamond & Inter
   - Tons lumineux (Sable, Or poli, Bleu marine Riviera)
   - Cartes et bordures ultra-fines d'inspiration Club Privé
   - Transitions fluides, micro-animations premium
   ============================================================= */

:root {
  --ink: #0E1F38;          /* Bleu marine Riviera profond - texte, footer */
  --gold: #C5A880;         /* Or poli ensoleillé - accent principal */
  --gold-dark: #725526;    /* Or profond - texte doré très lisible sur fond beige (contraste 6,4:1, proche AAA) + survols */
  --gold-light: #FAF6EE;   /* Champagne très léger - arrière-plans doux */
  --bg-luminous: #FAF8F5;  /* Sable ensoleillé - fond de page principal */
  --bg-white: #FFFFFF;     /* Blanc pur - cartes, conteneurs */
  --border: rgba(197, 168, 128, 0.22); /* Bordure or fine */
  --muted: #5A6980;        /* Bleu-gris doux pour textes secondaires */
  
  --display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --max: 1200px;
  --gutter: clamp(24px, 6vw, 80px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 20px 40px rgba(14, 31, 56, 0.03), 0 1px 3px rgba(14, 31, 56, 0.01);
  --shadow-hover: 0 30px 60px rgba(14, 31, 56, 0.06), 0 3px 10px rgba(14, 31, 56, 0.02);
}

/* Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--display); font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--bg-luminous);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-nav {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}
.wrap-full {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
a { color: inherit; text-decoration: none; transition: all .3s var(--ease); }
button, input, select, textarea { font: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--serif); font-weight: 500;
  line-height: 1.15; color: var(--ink);
}
h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); letter-spacing: -0.02em; font-weight: 400; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.01em; font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2.2rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }
p { color: var(--ink); opacity: 0.9; }
.italic { font-style: italic; font-family: var(--serif); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  font-family: var(--display); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
  border-radius: 6px;
  text-transform: uppercase;
}
.btn .arrow { font-size: 1.1em; transition: transform .3s var(--ease); display: inline-block; line-height: 1; }
.btn:hover .arrow { transform: translateX(6px); }

/* Adapting lime, primary, ghost classes to premium colors */
.btn.primary { background: var(--ink); color: white; border-color: var(--ink); }
.btn.primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }

.btn.lime { background: var(--gold); color: white; border-color: var(--gold); }
.btn.lime:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }

.btn.ghost { border-color: var(--gold); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--gold); color: white; transform: translateY(-2px); }

.btn.ghost-light { border-color: rgba(255, 255, 255, 0.7); color: white; background: transparent; }
.btn.ghost-light:hover { border-color: white; background: white; color: var(--ink); transform: translateY(-2px); }

.btn.link {
  padding: 0; background: transparent; color: var(--gold-dark);
  border-bottom: 1.5px solid var(--gold); border-radius: 0;
  text-transform: uppercase; letter-spacing: .12em; font-size: 0.8rem;
  font-weight: 700;
}
.btn.link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Info Banner */
.info-banner {
  background: var(--ink); color: var(--gold-light);
  font-size: .78rem; letter-spacing: .08em;
  text-align: center; padding: 10px var(--gutter);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}
.info-banner a { color: var(--gold); border-bottom: 1px solid var(--gold); font-weight: 500; }
.info-banner a:hover { color: white; border-bottom-color: white; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; padding: 22px 0;
  gap: 40px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .brand { font-size: 1.1rem; gap: 8px; }
  .brand .mark { width: 32px; height: 32px; font-size: 1rem; }
}
.brand em { font-style: italic; color: var(--gold-dark); font-family: var(--serif); }
/* Marque « ACADÉMIE DE GOLF » encadrée comme le bouton RÉSERVER (fond marine + arrondi identiques) */
.site-header .brand span { background: var(--ink); color: #fff; padding: 10px 22px; border-radius: 6px; line-height: 1.1; font-family: var(--display); font-size: 0.94em; font-weight: 800; }
.site-header .brand span em { color: var(--gold); }
.brand .mark {
  width: 40px; height: 40px;
  background: var(--gold-light); color: var(--gold-dark);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; border-radius: 50%;
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.1);
}
.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}
@media (max-width: 480px) {
  .brand-logo {
    width: 64px;
    height: 64px;
  }
}


.menu {
  display: flex; gap: 36px; align-items: center;
  list-style: none; font-size: .85rem; font-weight: 600;
  justify-content: center; text-transform: uppercase;
  letter-spacing: 0.1em;
}
.menu > li > a { color: var(--ink); opacity: 0.8; position: relative; padding: 6px 0; white-space: nowrap; }
.menu > li > a:hover { color: var(--gold-dark); opacity: 1; }
.menu > li > a.active { color: var(--gold-dark); opacity: 1; font-weight: 700; }
.menu > li > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--gold-dark);
}
.nav-cta { justify-self: end; padding: 12px 24px; font-size: 0.8rem; }

.menu-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: 8px; justify-self: end;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

@media (max-width: 1300px) and (min-width: 921px) {
  .nav { gap: 16px; }
  .menu { gap: 20px; font-size: 0.78rem; }
  .brand { font-size: 1.15rem; gap: 8px; }
  .brand-logo { width: 50px; height: 50px; }
}

@media (max-width: 920px) {
  .nav { grid-template-columns: auto auto; padding: 16px 0; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-luminous); flex-direction: column; padding: 32px var(--gutter);
    border-bottom: 1px solid var(--border); gap: 20px; align-items: stretch; }
  .menu.open { display: flex; }
  .menu a { font-size: 1.1rem; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .menu a.active::after { display: none; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 75vh; min-height: 75svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--ink);
  color: white;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: transparent; /* No opacity veil over video */
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 100px var(--gutter) 50px;
  display: grid; grid-template-columns: 1.20fr 0.80fr;
  align-items: center; gap: 60px;
}
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 75px var(--gutter) 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
  }
  /* Mobile : Retour à la police d'origine (Cormorant Garamond), tout blanc, une seule ligne */
  .hero h1 {
    font-family: var(--serif) !important;
    font-weight: 400 !important;
    font-size: clamp(2rem, 7.5vw, 3.2rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 2.5rem black, 0 0 1rem rgba(0,0,0,0.8) !important;
    text-align: left !important;
    margin: 0 0 10px 0 !important;
    position: static !important;
  }
  /* GOLF en blanc et en italique d'origine */
  .hero h1 em {
    color: #ffffff !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-family: var(--serif) !important;
  }
  .hero-right {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
  }
  .hero-eyebrow {
    font-size: 1.25rem !important; /* Agrandissement pour les seniors */
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    color: var(--gold) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .hero-eyebrow::before {
    display: none !important; /* Enlever la ligne de côté sur mobile pour centrer l'attention */
  }
  .hero-sub {
    margin-bottom: 20px !important;
  }
}

.hero h1 {
  color: white;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  /* Multi-layered sharp dark shadow for perfect legibility over bright video */
  text-shadow: 
    0 2px 4px rgba(14, 31, 56, 0.8), 
    0 4px 15px rgba(14, 31, 56, 0.7), 
    0 10px 40px rgba(14, 31, 56, 0.6);
}
.hero h1 em { font-style: italic; font-weight: 400; font-family: var(--serif); color: var(--gold); }
.hero-sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.6;
  color: rgba(255,255,255,0.95); max-width: 42ch; margin-bottom: 32px;
  font-weight: 600;
  text-shadow: 
    0 2px 4px rgba(14, 31, 56, 0.8), 
    0 4px 12px rgba(14, 31, 56, 0.7), 
    0 8px 24px rgba(14, 31, 56, 0.5);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--display); font-size: .74rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  text-shadow: 
    0 2px 4px rgba(14, 31, 56, 0.8), 
    0 4px 12px rgba(14, 31, 56, 0.6);
}
.hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.hero-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px; margin-top: 24px;
}
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta strong {
  color: var(--gold);
  font-family: var(--serif); font-size: 2.2rem;
  font-weight: 400; line-height: 1; margin-bottom: 6px;
  text-shadow: 
    0 2px 4px rgba(14, 31, 56, 0.8), 
    0 4px 12px rgba(14, 31, 56, 0.6);
}
.hero-meta small { 
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; 
  color: rgba(255, 255, 255, 0.85); font-weight: 600; 
  text-shadow: 0 2px 4px rgba(14, 31, 56, 0.8);
}

/* Sections */
section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 800px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--display); font-weight: 700; font-size: .76rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 20px;
}
/* Repère visuel doré en tête de section (eyebrow) et de bloc (label) — ancrage discret et cohérent. */
.section-head .eyebrow::before,
.split-text .label::before,
.hero-page .label::before {
  content: "\25CF"; color: var(--gold); margin-right: 9px;
  font-size: .5rem; vertical-align: middle; position: relative; top: -1px;
}
/* Repère gris devant les 2e/4e/6e paragraphes du rédactionnel (rythme de lecture) — même taille que le ● doré. */
.split-text p:nth-of-type(even)::before,
.prose p:nth-of-type(even)::before {
  content: "\25CF"; color: var(--muted); margin-right: 8px;
  font-size: .5rem; vertical-align: middle; position: relative; top: -2px;
}
/* Sur ordinateur, les ● (doré + gris) un peu plus grands — parfaits en mobile, plus visibles en desktop. */
@media (min-width: 768px) {
  .section-head .eyebrow::before,
  .split-text .label::before,
  .split-text p:nth-of-type(even)::before,
  .prose p:nth-of-type(even)::before {
    font-size: .72rem;
  }
}
/* Label hero « Débutant » : plus prominent (repère de page) + son ● doré plus grand. */
.hero-page .label {
  display: inline-block; font-weight: 700; font-size: 1.15rem;
  color: var(--gold-dark); letter-spacing: .02em; margin-bottom: 12px;
}
.hero-page .label::before { font-size: .62em; margin-right: 10px; top: 0; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  text-transform: none;
}
.section-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-dark); }
.section-head .lead {
  color: var(--muted); margin-top: 24px;
  font-size: 1.15rem; line-height: 1.7; max-width: 58ch;
}

.bg-cream { background: var(--gold-light); }
.bg-paper { background: var(--bg-white); }
.bg-ink { background: var(--ink); color: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: white; }
.bg-ink p { color: rgba(255,255,255,0.8); }
.bg-ink .eyebrow { color: var(--gold); }
.bg-forest { background: var(--ink); color: white; }
.bg-forest h1, .bg-forest h2, .bg-forest h3 { color: white; }
.bg-forest p { color: rgba(255,255,255,0.85); }
.bg-forest .eyebrow { color: var(--gold); }

/* Stages Grid */
.stages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 880px) { .stages-grid { grid-template-columns: 1fr; gap: 40px; } }

.stage-card {
  background: var(--bg-white);
  display: flex; flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.4s var(--ease);
  position: relative;
}
.stage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(197, 168, 128, 0.4); }
.stage-card-img {
  aspect-ratio: 4/5;
  overflow: hidden; position: relative;
  border-bottom: 1px solid var(--border);
}
.stage-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.stage-card:hover .stage-card-img img { transform: scale(1.06); }
.stage-card-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--bg-white); color: var(--ink);
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-family: var(--display); font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(14, 31, 56, 0.05);
}
.stage-card-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.stage-card-num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--gold-dark);
  display: block; line-height: 1;
}
.stage-card-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
}
.stage-card-body h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-dark); }
.stage-card-body p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.stage-card-desc {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}
@media (max-width: 768px) {
  .stage-card-desc { min-height: auto; }
}
.card-features-box {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.card-features-box.gold {
  background: #fbf7f0;
  border-color: rgba(197, 168, 128, 0.4);
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink);
}
.feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 6px;
  flex-shrink: 0;
}
.card-features-box.gold .feature-dot {
  background: var(--gold-dark);
}
.card-features-box.gold .feature-item {
  color: #604a28;
}
.stage-card-footer {
  display: flex; flex-direction: column; align-items: stretch; gap: 16px;
  padding-top: 24px; margin-top: auto;
  border-top: 1px solid var(--border);
}
.stage-card-footer .price-row {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.stage-card-footer .card-book-btn { width: 100%; justify-content: center; }
.stage-card-footer .price {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.5rem; color: var(--ink);
}
.stage-card-footer .price small { font-family: var(--display); font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.stage-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  color: var(--gold-dark); letter-spacing: .1em; text-transform: uppercase;
  transition: color 0.3s;
}
.stage-card-cta:hover { color: var(--ink); }
.stage-card-cta .arrow { font-size: 1.2em; transition: transform .25s; }
.stage-card-cta:hover .arrow { transform: translateX(6px); }

/* Split Section */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px); align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-img { aspect-ratio: 5/6; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin-bottom: 28px; line-height: 1.2; }
.split-text h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-dark); }
.split-text p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; line-height: 1.75; }
.split-text .quote-mark {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: var(--gold-dark); display: block; margin-bottom: 8px; line-height: 1;
}

/* Parcours Section */
.parcours {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .parcours { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 580px) { .parcours { grid-template-columns: 1fr; } }

.parcours-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease);
}
.parcours-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(197, 168, 128, 0.4); }
.parcours-card-img { aspect-ratio: 4/3; overflow: hidden; border-bottom: 1px solid var(--border); }
.parcours-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.parcours-card:hover img { transform: scale(1.06); }
.parcours-card-body { padding: 24px; }
.parcours-card h4 {
  font-family: var(--display); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 8px;
}
.parcours-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.parcours-card p { font-size: .88rem; color: var(--muted); }

/* Feature Section */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 40px; } }
.feature-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature .label {
  display: inline-block;
  font-family: var(--display); font-size: .74rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 20px;
}
.feature h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500; line-height: 1.2;
  margin-bottom: 24px;
}
.feature h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-dark); }
.feature p { color: var(--muted); margin-bottom: 18px; }

/* Contact Section */
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 8vw, 100px); align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 50px; } }
.contact-info h2 { margin-bottom: 28px; font-weight: 400; }
.contact-info h2 em { font-family: var(--serif); font-style: italic; color: var(--gold); }
.contact-info p { color: rgba(255, 255, 255, 0.8); margin-bottom: 36px; max-width: 44ch; }
.contact-lines { display: grid; gap: 24px; }
.contact-line { display: flex; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: var(--gold);
  border: 1px solid rgba(197, 168, 128, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-line .num {
  font-family: var(--display); font-weight: 700; font-size: .68rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 4px;
}
.contact-line strong {
  font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: white;
}

.contact-form {
  background: var(--bg-white);
  padding: clamp(32px, 6vw, 56px);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px;
}
.contact-form .field { display: grid; gap: 8px; align-content: start; }
.contact-form .field.full, .contact-form .submit-row, .contact-form .alert { grid-column: 1 / -1; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }
.contact-form label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink);
}
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 16px;
  background: var(--gold-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--display); font-size: 0.95rem;
  color: var(--ink); transition: all 0.3s;
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 0; border-color: var(--gold-dark); background: var(--bg-white); box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .submit-row { margin-top: 12px; }
.contact-form .submit-row .btn { width: 100%; justify-content: center; padding: 18px; }

/* Prose & Interior layout */
.prose {
  font-size: 1.12rem;
  line-height: 1.85;
  max-width: 800px;
  margin: 0 auto;
  color: var(--ink);
  opacity: 0.95;
}
.prose h2 {
  margin-top: 80px;
  margin-bottom: 28px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-family: var(--serif); font-style: italic; color: var(--gold-dark); }
.prose h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold-dark);
  margin-top: 12px;
}
.prose h3 {
  margin-top: 50px;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--gold-dark);
}
.prose h4 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
}
.prose p { margin-bottom: 24px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin-bottom: 32px; }
.prose ul li, .prose ol li {
  margin-bottom: 14px;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
}
.prose ul li::before, .prose ol li::before {
  content: "\203A"; position: absolute; left: 0; top: 0;
  color: var(--gold-dark); font-weight: 700; font-size: 1.05em; line-height: 1.7;
}
.prose a { color: var(--gold-dark); font-weight: 600; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.prose a:hover { color: var(--ink); border-bottom-color: var(--ink); }
/* Liens visibles aussi dans les blocs texte (.split-text) et l'accroche hero — sinon invisibles (a global = inherit/no-underline) */
.split-text a, .hero-page .lead a { color: var(--gold-dark); font-weight: 600; border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; }
.split-text a:hover, .hero-page .lead a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { font-family: var(--serif); font-style: italic; color: var(--gold-dark); }
.prose figure { margin: 48px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.prose figure img { width: 100%; height: auto; }

/* Hero Page (Interiors) */
.hero-page {
  background: var(--gold-light);
  padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 70px);
  border-bottom: 1px solid var(--border);
}
.hero-page .wrap {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 920px) { .hero-page .wrap { grid-template-columns: 1fr; gap: 40px; } }
.hero-page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 24px;
  font-weight: 400; line-height: 1.15;
}
.hero-page h1 em { font-family: var(--serif); font-style: italic; color: var(--gold-dark); }
.hero-page .lead {
  font-size: 1.12rem; color: var(--muted); max-width: 58ch; line-height: 1.75;
}
.hero-page figure { aspect-ratio: 4/5; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-page figure img { width: 100%; height: 100%; object-fit: cover; }
/* Hero inversé : l'IMAGE s'affiche en premier (teaser visuel immédiat), le texte ensuite.
   Le <h1> reste 1er dans le code (DOM) → performance du titre + SEO préservés : seul l'AFFICHAGE est inversé (CSS order). */
.hero-reverse figure { order: -1; }
@media (min-width: 921px) { .hero-reverse .wrap { grid-template-columns: 1fr 1.3fr; } }

/* Mobile : l'image de chaque bloc reste TOUJOURS en haut (jamais au milieu ni en bas).
   Sur PC, l'image garde son alignement vertical centré (align-items: center inchangé). */
@media (max-width: 920px) {
  .hero-page .wrap, .split, .feature { align-items: start; }
  .hero-page figure, .split .split-img, .feature .feature-img { order: -1; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--display); font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep { color: var(--gold); opacity: 0.5; }
.breadcrumb .current { color: var(--gold-dark); }

/* Footer */
.site-footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.7);
  padding: 100px 0 40px;
  border-top: 1px solid rgba(197, 168, 128, 0.15);
}
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; }
@media (max-width: 920px) { .site-footer .top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 580px) { .site-footer .top { grid-template-columns: 1fr; } }

.footer-col .brand { color: white; margin-bottom: 24px; }
.footer-col .brand em { color: var(--gold); }
.footer-col .brand .mark { background: rgba(255,255,255,0.06); border-color: rgba(197,168,128,0.2); color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.55); font-size: .88rem; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--display); font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.footer-col a {
  display: block; padding: 8px 0;
  color: rgba(255,255,255,0.65); font-size: .9rem;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 80px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; gap: 20px;
  font-size: .78rem; color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}

/* Image Placeholders with new palette */
.img-placeholder { display: block; width: 100%; height: 100%; }
.img-placeholder svg { width: 100%; height: 100%; display: block; }

/* Utilities */
.center { text-align: center; }
.muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--border); margin: 60px 0; }
.prose h2, .prose h3 { scroll-margin-top: 110px; }

/* Elegant custom select dropdown marker */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
}

/* Modern responsive layout for converted legacy tables */
/* Modern responsive layout for converted legacy tables */
.table-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  width: 100%;
}
.table-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.table-cell {
  flex: 1;
  min-width: 0;
}
.table-cell img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.table-cell:first-child:has(img[width]) {
  flex: 0 0 auto;
}
@media (max-width: 768px) {
  .table-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* Bullet list and tiny placeholder layout fixes */
.table-cell:first-child:has(.img-placeholder) {
  flex: 0 0 auto;
  width: 28px;
  margin-top: 4px;
}
.table-cell:first-child:has(img[src*="puce"]),
.table-cell:first-child:has(img[src*="marker"]),
.table-cell:first-child:has(img[src*="spacer"]) {
  flex: 0 0 auto;
  width: 28px;
  margin-top: 4px;
}

.table-cell:first-child .img-placeholder {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.table-cell:first-child .img-placeholder svg {
  display: none !important;
}
.table-cell:first-child .img-placeholder::before {
  content: "•";
  color: var(--gold-dark);
  font-size: 2.2rem;
  line-height: 1;
  display: inline-block;
}

/* Inline image placeholders inside paragraphs */
.prose p > .img-placeholder {
  display: block;
  max-width: 480px;
  margin: 24px auto;
}

/* Premium Blockquotes & Callouts */
.prose blockquote, .prose .callout {
  border-left: 3px solid var(--gold-dark);
  background: var(--gold-light);
  padding: 24px 32px;
  margin: 40px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow);
}

/* Lucide Icon Style Alignment */
.brand .mark i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-line .ico i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Card styling for top-level tables and rows in interior pages */
.prose > .table-layout {
  gap: 20px;
}
.prose > .table-row,
.prose > .table-layout > .table-row {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.prose > .table-row:hover,
.prose > .table-layout > .table-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

/* Ensure thumbnail images in these top-level cards have fixed size and are not stretched */
.prose > .table-row .table-cell:first-child img,
.prose > .table-layout > .table-row .table-cell:first-child img {
  width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Styling links and typography inside cards */
.prose > .table-row .table-cell:last-child a,
.prose > .table-layout > .table-row .table-cell:last-child a {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 0;
  padding-bottom: 0;
}
.prose > .table-row .table-cell:last-child a:hover,
.prose > .table-layout > .table-row .table-cell:last-child a:hover {
  color: var(--gold-dark);
}
.prose > .table-row .table-cell:last-child b,
.prose > .table-layout > .table-row .table-cell:last-child b {
  display: block;
  margin-bottom: 4px;
}

/* For nested table rows, keep them simple and clean (no double card background) */
.prose .table-cell .table-row {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 8px;
  transform: none !important;
}
.prose .table-cell .table-row img {
  border-radius: 4px;
  border: 0;
  box-shadow: none;
}

/* ═══════════════════════════════════════════════
   MEGAMENU — Stages Dropdown
   ═══════════════════════════════════════════════ */
.has-megamenu { position: relative; }
.megamenu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: 0 30px 60px rgba(14,31,56,0.12);
  padding: 32px; width: 680px; max-width: 90vw; box-sizing: border-box;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.has-megamenu:hover .megamenu,
.has-megamenu:focus-within .megamenu {
  visibility: visible; opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.megamenu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.megamenu-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px; border-radius: 12px; border: 1px solid var(--border);
  text-decoration: none; color: var(--ink);
  text-transform: none;
  white-space: normal;
  transition: all 0.25s var(--ease);
}
.megamenu-img-wrap {
  width: 100%; height: 100px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.03);
}
.megamenu-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.megamenu-item:hover .megamenu-img-wrap img {
  transform: scale(1.05);
}
.megamenu-item:hover {
  border-color: var(--gold); background: var(--gold-light);
  transform: translateY(-2px); box-shadow: var(--shadow-hover);
}
.megamenu-tag {
  font-family: var(--display); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold-dark); background: var(--gold-light);
  padding: 4px 10px; border-radius: 4px; width: fit-content;
}
.megamenu-title {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--ink);
}
.megamenu-desc {
  font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin: 0;
}
.megamenu-price {
  font-size: 0.78rem; font-weight: 600; color: var(--gold-dark); margin-top: auto;
}
@media (max-width: 920px) {
  .megamenu { display: none !important; }
  .has-megamenu > a::after { display: none; }
}

/* ═══════════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════════ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; align-items: stretch;
}
.pricing-single { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 32px; } }
.pricing-card {
  display: flex; flex-direction: column;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.pricing-card .pricing-tag {
  font-family: var(--display); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold-dark); background: var(--gold-light);
  padding: 5px 14px; border-radius: 6px; width: fit-content; margin-bottom: 16px;
}
.pricing-card h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  color: var(--ink); margin-bottom: 12px;
}
.pricing-amount {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 500;
  color: var(--ink); line-height: 1; margin-bottom: 6px;
}
.pricing-amount span {
  font-family: var(--display); font-size: 0.9rem; font-weight: 400;
  color: var(--muted); margin-left: 6px;
}
.pricing-alt {
  font-size: 0.85rem; color: var(--muted); margin-bottom: 28px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.pricing-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.pricing-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem; line-height: 1.5; color: var(--ink);
}

/* ═══════════════════════════════════════════════
   PROGRAMME GRID (stage detail pages)
   ═══════════════════════════════════════════════ */
.programme-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
@media (max-width: 880px) { .programme-grid { grid-template-columns: 1fr; } }
.programme-list { display: flex; flex-direction: column; gap: 0; }
.programme-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.programme-item:first-child { padding-top: 0; }
.programme-item:last-child { border-bottom: 0; }
.programme-num {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  color: var(--gold); flex-shrink: 0; line-height: 1.2;
}
.programme-item h4 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--ink); margin-bottom: 6px;
}
.programme-item p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0;
}
.programme-img {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); margin: 0;
}
.programme-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

/* ═══════════════════════════════════════════════
   GALLERY GRID (4-column photo grid)
   ═══════════════════════════════════════════════ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); margin: 0; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}
.gallery-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
}
.gallery-item figcaption {
  padding: 12px 16px; font-size: 0.82rem; color: var(--muted);
  background: var(--bg-white); text-align: center;
}

/* ═══════════════════════════════════════════════
   QUIZ & ACCORDION (Details/Summary)
   ═══════════════════════════════════════════════ */
.quiz-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 920px) {
  .quiz-grid {
    grid-template-columns: 1fr;
  }
}
.quiz-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.quiz-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.quiz-category {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 4px 10px;
  border-radius: 4px;
}
.quiz-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--muted);
}
.quiz-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--ink);
}
.quiz-options {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-paper);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: all 0.2s var(--ease);
}
.quiz-option-letter {
  font-family: var(--display);
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--gold-light);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.quiz-details {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.quiz-details[open] {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.08);
}
.quiz-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  cursor: pointer;
  background: var(--bg-white);
  user-select: none;
  transition: background 0.2s var(--ease);
}
.quiz-summary::-webkit-details-marker {
  display: none;
}
.quiz-summary:hover {
  background: var(--bg-paper);
}
.quiz-summary .arrow {
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}
.quiz-details[open] .quiz-summary .arrow {
  transform: rotate(180deg);
}
.quiz-answer {
  padding: 24px 20px;
  background: var(--gold-light);
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}
.quiz-answer strong.correct-badge {
  display: inline-block;
  background: var(--gold-dark);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 6px;
  letter-spacing: 0.05em;
}

/* Mobile Bottom Nav & Drawers */
.mobile-bottom-nav {
  display: none;
}
.mobile-drawer-overlay {
  display: none;
}
.mobile-drawer {
  display: none;
}

@media (max-width: 920px) {
  /* Hide the top header menu toggle & banner CTA since navigation is at the bottom */
  .site-header .menu-toggle {
    display: none !important;
  }
  .site-header .nav-cta {
    display: none !important;
  }
  
  /* Body padding to prevent content from being hidden behind the bottom bar */
  body {
    padding-bottom: 75px !important;
  }
  
  /* Mobile Bottom Nav Bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #0E1F38; /* dark ink matching branding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom, 0px); /* iPhone home indicator support */
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    font-family: var(--display);
    gap: 4px;
    cursor: pointer;
    flex: 1;
    padding: 6px 0;
    transition: color 0.2s ease;
  }
  
  .mobile-nav-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
    transition: transform 0.2s ease;
  }
  
  .mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--gold);
  }
  
  .mobile-nav-item:active svg {
    transform: scale(0.9);
  }
  
  /* Mobile Drawers (Bottom Sheets) */
  .mobile-drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 88vh;
    background: #0E1F38;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 999999;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(197, 168, 128, 0.25);
  }
  .mobile-drawer.open {
    transform: translateY(0);
  }
  
  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .mobile-drawer-header h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin: 0;
  }
  
  .mobile-drawer-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .mobile-drawer-content {
    overflow-y: auto;
    padding: 16px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .mobile-drawer-item {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    text-align: left;
    transition: background 0.2s, border-color 0.2s;
  }
  
  .mobile-drawer-item:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 168, 128, 0.3);
  }
  
  .mobile-drawer-item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
  }
  
  .mobile-drawer-item .tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .mobile-drawer-item p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 6px 0;
    line-height: 1.4;
  }
  
  .mobile-drawer-item .price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
  }
  
  /* Special Highlight for Quiz */
  .mobile-drawer-item.quiz-highlight {
    background: rgba(197, 168, 128, 0.05);
    border-color: rgba(197, 168, 128, 0.2);
  }
  
  .mobile-drawer-item.quiz-highlight .tag.gold {
    background: var(--gold-dark);
    color: white;
  }
  
  .mobile-drawer-item.quiz-highlight .price.gold {
    color: var(--gold);
  }
}

/* Chatbot Widget Styles */
.chatbot-trigger {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 99998;
  background: #E3F2FD;
  border: 1px solid rgba(14, 31, 56, 0.2);
  color: #0E1F38;
  padding: 15px 22px; /* Protrudes 10px more naturally */
  border-radius: 8px; /* Identical on all 4 sides */
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 -4px 15px rgba(14, 31, 56, 0.15);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  margin-right: -4px;
  transform-origin: right bottom;
  /* 5 aller-retours puis s'arrête, tangage réduit de moitié */
  animation: chatbot-guntar-wave 4s 5 ease-in-out forwards;
}
.chatbot-trigger:hover {
  background: #B3E5FC;
  animation: none;
  transform: translateY(-50%) rotate(-90deg) translateY(-14px); /* Hover state keeps it well inside screen */
}
.chatbot-panel {
  display: none;
  flex-direction: column;
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 380px;
  height: 650px;
  max-height: calc(100vh - 140px);
  background: #F4FAFF;
  border: 1px solid rgba(14, 31, 56, 0.15);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(14, 31, 56, 0.18);
  z-index: 999999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}
.chatbot-panel.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #E3F2FD;
  border-bottom: 1px solid rgba(14, 31, 56, 0.1);
}
.chatbot-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
}
.chatbot-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: #0E1F38;
  margin: 0 0 2px 0;
}
.chatbot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: rgba(14, 31, 56, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.chatbot-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981; /* green */
}
.chatbot-close {
  background: rgba(14, 31, 56, 0.05);
  border: none;
  color: rgba(14, 31, 56, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.chatbot-close:hover {
  background: rgba(14, 31, 56, 0.1);
  color: #0E1F38;
}
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chatbot-msg {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 82%;
  word-wrap: break-word;
}
.chatbot-msg.bot {
  background: white;
  border: 1px solid rgba(14, 31, 56, 0.1);
  color: #0E1F38;
  border-bottom-left-radius: 2px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(14, 31, 56, 0.04);
}
.chatbot-msg.bot a {
  color: #9E7E55;
  text-decoration: underline;
  font-weight: 600;
}
.chatbot-msg.bot a:hover {
  color: var(--gold-dark);
}
.chatbot-msg.user {
  background: #E3F2FD;
  color: #0E1F38;
  border: 1px solid rgba(14, 31, 56, 0.1);
  border-bottom-right-radius: 2px;
  align-self: flex-end;
  box-shadow: 0 2px 8px rgba(14, 31, 56, 0.04);
}
.chatbot-footer {
  padding: 16px 20px;
  background: #E3F2FD;
  border-top: 1px solid rgba(14, 31, 56, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}
.chatbot-choice-btn {
  background: white;
  border: 1px solid rgba(14, 31, 56, 0.2);
  color: #0E1F38;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--display);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.chatbot-choice-btn:hover {
  background: #B3E5FC;
  border-color: #0E1F38;
}

@media (max-width: 920px) {
  .chatbot-panel {
    bottom: 80px !important;
    right: 15px !important;
    left: 15px !important;
    width: auto !important;
    height: 75vh !important;
    max-height: calc(100vh - 100px) !important;
  }
}

@keyframes chatbot-guntar-wave {
  0%, 100% {
    transform: translateY(-50%) rotate(-90deg) translateY(-8px) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) rotate(-90deg) translateY(-11px) rotate(-0.8deg); /* Tangage réduit de moitié */
  }
}

/* .chatbot-pointer-hand removed — retired per Thierry's request */
.chatbot-pointer-hand {
  position: absolute;
  /* Positioned to the LEFT of the button, vertically centered */
  top: 50%;
  right: calc(100% + 6px); /* 6px gap from button left edge */
  left: auto;
  bottom: auto;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  pointer-events: none;
  color: var(--gold-dark);
  filter: drop-shadow(-2px 0px 4px rgba(14, 31, 56, 0.25));
  animation: chatbot-hand-tap 4s infinite ease-in-out;
}

@keyframes chatbot-hand-tap {
  /* Hidden, hand starts further to the left */
  0%, 30%, 100% {
    opacity: 0;
    transform: translateY(-50%) translateX(20px);
  }
  /* Slides in and becomes visible */
  40% {
    opacity: 1;
    transform: translateY(-50%) translateX(0px);
  }
  /* Tap 1 — nudges toward the button (right) */
  52% {
    opacity: 1;
    transform: translateY(-50%) translateX(-8px);
  }
  60% {
    opacity: 1;
    transform: translateY(-50%) translateX(0px);
  }
  /* Tap 2 */
  72% {
    opacity: 1;
    transform: translateY(-50%) translateX(-8px);
  }
  82% {
    opacity: 1;
    transform: translateY(-50%) translateX(0px);
  }
  /* Fade out */
  93% {
    opacity: 0;
    transform: translateY(-50%) translateX(14px);
  }
}

.chatbot-trigger:hover .golf-ball-icon {
  transform: rotate(450deg) !important;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* =============================================================
   BLOG & ARTICLES (Le Mag')
   ============================================================= */

/* Page Header pour le Blog */
.blog-header {
  padding: 80px var(--gutter) 40px;
  background: var(--ink);
  color: white;
  text-align: center;
}
.blog-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}
.blog-header .lead {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,255,255,0.7);
}

/* Layout Archive (Home Blog) */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px var(--gutter);
}
@media (max-width: 920px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* Grille d'articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
}

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(14, 31, 56, 0.08);
}
.article-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.article-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-meta {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.article-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.article-card-title a { color: inherit; text-decoration: none; }
.article-card-title a:hover { color: var(--gold-dark); }
.article-card-excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}
.sidebar-widget .widget-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-widget li {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 12px;
}
.sidebar-widget li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.sidebar-widget a { color: var(--muted); text-decoration: none; }
.sidebar-widget a:hover { color: var(--gold-dark); }

/* Card Coach Sidebar */
.widget-coach {
  text-align: center;
}
.widget-coach img {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-light);
  margin: 0 auto 16px;
}
.widget-coach h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 8px; }
.widget-coach p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }

/* Prose (Single Article Content) */
.prose {
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2D3748;
}
.prose > *:first-child::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  font-family: var(--serif);
  color: var(--gold-dark);
}
.prose h2, .prose h3, .prose h4 {
  font-family: var(--serif);
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.3;
}
.prose h2 { font-size: 2.2rem; }
.prose h3 { font-size: 1.8rem; }
.prose p { margin-bottom: 1.5em; }
.prose ul, .prose ol { margin-bottom: 1.5em; padding-left: 0; list-style: none; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--gold-dark); text-decoration: underline; text-decoration-color: rgba(165, 137, 96, 0.3); text-underline-offset: 4px; }
.prose a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2em 0;
}
.prose blockquote {
  border-left: 4px solid var(--gold);
  background: var(--bg-luminous);
  padding: 24px 32px;
  margin: 2em 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
}
.prose figure { margin: 2em 0; }
.prose figcaption { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: 8px; font-style: italic; }

.article-footer-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tag-badge {
  background: var(--bg-luminous);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
}
.tag-badge:hover { background: var(--gold-light); color: var(--gold-dark); }

/* Stage-golf hero : CTA empilés en colonne sur mobile (demande Thierry 03/08) */
@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* Mobile : header compacté (~-37% de hauteur) + moins de blanc dans le hero — fait remonter le H1 SANS toucher à la taille de la photo (demande Thierry 03/08) */
@media (max-width: 600px) {
  .nav { padding: 12px 0; gap: 16px; }
  .brand-logo { width: 44px; height: 44px; }
  .site-header .brand span { padding: 7px 14px; font-size: 0.85em; }
  .info-banner { padding: 6px var(--gutter); font-size: .7rem; }
  .hero-page { padding-top: 18px; padding-bottom: 38px; }
  .hero-page .wrap { gap: 22px; }
}
/* ===== Contact : équilibrage des 2 colonnes (24/08) ===== */
@media (min-width: 921px){
  .contact-grid{
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 4vw, 64px);
    align-items: center;
  }
  .contact-info{ align-self: center; }
  .contact-form{ padding: clamp(30px, 3vw, 44px); }
}
