/* =====================================================================
   F.L-Formation — Design System Ultra-Premium
   Typography: Cormorant Garamond, Plus Jakarta Sans, DM Mono
   ===================================================================== */

@import url("fonts.css");

:root {
  /* Chromatique Signature */
  --c-bg: #faf7f2;
  --c-bg-alt: #f3eee3;
  --c-surface: #ffffff;
  --c-surface-translucent: rgba(255, 255, 255, 0.85);

  --c-ink: #0b2336;
  --c-ink-light: #2c495e;
  --c-muted: #5e798a;
  --c-border: rgba(11, 35, 54, 0.1);
  --c-border-subtle: rgba(11, 35, 54, 0.06);

  /* Sombre Somptueux */
  --c-dark: #071926;
  --c-dark-surface: #0e2b3e;
  --c-dark-card: rgba(14, 43, 62, 0.88);
  --c-dark-border: rgba(255, 255, 255, 0.15);
  --c-dark-border-subtle: rgba(255, 255, 255, 0.08);

  /* Couleurs d'Accompagnement */
  --c-lime: #dfe95b;
  --c-lime-hover: #eaf17b;
  --c-lime-dark: #1b2803;

  --c-coral: #ef7d65;
  --c-coral-hover: #f38f7a;
  --c-coral-dark: #2c120c;

  --c-sage: #dbe7df;
  --c-sage-dark: #274534;

  --c-lilac: #e2e4f2;
  --c-blue: #3f6882;
  --c-sand: #f0e69b;

  /* Typographie */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "DM Mono", Menlo, Consolas, monospace;

  /* Rayons & Ombres */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(11, 35, 54, 0.04);
  --shadow-md: 0 12px 30px rgba(11, 35, 54, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 35, 54, 0.14);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --t-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --t-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Préréglages */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
  font-size: 16px;
  background-color: var(--c-bg);
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

/* =====================================================================
   HEADER & NAVIGATION STICKY (GLASSMORPHISM)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 10px 5vw;
  background: rgba(7, 25, 38, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-dark-border-subtle);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all var(--t-smooth);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-frame {
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform var(--t-fast);
}

.brand-logo-frame img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-wrapper:hover .brand-logo-frame {
  transform: scale(1.04);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-title small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.header-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 6px 0;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-lime);
  transition: width var(--t-smooth);
}

.header-nav a:hover {
  color: #ffffff;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-course-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-dark-border);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--t-fast);
}

.btn-course-portal:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--r-full);
  background: var(--c-coral);
  color: var(--c-ink);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(239, 125, 101, 0.28);
  transition: all var(--t-fast);
  border: none;
  cursor: pointer;
}

.btn-cta-primary:hover {
  background: var(--c-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 125, 101, 0.38);
}

.btn-cta-primary span {
  font-size: 1.1rem;
  transition: transform var(--t-fast);
}

.btn-cta-primary:hover span {
  transform: translate(2px, -2px);
}

/* Menu Mobile (Burger) */
.mobile-nav-toggle {
  display: none;
  position: relative;
}

.mobile-nav-toggle summary {
  list-style: none;
  cursor: pointer;
}

.mobile-nav-toggle summary::-webkit-details-marker {
  display: none;
}

.burger-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border-radius: var(--r-full);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.burger-pill i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.mobile-nav-toggle[open] .burger-pill i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[open] .burger-pill i:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[open] .burger-pill i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: absolute;
  top: 56px;
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--c-ink);
}

.mobile-drawer a {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.95rem;
}

.mobile-drawer a:hover {
  background: rgba(11, 35, 54, 0.05);
}

.mobile-drawer .drawer-course {
  background: var(--c-lime);
  color: var(--c-ink);
  text-align: center;
}

.mobile-drawer .drawer-contact {
  background: var(--c-coral);
  color: var(--c-ink);
  text-align: center;
  margin-top: 4px;
}

/* =====================================================================
   BANDEAU NOUVELLE COLLABORATION 2026 (ANIMATION COLLABORATION-RISE)
   ===================================================================== */
.news-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 5vw;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 237, 0.92) 100%);
  border-bottom: 1px solid var(--c-border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.news-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-lime), var(--c-coral), transparent);
  opacity: 0.6;
}

.news-badge {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-dark);
  border: 1px solid rgba(223, 233, 91, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(7, 25, 38, 0.16);
  position: relative;
}

.news-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 16px rgba(223, 233, 91, 0.08);
  pointer-events: none;
}

.news-badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  animation: collaboration-rise 6.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity, filter;
}

.news-strip:hover .news-badge-content {
  animation-play-state: paused;
}

@keyframes collaboration-rise {
  0%, 12% {
    transform: translateY(14px);
    opacity: 0;
    filter: blur(2px);
  }
  24%, 76% {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
  88%, 100% {
    transform: translateY(-14px);
    opacity: 0;
    filter: blur(2px);
  }
}

.news-badge-content span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
}

.news-badge-content strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-lime);
  line-height: 1;
  text-shadow: 0 0 16px rgba(223, 233, 91, 0.45);
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.news-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #486230;
  font-weight: 700;
}

.news-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: rgba(223, 233, 91, 0.28);
  border: 1px solid rgba(223, 233, 91, 0.45);
  color: #1b2f0a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-content h2 {
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.25;
}

.news-content p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-ink-light);
  max-width: 900px;
  margin: 0;
}

.news-content p strong {
  color: var(--c-ink);
  font-weight: 700;
}

.news-content p em {
  font-style: normal;
  color: var(--c-ink);
  font-weight: 600;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(11, 35, 54, 0.04);
  border: 1px solid var(--c-border);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--c-ink);
  transition: all var(--t-fast);
}

.news-tag:hover {
  background: #ffffff;
  border-color: rgba(11, 35, 54, 0.2);
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-full);
  background: var(--c-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  transition: all var(--t-fast);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(7, 25, 38, 0.18);
}

.news-link:hover {
  background: var(--c-coral);
  color: var(--c-dark);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 125, 101, 0.35);
}

.news-link i {
  font-style: normal;
  font-weight: 800;
  transition: transform var(--t-fast);
}

.news-link:hover i {
  transform: translate(2px, -2px);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .news-badge-content {
    animation: none;
    transform: none;
    opacity: 1;
    filter: none;
  }
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(440px, 0.85fr);
  min-height: calc(100vh - 170px);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 5vw 70px 6vw;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--c-lime);
  color: var(--c-lime-dark);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  max-width: 740px;
}

.hero-copy h1 em,
.editorial-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  color: var(--c-ink-light);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  min-height: 56px;
  border-radius: var(--r-full);
  background: var(--c-coral);
  color: var(--c-ink);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(239, 125, 101, 0.3);
  transition: all var(--t-fast);
}

.btn-hero-primary:hover {
  background: var(--c-coral-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(239, 125, 101, 0.4);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-ink);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-ink);
}

.btn-hero-secondary:hover {
  color: var(--c-coral);
  border-color: var(--c-coral);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1px solid var(--c-border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-ink-light);
  line-height: 1.35;
}

.benefit-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-lime);
  color: var(--c-ink);
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-author-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}

.author-portrait-frame {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  background: var(--c-dark);
  flex-shrink: 0;
}

.author-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  transform-origin: 50% 45%;
}

.author-meta p {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.author-meta strong {
  color: var(--c-ink);
  font-size: 0.95rem;
}

/* Hero Media Visuel */
.hero-media-wrapper {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background-image: linear-gradient(170deg, rgba(7, 25, 38, 0.1), rgba(7, 25, 38, 0.45)), url("/partner-ai-v2.jpg");
  background-size: cover;
  background-position: center;
}

.hero-floating-card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: min(380px, calc(100% - 80px));
  padding: 30px;
  border-radius: var(--r-xl);
  background: rgba(7, 25, 38, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: var(--shadow-dark);
}

.floating-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--c-lime);
  margin-bottom: 12px;
}

.hero-floating-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 20px;
}

.floating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.floating-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

/* =====================================================================
   SECTIONS GÉNÉRALES
   ===================================================================== */
.section-pad {
  padding: 110px 5vw;
}

.section-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px 60px;
  align-items: flex-end;
  margin-bottom: 64px;
}

.section-header.full-width {
  grid-template-columns: 1fr;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-intro-text {
  font-size: 1.1rem;
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 520px;
}

/* =====================================================================
   SECTION 1 : POUR QUI ? (AUDIENCES)
   ===================================================================== */
.audiences-section {
  background: var(--c-bg);
}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: var(--r-xl);
  min-height: 360px;
  position: relative;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-card:hover {
  transform: translateY(-10px) !important;
  z-index: 5;
}

.card-theme-lime {
  background: var(--c-lime);
  color: var(--c-ink);
}

.card-theme-lime:hover {
  box-shadow: 0 24px 50px -10px rgba(11, 35, 54, 0.22), 0 0 0 2.5px #ffffff, 0 0 25px rgba(255, 255, 255, 0.95), 0 0 45px rgba(223, 233, 91, 0.35) !important;
}

.card-theme-coral {
  background: var(--c-coral);
  color: var(--c-ink);
}

.card-theme-coral:hover {
  box-shadow: 0 24px 50px -10px rgba(11, 35, 54, 0.22), 0 0 0 2.5px #ffffff, 0 0 25px rgba(255, 255, 255, 0.95), 0 0 45px rgba(235, 107, 86, 0.35) !important;
}

.card-theme-dark {
  background: var(--c-dark);
  color: #ffffff;
}

.card-theme-dark:hover {
  box-shadow: 0 26px 52px -10px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 30px rgba(255, 255, 255, 0.3) !important;
}

.card-role-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: auto;
}

.audience-card h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 40px 0 14px;
}

.audience-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.9;
  margin-bottom: 24px;
}

.card-theme-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.card-link-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.card-theme-dark .card-link-bottom {
  border-color: rgba(255, 255, 255, 0.2);
}

/* =====================================================================
   SECTION 2 : FORMATIONS & EXPERTISES (DARK THEME)
   ===================================================================== */
.formations-section {
  background: var(--c-dark);
  color: #ffffff;
}

.formations-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.formation-visual-card {
  position: relative;
  min-height: 340px;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--c-dark-border);
  box-shadow: var(--shadow-dark);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.38s ease;
}

.formation-visual-card:hover {
  transform: translateY(-8px) !important;
  z-index: 5;
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.75), 0 0 30px rgba(255, 255, 255, 0.25) !important;
}

.formation-visual-tools {
  background: linear-gradient(0deg, rgba(7, 25, 38, 0.9) 10%, rgba(7, 25, 38, 0.1) 70%), url("/partner-tools-v2.jpg");
  background-size: cover;
  background-position: center;
}

.formation-visual-cyber {
  background: linear-gradient(0deg, rgba(7, 25, 38, 0.9) 10%, rgba(7, 25, 38, 0.1) 70%), url("/partner-cyber-v2.jpg");
  background-size: cover;
  background-position: center;
}

.formation-visual-card span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--c-lime);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.formation-visual-card strong {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.formation-items-list {
  margin-top: 48px;
  border-top: 1px solid var(--c-dark-border);
}

.formation-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--c-dark-border);
  transition: background var(--t-fast);
}

.formation-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-lime);
}

.formation-details h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.formation-details p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 680px;
}

.formation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.formation-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.formation-arrow {
  font-size: 1.5rem;
  color: var(--c-lime);
  display: grid;
  place-items: center;
}

/* =====================================================================
   SECTION 3 : MA MÉTHODE
   ===================================================================== */
.method-section {
  background: var(--c-sage);
}

.method-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.method-card {
  padding: 36px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.method-card:hover {
  transform: translateY(-9px) !important;
  z-index: 5;
  background: rgba(255, 255, 255, 0.98);
  border-color: #ffffff;
  box-shadow: 0 22px 45px -10px rgba(11, 35, 54, 0.15), 0 0 0 2.5px #ffffff, 0 0 28px rgba(255, 255, 255, 0.9) !important;
}

.method-step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-sage-dark);
  margin-bottom: 24px;
}

.method-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.method-card p {
  font-size: 0.98rem;
  color: var(--c-ink-light);
  line-height: 1.6;
}

/* =====================================================================
   SECTION 4 : RÉFÉRENCES & EXPÉRIENCE
   ===================================================================== */
.references-section {
  background: var(--c-bg);
}

.impact-counter-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-xl);
  background: var(--c-lime);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

.counter-block {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(11, 35, 54, 0.12);
}

.counter-block:last-child {
  border-right: none;
}

.counter-block strong {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.counter-block span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-lime-dark);
  font-weight: 600;
}

/* =====================================================================
   SECTION 4 : RÉFÉRENCES & EXPÉRIENCE (SOBRIÉTÉ, GRAND 20 ET PARTENAIRES EN BAS)
   ===================================================================== */
.experience-feature-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: var(--r-xl);
  background: #ffffff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 64px;
}

/* Bloc d'Impact Monumental 20 ans */
.experience-stat-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 42px;
  border-right: 1px solid var(--c-border);
  flex-shrink: 0;
}

.experience-stat-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 0.85;
  margin-bottom: 12px;
}

.experience-stat-number strong {
  font-size: clamp(4.6rem, 5.8vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--c-ink);
  line-height: 0.85;
}

.experience-stat-number em {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-style: italic;
  font-weight: 700;
  color: var(--c-coral);
  line-height: 1;
}

.experience-stat-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-muted);
  max-width: 175px;
  line-height: 1.35;
}

.experience-feature-content h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 16px;
  color: var(--c-ink);
}

.experience-feature-content p {
  font-size: 1.05rem;
  color: var(--c-ink-light);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 24px;
}

/* En-tête de Transition vers les Partenaires */
.partners-section-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px 60px;
  align-items: flex-end;
  margin-bottom: 40px;
}

.partners-section-header h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}

/* Grille des Partenaires en Pleine Largeur (en bas) */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.partner-card {
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover {
  transform: translateY(-7px) !important;
  z-index: 5;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 36px -8px rgba(11, 35, 54, 0.12), 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 24px rgba(255, 255, 255, 0.7) !important;
}

.partner-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.partner-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--c-ink);
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--c-ink-light);
  line-height: 1.5;
}

/* =====================================================================
   SECTION 5 : CONTACT (DIRECT & AJAX)
   ===================================================================== */
.contact-section {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: stretch;
}

.contact-form-card {
  padding: 44px;
  border-radius: var(--r-xl);
  background: #ffffff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-form-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.contact-form-card p {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-ink);
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-ink);
  transition: all var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--c-ink);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 35, 54, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Champs mot de passe avec bouton Afficher/Masquer */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrap .form-control {
  padding-right: 46px;
}

.btn-toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--c-muted);
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  line-height: 0;
}

.btn-toggle-password:hover {
  color: var(--c-ink);
  background: rgba(11, 35, 54, 0.07);
}

.btn-toggle-password:focus-visible {
  outline: 2px solid var(--c-ink);
}

.btn-toggle-password svg {
  display: block;
  pointer-events: none;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-bottom: 24px;
}

.form-consent input {
  margin-top: 3px;
  accent-color: var(--c-ink);
}

.btn-submit-form {
  width: 100%;
  min-height: 56px;
  border-radius: var(--r-full);
  background: var(--c-coral);
  color: var(--c-ink);
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(239, 125, 101, 0.25);
  transition: all var(--t-fast);
}

.btn-submit-form:hover {
  background: var(--c-coral-hover);
  transform: translateY(-2px);
}

.btn-submit-form:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-feedback.is-success {
  display: block;
  color: #276738;
}

.form-feedback.is-error {
  display: block;
  color: #b02a37;
}

.contact-aside-card {
  padding: 40px 34px;
  border-radius: var(--r-xl);
  background: var(--c-dark);
  color: #ffffff;
  border: 1px solid var(--c-dark-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  box-shadow: var(--shadow-dark);
}

.aside-profile-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--c-dark-border-subtle);
}

.aside-portrait-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.aside-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-lime);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  display: inline-block;
}

.aside-author-name {
  display: block;
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.aside-author-role {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}

.aside-location-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.aside-channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--c-lime);
  margin-bottom: 2px;
}

.aside-channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all var(--t-fast);
  text-decoration: none;
}

.aside-channel-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-lime);
  transform: translateX(4px);
}

.aside-channel-item .channel-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--c-lime);
  flex-shrink: 0;
}

.aside-channel-item .channel-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.aside-channel-item small {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.aside-channel-item strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
}

.aside-channel-item .channel-arrow {
  margin-left: auto;
  font-style: normal;
  font-weight: 800;
  color: var(--c-lime);
  font-size: 1rem;
  transition: transform var(--t-fast);
}

.aside-channel-item:hover .channel-arrow {
  transform: translate(2px, -2px);
}

.aside-guarantees {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(223, 233, 91, 0.08);
  border: 1px solid rgba(223, 233, 91, 0.22);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.guarantee-item strong {
  color: var(--c-lime);
}

.guarantee-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.aside-quote-wrap {
  padding-top: 20px;
  border-top: 1px solid var(--c-dark-border-subtle);
}

.contact-aside-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.28;
  color: var(--c-lime);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--c-dark);
  color: #ffffff;
  padding: 80px 5vw 40px;
  border-top: 1px solid var(--c-dark-border-subtle);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--c-dark-border);
  margin-bottom: 40px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-wrap strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-brand-wrap small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.footer-nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Crédit discret du prestataire : reprend le style du pied de page */
.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--c-lime);
  text-decoration-color: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================================
   RESPONSIVE DESIGN (TABLETTES & MOBILES)
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
  .hero-media-wrapper {
    min-height: 480px;
  }
  .section-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .audiences-grid,
  .formations-showcase,
  .method-steps-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .experience-feature-card {
    grid-template-columns: auto 1fr;
    gap: 32px;
    padding: 36px;
  }
  .partners-section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: 74px;
    padding: 10px 4vw;
  }
  .header-nav {
    display: none;
  }
  /* Pages sans menu burger (cours, mentions…) : on garde le bouton de retour, en compact. */
  .site-header:has(.mobile-nav-toggle) .header-actions {
    display: none;
  }
  .header-actions .btn-course-portal {
    padding: 8px 12px;
    font-size: 0.74rem;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .news-strip {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
    padding: 24px 5vw;
  }
  .news-badge {
    margin: 0 auto;
  }
  .news-header-meta {
    justify-content: center;
  }
  .news-tags {
    justify-content: center;
  }
  .news-link {
    justify-content: center;
    margin: 4px auto 0;
  }
  .hero-benefits {
    grid-template-columns: 1fr;
  }
  .impact-counter-strip {
    grid-template-columns: 1fr;
  }
  .counter-block {
    border-right: none;
    border-bottom: 1px solid rgba(11, 35, 54, 0.12);
  }
  .counter-block:last-child {
    border-bottom: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .formation-row {
    grid-template-columns: 44px 1fr 28px;
    gap: 14px;
    padding: 20px 0;
  }
  .formation-number {
    font-size: 0.95rem;
  }
  .formation-arrow {
    font-size: 1.15rem;
  }
  .experience-feature-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding: 36px 20px;
  }
  .experience-stat-callout {
    align-items: center;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    padding-bottom: 24px;
    width: 100%;
  }
  .experience-stat-number {
    justify-content: center;
  }
  .experience-stat-sub {
    max-width: none;
    text-align: center;
  }
  .experience-feature-card .author-portrait-frame {
    margin: 0 auto;
  }
  .partners-section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-aside-card,
  .contact-form-card {
    padding: 32px 20px;
    height: auto;
  }
  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .footer-nav a {
    display: inline-block;
    padding: 4px 0;
    font-size: 1.05rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}

/* =====================================================================
   PAGES LÉGALES (MENTIONS, CGV, CONFIDENTIALITÉ)
   ===================================================================== */
.legal-page-header {
  padding: 60px 5vw 40px;
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border);
}
.legal-page-header h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 12px 0 8px;
}
.legal-meta {
  font-size: 0.92rem;
  color: var(--c-muted);
}
.legal-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 5vw 100px;
}
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border-subtle);
}
.legal-section:last-child {
  border-bottom: none;
}
.legal-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--c-ink);
}
.legal-section p, .legal-section ul {
  font-size: 1rem;
  color: var(--c-ink-light);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-section ul {
  padding-left: 24px;
}
.legal-section dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 24px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  margin-top: 16px;
}
.legal-section dt {
  font-weight: 700;
  color: var(--c-ink);
}
.legal-section dd {
  color: var(--c-ink-light);
}
.legal-callout {
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background: var(--c-sand);
  border: 1px solid rgba(11, 35, 54, 0.1);
  margin-bottom: 40px;
}
.legal-callout strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--c-ink);
}
.legal-callout p {
  color: var(--c-ink-light);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* =====================================================================
   DYNAMISME & INTERACTIONS 2026
   ===================================================================== */

/* 1. Jauge de progression de scroll */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-lime), #84cc16);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* 2. Header dynamique au scroll (Glassmorphism compact) */
.site-header.is-scrolled {
  min-height: 68px;
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(7, 25, 38, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .brand-logo-frame {
  width: 46px;
  height: 46px;
}

.site-header.is-scrolled .brand-logo-frame img {
  width: 40px;
  height: 40px;
}

/* 3. Système d'apparition au scroll doux et échelonné (Staggered Reveals) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggering des cartes d'audiences (l'une après l'autre) */
.audiences-grid .audience-card:nth-child(1) { transition-delay: 0ms; }
.audiences-grid .audience-card:nth-child(2) { transition-delay: 160ms; }
.audiences-grid .audience-card:nth-child(3) { transition-delay: 320ms; }

/* Staggering des étapes de méthode pédagogique (progression chronologique) */
.method-steps-grid .method-card:nth-child(1) { transition-delay: 0ms; }
.method-steps-grid .method-card:nth-child(2) { transition-delay: 180ms; }
.method-steps-grid .method-card:nth-child(3) { transition-delay: 360ms; }

/* Staggering des partenaires */
.partner-grid .partner-card:nth-child(1) { transition-delay: 0ms; }
.partner-grid .partner-card:nth-child(2) { transition-delay: 60ms; }
.partner-grid .partner-card:nth-child(3) { transition-delay: 120ms; }
.partner-grid .partner-card:nth-child(4) { transition-delay: 180ms; }
.partner-grid .partner-card:nth-child(5) { transition-delay: 240ms; }
.partner-grid .partner-card:nth-child(6) { transition-delay: 300ms; }
.partner-grid .partner-card:nth-child(7) { transition-delay: 360ms; }
.partner-grid .partner-card:nth-child(8) { transition-delay: 420ms; }

/* Arrivée dynamique par la gauche des expertises (Catalogue) */
.reveal-from-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-from-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Staggering des 5 expertises */
.formation-items-list .formation-row:nth-child(1) { transition-delay: 0ms; }
.formation-items-list .formation-row:nth-child(2) { transition-delay: 130ms; }
.formation-items-list .formation-row:nth-child(3) { transition-delay: 260ms; }
.formation-items-list .formation-row:nth-child(4) { transition-delay: 390ms; }
.formation-items-list .formation-row:nth-child(5) { transition-delay: 520ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-from-left {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 4. Halo lumineux au survol (Nettoyage de l'ancien spotlight vert) */
.has-spotlight {
  position: relative;
}

.has-spotlight::before {
  display: none !important;
}

/* 5. Filtres interactifs du catalogue de formations */
.formation-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  margin-bottom: 24px;
}

.filter-pill {
  appearance: none;
  border: 1px solid var(--c-dark-border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.filter-pill.is-active {
  background: var(--c-lime);
  color: var(--c-ink);
  border-color: var(--c-lime);
  font-weight: 800;
  box-shadow: 0 0 18px rgba(223, 233, 91, 0.28);
}

.filter-count {
  font-size: 0.72rem;
  opacity: 0.8;
  font-family: var(--font-mono);
}

.formation-row {
  cursor: pointer;
  transition: all var(--t-smooth);
}

.formation-row.is-hidden {
  display: none !important;
}

.formation-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.formation-row:hover .formation-arrow {
  transform: translateX(4px) translateY(-4px);
  color: #ffffff;
}

/* 6. Tiroir coulissant de formation (Slide-over Drawer) */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.formation-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 94vw);
  background: #ffffff;
  color: var(--c-ink);
  z-index: 1250;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.formation-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-bg);
}

.drawer-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #166534;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--c-ink);
  transition: all var(--t-fast);
}

.drawer-close-btn:hover {
  background: var(--c-ink);
  color: #ffffff;
  transform: rotate(90deg);
}

.drawer-body {
  padding: 32px 28px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.drawer-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.drawer-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-ink-light);
}

.drawer-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--c-ink-light);
}

.drawer-section-heading {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-objectives {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-objectives li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--c-ink-light);
}

.drawer-objectives li::before {
  content: "✓";
  color: #166534;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.drawer-box {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.drawer-box strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--c-ink);
}

.drawer-box p {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 0;
}

.drawer-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
  display: flex;
  gap: 12px;
}

.drawer-btn-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-full);
  background: var(--c-dark);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}

.drawer-btn-cta:hover {
  background: var(--c-coral);
  transform: translateY(-2px);
}

/* 7. Simulateur express (« Trouver votre format en 3 clics ») */
.simulator-section {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.simulator-container {
  max-width: 1060px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  padding: 44px;
}

.simulator-step {
  margin-bottom: 32px;
}

.simulator-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-lime);
  color: var(--c-ink);
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.simulator-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sim-option-btn {
  appearance: none;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 18px 16px;
  background: var(--c-bg);
  text-align: left;
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-option-btn:hover {
  border-color: var(--c-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sim-option-btn.is-active {
  background: #ffffff;
  border-color: var(--c-ink);
  border-width: 2px;
  box-shadow: 0 8px 24px rgba(11, 35, 54, 0.12);
  outline: 2px solid var(--c-lime);
}

.sim-option-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--c-ink);
}

.sim-option-sub {
  font-size: 0.78rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.simulator-result-box {
  background: var(--c-dark);
  color: #ffffff;
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--c-dark-border);
  box-shadow: var(--shadow-dark);
}

.sim-result-content {
  flex: 1;
}

.sim-result-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--c-lime);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.sim-result-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.sim-result-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  margin: 0;
}

.sim-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-full);
  background: var(--c-lime);
  color: var(--c-ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--t-fast);
  box-shadow: 0 4px 16px rgba(223, 233, 91, 0.25);
  cursor: pointer;
  border: none;
}

.sim-result-cta:hover {
  background: var(--c-lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(223, 233, 91, 0.4);
}

@media (max-width: 900px) {
  .simulator-options-grid {
    grid-template-columns: 1fr;
  }
  .simulator-result-box {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }
  .simulator-container {
    padding: 28px 20px;
  }
}


/* =====================================================================
   EN-TÊTE : pas de retour à la ligne, burger dès les écrans moyens
   ===================================================================== */
.header-nav a,
.header-actions a,
.brand-title strong {
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .header-nav {
    gap: 22px;
  }
}

@media (max-width: 1180px) {
  .header-nav {
    display: none;
  }
  .site-header:has(.mobile-nav-toggle) .header-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* =====================================================================
   BANDEAU PARTENAIRE REPLIABLE (sous la navbar)
   ===================================================================== */
.news-announce {
  position: relative;
  z-index: 1;
}

.news-announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 5vw;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 237, 0.92) 100%);
  border-bottom: 1px solid var(--c-border-subtle);
  font-size: 0.86rem;
  color: var(--c-ink);
  transition: background var(--t-fast);
}

.news-announce-bar::-webkit-details-marker {
  display: none;
}

.news-announce-bar:hover {
  background: #ffffff;
}

.news-announce-bar:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: -4px;
}

.news-announce-tag {
  flex: none;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--c-lime);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-announce-text {
  min-width: 0;
  line-height: 1.4;
}

/* Pastille chevron (même famille que le bouton burger) : tourne à l'ouverture */
.news-announce-toggle {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-full);
  background: #ffffff;
  border: 1px solid var(--c-border-subtle);
  box-shadow: var(--shadow-sm);
  color: var(--c-ink);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.news-announce-toggle svg {
  transition: transform 0.25s ease;
}

.news-announce-bar:hover .news-announce-toggle {
  background: var(--c-lime);
  border-color: var(--c-lime-dark);
  transform: scale(1.06);
}

.news-announce-label-close,
.news-announce[open] .news-announce-label-open {
  display: none;
}

.news-announce[open] .news-announce-label-close {
  display: inline;
}

.news-announce[open] .news-announce-toggle svg {
  transform: rotate(180deg);
}

.news-announce[open] .news-announce-bar {
  border-bottom-color: transparent;
}

.news-announce[open] .news-strip {
  animation: news-unfold 0.28s ease-out;
}

@keyframes news-unfold {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-announce[open] .news-strip {
    animation: none;
  }
}

@media (max-width: 768px) {
  .news-announce-bar {
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 4vw;
    font-size: 0.8rem;
  }
  /* Sur mobile, la ligne repliée garde l'essentiel ; le détail Qualiopi est dans l'annonce ouverte. */
  .news-announce-extra {
    display: none;
  }
  .news-announce-toggle {
    margin-left: auto;
  }
  .news-strip .news-badge {
    display: none;
  }
  .news-strip {
    padding: 20px 5vw;
    gap: 12px;
  }
}

/* Cibles tactiles confortables (44 px) sur mobile */
@media (max-width: 768px) {
  .btn-hero-secondary,
  .footer-legal-links a,
  .aside-channel-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
