/* ===== OPEN FORMATION 3.0 - White/Blue Premium ===== */

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

:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f8faff;
  --primary: #1a2354;
  --primary-dark: #111840;
  --primary-light: #2a4a8c;
  --accent: #2a6cc4;
  --accent-bright: #43b4e0;
  --gradient-main: linear-gradient(135deg, #43b4e0, #2a6cc4, #1a2354);
  --gradient-logo: linear-gradient(180deg, #43b4e0, #1a2354);
  --gradient-subtle: linear-gradient(135deg, rgba(42,108,196,0.06), rgba(26,35,84,0.06));
  --gradient-glow: linear-gradient(135deg, rgba(67,180,224,0.12), rgba(26,35,84,0.12));
  --white: #ffffff;
  --text: #1a2354;
  --text-dim: #5a6482;
  --text-muted: #8e96ab;
  --text-light: #8e96ab;
  --border: rgba(26,35,84,0.08);
  --border-hover: rgba(42,108,196,0.2);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(26,35,84,0.06);
  --shadow: 0 4px 24px rgba(26,35,84,0.08);
  --shadow-lg: 0 20px 60px rgba(26,35,84,0.1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Accessibilité & confort --- */
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 4px; }

/* --- Grilles utilitaires responsives --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gap-md { gap: 32px; }
.gap-lg { gap: 48px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.bento-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.trainer-flex { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }

/* --- Sections --- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
}
.tag {
  display: inline-block;
  background: var(--gradient-subtle);
  border: 1px solid rgba(27,58,107,0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* --- Gradient text --- */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header .gradient-text,
.cta-section .gradient-text {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--white);
  background-clip: unset;
  color: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(42,108,196,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42,108,196,0.35);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.6s;
}
.btn-primary:hover::before { left: 100%; }

.btn-glass {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--primary);
}
.btn-glass:hover {
  border-color: var(--border-hover);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-sm { padding: 11px 24px; font-size: 0.875rem; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}
.navbar.scrolled .nav-logo { color: var(--primary); }
.logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--white);
}
.nav-logo .sub { font-weight: 400; opacity: 0.6; }
.nav-logo img.logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1); /* blanc sur fond hero bleu */
  transition: var(--transition);
}
.navbar.scrolled .nav-logo img.logo-img {
  filter: none; /* couleur originale sur fond blanc */
}
/* Footer : logo blanc sur fond sombre */
.footer .nav-logo img.logo-img {
  filter: brightness(0) invert(1);
  height: 38px;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.navbar.scrolled .nav-menu a { color: var(--text-dim); }
.nav-menu a:hover, .nav-menu a.active { color: var(--white); }
.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active { color: var(--primary); }

.nav-menu .dropdown { position: relative; }
.nav-menu .dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav-menu .dropdown:hover .dropdown-content {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text) !important;
  font-size: 0.875rem;
}
.dropdown-content a:hover { background: var(--bg-alt); color: var(--primary) !important; }
.dd-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.nav-cta { margin-left: 12px; }
.nav-cta .btn-primary {
  color: var(--white) !important;
  background: var(--gradient-main);
  border: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.navbar.scrolled .nav-toggle span { background: var(--primary); }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-bg .orb-1 { width: 500px; height: 500px; background: rgba(255,255,255,0.06); top: -10%; right: -5%; }
.hero-bg .orb-2 { width: 350px; height: 350px; background: rgba(255,255,255,0.04); bottom: -10%; left: 10%; animation-delay: -4s; }
.hero-bg .orb-3 { width: 250px; height: 250px; background: rgba(255,255,255,0.05); top: 40%; left: 50%; animation-delay: -8s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.03); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 24px;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero h1 .line { display: block; }
.hero h1 .highlight {
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 100%; height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  z-index: -1;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Hero stats --- */
.hero-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats .stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  opacity: 0.9;
}
.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: rgba(255,255,255,0.85);
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* --- Hero entrance (cascade au chargement) --- */
.hero-badge, .hero h1 .line, .hero p, .hero-buttons, .hero-stats {
  animation-name: heroRise;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}
.hero h1 .line:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.3s; }
.hero p { animation-delay: 0.4s; }
.hero-buttons { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.65s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Le badge combine cascade + glow */
.hero-badge { animation: heroRise 0.9s cubic-bezier(0.16,1,0.3,1) both, badgeGlow 3s ease-in-out 1s infinite; }

/* --- Bouton retour en haut --- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(26,35,84,0.3);
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,35,84,0.4); }

/* --- Glow cards --- */
.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.glow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition);
}
.glow-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.glow-card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.glow-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary); }
.glow-card p { color: var(--text-dim); font-size: 0.93rem; line-height: 1.7; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* --- Icon category colors --- */
.icon-securite { background: #fef2f2; color: #dc2626; }
.icon-incendie { background: #fff7ed; color: #ea580c; }
.icon-secourisme { background: #f0fdf4; color: #16a34a; }
.icon-electrique { background: #eff6ff; color: #2563eb; }
.icon-risques { background: #faf5ff; color: #9333ea; }
.icon-immobilier { background: #fefce8; color: #ca8a04; }
.icon-coaching { background: #fdf2f8; color: #db2777; }
.icon-brainboxing { background: #fef2f2; color: #e11d48; }

.cat-securite { background: #fef2f2; color: #dc2626; }
.cat-incendie { background: #fff7ed; color: #ea580c; }
.cat-secourisme { background: #f0fdf4; color: #16a34a; }
.cat-electrique { background: #eff6ff; color: #2563eb; }
.cat-risques { background: #faf5ff; color: #9333ea; }
.cat-immobilier { background: #fefce8; color: #ca8a04; }
.cat-coaching { background: #fdf2f8; color: #db2777; }
.cat-brainboxing { background: #fef2f2; color: #e11d48; }

/* --- Formation card --- */
.formation-card-img-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.formation-card-img {
  width: 190px !important;
  min-width: 190px;
  max-width: 190px;
  height: 115px !important;
  min-height: 115px;
  max-height: 115px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.formation-card-img-text { flex: 1; min-width: 0; }
.formation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.formation-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.formation-card-header { padding: 28px 28px 20px; }
.formation-card-header .category-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.formation-card-header h3 { font-size: 1.12rem; color: var(--primary); margin-bottom: 10px; }
.formation-card-header p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; }
.formation-card-meta {
  display: flex; gap: 20px;
  padding: 14px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  flex-wrap: wrap;
}
.formation-card-meta .meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--text-dim);
}
.formation-card-meta .meta-item strong { color: var(--text); }
.formation-card-footer {
  padding: 18px 28px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.formation-card-footer .price { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.formation-card-footer .price small { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }

.cpf-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  color: #16a34a; padding: 5px 14px;
  border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.loi-alur-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fefce8; border: 1px solid #fef08a;
  color: #ca8a04; padding: 5px 14px;
  border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}

/* --- Marquee --- */
.marquee-section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex; gap: 48px;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.88rem;
  color: var(--text-muted); white-space: nowrap;
}
.marquee-item i { color: var(--accent); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Bento grid --- */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.bento-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.bento-item .bento-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  background: var(--gradient-subtle);
  color: var(--accent);
}
.bento-item h4 { font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.bento-item p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* --- Profile cards --- */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.profile-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.profile-card .glow-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-main);
}

/* --- Formation list --- */
.formation-list { display: grid; gap: 8px; }
.formation-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  gap: 16px;
}
.formation-list-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.formation-list-item .fl-info { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.formation-list-item .fl-num {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  color: var(--accent); flex-shrink: 0;
}
.formation-list-item .fl-name { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.formation-list-item .fl-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.glow-card-img { width: 100%; height: 100px; object-fit: cover; object-position: center top; border-radius: 12px; margin-bottom: 12px; }
.fl-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.formation-list-item .fl-badges { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

/* Mode badges */
.mode-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.mode-elearning { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.mode-presentiel { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}
.cta-section .cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.cta-content { text-align: center; position: relative; z-index: 2; }
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Contact --- */
.contact-info-block { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-block .ci-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.contact-info-block .ci-text h5 { color: var(--primary); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-block .ci-text p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }
.contact-info-block .ci-text a { color: var(--accent); }
.contact-info-block .ci-text a:hover { color: var(--accent-bright); }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- Page Header --- */
.page-header {
  padding: 140px 0 70px;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}
.page-header .header-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.page-header .header-orb-1 { width: 400px; height: 400px; background: rgba(255,255,255,0.06); top: -20%; right: -5%; }
.page-header .header-orb-2 { width: 300px; height: 300px; background: rgba(255,255,255,0.04); bottom: -30%; left: 10%; }
.page-header .container { position: relative; z-index: 2; }
.page-header .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.5);
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.5); }
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); margin-bottom: 16px;
  font-weight: 800; letter-spacing: -0.02em;
}
.page-header h1 i { color: var(--white) !important; }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 640px; line-height: 1.8; }

/* --- Content blocks --- */
.content-block { margin-bottom: 40px; }
.content-block h2 { font-size: 1.4rem; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.content-block h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 14px; }
.content-block p { color: var(--text-dim); line-height: 1.8; margin-bottom: 12px; }
.content-block ul li {
  position: relative; padding: 7px 0 7px 24px; color: var(--text-dim); font-size: 0.93rem;
}
.content-block ul li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.content-block ul li strong { color: var(--text); }

/* --- Trainer card --- */
.trainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid; grid-template-columns: auto 1fr;
  gap: 32px; padding: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.trainer-card::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 4px; height: 100%; background: var(--gradient-main);
}
.trainer-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: var(--white);
}

/* --- Advantage columns --- */
.advantage-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.advantage-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
}
.advantage-col:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.advantage-col h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem; color: var(--primary); margin-bottom: 16px;
}
.advantage-col h3 i {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.advantage-col ul li {
  position: relative; padding: 8px 0 8px 24px;
  color: var(--text-dim); font-size: 0.9rem;
}
.advantage-col ul li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 6px; height: 6px; border-radius: 50%;
}

/* --- Extranet page --- */
.extranet-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.extranet-box .ext-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: var(--gradient-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--accent);
  margin: 0 auto 28px;
}
.extranet-box h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; }
.extranet-box p { color: var(--text-dim); margin-bottom: 32px; line-height: 1.8; }

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  padding: 72px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { color: var(--white) !important; }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col a {
  display: block; padding: 5px 0;
  font-size: 0.88rem; color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,0.9); transform: translateX(4px); }
.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* --- Clients bandeau --- */
.clients-scroll {
  overflow: hidden;
  width: 100%;
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: clientsScroll 30s linear infinite;
  width: max-content;
}
.clients-track img {
  height: 40px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.clients-track img:hover {
  filter: grayscale(0%) opacity(1);
}
@keyframes clientsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Avis Google --- */
#avis-google { position: relative; z-index: 1; }

/* --- Animated effects --- */

/* Glow card icon spin on hover */
.glow-card:hover .card-icon {
  transform: rotateY(180deg);
  transition: transform 0.6s ease;
}
.card-icon { transition: transform 0.6s ease; }

/* Bento icon bounce on hover */
.bento-item:hover .bento-icon {
  animation: iconBounce 0.5s ease;
}
@keyframes iconBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.2); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Formation card shimmer on hover */
.formation-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67,180,224,0.03), transparent);
  transition: none;
}
.formation-card:hover::after {
  left: 100%;
  transition: left 0.8s ease;
}

/* Badge pulse */
.cpf-badge, .loi-alur-badge {
  transition: var(--transition);
}
.cpf-badge:hover, .loi-alur-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* CTA floating animation */
.cta-section .cta-bg {
  animation: ctaFloat 8s ease-in-out infinite;
}
@keyframes ctaFloat {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* Profile card gradient line animation */
.profile-card .glow-line {
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}
@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Contact icon pulse on hover */
.ci-icon:hover {
  animation: iconPulse 0.4s ease;
}
@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Hero badge glow (combiné avec heroRise plus haut) */
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(67,180,224,0); }
  50% { box-shadow: 0 0 20px 4px rgba(67,180,224,0.15); }
}

/* Footer social hover rotate */
.footer-social a:hover {
  transform: rotate(8deg) scale(1.1);
}

/* Marquee item hover */
.marquee-item:hover {
  color: var(--accent);
  transform: scale(1.05);
  transition: all 0.2s ease;
}

/* Smooth page load */
body {
  animation: pageLoad 0.6s ease;
}
@keyframes pageLoad {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* --- Reduced motion : on coupe les animations --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .clients-track, .marquee-track { animation: none !important; }
  .scroll-indicator { display: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-cols { grid-template-columns: 1fr; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .bento-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--white);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 80px 24px 24px; gap: 4px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { color: var(--text) !important; padding: 12px 16px; width: 100%; }
  .nav-menu .dropdown-content {
    position: static; transform: none; box-shadow: none;
    border: none; padding: 0 0 0 16px;
    opacity: 1; visibility: visible; min-width: auto;
  }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 2.3rem; }
  .hero-buttons { flex-direction: column; }
  .bento-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 70px 0; }
  .trainer-card { grid-template-columns: 1fr; text-align: center; }
  .extranet-box { padding: 40px 28px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gap-lg, .gap-md { gap: 28px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4,
  .bento-grid.cols-5 { grid-template-columns: 1fr; }
  .trainer-flex { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { gap: 24px 36px; margin-top: 40px; }
  .hero-stats .stat-num { font-size: 1.8rem; }
  .scroll-indicator { display: none; }
  .map-container { height: 300px; }
  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* =========================================================================
   COMPOSANTS SEO LOCAL + PARCOURS IMMOBILIER (v6)
   ========================================================================= */

/* --- Bandeau de confiance (chiffres clés) --- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 40px;
}
.trust-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 18px; text-align: center;
  transition: var(--transition);
}
.trust-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.trust-item .trust-num { display: block; font-size: 1.9rem; font-weight: 900; color: var(--primary); line-height: 1.1; }
.trust-item .trust-label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; line-height: 1.4; }

/* --- Parcours en étapes (timeline) --- */
.parcours {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; counter-reset: step;
}
.parcours-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px 28px;
  position: relative; transition: var(--transition);
}
.parcours-step:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.parcours-step .step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-main); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 18px;
}
.parcours-step h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; }
.parcours-step p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; }
.parcours-step ul { list-style: none; margin-top: 12px; }
.parcours-step ul li {
  font-size: 0.86rem; color: var(--text-dim); padding: 4px 0 4px 20px; position: relative; line-height: 1.5;
}
.parcours-step ul li::before {
  content: '\2713'; position: absolute; left: 0; top: 4px;
  color: var(--accent); font-weight: 700;
}

/* --- Packs (offres) --- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pack {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column; position: relative;
  transition: var(--transition);
}
.pack:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pack.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.pack .pack-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-main); color: var(--white);
  padding: 5px 16px; border-radius: 50px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}
.pack .pack-kicker { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 8px; }
.pack h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 6px; }
.pack .pack-hours { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; margin: 10px 0 4px; }
.pack .pack-hours small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.pack > p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 18px; }
.pack ul { list-style: none; margin-bottom: 24px; flex: 1; }
.pack ul li { font-size: 0.88rem; color: var(--text-dim); padding: 6px 0 6px 24px; position: relative; line-height: 1.5; border-bottom: 1px dashed var(--border); }
.pack ul li:last-child { border-bottom: 0; }
.pack ul li::before { content: '\2713'; position: absolute; left: 2px; top: 6px; color: #16a34a; font-weight: 700; }
.pack .btn { justify-content: center; }

/* --- Thèmes de formation (chips) --- */
.theme-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: var(--transition);
}
.theme-block:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.theme-block .theme-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.theme-block .theme-head .card-icon { width: 44px; height: 44px; font-size: 1.1rem; margin: 0; border-radius: 12px; }
.theme-block .theme-head h3 { font-size: 1.05rem; color: var(--primary); margin: 0; }
.theme-block .theme-head small { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.theme-block ul { list-style: none; }
.theme-block ul li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text);
}
.theme-block ul li:last-child { border-bottom: 0; }
.theme-block ul li .dur {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 700;
  background: var(--bg-alt); color: var(--text-dim);
  padding: 3px 10px; border-radius: 50px; border: 1px solid var(--border);
}

/* --- FAQ (details natifs, accessibles, lisibles par les moteurs et les IA) --- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
  transition: var(--transition);
}
.faq details[open] { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
  font-weight: 600; color: var(--primary); font-size: 1rem; position: relative; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--accent); transition: var(--transition);
}
.faq details[open] summary::after { content: '\2212'; }
.faq .faq-body { padding: 0 22px 20px; color: var(--text-dim); font-size: 0.93rem; line-height: 1.75; }
.faq .faq-body p { margin-bottom: 10px; }
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq .faq-body a { color: var(--accent); font-weight: 600; }
.faq .faq-body ul { margin: 8px 0 8px 18px; }
.faq .faq-body ul li { margin-bottom: 4px; }

/* --- Zone d'intervention (villes) --- */
.zone-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.zone-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
}
.zone-chip i { color: var(--accent); font-size: 0.75rem; }
.zone-chip.main { background: var(--gradient-main); color: var(--white); border-color: transparent; font-weight: 600; }
.zone-chip.main i { color: var(--white); }
.zone-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.zone-card h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 14px; }
.zone-card .nap { font-style: normal; color: var(--text-dim); line-height: 1.8; font-size: 0.93rem; }
.zone-card .nap strong { color: var(--text); }
.zone-card .nap a { color: var(--accent); font-weight: 600; }

/* --- Bloc "à savoir" / alerte réglementaire --- */
.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius-sm);
  background: #fefce8; border: 1px solid #fef08a; color: #713f12;
  font-size: 0.92rem; line-height: 1.7;
}
.notice i { font-size: 1.2rem; color: #ca8a04; margin-top: 3px; flex-shrink: 0; }
.notice strong { color: #713f12; }
.notice.blue { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.notice.blue i, .notice.blue strong { color: #1d4ed8; }

/* --- Article (blog) --- */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 1.5rem; color: var(--primary); margin: 40px 0 14px; }
.article h3 { font-size: 1.15rem; color: var(--primary); margin: 28px 0 10px; }
.article p { color: var(--text-dim); line-height: 1.85; margin-bottom: 16px; font-size: 1rem; }
.article ul, .article ol { margin: 0 0 18px 22px; color: var(--text-dim); line-height: 1.8; }
.article li { margin-bottom: 6px; }
.article a { color: var(--accent); font-weight: 600; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 0.92rem; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.article th { background: var(--bg-alt); color: var(--primary); font-weight: 700; }
.article .article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }
.article .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article .lead { font-size: 1.12rem; color: var(--text); line-height: 1.8; }
.blog-card-link { text-decoration: none; display: block; color: inherit; }

/* --- Sommaire / table des matières --- */
.toc { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 28px; }
.toc strong { display: block; color: var(--primary); margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.toc ol { margin: 0 0 0 18px; font-size: 0.92rem; }
.toc li { margin-bottom: 4px; }

/* --- Page 404 --- */
.err-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.err-wrap h1 { font-size: 5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.err-wrap p { color: var(--text-dim); margin: 16px auto 28px; max-width: 480px; }

@media (max-width: 992px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .parcours { grid-template-columns: repeat(2, 1fr); }
  .packs { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .parcours { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-item .trust-num { font-size: 1.5rem; }
  .article h2 { font-size: 1.3rem; }
  .err-wrap h1 { font-size: 3.5rem; }
}
