/* =========================
   GLOBAL / RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ff0000;
    color: #000000;
}


/* ============================ */
/* NAVBAR */
/* ============================ */

.navbar {
    width: 100%;
    background: #222222; /* FOND ROUGE */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.navbar .container {
    max-width: 1250px;
    padding: 0 20px;
    margin: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 55px;
}

/* Desktop nav */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    opacity: 0.7;
}

.btn-nav {
    background: rgb(252, 181, 0);
    color: #222222 !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* ============================ */
/* MOBILE */
/* ============================ */

.mobile-menu {
    background: #222222;
    display: none;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 0;
    font-size: 18px;
}

.btn-mobile {
    background: white;
    color: #222222 !important;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 6px;
    font-weight: 700;
}

/* ============================ */
/* RESPONSIVE */
/* ============================ */

@media(max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}






/* =========================
   HERO FORMATION
========================= */
.hero-formation {
    background-color: #222222; /* fond rouge foncé */
    color: #ffffff;
    min-height: 100vh; /* plein écran */
    display: flex;
    align-items: center;
    justify-content: center; /* centre horizontalement */
    padding-top: 220px; /* espace par rapport au navbar */
    padding-bottom: 80px;
    box-sizing: border-box;
    text-align: center; /* centre le texte */
}

.hero-formation .container {
    display: flex;
    flex-direction: column; /* colonne pour centrer texte et image */
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px; /* limite largeur pour sous-titre */
    width: 100%;
    padding: 0 20px; /* espace sur les côtés */
}

.hero-formation .hero-text h1 {
    font-weight: 700; /* Bold */
    font-size: 60px; /* titre plus grand */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-formation .hero-text p {
    font-weight: 300; /* Thin */
    font-size: 20px; /* sous-titre plus lisible */
    line-height: 1.6;
    margin: 0 auto; /* centre sous-titre */
    max-width: 700px; /* limite largeur pour ne pas déborder */
}

/* Image */
.hero-formation .hero-img img {
    width: 100%;
    max-width: 750px; /* image un peu plus grande */
    border-radius: 10px;
    margin-top: 15px; /* rapproche du texte */
}

/* ------------------
   Responsive
------------------ */
@media(max-width: 1024px) {
    .hero-formation .hero-text h1 {
        font-size: 50px;
    }

    .hero-formation .hero-text p {
        font-size: 18px;
        max-width: 90%; /* limite largeur sur tablette */
    }

    .hero-formation .hero-img img {
        width: 80%;
    }
}

@media(max-width: 768px) {
    .hero-formation {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-formation .hero-text h1 {
        font-size: 42px;
    }

    .hero-formation .hero-text p {
        font-size: 16px;
        max-width: 90%; /* centré et limité */
    }

    .hero-formation .hero-img img {
        width: 90%;
        margin-top: 12px;
    }
}

@media(max-width: 480px) {
    .hero-formation .hero-text h1 {
        font-size: 32px;
    }

    .hero-formation .hero-text p {
        font-size: 16px;
        max-width: 95%; /* s’adapte aux petits écrans */
    }

    .hero-formation .hero-img img {
        width: 100%;
        margin-top: 10px;
    }
}


/* =========================
   END OF HERO FORMATION
========================= */

.formations {
    background-color: #f9f9f9; /* fond clair */
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    text-align: center;
}

.formations .container {
    max-width: 1200px;
    margin: auto;
}

.formations h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.formations .subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #666;
}

.formations {
    background-color: #f9f9f9; /* fond clair */
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    text-align: center;
}

.formations .container {
    max-width: 1200px;
    margin: auto;
}

.formations h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.formations .subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #666;
}

.formations-grid {
    display: flex;
    justify-content: space-between; /* cartes sur la même ligne */
    gap: 30px;
    flex-wrap: nowrap; /* pas de retour à la ligne sur desktop */
    align-items: stretch; /* cartes de même hauteur */
}

.formation-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    flex: 1; /* toutes les cartes prennent la même largeur */
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.formation-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #FF0000, #FFD700); /* dégradé rouge → jaune */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.formation-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.formation-card p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

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

/* ------------------
   Responsive
------------------ */
@media(max-width: 1024px) {
    .formations-grid {
        flex-wrap: wrap; /* autoriser le wrapping sur tablette */
        justify-content: center;
    }

    .formation-card {
        max-width: 300px;
        margin-bottom: 30px;
    }
}

@media(max-width: 480px) {
    .formations-grid {
        flex-direction: column;
        gap: 20px;
    }

    .formation-card {
        width: 100%;
        max-width: none;
        margin-bottom: 20px;
    }

    .formations h2 {
        font-size: 28px;
    }

    .formations .subtitle {
        font-size: 16px;
    }

    .formation-card h3 {
        font-size: 20px;
    }

    .formation-card p {
        font-size: 14px;
    }
}





/* =========================
   DETAIL DE FORMATION ET EXPLICATION
========================= */

.formation-details {
  background: #ffffff; /* fond blanc */
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #222;
}

.formation-details .container {
  max-width: 1000px;
  margin: 0 auto;
}

.formation-details h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 30px;
}

.formation-details p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* Responsive */
@media (max-width: 992px) {
  .formation-details h2 {
    font-size: 28px;
  }

  .formation-details p {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .formation-details {
    padding: 50px 15px;
  }

  .formation-details h2 {
    font-size: 24px;
  }

  .formation-details p {
    font-size: 14px;
  }
}







/* =========================
   POURQUOI CHOISIR
========================= */
.formation-why {
    background-color: #f9f9f9; /* fond clair */
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    text-align: center;
}

.formation-why .container {
    max-width: 1200px;
    margin: auto;
}

.formation-why h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.formation-why .subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #666;
}

.formation-why .benefits {
    display: flex;
    justify-content: space-between; /* cartes sur la même ligne */
    gap: 30px;
    flex-wrap: nowrap; /* pas de retour à la ligne sur desktop */
    align-items: stretch; /* cartes de même hauteur */
}

.formation-why .benefit {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    flex: 1; /* toutes les cartes prennent la même largeur */
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.formation-why .benefit i {
    font-size: 3rem;
    background: linear-gradient(135deg, #FF0000, #FFD700); /* dégradé rouge → jaune */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.formation-why .benefit h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.formation-why .benefit p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

.formation-why .benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ------------------
   Responsive
------------------ */
@media(max-width: 1024px) {
    .formation-why .benefits {
        flex-wrap: wrap; /* autoriser le wrapping sur tablette */
        justify-content: center;
    }

    .formation-why .benefit {
        max-width: 300px;
        margin-bottom: 30px;
    }
}

@media(max-width: 480px) {
    .formation-why .benefits {
        flex-direction: column;
        gap: 20px;
    }

    .formation-why .benefit {
        width: 100%;
        max-width: none;
        margin-bottom: 20px;
    }

    .formation-why h2 {
        font-size: 28px;
    }

    .formation-why .subtitle {
        font-size: 16px;
    }

    .formation-why .benefit h3 {
        font-size: 20px;
    }

    .formation-why .benefit p {
        font-size: 14px;
    }
}


/* =========================
   STYLES POUR PACKS DE FORMATION
   (ALIGNEMENT CORRIGÉ)
========================= */

/* Section packs — fond blanc */
.formation-pricing {
  background: #ffffff; /* fond blanc */
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #222;
  text-align: center;
}

.formation-pricing .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Titres */
.formation-pricing h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.formation-pricing .subtitle {
  text-align: center;
  color: #666;
  font-weight: 300;
  margin-bottom: 36px;
}

/* Formation title (ex: Graphisme, Montage Vidéo) */
.formation-pricing .formation-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 36px 0 18px;
  text-align: center;
}

/* =========================
   STYLES POUR PACKS DE FORMATION
   (3 PACKS ALIGNÉS, ESPACÉS, BOUTONS ET TEXTE CENTRÉS)
========================= */

/* Section packs — fond blanc */
.formation-pricing {
  background: #ffffff; /* fond blanc */
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #222;
  text-align: center;
}

.formation-pricing .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Titres */
.formation-pricing h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.formation-pricing .subtitle {
  text-align: center;
  color: #666;
  font-weight: 300;
  margin-bottom: 36px;
}

/* Formation title */
.formation-pricing .formation-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 36px 0 18px;
  text-align: center;
}

/* ======================
   GRID : 3 cartes sur la même ligne avec plus d'espace
====================== */
.pricing-grid {
  display: flex;
  justify-content: center; /* centre la ligne */
  gap: 60px; /* espace entre les packs */
  margin-bottom: 50px;
  flex-wrap: wrap; /* pour responsive */
}

/* Cartes avec largeur et hauteur identique */
.pricing-card {
  background: #ffffff; /* blanc */
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(20,20,20,0.06);
  display: flex;
  flex-direction: column;
  min-height: 380px; /* même hauteur pour toutes */
  width: 300px; /* même largeur pour toutes */
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  justify-content: space-between; /* distribue titre, features, bouton */
  align-items: center; /* centre horizontalement le contenu */
  text-align: center; /* texte centré */
}

/* Ligne décorative dégradée */
.pricing-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(90deg,#f0f0f0,#f0f0f0);
  z-index: 2;
}

/* Hover léger */
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(20,20,20,0.12);
}

/* Header (titre + prix) */
.card-head {
  margin-bottom: 12px;
  text-align: center;
}

.card-head h4 {
  font-size: 18px;
  margin: 0 0 6px 0;
  font-weight: 700;
  color: #111;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.card-head .price {
  font-size: 20px;
  font-weight: 800;
  color: #c30000; /* accent rouge */
  margin: 4px 0 0 0;
}

/* Liste des caractéristiques */
.features {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px 0;
  flex: 1;
  text-align: left; /* descriptions alignées gauche */
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.45;
}

/* Icône devant chaque détail */
.li-icon {
  display: inline-block;
  min-width: 20px;
  line-height: 1;
  font-weight: 700;
  margin-top: 2px;
  color: #666;
}

/* CTA bouton - couleur par pack */
.btn-cta {
  display: inline-block;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease;
  margin-top: auto;
}

/* Couleur des boutons selon le pack */
.pack-beginner .btn-cta {
  background: #007bff; /* bleu */
}
.pack-intermediate .btn-cta {
  background: #ff4b4b; /* rouge */
}
.pack-advanced .btn-cta {
  background: #e0b100; /* doré */
}

/* Hover général pour tous les boutons */
.btn-cta:hover {
  transform: translateY(-3px);
  background: #ffd700;
  color: #c30000;
}

/* STAR premium */
.premium-star {
  margin-left: 8px;
  color: #fddf00; /* doré */
  font-size: 0.95em;
  vertical-align: middle;
}

/* ==========================
   DÉGRADÉS / COULEURS PAR PACK
========================== */
.pack-beginner::before {
  background: linear-gradient(90deg,#007bff 0%, #2ea0ff 100%);
}
.pack-beginner .li-icon { color: #007bff; }

.pack-intermediate::before {
  background: linear-gradient(90deg,#ff4b4b 0%, #ff8a8a 100%);
}
.pack-intermediate .li-icon { color: #ff4b4b; }

.pack-advanced::before {
  background: linear-gradient(90deg,#e0b100 0%, #ffd64d 100%);
}
.pack-advanced .li-icon { color: #c19a00; }
.pack-advanced .card-head h4 { display:inline-flex; align-items:center; gap:8px; }

.pricing-card.popular {
  box-shadow: 0 12px 30px rgba(195,48,48,0.07);
  border: 1px solid rgba(195,48,48,0.06);
}

/* ==========================
   Responsive
========================== */
@media (max-width: 992px) {
  .pricing-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px; /* espace tablette */
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    flex-direction: column;
    gap: 30px;
  }

  .pricing-card {
    width: 100%;
    min-height: auto;
  }

  .btn-cta {
    width: 100%;
  }

  .features {
    text-align: left; /* garde descriptions alignées gauche mobile */
  }
}








/* =========================
   CALL TO ACTION FORMATION
========================= */
.formation-cta {
  background: #ffffff; /* fond blanc */
  padding: 80px 20px;
  font-family: 'Montserrat', sans-serif;
}

.formation-cta .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Conteneur rouge */
.formation-cta .cta-box {
  background: #222222; /* rouge */
  border-radius: 12px;
  padding: 40px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* étirer pour aligner texte et formulaire sur desktop */
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Image */
.formation-cta .cta-image img {
  width: 300px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto;
}

/* Texte descriptif */
.formation-cta .cta-text {
  flex: 1; /* prend l'espace disponible */
  min-width: 280px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.6;
}

.formation-cta .cta-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.formation-cta .cta-text p {
  font-size: 16px;
  font-weight: 300;
  color: #ffffff;
  text-align: justify;
}

/* Formulaire */
.formation-cta .cta-form {
  flex: 1; /* prend l'espace disponible */
  min-width: 280px;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.formation-cta .cta-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Champs du formulaire */
.formation-cta .cta-form input,
.formation-cta .cta-form textarea,
.formation-cta .cta-form select {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  outline: none;
}

.formation-cta .cta-form textarea {
  resize: none;
}

/* Bouton CTA */
.formation-cta .btn-submit {
  background: #ffd700; /* doré */
  color: #c30000;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.formation-cta .btn-submit:hover {
  background: #ffffff;
  color: #c30000;
  transform: translateY(-2px);
}

/* Responsive tablette et mobile */
@media (max-width: 992px) {
  .formation-cta .cta-box {
    flex-direction: column;
    align-items: center; /* centrage horizontal */
    text-align: center;
  }

  .formation-cta .cta-text,
  .formation-cta .cta-form {
    max-width: 100%;
  }

  .formation-cta .cta-image img {
    width: 80%;
    margin-bottom: 20px;
  }

  .formation-cta .cta-text {
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .formation-cta .cta-box {
    padding: 30px 15px;
  }

  .formation-cta .cta-form form {
    width: 100%;
  }
}






/* ====================================== */
/* FOOTER                                */
/* ====================================== */
/* Footer CSS */
.footer-section {
    background: #222222;
    color: white;
    padding: 60px 20px 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 150px;
    margin-bottom: 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.footer-column ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-logo {
        align-items: center;
    }
}




#background-audio {
    display: none;
}
