/*
Theme Name: Jump
Description: Thème personnalisé pour Jump Formateurs de Talents
Author: Jump Formateurs de Talents
Version: 1.0
License: GPL v2 or later
Text Domain: jump
*/

/* =====================
   BALISES COMMUNES
===================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Raleway', sans-serif;
  background: #f7f9fb;
  color: #374b90;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  margin: 0 0 0.5em 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1em 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  text-decoration: none;
}

ul, ol {
  margin: 0 0 1em 0;
  padding: 0;
}

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

/* Suppression du soulignement sur tous les boutons au hover/focus */
.btn-cta:hover, .btn-cta:focus,
.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover, .btn-secondary:focus,
.footer-insta-cta:hover, .footer-insta-cta:focus,
.mobile-menu .btn-cta:hover, .mobile-menu .btn-cta:focus {
  text-decoration: none !important;
}

/* =====================
   NAVBAR
===================== */
.app-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(56, 75, 144, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 2000;
  padding: 2px;
}

.navbar-content {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 12px;
  position: relative;
  transition: height 0.12s ease-out;
}

.logo-container {
  position: relative;
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-main {
  height: 110px;
  max-width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
}

.logo-icon-only {
  height: 52px;
  max-width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.app-navbar.shrink .navbar-content { 
  height: 56px; 
  padding: 0 12px; 
}

.app-navbar.shrink {
  padding: 6px 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: none;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 1.08em;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-links li a:hover, .nav-links li a:focus {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.nav-cta {
  display: none;
  gap: 12px;
  align-items: center;
  margin-left: 16px;
  flex-shrink: 0;
}

.btn-cta {
  background: #fff;
  color: #374b90;
  border: none;
  border-radius: 20px;
  padding: 10px 22px;
  font-family: 'Raleway', sans-serif;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  display: inline-block;
}

.btn-cta:hover, .btn-cta:focus {
  background: #fff;
  transform: translateY(-2px) scale(1.04);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  z-index: 2100;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================
   MOBILE MENU
===================== */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #374b90;
  z-index: 2100;
  box-shadow: 0 8px 32px rgba(55,75,144,0.15);
  padding: 24px 0 16px 0;
  text-align: left;
  animation: slideDown 0.3s;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

.mobile-menu ul li {
  margin: 0;
  padding: 0;
}

.mobile-menu ul li a {
  display: block;
  color: #fff;
  font-size: 1.15em;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  transition: background 0.2s;
  text-decoration: none;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a:focus {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.mobile-menu .btn-cta {
  margin: 12px 24px 0 24px;
  width: calc(100% - 48px);
  display: block;
  text-align: center;
  background: #fff;
  color: #374b90;
  border: none;
  border-radius: 20px;
  padding: 12px 22px;
  font-family: 'Raleway', sans-serif;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.mobile-menu .btn-cta:hover,
.mobile-menu .btn-cta:focus {
  background: #fff;
  color: #374b90;
  transform: translateY(-2px) scale(1.04);
}
    /* =====================
       HERO SECTION
    ===================== */
    .hero {
      color: #fff;
      background: #41549b;
      padding: 60px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
      min-height: 500px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    /* .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(55, 75, 144, 0) 0%, rgba(55, 75, 144, 0) 100%);
      z-index: 1;
    } */
    .hero-video {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      z-index: 0;
      /* Ajustement colorimétrique pour correspondre au fond */
      filter: brightness(1) contrast(1) saturate(1);
      /* Améliorer la compatibilité iOS */
      -webkit-transform: translateX(-50%);
      -webkit-backface-visibility: hidden;
      -webkit-perspective: 1000px;
    }
    
    /* Alternative avec GIF transparent */
    .hero-gif {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      z-index: 0;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .hero h1 {
      font-size: 2.5em;
      font-weight: 900;
      margin-bottom: 0px;
      margin-top: 0px;
      line-height: 1.2;
      color: #fff;
    }
    
    /* Animation du titre hero */
    .hero-title-animated {
      position: relative;
      min-height: 2em;
      margin: 0;
      padding: 0;
      flex-shrink: 0;
    }
    
    .hero-text {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transform: translateY(0px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .hero-text.active {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* Styles pour la note */
    .hero .note {
      margin: 0;
      padding: 0;
      flex-shrink: 0;
      text-align: center;
    }
    
    .hero p {
      font-size: 1.2em;
      font-weight: 300;
      margin: 0;
      opacity: 0.95;
      flex-shrink: 0;
    }
    
    .hero .subtitle {
      margin: 0;
      flex-shrink: 0;
    }
    .hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
      margin-top: 40px;
      flex-shrink: 0;
    }
    .btn-primary {
      background: #fff;
      color: #374b90;
      padding: 15px 30px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.1em;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    .btn-primary:hover, .btn-primary:focus {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    .btn-secondary {
      background: transparent;
      color: #fff;
      padding: 15px 30px;
      border: 2px solid #fff;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1em;
      transition: all 0.3s;
    }
    .btn-secondary:hover, .btn-secondary:focus {
      background: #fff;
      color: #374b90;
    }
    @media (min-width: 768px) {
      .hero { padding: 60px 40px; }
      .hero h1 { font-size: 3em; }
      .hero-buttons { flex-direction: row; justify-content: center; }
      .hero-title-animated { min-height: 3.2em; }
      .hero-content { gap: 25px; }
    }
    @media (min-width: 1024px) {
      .hero { padding: 60px 60px; }
      .hero h1 { font-size: 3em; }
      .hero-title-animated { min-height: 2.8em; }
      .hero-content { gap: 30px; }
      .hero-video {
        max-width: 1200px;
        width: 100%;
      }
    }
    
    /* Optimisations pour les appareils mobiles et économie de batterie */
    @media (max-width: 768px) {
      .hero { 
        min-height: 400px; 
        padding: 40px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .hero h1 { font-size: 2.2em; }
      .hero-title-animated { min-height: 4.6em; }
      .hero-content { gap: 15px; }

      /* S'assurer que les vidéos sont visibles sur mobile */
      .hero-video {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
      
      /* Améliorer la lisibilité du texte sur mobile */
      /* .hero h1,
      .hero-faq .hero-title,
      .hero-les-plus .hero-title {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
      } */
      
      /* .hero p,
      .hero-faq .subtitle,
      .hero-les-plus .subtitle {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
      } */

      /* .hero-video {
        display: none;
      }
      .hero::before {
        background: linear-gradient(135deg, rgba(55, 75, 144, 0.8) 0%, rgba(55, 75, 144, 0.6) 100%);
      } */
    }
    
    /* Désactiver la vidéo si l'utilisateur préfère réduire les animations */
    /* @media (prefers-reduced-motion: reduce) {
      .hero-video {
        display: none;
      }
      .hero::before {
        background: linear-gradient(135deg, rgba(55, 75, 144, 0.8) 0%, rgba(55, 75, 144, 0.6) 100%);
      }
    } */
    
    /* Règles pour très petits écrans */
    @media (max-width: 480px) {
      .hero {
        min-height: 350px;
        padding: 30px 15px;
      }
      
      .hero h1 {
        font-size: 1.8em;
      }
      
      .hero-title-animated {
        min-height: 3.5em;
      }
      
      .hero-content {
        gap: 12px;
      }
      
      .hero p {
        font-size: 1.1em;
      }
      
      .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
      }
      
      .hero-buttons .btn-primary,
      .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
      }
      
      /* Titres des pages FAQ et Les Plus Jump sur très petits écrans */
      .hero-faq .hero-title,
      .hero-les-plus .hero-title {
        font-size: 1.5em;
      }
      
      .hero-faq .subtitle,
      .hero-les-plus .subtitle {
        font-size: 1em;
      }
    }
    
    /* Règles spécifiques pour iPhone et appareils iOS */
    @supports (-webkit-touch-callout: none) {
      .hero-video {
        display: block !important;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
      }
      
      .hero-gif {
        display: none !important;
      }
    }
    
    /* Règles spécifiques pour iPhone 13 mini et petits écrans iOS */
    @media only screen 
      and (device-width: 375px) 
      and (device-height: 812px) 
      and (-webkit-device-pixel-ratio: 3),
      @media only screen 
      and (device-width: 390px) 
      and (device-height: 844px) 
      and (-webkit-device-pixel-ratio: 3),
      @media only screen 
      and (device-width: 428px) 
      and (device-height: 926px) 
      and (-webkit-device-pixel-ratio: 3) {
      
      .hero {
        min-height: 400px;
        padding: 35px 20px;
      }
      
      .hero-video {
        display: block !important;
        width: 100vw;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
      
      .hero-content {
        z-index: 10;
        position: relative;
      }
    }

/* =====================
   FOOTER
===================== */
.footer {
  background: #374b90;
  color: #fff;
  padding: 40px 20px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
}

.footer-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.footer-col {
  flex: 1 1 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  position: relative;
  text-align: left;
}

.footer-col-logo {
  align-items: flex-start;
  justify-content: center;
}

.footer-logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
  filter: brightness(0) invert(1) grayscale(1);
}

.footer-col-links {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.footer-col-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-links ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 1.08em;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  display: block;
  margin: 2px 0;
}

.footer-col-links a:hover, .footer-col-links a:focus {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-col-contact {
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  text-align: right;
}

.footer-insta-cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #155fa0;
  fill: #155fa0;
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-insta-cta:hover, .footer-insta-cta:focus {
  background: #fff;
  color: #155fa0;
  transform: translateY(-2px) scale(1.04);
}

/* Séparateurs verticaux supprimés */

/* =====================
   FOOTER BOTTOM
===================== */
.footer-bottom-bg {
  width: 100%;
  background: #2a3a6b;
  position: relative;
  left: auto;
  transform: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 18px 0;
  width: 100%;
}

.footer-bottom .footer-bottom-logo {
  width: 160px;
  height: auto;
  vertical-align: middle;
  margin-right: 12px;
  display: inline-block;
}

.footer-bottom .note {
  color: #eaf3fa;
  font-size: 0.92em;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  opacity: 0.95;
  text-decoration: none;
  margin: 0 12px 0 0;
}

.footer-bottom .note:hover {
  text-decoration: underline;
}

/* =====================
   PHONE FLOAT
===================== */
.phone-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 3500;
  background: #374b90;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 2px 8px rgba(26,127,215,0.15);
  border-radius: 50px 0 0 50px;
  padding: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: width 0.35s cubic-bezier(.7,1.7,.7,1), background 0.2s, box-shadow 0.2s;
  overflow: hidden;
  min-width: 72px;
  text-decoration: none;
  color: inherit;
}

.phone-float:hover {
  width: 280px;
  background: #374b90;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 4px 16px rgba(26,127,215,0.22);
}

.phone-float .phone-icon {
  width: 36px;
  height: 36px;
  display: block;
  margin: 0 18px 0 18px;
  flex-shrink: 0;
}

.phone-float .phone-info {
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  transition: opacity 0.2s 0.1s;
  white-space: nowrap;
  gap: 0;
  padding: 0;
}

.phone-float:hover .phone-info { 
  opacity: 1; 
  transition-delay: 0.15s; 
}

.phone-float .panel-title { 
  font-size: 1em; 
  font-weight: 400; 
  color: #fff; 
  margin-bottom: 0; 
  line-height: 1.1; 
}

.phone-float .panel-number { 
  font-size: 1.05em; 
  font-weight: bold; 
  color: #fff; 
  letter-spacing: 1px; 
  line-height: 1.1; 
}

/* =====================
   ANIMATIONS
===================== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   RESPONSIVE
===================== */
@media (min-width: 1024px) {
  .navbar-content { 
    height: 80px; 
    padding: 0 20px; 
  }
  .logo-main { 
    height: 80px; 
  }
  .logo-icon-only { 
    height: 48px; 
  }
  .hamburger { 
    display: none; 
  }
  .nav-left { 
    display: flex; 
  }
  .nav-links { 
    display: flex; 
  }
  .nav-cta { 
    display: flex; 
  }
  .mobile-menu { 
    display: none !important; 
  }
  .phone-float { 
    width: 64px; 
    height: 64px; 
    min-width: 64px; 
  }
  .phone-float:hover { 
    width: 320px; 
  }
  .phone-float .phone-icon { 
    width: 32px; 
    height: 32px; 
    margin: 0 16px 0 16px; 
  }
  .phone-float .panel-title { 
    font-size: 1.08em; 
  }
  .phone-float .panel-number { 
    font-size: 1.12em; 
  }
}

@media (min-width: 1200px) {
  .navbar-content { 
    height: 88px; 
    padding: 0 32px; 
    max-width: 1200px; 
  }
  .logo-main { 
    height: 88px; 
  }
  .logo-icon-only { 
    height: 52px; 
  }
  .nav-links { 
    gap: 32px; 
  }
  .nav-cta { 
    margin-left: 24px; 
  }
}

@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .footer-col {
    padding: 0;
    align-items: center !important;
    border-left: none !important;
    border-top: none !important;
    text-align: center !important;
    width: 100%;
  }
  .footer-col:first-child { 
    border-top: none; 
  }
  .footer-logo { 
    margin: 0 auto 16px auto; 
  }
  .footer-col-links, .footer-col-contact { 
    align-items: center !important; 
    text-align: center !important; 
  }
  .footer-col-links ul {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .navbar-content { 
    padding: 0 16px; 
  }
  .logo-container { 
    width: 120px; 
    height: 80px; 
  }
  .nav-left { 
    gap: 16px; 
  }
  .logo-main { 
    height: 75px; 
  }
  .logo-icon-only { 
    height: 36px; 
  }
  .nav-links { 
    display: none !important; 
  }
  .hamburger { 
    margin-left: 8px; 
  }
  .phone-float { 
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    text-align: center;
  }
  .footer-bottom .footer-bottom-logo {
    margin-right: 0;
    margin-bottom: 8px;
  }
  .footer-bottom .note {
    margin: 0;
  }
}
  
  
/* =====================
   FICHE FORMATION (single-formation.php)
===================== */

/* === HEADER STICKY === */
.fiche-formation-header {
    position: sticky;
    top: 88px;
    background: #fff;
    z-index: 200;
}
.fiche-formation-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.formation-label {
    display: inline-block;
    background: #ed6b26;
    color: #fff;
    font-size: 0.75em;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fiche-formation-title {
    font-size: 2em;
    font-weight: 900;
    color: #374b90;
    line-height: 1.2;
    margin: 0 !important;
    transition: font-size 0.3s ease;
}
.formation-sous-titre {
    font-size: 1.1em;
    color: #666;
    margin: 5px 0 0 0;
    font-weight: 400;
}

/* === CONTAINER & LAYOUT === */
.fiche-formation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0px 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
    position: relative;
}
.formation-bg-svg {
    position: absolute;
    left: 0px;
    top: 0;
    bottom: 0;
    width: 800px;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
}
.arrow-bg-svg-formation {
    position: fixed;
    left: -40px;
    width: 50%;
    height: 100%;
    color: #374b90;
    filter: none;
    opacity: 0.15;
    display: block;
}
.fiche-formation-main {
    background: transparent;
    border-radius: 20px;
    padding: 0px;
    margin-bottom: 60px;
}

/* === SESSION === */
.fiche-formation-session {
    background: rgba(55, 75, 144, 0.1);
    border: 2px solid #374b90;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
}
.session-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.session-label {
    font-weight: 700;
    color: #374b90;
    font-size: 1em;
}
.session-date {
    color: #374b90;
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1.2;
    transition: opacity 0.3s ease;
}
.session-item {
    margin-bottom: 0;
}
.session-item:last-child {
    margin-bottom: 0;
}
.session-period {
    color: #374b90;
}

/* === SECTIONS === */
.fiche-formation-section {
    margin-bottom: 40px;
}
.section-title {
    font-size: 1.4em;
    font-weight: 900;
    color: #374b90;
    margin-bottom: 15px;
    line-height: 1.3;
}
.fiche-formation-section p {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0;
}
.description-content {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}
.description-content p {
    margin-bottom: 1em;
}
.description-content p:last-child {
    margin-bottom: 0;
}
.fiche-formation-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fiche-formation-section ul li {
    padding: 12px 0;
    border-bottom: 1px solid #374a9025;
    font-size: 1em;
    line-height: 1.5;
    color: #333;
}
.fiche-formation-section ul li:last-child {
    border-bottom: none;
}

/* Exception pour les listes à puce */
.fiche-formation-section ul.bullet-list {
    list-style: disc;
    padding-left: 20px;
}

.fiche-formation-section ul.bullet-list li {
    padding: 4px 0;
    border-bottom: none;
    font-size: 1em;
    line-height: 1.4;
    color: #333;
}

/* Titres non gras pour les sections spécifiques */
.two-columns .section-title {
  font-size: 1.2em;
    font-weight: 400;
}

/* === DEUX COLONNES (Pré-requis & Pour qui) === */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.two-columns .column {
    margin-bottom: 0;
}
.two-columns .section-title {
    margin-bottom: 15px;
}

/* === SIDEBAR === */
.fiche-formation-sidebar {
    position: sticky;
    top: 220px;
    /* background: #374b90; */
    border-radius: 20px;
    padding: 0px;
    margin-top: 60px !important;
    margin-bottom: 60px !important;
    height: fit-content;
    z-index: 100;
}
.sidebar-reconnaissance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ed6b26;
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.reconnaissance-picto {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.reconnaissance-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.reconnaissance-text {
    font-weight: 600;
    color: #fff;
    font-size: 0.95em;
    line-height: 1.2;
}
.rncp-number {
    font-weight: 700;
    color: #fff;
    font-size: 1em;
}

/* Effet hover pour le lien RNCP */
.sidebar-reconnaissance:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 107, 38, 0.3);
    background: #d55a1a;
    cursor: pointer;
}

/* Effet de focus pour l'accessibilité */
.sidebar-reconnaissance:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Animation au hover sur les éléments internes */
.sidebar-reconnaissance:hover .reconnaissance-text {
    text-decoration: underline;
}



/* Layout pour les icônes */
.sidebar-reconnaissance {
    position: relative;
}

/* Icône de lien externe */
.external-link-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: arrowTriplePulse 10s ease-in-out 2s infinite;
}

@keyframes arrowTriplePulse {
    0%, 5%, 95%, 100% {
        transform: scale(1);
    }
    1%, 2.5%, 4% {
        transform: scale(1.2);
    }
    1.5%, 3%, 4.5% {
        transform: scale(1);
    }
}

.sidebar-reconnaissance:hover .external-link-icon {
    opacity: 1;
    transform: translateY(-2px) translateX(2px);
    animation: none;
}





/* === ONGLET SIDEBAR === */
.formation-tabs {
  background: #374b90; ;
    border-radius: 12px;
    padding: 0px;
    overflow: hidden;
}
.tab-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
}
.tab-button {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    padding: 15px 20px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
}
.tab-button.active {
    background: #ed6b26;
    color: #fff;
}
.tab-content {
    display: none;
    padding: 10px 30px 30px 30px;
}
.tab-content.active {
    display: block;
}
.formation-info-card {
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.info-item:last-child {
    border-bottom: none;
}
.info-label {
    font-weight: 400;
    color: #fff;
    font-size: 0.9em;
}
.info-value {
    font-weight: 700;
    color: #fff;
    font-size: 0.95em;
    text-align: right;
}
.date-period {
    display: block;
    /* font-size: 0.9em; */
    margin-bottom: 4px;
}

.date-period:last-child {
    margin-bottom: 0;
}

/* Style spécifique pour les éléments de dates */
.info-item-dates {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-item-dates .info-label {
    margin-bottom: 8px;
}

.info-item-dates .info-value {
    text-align: left;
}

/* Cadre pour le diplôme visé */
.diplome-cadre {
    background: #f8f9fa;
    border: 1px solid #374b90;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}

.diplome-cadre .section-title {
    margin: 0;
    color: #374b90;
    font-size: 1.3em;
}

.diplome-cadre p {
    margin: 0;
    font-weight: 600;
    color: #374b90;
    font-size: 1.1em;
}

/* Cadre pour les débouchés/métiers visés */
.debouches-cadre {
    background: #f8f9fa;
    border: 1px solid #374b90;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}

.debouches-cadre .section-title {
    margin: 0 0 15px 0;
    color: #374b90;
    font-size: 1.3em;
}

.debouches-cadre ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.debouches-cadre ul li {
    padding: 12px 0;
    border-bottom: 1px solid #374a9025;
    font-size: 1em;
    line-height: 1.5;
    color: #333;
}

.debouches-cadre ul li:last-child {
    border-bottom: none;
}

/* Listes à puce */
.bullet-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 1em 0;
}

.bullet-list li {
    padding: 8px 0;
    border-bottom: none;
    font-size: 1em;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0;
}

/* Liste des objectifs avec icônes check */
.objectifs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectifs-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #374a9025;
    font-size: 1em;
    line-height: 1.5;
    color: #333;
}

.objectifs-list li:last-child {
    border-bottom: none;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ed6b26;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Picto accessibilité */
.accessibility-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    position: relative;
    top: -20px;
    width: 100%;
}

.accessibility-icon {
    color: #ed6b26;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.accessibility-text {
    color: #ed6b26;
    font-size: 0.85em;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}
.financement-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.2s ease;
}
.financement-info:hover {
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}
.financement-info:hover .financement-chevron {
    transform: translateX(2px);
}
.financement-info p {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 0.95em;
    flex: 1;
}
.financement-chevron {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 10px;
}
.info-icon {
    color: #ed6b26;
    flex-shrink: 0;
}
.download-section {
    margin-top: 20px;
}
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ed6b26;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(237, 107, 38, 0.2);
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}
.download-btn:hover {
    background: #d55a1a;
    transform: translateY(-2px) scale(1.02);
}
.download-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.download-btn svg.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === ACCORDION === */
.programme {
    margin: 40px 0 60px 0;
}

.programme .section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
}
.accordion-section {
    background: #fff;
    border: 1px solid rgba(55, 75, 144, 0.15);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(55, 75, 144, 0.08);
}
.accordion-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 75, 144, 0.15);
    border-color: rgba(55, 75, 144, 0.25);
}
.accordion-section.open {
    border-color: #ed6b26;
    box-shadow: 0 8px 25px rgba(237, 107, 38, 0.2);
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 25px;
    transition: all 0.3s ease;
    min-height: 48px;
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
}
.accordion-header:hover {
    background: linear-gradient(135deg, #f0f6fa 0%, #e8f2ff 100%);
}
.accordion-section.open .accordion-header {
    background: linear-gradient(135deg, #ed6b26 0%, #f17a35 100%);
    color: #fff;
}
.accordion-title {
    font-weight: 700;
    color: #374b90;
    font-size: 1.1em;
    transition: color 0.3s ease;
}
.accordion-section.open .accordion-title {
    color: #fff;
}
.accordion-count {
  display: none;
    color: #374b90;
    font-size: 0.9em;
    font-weight: 600;
    background: rgba(55, 75, 144, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.accordion-section.open .accordion-count {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}
.accordion-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.arrow {
    display: inline-block;
    transition: all 0.3s ease;
    color: #374b90 !important;
    flex-shrink: 0;
}
.accordion-section.open .arrow {
    transform: rotate(90deg);
    color: #fff !important;
}

/* Forçage spécifique pour les flèches d'accordéon */
.accordion-section .arrow {
    color: #374b90 !important;
    width: 18px;
    height: 18px;
}
.accordion-section.open .arrow {
    color: #fff !important;
}
.accordion-content {
    display: none;
    padding: 0 25px 25px 25px;
    background: #fff;
}
.accordion-section.open .accordion-content {
    display: block;
}
.accordion-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.accordion-content ul li {
    margin-bottom: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(55, 75, 144, 0.08);
    color: #333;
    font-size: 1em;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 20px;
}
.accordion-content ul li:before {
    content: "•";
    color: #ed6b26;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    font-weight: bold;
}
.accordion-content ul li:hover {
    color: #374b90;
    background: rgba(55, 75, 144, 0.02);
    padding-left: 25px;
}
.accordion-content ul li:last-child {
    border-bottom: none;
}

/* === CTA === */
.cta-inscription {
    display: block;
    width: 100%;
    background: #374b90;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 20px 0;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(56,75,144,0.2);
    transition: background 0.2s, transform 0.2s;
}
.cta-inscription:hover {
    background: #2a3a6b;
    transform: translateY(-2px) scale(1.02);
}

/* === SHOW MORE BUTTON === */
.show-more {
    display: block;
    margin: 20px auto 0 auto;
    background: #374b90;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.show-more:hover {
    background: #2a3a6b;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .fiche-formation-header {
        top: 80px;
        z-index: 200;
    }
    .fiche-formation-header-content {
        padding: 15px 20px;
    }
    .fiche-formation-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }
    .fiche-formation-sidebar {
        position: static;
        order: 1;
    }
    .fiche-formation-main {
        padding: 30px 25px;
        order: 2;
    }
    .fiche-formation-title {
        font-size: 2.2em;
    }
    .fiche-formation-sidebar {
        padding: 0;
    }
        
        .formation-bg-svg {
        display: none;
    }
}
@media (max-width: 768px) {
    .fiche-formation-header {
        top: 72px;
        z-index: 200;
    }
    .fiche-formation-header-content {
        padding: 12px 15px;
    }
    .fiche-formation-container {
        padding: 15px;
        gap: 30px;
    }
    .fiche-formation-main {
        padding: 25px 20px;
    }
    .fiche-formation-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .fiche-formation-session {
        padding: 15px;
        margin-bottom: 30px;
    }
    .fiche-formation-section {
        margin-bottom: 30px;
    }
    .fiche-formation-section h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    .fiche-formation-section p {
        font-size: 1em;
    }
    .fiche-formation-section ul li {
        font-size: 1em;
        padding: 10px 0;
    }
    /* Responsive pour les deux colonnes */
    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .fiche-formation-sidebar {
        padding: 0;
        z-index: 50;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .sidebar-reconnaissance {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    /* Adaptation mobile pour l'icône */
    .external-link-icon {
        top: 6px;
        right: 6px;
    }
    .cta-inscription {
        padding: 18px 0;
        font-size: 1.1em;
    }
    .accordion-header {
        padding: 15px 0;
    }
    .accordion-title {
        font-size: 1em;
    }
    .accordion-content ul li {
        padding: 12px 0;
        font-size: 1em;
    }
    .download-btn {
        padding: 15px 20px;
        font-size: 0.95em;
    }
}

/* =====================
       BANDEAU LOGOS - v2.1
     ===================== */
     .bandeau-logos {
       background: #fff;
       padding: 0;
       border-top: 1.5px solid #eaf3fa;
       border-bottom: 1.5px solid #eaf3fa;
     }
     .bandeau-logos-container {
       display: flex;
       justify-content: space-between;
       align-items: center;
       min-height: 80px;
       width: 1200px;
       margin: 0 auto;
       padding: 12px 0;
       flex-wrap: nowrap;
     }
     .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 60px;
  max-height: 80px;
  padding: 8px 12px;
  background: none;
  transition: transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}
     .logo-item:hover {
  transform: scale(1.05);
  cursor: pointer;
}


     .logo-item img { 
       display: block;
       max-height: 80px;
       max-width: 120px;
       width: auto;
       height: auto;
       object-fit: contain;
     }
     /* Breakpoint intermédiaire pour éviter la coupure des logos */
     @media (max-width: 1200px) and (min-width: 901px) {
       .bandeau-logos-container {
         width: 100%;
         max-width: 100%;
         gap: 20px;
         min-height: 70px;
         padding: 10px 20px;
         flex-wrap: wrap;
         justify-content: center;
       }
       .logo-item {
         flex: none;
         min-width: 80px;
       }
       .logo-item img { 
         max-height: 50px; 
         max-width: 100px; 
         width: auto;
         height: auto;
         object-fit: contain;
       }
     }
     
     @media (max-width: 900px) {
       .bandeau-logos-container {
         width: 100%;
         max-width: 100%;
         gap: 16px;
         min-height: 56px;
         padding: 8px 16px;
         flex-wrap: wrap;
         justify-content: center;
       }
       .logo-item {
         flex: none;
         min-width: 60px;
       }
       .logo-item img { 
         max-height: 36px; 
         max-width: 80px; 
         width: auto;
         height: auto;
         object-fit: contain;
       }
     }
     
     /* Transformation du tableau en cartes empilées dès 640px - STYLES FORCÉS */
     @media (max-width: 640px) {
       /* Cacher l'en-tête du tableau */
       .rentree-table thead,
       .rentree-table thead tr,
       .rentree-table thead th {
         display: none !important;
         visibility: hidden !important;
       }
       
       /* Transformer les lignes en cartes - FORCER LA TRANSFORMATION */
       .rentree-table,
       .rentree-table tbody,
       .rentree-table tbody tr {
         display: block !important;
         width: 100% !important;
         max-width: 100% !important;
       }
       
       .rentree-table tbody tr {
         margin-bottom: 20px !important;
         padding: 20px !important;
         background: #fff !important;
         border: 2px solid #374b90 !important;
         border-radius: 12px !important;
         box-shadow: 0 4px 12px rgba(55, 75, 144, 0.1) !important;
         box-sizing: border-box !important;
       }
       
       .rentree-table tbody tr:last-child {
         margin-bottom: 0 !important;
       }
       
       /* Transformer les cellules en blocs empilés - FORCER */
       .rentree-table tbody tr td {
         display: block !important;
         width: 100% !important;
         border: none !important;
         padding: 8px 0 !important;
         text-align: left !important;
         font-size: 1em !important;
         line-height: 1.4 !important;
         box-sizing: border-box !important;
       }
       
       /* Ajouter les labels avant chaque valeur - FORCER */
       .rentree-table tbody tr td:nth-child(1)::before {
         content: "Entrée en formation : " !important;
         font-weight: 700 !important;
         color: #374b90 !important;
         display: inline !important;
       }
       
       .rentree-table tbody tr td:nth-child(2)::before {
         content: "Fin de formation : " !important;
         font-weight: 700 !important;
         color: #374b90 !important;
         display: inline !important;
       }
       
       .rentree-table tbody tr td:nth-child(3)::before {
         content: "Examen : " !important;
         font-weight: 700 !important;
         color: #374b90 !important;
         display: inline !important;
       }
       
       /* Ajuster le conteneur des calendriers */
       .rentree-cal7mois, .rentree-cal12mois {
         padding: 20px 15px !important;
       }
       
       .rentree-cal7mois h3, .rentree-cal12mois h3 {
         font-size: 1.6em !important;
         margin-bottom: 15px !important;
         text-align: center !important;
       }
       
       .rentree-soustitre {
         text-align: center !important;
         margin-bottom: 20px !important;
       }
       
       /* FORCER la suppression des styles de tableau */
       .rentree-table {
         border-collapse: separate !important;
         border-spacing: 0 !important;
         table-layout: auto !important;
         border: none !important;
         background: transparent !important;
       }
     }

/* =====================
       SECTION QUALIOPI
     ===================== */
     .qualiopi-section {
       background: #f7f9fb;
       padding: 60px 20px;
       text-align: center;
       display: block;
       text-decoration: none;
       color: inherit;
       transition: all 0.3s ease;
       cursor: pointer;
     }
     .qualiopi-section:hover {
       background: #f0f4f8;
       transform: translateY(-2px);
       box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
     }
     .qualiopi-container {
       max-width: 1200px;
       margin: 0 auto;
     }
     .qualiopi-header {
       display: flex;
       align-items: center;
       justify-content: center;
       margin-bottom: 0px;
     }
     .qualiopi-logo {
       width: 260px;
       height: auto;
       object-fit: contain;
     }
     .qualiopi-description {
       font-size: 1em;
       color: #666;
       margin-top: 20px;
       max-width: 800px;
       margin-left: auto;
       margin-right: auto;
       line-height: 1.6;
     }
     .qualiopi-badges {
       display: flex;
       flex-wrap: wrap;
       gap: 20px;
       justify-content: center;
       margin-top: 20px;
     }
     .qualiopi-badge {
       background: rgba(55, 75, 144, 0.1);
       color: #374b90;
       padding: 12px 20px;
       border-radius: 25px;
       font-size: 0.8em;
       font-weight: 600;
       border: 1px solid rgba(55, 75, 144, 0.2);
       display: inline-block;
       text-align: center;
       line-height: 1.4;
     }
     @media (max-width: 768px) {
    .qualiopi-section {
        padding: 60px 20px;
    }
    /* .qualiopi-logo {
        width: 150px;
    } */
    .qualiopi-description {
        /* font-size: 1.1em; */
        margin-bottom: 40px;
    }
    .qualiopi-badges {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    .qualiopi-badge {
        padding: 10px 16px;
        /* font-size: 0.95em; */
        width: 100%;
        max-width: 300px;
    }

}

/* =====================
       SECTION FORMATION ET HANDICAP
     ===================== */
.handicap-section {
    background: #f0f4f8;
    padding: 40px 40px;
    text-align: center;
}

.handicap-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.handicap-logo {
    flex-shrink: 0;
}

.handicap-logo-img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.handicap-content {
    flex: 1;
    text-align: left;
}

.handicap-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #374b90;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.handicap-description {
    font-size: 1em;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.handicap-cta {
    flex-shrink: 0;
}

.btn-handicap {
    display: inline-block;
    background: #ed6b26;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    border: 2px solid #ed6b26;
}

.btn-handicap:hover,
.btn-handicap:focus {
    background: #fff;
    color: #ed6b26;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 107, 38, 0.3);
}

@media (max-width: 900px) {
    .handicap-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .handicap-content {
        text-align: center;
    }
    
    .handicap-logo-img {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .handicap-section {
        padding: 40px 20px;
    }
    
    .handicap-container {
        gap: 25px;
    }
    
    .handicap-title {
        font-size: 1.2em;
    }
    
    .handicap-description {
        font-size: 0.95em;
    }
    
    .btn-handicap {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* =====================
       SECTION AVANTAGES
     ===================== */
     .avantages-section {
      background: #374b90;
      color: #fff;
      padding: 60px 20px;
      text-align: center;
      position: relative;
    }

    .avantages-content {
      max-width: 1200px;
      margin: 0 auto;
    }

    .avantages-container {
      animation: fadeInUp 1s ease-out;
    }

    .avantages-title {
      font-size: 3.5em;
      font-weight: 900;
      margin-bottom: 20px;
      line-height: 1.2;
      color: #fff;
      text-align: center;
    }

    .avantages-subtitle {
      font-size: 1.4em;
      font-weight: 300;
      margin-bottom: 60px;
      opacity: 0.95;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
      text-align: center;
    }

    .avantages-features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 40px;
      margin-top: 60px;
    }

    .avantage-feature {
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 40px 30px;
      border: 1px solid rgba(255,255,255,0.2);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .avantage-feature::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
      transition: left 0.5s ease;
    }

    .avantage-feature:hover::before {
      left: 100%;
    }

    .avantage-feature:hover {
      transform: translateY(-10px);
      background: rgba(255,255,255,0.15);
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

    .feature-icon {
      margin-bottom: 20px;
      color: #fff;
      opacity: 0.9;
    }

    .avantage-feature h3 {
      font-size: 1.4em;
      font-weight: 700;
      margin-bottom: 15px;
      color: #fff;
    }

    .avantage-feature p {
      font-size: 1.1em;
      line-height: 1.6;
      opacity: 0.9;
      margin: 0;
    }

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

    /* Responsive pour la section avantages */
    @media (max-width: 768px) {
      .avantages-section {
        padding: 60px 20px;
      }
      
      .avantages-title {
        font-size: 2.5em;
      }
      
      .avantages-subtitle {
        font-size: 1.2em;
        margin-bottom: 40px;
      }
      
      .avantages-features {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
      }
      
      .avantage-feature {
        padding: 30px 20px;
      }
    }
    
    @media (max-width: 480px) {
      .avantages-title {
        font-size: 2em;
      }
      
      .avantages-subtitle {
        font-size: 1.1em;
      }
      
      .avantage-feature h3 {
        font-size: 1.2em;
      }
      
      .avantage-feature p {
        font-size: 1em;
      }
    }

/* =====================
   MODALE FORMATIONS
===================== */
.formations-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #374b90;
  z-index: 3000;
  box-shadow: 0 8px 32px rgba(55,75,144,0.15);
  padding: 24px 0 24px 0;
  text-align: left;
  animation: slideDown 0.3s;
  border-top: 1px solid rgba(255,255,255,0.1);
  height: 100vh;
  overflow-y: auto;
}

.formations-modal.open {
  display: block;
}

.formations-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 24px;
}

.formations-modal-title {
  color: #fff;
  font-size: 1.8em;
  font-weight: 900;
  margin: 0;
}

.formations-modal-filter {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.8em;
  margin-left: 10px;
}

.formations-modal-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.formations-modal-reset {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.formations-modal-reset:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
}

.formations-modal-close {
  width: 44px;
  height: 44px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.formations-modal-close:hover {
  background: #fff;
  transform: scale(1.1);
}

.formations-modal-close svg {
  width: 20px;
  height: 20px;
  color: #374b90;
}

.formations-modal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.formations-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.formations-modal-item {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.formations-modal-item:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.formations-modal-item h4 {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #fff;
}

.formations-modal-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.formations-modal-meta span {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
}

.formations-modal-level {
  display: flex;
  gap: 8px;
}

.formations-modal-level span {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}



@media (max-width: 1024px) {
  .formations-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .formations-modal-grid {
    grid-template-columns: 1fr;
  }
  
  .formations-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    min-width: 0;
    min-height: 0;
    background: #374b90;
    z-index: 9999;
    display: none;
    padding: 0;
    border-radius: 0 !important;
  }
  
  .formations-modal.open {
    display: block;
  }
  
  .formations-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
  }
  
  .formations-modal-title {
    color: #fff;
    font-size: 1.5em;
    font-weight: 900;
    margin: 0;
  }
  
  .formations-modal-close {
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
  }
  
  .formations-modal-close:hover {
    background: #fff;
    transform: scale(1.1);
  }
  
  .formations-modal-close svg {
    width: 18px;
    height: 18px;
    color: #374b90;
  }
  
  .formations-modal-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .formations-modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .formations-modal-item {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
  }
  
  .formations-modal-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
  }
  
  .formations-modal-item h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
  }
}
  
  
/* =====================
   SECTION FORMATIONS À LA UNE
===================== */
.formations-section {
  background: #f7f9fb;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.formations-bg-svg {
  position: absolute;
  left: -280px;
  top: 0;
  bottom: 0;
  width: 860px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.logo-bg-svg {
  width: 100%;
  height: 100%;
  color: #ed6b26;
  filter: none;
  opacity: 1;
  display: block;
  transform: rotate(90deg);
  transform-origin: center center;
}

.formations-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.formations-title {
  text-align: center;
  font-size: 2.5em;
  font-weight: 900;
  color: #374b90;
  margin-bottom: 30px;
}

/* Texte SEO des formations */
.formations-seo-text {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.formations-seo-text h3 {
  font-size: 1.1em;
  line-height: 1.7;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.formations-seo-text strong {
  color: #374b90;
  font-weight: 700;
}

.formations-levels-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  /* margin-bottom: 40px; */
  flex-wrap: wrap;
}

.level-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 75, 144, 0.1);
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid rgba(56, 75, 144, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.level-item:hover {
  background: rgba(56, 75, 144, 0.15);
  border-color: #374b90;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 75, 144, 0.2);
  text-decoration: none !important;
}

.level-number {
  font-weight: 700;
  color: #374b90;
  font-size: 1.1em;
}

.level-equivalent {
  color: #374b90;
  font-size: 0.95em;
}

/* =====================
   TYPOGRAPHIE FRANÇAISE - ESPACES INSÉCABLES
===================== */

/* Les espaces insécables sont ajoutés automatiquement via JavaScript 
   pour éviter les retours à la ligne avant les points d'interrogation */

/* =====================
   CATÉGORIES DE FORMATIONS
===================== */
.formations-categories-info {
  margin: 20px 0;
}

.categories-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.formations-carousel {
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  /* max-width: 1200px; */
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.formations-carousel-track {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.formations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.formation-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: calc((100% - 72px) / 4);
  min-width: 280px;
}

.formation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.formation-card h3 {
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.2;
  color: #374b90;
  margin-bottom: 6px;
}

.formation-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.formation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.formation-meta span {
  background: rgba(56, 75, 144, 0.1);
  color: #374b90;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
}

.formation-level {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.formation-level span {
  background: rgba(56, 75, 144, 0.08);
  color: #374b90;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  border: 1px solid rgba(56, 75, 144, 0.15);
}

.btn-formation {
  background: #374b90;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.btn-formation:hover, .btn-formation:focus {
  background: #2d3a73;
  text-decoration: none;
}

.formations-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-formations-cta {
  background: #374b90;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 15px 35px;
  font-family: 'Raleway', sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(56, 75, 144, 0.3);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  display: inline-block;
}

.btn-formations-cta:hover, .btn-formations-cta:focus {
  background: #2d3a73;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 75, 144, 0.4);
  text-decoration: none;
}

@media (min-width: 1251px) {
  .formations-carousel {
    padding: 0;
  }
  
  .formations-carousel-track {
    gap: 24px;
    flex-wrap: nowrap;
  }
  
  .formation-card {
    width: calc((100% - 72px) / 4);
    min-width: 280px;
  }
}

@media (min-width: 681px) and (max-width: 1250px) {
  .formations-carousel {
    padding: 0;
  }
  
  .formations-carousel-track {
    gap: 20px;
  }
  
  .formation-card {
    width: calc((100% - 20px) / 2);
    min-width: 280px;
    padding: 25px 20px;
  }
}

@media (max-width: 680px) {
  .formations-seo-text {
    margin: 0 auto 35px auto;
    padding: 0 20px;
  }
  
  .formations-seo-text h3 {
    font-size: 1.05em;
  }
  
  .formations-carousel {
    padding: 0;
  }
  
  .formations-carousel-track {
    gap: 16px;
  }
  
  .formation-card {
    width: 100%;
    min-width: 280px;
    /* padding: 20px 15px; */
  }
}

/* Règles pour très petits écrans */
@media (max-width: 480px) {
  .formations-seo-text {
    margin: 0 auto 30px auto;
    padding: 0 15px;
  }
  
  .formations-seo-text h3 {
    font-size: 1em;
    line-height: 1.6;
  }
  
  .formations-carousel {
    padding: 0;
  }
  
  .formations-carousel-track {
    gap: 12px;
  }
  
  .formation-card {
    /* padding: 15px 12px; */
  }
  
  .formation-card h3 {
    font-size: 1.4em;
    margin-bottom: 8px;
  }
  
  .formation-card p {
    font-size: 0.95em;
    margin-bottom: 15px;
  }
  
  .formation-meta,
  .formation-level {
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .formation-meta span,
  .formation-level span {
    padding: 4px 10px;
    font-size: 0.85em;
  }
  
  .btn-formation {
    padding: 12px 18px;
    font-size: 0.9em;
  }
}
  
  
/* =====================
   SECTION FORMULES
===================== */
.formules-section {
  background: #ed6b26;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.formules-bg-svg {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 800px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.arrow-bg-svg {
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.15);
  filter: none;
  opacity: 1;
  display: block;
}

.titre-formules-overlap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7.5vw;
  margin-bottom: 24px;
  min-height: 96px;
}

.big-number {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  font-size: clamp(180px, 12vw, 20vw);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.big-text {
  position: relative;
  font-size: 2.5em;
  font-weight: 900;
  color: #fff;
  z-index: 2;
  line-height: 1;
}

@media (max-width: 600px) {
  .titre-formules-overlap { min-height: 0; height: 16vw; margin-bottom: 40px; }
  .big-number { font-size: 180px; }
  .big-text { font-size: 2.5em; }
}

.formules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 32px auto;
}

.formules-grid,
.titre-formules-overlap,
.formules-cta-container {
  position: relative;
  z-index: 2;
}

.formule-card {
  background: #374b90;
  border-radius: 18px;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 8px 32px rgba(56, 75, 144, 0.3), 0 2px 8px rgba(56, 75, 144, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
}

.financement-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #ed6b26;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px 8px 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(237, 107, 38, 0.3);
  border: 2px solid #fff;
  z-index: 10;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.financement-badge:hover {
  background: #d55a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(237, 107, 38, 0.4);
}

.financement-label {
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 0px;
  opacity: 1;
}

.financement-percentage {
  font-size: 1.4em;
  font-weight: 900;
  margin-bottom: 0px;
  line-height: 1;
}

.financement-type {
  font-size: 1.4em;
  font-weight: 700;
}

.formule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(56, 75, 144, 0.4), 0 4px 12px rgba(56, 75, 144, 0.3);
  background: #2d3a73;
}

.formule-card h3 {
  font-size: 1.45em;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  color: #fff;
}

.formule-duration {
  font-size: 1.1em;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.3);
}

.formule-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.formule-card ul li {
  margin-bottom: 12px;
  font-size: 1.08em;
  line-height: 1.5;
  position: relative;
  padding-left: 18px;
}

.formule-card ul li:before {
  content: "•";
  color: #fff;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0;
}

.formules-cta-container {
  margin-top: 18px;
}

.btn-formules-cta {
  background: #fff;
  color: #ed6b26;
  border: none;
  border-radius: 20px;
  padding: 12px 32px;
  font-family: 'Raleway', sans-serif;
  font-size: 1.08em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  margin-bottom: 12px;
}

.btn-formules-cta:hover, .btn-formules-cta:focus {
  background: #fff;
  color: #ed6b26;
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

.formules-message {
  background: #fff;
  color: #ed6b26 !important;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 0 auto;
  max-width: 500px;
  font-size: 1.08em;
  line-height: 1.25 !important;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  margin-top: 8px;
  text-align: left;
  position: relative;
  display: none;
}

.formules-message::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.formules-message::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid rgba(0,0,0,0.1);
  z-index: -1;
}

@media (max-width: 900px) {
  .formules-grid { grid-template-columns: 1fr; gap: 24px; }
  .formule-card { align-items: stretch; }
  .formules-message { position: static; transform: none; margin-top: 16px; opacity: 1; visibility: visible; pointer-events: auto; display: none !important; }
  .formules-message.show-mobile { display: block !important; }
  .formules-message::before, .formules-message::after { display: none; }
  .formules-bg-svg { display: none; }
  
  .financement-badge {
    top: -12px;
    right: 15px;
    padding: 10px 14px;
  }
  
  .financement-percentage {
    font-size: 1.2em;
  }
}

@media (min-width: 901px) {
  .formules-cta-container {
    position: relative;
    display: inline-block;
  }
  .formules-message {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: block !important;
    z-index: 10;
    transition: opacity 0.3s, visibility 0.3s;
    width: 320px;
    max-width: 90vw;
    min-width: 220px;
    padding: 18px 20px;
  }
  .formules-cta-container:hover .formules-message,
  .formules-cta-container:focus-within .formules-message {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
  
  
/* =====================
   SECTION RENTRÉE
===================== */
.rentree-section {
  background: #374b90;
  color: #fff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.rentree-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.rentree-bg-svg {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  display: block;
}

.calendar-bg-svg {
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0.18;
  display: block;
}

@media (max-width: 900px) {
  .rentree-bg-svg { display: none; }
}

.rentree-wrapper .rentree-container {
  position: relative;
  z-index: 2;
}

.rentree-cal7mois, .rentree-cal12mois {
  background: #fff !important;
  border-radius: 18px;
  border-top-right-radius: 18px;
  padding: 28px 28px 28px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.08);
  width: 100%;
  margin: 0 auto 0 auto;
  flex: none;
  text-align: left;
  color: #1a7fd7;
  overflow: hidden; /* Contrôler le débordement */
  position: relative;
}

.rentree-cal7mois h3, .rentree-cal12mois h3 {
  font-size: 2em;
  font-weight: 900;
  color: #374b90;
  margin-bottom: 8px;
  margin-top: 0em;
  letter-spacing: -1px;
}

.rentree-soustitre {
  font-size: 1.1em !important;
  font-weight: 700 !important;
  color: #374b90 !important;
  margin-bottom: 18px !important;
}

.rentree-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  background: #fff;
  border: 1.5px solid #374b90;
}



.rentree-table th, .rentree-table td {
  border-right: 1.5px solid #374b90;
  padding: 14px 18px;
}

.rentree-table th:last-child, .rentree-table td:last-child {
  border-right: none;
}

.rentree-table th {
  border-bottom: 1.5px solid #374b90;
  background: #fff;
  font-weight: 700;
  color: #374b90 !important;
}

.rentree-table td {
  border-bottom: 1.5px solid #374b90;
  font-weight: 400;
  color: #374b90 !important;
}

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

.rentree-12mois-dates {
  font-size: 1.15em;
  font-weight: 700;
  color: #374b90;
  margin-top: 18px;
}

.rentree-12mois-examens {
  font-size: 1.08em;
  font-weight: 400;
  color: #374b90;
  font-family: 'Raleway', sans-serif;
}

.rentree-exam-info {
  color: #fff;
  font-size: 1.08em;
  text-align: center;
  margin: 6px auto 6px auto;
  max-width: 600px;
  font-weight: 500;
}

.btn-inscription {
  display: inline-block;
  background: #fff;
  color: #374b90;
  border: 2px solid #374b90;
  border-radius: 25px;
  padding: 15px 35px;
  font-family: 'Raleway', sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(56, 75, 144, 0.10);
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s;
  cursor: pointer;
  margin: 24px auto 24px auto;
}

.btn-inscription:hover, .btn-inscription:focus {
  background: #374b90;
  color: #fff;
  border: 2px solid #fff;
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .rentree-section {
    padding: 40px 20px;
  }
  
  .rentree-wrapper {
    padding: 0;
  }
  
  .rentree-calendrier {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  
  .rentree-cal7mois, .rentree-cal12mois {
    max-width: 100%;
    min-width: 0;
    padding: 20px 15px;
    border-radius: 15px;
  }
  
  .rentree-cal7mois h3, .rentree-cal12mois h3 {
    font-size: 1.6em;
    margin-bottom: 6px;
  }
  
  .rentree-soustitre {
    font-size: 1em !important;
    margin-bottom: 15px !important;
  }
  
  /* Tableau responsive simple sur mobile */
  .rentree-table {
    width: 100%;
    border-radius: 8px;
  }
  
  .rentree-table th,
  .rentree-table td {
    padding: 10px 12px;
    font-size: 0.9em;
  }
}




  .rentree-table td {
    padding: 13px 16px; /* Padding intermédiaire */
    font-size: 0.98em;
    min-width: 130px; /* Largeur minimale des colonnes */
  }
}

/* Règles pour améliorer l'affichage desktop existant (≥1025px) */
@media (min-width: 1025px) {
  .rentree-section {
    padding: 80px 40px;
  }
  
  /* Améliorations des calendriers */
  .rentree-cal7mois, .rentree-cal12mois {
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  }
  
  .rentree-cal7mois h3, .rentree-cal12mois h3 {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  
  .rentree-soustitre {
    font-size: 1.2em !important;
    margin-bottom: 25px !important;
  }
  
  /* Améliorations du tableau */
  .rentree-table {
    border-radius: 12px;
    border-width: 2px;
  }
  
  .rentree-table th,
  .rentree-table td {
    padding: 18px 22px;
    font-size: 1.05em;
  }
  
  /* Améliorations du bouton */
  .btn-inscription {
    padding: 18px 40px;
    font-size: 1.15em;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(56, 75, 144, 0.15);
  }
  
  .btn-inscription:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(56, 75, 144, 0.25);
  }
}

/* Règles pour très grands écrans (≥1200px) - Améliorations supplémentaires */
@media (min-width: 1200px) {
  .rentree-section {
    padding: 80px 40px;
  }
  
  .rentree-title {
    font-size: 4em;
    margin-bottom: 30px;
  }
  
  .rentree-subtitle {
    font-size: 1.5em;
    margin-bottom: 50px;
  }
  
  .rentree-calendrier {
    max-width: 1100px;
  }
  
  .rentree-cal7mois, .rentree-cal12mois {
    padding: 40px;
  }
}

.rentree-grid-4cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "topleft topright"
    "bottomleft bottomright";
  gap: 40px 60px;
  align-items: stretch;
}

.rentree-grid-4cases .rentree-img-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0px;
  width: 100%;
}

.rentree-grid-4cases .rentree-image {
  max-width: 600px;
  width: 100%;
  margin-bottom: 0;
}

.rentree-grid-4cases .rentree-title {
  margin: 0;
  line-height: 1.1;
  text-align: center;
  align-self: flex-end;
  width: 100%;
}

.rentree-grid-4cases .rentree-cell.topleft {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.rentree-grid-4cases .rentree-cell.topright {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.rentree-grid-4cases .rentree-tabs {
  margin-bottom: 0;
  align-self: flex-end;
}

.rentree-grid-4cases .rentree-tabs-content {
  margin-top: 0;
  margin-bottom: 0;
}

.rentree-grid-4cases .rentree-cell.bottomleft {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.rentree-grid-4cases .rentree-subtitle {
  margin: 0;
  color: #eaf3fa;
  align-self: flex-start;
  text-align: center;
  width: 100%;
}

.rentree-grid-4cases .rentree-cell.bottomright {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.rentree-grid-4cases .rentree-note-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.rentree-grid-4cases .rentree-exam-info {
  margin-top: 6px;
  align-self: flex-start;
  text-align: center;
  width: 100%;
}

.rentree-grid-4cases .btn-inscription {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.rentree-title {
  font-size: 2.5em;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0px;
  line-height: 1.2;
}

.rentree-subtitle {
  font-size: 1.25em;
  font-weight: 400;
  color: #eaf3fa;
  margin-bottom: 44px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.rentree-calendrier {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}

.rentree-tabs {
  display: flex;
  gap: 0;
  justify-content: flex-start;
  margin-bottom: 0;
  margin-top: 0;
}

.rentree-tab {
  border-right: 1.5px solid #eaf3fa;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  border-radius: 18px 18px 0 0;
  padding: 14px 36px;
  font-size: 1.15em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  box-shadow: none;
  position: relative;
}

.rentree-tab:last-child {
  border-right: none;
}

.rentree-tab.active, .rentree-tab:focus {
  background: #fff !important;
  color: #374b90;
  box-shadow: none !important;
}

.rentree-tab:not(.active):hover {
  background: rgba(255,255,255,0.28);
}

.rentree-tabs-content {
  width: 100%;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}

.rentree-tabpanel {
  /* Suppression de l'animation */
}

.rentree-tabpanel > div {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Responsive pour la grille 4 cases */
@media (max-width: 900px) {
  .rentree-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  
  .rentree-grid-4cases {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas: 
      "image"
      "title"
      "subtitle"
      "tabs"
      "note"
      "button";
    gap: 15px;
  }
  
  /* Réorganisation des éléments en responsive */
  .rentree-grid-4cases .rentree-cell.topleft {
    grid-area: image;
  }
  
  .rentree-grid-4cases .rentree-cell.topleft .rentree-title {
    grid-area: title;
    order: 2;
  }
  
  .rentree-grid-4cases .rentree-cell.bottomleft {
    grid-area: subtitle;
  }
  
  .rentree-grid-4cases .rentree-cell.topright {
    grid-area: tabs;
  }
  
  .rentree-grid-4cases .rentree-cell.bottomright {
    grid-area: note;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .rentree-grid-4cases .rentree-cell.bottomright .btn-inscription {
    grid-area: button;
    order: 2;
  }
  
  /* Ajustements pour l'affichage en colonne */
  .rentree-grid-4cases .rentree-img-title {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .rentree-grid-4cases .rentree-img-title .rentree-image {
    order: 1;
    max-width: 480px;
  }
  
  .rentree-grid-4cases .rentree-img-title .rentree-title {
    order: 2;
    text-align: center;
    margin: 0;
  }
  
  /* Marges spécifiques entre les éléments */
  .rentree-grid-4cases .rentree-cell.topleft {
    margin-bottom: 0;
  }
  
  .rentree-grid-4cases .rentree-cell.topleft .rentree-title {
    margin-top: 0;
  }
  
  .rentree-grid-4cases .rentree-cell.bottomleft {
    margin-top: 0;
  }
  
  .rentree-grid-4cases .rentree-note-btn {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: auto;
  }
  
  .rentree-grid-4cases .rentree-note-btn .rentree-exam-info {
    order: 1;
    margin: 0;
  }
  
  .rentree-grid-4cases .rentree-note-btn .btn-inscription {
    order: 2;
    margin: 0;
  }
  
  .rentree-tab { padding: 10px 16px; font-size: 1em; }
  .rentree-tabs { gap: 6px; }
}
  
  
/* =====================
   PAGE LES + JUMP
===================== */

/* Hero spécifique pour Les + Jump */
.hero-les-plus {
  background: #41549b;
  height: 300px;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-les-plus .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
  position: relative;
  text-align: center;
}

.hero-les-plus .hero-title {
  font-size: 3.5em;
  font-weight: 900;
  color: #374b90;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-les-plus .subtitle {
  font-size: 1.4em;
  color: #374b90;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .hero-les-plus { padding: 60px 40px; }
  .hero-les-plus .hero-title { font-size: 3em; }
}

@media (min-width: 1024px) {
  .hero-les-plus { padding: 60px 60px; }
  .hero-les-plus .hero-title { font-size: 3.5em; }
}

@media (max-width: 768px) {
  .hero-les-plus { 
    min-height: 300px; 
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-les-plus .hero-title {
    font-size: 1.8em;
  }
  .hero-les-plus .subtitle {
    font-size: 1.1em;
  }
}

/* Section Introduction */
.intro-section {
  padding: 40px 20px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.intro-bg-svg {
  position: fixed;
  left: -40px;
  top: 0;
  width: 50%;
  height: 100%;
  color: #374b90;
  filter: none;
  opacity: 0.4;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.intro-content {
  max-width: 1100px;
  margin: 0 auto;
}

.intro-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Icône supprimée */

.intro-title {
  font-size: 2.8em;
  font-weight: 900;
  color: #374b90;
  margin: 0;
  line-height: 1.2;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.intro-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.intro-card {
  transition: transform 0.3s ease;
}

.intro-card:hover {
  transform: scale(1.02);
}

.intro-card-orange {
  background: #ed6b26;
  color: #fff !important;
}

.intro-card-orange h3 {
  color: #fff !important;
}

.intro-card-orange p {
  color: #fff !important;
}

/* Icônes supprimées */

.intro-card h3 {
  font-size: 1.5em;
  font-weight: 700;
  color: #374b90;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.intro-card p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.intro-highlight {
  background: linear-gradient(135deg, #374b90 0%, #4a5ba8 100%);
  border-radius: 25px;
  padding: 50px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Fond animé supprimé */

.intro-highlight-content {
  position: relative;
  z-index: 1;
}

/* Icône highlight supprimée */

.intro-highlight-text h3 {
  font-size: 2em;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.intro-highlight-text p {
  font-size: 1.2em;
  line-height: 1.7;
  margin: 0;
  opacity: 0.95;
}

.intro-highlight-text strong {
  color: #ed6b26;
  font-weight: 700;
}

/* Media queries pour la section introduction */
@media (max-width: 900px) {
  .intro-section {
    padding: 80px 20px;
  }
  
  .intro-title {
    font-size: 2.4em;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .intro-card {
    padding: 30px 25px;
  }
  
  .intro-highlight {
    padding: 40px 30px;
  }
  
  .intro-highlight-content {
    text-align: center;
  }
  
  .intro-highlight-text h3 {
    font-size: 1.8em;
  }
  
  .intro-highlight-text p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .intro-section {
    padding: 60px 20px;
  }
  
  /* Icône supprimée */
  
  .intro-title {
    font-size: 2em;
  }
  
  /* Icônes supprimées */
  
  .intro-card h3 {
    font-size: 1.3em;
  }
  
  .intro-card p {
    font-size: 1em;
  }
  
  .intro-highlight {
    padding: 30px 25px;
  }
  
  /* Icône highlight supprimée */
  
  .intro-highlight-text h3 {
    font-size: 1.6em;
  }
  
  .intro-highlight-text p {
    font-size: 1em;
  }
}

/* Section La méthode Jump */
.methode-section {
  padding: 80px 20px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.methode-bg-svg {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  z-index: 0;
  pointer-events: none;
  color: #374b90;
  opacity: 0.1;
}

@media (max-width: 900px) {
  .methode-bg-svg {
    display: none;
  }
}

/* Styles spécifiques pour les pages Les + Jump et FAQ */
.intro-section .section-title,
.methode-section .section-title,
.masterclass-section .section-title,
.pourquoi-section .section-title,
.faq-section .section-title,
.faq-contact-section .section-title {
  font-size: 3em;
  font-weight: 900;
  color: #374b90;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.intro-section .section-subtitle,
.methode-section .section-subtitle,
.masterclass-section .section-subtitle,
.pourquoi-section .section-subtitle,
.faq-section .section-subtitle,
.faq-contact-section .section-subtitle {
  font-size: 1.3em;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

.methode-section .formules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.methode-section .formule-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 2px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.methode-section .formule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.formule-header h3 {
  font-size: 1.8em;
  font-weight: 900;
  color: #374b90;
  margin-bottom: 25px;
  line-height: 1.3;
}

.formule-number {
  font-size: 2.5em;
  color: #ed6b26;
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.formule-title {
  display: block;
  font-size: 1em;
  color: #374b90;
  font-weight: 900;
  line-height: 1.3;
}

.methode-cta {
  text-align: center;
  margin-top: 40px;
}

.formule-item {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  line-height: 1.6;
  color: #333;
}

.formule-item:last-child {
  border-bottom: none;
}

.formule-item strong {
  color: #374b90;
  font-weight: 700;
}

.sub-list {
  margin-top: 15px;
  margin-left: 20px;
}

.sub-item {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95em;
  color: #666;
}

.sub-item:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .methode-section .formules-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .section-title {
    font-size: 2.5em;
  }
  
  .formule-header h3 {
    font-size: 1.5em;
  }
}

/* Section Master Class */
.masterclass-section {
  padding: 80px 20px;
  background: #374b90;
  color: #fff;
}

.masterclass-header {
  text-align: center;
  margin-bottom: 60px;
}

.masterclass-section .section-title {
  color: #fff;
  margin-bottom: 20px;
}

.masterclass-section .section-subtitle {
  color: #eaf3fa;
  margin-bottom: 0;
}

.masterclass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.masterclass-card {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.masterclass-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
}

.masterclass-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.masterclass-card p {
  color: #eaf3fa;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .masterclass-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .masterclass-card {
    padding: 25px;
  }
}

/* Section Pourquoi Jump */
.pourquoi-section {
  padding: 80px 20px;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.pourquoi-bg-svg {
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 200px;
  z-index: 0;
  pointer-events: none;
  color: #374b90;
  opacity: 0.1;
}

@media (max-width: 900px) {
  .pourquoi-bg-svg {
    display: none;
  }
}

.pourquoi-section .section-title {
  color: #374b90;
  margin-bottom: 50px;
}

.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 60px auto;
}

.pourquoi-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.pourquoi-item:hover {
  transform: translateY(-3px);
}

.pourquoi-icon {
  background: #ed6b26;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
  margin-top: 2px;
}

.pourquoi-item p {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 1.1em;
}

/* Section CTA */
.cta-section {
  text-align: center;
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.cta-text {
  font-size: 1.4em;
  color: #374b90;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-buttons .btn-primary {
  background: #ed6b26;
  color: #fff;
  border: 2px solid #ed6b26;
}

.cta-buttons .btn-primary:hover {
  background: #d55a1a;
  border-color: #d55a1a;
  transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: #374b90;
  border: 2px solid #374b90;
}

.cta-buttons .btn-secondary:hover {
  background: #374b90;
  color: #fff;
  transform: translateY(-2px);
}

.disclaimer {
  text-align: center;
  color: #666;
  font-size: 0.9em;
  font-style: italic;
  margin: 0;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .cta-text {
    font-size: 1.2em;
  }
}
  
  
/* =====================
   PAGE FAQ
===================== */

/* Hero spécifique pour FAQ */
.hero-faq {
  background: #41549b;
  height: 300px;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-faq .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
  position: relative;
  text-align: center;
}

.hero-faq .hero-title {
  font-size: 3.5em;
  font-weight: 900;
  color: #374b90;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-faq .subtitle {
  font-size: 1.4em;
  color: #374b90;
  line-height: 1.6;
  margin-bottom: 0;
}

.hero-content-section {
  padding: 20px 20px 40px 20px;
  text-align: center;
}

.hero-content-section .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content-section .hero-title {
  font-size: 3.5em;
  font-weight: 900;
  color: #374b90;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-content-section .subtitle {
  font-size: 1.4em;
  color: #374b90;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Texte SEO de la FAQ */
.faq-seo-text {
  max-width: 800px;
  margin: 0 auto 25px auto;
  text-align: center;
}

.faq-seo-text h2 {
  font-size: 1.3em;
  line-height: 1.6;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.faq-seo-text strong {
  color: #374b90;
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero-faq { padding: 60px 40px; }
  .hero-faq .hero-title { font-size: 3em; }
}

@media (min-width: 1024px) {
  .hero-faq { padding: 60px 60px; }
  .hero-faq .hero-title { font-size: 3.5em; }
}

@media (max-width: 768px) {
  .hero-faq { 
    min-height: 300px; 
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-faq .hero-title {
    font-size: 1.8em;
  }
  .hero-faq .subtitle {
    font-size: 1.1em;
  }
  
  .faq-seo-text {
    margin: 0 auto 20px auto;
    padding: 0 15px;
  }
  
  .faq-seo-text h2 {
    font-size: 1.2em;
    line-height: 1.5;
  }
}

/* Règles pour tablettes (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-faq .hero-title,
  .hero-les-plus .hero-title {
    font-size: 2.5em;
  }
  
  .hero-faq .subtitle,
  .hero-les-plus .subtitle {
    font-size: 1.3em;
  }
  
  .faq-seo-text h2 {
    font-size: 1.25em;
  }
}

/* Section FAQ */
.faq-section {
  padding: 40px 20px;
  background: #fff;
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion {
  margin-top: 40px;
}

/* Accordéon FAQ - Style spécifique pour la page FAQ */
.faq-accordion .accordion-section {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-accordion .accordion-section:hover {
  /* border-color: #ed6b26;
  box-shadow: 0 5px 15px rgba(237, 107, 38, 0.1); */
  box-shadow: 0 6px 20px rgba(55, 75, 144, 0.15);
  border-width: 1px;
  border-color: rgba(55, 75, 144, 0.25);
}

.faq-accordion .accordion-section.open {
  border-color: #ed6b26;
  box-shadow: 0 8px 25px rgba(237, 107, 38, 0.15);
}

.faq-accordion .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: #f8f9fa;
  transition: background 0.3s ease;
  cursor: pointer;
}

.faq-accordion .accordion-header:hover {
  background: #f0f0f0;
}

.faq-accordion .accordion-section.open .accordion-header {
  background: #ed6b26;
  color: #fff;
}

.faq-accordion .accordion-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #374b90;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  padding-right: 20px;
}

.faq-accordion .accordion-section.open .accordion-title {
  color: #fff;
}

.faq-accordion .accordion-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-accordion .accordion-count {
  background: #374b90;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
}

.faq-accordion .accordion-section.open .accordion-count {
  background: #fff;
  color: #ed6b26;
}

.faq-accordion .arrow {
  width: 24px;
  height: 24px;
  color: #374b90;
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-section.open .arrow {
  transform: rotate(180deg);
  color: #fff;
}

.faq-accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-accordion .accordion-section.open .accordion-content {
  max-height: 1000px;
}

.faq-accordion .accordion-text {
  padding: 20px 30px 30px 30px;
  line-height: 1.8;
  color: #333;
}

.faq-accordion .accordion-text p {
  margin-bottom: 15px;
}

.faq-accordion .accordion-text p:last-child {
  margin-bottom: 0;
}

.faq-accordion .accordion-text strong {
  color: #374b90;
  font-weight: 700;
}

.faq-accordion .accordion-text em {
  font-style: italic;
  color: #666;
}

.faq-accordion .accordion-text u {
  text-decoration: underline;
  color: #ed6b26;
}

.faq-accordion .accordion-text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.faq-accordion .accordion-text ul li {
  margin-bottom: 8px;
  position: relative;
}

.faq-accordion .accordion-text ul li:before {
  content: "•";
  color: #ed6b26;
  font-weight: bold;
  position: absolute;
  left: -15px;
}

.faq-accordion .accordion-text ul li:last-child {
  margin-bottom: 0;
}

/* FAQ vide */
.faq-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.2em;
}

/* Section Contact FAQ */
.faq-contact-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.faq-contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.faq-contact-content h2 {
  font-size: 2.5em;
  font-weight: 900;
  color: #374b90;
  margin-bottom: 20px;
  line-height: 1.2;
}

.faq-contact-content p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.faq-contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-contact-buttons .btn-primary,
.faq-contact-buttons .btn-secondary {
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
}

.faq-contact-buttons .btn-primary {
  background: #ed6b26;
  color: #fff;
  border: 2px solid #ed6b26;
}

.faq-contact-buttons .btn-primary:hover {
  background: #d55a1a;
  border-color: #d55a1a;
  transform: translateY(-2px);
}

.faq-contact-buttons .btn-secondary {
  background: transparent;
  color: #374b90;
  border: 2px solid #374b90;
}

.faq-contact-buttons .btn-secondary:hover {
  background: #374b90;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .accordion-header {
    padding: 20px 25px;
  }
  
  .accordion-title {
    font-size: 1.1em;
  }
  
  .accordion-text {
    padding: 0 25px 25px 25px;
  }
  
  .faq-contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .faq-contact-buttons .btn-primary,
  .faq-contact-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .faq-contact-content h2 {
    font-size: 2em;
  }
  
  /* Assurer la visibilité des sections hero sur mobile */
  .hero-content-section {
    padding: 40px 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-content-section .hero-content {
    text-align: center;
  }
  
  .hero-content-section .hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  
  .hero-content-section .subtitle {
    font-size: 1.2em;
  }
}
  
/* Popup 71 : style calqué sur .formations-modal */
#popmake-71.pum {
  position: fixed !important;
  background: #374b90;
  color: #fff;
  border-radius: 0;
  padding: 24px 0;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  transform: none !important;
  margin: 0 !important;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(55,75,144,0.15);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 2100;
}

/* Contenu interne */
#popmake-71 .pum-container {
  background: transparent !important;
  box-shadow: none !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 80px !important;
  border-radius: 0 !important;
}

/* Titre */
#popmake-71 .pum-title {
  color: #fff;
  font-size: 1.8em;
  font-weight: 900;
  margin: 0 0 24px 0;
  padding: 0 0 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Close */
#popmake-71 .pum-close {
  position: fixed !important;
  top: 24px;
  right: 24px;
  float: none !important;
  width: 44px !important;
  height: 44px !important;
  background: #fff !important;
  color: #374b90 !important;
  border: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  z-index: 999999;
}
#popmake-71 .pum-close:hover { transform: scale(1.1); }

/* Overlay transparent pour un rendu "barre plein écran" */
#pum-overlay-71 { background: transparent !important; }

/* WPForms dans la popup */
#popmake-71 .wpforms-form .wpforms-field-label,
#popmake-71 .wpforms-form .wpforms-field-sublabel { color: #fff !important; }

#popmake-71 .wpforms-form input[type="text"],
#popmake-71 .wpforms-form input[type="email"],
#popmake-71 .wpforms-form input[type="tel"],
#popmake-71 .wpforms-form input[type="url"],
#popmake-71 .wpforms-form input[type="number"],
#popmake-71 .wpforms-form select,
#popmake-71 .wpforms-form textarea {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
}
#popmake-71 .wpforms-form ::placeholder { color: rgba(255,255,255,0.75) !important; }
#popmake-71 .wpforms-form input:focus,
#popmake-71 .wpforms-form select:focus,
#popmake-71 .wpforms-form textarea:focus {
  outline: none !important;
  border-color: rgba(255,255,255,0.5) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15) !important;
}

/* Bouton d'envoi */
#popmake-71 .wpforms-form button[type="submit"],
#popmake-71 .wpforms-form input[type="submit"] {
  background: #fff !important;
  color: #374b90 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 24px !important;
  padding: 10px 18px !important;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
#popmake-71 .wpforms-form button[type="submit"]:hover,
#popmake-71 .wpforms-form input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 767px) {
  #popmake-71 .pum-container { padding: 0 20px !important; max-width: 100% !important; }
  #popmake-71 { padding: 0 !important; height: 100vh !important; }
  #popmake-71 .pum-title { font-size: 1.5em; margin-bottom: 20px; padding-bottom: 20px; }
  #popmake-71 .pum-close { top: 20px; right: 20px; width: 40px !important; height: 40px !important; }
}

/* =====================
   MODALE CONTACT
===================== */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #374b90;
  z-index: 2100;
  box-shadow: 0 8px 32px rgba(55,75,144,0.15);
  padding: 24px 0 24px 0;
  text-align: left;
  animation: slideDown 0.3s;
  border-top: 1px solid rgba(255,255,255,0.1);
  height: 100vh;
  overflow-y: auto;
}

.contact-modal.open {
  display: block;
}

.contact-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 24px;
}

.contact-modal-title {
  color: #fff;
  font-size: 1.8em;
  font-weight: 900;
  margin: 0;
}

.contact-modal-close {
  width: 44px;
  height: 44px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.contact-modal-close:hover {
  background: #fff;
  transform: scale(1.1);
}

.contact-modal-close svg {
  width: 20px;
  height: 20px;
  color: #374b90;
}

.contact-modal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.contact-form-container {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* En-tête du formulaire */
.contact-form-header {
  margin-bottom: 28px;
  text-align: left;
}

.contact-form-intro {
  color: #fff;
  font-size: 1.3em;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
  opacity: 0.95;
}

/* WPForms dans la modale contact */
.contact-modal .wpforms-form .wpforms-field-label,
.contact-modal .wpforms-form .wpforms-field-sublabel {
  color: #fff !important;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-modal .wpforms-form input[type="text"],
.contact-modal .wpforms-form input[type="email"],
.contact-modal .wpforms-form input[type="tel"],
.contact-modal .wpforms-form input[type="url"],
.contact-modal .wpforms-form input[type="number"],
.contact-modal .wpforms-form select,
.contact-modal .wpforms-form textarea {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  font-size: 16px !important;
}

.contact-modal .wpforms-form ::placeholder {
  color: rgba(255,255,255,0.75) !important;
}

.contact-modal .wpforms-form input:focus,
.contact-modal .wpforms-form select:focus,
.contact-modal .wpforms-form textarea:focus {
  outline: none !important;
  border-color: rgba(255,255,255,0.5) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15) !important;
}

.contact-modal .wpforms-form button[type="submit"],
.contact-modal .wpforms-form input[type="submit"] {
  background: #fff !important;
  color: #374b90 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 24px !important;
  padding: 12px 24px !important;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 16px !important;
  min-width: 160px;
}

.contact-modal .wpforms-form button[type="submit"]:hover,
.contact-modal .wpforms-form input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* Formulaire fallback HTML */
.contact-form-fallback {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.75);
}

.contact-submit-btn {
  background: #fff;
  color: #374b90;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 24px;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
  font-size: 16px;
  min-width: 160px;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  transform: translateY(-1px);
}

/* Messages WPForms */
.contact-modal .wpforms-error,
.contact-modal .wpforms-error strong,
.contact-modal .wpforms-confirmation-container {
  color: #fff !important;
}

.contact-modal .wpforms-error input,
.contact-modal .wpforms-error textarea,
.contact-modal .wpforms-error select {
  border-color: #ffb4b4 !important;
}

.contact-modal .wpforms-confirmation-container {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 767px) {
  .contact-modal {
    padding: 0;
    height: 100vh;
  }
  
  .contact-modal-header {
    padding: 0 20px 20px 20px;
    margin-bottom: 20px;
  }
  
  .contact-modal-title {
    font-size: 1.5em;
  }
  
  .contact-modal-close {
    width: 40px;
    height: 40px;
  }
  
  .contact-modal-close svg {
    width: 18px;
    height: 18px;
  }
  
  .contact-modal-content {
    max-width: 100%;
    padding: 30px;
  }
  
  .contact-form-container {
    padding: 24px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-submit-btn {
    align-self: stretch;
    text-align: center;
  }
}

/* =====================
   LAYOUT MODALE CONTACT
===================== */

/* Layout en colonnes pour desktop */
.contact-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Colonne du formulaire */
.contact-form-column {
  min-width: 0; /* Évite le débordement */
}

/* Colonne des informations */
.contact-info-column {
  position: sticky;
  top: 24px;
}

.contact-info-container {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

/* Logo */
.contact-logo {
  text-align: center;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-logo img {
  width: 220px;
  height: 40px;
  filter: brightness(0) invert(1); /* Logo en blanc */
}

/* Titre de l'organisation */
.contact-org-title {
  color: #fff;
  font-size: 1.4em;
  font-weight: 700;
  text-align: center;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* Éléments d'information */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}

.contact-info-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

/* Icônes */
.contact-icon {
  width: 24px;
  height: 24px;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Texte des informations */
.contact-info-text {
  color: #fff;
  font-size: 0.95em;
  line-height: 1.5;
}

.contact-info-text strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* Liens */
.contact-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s ease;
}

.contact-link:hover {
  border-bottom-color: #fff;
}

/* Responsive : passage en colonne unique sur mobile */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
  }
  
  .contact-info-container {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info-column {
    position: static;
    order: 2; /* Informations après le formulaire */
  }
  
  .contact-form-column {
    order: 1; /* Formulaire en premier */
  }
  
  .contact-info-container {
    background: rgba(255,255,255,0.05);
    padding: 28px;
  }
  
  .contact-org-title {
    font-size: 1.3em;
    margin-bottom: 28px;
  }
  
  .contact-info-item {
    padding: 14px;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .contact-modal-content {
    padding: 30px;
  }
  
  .contact-layout {
    gap: 32px;
  }
  
  .contact-info-container {
    padding: 24px 20px;
  }
  
  .contact-org-title {
    font-size: 1.2em;
    margin-bottom: 24px;
  }
  
  .contact-info-item {
    padding: 12px;
    margin-bottom: 16px;
    gap: 12px;
  }
  
  .contact-icon {
    width: 20px;
    height: 20px;
  }
  
  .contact-info-text {
    font-size: 0.9em;
  }
  
  .contact-logo img {
    width: 220px;
    height: 110px;
  }
  
  .contact-form-header {
    margin-bottom: 24px;
  }
  
  .contact-form-intro {
    font-size: 1.2em;
  }
}

#post-87, #post-89, #post-85 {
  padding: 30px;
}

/* Messages de confirmation et d'erreur pour la modale de contact */
.contact-confirmation,
.contact-error {
    text-align: center;
    padding: 60px 40px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-confirmation-icon,
.contact-error-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
}

.contact-confirmation-icon {
    color: #28a745;
}

.contact-error-icon {
    color: #dc3545;
}

.contact-confirmation h2,
.contact-error h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #333;
}

.contact-confirmation p,
.contact-error p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #666;
}

.contact-confirmation .btn-cta,
.contact-error .btn-cta {
    min-width: 120px;
}

/* Animation d'apparition */
.contact-confirmation,
.contact-error {
    animation: fadeInUp 0.5s ease-out;
}

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