/* ============================================================
   FIGESCOM OHEVET — css/site.css
   Stratégie : Mobile = référence visuelle
   Tout écran reprend la même présentation en colonne,
   les éléments s'agrandissent proportionnellement.
   Seule la navigation passe en barre horizontale sur desktop.
   ============================================================ */

/* ── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --navy:        #0D1B2A;
  --gold:        #B8965A;
  --gold-text:   #E4C589; /* thème sombre : variante CLAIRE du doré, pour le texte sur fond sombre (contraste AA) */
  --gold-mid:    rgba(184,150,90,0.4);
  --gold-light:  rgba(184,150,90,0.12);
  --lightgray:   #142235; /* thème sombre : devient la couleur des surfaces "carte" (navy légèrement plus clair que le fond) */
  --bg-light:    #142235; /* alias pour compat avec les styles inline var(--bg-light, ...) */
  --white:       #FFFFFF;
  --gray-text:   #D1D5DB; /* thème sombre : gris clair pour le texte de corps sur fond sombre */
  --gray-light:  #9CA3AF; /* thème sombre : gris moyen pour le texte secondaire sur fond sombre */
  --gray-border: rgba(184,150,90,0.35); /* thème sombre : fine bordure dorée au lieu du gris clair */
  --green:       #22C55E;
  --green-bg:    rgba(34,197,94,.15);
  --green-bd:    rgba(34,197,94,.4);
  --green-dark:  #4ADE80;
  --amber-bg:    rgba(245,158,11,.15);
  --amber-text:  #FCD34D;
  --red-bg:      rgba(239,68,68,.15);
  --red-bd:      rgba(239,68,68,.4);
  --red-text:    #F87171;
  --navy-05:     rgba(255,255,255,0.05);
  --navy-10:     rgba(255,255,255,0.10);
  --navy-72:     rgba(13,27,42,.72);

  --font-sans:   'Poppins', system-ui, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;

  --radius:      0.5rem;
  --radius-lg:   0.75rem;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 14px rgba(0,0,0,0.10);
  --shadow-xl:   0 10px 32px rgba(0,0,0,0.18);
  --tr:          0.22s ease;

  /* Espacement fluide : se dilate proprement de mobile à 4K */
  --space-xs:  clamp(0.5rem,  1.5vw, 1rem);
  --space-sm:  clamp(0.75rem, 2vw,   1.25rem);
  --space-md:  clamp(1rem,    3vw,   2rem);
  --space-lg:  clamp(1.5rem,  4vw,   3rem);
  --space-xl:  clamp(2rem,    5vw,   4.5rem);
  --space-2xl: clamp(3rem,    7.5vw, 7rem);

  /* Largeur max du contenu central */
  --max-content: 52rem;  /* ~830px — confortable à lire sur tous les écrans */
  --max-wide:    72rem;  /* pour les grilles tarifs */
}

/* ── 2. RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; }
body   {
  font-family: var(--font-sans);
  color: var(--gray-text);
  background: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
}
img    { display: block; max-width: 100%; height: auto; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button  { font-family: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* ── 2b. BARRE DE PROGRESSION DE LECTURE ──────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gold); z-index: 60;
  transition: width .12s linear;
}

/* ── 2c. RÉVÉLATION AU DÉFILEMENT (progressive enhancement) ──
   Activée uniquement si le JS ajoute .js-reveal au <body>
   (IntersectionObserver supporté). Sans JS, le contenu reste
   visible immédiatement : rien n'est jamais masqué par défaut. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Variante "fade seul" (sans transform) pour les cartes qui ont
   déjà leur propre effet de survol via transform (.card, .card-dark,
   .price-card) : évite tout conflit de spécificité avec leur :hover. */
.js-reveal .reveal-fade {
  opacity: 0;
  transition: opacity .7s ease;
}
.js-reveal .reveal-fade.is-visible {
  opacity: 1;
}

/* ── 3. CONTENEURS ────────────────────────────────────────── */
/*
  Un seul conteneur centré, padding fluide.
  Sur mobile : 1rem de marge. Sur 4K : max 52rem centré.
*/
.container,
.container-lg,
.container-sm {
  width: 100%;
  max-width: var(--max-content);
  margin-left: auto; margin-right: auto;
  padding-left: var(--space-md); padding-right: var(--space-md);
}
.container-lg { max-width: var(--max-wide); }
.container-sm { max-width: 40rem; }

.section-pad { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

/* ── 4. TYPOGRAPHIE ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--white);
  line-height: 1.25;
}

/* Tailles fluides : lisibles du mobile au 4K */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--gray-light);
  font-style: italic;
  font-size: clamp(0.875rem, 2vw, 1rem);
  margin-bottom: var(--space-md);
}
.section-center { text-align: center; margin-bottom: var(--space-lg); }
.section-center .section-title { margin-bottom: 0.4rem; }

/* ── 5. BOUTONS ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  padding: 0.7em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 480px) {
  .btn { white-space: normal; }
}
.btn-gold    { background: var(--gold);  color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--white); color: var(--navy); }
.btn-navy    { background: var(--navy);  color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-outline { background: rgba(255,255,255,.10); color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-ghost   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-wa {
  display: inline-block; background: #25D366; color: var(--white);
  font-weight: 700; padding: 0.65em 1.4em; border-radius: var(--radius);
  font-size: clamp(0.8rem, 2vw, 0.875rem); transition: background var(--tr);
}
.btn-wa:hover { background: #1ebe5a; }

/* ── 6. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled { background: rgba(13,27,42,.97); box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.nav-inner {
  max-width: var(--max-wide); margin-left: auto; margin-right: auto;
  padding: clamp(0.75rem,2vw,1rem) var(--space-md);
  display: flex; justify-content: space-between; align-items: center;
  transition: padding .3s ease;
}
.nav.is-scrolled .nav-inner { padding-top: .5rem; padding-bottom: .5rem; }
.nav-brand { display: flex; align-items: center; gap: 0.625rem; color: var(--white); flex-shrink: 0; }
.nav-logo  { width: clamp(1.875rem,4vw,2.5rem); height: clamp(1.875rem,4vw,2.5rem); object-fit: contain; border-radius: var(--radius); transition: width .3s ease, height .3s ease; }
.nav.is-scrolled .nav-logo { width: clamp(1.6rem,3.4vw,2.1rem); height: clamp(1.6rem,3.4vw,2.1rem); }
.nav-brand-name { display: block; font-family: var(--font-serif); font-weight: 700; font-size: clamp(0.875rem,2.5vw,1.05rem); letter-spacing: .04em; color: var(--white); }
.nav-brand-sub  { display: block; font-size: clamp(0.6rem,1.5vw,0.7rem); color: var(--gold); margin-top: -0.1rem; }

/* Desktop nav links — cachés par défaut (mobile-first) */
.nav-links { display: none; align-items: center; font-size: clamp(0.75rem,1.4vw,0.875rem); font-weight: 500; }
.nav-links a { color: var(--white); transition: color var(--tr); white-space: nowrap; margin-right: clamp(0.75rem,1.6vw,1.5rem); }
.nav-links a:last-of-type { margin-right: 1.25rem; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--gold); }
.lang-btn {
  background: transparent; border: 1px solid var(--gold-mid); color: var(--gold);
  font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.5rem;
  border-radius: var(--radius); cursor: pointer;
  transition: background var(--tr), color var(--tr); margin-left: 0.25rem;
}
.lang-btn:hover { background: var(--gold); color: var(--navy); }
.lang-btn-mobile {
  display: inline-block; background: transparent; border: 1px solid var(--gold-mid);
  color: var(--gold); font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.7rem; border-radius: var(--radius); cursor: pointer; margin-top: var(--space-sm);
}

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 2.5rem; height: 2.5rem;
  background: transparent; border: none; cursor: pointer;
}
.ham-bar { display: block; width: 1.5rem; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s ease; }
#hamburgerBtn[aria-expanded="true"] #ham1 { transform: translateY(7px) rotate(45deg); }
#hamburgerBtn[aria-expanded="true"] #ham2 { opacity: 0; }
#hamburgerBtn[aria-expanded="true"] #ham3 { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
#mobileMenu {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.08);
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(-6px);
  padding: 0 var(--space-md);
  transition: max-height .35s ease, opacity .28s ease, transform .28s ease, padding .35s ease;
}
#mobileMenu.open { max-height: 28rem; opacity: 1; transform: translateY(0); padding: 0.75rem var(--space-md) 1.25rem; }
#mobileMenu a { display: block; padding: 0.5rem 0; font-size: clamp(0.85rem,2vw,0.9rem); font-weight: 500; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.07); transition: color var(--tr), padding-left .2s ease; }
#mobileMenu a:hover, #mobileMenu a[aria-current="page"] { color: var(--gold); padding-left: 0.35rem; }
#mobileMenu a:last-of-type { border-bottom: none; }
#mobileMenu .btn-gold { display: block; text-align: center; margin-top: 0.75rem; border-bottom: none; padding: 0.6rem; color: var(--navy); }
#mobileMenu .btn-gold:hover { color: var(--navy); padding-left: 0; }

/* ── 7. HERO (page d'accueil) ─────────────────────────────── */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  min-height: clamp(420px, 78vh, 620px);
  display: flex; align-items: center;
}
.hero-bg-wrap { position: absolute; inset: 0; }
.hero-bg-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(13,27,42,.88) 0%,
    rgba(13,27,42,.65) 60%,
    rgba(13,27,42,.50) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-content); margin-left: auto; margin-right: auto;
  padding: var(--space-2xl) var(--space-md); text-align: center;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 700; color: var(--white);
  letter-spacing: -.02em; margin-bottom: var(--space-sm);
}
.hero-sub {
  color: var(--gold); font-weight: 500;
  font-size: clamp(0.75rem, 2.5vw, 1.1rem);
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.hero-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: #D1D5DB; max-width: 36rem; margin-left: auto; margin-right: auto;
  margin-bottom: var(--space-xl);
}
/* Boutons hero : colonne sur mobile, rangée sur grand écran */
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

/* ── 7b. ANIMATION D'ENTRÉE DU HERO ───────────────────────── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title, .hero-sub, .hero-quote, .hero-ctas {
  animation: heroReveal .75s cubic-bezier(.22,.7,.32,1) both;
}
.hero-sub   { animation-delay: .12s; }
.hero-quote { animation-delay: .24s; }
.hero-ctas  { animation-delay: .36s; }

/* ── 8. BANNIÈRE IMAGE (pages secondaires) ────────────────── */
.hero-section {
  position: relative;
  height: clamp(200px, 32vw, 380px);
  overflow: hidden;
}
.hero-section img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-section-overlay {
  position: absolute; inset: 0; background: var(--navy-72);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: var(--space-md);
}
.hero-section-overlay .section-title { color: var(--white); margin-bottom: .5rem; }

/* ── 9. SPLITS (image + texte) ────────────────────────────── */
/*
  Sur mobile : image en haut, texte en bas (flex-direction: column).
  On conserve cette présentation sur tous les écrans.
  L'image prend une hauteur fixe fluide via clamp.
*/
.split { display: flex; flex-direction: column; overflow: hidden; }
.split-img { overflow: hidden; flex-shrink: 0; }
.split-img img { width: 100%; height: clamp(200px,35vw,420px); object-fit: cover; object-position: center; }
.split-body { display: flex; align-items: center; background: var(--lightgray); padding: var(--space-xl) var(--space-md); }
.philosophy { background: var(--lightgray); overflow: hidden; }

/* Étudiants : fond navy */
.students-split .students-intro {
  background: var(--navy); color: var(--white);
  padding: var(--space-xl) var(--space-md);
  display: flex; align-items: center;
}

/* Création : fond doré */
.creation-split { display: flex; flex-direction: column; }
.creation-split .card-img { overflow: hidden; }
.creation-split .card-img img { width: 100%; height: clamp(200px,35vw,420px); object-fit: cover; }
.creation-text {
  background: var(--gold); color: var(--navy);
  padding: var(--space-xl) var(--space-md);
  display: flex; align-items: flex-start; flex-direction: column; justify-content: center;
}
.creation-text h1 { font-family: var(--font-serif); font-size: clamp(1.35rem,4vw,2rem); font-weight: 700; color: var(--navy); margin-bottom: var(--space-sm); }
.creation-text p { color: rgba(13,27,42,.8); line-height: 1.7; margin-bottom: var(--space-md); font-size: clamp(0.875rem,2vw,1rem); }
.creation-text h1, .creation-text h2, .creation-text h3, .creation-text .tag-dark { color: var(--navy); }

/* À Propos */
.about-split { display: flex; flex-direction: column; }
.about-split .split-img { position: relative; }
.about-text { background: var(--lightgray); display: flex; align-items: center; padding: var(--space-xl) var(--space-md); }
.about-badge {
  position: absolute; bottom: var(--space-md); left: var(--space-md);
  background: rgba(13,27,42,.9); border: 1px solid var(--gold-mid);
  border-radius: var(--radius); padding: 0.75rem 1rem; backdrop-filter: blur(4px);
}
.about-badge p { font-family: var(--font-serif); color: var(--white); font-weight: 700; font-size: clamp(0.8rem,2vw,0.9rem); line-height: 1.4; }
.about-badge span { color: var(--gold); font-size: clamp(0.68rem,1.5vw,0.75rem); display: block; margin-top: .2rem; }

/* ── 10. TAGS / BADGES ────────────────────────────────────── */
.tag      { display: inline-block; font-size: clamp(0.65rem,1.5vw,0.72rem); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-text); margin-bottom: .5rem; }
.tag-dark { display: inline-block; font-size: clamp(0.65rem,1.5vw,0.72rem); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .5rem; }
.rate-badge {
  display: block; position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: clamp(0.55rem,1.3vw,0.62rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .65rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); white-space: nowrap;
}

/* ── 11. KPIs ─────────────────────────────────────────────── */
.kpis {
  background: var(--navy); color: var(--white);
  padding-top: var(--space-xl); padding-bottom: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* 2 colonnes dès 360px, 4 colonnes dès 600px */
.kpis-grid {
  max-width: var(--max-wide); margin-left: auto; margin-right: auto;
  padding-left: var(--space-md); padding-right: var(--space-md);
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: clamp(1rem,3vw,2rem); text-align: center;
}
@media (min-width: 600px) { .kpis-grid { grid-template-columns: repeat(4,1fr); } }
.kpi-value { font-size: clamp(1.5rem,5vw,2.5rem); font-weight: 700; color: var(--gold); font-family: var(--font-serif); margin-bottom: .25rem; }
.kpi-label { font-size: clamp(0.6rem,1.5vw,0.7rem); text-transform: uppercase; letter-spacing: .08em; color: #9CA3AF; font-weight: 500; }

/* ── 12. CARTES PRESTATIONS ───────────────────────────────── */
/*
  1 colonne partout.
  Sur tablette ≥ 600px : 2 colonnes.
  Jamais 4 colonnes — trop chargé, mobile garde l'uniformité.
*/
.cards-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-md); margin-bottom: var(--space-xl);
}
@media (min-width: 600px) { .cards-grid { grid-template-columns: repeat(2,1fr); } }

.card {
  background: var(--lightgray); padding: var(--space-md);
  border-radius: var(--radius); border-top: 4px solid var(--navy);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr), transform var(--tr);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px) scale(1.015); }
.card-gold  { border-top-color: var(--gold); background: var(--lightgray); }
.card-dark  {
  background: var(--lightgray); color: var(--white);
  border: 1px solid var(--gold-mid);
  padding: var(--space-md); border-radius: var(--radius);
  transition: box-shadow var(--tr), transform var(--tr);
}
.card-dark:hover { box-shadow: var(--shadow-md); transform: translateY(-5px) scale(1.015); }
.card-num { font-size: clamp(1.1rem,3vw,1.4rem); font-weight: 700; color: var(--gold-text); margin-bottom: .6rem; }
.card-dark .card-num { color: var(--gold); } /* doré normal lisible sur fond navy */
.card h2, .card h3 { font-family: var(--font-serif); font-weight: 700; color: var(--white); font-size: clamp(0.95rem,2.5vw,1.1rem); margin-bottom: .5rem; }
.card p, .card > ul { font-size: clamp(0.82rem,2vw,0.9rem); color: var(--gray-text); }
.card ul li + li { margin-top: .2rem; }
.card-dark h3 { color: var(--white); margin-bottom: .75rem; }
.card-dark ul { font-size: clamp(0.82rem,2vw,0.875rem); color: #D1D5DB; }

/* Modules création / étudiants */
.creation-modules {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-md); margin-bottom: var(--space-lg);
}
@media (min-width: 600px) { .creation-modules { grid-template-columns: repeat(2,1fr); } }

/* ── 13. BANNIÈRE IMAGE SECTION ───────────────────────────── */
.banner-img {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; height: clamp(200px,28vw,340px);
  margin-bottom: var(--space-xl);
}
.banner-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.banner-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.85) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: var(--space-md);
}

/* ── 14. GRILLE TARIFS ENTREPRISES ───────────────────────── */
.tarifs-layout { display: flex; flex-direction: column; gap: var(--space-xl); margin-bottom: var(--space-2xl); }
.tarifs-img { border-radius: var(--radius-lg); overflow: hidden; height: clamp(200px,35vw,400px); }
.tarifs-img img { width: 100%; height: 100%; object-fit: cover; }
.tarifs-panel { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-xl); }
.tarifs-panel h3 { font-family: var(--font-serif); font-size: clamp(1.1rem,3vw,1.4rem); font-weight: 700; text-align: center; margin-bottom: var(--space-lg); color: var(--gold); }
/* 2 colonnes pour les prix, toujours */
.tarifs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-sm); text-align: center; }
.price-cell { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: var(--space-sm); position: relative; }
.price-cell--featured { border-color: var(--gold-mid); }
.price-cell__label { font-size: clamp(0.62rem,1.5vw,0.68rem); text-transform: uppercase; color: #9CA3AF; letter-spacing: .06em; display: block; margin-bottom: .4rem; }
.price-cell__amount { font-size: clamp(1.25rem,3.5vw,1.5rem); font-weight: 700; color: var(--gold); margin-bottom: .35rem; }
.price-cell__desc { font-size: clamp(0.62rem,1.5vw,0.7rem); color: #D1D5DB; }

/* ── 15. TARIFS CARTES (particuliers / étudiants / création) */
.pricing-grid,
.pricing-grid-3,
.pricing-grid-4 {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-sm); margin-bottom: var(--space-xl);
}
/* 2 colonnes dès 480px */
@media (min-width: 480px) {
  .pricing-grid-3 { grid-template-columns: repeat(3,1fr); }
  .pricing-grid-4 { grid-template-columns: repeat(2,1fr); }
}
.price-card {
  background: var(--lightgray); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: var(--space-md);
  text-align: center; box-shadow: var(--shadow-sm); position: relative;
  transition: box-shadow var(--tr), transform var(--tr);
}
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px) scale(1.015); }
.price-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.price-card.featured:hover { box-shadow: var(--shadow-xl); }
.price-card h3 { font-family: var(--font-serif); font-weight: 700; color: var(--white); font-size: clamp(0.9rem,2.5vw,1rem); margin-bottom: .4rem; }
.price-amount { font-size: clamp(1.5rem,5vw,2rem); font-weight: 700; color: var(--gold-text); font-family: var(--font-serif); margin-top: var(--space-sm); margin-bottom: var(--space-sm); }
.price-amount.sm { font-size: clamp(1.1rem,3vw,1.35rem); }
.price-desc { font-size: clamp(0.72rem,1.8vw,0.8rem); color: var(--gray-light); }

/* ── 16. SIMULATEUR ───────────────────────────────────────── */
/* Toujours en colonne : simulateur en haut, image en bas */
.sim-layout { display: flex; flex-direction: column; gap: var(--space-xl); margin-bottom: var(--space-2xl); }
.simulator {
  background: var(--lightgray); padding: var(--space-lg);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid rgba(184,150,90,.18);
}
.simulator h2 { font-family: var(--font-serif); font-size: clamp(1rem,2.5vw,1.2rem); font-weight: 700; color: var(--white); text-align: center; margin-bottom: .35rem; }
.sim-sub { font-size: clamp(0.72rem,1.5vw,0.78rem); color: var(--gray-light); text-align: center; margin-bottom: var(--space-md); }
.sim-input-label { display: block; font-size: clamp(0.68rem,1.5vw,0.75rem); font-weight: 700; text-transform: uppercase; color: var(--gray-text); letter-spacing: .06em; margin-bottom: .4rem; }
.sim-input {
  width: 100%; padding: 0.7rem 0.875rem;
  border: 2px solid var(--gray-border); border-radius: var(--radius);
  font-size: clamp(1rem,2.5vw,1.1rem); font-weight: 700;
  font-family: var(--font-sans); color: var(--white); background: var(--navy);
  transition: border-color var(--tr); margin-bottom: var(--space-md); appearance: none;
}
.sim-input:focus { outline: none; border-color: var(--gold); }
.sim-results { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; text-align: center; }
.sim-col { padding: .75rem .4rem; border-radius: var(--radius); }
.sim-col.needs   { background: var(--navy-05); }
.sim-col.wants   { background: var(--gold-light); }
.sim-col.savings { background: var(--green-bg); border: 1px solid var(--green-bd); }
.sim-col-label { display: block; font-size: clamp(0.6rem,1.3vw,0.68rem); font-weight: 600; text-transform: uppercase; color: var(--gray-light); letter-spacing: .05em; margin-bottom: .2rem; }
.sim-col.savings .sim-col-label { color: #4ADE80; }
.sim-col-value { font-size: clamp(0.95rem,2.5vw,1.1rem); font-weight: 700; color: var(--white); }
.sim-col.wants   .sim-col-value { color: var(--gold-text); }
.sim-col.savings .sim-col-value { color: var(--green); }
.sim-footer { text-align: center; margin-top: var(--space-md); }
.sim-footer a { font-size: clamp(0.72rem,1.5vw,0.8rem); font-weight: 700; color: var(--gold); text-decoration: underline; transition: color var(--tr); }
.sim-footer a:hover { color: var(--gold); }
.sim-img { border-radius: var(--radius-lg); overflow: hidden; height: clamp(200px,35vw,400px); }
.sim-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── 17. TÉMOIGNAGES ──────────────────────────────────────── */
.reviews-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-md); margin-bottom: var(--space-xl);
}
@media (min-width: 600px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }
.review { border: 1px solid var(--gray-border); padding: var(--space-md); border-radius: var(--radius); background: var(--lightgray); position: relative; }
.review .quote-mark { font-size: 4rem; color: rgba(184,150,90,.18); font-family: var(--font-serif); position: absolute; top: .5rem; left: .75rem; line-height: 1; }
.review blockquote { font-style: italic; color: var(--gray-text); margin-bottom: 1rem; position: relative; z-index: 1; font-size: clamp(0.82rem,1.8vw,0.9rem); line-height: 1.7; }
.review figcaption { font-size: clamp(0.78rem,1.6vw,0.85rem); font-weight: 700; color: var(--white); }
.review--border-left { border-left: 4px solid var(--gold); border-top: none; border-right: none; border-bottom: none; background: var(--lightgray); }

/* ── 18. FAQ ACCORDÉON ────────────────────────────────────── */
.faq-item { border: 1px solid var(--gray-border); border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-sm); }
.faq-btn { width: 100%; text-align: left; padding: var(--space-sm) var(--space-md); background: var(--lightgray); font-family: var(--font-serif); font-weight: 700; color: var(--white); display: flex; justify-content: space-between; align-items: center; border: none; cursor: pointer; font-size: clamp(0.875rem,2vw,0.95rem); gap: 1rem; transition: background var(--tr); }
.faq-btn:hover, .faq-btn[aria-expanded="true"] { background: rgba(184,150,90,.15); }
.faq-icon { color: var(--gold); font-size: 1.25rem; font-weight: 700; flex-shrink: 0; transition: transform .25s; }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer, .faq-body { max-height: 0; opacity: 0; overflow: hidden; padding: 0 var(--space-md); background: var(--white); font-size: clamp(0.82rem,1.8vw,0.9rem); color: var(--gray-text); line-height: 1.75; border-top: 0 solid var(--gray-border); transition: max-height .35s ease, opacity .3s ease, padding .35s ease, border-top-width .35s ease; }
.faq-answer.open, .faq-body.open { max-height: 14rem; opacity: 1; padding: var(--space-sm) var(--space-md); border-top-width: 1px; }

/* ── 19. POUR QUI ─────────────────────────────────────────── */
.for-who { background: var(--lightgray); border: 1px solid var(--navy-10); border-radius: var(--radius-lg); padding: var(--space-lg); margin-bottom: var(--space-lg); }
.for-who h2 { font-family: var(--font-serif); font-weight: 700; color: var(--white); font-size: clamp(1rem,2.5vw,1.15rem); margin-bottom: var(--space-sm); }
.for-who-grid { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 480px) { .for-who-grid { grid-template-columns: repeat(2,1fr); } }
.for-who-item { font-size: clamp(0.82rem,1.8vw,0.9rem); color: var(--gray-text); padding-left: 1.1rem; position: relative; }
.for-who-item::before { content: "•"; color: var(--gold); font-weight: 700; position: absolute; left: 0; top: 0; }

/* ── 20. ENCARTS ──────────────────────────────────────────── */
.note-box { background: var(--amber-bg); border-left: 4px solid var(--gold); padding: var(--space-sm) var(--space-md); border-radius: 0 var(--radius) var(--radius) 0; font-size: clamp(0.82rem,1.8vw,0.9rem); color: var(--amber-text); margin-bottom: var(--space-md); }
.pack-detail { background: var(--navy-05); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--space-md) var(--space-lg); margin-bottom: var(--space-lg); }
.pack-detail p { font-size: clamp(0.68rem,1.5vw,0.72rem); font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem; }
.pack-detail ul li { font-size: clamp(0.82rem,1.8vw,0.9rem); color: var(--gray-text); position: relative; padding-left: 1rem; margin-bottom: .25rem; }
.pack-detail ul li::before { content: "•"; color: var(--gold); font-weight: 700; position: absolute; left: 0; }

/* ── 21. CONTACT ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2,1fr); } }
.contact-title { font-family: var(--font-serif); font-size: clamp(1.35rem,3vw,1.75rem); font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.contact-item { display: flex; align-items: center; gap: .625rem; font-size: clamp(0.85rem,2vw,0.95rem); margin-bottom: var(--space-sm); color: var(--gray-text); }
.contact-item a { transition: color var(--tr); }
.contact-item a:hover { color: var(--gold); }
.contact-icon { color: var(--gold); width: 1.5rem; flex-shrink: 0; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.form-box { background: var(--lightgray); padding: var(--space-lg); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: var(--space-sm); }
.form-label { display: block; font-size: clamp(0.68rem,1.5vw,0.72rem); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-text); margin-bottom: .3rem; }
.form-control { width: 100%; padding: .6rem .75rem; border: 1px solid var(--gray-border); border-radius: var(--radius); font-family: var(--font-sans); font-size: clamp(0.875rem,2vw,0.95rem); color: var(--white); background: var(--navy); transition: border-color var(--tr); appearance: none; }
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 5rem; }
.form-privacy { font-size: clamp(0.68rem,1.5vw,0.72rem); color: var(--gray-light); text-align: center; margin-top: .5rem; }
.form-privacy a { text-decoration: underline; transition: color var(--tr); }
.form-privacy a:hover { color: var(--gold); }
.form-alert { display: none; border-radius: var(--radius); padding: var(--space-sm); margin-bottom: var(--space-md); font-size: clamp(0.82rem,1.8vw,0.875rem); }
.form-alert.show { display: block; }
.form-alert.success { background: var(--green-bg); border: 1px solid var(--green-bd); color: var(--green-dark); }
.form-alert.error   { background: var(--red-bg);   border: 1px solid var(--red-bd);   color: var(--red-text); }

/* ── 22. MENTIONS LÉGALES ─────────────────────────────────── */
.legal-hero { background: var(--navy); color: var(--white); padding: var(--space-2xl) var(--space-md); text-align: center; }
.legal-hero h1 { font-family: var(--font-serif); font-size: clamp(1.5rem,4vw,2.5rem); font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.legal-hero p { color: #9CA3AF; font-size: clamp(0.82rem,1.8vw,0.875rem); }
.legal-body { max-width: 52rem; margin-left: auto; margin-right: auto; padding: var(--space-2xl) var(--space-md); }
.legal-body h2 { font-family: var(--font-serif); font-size: clamp(1.1rem,2.5vw,1.25rem); font-weight: 700; color: var(--white); margin-top: 2.5rem; margin-bottom: .75rem; padding-top: 2rem; border-top: 1px solid var(--gray-border); }
.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body p { color: var(--gray-text); line-height: 1.8; margin-bottom: .75rem; font-size: clamp(0.85rem,1.8vw,0.9rem); }
.legal-body a { color: var(--gold); text-decoration: underline; transition: color var(--tr); }
.legal-body a:hover { color: var(--gold); }
.legal-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: .75rem; }
.legal-body ul li { color: var(--gray-text); font-size: clamp(0.85rem,1.8vw,0.9rem); margin-bottom: .25rem; line-height: 1.7; }
.legal-nav { background: var(--lightgray); border-bottom: 1px solid var(--gray-border); padding: .75rem var(--space-md); font-size: clamp(0.72rem,1.5vw,0.8rem); display: flex; flex-wrap: wrap; gap: var(--space-sm); max-width: 52rem; margin-left: auto; margin-right: auto; }
.legal-nav a { color: var(--gold); font-weight: 600; transition: color var(--tr); }
.legal-nav a:hover { color: var(--gold); }

/* ── 22b. INFO-TIP (tooltip accessible) ───────────────────── */
.info-tip-wrap { position: relative; display: inline-block; margin-left: .3rem; }
.info-tip {
  width: 1.05rem; height: 1.05rem; padding: 0; border: none; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-size: .65rem; font-weight: 700; line-height: 1; font-family: var(--font-sans);
  cursor: help; display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle;
}
.info-tip-bubble {
  position: absolute; bottom: calc(100% + .5rem); left: 50%;
  transform: translateX(-50%); width: max-content; max-width: 14rem;
  background: var(--navy); color: var(--white); font-size: .72rem; line-height: 1.45;
  padding: .55rem .7rem; border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity var(--tr); z-index: 20; text-align: left;
}
.info-tip:hover + .info-tip-bubble,
.info-tip:focus-visible + .info-tip-bubble { opacity: 1; }

/* ── 23. ZOOM HOVER IMAGES ────────────────────────────────── */
.card-img { overflow: hidden; }
.card-img img { transition: transform 0.4s ease; }
.card-img:hover img { transform: scale(1.04); }

/* ── 24. FOOTER ───────────────────────────────────────────── */
footer { background: var(--navy); color: #6B7280; font-size: clamp(0.72rem,1.5vw,0.78rem); padding-top: var(--space-xl); padding-bottom: var(--space-xl); border-top: 1px solid #1F2937; }
.footer-inner { max-width: var(--max-wide); margin-left: auto; margin-right: auto; padding-left: var(--space-md); padding-right: var(--space-md); display: flex; flex-direction: column; gap: var(--space-md); }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.footer-brand { font-family: var(--font-serif); color: var(--white); font-weight: 700; font-size: clamp(0.85rem,2vw,0.9rem); margin-bottom: .4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.footer-links a { transition: color var(--tr); }
.footer-links a:hover { color: var(--gold); }

/* ── 25. BOUTON RETOUR EN HAUT ────────────────────────────── */
#backToTop {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  background: var(--gold); color: var(--navy);
  width: clamp(2.5rem,5vw,3rem); height: clamp(2.5rem,5vw,3rem);
  border-radius: 50%; box-shadow: var(--shadow-xl); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: clamp(1rem,2.5vw,1.2rem); cursor: pointer;
  opacity: 0; transform: translateY(2rem); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s; z-index: 50;
}
#backToTop.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#backToTop:hover { background: var(--navy); color: var(--white); }

/* ── 26. NAV DESKTOP — seul élément qui change de mise en page */
/* Menu horizontal desktop retiré : le hamburger et les boutons empilés
   du hero restent utilisés sur toutes les tailles d'écran, pour une
   compatibilité maximale avec tous les navigateurs. */
