/* ==============================================================
   formationmagnetiseur.com — feuille de styles unique
   Direction : éditorial bien-être, palette bleu profond + crème chaud,
   inspirée de formation-bien-etre.fr.
   ============================================================== */

/* ----- Reset léger ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }

/* ----- Tokens ----- */
:root {
  /* Bleus signature */
  --blue:        #0a2540;          /* bleu profond — équivalent forest dans bien-etre */
  --blue-deep:   #061a30;
  --blue-mid:    #2a4a78;
  --blue-soft:   #b9c8db;
  --blue-pale:   #dbe5f0;
  --blue-wash:   #eaf0f7;

  /* Texte */
  --ink:         #0a2540;
  --ink-soft:    #404f63;
  --ink-mid:     #5e6b7c;
  --muted:       #8a95a8;

  /* Crème chaud (rappel bien-etre) */
  --cream:       #faf6ed;
  --cream-soft:  #fff9ea;
  --cream-deep:  #f3ecda;
  --paper:       #ffffff;

  /* Accents gourmands */
  --lime:        #d4ee6b;          /* highlight tonique */
  --lime-deep:   #b5d042;
  --peach:       #f5c7a3;
  --peach-deep:  #e8a77a;
  --butter:      #f3d878;
  --coral:       #e87554;

  /* Lignes */
  --line:        rgba(10, 37, 64, 0.12);
  --line-soft:   rgba(10, 37, 64, 0.06);

  /* Ombres */
  --shadow-sm:   0 1px 2px rgba(10,37,64,0.04), 0 6px 18px rgba(10,37,64,0.08);
  --shadow-md:   0 4px 8px rgba(10,37,64,0.06), 0 18px 44px rgba(10,37,64,0.12);
  --shadow-lg:   0 8px 16px rgba(10,37,64,0.08), 0 30px 70px rgba(10,37,64,0.18);

  /* Typo */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container:   1240px;
  --section-py:  clamp(72px, 9vw, 120px);
  --gap:         32px;
  --radius-sm:   10px;
  --radius:      18px;
  --radius-lg:   28px;
}

/* ----- Base ----- */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: clamp(18px, 1.6vw, 22px); }

p { max-width: 70ch; }
a { transition: color .15s ease; }
a:hover { color: var(--ink); }

::selection { background: var(--blue); color: var(--cream); }

em { font-style: italic; color: var(--blue); font-weight: 500; }
strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 60%, var(--lime) 60%);
  padding: 0 4px;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
@media (max-width: 600px) { .container { padding-inline: 18px; } }

.section { padding-block: var(--section-py); }
.section-sm { padding-block: calc(var(--section-py) * 0.55); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--blue);
}
.eyebrow-lime { color: var(--lime); }
.eyebrow-lime::before { background: var(--lime); }

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}

.italic { font-style: italic; }

/* Skip link accessibilité */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ----- Brand mark (logo SVG main) ----- */
.brand-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

/* Fallback minimal pour les anciens .brand-mark restants (footer, hero-floating) */
.brand-mark {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid var(--cream);
  border-radius: 50%;
}

/* ----- Topbar promo (au-dessus du header) ----- */
.topbar {
  background: var(--blue-deep);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  z-index: 51;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(212, 238, 107, 0.25);
  animation: pulse 2.5s ease-in-out infinite;
}
.topbar-text { color: var(--blue-pale); }
.topbar-text strong {
  background: none;
  padding: 0;
  color: var(--lime);
  font-weight: 700;
}
.topbar-text s {
  color: var(--blue-soft);
  text-decoration: line-through;
  font-weight: 400;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background .15s ease, transform .15s ease;
}
.topbar-link:hover { background: var(--lime-deep); transform: translateY(-1px); color: var(--blue); }
@media (max-width: 720px) {
  .topbar { font-size: 12.5px; padding: 8px 0; }
  .topbar-inner { gap: 10px; }
  .topbar-link { padding: 5px 12px; font-size: 12px; }
}

/* ----- Navigation ----- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 237, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav.is-scrolled { box-shadow: 0 1px 18px rgba(10,37,64,0.05); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.brand-line-1 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.brand-line-2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
@media (max-width: 600px) {
  .brand-logo { width: 38px; height: 38px; }
  .brand-line-1 { font-size: 10px; letter-spacing: 0.2em; }
  .brand-line-2 { font-size: 22px; }
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 8px rgba(10,37,64,0.18);
}
.nav-cta:hover {
  background: var(--blue-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10,37,64,0.28);
}
.nav-cta svg { width: 14px; height: 14px; }

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 14px 28px 22px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-links.is-open { max-height: 500px; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { display: none; }
}

/* ----- Boutons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-deep); color: var(--cream); transform: translateY(-1px); }
.btn-light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { background: var(--cream-soft); color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--blue); }
.btn-lime:hover { background: var(--lime-deep); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 0; }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--cream);
  padding: 12px 26px;
  border: 1px solid rgba(244, 241, 234, 0.25);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost-on-dark:hover {
  background: var(--lime);
  color: var(--blue-deep);
  border-color: var(--lime);
}
.btn-xl {
  font-size: 17px;
  padding: 18px 36px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-xl:hover { box-shadow: 0 8px 24px rgba(10,37,64,0.25); }
.btn-emoji { font-size: 18px; line-height: 1; }
.btn svg { width: 14px; height: 14px; }

/* ----- HERO ----- */
.hero {
  position: relative;
  padding-block: clamp(24px, 3vw, 44px) clamp(60px, 7vw, 100px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.hero-bg-blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 35% 35%, var(--blue-soft) 0%, var(--lime) 100%);
  top: -160px; left: -160px;
  animation: heroBlob1 22s ease-in-out infinite;
}
.hero-bg-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle at center, var(--peach) 0%, var(--butter) 100%);
  bottom: -130px; right: -130px;
  opacity: 0.55;
  animation: heroBlob2 28s ease-in-out infinite;
}
@keyframes heroBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, 50px) scale(1.05); }
  66%      { transform: translate(-30px, 20px) scale(0.95); }
}
@keyframes heroBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%      { transform: translate(-50px, -30px) scale(1.1) rotate(15deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-blob-1, .hero-bg-blob-2 { animation: none; }
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 4px rgba(212, 238, 107, 0.3);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212, 238, 107, 0.3); }
  50%      { box-shadow: 0 0 0 7px rgba(212, 238, 107, 0.15); }
}

.hero h1 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--blue); font-weight: 500; }
.hero h1 strong {
  font-weight: 600;
  background: linear-gradient(transparent 65%, var(--lime) 65%);
  padding: 0 6px;
}

.hero .sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-cta-row--xl { gap: 16px; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1;
}
.pill svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
  flex-shrink: 0;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-proof-avatars { display: flex; }
.hero-proof-avatars img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream);
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(10,37,64,0.12);
}
.hero-proof-avatars img:first-child { margin-left: 0; }
.hero-proof-text { display: flex; flex-direction: column; gap: 2px; }
.hero-proof-text .stars {
  display: inline-flex;
  gap: 2px;
  color: var(--butter);
}
.hero-proof-text .stars svg { width: 14px; height: 14px; }
.social-proof {
  font-size: 13px;
  color: var(--ink-soft);
}
.social-proof strong {
  color: var(--ink);
  background: none;
  padding: 0;
  font-weight: 600;
}

/* Hero photo : grande image solide ou diaporama de 3 photos */
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blue-wash);
  box-shadow: var(--shadow-md);
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider 3 photos — auto-rotation pure CSS */
.hero-photo-slider .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroSlideRotate 15s ease-in-out infinite;
}
.hero-photo-slider .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-slider .hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-photo-slider .hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-photo-slider .hero-slide:nth-child(3) { animation-delay: 10s; }
@keyframes heroSlideRotate {
  0%, 26%   { opacity: 0; transform: scale(1.04); }
  3%, 33%   { opacity: 1; transform: scale(1); }
  37%       { opacity: 0; transform: scale(1); }
  100%      { opacity: 0; transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-slider .hero-slide { animation: none; opacity: 0; }
  .hero-photo-slider .hero-slide.is-active { opacity: 1; }
}

/* Dots indicateurs en bas de la photo */
.hero-photo-dots {
  position: absolute;
  inset: auto 0 18px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}
.hero-photo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  animation: heroDotPulse 15s ease-in-out infinite;
}
.hero-photo-dot:nth-child(1) { animation-delay: 0s; }
.hero-photo-dot:nth-child(2) { animation-delay: 5s; }
.hero-photo-dot:nth-child(3) { animation-delay: 10s; }
@keyframes heroDotPulse {
  0%, 26%, 37%, 100% { background: rgba(255,255,255,0.45); transform: scale(1); }
  3%, 33% { background: var(--lime); transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-dot { animation: none; }
  .hero-photo-dot.is-active { background: var(--lime); }
}
.hero-photo-bubble {
  position: absolute;
  inset: auto 20px 24px 20px;
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(10,37,64,0.18);
  line-height: 1.35;
  z-index: 2;
}
.hero-photo-sticker {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  padding: 14px 10px;
  box-shadow: var(--shadow-md);
  animation: stickerFloat 5s ease-in-out infinite;
  z-index: 3;
}
.hero-photo-sticker .sticker-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1;
}
.hero-photo-sticker .sticker-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.hero-photo-sticker .sticker-over {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  font-style: italic;
  opacity: 0.65;
}
.hero-photo-sticker .sticker-stars {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
  line-height: 1;
}
@keyframes stickerFloat {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%      { transform: rotate(-8deg) translateY(-6px); }
}

/* ----- Marquee bandeau partenaires ----- */
.partners {
  background: var(--blue);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  font-weight: 600;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  align-items: center;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  white-space: nowrap;
  color: var(--cream);
  opacity: 0.85;
}
.partner-logo .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ----- Section title ----- */
.section-title {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-title .eyebrow { margin-bottom: 14px; }
.section-title h2 { margin-bottom: 18px; }
.section-title h2 em { color: var(--blue); }
.section-title .lead { margin-inline: auto; }
.section-title-on-dark h2 { color: var(--cream); }
.section-title-on-dark h2 em,
.section-title-on-dark h2 .italic,
.section-title-on-dark em { color: var(--lime); font-style: italic; }
.section-title-on-dark .lead { color: var(--blue-pale); }
.section-title-on-dark strong { color: var(--lime); background: none; padding: 0; }
.section-title-on-dark .lead a { color: var(--lime); border-bottom: 1px solid rgba(212,238,107,0.4); }
.section-title-on-dark .lead a:hover { color: var(--cream); }

/* ----- Pillars (3 grandes cards) ----- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--line-soft);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar.peach { background: var(--peach); border-color: transparent; }
.pillar.peach .ico-wrap { background: var(--paper); }
.pillar.lime { background: var(--lime); border-color: transparent; }
.pillar.lime .ico-wrap { background: var(--paper); }
.pillar.blue { background: var(--blue); border-color: transparent; color: var(--cream); }
.pillar.blue h3 { color: var(--cream); }
.pillar.blue p { color: var(--blue-pale); }
.pillar.blue .ico-wrap { background: var(--lime); color: var(--blue); }
.pillar.blue .pillar-num { color: var(--lime); }

.pillar-num {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--blue);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.ico-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--lime);
  color: var(--blue);
}
.ico-wrap svg { width: 26px; height: 26px; }
.pillar h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.pillar p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ----- Split banner (photo + texte) ----- */
.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .split-banner { grid-template-columns: 1fr; } }
.split-banner .photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blue-wash);
  box-shadow: var(--shadow-md);
}
.split-banner .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.badge-float {
  position: absolute;
  inset: auto auto 28px -28px;
  background: var(--cream);
  color: var(--blue);
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}
.badge-float svg { color: var(--blue); }
.split-banner h2 em { color: var(--blue); }

/* ----- Programme — liste des modules ----- */
.programme-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
@media (max-width: 720px) { .programme-list { grid-template-columns: 1fr; } }
.programme-list > article {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}
.programme-list > article:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}
.programme-list > article:nth-child(even) { padding-left: 32px; padding-right: 0; }
@media (max-width: 720px) {
  .programme-list > article { padding: 28px 0 !important; border-right: 0 !important; }
}
.programme-list h3 {
  font-size: 22px;
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.programme-list h3::before {
  content: attr(data-num);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.1em;
  font-weight: 700;
}
.programme-list p { font-size: 15px; color: var(--ink-soft); }

/* ----- Audience cards ----- */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .audience { grid-template-columns: 1fr; } }
.audience-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.audience-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 22px;
}
.audience-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.audience-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ----- Certifications grid ----- */
.certif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
@media (max-width: 880px) { .certif-grid { grid-template-columns: 1fr; } }
.certif-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.certif-card h3 {
  font-size: 19px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.certif-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ----- Testimonials wall (section sombre) ----- */
.testimonials-section-dark {
  background: var(--blue);
  color: var(--blue-pale);
  position: relative;
  overflow: hidden;
}
.testimonials-section-dark::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -10%;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212,238,107,0.12), transparent 65%);
  pointer-events: none;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  color: var(--butter);
  font-size: 17px;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}
.testimonial-author {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--blue-wash);
  border: 2px solid var(--blue-soft);
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  border: 2px solid var(--blue-soft);
  text-transform: uppercase;
  text-align: center;
  padding: 0;
}
.testimonial-avatar.tone-2 { background: var(--blue-deep); }
.testimonial-avatar.tone-3 { background: #5a6f6b; }
.testimonial-avatar.tone-4 { background: #8a5a4f; }
.testimonial-avatar.tone-5 { background: #6c5d8e; }
.testimonial-avatar.tone-6 { background: #4a6b8a; }
.testimonial-author strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  background: none;
  padding: 0;
}
.testimonial-author span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ----- Carousel témoignages page d'accueil ----- */
.testimonials-carousel {
  position: relative;
  margin-top: 48px;
}
.testimonials-track {
  position: relative;
  min-height: 360px;
}
.testimonials-slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.5s;
}
.testimonials-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 880px) {
  .testimonials-slide { grid-template-columns: 1fr 1fr; }
  .testimonials-track { min-height: 720px; }
}
@media (max-width: 600px) {
  .testimonials-slide { grid-template-columns: 1fr; }
  .testimonials-track { min-height: 1080px; }
}
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}
.testimonials-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.25);
  background: transparent;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.testimonials-nav-btn svg { width: 16px; height: 16px; }
.testimonials-nav-btn:hover {
  background: var(--lime);
  color: var(--blue-deep);
  border-color: var(--lime);
  transform: translateY(-1px);
}
.testimonials-dots {
  display: inline-flex;
  gap: 8px;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(244, 241, 234, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonials-dot.is-active {
  background: var(--lime);
  transform: scale(1.4);
}
.testimonials-dot:hover { background: var(--lime); }

/* ----- CTA box ----- */
.cta-box {
  background: var(--blue);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212,238,107,0.18), transparent 65%);
  pointer-events: none;
}
.cta-box * { position: relative; z-index: 1; }
.cta-eyebrow { color: var(--lime); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.cta-title { color: var(--cream); margin-bottom: 18px; }
.cta-price {
  font-family: var(--serif);
  margin-bottom: 24px;
}
.cta-price strong {
  display: block;
  font-size: clamp(40px, 4.5vw, 56px);
  color: var(--cream);
  font-weight: 600;
  background: none;
  padding: 0;
}
.cta-price span {
  font-style: italic;
  color: var(--blue-pale);
  font-size: 15px;
  margin-top: 6px;
  display: block;
}
.cta-perks {
  margin: 24px auto 30px;
  max-width: 380px;
  text-align: left;
}
.cta-perks li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  color: var(--blue-pale);
  position: relative;
}
.cta-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
.cta-perks li:last-child { border-bottom: 0; }
.cta-link {
  background: var(--lime);
  color: var(--blue);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}
.cta-link:hover {
  background: var(--lime-deep);
  transform: translateY(-1px);
  color: var(--blue);
}
.cta-redirect {
  margin-top: 18px;
  font-size: 13px;
  color: var(--blue-pale);
}
.cta-redirect a { color: var(--lime); border-bottom: 1px solid rgba(212,238,107,0.4); }

/* Variant compact (intégré dans articles, pages secondaires) */
.cta-compact {
  background: var(--cream-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  text-align: left;
  border-radius: var(--radius);
  padding: 28px;
}
.cta-compact::before { display: none; }
.cta-compact .cta-link { background: var(--blue); color: var(--cream); }
.cta-compact .cta-link:hover { background: var(--blue-deep); color: var(--cream); }
.cta-compact .cta-redirect { color: var(--ink-soft); }
.cta-compact .cta-redirect a { color: var(--blue); border-bottom-color: var(--line); }

/* ----- Stats ----- */
.hero-stats, .dark-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.dark-stats { border-color: rgba(255,255,255,0.18); }
@media (max-width: 720px) {
  .hero-stats, .dark-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 500;
}
.stat-num small {
  font-size: 0.45em;
  color: var(--blue);
  font-style: italic;
}
.dark-stats .stat-num { color: var(--cream); }
.dark-stats .stat-num small { color: var(--lime); }
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.dark-stats .stat-label { color: var(--blue-pale); }

/* ----- FAQ accordéon (redesign moderne) ----- */
.faq {
  max-width: 880px;
  margin-inline: auto;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-section-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--ink);
  margin-top: 64px;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.faq-section-title:first-of-type { margin-top: 0; }

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(10, 37, 64, 0.18);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05);
}
.faq-item[open] {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream-soft) 100%);
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px 22px 24px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 18px;
  user-select: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover { color: var(--blue); }
.faq-item[open] summary { color: var(--blue); }

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-wash);
  color: var(--blue);
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}
.faq-icon::before {
  width: 12px;
  height: 2px;
}
.faq-icon::after {
  width: 2px;
  height: 12px;
}
.faq-item[open] .faq-icon {
  background: var(--lime);
  color: var(--blue-deep);
  transform: rotate(180deg);
}
.faq-item[open] .faq-icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.faq-body {
  padding: 0 28px 26px 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  animation: faqFadeIn 0.35s ease forwards;
}
.faq-body p { margin: 0; max-width: 70ch; }
.faq-body p + p { margin-top: 12px; }
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .faq-item summary { padding: 18px 20px; font-size: 16px; gap: 12px; }
  .faq-body { padding: 0 20px 22px; font-size: 15px; }
  .faq-icon { width: 28px; height: 28px; }
  .faq-icon::before { width: 10px; }
  .faq-icon::after { height: 10px; }
}

/* ----- Article éditorial / prose ----- */
.prose {
  max-width: 1040px;
  margin-inline: auto;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose-narrow { max-width: 720px; }
.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 56px; max-width: none; }
.prose h3 { margin-top: 38px; max-width: none; }
.prose p { max-width: none; }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li { position: relative; padding: 4px 0 4px 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.prose ol { counter-reset: olc; }
.prose ol li {
  counter-increment: olc;
  position: relative;
  padding: 4px 0 4px 38px;
}
.prose ol li::before {
  content: counter(olc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.prose blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--lime);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
}
.prose a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue-soft);
}
.prose a:hover { border-bottom-color: var(--blue); }
.prose strong {
  color: var(--ink);
  font-weight: 700;
  background: none;
  padding: 0;
}

/* ----- Page hero (autres pages) ----- */
.page-hero {
  padding-block: clamp(56px, 7vw, 100px) clamp(32px, 4vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--blue-wash), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 22ch; margin: 16px auto 18px; }
.page-hero p { max-width: 62ch; margin-inline: auto; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }

/* ----- Page banner image ----- */
.page-banner-image {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0 40px;
  background: var(--blue-wash);
  box-shadow: var(--shadow-sm);
}
.page-banner-image img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Gallery polaroid ----- */
.gallery-polaroid {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  justify-content: center;
  flex-wrap: wrap;
  padding-block: 32px 50px;
}
.polaroid {
  background: var(--paper);
  padding: 14px 14px 38px;
  box-shadow: 0 14px 38px rgba(10,37,64,0.12);
  width: 220px;
  position: relative;
}
.polaroid:nth-child(1) { transform: rotate(-4deg); margin-top: 14px; }
.polaroid:nth-child(2) { transform: rotate(2deg); }
.polaroid:nth-child(3) { transform: rotate(-2deg); margin-top: 24px; }
.polaroid:nth-child(4) { transform: rotate(3deg); margin-top: 8px; }
.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.polaroid-caption {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink);
}

/* ----- Blog list ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--blue-wash);
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  gap: 10px;
  padding: 26px 26px 0;
  font-weight: 600;
}
.blog-card h2 {
  font-size: 22px;
  line-height: 1.28;
  color: var(--ink);
  padding: 0 26px;
  margin: 12px 0 0;
}
.blog-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: none;
  padding: 0 26px 30px;
  margin: 12px 0 0;
  line-height: 1.6;
}

/* ----- Pagination ----- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.pagination-prev,
.pagination-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pagination-prev svg,
.pagination-next svg {
  width: 14px; height: 14px;
}
.pagination-prev:hover,
.pagination-next:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
  transform: translateY(-1px);
}
.pagination-prev.is-disabled,
.pagination-next.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination-numbers {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pagination-num:hover {
  background: var(--blue-wash);
  border-color: var(--blue);
}
.pagination-num.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}
.pagination-meta {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ----- Article single ----- */
.article-hero {
  padding-block: 32px 28px;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.article-hero h1 { max-width: 24ch; margin: 16px auto; }
.article-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-size: 13px;
  color: var(--ink-soft);
}
.article-meta a { color: var(--blue); font-weight: 500; }
.article-image {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: 32px;
  max-width: 1000px;
  margin-inline: auto;
  box-shadow: var(--shadow-md);
}
.article-image img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Figures inline dans .prose (images + légendes) ----- */
.prose figure {
  margin: 38px 0;
  background: var(--cream-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.prose figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.prose figcaption {
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-soft);
  padding: 14px 22px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.prose figure.figure-quote {
  background: var(--blue);
  color: var(--cream);
  padding: 32px 36px;
  border: none;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  text-align: center;
}
.prose figure.figure-quote blockquote {
  margin: 0;
  font-style: italic;
}
.prose figure.figure-quote figcaption {
  background: transparent;
  border-top: 1px solid rgba(244, 241, 234, 0.2);
  margin-top: 18px;
  padding: 14px 0 0;
  color: var(--lime);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- Encadrés clés (data-box) dans .prose ----- */
.prose .key-box {
  background: linear-gradient(135deg, var(--blue-wash) 0%, var(--cream-soft) 100%);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.prose .key-box-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.prose .key-box-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}
.prose .key-box p { margin: 0; font-size: 16px; line-height: 1.6; }
.prose .key-box p + p { margin-top: 10px; }

.author-callout {
  display: flex;
  gap: 22px;
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 56px;
  align-items: center;
}
.author-callout img {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-callout strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  background: none;
  padding: 0;
}
.author-callout p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; max-width: 60ch; }
.author-callout a { color: var(--blue); border-bottom: 1px solid var(--blue-soft); }
@media (max-width: 600px) { .author-callout { flex-direction: column; text-align: center; } }

/* ----- Fin d'article : CTA + Author callout côte à côte ----- */
.article-end-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
  max-width: 1040px;
  align-items: stretch;
}
.article-end-cta { display: flex; }
.article-end-cta .cta-box,
.article-end-cta .cta-compact {
  margin: 0;
  width: 100%;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.author-callout-tight {
  margin-top: 0;
  padding: 24px 26px;
}
@media (max-width: 880px) {
  .article-end-row { grid-template-columns: 1fr; gap: 16px; }
}

.related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.related h2 { margin-bottom: 26px; text-align: center; }

/* ----- Page auteur ----- */
.author-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  padding-block: 48px;
}
@media (max-width: 720px) { .author-hero { grid-template-columns: 1fr; gap: 28px; } }
.author-hero img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--blue-wash);
  box-shadow: var(--shadow-md);
}
.author-bio p { font-size: 17px; line-height: 1.75; max-width: 60ch; }
.author-bio p + p { margin-top: 16px; }

/* ----- Contact form ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-card .eyebrow { margin-bottom: 8px; }
.contact-card .eyebrow::before { display: none; }
.contact-card p {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.form-grid {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; padding: 24px; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* ----- 404 ----- */
.page-error {
  padding-block: 80px;
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}
.page-error h1 { margin-block: 14px 18px; }
.error-links {
  margin-top: 30px;
  display: inline-block;
  text-align: left;
}
.error-links li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.error-links a { color: var(--ink); font-weight: 500; }
.error-links a::after { content: " →"; color: var(--blue); }

/* ----- Mentions YMYL ----- */
.ymyl-block {
  margin-top: 60px;
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0;
  font-size: 14px;
}
.ymyl-block summary {
  padding: 20px 26px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  list-style: none;
}
.ymyl-block summary::after {
  content: " +";
  color: var(--blue);
}
.ymyl-block[open] summary::after { content: " −"; }
.ymyl-block summary::-webkit-details-marker { display: none; }
.ymyl-body {
  padding: 4px 26px 28px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
}
.ymyl-body h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 22px;
  color: var(--blue);
}
.ymyl-body h3:first-of-type { margin-top: 16px; }
.ymyl-body p { font-size: 14px; line-height: 1.65; margin-top: 8px; max-width: 78ch; }
.ymyl-body a { color: var(--blue); border-bottom: 1px solid var(--blue-soft); }

/* ----- Sources externes ----- */
.sources {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.sources h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 700;
}
.sources li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.sources li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.sources a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ----- Pre-footer CTA ----- */
.pre-footer {
  background: var(--blue);
  color: var(--cream);
  padding-block: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}
.pre-footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.pre-footer-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.pre-footer-blob-1 {
  width: 580px; height: 580px;
  background: radial-gradient(circle at center, rgba(212,238,107,0.55), rgba(212,238,107,0.12) 50%, transparent 75%);
  top: -15%; right: -10%;
  animation: blobFloat1 16s ease-in-out infinite;
}
.pre-footer-blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at center, rgba(245,199,163,0.50), rgba(245,199,163,0.12) 50%, transparent 75%);
  bottom: -20%; left: -10%;
  animation: blobFloat2 20s ease-in-out infinite;
}
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(-60px, 50px) scale(1.1); }
  50%      { transform: translate(40px, 80px) scale(0.95); }
  75%      { transform: translate(80px, -30px) scale(1.08); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(80px, -60px) scale(1.15); }
  66%      { transform: translate(-50px, 40px) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .pre-footer-blob-1, .pre-footer-blob-2 { animation: none; }
}

.pre-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .pre-footer-grid { grid-template-columns: 1fr; } }
.pre-footer .eyebrow { color: var(--lime); }
.pre-footer .eyebrow::before { background: var(--lime); }
.pre-footer h2 {
  color: var(--cream);
  font-size: clamp(32px, 4.2vw, 50px);
  margin-block: 16px 22px;
  max-width: 22ch;
  line-height: 1.1;
}
.pre-footer h2 .italic { color: var(--lime); font-style: italic; }
.pre-footer p { color: var(--blue-pale); max-width: 50ch; font-size: 16px; line-height: 1.6; }

.pre-footer-perks {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pre-footer-perks li {
  font-size: 14px;
  color: var(--cream);
  padding-left: 26px;
  position: relative;
}
.pre-footer-perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 10px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

/* Bloc avatars + étoiles + chiffre social proof dans pre-footer */
.pre-footer-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.pre-footer-proof .hero-proof-avatars img {
  width: 44px; height: 44px;
  border: 3px solid var(--blue);
  margin-left: -12px;
}
.pre-footer-proof .hero-proof-avatars img:first-child { margin-left: 0; }
.pre-footer-proof-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--blue-pale);
}
.pre-footer-proof-text .stars {
  color: var(--butter);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.pre-footer-proof-text strong {
  color: var(--cream);
  font-weight: 700;
  background: none;
  padding: 0;
}

/* Carte CTA — claire, contraste fort */
.pre-footer-cta {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pre-footer-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-deep);
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid var(--blue);
}
.pre-footer-cta-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(212, 238, 107, 0.25);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.pre-footer-cta-price {
  font-family: var(--serif);
  line-height: 1;
  margin-bottom: 0;
}
.pre-footer-cta-was {
  display: block;
  font-size: 26px;
  color: #c94b6f;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(201, 75, 111, 0.7);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 10px;
  font-family: var(--serif);
  letter-spacing: -0.01em;
}
.pre-footer-cta-price strong {
  display: block;
  font-size: clamp(44px, 5vw, 60px);
  color: var(--blue);
  font-weight: 600;
  background: none;
  padding: 0;
  letter-spacing: -0.02em;
}
.pre-footer-cta-price small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.4;
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.pre-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--blue);
  color: var(--cream);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 16px rgba(10,37,64,0.18);
}
.pre-footer-cta-btn:hover {
  background: var(--blue-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10,37,64,0.28);
}
.pre-footer-cta-btn svg {
  width: 16px; height: 16px;
  transition: transform .15s ease;
}
.pre-footer-cta-btn:hover svg { transform: translateX(3px); }
.pre-footer-cta-redirect {
  font-size: 11px;
  color: var(--ink);
  margin-top: 14px;
  max-width: none;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.95;
}
.pre-footer-cta-redirect a {
  color: var(--blue);
  border-bottom: 1px solid rgba(10, 37, 64, 0.4);
  font-weight: 500;
}
.pre-footer-cta-redirect a:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-deep);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--blue);
  color: var(--blue-pale);
  padding-top: 72px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212,238,107,0.08), transparent 65%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-brand .brand-mark { background: var(--lime); }
.footer-brand .brand-mark::after { border-color: var(--blue); }
.footer-tagline {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 36ch;
  color: var(--blue-pale);
}
.footer-disclosure-wrap {
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  position: relative;
  z-index: 1;
}
.footer-disclosure {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 22px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--blue-pale);
  text-align: center;
}
.footer-disclosure-sep {
  display: inline-block;
  margin: 0 10px;
  color: var(--lime);
  opacity: 0.7;
}
.footer-disclosure a {
  color: var(--lime);
  border-bottom: 1px solid rgba(212,238,107,0.4);
  font-weight: 600;
}
.footer-disclosure a:hover { border-bottom-color: var(--lime); }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 18px;
}
.site-footer ul li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a { color: var(--blue-pale); }
.site-footer a:hover { color: var(--lime); }
.footer-bottom {
  padding: 24px 0 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 32px;
  align-items: baseline;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}
.footer-bottom .footer-copy { white-space: nowrap; }
.footer-bottom .footer-disclaimer,
.footer-bottom .footer-bottom-right {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  max-width: 80ch;
  line-height: 1.55;
  font-style: italic;
  text-align: right;
  justify-self: end;
}
@media (max-width: 720px) {
  .footer-bottom { grid-template-columns: 1fr; gap: 14px; padding: 24px 0 32px; }
  .footer-bottom .footer-disclaimer,
  .footer-bottom .footer-bottom-right { text-align: left; justify-self: start; }
}

/* ----- Reveal léger (CSS pur) ----- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Index des localités — drilldown hiérarchique ===== */

/* Tabs pays */
.loc-country-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-block: -28px 32px;
  position: relative;
  z-index: 5;
}
.loc-country-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  box-shadow: var(--shadow-sm);
}
.loc-country-tab small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mid);
  opacity: 0.75;
}
.loc-country-tab:hover { transform: translateY(-1px); border-color: var(--blue-soft); }
.loc-country-tab.is-active {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
}
.loc-country-tab.is-active small { color: var(--lime); opacity: 1; }
.loc-country-flag { font-size: 20px; line-height: 1; }

/* Toolbar : barre de recherche + meta */
.loc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.loc-search {
  flex: 1;
  min-width: 240px;
  max-width: 460px;
  padding: 13px 18px 13px 44px;
  background: var(--paper) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a2540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 16px center;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14.5px;
  color: var(--ink);
  font-family: var(--sans);
}
.loc-search:focus { outline: none; border-color: var(--blue); background-color: var(--paper); }
.loc-toolbar-meta {
  font-size: 13px;
  color: var(--ink-mid);
}

/* Arborescence régions */
.loc-tree {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.loc-region {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.loc-region[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-soft);
}
.loc-region.is-hidden { display: none; }
.loc-region-summary {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
}
.loc-region-summary::-webkit-details-marker { display: none; }
.loc-region-summary:hover { background: var(--cream-soft); }
.loc-region-name {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--ink);
}
.loc-region-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.loc-region-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid var(--blue-soft);
  padding-bottom: 1px;
}
.loc-region-cta:hover { color: var(--blue-deep); border-bottom-color: var(--blue); }
.loc-region-cta svg { width: 12px; height: 12px; }
.loc-region-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-wash);
  position: relative;
  flex-shrink: 0;
  transition: transform .25s ease, background .15s ease;
}
.loc-region-icon::before,
.loc-region-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: var(--blue);
  transition: transform .25s ease;
}
.loc-region-icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.loc-region-icon::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.loc-region[open] .loc-region-icon { background: var(--lime); }
.loc-region[open] .loc-region-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.loc-region-body {
  padding: 6px 20px 20px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
@media (max-width: 720px) { .loc-region-body { grid-template-columns: 1fr; } }

.loc-dept {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.loc-dept:last-child { border-bottom: 0; }
.loc-dept.is-hidden { display: none; }
.loc-dept-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.loc-dept-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.loc-dept-name:hover { color: var(--blue); }
.loc-dept-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}
.loc-dept-count {
  font-size: 11.5px;
  color: var(--ink-mid);
  font-weight: 500;
}

.loc-villes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.loc-villes-list li a {
  display: inline-block;
  padding: 5px 11px;
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.loc-villes-list li a:hover {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
}

/* Belgique / Québec : grille de cards */
.loc-villes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 880px) { .loc-villes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .loc-villes-grid { grid-template-columns: 1fr; } }
.loc-villes-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.loc-villes-card:hover {
  background: var(--cream-soft);
  border-color: var(--blue-soft);
  transform: translateY(-2px);
}
.loc-villes-card-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.loc-villes-card-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ----- Villes : sommaire d'ancres sticky ----- */
.villes-toc {
  position: sticky;
  top: 80px;
  z-index: 20;
  background: var(--cream);
  border-block: 1px solid var(--line-soft);
  padding: 14px 0;
}
.villes-toc .container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.villes-toc a {
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.villes-toc a:hover {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
}

/* Grille dense pour départements et villes (5-6 col selon largeur) */
.villes-grid-dense {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
}
@media (max-width: 1100px) { .villes-grid-dense { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 720px)  { .villes-grid-dense { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 500px)  { .villes-grid-dense { grid-template-columns: 1fr !important; } }
.villes-grid-dense .ville-card { padding: 12px 14px; }
.villes-grid-dense .ville-card-name { font-size: 14px; }
.villes-grid-dense .ville-card-meta { font-size: 11.5px; }

/* H3 dans villes-region */
.villes-region h3 {
  font-size: clamp(20px, 2vw, 26px);
  margin-block: 32px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--blue);
}

/* ----- Villes (pages PSEO) ----- */
.villes-region {
  margin-bottom: 56px;
}
.villes-region h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.villes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .villes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .villes-grid { grid-template-columns: 1fr; } }
.ville-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.ville-card:hover {
  background: var(--cream-soft);
  border-color: var(--blue-soft);
  transform: translateY(-2px);
}
.ville-card-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.ville-card-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
}

.villes-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .villes-related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .villes-related { grid-template-columns: 1fr; } }
.villes-related li a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.villes-related li a:hover {
  background: var(--cream-soft);
  border-color: var(--blue-soft);
}
.villes-related li strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  background: none;
  padding: 0;
}
.villes-related li span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ----- Cookie banner ----- */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 200;
  background: var(--blue);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 4px;
  max-width: 1100px;
}
.cookie-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--blue-pale);
  margin: 0;
  max-width: none;
  flex: 1;
}
.cookie-text strong {
  color: var(--lime);
  background: none;
  padding: 0;
  font-weight: 700;
}
.cookie-text a {
  color: var(--lime);
  border-bottom: 1px solid rgba(212,238,107,0.4);
  font-weight: 600;
}
.cookie-text a:hover { border-bottom-color: var(--lime); }
.cookie-accept {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--blue);
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.cookie-accept:hover { background: var(--lime-deep); transform: translateY(-1px); }
.cookie-accept svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .cookie-banner { inset: auto 12px 12px 12px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 8px; }
  .cookie-accept { justify-content: center; width: 100%; }
}

/* ===== PAGE /formation — Hero dark + layout 2 colonnes (style bien-etre) ===== */

.formation-hero-dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(212,238,107,0.12), transparent 50%),
    radial-gradient(circle at 15% 90%, rgba(245,199,163,0.10), transparent 55%),
    linear-gradient(180deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: var(--cream);
  padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 100px);
  position: relative;
  overflow: hidden;
}
.formation-hero-dark::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto auto;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212,238,107,0.18), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  animation: blobFloat1 22s ease-in-out infinite;
}
.formation-hero-dark::after {
  content: "";
  position: absolute;
  inset: auto auto -15% -10%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(245,199,163,0.16), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  animation: blobFloat2 26s ease-in-out infinite;
}
.formation-hero-dark > .container { position: relative; z-index: 1; }

.breadcrumb-on-dark {
  color: var(--cream);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.breadcrumb-on-dark a {
  color: var(--cream);
  font-weight: 500;
  opacity: 0.85;
  transition: opacity .15s ease, color .15s ease;
}
.breadcrumb-on-dark a:hover { color: var(--lime); opacity: 1; }
.breadcrumb-on-dark .current { color: var(--lime); font-weight: 600; }
.breadcrumb-on-dark > [aria-hidden] { color: var(--cream); opacity: 0.4; }

.formation-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  grid-template-areas:
    "title    polaroid"
    "body     polaroid";
  gap: clamp(28px, 3vw, 56px);
  align-items: start;
}
.fhg-title    { grid-area: title; }
.fhg-polaroid { grid-area: polaroid; align-self: center; }
.fhg-body     { grid-area: body; max-width: 560px; }
@media (max-width: 880px) {
  .formation-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "polaroid"
      "body";
  }
  .fhg-body { max-width: none; }
}

.fhg-title { color: var(--cream); }
.fhg-title .eyebrow-lime {
  color: var(--lime);
  margin-bottom: 16px;
}
.fhg-title .eyebrow-lime::before { background: var(--lime); }
.formation-h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-weight: 500;
}
.formation-h1 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 500;
}

/* Polaroid hero */
.fhg-polaroid {
  display: flex;
  justify-content: center;
}
.polaroid-hero {
  background: var(--paper);
  padding: 18px 18px 28px;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transform: rotate(2deg);
  border-radius: 4px;
}
.polaroid-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--blue-wash);
  border-radius: 2px;
}
.polaroid-image img,
.polaroid-image picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid-caption {
  text-align: center;
  margin-top: 20px;
  font-family: var(--serif);
  color: var(--ink);
}
.polaroid-caption strong {
  display: inline;
  font-weight: 600;
  background: linear-gradient(transparent 60%, var(--lime) 60%);
  padding: 0 4px;
  font-size: 18px;
  font-style: italic;
  letter-spacing: -0.005em;
}
.polaroid-caption small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}
.speech-bubble {
  position: absolute;
  inset: auto auto -22px 50%;
  transform: translateX(-50%) rotate(2deg);
  background: var(--blue);
  color: var(--cream);
  padding: 11px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.speech-bubble svg { color: var(--lime); }

/* fhg-body : prix, meta, CTA, rating sur fond dark */
.fhg-body { color: var(--cream); }
.formation-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--blue-pale);
  margin-bottom: 24px;
  max-width: none;
}
/* Bloc prix dans le hero formation */
.formation-price-block { margin-bottom: 24px; }
.formation-price-line-1 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 10px;
}
.formation-price-was {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
  color: #e88aa0;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(232,138,160,0.7);
  letter-spacing: -0.01em;
}
.formation-price-main {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
}
.formation-price-mention {
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}
.formation-price-sub {
  color: var(--blue-pale);
  font-size: 13.5px;
  margin: 0;
}
.formation-price-sub em {
  font-style: italic;
  color: var(--blue-pale);
}

.formation-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px 0;
  border-block: 1px solid rgba(255,255,255,0.12);
}
.formation-meta-row-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 600px) {
  .formation-meta-row, .formation-meta-row-3 { grid-template-columns: repeat(2, 1fr); }
}
.formation-meta-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.formation-meta-row .meta-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
}
.formation-meta-row .meta-value {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
}

.formation-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  width: 100%;
  letter-spacing: 0.01em;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.hero-cta-btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--lime);
  color: var(--blue);
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 20px rgba(212,238,107,0.3);
}
.hero-cta-btn-inline:hover {
  background: var(--lime-deep);
  color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212,238,107,0.4);
}
.btn-lime.hero-cta-btn {
  background: var(--lime);
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(212,238,107,0.3);
}
.btn-lime.hero-cta-btn:hover { background: var(--lime-deep); transform: translateY(-1px); color: var(--blue); }
.btn-ghost-dark.hero-cta-btn {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost-dark.hero-cta-btn:hover { background: rgba(255,255,255,0.08); color: var(--cream); }

.formation-rating-on-dark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--blue-pale);
  flex-wrap: wrap;
}
.formation-rating-value strong {
  font-family: var(--serif);
  color: var(--cream);
  font-weight: 600;
  font-size: 22px;
  background: none;
  padding: 0;
  letter-spacing: -0.01em;
}
.formation-rating-over {
  color: var(--blue-pale);
  font-style: italic;
  font-size: 14px;
}
.formation-rating-stars {
  color: var(--lime);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.formation-rating-meta {
  color: var(--blue-pale);
  font-size: 12.5px;
}

/* ===== Formation layout : Main + Sticky Sidebar ===== */
.formation-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 980px) { .formation-layout { grid-template-columns: 1fr; } }

.formation-main { min-width: 0; }
.formation-sidebar { position: sticky; top: 96px; }
@media (max-width: 980px) { .formation-sidebar { position: static; } }

/* Tabs */
.formation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 80px;
  background: var(--cream);
  padding-top: 12px;
  z-index: 10;
}
.filter-chip {
  font-family: var(--sans);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.filter-chip:hover { background: var(--cream-soft); color: var(--ink); }
.filter-chip.is-active {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
}
.formation-tab-panel { animation: tabFade 0.25s ease; }
@keyframes tabFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Learn-list (Ce que vous saurez faire) */
.learn-list {
  background: linear-gradient(180deg, #e8eef7 0%, #dbe5f0 100%);
  border: 1px solid #c9d4e3;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 36px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.learn-list h3 { color: var(--blue-deep); }
.learn-list li { color: var(--blue-deep); }
.learn-list .learn-bullet { color: var(--blue); }
.learn-list h3 {
  font-size: 22px;
  margin-bottom: 18px;
}
.learn-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.learn-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
}
.learn-bullet {
  flex-shrink: 0;
  width: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--blue);
  font-size: 18px;
}

/* Accordéons des 11 modules */
.modules-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 32px 0 48px;
}
.module-acc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.module-acc[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-soft);
}
.module-acc-summary {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
}
.module-acc-summary::-webkit-details-marker { display: none; }
.module-acc-summary::marker { display: none; content: ''; }
.module-acc-summary:hover { background: var(--cream-soft); }
.module-acc[open] .module-acc-summary { background: linear-gradient(180deg, #e8eef7 0%, #dbe5f0 100%); }

.module-acc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--lime);
  color: var(--blue);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  border-radius: 12px;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.module-acc[open] .module-acc-num {
  background: var(--blue);
  color: var(--lime);
}
.module-acc-title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.module-acc[open] .module-acc-title { color: var(--blue-deep); }
.module-acc-meta {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 700;
  white-space: nowrap;
}
.module-acc[open] .module-acc-meta { color: var(--blue); }
.module-acc-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream-soft);
  position: relative;
  flex-shrink: 0;
  transition: background .2s ease, transform .25s ease;
}
.module-acc-icon::before,
.module-acc-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: var(--blue);
  transition: transform .25s ease, background .15s ease;
}
.module-acc-icon::before { width: 12px; height: 1.8px; transform: translate(-50%, -50%); }
.module-acc-icon::after  { width: 1.8px; height: 12px; transform: translate(-50%, -50%); }
.module-acc[open] .module-acc-icon { background: var(--blue); }
.module-acc[open] .module-acc-icon::before,
.module-acc[open] .module-acc-icon::after { background: var(--lime); }
.module-acc[open] .module-acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.module-acc-body {
  padding: 4px 22px 22px 82px;
  border-top: 1px solid var(--line-soft);
}
.module-acc-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: none;
  margin: 14px 0 0;
}
@media (max-width: 600px) {
  .module-acc-summary { grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px 16px; }
  .module-acc-num { width: 38px; height: 38px; font-size: 15px; }
  .module-acc-meta { display: none; }
  .module-acc-body { padding: 4px 16px 18px 16px; }
}

/* Editorial image */
.editorial-image {
  margin: 40px 0;
}
.editorial-image-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--blue-wash);
}
.editorial-image-wrap img,
.editorial-image-wrap picture { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Programme modules h3 + cards */
.programme-modules-h {
  font-size: 24px;
  margin: 48px 0 22px;
}
.programme-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .programme-modules { grid-template-columns: 1fr; } }
.bei-module-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}
.bei-module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bei-module-card-highlight {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--cream);
}
.bei-module-card-highlight h3 { color: var(--cream); }
.bei-module-card-highlight p { color: var(--blue-pale); }
.bei-module-card-highlight .bei-module-num { background: var(--lime); color: var(--blue); }
.bei-module-card-highlight .bei-module-weeks { color: var(--lime); }
.bei-module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.bei-module-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--cream);
  width: 36px; height: 36px;
  border-radius: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
}
.bei-module-weeks {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.bei-module-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.bei-module-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: none;
}

/* Sections SEO + pull quote */
.seo-section {
  margin: 48px 0;
}
.seo-section h3 {
  font-size: 26px;
  margin: 12px 0 16px;
}
.seo-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: none;
  margin-bottom: 16px;
}
.seo-section strong { color: var(--ink); background: none; padding: 0; font-weight: 700; }

.pull-quote {
  background: linear-gradient(180deg, #e8eef7 0%, #dbe5f0 100%);
  border-left: 4px solid var(--blue);
  padding: 28px 32px;
  margin: 40px 0;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.pull-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--blue-deep);
  margin-bottom: 14px;
  max-width: none;
}
.pull-quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.seo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0;
}
@media (max-width: 720px) { .seo-split { grid-template-columns: 1fr; } }
.seo-split h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.seo-split p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: none;
}

/* Check-list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.check-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
}
.check-bullet {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stats-block {
  margin: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.stat-card .stat-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--blue);
  line-height: 1;
  font-weight: 600;
}
.stat-card .stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 8px;
}

/* Sidebar card sticky */
.formation-sidebar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.formation-sidebar-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}
.formation-sidebar-proof .hero-proof-avatars img {
  width: 32px; height: 32px;
  border: 2px solid var(--paper);
}
.formation-sidebar-proof > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.formation-sidebar-proof .stars {
  color: var(--butter);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.formation-sidebar-proof small {
  font-size: 11.5px;
  color: var(--ink-soft);
}

/* ----- Formation hero (page /formation : double colonne avec carte prix) ----- */
.formation-hero {
  position: relative;
  padding-block: clamp(28px, 4vw, 56px) clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.formation-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.formation-hero > .container { position: relative; z-index: 1; }
.formation-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 980px) {
  .formation-hero-grid { grid-template-columns: 1fr; }
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue-deep); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.formation-hero-copy h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.formation-hero-copy h1 em { color: var(--blue); font-weight: 500; }
.formation-hero-copy h1 strong {
  background: linear-gradient(transparent 65%, var(--lime) 65%);
  padding: 0 4px;
  font-weight: 600;
  color: var(--ink);
}
.formation-hero-copy .sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 28px;
}

.formation-hero-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  max-width: 580px;
}
@media (max-width: 600px) { .formation-hero-perks { grid-template-columns: 1fr; } }
.formation-hero-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.formation-hero-perks li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  padding: 4px;
  background: var(--lime);
  color: var(--blue);
  border-radius: 50%;
  box-sizing: content-box;
}
.formation-hero-perks li strong {
  color: var(--ink);
  background: none;
  padding: 0;
  font-weight: 700;
}

/* Carte prix sticky à droite */
.formation-hero-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
@media (max-width: 980px) {
  .formation-hero-card { position: static; }
}
.formation-hero-card-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.formation-hero-card-price {
  font-family: var(--serif);
  line-height: 1;
  margin-bottom: 0;
}
.formation-hero-card-was {
  display: block;
  font-size: 26px;
  color: #c94b6f;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(201,75,111,0.7);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.formation-hero-card-price strong {
  display: block;
  font-size: clamp(40px, 4.5vw, 56px);
  color: var(--blue);
  font-weight: 600;
  background: none;
  padding: 0;
  letter-spacing: -0.02em;
}
.formation-hero-card-price small {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 10px;
  font-weight: 400;
}
.formation-hero-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
  padding: 16px 22px;
  background: var(--blue);
  color: var(--cream);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 16px rgba(10,37,64,0.18);
}
.formation-hero-card-btn:hover {
  background: var(--blue-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10,37,64,0.28);
}
.formation-hero-card-btn svg { width: 16px; height: 16px; }
.formation-hero-card-perks {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.formation-hero-card-perks li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}
.formation-hero-card-perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 14px; height: 9px;
  border-left: 2px solid var(--lime-deep);
  border-bottom: 2px solid var(--lime-deep);
  transform: rotate(-45deg);
}
.formation-hero-card-redirect {
  font-size: 11.5px;
  color: var(--ink);
  margin-top: 18px;
  font-weight: 500;
}
.formation-hero-card-redirect a {
  color: var(--blue);
  border-bottom: 1.5px solid var(--blue);
  font-weight: 700;
}

/* ----- Modules cards (page /formation) ----- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .modules-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules-grid { grid-template-columns: 1fr; } }
.module-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-soft);
}
.module-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--blue);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 22px;
}
.module-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.module-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: none;
}

/* ----- Tag / chip ----- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--blue-wash);
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ----- Quote banner ----- */
.quote-banner {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  padding: clamp(40px, 5vw, 70px);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-block: 32px;
  box-shadow: var(--shadow-sm);
}
.quote-banner blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  color: var(--ink);
  font-style: italic;
  max-width: 26ch;
  margin-inline: auto;
  position: relative;
}
.quote-banner blockquote::before {
  content: "\201C";
  font-size: 4em;
  color: var(--lime);
  position: absolute;
  inset: -0.4em auto auto -0.4em;
  line-height: 1;
}
.quote-banner cite {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 600;
}
