   :root {
      --primary: #104883;
      --secondary: #E3262D;
      --light-blue: #a8d9e8;
      --light-red: #FF9CA0;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
      overflow-x: hidden;
    }

    /* EQUIPES CARD CSS */
.section-title {
    font-size: 40px;
    color: #E3262D;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-profil {
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-profil:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-info {
    background-color: #0B4F93;
    color: white;
    padding: 18px 12px;
}

.card-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.card-info p {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.9;
}



    /* CAROUSEL */
    .custom-carousel {
      height: 500px;
      overflow: hidden;
      position: relative;
    }

    .custom-carousel img {
      object-fit: cover;
      height: 500px;
      width: 100%;
    }

    .carousel-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(16, 72, 131, 0.6);
      z-index: 1;
    }

    .carousel-caption {
      z-index: 2;
      bottom: 30%;
    }

    .carousel-caption h2 {
      font-size: 2.5rem;
      font-weight: 700;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }

    .carousel-caption p {
      font-size: 1.2rem;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    }

      /* IMAGE DE RUBRIQUE */
  .header-image {
    position: relative;
    height: 200px; 
    overflow: hidden;
  }


  .header-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .header-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    z-index: 2;
  }



/*BOUTON PREINSCRIRE ET RENSIGNEMENT  */
.btn-outline {
    display: inline-block;
    padding: 20px 20px;
    border: 4px solid #E3262D; /* Rouge du modèle */
    color: #E3262D;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #E3262D;
    color: white;
}




    /* TITRES ARRONDIS */
    .rounded-title {
      display: inline-block;
      background: var(--primary);
      color: #ffffff;
      padding: 15px 40px;
      border-radius: 50px;
      border: 3px solid rgba(255, 255, 255, 0.12);
      font-size: 1.8rem;
      font-weight: 700;
      box-shadow: 0 6px 18px rgba(16, 72, 131, 0.25);
      text-align: center;
      margin-bottom: 30px;
    }

    /* LIENS CIRCULAIRES */
    .custom-link {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: var(--secondary);
      color: #ffffff;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(227, 38, 45, 0.3);
      text-align: center;
      padding: 20px;
    }

    .custom-link:hover {
      background: var(--primary);
      color: #ffffff;
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(16, 72, 131, 0.4);
    }

    .custom-link .link-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .custom-link .link-text {
      font-size: 0.9rem;
      font-weight: 500;
    }

    /* SECTIONS HERO */
    .hero-section {
      padding: 4rem 0;
    }

    .hero-blue {
      background-color: var(--light-blue);
    }

    .hero-red {
      background-color: var(--light-red);
    }

    .hero-section img {
      border-radius: 15px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    /* LISTE DES FORMATIONS */
    .formations-list {
      list-style-type: disc;
      padding-left: 20px;
      column-count: 2;
      column-gap: 30px;
    }

    .formations-list li {
      margin-bottom: 10px;
      color: var(--primary);
    }

    .formations-list li a {
      text-decoration: none;
      font-weight: 500;
      font-size: 1.05rem;
      transition: color 0.3s ease;
      color:var(--primary);
    }

    .formations-list li a:hover {
      color: black;
    }


    /* CONTACT */
     .contact-card {
      background: #f8f9fa;
      padding: 30px;
      border-radius: 10px;
      transition: all 0.3s ease;
      border: 2px solid #e9ecef;
      height: 100%;
    }
    
    .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(16, 72, 131, 0.15);
      border-color: #104883;
    }
    
    .contact-icon {
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, #104883 0%, #0B4F93 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 32px;
      color: white;
    }
    
    .contact-card h4 {
      color: #104883;
      font-weight: bold;
      margin-bottom: 15px;
    }
    
    .contact-card p {
      color: #666;
      margin-bottom: 8px;
      font-size: 15px;
    }
    
    .contact-card a {
      color: #104883;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
    }
    
    .contact-card a:hover {
      color: #0B4F93;
    }
    
    .map-container {
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      margin-top: 30px;
    }
    
    .map-container iframe {
      width: 100%;
      height: 450px;
      border: none;
    }
    
    .section-title {
      background-color: #104883;
      color: white;
      padding: 15px 30px;
      display: inline-block;
      border-radius: 5px;
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 30px;
    }



    /* MOT DU DIRECTEUR */
    .director-section {
      padding: 4rem 0;
    }

    .director-section img {
      border-radius: 15px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    /* STATS */
    .stats-section {
      background-color: var(--primary);
      color: white;
      padding: 3rem 0;
    }

    .stat-card {
      padding: 2rem;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 15px;
      transition: all 0.3s ease;
    }

    .stat-card:hover {
      background-color: rgba(255, 255, 255, 0.1);
      transform: translateY(-5px);
    }

    .stat-number {
      font-weight: 700;
      font-size: 3rem;
      margin-bottom: 0.5rem;
    }

    .stat-label {
      font-size: 1.2rem;
      font-weight: 500;
    }

    /* CONTACT BANNER */
    .contact-banner {
      position: relative;
      overflow: hidden;
    }

    .contact-banner img {
      width: 100%;
      height: 150px;
      object-fit: cover;
    }

    .contact-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-contact {
      display: inline-block;
      padding: 18px 50px;
      background-color: var(--secondary);
      color: #fff;
      font-weight: 700;
      font-size: 1.8rem;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 1px;
      border: 3px solid #000;
      border-radius: 5px;
      transition: all 0.3s ease;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-contact:hover {
      background-color: var(--primary);
      border-color: var(--secondary);
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    /* FOOTER */
    footer {
      background: #0b2a4a;
      color: #fff;
      padding: 2.5rem 0;
    }

    footer a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    footer a:hover {
      color: var(--secondary);
    }

    /* RESPONSIVE */
    @media (max-width: 991px) {
      .custom-carousel {
        height: 350px;
      }

      .custom-carousel img {
        height: 350px;
      }

      .carousel-caption h2 {
        font-size: 1.8rem;
      }

      .carousel-caption p {
        font-size: 1rem;
      }

      .rounded-title {
        font-size: 1.4rem;
        padding: 12px 30px;
      }

      .formations-list {
        column-count: 1;
      }
    }

    @media (max-width: 576px) {
      .custom-carousel {
        height: 250px;
      }

      .custom-carousel img {
        height: 250px;
      }

      .carousel-caption h2 {
        font-size: 1.3rem;
      }

      .carousel-caption p {
        font-size: 0.85rem;
      }

      .hero-section {
        padding: 2rem 0;
      }

      .rounded-title {
        font-size: 1.2rem;
        padding: 10px 20px;
      }

      .custom-link {
        width: 120px;
        height: 120px;
      }

      .custom-link .link-title {
        font-size: 0.95rem;
      }

      .custom-link .link-text {
        font-size: 0.8rem;
      }

      .stat-number {
        font-size: 2rem;
      }

      .stat-label {
        font-size: 1rem;
      }

      .btn-contact {
        font-size: 1.2rem;
        padding: 12px 30px;
      }

      .contact-banner img {
        height: 250px;
      }
    }