﻿/* ═══════════════════════════════════════════════════════════════════
   MILOKAN — CONCEPT 1 : RACINES CHAUDES
   Design associatif moderne · Terracotta & crème · Sérif + Sans
   Compatible avec tous les fichiers HTML existants du site Milokan
   ═══════════════════════════════════════════════════════════════════
   INSTALLATION :
   1. Remplacez le bloc <style> de chaque page par :
      <link rel="stylesheet" href="style.css">
   2. Ajoutez dans le <head> de chaque page :
      <link rel="preconnect" href="https://fonts.googleapis.com">
      <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;1,9..144,300;1,9..144,400&family=DM+Sans:wght@300;400;500;600&display=swap" rel="stylesheet">
   ═══════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────
   PRELOADER
   ───────────────────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #161412;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }

#svg-spinner {
  width: 64px;
  height: 64px;
  animation: preloader-rotate 1.2s linear infinite;
}
@keyframes preloader-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────────────
   1. VARIABLES & RESET
   ───────────────────────────────────────────────────────────────── */

:root {
  /* Palette principale */
  --coral:        #c02b2b;
  --coral-light:  #d85757;
  --coral-pale:   rgba(192, 43, 43, 0.10);
  --coral-glow:   rgba(192, 43, 43, 0.18);
  --gold:         #1f3f7a;
  --teal:         #2f6fae;
  --teal-pale:    rgba(47, 111, 174, 0.10);

  /* Fond & surfaces */
  --bg:           #f5f0ea;
  --bg-alt:       #ede7df;
  --overlay-dark: rgba(16, 14, 12, 0.97);
  --card:         #ffffff;
  --card-hover:   #ffffff;

  /* Texte */
  --fg:           #201c18;
  --fg-mid:       #332e29;
  --muted:        #6b6660;
  --muted-light:  #948d84;

  /* Ombres */
  --shadow-xs:    0 1px 4px rgba(28, 26, 24, 0.06);
  --shadow-sm:    0 3px 12px rgba(28, 26, 24, 0.08);
  --shadow-md:    0 8px 28px rgba(28, 26, 24, 0.11);
  --shadow-lg:    0 16px 48px rgba(28, 26, 24, 0.14);
  --shadow-coral: 0 8px 28px rgba(192, 43, 43, 0.22);

  /* Bordures */
  --border:       rgba(28, 26, 24, 0.10);
  --border-mid:   rgba(28, 26, 24, 0.15);
  --border-coral: rgba(192, 43, 43, 0.25);

  /* Typographie */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Espacements & rayons */
  --radius-sm:    0.5rem;
  --radius:       0.85rem;
  --radius-lg:    1.25rem;
  --radius-xl:    1.75rem;
  --radius-pill:  999px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --duration:     0.25s;
}

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

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

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a, button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}


/* ─────────────────────────────────────────────────────────────────
   2. BASE TYPOGRAPHIQUE
   ───────────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 1rem;
  font-weight: 400;
  padding-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.2rem; }

p { color: var(--fg-mid); }

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover { color: var(--coral-light); }

/* Scrollbar — état normal */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.08); }
::-webkit-scrollbar-thumb {
  background: rgba(192, 43, 43, 0.5);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--coral); }

/* Scrollbar — état survolé (classe ajoutée par JS) */
html.scrollbar-hover::-webkit-scrollbar { width: 50px; }
html.scrollbar-hover::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 99px; }
html.scrollbar-hover::-webkit-scrollbar-thumb {
  background: var(--coral);
  border-radius: 99px;
  box-shadow: 0 0 14px rgba(192, 43, 43, 0.6);
}


/* ─────────────────────────────────────────────────────────────────
   3. ANIMATIONS KEYFRAMES
   ───────────────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@keyframes waveBar {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.3); }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.fade-up { animation: fadeUp 0.7s var(--ease) both; }


/* ─────────────────────────────────────────────────────────────────
   4. NAVBAR
   ───────────────────────────────────────────────────────────────── */

nav.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: rgba(28, 26, 24, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 70px;
  border-bottom: 1px solid rgba(192, 43, 43, 0.15);
  transition: box-shadow var(--duration) var(--ease);
}

nav.topnav:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

nav.topnav .logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.35rem;
  color: #f5f0ea;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav.topnav .logo em {
  font-style: italic;
  color: var(--coral);
}

nav.topnav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

nav.topnav ul a {
  color: rgba(245, 240, 234, 0.7);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--duration) var(--ease);
  position: relative;
  padding-bottom: 2px;
}

nav.topnav ul a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--coral);
  transition: width var(--duration) var(--ease);
}

nav.topnav ul a:hover {
  color: #f5f0ea;
}

nav.topnav ul a:hover::after {
  width: 100%;
}

.btn-don {
  background: var(--coral) !important;
  color: white !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 16px rgba(192, 43, 43, 0.30) !important;
  transition: all var(--duration) var(--ease) !important;
}

.btn-don:hover {
  background: var(--coral-light) !important;
  box-shadow: 0 6px 22px rgba(192, 43, 43, 0.40) !important;
  transform: translateY(-1px) !important;
  color: white !important;
}

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  z-index: 1002;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: #f5f0ea;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop de navigation mobile */
.nav-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Lien actif dans la nav */
nav.topnav ul a.active {
  color: var(--coral-light);
}
nav.topnav ul a.active::after {
  width: 100%;
}

/* ── BREADCRUMB ───────────────────────────────────────────────── */
nav.breadcrumb {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 2.5rem;
  margin-top: 70px;
  background: rgba(22, 20, 18, 0.6);
  border-bottom: 1px solid rgba(192, 43, 43, 0.1);
  font-family: var(--font-body);
  font-size: 0.78rem;
}
nav.breadcrumb a {
  color: rgba(245, 240, 234, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
nav.breadcrumb a:hover {
  color: var(--coral-light);
}
nav.breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}
nav.breadcrumb .bc-current {
  color: #fff;
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────
   5. HERO (page d'accueil)
   ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://res.cloudinary.com/dlje208gt/image/upload/v1773332811/0b544531-5e34-4fe4-97eb-660c926f81b1_oeksfx.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.85);
  transform: scale(1.1);
}

.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('https://res.cloudinary.com/dlje208gt/image/upload/v1773332811/0b544531-5e34-4fe4-97eb-660c926f81b1_oeksfx.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-bg-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    150deg,
    rgba(21, 19, 17, 0.55) 0%,
    rgba(32, 30, 28, 0.40) 50%,
    rgba(21, 19, 17, 0.45) 100%
  );
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    150deg,
    rgba(21, 19, 17, 0.82) 0%,
    rgba(32, 30, 28, 0.70) 50%,
    rgba(21, 19, 17, 0.65) 100%
  );
}

/* Cercle décoratif flottant */
.hero-bg::after {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 43, 43, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
  animation: fadeUp 0.9s var(--ease) both;
}
.hero-intro-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: stretch;
  padding: 1.5rem 2.5rem 2rem;
  text-align: left;
}
.hero .hero-intro-wrap p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 234, 0.90);
  line-height: 1.85;
  margin: 0 0 1rem 0;
  max-width: none;
  text-align: left;
  letter-spacing: 0.01em;
  animation: none;
}
.hero .hero-intro-wrap p:last-child { margin-bottom: 0; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(192, 43, 43, 0.30);
  border-radius: var(--radius-pill);
  background: rgba(192, 43, 43, 0.08);
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f5f0ea;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero h1 .gradient {
  font-style: italic;
  font-weight: 300;
  color: var(--coral);
  background: none;
  -webkit-text-fill-color: var(--coral);
}


.hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(245, 240, 234, 0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.72;
  animation: fadeUp 0.7s var(--ease) 0.35s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease) 0.5s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 1.5rem; height: 2.5rem;
  border: 1.5px solid rgba(245, 240, 234, 0.30);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.35rem;
  animation: bounce 1.8s ease-in-out infinite;
}

.scroll-dot {
  width: 0.35rem; height: 0.6rem;
  background: rgba(245, 240, 234, 0.55);
  border-radius: var(--radius-pill);
}


/* ─────────────────────────────────────────────────────────────────
   6. BOUTONS GLOBAUX
   ───────────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(192, 43, 43, 0.32);
  transition: all var(--duration) var(--ease);
}

.btn-primary:hover {
  background: var(--coral-light);
  box-shadow: 0 8px 28px rgba(192, 43, 43, 0.42);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #f5f0ea;
  border: 1.5px solid rgba(245, 240, 234, 0.30);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn-outline:hover {
  border-color: rgba(245, 240, 234, 0.60);
  background: rgba(245, 240, 234, 0.08);
  color: #f5f0ea;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(192, 43, 43, 0.28);
  transition: all var(--duration) var(--ease);
}

.btn-back:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
  color: white;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.5rem;
  background: var(--coral);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(192, 43, 43, 0.32);
  transition: all var(--duration) var(--ease);
}

.btn-submit:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192, 43, 43, 0.40);
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--coral);
  color: white;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}

.btn-map:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
  color: white;
}


/* ─────────────────────────────────────────────────────────────────
   7. SECTIONS — STRUCTURE COMMUNE
   ───────────────────────────────────────────────────────────────── */

section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.85rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 1rem;
  color: var(--fg);
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.72;
}


/* ─────────────────────────────────────────────────────────────────
   8. SECTION NOUS CONNAÎTRE
   ───────────────────────────────────────────────────────────────── */

.nous-connaitre {
  position: relative;
  overflow: hidden;
  color: #f5f0ea;
}

.nc-bg {
  position: absolute; inset: 0;
  background-image: url('https://res.cloudinary.com/dlje208gt/image/upload/v1773735850/WhatsApp_Image_2026-03-05_at_15.28.04_1_niz0mj.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.85);
  transform: scale(1.1);
}

.nc-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    150deg,
    rgba(21, 19, 17, 0.82) 0%,
    rgba(32, 30, 28, 0.70) 50%,
    rgba(21, 19, 17, 0.65) 100%
  );
}

.nc-bg-img {
  position: absolute; inset: 0;
  background-image: url('https://res.cloudinary.com/dlje208gt/image/upload/v1773735850/WhatsApp_Image_2026-03-05_at_15.28.04_1_niz0mj.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.nc-bg-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    150deg,
    rgba(21, 19, 17, 0.55) 0%,
    rgba(32, 30, 28, 0.40) 50%,
    rgba(21, 19, 17, 0.45) 100%
  );
}

.nous-connaitre .eyebrow { color: var(--coral); }
.nous-connaitre .section-title { color: #f5f0ea; }
.nous-connaitre .section-desc {
  color: rgba(245, 240, 234, 0.65);
  margin-bottom: 1.5rem;
}

.nc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.nc-card {
  background: rgba(192, 43, 43, 0.07);
  border: 1px solid rgba(192, 43, 43, 0.18);
  color: #2a2826;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--duration) var(--ease);
  cursor: default;
}

.nc-card:hover {
  border-color: rgba(192, 43, 43, 0.35);
  background: rgba(192, 43, 43, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.20);
}

.pillar-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.85rem;
  background: rgba(192, 43, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: background var(--duration) var(--ease);
}

.nc-card:hover .pillar-icon {
  background: rgba(192, 43, 43, 0.22);
}

.nc-card h3 {
  color: #f5f0ea;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.nc-card p {
  color: rgba(245, 240, 234, 0.60);
  font-size: 0.95rem;
  line-height: 1.68;
}

/* Bloc identité formateur */
.nc-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: rgba(245, 240, 234, 0.04);
  border: 1px solid rgba(245, 240, 234, 0.09);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: border-color var(--duration) var(--ease);
}

.nc-identity:hover {
  border-color: rgba(192, 43, 43, 0.25);
}

.nc-identity img {
  width: 9rem; height: 9rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(192, 43, 43, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
  flex-shrink: 0;
}

.nc-identity h3 {
  color: #f5f0ea;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.nc-identity p {
  color: rgba(245, 240, 234, 0.62);
  line-height: 1.72;
  margin-bottom: 0.75rem;
}


/* ─────────────────────────────────────────────────────────────────
   9. SECTION GALERIE / ÉVÉNEMENTS
   ───────────────────────────────────────────────────────────────── */

.gallery {
  background-image: url('https://res.cloudinary.com/dlje208gt/image/upload/v1773590751/ChatGPT_Image_15_mars_2026_17_04_28_joc89f.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery .section-title,
.gallery .section-desc { color: #ffffff; }
.gallery .eyebrow { color: var(--coral); }

.gallery .section-header { margin-top: -2rem; }

/* Filtres */
.filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border-mid);
  background: var(--card);
  color: var(--muted);
  transition: all var(--duration) var(--ease);
}

.filter-btn:hover {
  color: var(--fg);
  border-color: var(--border-coral);
}

.filter-btn.active {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
  box-shadow: 0 4px 14px rgba(192, 43, 43, 0.28);
}

/* Grille médias */
.media-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.media-grid .media-card {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 280px;
}

.media-card[data-type] {
  position: relative;
}

.media-card[data-type]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 14, 12, 0.45);
  border-radius: inherit;
  z-index: 0;
}

.media-card[data-type] .media-info {
  position: relative;
  z-index: 1;
}

.media-card[data-type] .media-info h3,
.media-card[data-type] .media-info p {
  color: #ffffff;
}

.media-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow-xs);
}

.media-card:hover {
  border-color: var(--border-coral);
  box-shadow: 0 12px 40px rgba(192, 43, 43, 0.14);
  transform: translateY(-5px);
  color: inherit;
}

.media-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  background: var(--bg-alt);
}

.badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(28, 26, 24, 0.70);
  color: rgba(245, 240, 234, 0.90);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.waveform {
  position: absolute;
  bottom: 0.6rem; left: 0.75rem; right: 0.75rem;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
}

.wave-bar {
  flex: 1;
  background: rgba(192, 43, 43, 0.50);
  border-radius: 2px;
  animation: waveBar 1.3s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s;    height: 40%; }
.wave-bar:nth-child(2) { animation-delay: 0.1s;  height: 75%; }
.wave-bar:nth-child(3) { animation-delay: 0.2s;  height: 55%; }
.wave-bar:nth-child(4) { animation-delay: 0.3s;  height: 90%; }
.wave-bar:nth-child(5) { animation-delay: 0.4s;  height: 60%; }
.wave-bar:nth-child(6) { animation-delay: 0.05s; height: 35%; }
.wave-bar:nth-child(7) { animation-delay: 0.15s; height: 80%; }
.wave-bar:nth-child(8) { animation-delay: 0.25s; height: 50%; }
.wave-bar:nth-child(9) { animation-delay: 0.35s; height: 85%; }
.wave-bar:nth-child(10){ animation-delay: 0.45s; height: 45%; }

.media-info {
  padding: 1.4rem 1.5rem 1.6rem;
}

.media-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  transition: color var(--duration) var(--ease);
  font-family: var(--font-display);
  color: var(--fg);
}

.media-card:hover .media-info h3 {
  color: var(--coral);
}

.media-info p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.58;
}

/* ─ Cards galerie sous-pages (cat-card) ─ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cat-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-coral);
  border-color: var(--border-coral);
  color: inherit;
}

.cat-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.cat-count {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: rgba(28, 26, 24, 0.65);
  color: #f5f0ea;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.cat-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.cat-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--fg);
  transition: color var(--duration) var(--ease);
}

.cat-card:hover .cat-body h3 { color: var(--coral); }

.cat-body p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}


/* ─────────────────────────────────────────────────────────────────
   10. SECTION RÉSEAUX SOCIAUX
   ───────────────────────────────────────────────────────────────── */

.social {
  background: var(--fg);
  color: #f5f0ea;
}

.social .section-inner { max-width: 100%; padding-left: 2rem; padding-right: 2rem; }
.social .eyebrow { color: var(--coral); }
.social .section-title { color: #f5f0ea; }
.social .section-desc { color: rgba(245, 240, 234, 0.60); }

/* ── Boutons sociaux animés ── */
.social-btns-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  width: 100%;
  margin: 0 auto;
}

.soc-brand {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  transition: opacity 500ms ease;
}

.soc-brand:hover { opacity: 0.85; }

.soc-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.soc-icon-span {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.30);
  height: 100%;
  width: 25%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 500ms ease;
}

.soc-icon-span i {
  color: #fff;
  font-size: 1.35em;
  transition: transform 500ms ease;
  position: static;
}

.soc-text {
  color: #fff;
  margin-left: 28%;
  transition: transform 500ms ease;
}

.soc-brand:hover .soc-icon-span   { transform: translateX(100px); }
.soc-brand:hover .soc-icon-span i { transform: rotateX(360deg); }
.soc-brand:hover .soc-text        { transform: translateX(-52px); }

/* Couleurs réseaux */
.soc-facebook  { background: linear-gradient(135deg, #1877F2, #3b5998); }
.soc-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.soc-youtube   { background: linear-gradient(135deg, #FF0000, #cc0000); }
.soc-tiktok    { background: linear-gradient(135deg, #010101, #69C9D0, #EE1D52); }
.soc-telegram  { background: linear-gradient(135deg, #26A5E4, #1a7db5); }


/* ─────────────────────────────────────────────────────────────────
   11. SECTION WEBRADIO
   ───────────────────────────────────────────────────────────────── */

.webradio {
  position: relative;
  overflow: hidden;
  background-image: url('https://res.cloudinary.com/dlje208gt/image/upload/v1773738719/ChatGPT_Image_17_mars_2026_10_11_23_n30gkl.png');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.webradio::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    var(--overlay-dark) 0%,
    rgba(21, 19, 17, 0.72) 22%,
    rgba(32, 30, 28, 0.58) 55%,
    rgba(21, 19, 17, 0.70) 100%
  );
}

.webradio::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  z-index: 1;
  pointer-events: none;
}

.webradio .section-inner {
  max-width: 48rem;
  position: relative;
  z-index: 2;
}

.webradio .eyebrow { color: var(--coral); }
.webradio .section-title { color: #f5f0ea; }
.webradio .section-desc { color: rgba(245, 240, 234, 0.80); }

.radio-icon-wrap {
  width: 5rem; height: 5rem;
  border-radius: var(--radius);
  background: rgba(192, 43, 43, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  border: 1.5px solid rgba(192, 43, 43, 0.20);
}

.radio-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  background: var(--fg);
}

.radio-embed iframe {
  display: block;
  width: 100%;
  height: 120px;
}


/* ─────────────────────────────────────────────────────────────────
   12. SECTION DON
   ───────────────────────────────────────────────────────────────── */

.donation {
  position: relative;
  overflow: hidden;
  background-image: url('https://res.cloudinary.com/dlje208gt/image/upload/v1773740179/ChatGPT_Image_17_mars_2026_10_35_39_hszqu4.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: 18rem;
  padding-bottom: 6rem;
  scroll-margin-top: 14rem;
}

.donation::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    var(--overlay-dark) 0%,
    rgba(21, 19, 17, 0.72) 25%,
    rgba(32, 30, 28, 0.55) 60%,
    rgba(21, 19, 17, 0.70) 100%
  );
}

.donation .section-inner {
  position: relative;
  z-index: 1;
}

.donation .section-title { color: #f5f0ea; }
.donation p {
  color: rgba(245, 240, 234, 0.80);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.72;
}

.heart-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1.5rem;
}


/* ─────────────────────────────────────────────────────────────────
   13. SECTION CONTACT
   ───────────────────────────────────────────────────────────────── */

.contact {
  background: var(--bg-alt);
}

.contact-form-wrap {
  max-width: 50rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.form-row, .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-mid);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(192, 43, 43, 0.14);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-light);
}

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

.form-submit {
  text-align: center;
  margin-top: 0.5rem;
}

/* Contact page layout */
.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.info-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.info-row:last-child { border-bottom: none; }

.info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.15rem;
}

.info-value {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.5;
}

.info-value a {
  color: var(--coral);
}

.horaires-table {
  width: 100%;
  font-size: 0.9rem;
  border-collapse: collapse;
}

.horaires-table tr {
  border-bottom: 1px solid var(--border);
}

.horaires-table tr:last-child { border-bottom: none; }

.horaires-table td {
  padding: 0.6rem 0;
  color: var(--fg-mid);
}

.horaires-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--coral);
}

.horaires-table .ferme {
  color: var(--muted);
  font-weight: 400;
}

.map-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.map-footer {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.map-address {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xs);
}

.form-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}


/* ─────────────────────────────────────────────────────────────────
   14. PAGES FORMATIONS
   ───────────────────────────────────────────────────────────────── */

/* Hero sous-pages */
.hero-icon {
  font-size: 4rem;
  margin-bottom: 1.25rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.20));
}

/* Container pages internes */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

/* Grille infos formation */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration) var(--ease);
}

.info-card:hover {
  border-color: var(--border-coral);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.info-card .icon { font-size: 1.75rem; }

.info-card .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.info-card .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  font-family: var(--font-display);
}

/* Blocs de section */
.section-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.section-block h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid rgba(192, 43, 43, 0.15);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-block h2::before {
  content: '';
  display: inline-block;
  width: 3px; height: 1.1em;
  background: var(--coral);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-block p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.section-block p + p { margin-top: 0.75rem; }

/* Liste programme */
.programme-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.programme-list li {
  padding: 0.55rem 0.75rem;
  background: rgba(192, 43, 43, 0.05);
  border-left: 2.5px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--fg-mid);
  line-height: 1.5;
}

/* Tags */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid transparent;
}

.tag-coral {
  background: rgba(192, 43, 43, 0.10);
  color: #8a1f1f;
  border-color: rgba(192, 43, 43, 0.22);
}

.tag-green {
  background: rgba(47, 111, 174, 0.10);
  color: #1d4e78;
  border-color: rgba(47, 111, 174, 0.22);
}

.tag-gold {
  background: rgba(31, 63, 122, 0.10);
  color: #17305e;
  border-color: rgba(31, 63, 122, 0.22);
}

/* CTA formation */
.cta-section {
  background: rgba(192, 43, 43, 0.05);
  border: 1.5px solid rgba(192, 43, 43, 0.20);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  margin-top: 2rem;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Formation cards (index) */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.formation-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}

.formation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-coral);
  color: inherit;
}

.card-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.card-thumb.vendredi { background: linear-gradient(135deg, #1b1917, #2d2b29); }
.card-thumb.chants   { background: linear-gradient(135deg, #343230, #2a2826); }
.card-thumb.tambour  { background: linear-gradient(135deg, #242220, #363432); }

.card-body { padding: 1.5rem; }

.card-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 0.5rem;
}

.card-body h3,
.card-body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card-body p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--coral);
  transition: gap var(--duration) var(--ease);
}

.formation-card:hover .card-arrow { gap: 0.7rem; }


/* ─────────────────────────────────────────────────────────────────
   15. PAGES LÉGALES (mentions légales, plan du site)
   ───────────────────────────────────────────────────────────────── */

/* Héros sombre pour les sous-pages */
.hero[style*="background:#1b1917"],
.hero[style*="background:var(--primary)"] {
  background: var(--fg) !important;
}

/* Listes plan du site */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sitemap-block {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.sitemap-block h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sitemap-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.sitemap-links li { font-size: 0.9rem; }

.sitemap-links li a {
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--duration) var(--ease);
}

.sitemap-links li a:hover { color: var(--coral); }
.sitemap-links li a::before { content: '→'; color: var(--coral); font-size: 0.75rem; flex-shrink: 0; }
.sitemap-links li:last-child a { border-bottom: none; }
.sitemap-links .sub { padding-left: 1.25rem; font-size: 0.85rem; color: var(--muted); }
.sitemap-links .sub a { color: var(--muted); }
.sitemap-links .sub a::before { content: '↳'; color: var(--muted); }

/* Mentions légales — blocs */
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.info-list li {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  display: flex;
  gap: 0.5rem;
}

.info-list li strong {
  color: var(--fg);
  min-width: 140px;
  flex-shrink: 0;
}

.info-list li a { color: var(--coral); }
.info-list li a:hover { text-decoration: underline; }


/* ─────────────────────────────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--fg);
  color: rgba(245, 240, 234, 0.62);
  font-size: 0.875rem;
  margin-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding: 3.5rem 3.5rem 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: #f5f0ea;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.footer-logo em {
  font-style: italic;
  color: var(--coral);
}

.footer-desc {
  line-height: 1.75;
  margin-bottom: 0.6rem;
  color: rgba(245, 240, 234, 0.52);
  font-size: 0.85rem;
}

.footer-legal-tag {
  font-size: 0.75rem;
  color: rgba(245, 240, 234, 0.32);
  font-style: italic;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
  display: block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li a {
  color: rgba(245, 240, 234, 0.58);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--duration) var(--ease);
}

.footer-links li a:hover { color: #f5f0ea; }

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer-contact li a { color: var(--coral); text-decoration: none; }
.footer-contact li a:hover { text-decoration: underline; }

.footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: rgba(245, 240, 234, 0.42);
  line-height: 1.6;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(245, 240, 234, 0.07);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 234, 0.07);
  padding: 1.35rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245, 240, 234, 0.32);
}

.footer-bottom-nav { display: flex; gap: 1.5rem; }

.footer-bottom-nav a {
  color: rgba(245, 240, 234, 0.42);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color var(--duration) var(--ease);
}

.footer-bottom-nav a:hover { color: #f5f0ea; }

.footer-membres-btn {
  margin-left: auto;
  margin-right: 4rem;
  color: rgba(245, 240, 234, 0.75);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(245, 240, 234, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: rgba(245, 240, 234, 0.07);
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease), background var(--duration) var(--ease);
  white-space: nowrap;
}
.footer-membres-btn:hover {
  color: #f5f0ea;
  border-color: rgba(245, 240, 234, 0.65);
  background: rgba(245, 240, 234, 0.13);
}

/* Badges de construction */
.footer-hours a[style*="background:#e53935"],
a[style*="background:#e53935"] {
  background: rgba(192, 43, 43, 0.80) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: white !important;
  padding: 0.3rem 0.85rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-top: 0.5rem !important;
  transition: background var(--duration) var(--ease) !important;
}


/* ─────────────────────────────────────────────────────────────────
   17. RADIO BAR PERSISTANTE
   ───────────────────────────────────────────────────────────────── */

.radio-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  animation: slideUp 0.5s var(--ease) 2s both;
}

.radio-bar-header {
  background: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid rgba(192, 43, 43, 0.18);
}

.radio-bar-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f5f0ea;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.5s infinite;
}

.radio-bar-actions { display: flex; align-items: center; gap: 0.25rem; }

.radio-bar-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245, 240, 234, 0.55);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
  font-size: 1rem;
  line-height: 1;
}

.radio-bar-btn:hover {
  color: #f5f0ea;
  background: rgba(245, 240, 234, 0.08);
}

.radio-bar-iframe {
  display: block;
  width: 100%;
  height: 80px;
  border: none;
  background: #151311;
}

.radio-bar.minimized .radio-bar-iframe { display: none; }

.radio-fab {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 200;
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--coral);
  color: white;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(192, 43, 43, 0.38);
  animation: fadeUp 0.4s var(--ease) both;
  transition: background var(--duration) var(--ease);
}

.radio-fab:hover { background: var(--coral-light); }
.radio-fab.show { display: flex; }

/* ── RETOUR EN HAUT ── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: none;
  background: var(--coral);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(192,43,43,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--coral-light); transform: translateY(-3px); }

.radio-fab-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: white;
  animation: pulse 1.5s infinite;
}

/* Breadcrumb navigation sous-pages */
nav:not(.topnav):not(.footer-bottom-nav) {
  background: var(--fg);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

nav:not(.topnav):not(.footer-bottom-nav) a {
  color: rgba(245, 240, 234, 0.65);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: color var(--duration) var(--ease);
}

nav:not(.topnav):not(.footer-bottom-nav) a:hover { color: #f5f0ea; }

nav:not(.topnav):not(.footer-bottom-nav) span {
  color: rgba(245, 240, 234, 0.28);
}

/* Hero des sous-pages */
.hero:not(:has(.hero-bg)) {
  background: var(--fg);
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:not(:has(.hero-bg)) .hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 0.85rem;
}

.hero:not(:has(.hero-bg)) h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: #f5f0ea;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero:not(:has(.hero-bg)) p {
  color: rgba(245, 240, 234, 0.60);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.72;
}

/* Ligne décorative hero sous-pages */
.hero:not(:has(.hero-bg))::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 20%, rgba(192, 43, 43, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* CTA row (galerie sous-pages) */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

/* Intro bloc */
.intro {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  text-align: center;
}

.intro p { color: var(--muted); line-height: 1.8; font-size: 1rem; }

/* Tag galerie (sous-pages) */
.tag:not(.tag-coral):not(.tag-green):not(.tag-gold) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: rgba(192, 43, 43, 0.10);
  color: #8a1f1f;
  border: 1px solid rgba(192, 43, 43, 0.22);
  margin-bottom: 2rem;
}


/* ─────────────────────────────────────────────────────────────────
   18. RESPONSIVE — TABLETTE (≤ 900px)
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nc-grid { grid-template-columns: 1fr 1fr; }
  .pillars-row2 { grid-template-columns: 1fr 1fr !important; max-width: 100% !important; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────────────────────────────
   19. RESPONSIVE — MOBILE (≤ 768px)
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .burger { display: flex; }

  /* backdrop-filter sur la nav crée un containing block qui bloque position:fixed
     sur le drawer enfant — on le désactive en mobile, fond solide à la place */
  nav.topnav {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(17, 15, 13, 0.98) !important;
  }

  /* Drawer latéral depuis la droite */
  nav.topnav ul {
    display: flex !important;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: 82vw;
    max-width: 300px;
    background: #110f0d;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 0 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* prefixed avant non-préfixé : le non-préfixé gagne sur tous les moteurs */
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -6px 0 32px rgba(0, 0, 0, 0.55);
    border-left: 1px solid rgba(192, 43, 43, 0.18);
    will-change: transform;
  }

  nav.topnav ul.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  nav.topnav ul li {
    width: 100%;
  }

  nav.topnav ul li a {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(245, 240, 234, 0.82) !important;
    letter-spacing: 0.02em;
    padding: 0.95rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.18s ease, color 0.18s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  nav.topnav ul li a:hover,
  nav.topnav ul li a:active {
    color: var(--coral-light) !important;
    background: rgba(192, 43, 43, 0.12);
  }

  nav.topnav ul li a.active {
    color: var(--coral-light) !important;
    border-left: 3px solid var(--coral);
    padding-left: calc(1.5rem - 3px);
    background: rgba(192, 43, 43, 0.08);
  }

  .burger { z-index: 1002; }

  .nav-btn-wrap { display: flex; padding: 0.75rem 1.5rem; }

  nav.topnav { padding: 0 1.25rem; }

  .hero { min-height: 72vh; }
  .hero-content { padding: 0 1.25rem; }

  section { padding: 3.5rem 1.25rem; }

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

  .nc-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .media-grid .media-card { flex: 1 1 calc(50% - 1.5rem); }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .social-btns-grid { grid-template-columns: 1fr 1fr; }

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

  .layout { grid-template-columns: 1fr; gap: 2rem; }

  .contact-form-wrap { padding: 1.75rem; }
  .form-row, .form-row-2 { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-nav { gap: 1rem; }

  .cat-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────────────────────────────
   20. RESPONSIVE — MOBILE SERRÉ (≤ 600px)
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  section { padding: 2.75rem 1rem; }
  .hero { min-height: 62vh; }
  .hero-content { padding: 0 0.75rem; }

  nav.topnav { padding: 0 1rem; }

  .nc-grid { grid-template-columns: 1fr !important; }
  .nc-identity { padding: 1.5rem; }
  .nc-identity img { width: 6.5rem; height: 6.5rem; }

  .media-grid .media-card { flex: 1 1 100% !important; max-width: 100% !important; }
  .social-grid { grid-template-columns: 1fr !important; }
  .social-btns-grid { grid-template-columns: 1fr !important; }

  .formations-grid { grid-template-columns: 1fr !important; }
  .info-grid { grid-template-columns: 1fr 1fr !important; }

  .filters { gap: 0.4rem; }
  .filter-btn { padding: 0.45rem 0.85rem; font-size: 0.8rem; }

  .section-title { font-size: 1.65rem !important; }
  .section-desc { font-size: 0.95rem; }

  .btn-primary, .btn-back { width: 100%; justify-content: center; }

  .contact-form-wrap { padding: 1.25rem; border-radius: var(--radius-lg); }

  .footer-top { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
  }
  .footer-bottom-nav { gap: 1rem; }

  .radio-bar-iframe { height: 65px; }

  .cat-grid { grid-template-columns: 1fr !important; }
  .sitemap-grid { grid-template-columns: 1fr !important; }
  .intro { padding: 1.5rem; }

  .container { padding: 2.5rem 1rem; }
  .section-block { padding: 1.5rem; }

  .cta-btns { flex-direction: column; }
}


/* ─────────────────────────────────────────────────────────────────
   21. UTILITAIRES & MICRO-INTERACTIONS
   ───────────────────────────────────────────────────────────────── */

/* Sélection de texte */
::selection {
  background: rgba(192, 43, 43, 0.22);
  color: var(--fg);
}

/* Focus visible accessible */
:focus-visible {
  outline: 2.5px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Images */
img {
  border-radius: var(--radius-sm);
}

/* Séparateur décoratif */
.divider {
  width: 3rem;
  height: 2px;
  background: var(--coral);
  border-radius: var(--radius-pill);
  margin: 1.5rem auto;
  opacity: 0.6;
}

/* Badge "en construction" */
a[style*="background:#e53935"] {
  background: rgba(192, 43, 43, 0.80) !important;
}

/* Formulaire — message de succès */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.form-success.visible,
.form-success[style*="flex"] { display: flex; }
.success-icon { font-size: 2.5rem; }
.form-success h3 { color: var(--fg); margin: 0; }
.form-success p  { color: var(--fg-mid); margin: 0; }

/* ── Bouton webradio — animation bordure orange (btn-style703) ── */
.btn-radio-border {
  display: inline-flex;
  position: relative;
  padding: 0;
  background-color: #dd2a2a;
  border: 1px solid #dd2a2a;
  border-radius: 5px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.35s;
}
.btn-radio-border span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.75rem 1.75rem;
  position: relative;
  z-index: 1;
}
.btn-radio-border::before,
.btn-radio-border::after,
.btn-radio-border span::before,
.btn-radio-border span::after {
  width: 110%;
  height: 140%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.3s;
  border: 0px solid #dd2a2a;
  border-radius: 5px;
  content: "";
}
.btn-radio-border::before {
  border-top-width: 2px;
  transition-delay: 0.3s;
  transform-origin: right top;
}
.btn-radio-border::after {
  border-bottom-width: 2px;
  transition-delay: 0.9s;
  transform-origin: left bottom;
}
.btn-radio-border span::before {
  border-left-width: 2px;
  transition-delay: 0.6s;
  transform-origin: left top;
}
.btn-radio-border span::after {
  border-right-width: 2px;
  transition-delay: 0s;
  transform-origin: right bottom;
}
.btn-radio-border:hover,
.btn-radio-border:hover span { color: #fff; }

.btn-radio-border:hover::before,
.btn-radio-border:hover::after,
.btn-radio-border:hover span::before,
.btn-radio-border:hover span::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Enveloppe en tant que lien (apercu) */
a.letter-image {
  display: block;
  text-decoration: none;
}
.contact-envelope-hint {
  text-align: center;
  color: rgba(245, 240, 234, 0.60);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-top: 3.5rem;
}

/* ═══════════════════════════════════════════
   ENVELOPPE ANIMÉE — Page Contact
   ═══════════════════════════════════════════ */
.letter-image {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2.5rem;
  cursor: pointer;
}
.animated-mail {
  position: absolute;
  height: 150px;
  width: 200px;
  transition: transform .4s;
}
.animated-mail .body {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 100px 200px;
  border-color: transparent transparent var(--coral) transparent;
  z-index: 2;
}
.animated-mail .top-fold {
  position: absolute;
  top: 50px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 100px 0 100px;
  transform-origin: 50% 0%;
  transition: transform .4s .4s, z-index .2s .4s;
  border-color: #8f1f1f transparent transparent transparent;
  z-index: 2;
}
.animated-mail .back-fold {
  position: absolute;
  bottom: 0;
  width: 200px;
  height: 100px;
  background: #8f1f1f;
  z-index: 0;
}
.animated-mail .left-fold {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 0 50px 100px;
  border-color: transparent transparent transparent #b02525;
  z-index: 2;
}
.animated-mail .letter {
  left: 20px;
  bottom: 0;
  position: absolute;
  width: 160px;
  height: 60px;
  background: var(--bg);
  z-index: 1;
  overflow: hidden;
  transition: .4s .2s;
}
.animated-mail .letter .letter-border {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--coral),
    var(--coral) 8px,
    transparent 8px,
    transparent 18px
  );
}
.animated-mail .letter .letter-title {
  margin-top: 10px;
  margin-left: 5px;
  height: 10px;
  width: 40%;
  background: var(--coral);
}
.animated-mail .letter .letter-context {
  margin-top: 10px;
  margin-left: 5px;
  height: 10px;
  width: 20%;
  background: var(--coral);
}
.animated-mail .letter .letter-stamp {
  margin-top: 30px;
  margin-left: 120px;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  background: var(--coral);
  opacity: 0.3;
}
.letter-image .shadow {
  position: absolute;
  top: 200px;
  left: 50%;
  width: 400px;
  height: 30px;
  transition: transform .4s;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.0), rgba(0,0,0,0.0));
}
/* Ouverture au survol ou via JS (.open) */
.letter-image:hover .animated-mail,
.letter-image.open .animated-mail {
  transform: translateY(50px);
}
.letter-image:hover .animated-mail .top-fold,
.letter-image.open .animated-mail .top-fold {
  transition: transform .4s, z-index .2s;
  transform: rotateX(180deg);
  z-index: 0;
}
.letter-image:hover .animated-mail .letter,
.letter-image.open .animated-mail .letter {
  height: 180px;
}
.letter-image:hover .shadow,
.letter-image.open .shadow {
  width: 250px;
}

/* ═══════════════════════════════════════════════════════
   FONDUS CINÉMATOGRAPHIQUES ENTRE SECTIONS
   Couleur intermédiaire commune : var(--overlay-dark)
   ═══════════════════════════════════════════════════════ */

/* ── 1. HERO → NOUS CONNAÎTRE ── */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-content  { z-index: 3; }
.scroll-indicator { z-index: 3; }

.nous-connaitre::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, var(--overlay-dark) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* ── 2. NOUS CONNAÎTRE → ÉVÉNEMENTS ── */
.nous-connaitre::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  z-index: 2;
  pointer-events: none;
}
.nous-connaitre .section-inner { z-index: 3; }

/* ── SECTION ÉVÉNEMENTS ── */
.evenements {
  position: relative;
  background: #110f0d;
  padding: 6rem 2rem;
  overflow: hidden;
}
.evenements::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, var(--overlay-dark) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.evenements::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  z-index: 1;
  pointer-events: none;
}
.evenements .section-inner { position: relative; z-index: 2; }
.evenements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.evenement-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-light, #f5ebe0);
  transition: transform 0.25s, box-shadow 0.25s;
}
.evenement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.evenement-card .ev-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.evenement-card h3 {
  font-family: var(--font-display);
  color: var(--coral);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.evenement-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.6;
}
.ev-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.coming-soon-card {
  border-style: dashed;
  opacity: 0.75;
}

/* Texte blanc dans la section événements */
.evenements .eyebrow                { color: var(--coral); }
.evenements .section-title          { color: #fff; }
.evenements .section-desc           { color: rgba(255,255,255,0.75); }
.evenements .evenement-card h3      { color: var(--coral); }
.evenements .evenement-card p       { color: rgba(255,255,255,0.8); }

/* ── 3. ÉVÉNEMENTS → GALLERY ── */
.gallery { position: relative; overflow: hidden; }
.gallery::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to bottom, var(--overlay-dark) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── 3. GALLERY → SOCIAL ── */
.gallery::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent 0%, var(--fg) 100%);
  z-index: 1;
  pointer-events: none;
}
.gallery .section-inner { position: relative; z-index: 2; }

/* ── 4. SOCIAL → WEBRADIO ── */
.social { position: relative; }
.social::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  z-index: 1;
  pointer-events: none;
}
.social .section-inner { position: relative; z-index: 2; }

/* ── 5. DONATION → CONTACT ── */
.donation::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 32%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-alt) 100%);
  z-index: 1;
  pointer-events: none;
}
.donation .section-inner { z-index: 2; }

/* ── 6. CONTACT → FOOTER ── */
.contact { position: relative; }
.contact::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 32%;
  background: linear-gradient(to bottom, transparent 0%, var(--fg) 100%);
  z-index: 1;
  pointer-events: none;
}
.contact .section-inner,
.contact .contact-form-wrap,
.contact .social-cta { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════════════════
   FONDUS — PAGES INTERNES (toutes sauf accueil-milokan)
   Structure : hero dark #201c18 → container light → footer dark #201c18
   Technique full-width : left: calc(-50vw + 50%); width: 100vw
   ═══════════════════════════════════════════════════════ */

.container { position: relative; }

/* Haut du container : remonte 80px dans le hero, fondu dark → transparent */
.container::before {
  content: '';
  position: absolute;
  top: -80px;
  left: calc(-50vw + 50%);
  width: 100vw;
  height: 160px;
  background: linear-gradient(to bottom, var(--fg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Bas du container : fondu transparent → dark, mène vers le footer */
.container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(-50vw + 50%);
  width: 100vw;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--fg) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════
   FONDUS — FOOTER (toutes pages)
   ═══════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--fg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════
   FONDUS — PAGE PODCAST
   ═══════════════════════════════════════════════════════ */

/* Hero podcast → lecteur */
.hero-podcast {
  position: relative;
}
.hero-podcast::before,
.hero-podcast::after {
  z-index: 0;
}
.hero-podcast .hero-podcast-fade {
  z-index: 1;
}
.hero-podcast-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

/* Fondu générique pour toutes les sections podcast */
.podcast-player-section,
.podcast-about,
.podcast-themes,
.podcast-platforms,
.podcast-subscribe {
  position: relative;
  overflow: hidden;
}

.podcast-player-section::before,
.podcast-about::before,
.podcast-themes::before,
.podcast-platforms::before,
.podcast-subscribe::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--overlay-dark) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.podcast-player-section::after,
.podcast-about::after,
.podcast-themes::after,
.podcast-platforms::after,
.podcast-subscribe::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  pointer-events: none;
  z-index: 1;
}

/* S'assurer que le contenu reste au-dessus des fondus */
.podcast-player-section .section-header,
.podcast-player-section .podcast-player-wrap,
.podcast-player-section #podcast-notice,
.podcast-about .podcast-about-inner,
.podcast-themes .section-header,
.podcast-themes .themes-grid,
.podcast-platforms .section-header,
.podcast-platforms .platforms-row,
.podcast-subscribe .section-header,
.podcast-subscribe p,
.podcast-subscribe .subscribe-cta {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════
   FONDUS — PAGE WEBRADIO (sections supplémentaires)
   ═══════════════════════════════════════════════════════ */

/* Fondu entre hero et le 1er container sur toutes les pages internes */
.hero + .container,
.hero + * + .container {
  position: relative;
}
.hero + .container::before {
  top: -100px;
  height: 200px;
}

/* ═══════════════════════════════════════════════════════
   FONDUS — GALERIES & FORMATIONS (sections-blocs)
   ═══════════════════════════════════════════════════════ */
.media-grid-section,
.formation-section,
.galerie-section {
  position: relative;
  overflow: hidden;
}
.media-grid-section::before,
.formation-section::before,
.galerie-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom, var(--overlay-dark) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.media-grid-section::after,
.formation-section::after,
.galerie-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent 0%, var(--overlay-dark) 100%);
  pointer-events: none;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════
   PAGES ÉVÉNEMENTS (partagé entre toutes les pages evenements/)
   ═══════════════════════════════════════════════════════════════ */

/* ── PAGE ÉVÉNEMENT ── */
.ev-page-wrap {
  background: #110f0d;
  min-height: 100vh;
}

/* Breadcrumb */
.ev-breadcrumb {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.7rem 2rem;
  margin-top: 70px;
}
.ev-breadcrumb nav {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
}
.ev-breadcrumb nav a { color: var(--coral); text-decoration: none; }
.ev-breadcrumb nav a:hover { text-decoration: underline; }
.ev-breadcrumb nav span.sep { opacity: 0.4; }
.ev-breadcrumb nav span.current { color: #fff; opacity: 1; }

/* Flyer + Contenu */
.ev-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Colonne flyer */
.ev-flyer-col {
  position: sticky;
  top: 90px;
}
.ev-flyer-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 0 0 1px rgba(31,63,122,0.2);
}
.ev-flyer-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Colonne contenu */
.ev-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ev-series-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1f3f7a;
  font-family: var(--font-body);
}
.ev-series-tag::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1f3f7a;
}
.ev-content-col h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.25;
}
.ev-infos {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ev-info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
}
.ev-info-row i {
  width: 20px;
  text-align: center;
  color: var(--coral);
  flex-shrink: 0;
}
.ev-info-row strong { color: #fff; font-weight: 600; }
.ev-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}
.ev-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
}
.ev-desc p { margin: 0 0 1rem; color: rgba(255,255,255,0.82) !important; }
.ev-desc p:last-child { margin: 0; }
.ev-desc strong { color: #3d6bb3; }

/* Logos réseaux sociaux inline */
.social-icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 5px;
  font-size: 0.7rem;
  color: #fff;
  vertical-align: middle;
  margin: 0 2px;
  position: relative;
  top: -1px;
}
.social-icon-inline.fb  { background: #1877f2; }
.social-icon-inline.ig  { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-icon-inline.tt  { background: #000; border: 1px solid rgba(255,255,255,0.15); }
.social-icon-inline.yt  { background: #ff0000; }

.ev-presenter-card {
  background: rgba(31,63,122,0.06);
  border: 1px solid rgba(31,63,122,0.2);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ev-presenter-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(31,63,122,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.ev-presenter-info { display: flex; flex-direction: column; gap: 0.15rem; }
.ev-presenter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f3f7a;
  font-family: var(--font-body);
}
.ev-presenter-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}

.ev-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ev-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: #0088cc;
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.ev-btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.ev-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.ev-btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

.ev-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
}
.ev-free-badge i { color: #2f6fae; }

/* ── BARRE ENGAGEMENT + PARTAGE ── */
.ev-engagement-bar {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}
.ev-engagement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
}
.ev-eng-counters {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.ev-eng-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.55);
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  line-height: 1;
}
.ev-like-btn { cursor: pointer; transition: color 0.18s, opacity 0.18s; }
.ev-like-btn:hover { color: #db4a3f; opacity: 1; }
.ev-like-btn.liked { color: #db4a3f; }
.ev-share-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.ev-share-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  margin-right: 0.1rem;
  white-space: nowrap;
}
.ev-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.18s, transform 0.15s;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.ev-share-btn:hover { opacity: 0.78; transform: translateY(-2px); }
.ev-share-btn.fb  { background: #1877f2; }
.ev-share-btn.tw  { background: #000; }
.ev-share-btn.wa  { background: #25d366; }
.ev-share-btn.tg  { background: #0088cc; }
.ev-share-btn.ig  { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.ev-share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: #151311;
  color: #fff;
  font-size: 0.83rem;
  font-family: var(--font-body);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  white-space: nowrap;
}
.ev-share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 700px) {
  .ev-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.25rem 4rem;
  }
  .ev-flyer-col { position: static; }
  .ev-engagement-bar { padding: 0 1.25rem; }
  .ev-engagement-inner { flex-direction: column; align-items: flex-start; }
}


/* Double intervenant */
.ev-presenters-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* ─────────────────────────────────────────────────────────────────
   BANNIÈRE CONSENTEMENT COOKIES (RGPD)
   ───────────────────────────────────────────────────────────────── */
#mil-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--overlay-dark);
  border-top: 2px solid var(--coral);
  padding: 1rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.45);
}
.mil-cookie-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.mil-cookie-text {
  flex: 1;
  min-width: 220px;
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}
.mil-cookie-link {
  color: var(--coral-light);
  text-decoration: underline;
}
.mil-cookie-btns {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.mil-btn-accept,
.mil-btn-refuse {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--coral);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mil-btn-accept {
  background: var(--coral);
  color: #fff;
}
.mil-btn-accept:hover,
.mil-btn-accept:focus {
  background: var(--coral-light);
  border-color: var(--coral-light);
}
.mil-btn-refuse {
  background: transparent;
  color: rgba(255,255,255,0.82);
}
.mil-btn-refuse:hover,
.mil-btn-refuse:focus {
  background: rgba(255,255,255,0.08);
}
@keyframes milCookieIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes milCookieOut {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}
@media (max-width: 600px) {
  .mil-cookie-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .mil-cookie-btns { width: 100%; }
  .mil-btn-accept, .mil-btn-refuse { flex: 1; text-align: center; }
}