/* --- Correction alternance arrière-plan sections --- */
.about-grid,
.referents-header,
.referents-grid,
.certifs-header,
.certifs-category,
.contact-grid {
  background: transparent !important;
}
/* --- Alternance arrière-plan sections --- */
.bg-white {
  background: #fff;
}
.bg-light {
  background: #e3e7ed !important;
  padding-left: 48px;
  padding-right: 48px;
}
/* --- PATCH FINAL QUALIOPI MOBILE --- */
@media (max-width: 600px) {
  .qualiopi-block {
    width: 88vw !important;
    max-width: 88vw !important;
    margin-top: 16px !important;
    margin-left: 2vw !important;
    margin-right: 6vw !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
    display: block !important;
    border-radius: 0 0 16px 16px !important;
    padding: 10px 2vw !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
  }
}
@media (max-width: 600px) {
  .qualiopi-inner {
    padding-left: 0 !important;
    min-height: unset !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  #btn-qualiopi-info-modal {
    position: static !important;
    width: 120px !important;
    margin: 0 auto 12px auto !important;
    display: block !important;
    left: unset !important;
    top: unset !important;
    transform: none !important;
  }
}
@media (max-width: 480px) {
  .about-kpis {
    grid-template-columns: 1fr 1fr !important;
  }
}
/* --- Centrage universel du badge Titre Pro dans la grille --- */
.certifs-grid:only-child,
.certifs-grid:has(#certif-titrepro:only-child) {
  justify-items: center;
  grid-template-columns: 1fr !important;
}
#certif-titrepro {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 700px) {
  .hero, .hero-inner {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: visible !important;
    box-sizing: border-box;
  }
  .hero-content h1 {
    font-size: 1.25em !important;
    word-break: break-word;
    white-space: normal !important;
    max-width: 98vw;
  }
}
html, body {
  overflow-x: hidden;
}

@media (max-width: 700px) {
  .certifs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 98vw;
    gap: 10px !important;
  }
}
@media (max-width: 600px) {
  .qualiopi-block {
    width: 98vw;
    max-width: 98vw;
    min-width: 0;
    padding: 10px 1vw;
    border-radius: 12px;
    box-sizing: border-box;
    margin-left: 1vw !important;
    margin-right: 1vw !important;
  }
}
.certif-badge-logo {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
/* --- Responsive portrait mobile très étroit (<480px) --- */
@media (max-width: 480px) {
  .qualiopi-block {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding: 8px 1vw;
    border-radius: 8px;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }
  .qualiopi-logo {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .qualiopi-logo > span {
    font-size: 20px;
  }
  .qualiopi-logo-img {
    width: 32px;
    height: 32px;
  }
  .qualiopi-logo .label {
    font-size: 13px;
  }
  .qualiopi-desc {
    font-size: 12px;
    max-width: 100%;
  }
  .btn-qualiopi {
    font-size: 12px;
    padding: 8px 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 2vw 24px 2vw;
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }
  .footer-col, .footer-brand {
    min-width: 0 !important;
    max-width: 100vw !important;
  }
  .footer-partners, .footer-partners-title, .footer-partners-subtitle {
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100vw !important;
    padding: 0 2vw !important;
    font-size: 11px !important;
  }
}
/* --- Responsive modale Catalogue Entreprise --- */
@media (max-width: 600px) {
  #catalogue-entreprise-modal > div {
    max-width: 98vw !important;
    width: 98vw !important;
    height: 80vh !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 10px !important;
  }
  #catalogue-entreprise-modal-iframe {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 0 0 10px 10px !important;
  }
}

/* --- Responsive bloc Qualiopi --- */
@media (max-width: 600px) {
  .qualiopi-block {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding: 12px 2vw;
    border-radius: 12px;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }
  .qualiopi-logo {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .qualiopi-logo > span {
    font-size: 28px;
  }
  .qualiopi-logo-img {
    width: 44px;
    height: 44px;
  }
  .qualiopi-logo .label {
    font-size: 16px;
  }
  .qualiopi-desc {
    font-size: 13px;
    max-width: 100%;
  }
  .btn-qualiopi {
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* --- Responsive bandeau cookies --- */
@media (max-width: 600px) {
  #cookie-notice {
    flex-direction: column;
    align-items: flex-start;
    font-size: 11px !important;
    padding: 12px 4vw !important;
    gap: 10px !important;
  }
  #cookie-notice > span {
    margin-bottom: 6px;
    display: block;
    max-width: 100%;
    word-break: break-word;
  }
  #cookie-notice button {
    font-size: 12px !important;
    padding: 8px 10px !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
}

      /* ── MODALES : BOUTON FERMETURE HARMONISÉ ── */
      .modal-close-btn {
        background: none;
        border: none;
        color: #1a5fb4; /* bleu inactif */
        font-size: 22px;
        font-weight: 700;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 18px;
        right: 18px;
        cursor: pointer;
        transition: background 0.22s, color 0.22s, transform 0.22s cubic-bezier(.68,-0.55,.27,1.55);
        box-shadow: none;
      }
      .modal-close-btn:hover, .modal-close-btn:focus {
        background: #ffe6e6;
        color: #d32f2f; /* rouge au survol */
        box-shadow: 0 2px 12px rgba(211,47,47,0.18);
        transform: scale(1.32) rotate(8deg);
        outline: none;
      }
      .modal-close-btn-abs {
        position: absolute;
        top: 18px;
        right: 18px;
      }
      .u-center {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
      }
      text-align: center !important;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      max-width: none;
    text-align: center;
  }
  .referents-header .section-label,
  .referents-header .section-title,
  .referents-header .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  text-align: center;
justify-content: center;
/*
      SOMMAIRE
      1) Base et variables
      2) Header et hero
      3) Sections contenu (about, services, contact, certifs, referents)
      4) Footer
      5) Responsive
      6) Extensions et utilitaires
    */

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

    :root {
      --navy: #0d1f3c;
      --navy-mid: #162d54;
      --blue: #1a5fb4;
      --sky: #3b8eea;
      --accent: #f4a300;
      --accent-light: #ffd166;
      --white: #ffffff;
      --off-white: #f7f9fc;
      --gray-100: #eef2f8;
      --gray-300: #b8c8de;
      --gray-500: #6b82a0;
      --text: #1a2a42;
      --text-light: #4a6080;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Sora', sans-serif;
      color: var(--text);
      background: var(--off-white);
      overflow-x: hidden;
    }

    /* ── HEADER ─────────────────────────────────── */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(13, 31, 60, 0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.07);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px;
      height: 72px;
    }

    .logo-block { display: flex; align-items: center; gap: 14px; }

    .logo-icon {
      width: 52px; height: 52px; border-radius: 14px;
      object-fit: contain;
      display: block;
      box-shadow: none;
      flex-shrink: 0;
    }

    .logo-text { display: flex; flex-direction: column; }
    .logo-name {
      font-weight: 700; font-size: 18px; color: #fff; letter-spacing: 2px;
      line-height: 1;
    }
    .logo-name span { color: #fff; }
    .logo-sub {
      font-size: 10px; font-weight: 300; color: var(--gray-300);
      letter-spacing: 0.5px; line-height: 1.4;
    }

    nav { display: flex; gap: 4px; align-items: center; }
    nav a {
      text-decoration: none; font-size: 13px; font-weight: 500;
      color: rgba(255,255,255,0.7); padding: 8px 14px; border-radius: 8px;
      transition: all 0.2s;
      letter-spacing: 0.3px;
    }
    nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
    nav a.nav-active {
      color: #fff;
      background: rgba(255,255,255,0.16);
      border: 1px solid rgba(255,255,255,0.2);
      font-weight: 600;
    }

    .nav-cta {
      margin-left: 10px;
      background: var(--accent) !important;
      color: var(--navy) !important;
      font-weight: 600 !important;
      padding: 9px 20px !important;
      border-radius: 8px !important;
    }
    .nav-cta:hover { background: var(--accent-light) !important; }

    /* ── HERO ────────────────────────────────────── */
    .hero {
      background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a70 100%);
      display: flex; flex-direction: column;
      padding: 0; position: relative; overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 60% at 80% 50%, rgba(59,142,234,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(244,163,0,0.07) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-grid-lines {
      position: absolute; inset: 0; pointer-events: none;
      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;
    }

    .hero-inner {
      display: flex; align-items: center; gap: 60px;
      max-width: 1100px; width: 100%; margin: 0 auto;
      padding: 100px 48px 48px;
      position: relative; z-index: 1;
    }

    .hero-content { flex: 1; }

    .hero-side {
      flex: 0 0 340px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    }

    .hero-side-card {
      background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px; padding: 20px 16px; transition: all 0.2s;
    }
    .hero-side-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }
    .hero-side-card .card-icon { font-size: 22px; margin-bottom: 8px; }
    .hero-side-card .card-title { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px; }
    .hero-side-card .card-desc { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.5; }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(244,163,0,0.12); border: 1px solid rgba(244,163,0,0.3);
      border-radius: 100px; padding: 6px 16px;
      font-size: 12px; font-weight: 600; color: var(--accent);
      letter-spacing: 1px; text-transform: uppercase;
      margin-bottom: 28px;
      animation: fadeUp 0.6s ease both;
    }

    .hero-badge::before {
      content: ''; width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent); animation: pulse 2s infinite;
    }

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

    .hero h1 {
      font-family: 'Fraunces', serif; font-weight: 600;
      font-size: clamp(38px, 5.5vw, 64px); line-height: 1.1;
      color: #fff; margin-bottom: 24px;
      animation: fadeUp 0.6s 0.1s ease both;
    }

    .hero h1 em {
      font-style: italic; font-weight: 300;
      color: var(--sky);
    }

    .hero p {
      font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.7);
      line-height: 1.75; max-width: 500px; margin-bottom: 40px;
      animation: fadeUp 0.6s 0.2s ease both;
    }

    .hero-actions {
      display: flex; gap: 14px; flex-wrap: wrap;
      animation: fadeUp 0.6s 0.3s ease both;
    }

    .btn-primary {
      background: var(--accent); color: var(--navy);
      font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
      padding: 14px 28px; border-radius: 10px;
      text-decoration: none; transition: all 0.2s;
      border: none; cursor: pointer;
      box-shadow: 0 4px 20px rgba(244,163,0,0.3);
    }
    .btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(244,163,0,0.4); }

    .btn-secondary {
      background: rgba(255,255,255,0.08); color: #fff;
      font-weight: 500; font-size: 14px;
      padding: 14px 28px; border-radius: 10px;
      text-decoration: none; transition: all 0.2s;
      border: 1px solid rgba(255,255,255,0.15); cursor: pointer;
    }
    .btn-secondary:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }

    /* Stats bar */
    .hero-stats {
      background: rgba(0,0,0,0.2);
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex; justify-content: center;
      position: relative; z-index: 1;
    }

    .stat-item {
      flex: 1; max-width: 220px; padding: 24px 32px;
      text-align: center; border-right: 1px solid rgba(255,255,255,0.07);
      animation: fadeUp 0.6s 0.4s ease both;
    }
    .stat-item:last-child { border-right: none; }
    .stat-num {
      font-family: 'Fraunces', serif; font-size: 32px; font-weight: 600;
      color: var(--accent); line-height: 1;
    }
    .stat-label {
      font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.5);
      margin-top: 4px; letter-spacing: 0.5px;
    }

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

    /* ── HORAIRES BANNER ─────────────────────────── */
    .horaires {
      background: var(--navy);
      border-bottom: 3px solid var(--accent);
      display: flex; justify-content: center; align-items: center;
      gap: 40px; padding: 18px 48px; flex-wrap: wrap;
    }

    .horaires-item { display: flex; align-items: center; gap: 10px; }
    .horaires-icon {
      width: 32px; height: 32px; border-radius: 8px;
      background: rgba(244,163,0,0.15); display: flex;
      align-items: center; justify-content: center;
      font-size: 15px;
    }
    .horaires-text { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; }
    .horaires-text strong { color: #fff; font-weight: 600; }

    /* ── SECTION SHARED ──────────────────────────── */
    section:not(.hero) { padding: 96px 48px; }


    .section-label {
      font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
      text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
    }
    .section-title {
      font-family: 'Fraunces', serif; font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 600; color: var(--navy); line-height: 1.2;
      margin-bottom: 16px;
    }
    .section-title em { font-style: italic; font-weight: 300; color: var(--sky); }
    .section-desc {
      font-size: 16px; font-weight: 300; color: var(--text-light); line-height: 1.8;
      max-width: 560px; margin-bottom: 48px;
    }

    /* ── INDICATEURS ACCORDION ───────────────────── */
    .indicateurs-block {
      margin-top: 24px;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--gray-100);
    }
    .indicateurs-toggle {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      padding: 14px 20px; background: var(--navy);
      border: none; cursor: pointer; transition: background 0.2s;
    }
    .indicateurs-toggle:hover { background: var(--navy-mid); }
    .indicateurs-toggle-left {
      display: flex; align-items: center; gap: 10px;
      font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: #fff;
    }
    .indicateurs-icon { font-size: 16px; }
    .indicateurs-arrow {
      font-size: 11px; color: var(--accent); transition: transform 0.3s;
    }
    .indicateurs-toggle[aria-expanded="true"] .indicateurs-arrow {
      transform: rotate(180deg);
    }
    .indicateurs-content {
      background: var(--gray-100); padding: 24px 20px;
      border-top: 1px solid rgba(0,0,0,0.05);
    }
    .indicateurs-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px;
    }
    .indicateur-item {
      background: var(--white); border-radius: 10px;
      padding: 16px; text-align: center;
      border: 1px solid var(--gray-100);
      transition: transform 0.2s;
    }
    .indicateur-item:hover { transform: translateY(-2px); }
    .indicateur-num {
      font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600;
      color: var(--blue); line-height: 1;
    }
    .indicateur-label {
      font-size: 12px; color: var(--text-light); margin-top: 6px; line-height: 1.4;
    }
    .indicateurs-note {
      font-size: 11px; color: var(--gray-500); font-style: italic; text-align: center;
    }

    /* ── ABOUT VISUAL REDESIGN ───────────────────── */
    .about-kpis {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      border-radius: 16px 16px 0 0;
      overflow: hidden;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .about-kpi {
      padding: 24px 16px; text-align: center;
      border-right: 1px solid rgba(255,255,255,0.08);
      transition: background 0.2s;
    }
    .about-kpi:last-child { border-right: none; }
    .about-kpi:hover { background: rgba(255,255,255,0.05); }
    .about-kpi-num {
      font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600;
      color: var(--accent); line-height: 1;
    }
    .about-kpi-label {
      font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.45);
      margin-top: 6px; line-height: 1.4;
    }

    .about-values {
      background: linear-gradient(135deg, var(--navy-mid) 0%, #1a3a70 100%);
      border-radius: 0 0 16px 16px;
      padding: 8px 0;
    }
    .about-value-item {
      display: flex; align-items: flex-start; gap: 16px;
      padding: 20px 28px; border-bottom: 1px solid rgba(255,255,255,0.06);
      transition: background 0.2s;
    }
    .about-value-item:last-child { border-bottom: none; }
    .about-value-item:hover { background: rgba(255,255,255,0.04); }
    .about-value-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
    .about-value-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
    .about-value-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

    /* ── FOOTER LEGAL BUTTONS ────────────────────── */
    .footer-legal-btn {
      text-decoration: none; font-size: 12px; font-weight: 500;
      color: rgba(255,255,255,0.5); padding: 5px 12px;
      border: 1px solid rgba(255,255,255,0.12); border-radius: 6px;
      transition: all 0.2s;
    }
    .footer-legal-btn:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); }

    /* ── ABOUT ───────────────────────────────────── */
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
      align-items: center; max-width: 1100px; margin: 0 auto;
    }

    .about-text .section-desc { max-width: none; }

    .about-highlight {
      border-left: 3px solid var(--accent);
      padding: 16px 20px; background: var(--gray-100);
      border-radius: 0 10px 10px 0; margin-top: 32px;
      font-size: 15px; font-style: italic; color: var(--text-light);
      line-height: 1.7;
    }

    .about-visual {
      background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
      border-radius: 20px; padding: 40px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    }

    .about-card {
      background: rgba(255,255,255,0.07); border-radius: 12px;
      padding: 24px; border: 1px solid rgba(255,255,255,0.1);
      transition: all 0.2s;
    }
    .about-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
    .about-card-icon { font-size: 22px; margin-bottom: 10px; }
    .about-card-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
    .about-card-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

    /* ── SERVICES ────────────────────────────────── */
    .services { background: var(--off-white); }
    .services-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
    .services-header .section-desc { margin: 0 auto; }

    .services-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px; max-width: 1100px; margin: 0 auto;
    }

    .service-card {
      background: var(--white); border-radius: 16px;
      padding: 36px 32px; border: 1px solid var(--gray-100);
      transition: all 0.25s; position: relative; overflow: hidden;
      cursor: pointer;
    }

    .service-card::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0;
      height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky));
      transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
    }
    .service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,31,60,0.1); }
    .service-card:hover::after { transform: scaleX(1); }

    .service-num {
      font-family: 'Fraunces', serif; font-size: 13px; font-weight: 600;
      color: var(--gray-300); margin-bottom: 16px;
    }
    .service-icon-wrap {
      width: 52px; height: 52px; border-radius: 14px;
      background: var(--gray-100); display: flex; align-items: center;
      justify-content: center; font-size: 22px; margin-bottom: 20px;
      transition: all 0.2s;
    }
    .service-card:hover .service-icon-wrap { background: rgba(26,95,180,0.1); }

    .service-title {
      font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 10px;
    }
    .service-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }
    .service-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 600; color: var(--blue);
      text-decoration: none; margin-top: 20px; transition: gap 0.2s;
    }
    .service-link:hover { gap: 10px; }

    /* ── CONTACT ─────────────────────────────────── */
    .contact { background: var(--white); }
    .contact-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
      max-width: 1100px; margin: 0 auto; align-items: start;
    }

    .contact-items { display: flex; flex-direction: column; gap: 16px; }
    .contact-item {
      display: flex; align-items: flex-start; gap: 16px;
      padding: 20px 24px; border-radius: 12px;
      background: var(--off-white); border: 1px solid var(--gray-100);
      transition: all 0.2s; text-decoration: none;
    }
    .contact-item:hover { border-color: var(--sky); background: rgba(59,142,234,0.04); }
    .contact-item-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: linear-gradient(135deg, var(--blue), var(--sky));
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; flex-shrink: 0;
    }
    .contact-item-text .label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-500); }
    .contact-item-text .value { font-size: 14px; font-weight: 500; color: var(--text); margin-top: 2px; }

    .contact-form-block {
      background: var(--navy); border-radius: 20px; padding: 40px;
    }
    .contact-form-block h3 {
      font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600;
      color: #fff; margin-bottom: 8px;
    }
    .contact-form-block p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .form-group label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }
    .form-group input, .form-group select, .form-group textarea {
      background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
      border-radius: 10px; padding: 12px 16px;
      color: #fff; font-size: 14px; font-family: 'Sora', sans-serif;
      outline: none; transition: border-color 0.2s;
    }
    .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
      border-color: var(--sky);
    }
    .form-group select option { background: var(--navy); }
    .form-group textarea { resize: vertical; min-height: 90px; }

    /* ── CERTIFICATIONS ──────────────────────────── */
    .certifs { background: var(--off-white); }
    .certifs-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
    .certifs-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px !important;
      justify-items: center;
      max-width: 800px; margin: 0 auto;
    }

    .certif-badge {
      background: var(--white); border: 1px solid var(--gray-100);
      border-radius: 12px; padding: 0 !important;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      width: 160px;
      min-width: 160px;
      max-width: 160px;
      min-height: 120px;
      max-height: 120px;
      overflow: hidden;
      transition: all 0.25s;
      box-sizing: border-box;
    }
    .certif-badge-title,
    .certif-badge-text,
    .certif-badge-logo-wrap {
      margin: 0 !important;
    }
    .certif-badge-title {
      font-weight: 700;
      font-size: 18px;
      color: #1a5fb4;
      text-align: center;
      margin-bottom: 8px !important;
      white-space: nowrap;
      width: 100%;
      display: block;
    }
    .certif-badge-logo-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      margin-bottom: 8px !important;
    }
    .certif-badge-text {
      font-size: 20px;
      color: #1a5fb4;
      font-weight: 700;
      text-align: center;
      white-space: nowrap;
      width: 100%;
      display: block;
      margin-top: 8px !important;
    }

    .certif-badge:hover {
      border-color: var(--blue); transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(26,95,180,0.1);
    }
    .certif-badge span {
      font-weight: 700; font-size: 13px; color: var(--navy);
      text-align: center; line-height: 1.4;
      white-space: normal;
      display: block;
      word-break: break-word;
    }
    .certif-badge span[style*="color:#111"] {
      white-space: nowrap;
      display: block;
      text-align: center;
    }
    .certif-badge .certif-accent { color: var(--blue); }
    .certif-badge-logo {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 120px;
      object-fit: cover;
      border-radius: 12px;
    }
    #certif-titrepro {
      display: flex !important;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-left: auto !important;
      margin-right: auto !important;
      padding: 0 !important;
      overflow: hidden;
      gap: 0;
      min-height: 140px;
      max-height: 140px;
      border: 1px solid var(--blue) !important;
      background: #fff;
      width: auto !important;
      min-width: unset !important;
      max-width: unset !important;
    }
    .certifs-grid > * {
      justify-self: center;
    }
    /* Centrage robuste du badge Titre Pro */
    #certif-titrepro {
      margin-left: auto !important;
      margin-right: auto !important;
      display: flex !important;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 160px !important;
      min-width: 160px !important;
      max-width: 160px !important;
    }
    #certif-titrepro .certif-badge-logo {
      flex: 1 1 auto;
      width: 100%;
      min-height: unset;
      max-width: 100%;
      object-fit: cover;
      border-radius: 0;
    }
    #certif-titrepro .certif-accent {
      font-size: 12px;
      line-height: 1.4;
      flex-shrink: 0;
      padding: 4px 0 4px;
      background: #fff;
      width: 100%;
      text-align: center;
    }
    .certif-badge-text {
      font-size: 20px;
      color: #111;
      font-weight: 700;
      text-align: center;
      white-space: nowrap;
      width: 100%;
      display: block;
      margin-top: 8px;
    }
    .certif-badge-text {
      min-width: 180px;
    }

    /* ── REFERENTS ───────────────────────────────── */
    .referents { background: var(--white); }
    .referents-header { max-width: 600px; }
    .referents-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px; max-width: 1100px; margin: 0 auto;
    }

    .ref-card {
      background: var(--off-white); border-radius: 14px; padding: 28px 24px;
      border: 1px solid var(--gray-100); transition: all 0.2s;
    }
    .ref-card:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,31,60,0.07); }
    .ref-card-clickable { cursor: pointer; }
    .ref-contact-card {
      display: grid;
      grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.2fr) minmax(160px, 0.9fr);
      gap: 12px;
      align-items: center;
      padding: 10px 12px;
      margin-top: 8px;
      border: 1px solid #e7ebf2;
      border-radius: 10px;
      background: #fafcff;
    }
    .ref-contact-card:first-child { margin-top: 0; }
    .ref-col { font-size: 14px; color: #324055; }
    .ref-col-name { font-weight: 700; color: #0d1f3c; }
    .ref-col-phone { white-space: nowrap; }
    .ref-contact-line { font-size: 13px; color: #4a5568; margin: 2px 0; }
    .ref-contact-line a { color: #1a5fb4; text-decoration: none; }
    .ref-contact-line a:hover { text-decoration: underline; }
    .ref-contact-link { color: #1a5fb4; text-decoration: none; }
    .ref-contact-link:hover { text-decoration: underline; }
    @media (max-width: 860px) {
      .ref-contact-card { grid-template-columns: 1fr; gap: 6px; }
      .ref-col-phone { white-space: normal; }
    }
    .ref-icon { font-size: 28px; margin-bottom: 14px; }
    .ref-title { font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 8px; }
    .ref-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }
    .ref-tag {
      display: inline-block; margin-top: 12px;
      background: rgba(26,95,180,0.1); color: var(--blue);
      font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
      padding: 4px 10px; border-radius: 100px;
    }

    /* ── FOOTER ──────────────────────────────────── */
/* FOOTER MODALE IMAGE */
/* FOOTER MODALE IMAGE */
#footer-img-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #1a5fb4; /* bleu inactif */
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 50%;
  transition: background 0.22s, color 0.22s, transform 0.22s cubic-bezier(.68,-0.55,.27,1.55);
  align-self: flex-end;
  margin-right: 0;
}
#footer-img-modal-close:hover {
  background: #ffe6e6;
  color: #d32f2f; /* rouge au survol */
  box-shadow: 0 2px 12px rgba(211,47,47,0.18);
  transform: scale(1.32) rotate(8deg);
}

    /* animation supprimée */
    footer {
      background: var(--navy); padding: 60px 48px 32px;
    }

    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
      max-width: 1100px; margin: 0 auto 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .footer-brand .logo-text .logo-name { font-size: 20px; }
    .footer-desc {
      font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.45);
      line-height: 1.8; margin-top: 16px; max-width: 280px;
    }

    .footer-col h4 {
      font-size: 12px; font-weight: 700; letter-spacing: 2px;
      text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px;
    }
    .footer-col a {
      display: block; text-decoration: none;
      font-size: 13px; color: rgba(255,255,255,0.7);
      margin-bottom: 10px; transition: color 0.2s;
    }
    .footer-col a:hover { color: #fff; }

    .footer-partners-title {
      max-width: 1100px;
      margin: 0 auto 6px;
      font-size: 11px;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      font-weight: 700;
    }

    .footer-partners-subtitle {
      max-width: 1100px;
      margin: 0 auto 14px;
      font-size: 13px;
      color: rgba(255,255,255,0.52);
      line-height: 1.6;
    }

    .footer-partners {
      max-width: 1100px;
      margin: 0 auto 24px;
      padding: 16px 0 20px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 14px;
    }

    .footer-partner-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.92);
      border-radius: 8px;
      padding: 8px 12px;
      border: 1px solid rgba(13,31,60,0.1);
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .footer-partner-link:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

    .footer-partner-logo {
      height: 32px;
      width: auto;
      max-width: 110px;
      object-fit: contain;
      filter: grayscale(20%) brightness(0.97);
      transition: filter 0.2s ease;
    }

    .footer-partner-link:hover .footer-partner-logo {
      filter: none;
    }

    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      max-width: 1100px; margin: 0 auto;
      font-size: 12px; color: rgba(255,255,255,0.3);
    }

    .footer-access {
      display: flex; gap: 12px;
    }
    .access-btn {
      display: flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px; padding: 8px 16px;
      text-decoration: none; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7);
      transition: all 0.2s;
    }
    .access-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
    .access-btn .dot {
      width: 8px; height: 8px; border-radius: 50%;
    }
    .dot-blue { background: var(--sky); }
    .dot-green { background: #22c55e; }
    .dot-purple { background: #a855f7; }

    /* ── RESPONSIVE ──────────────────────────────── */
    @media (max-width: 900px) {
      header {
        padding: 10px 16px;
        height: auto;
        min-height: 72px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      nav {
        display: flex;
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
      }
      nav a {
        flex: 0 0 auto;
        white-space: nowrap;
      }
      .nav-cta { margin-left: 0; }
      .hero-inner { flex-direction: column; padding: 90px 24px 32px; gap: 32px; }
      .hero-side { flex: none; width: 100%; }
      .hero-stats { flex-wrap: wrap; }
      .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
      section:not(.hero) { padding: 64px 24px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
      .footer-partners-title {
        text-align: left;
      }
      .footer-partners-subtitle {
        text-align: left;
      }
      .footer-partners {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
      }
      .footer-partner-link {
        flex: 0 0 auto;
        width: 116px;
        height: 44px;
      }
      .footer-partner-logo {
        height: 28px;
      }
      .footer-bottom { flex-direction: column; gap: 16px; }
      .horaires { gap: 20px; padding: 16px 24px; }
      .form-row { grid-template-columns: 1fr; }
    }

  .certifs-category-title {
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
    color: var(--blue); text-transform: uppercase; margin-bottom: 20px;
    padding-left: 4px; border-left: 3px solid var(--accent); padding-left: 12px;
  }
  .qualiopi-block {
    max-width: 700px; margin: 20px auto 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: 20px; padding: 40px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(13,31,60,0.15);
  }
  .qualiopi-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .qualiopi-logo { display: flex; align-items: center; gap: 16px; }
  .qualiopi-logo div { text-align: left; }
  .qualiopi-logo > span { font-size: 40px; }
  .qualiopi-logo .label { font-weight: 700; font-size: 22px; color: #fff; }
  .qualiopi-logo .sublabel { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }
  .qualiopi-desc {
    font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.75;
    max-width: 520px;
  }
  .qualiopi-desc strong { color: #fff; }
  .btn-qualiopi {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--navy);
    font-weight: 700; font-size: 14px; padding: 14px 28px;
    border-radius: 10px; text-decoration: none; transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(244,163,0,0.3);
    cursor: pointer;
  }
  .btn-qualiopi:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(244,163,0,0.4); }

  .form-tabs {
    display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap;
  }
  .form-tab {
    flex: 1; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
    font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
  }
  .form-tab.active {
    background: var(--sky); border-color: var(--sky); color: #fff;
  }
  .form-tab:hover:not(.active) { background: rgba(255,255,255,0.12); color: #fff; }
  .form-panel { display: none; }
  .form-panel.active { display: block; }
  .form-feedback {
    margin-top: 14px;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    line-height: 1.5;
  }
  input[type="date"] {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px; padding: 12px 16px; color: #fff;
    font-size: 14px; font-family: 'Sora', sans-serif; outline: none;
    width: 100%; transition: border-color 0.2s; color-scheme: dark;
  }
  input[type="date"]:focus { border-color: var(--sky); }

  .u-mb-0 { margin-bottom: 0; }
  .u-center { margin: 0 auto; }

  .about-visual-stacked {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    background: none;
  }

  .indicateurs-block-dark {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .indicateurs-content-dark {
    display: none;
    background: var(--navy-mid);
  }

  .indicateur-item-dark {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.1);
  }

  .indicateur-num-accent { color: var(--accent); }
  .indicateur-label-light { color: rgba(255,255,255,0.55); }
  .indicateurs-note-muted { color: rgba(255,255,255,0.3); }

  .referents-header-spaced { margin-bottom: 48px; }

  .certifs-category {
    max-width: 900px;
    margin: 0 auto 40px;
  }

  .qualiopi-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 3px 14px rgba(13,31,60,0.2);
    background: #fff;
  }

  .qualiopi-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
  }

  .qualiopi-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
  }

  .form-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
  }

  .u-btn-full {
    width: 100%;
    justify-content: center;
    display: flex;
    font-family: 'Sora', sans-serif;
  }

  .btn-reclamation {
    background: rgba(239,68,68,0.85);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
  }

  .btn-reclamation:hover {
    background: rgba(239,68,68,1);
    transform: translateY(-1px);
  }

  .textarea-lg { min-height: 110px; }

  .footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-legal-links {
    display: flex;
    gap: 8px;
  }

  .page-shell {
    padding-top: 72px;
    min-height: 100vh;
    background: var(--off-white);
  }

  .page-hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a70 100%);
    color: #fff;
    padding: 72px 24px 48px;
    position: relative;
    overflow: hidden;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 15% 25%, rgba(244,163,0,0.12), transparent 35%),
      radial-gradient(circle at 85% 30%, rgba(59,142,234,0.16), transparent 32%);
    pointer-events: none;
  }

  .page-hero-inner,
  .page-section,
  .page-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(244,163,0,0.28);
    background: rgba(244,163,0,0.12);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
  }

  .page-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .page-intro {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
  }

  .page-section {
    padding: 56px 24px;
  }

  .page-grid,
  .centres-grid,
  .contact-hub-grid,
  .contact-points-grid {
    display: grid;
    gap: 24px;
  }

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

  .centres-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .contact-hub-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .contact-points-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .detail-card,
  .centre-card,
  .contact-panel,
  .contact-point {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(13,31,60,0.06);
  }

  .detail-card,
  .centre-card,
  .contact-panel {
    padding: 28px;
  }

  .contact-point {
    padding: 22px;
  }

  .detail-card-title,
  .centre-card-title,
  .contact-panel-title,
  .contact-point-title {
    color: var(--navy);
    font-weight: 700;
  }

  .detail-card-title,
  .contact-panel-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .centre-card-title,
  .contact-point-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .detail-card p,
  .centre-card p,
  .contact-panel p,
  .contact-point p {
    color: var(--text-light);
    line-height: 1.75;
  }

  .detail-list,
  .centre-list,
  .contact-list {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 10px;
    color: var(--text);
  }

  .detail-list li,
  .centre-list li,
  .contact-list li {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--gray-100);
    line-height: 1.6;
  }

  .detail-links,
  .page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .inline-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
  }

  .inline-link:hover {
    color: var(--navy);
  }

  .page-footer {
    padding: 0 24px 56px;
  }

  .page-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
  }

  .contact-panel-highlight {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    background: var(--gray-100);
    border-radius: 0 12px 12px 0;
  }

  @media (max-width: 900px) {
    .page-shell { padding-top: 112px; }
    .page-hero { padding-top: 92px; }
    .contact-hub-grid { grid-template-columns: 1fr; }
    .page-footer-inner { flex-direction: column; align-items: flex-start; }
  }
