body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    line-height: 1.7;
    font-size: 1em; /* Taille globale du texte, ajuste selon ton goût */
    color: #222;
    text-align: justify;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}



nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #ff3908;
    text-decoration: none;
}

nav ul li a:hover {
    color: #ff6600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

main {
    padding: 20px;
    /* Image de fond couvrant toute la page */
    background-image: url('fond3.jpg'); /* Remplacez par le chemin de votre image */
    background-size: cover; /* Assure que l'image couvre toute la page */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-attachment: scroll; /* Fixe l'image de fond pour qu'elle ne défile pas avec le contenu */
}

section {
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.resource-item {
    margin-bottom: 20px;
    transform: scale(1);
    transition: transform 0.3s ease;
}


footer {
    background-color: rgba(51, 51, 51, 0.85); /* Noir avec transparence */
    color: #fff;
    text-align: center;
    padding: 18px 0;
    position: relative; /* was fixed - changed to allow normal page flow */
    width: 100%;
    line-height: 1.4;
}

/* Couleurs personnalisées */
header {
    background: linear-gradient(135deg, #1704e2 0%, #a3e4fa 100%);
    padding: 20px 0;
    height: auto;
    box-shadow: 0 4px 12px rgba(75, 58, 255, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    color: #fff;
}

/* Header CTA Button - Ultra Stylisé */
.header-cta-btn {
    display: inline-block;
    padding: 11px 26px;
    margin: 8px auto 0;
    background: linear-gradient(135deg, #fd7a22 0%, #ff9544 50%, #ffa85e 100%);
    color: white;
    text-decoration: none;
    border-radius: 22px;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.4px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(253, 122, 34, 0.4),
                0 0 30px rgba(253, 122, 34, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.header-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.header-cta-btn:hover::before {
    left: 100%;
}

.header-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 35px rgba(253, 122, 34, 0.5),
                0 0 40px rgba(253, 122, 34, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #ff9544 0%, #ffa85e 50%, #ffb570 100%);
}

.header-cta-btn:active {
    transform: translateY(-2px) scale(1.02);
}

section#home {
    background-color: #e0f7fa;
    padding: 20px;
    border-radius: 10px;
    overflow:scroll; /* Cela permet de découper l'image si elle dépasse */
    position: relative;
    width: 100%;
    height: auto; /* Vous pouvez ajuster la hauteur selon vos besoins */
    border: inset;

}

.image-container {
    display: flex;
    justify-content: center; /* Centre les images horizontalement */
    gap: 20px; /* Espace entre les images */
}

.image-container img {
    width: 40%; /* Ajustez la largeur selon vos besoins */
    height: auto; /* Conserve les proportions de l'image */
    border-radius: 20px;
    border-top: 5px solid #ff0000; /* Bordure rouge en haut */
    border-right: 5px solid #00ff00; /* Bordure verte à droite */
    border-bottom: 5px solid #0000ff; /* Bordure bleue en bas */
    border-left: 5px solid #ffff00; /* Bordure jaune à gauche */
}

.image-container img:hover {
    transform: scale(1.1); /* Agrandit l'image de 10% au survol */
}

section#about {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    text-align:justify;
    border: dotted;
}

section#courses {
    background-color: #f4ffe0c9;
    padding: 20px;
    border-radius: 10px;
    text-align:center;
    border: dotted;
}

section#resources {
    background-color: #f3e5f5;
    padding: 20px;
    border-radius: 10px;
    text-align:justify;
    border: dotted;
}
section#testimonials {
    background-color: #fffde7;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align:justify;
    border: inset;
    word-wrap: break-word;

}

section#news {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align:justify;
    border: outset;
}

section#faq {
    background-color: #f0f4c3;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align:justify;
    border: inset;
}

section#cta {
    background-color: #ffe0b2;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    border: outset;
}

section#technique {
    background-color: #5feef8d5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    border: inset;
}

section#professionnel {
    background-color: #91f1a1d5;
      
    text-align: left;
    max-width: 1100px; /* Augmentée : sections centrées et plus larges sur desktop */
    margin: 40px auto 0 auto;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(76, 68, 182, 0.10);
    padding: 32px 24px 24px 24px;
}


.button {
    display: inline-block;
    padding: 12px 28px;
    margin: 10px;
    background: linear-gradient(135deg, #4b3aff, #48c6ef);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(75, 58, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(75, 58, 255, 0.4);
    background: linear-gradient(135deg, #3d2fb3, #3ab5d8);
}

/* Menu de navigation collant */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* Animations de défilement */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.fade-in.appear {
    opacity: 1;
}


/* Formulaires d'inscription et de connexion */
form {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 10px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"], 
form input[type="email"], 
form input[type="password"] 
{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] 
{
    width: 100%;
    padding: 10px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

form input[type="submit"]:hover
 {
    background-color: #005bb5;
}


.nav-icons {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #33333333;
}

.nav-icons li {
    margin: 0 10px;
}

.nav-icons a {
    text-decoration: 'text-decoration-color';
    color: rgb(255, 255, 255);
    display: block;
    text-align: center;
    padding: 10px;
}

.nav-icons a:hover {
    background-color: rgba(12, 8, 230, 0.541);
}

main {
    padding: 20px;
}

section {
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc avec 80% d'opacité */
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto; /* Ajoute de la marge en haut et en bas, et centre horizontalement */
    max-width: 1200px; /* Limite la largeur maximale des sections (augmentée pour un meilleur confort de lecture) */
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0011ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.button:hover {
    background-color: #fa1303;
}


.nav-icons li:hover img {
    transform: scale(2); /* Double la taille de l'icône au survol */
}

/* MENU DEROULANT */
.dropdown:hover .dropdown-content 
{ display: block; 
} 

.dropdown-content 
{ display: none;
     position: absolute;
      background-color: green;
       min-width: 160px; 
       box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
       z-index: 1;
     } 

       .dropdown-content a 
       { color: white;
         padding: 12px 16px;
          text-decoration: none; 
          display: block; 
          text-align: center;
          line-height: 0%;
         } 
         
        .dropdown-content a:hover 
         { 
            background-color: none;
            transform: scale(2); /* Double la taille de l'icône au survol */
         }

         .dropdown-arrow 
         { 
            font-size: 12px;
             margin-left: 5px;
        }

        .clignote
        {
        text-decoration: blink;

    }
        /* Ajuster la taille des caractères pour le corps du texte */


/* Ajuster la taille des caractères pour les titres */
h1 {
    font-size: 3em; /* Ajustez cette valeur selon vos besoins */
    
}

h2 {
    font-size: 2em; /* Ajustez cette valeur selon vos besoins */
}

h3 {
    font-size: 1.5em; /* Ajustez cette valeur selon vos besoins */
}

/* Ajuster la taille des caractères pour les paragraphes */
p {
    font-size: 1.50em; /* Ajustez cette valeur selon vos besoins */
}

/* Ajuster la taille des caractères pour les liens */
a {
    font-size: 1em; /* Ajustez cette valeur selon vos besoins */
}

/* Ajuster la taille des caractères pour les éléments de menu */
nav ul li a {
    font-size: 1.50em; /* Ajustez cette valeur selon vos besoins */
}

/* Les zones de saisies auront un fond voulu */
input[type="text"]
{
background-color: rgba(81, 255, 0, 0.596);
}
input[type="password"]
{
background-color: rgba(81, 255, 0, 0.596);
}
input[type="email"]
{
background-color: rgba(81, 255, 0, 0.596);
}

.discussion-block {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.discussion-block h3 {
    margin-top: 0;
}

.discussion-block p {
    margin: 10px 0;
}

.discussion-block .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* pour la barre de rechercher */

.recherche {
    position: absolute;
    
   bottom:88%;
}


/* Pour les écrans de tablettes */
@media (max-width: 768px) {
    .search-form input[type="text"] {
        width: 50%;
    }

    .image-container img {
        width: 60%;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }
}

/* Pour les écrans de smartphones */
@media (max-width: 480px) {
    .search-form input[type="text"] {
        width: 70%;
    }

    .image-container img {
        width: 80%;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .search-icon {
        font-size: 20px;
    }

    .search-form {
        right: 5%;
        top: 20%;
    }
}

/* Pour les écrans de bureau */
@media (min-width: 1024px) {
    .search-form input[type="text"] {
        width: 30%;
    }

    .image-container img {
        width: 30%;
    }

    nav ul li {
        display: inline;
        margin: 0 15px;
    }

    .search-icon {
        font-size: 24px;
    }

    .search-form {
        right: 2%;
        top: 10%;
    }
}

/* ...existing code... */

/* Hamburger modernisé */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #6c63ff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(108,99,255,0.15);
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2000;
    transition: background 0.3s;
}
.hamburger:hover {
    background: #e0e7ff;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 26px;
    margin: 4px 0;
    background: #6c63ff;
    border-radius: 2px;
    transition: 0.4s;
}
/* Corrected: transform the hamburger lines when the button has the .open class */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive menu hamburger modernisé */
@media (max-width: 800px) {
    .hamburger {
        display: flex;
    }
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #6c63ff 60%, #48c6ef 100%);
        box-shadow: 0 8px 32px rgba(76, 68, 182, 0.18);
        border-radius: 0 0 18px 18px;
        padding-bottom: 20px;
        z-index: 1500;
        animation: slideDown 0.4s;
    }
    nav.open {
        display: block;
    }
    .nav-icons {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .nav-icons li {
        margin: 18px 0;
        display: block;
    }
    .nav-icons a {
        color: #fff;
        font-weight: 600;
        font-size: 1.2em;
        padding: 10px 30px;
        border-radius: 8px;
        transition: background 0.2s, color 0.2s;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .nav-icons a:hover {
        background: rgba(255,255,255,0.18);
        color: #ffe082;
    }
    .dropdown-content {
        background: #fc6464;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(108,99,255,0.08);
    }
}

/* Allow dropdowns to open via class (for mobile click toggles) */
.dropdown.open .dropdown-content {
    display: block;
}

/* ...existing code... */



 /* Insérez les animations CSS ici */
 @keyframes clignote {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.clignote {
    animation: clignote 1.5s infinite;
}
@keyframes glisse {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content {
    animation: glisse 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

@keyframes fondu {
    from { opacity: 0; }
    to { opacity: 1; }
}

.banner img {
    animation: fondu 2s ease-in-out;}
/* ...existing code... */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.whatsapp-float:hover {
    box-shadow: 0 8px 32px rgba(37,211,102,0.25);
    transform: scale(1.08);
    background: #1ebe57;
}
.whatsapp-float img {
    width: 38px;
    height: 38px;
    display: block;
}
@media (max-width: 600px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 18px;
        right: 18px;
    }
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}


/* Modernisation et centrage de la section inscription */
.signup-modern {
    max-width: 1000px; /* Augmentée : sections centrées et plus larges sur desktop */
    
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(76, 68, 182, 0.10);
   
    text-align: center;
    animation: fadeIn 1s;

    margin: 50px auto; 
    padding: 30px;
}

.signup-modern h2 {
    color: #6c63ff;
    margin-bottom: 18px;
    font-size: 2em;
    font-weight: bold;
}

.signup-modern p {
    margin-bottom: 18px;
    color: #333;
    font-size: 1.1em;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    max-width: 100%;
}

.signup-form label {
    font-weight: 700;
    color: #2c2c54;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.signup-form input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #e0e0ff;
    background: #f8f7ff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    color: #333;
}

.signup-form input[type="text"]:focus {
    border: 2px solid #4b3aff;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(75,58,255,0.1);
}

.select-wrapper {
    position: relative;
}

.signup-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #e0e0ff;
    background: #f8f7ff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    color: #333;
    appearance: none;
    cursor: pointer;
}

.signup-form select:focus {
    border: 2px solid #4b3aff;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(75,58,255,0.1);
}

.signup-form input[type="submit"] {
    margin-top: 15px;
    background: linear-gradient(135deg, #4b3aff, #48c6ef);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(75,58,255,0.35);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.signup-form input[type="submit"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(75,58,255,0.45);
}

.signup-or {
    margin: 24px 0 12px 0;
    text-align: center;
    position: relative;
}
.signup-or span {
    background: #fff;
    color: #6c63ff;
    padding: 0 16px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}
.signup-or:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 0;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: #fff !important;
    font-weight: bold;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(37,211,102,0.10);
    transition: background 0.2s, transform 0.2s;
    border: none;
    text-decoration: none;
    margin-top: 8px;
}
.whatsapp-btn:hover {
    background: #1ebe57;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .signup-modern {
        max-width: 98vw;
        padding: 18px 4vw 18px 4vw;
    }
}

/* Select moderne pour la filière */
.select-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border-radius: 8px;
    border: 1.5px solid #6c63ff;
    background: #f5f7fa;
    color: #333;
    font-size: 1em;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 2px 8px rgba(108,99,255,0.08);
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}

.select-wrapper select:focus {
    border: 2px solid #48c6ef;
    box-shadow: 0 4px 16px rgba(72,198,239,0.12);
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.3em;
    color: #6c63ff;
}

.select-wrapper select:hover {
    background: #e8f0fe;
    border-color: #48c6ef;
}

/* Blocs d'information modernes pour article */
.info-block {
    display: flex;
    align-items: flex-start;
    background: #f7f9fc;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(108,99,255,0.07);
    padding: 18px 18px 18px 18px;
    margin: 24px 0;
    gap: 18px;
}
.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-top: 4px;
}
.info-block h3 {
    margin: 0 0 6px 0;
    color: #6c63ff;
    font-size: 1.15em;
}
.info-block p {
    margin: 0;
    color: #333;
    font-size: 1em;
}
@media (max-width: 600px) {
    .info-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 8px;
    }
    .info-icon {
        margin-bottom: 8px;
    }
}

/* Cartes colorées pour les séries */
.serie-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.serie-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px #6c63ff33;
    border-color: #6c63ff;
    z-index: 2;
}
.button {
    border-radius: 24px !important;
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 28px;
    box-shadow: 0 2px 8px #6c63ff22;
    border: none;
    transition: background 0.2s, color 0.2s;
}
.button:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 16px #6c63ff33;
    color: #fff !important;
}

/* Styles pour les modules (Démarrage rapide) */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.resource-card, .resource-card article {
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid #4b3aff;
}

.resource-card:hover, .resource-card article:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(75, 58, 255, 0.25);
}

.modules-grid article {
    background: linear-gradient(135deg, #ffffff 0%, #f8f7ff 100%);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-left: 5px solid #4b3aff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modules-grid article::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(75, 58, 255, 0.08) 0%, transparent 70%);
    border-radius: 0 16px 0 100%;
}

.modules-grid article:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(75, 58, 255, 0.3);
    border-left-color: #48c6ef;
}

/* Couleurs de bordure pour chaque article selon sa position */
.modules-grid article:nth-child(1) {
    border-left-color: #4b3aff;
}

.modules-grid article:nth-child(2) {
    border-left-color: #48c6ef;
}

.modules-grid article:nth-child(3) {
    border-left-color: #92f512;
}

.modules-grid article:nth-child(4) {
    border-left-color: #fd7a22;
}

.modules-grid article:nth-child(5) {
    border-left-color: #4b3aff;
}

.modules-grid article:nth-child(6) {
    border-left-color: #48c6ef;
}

.modules-grid article:nth-child(7) {
    border-left-color: #92f512;
}

.modules-grid article:nth-child(8) {
    border-left-color: #fd7a22;
}

.modules-grid h4 {
    margin: 12px 0 8px;
    font-size: 1.1rem;
    color: #2c2c54;
    font-weight: 600;
}

/* Boutons alignés */
.modules-cta { 
    text-align: center; 
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.modules-cta .button {
    display: inline-block;
}

/* Réduction légèrement de la largeur des sections sur la page CTA */
section#cta {
    max-width: 900px; /* plus étroit que le global */
    margin: 20px auto;
}

/* Petite amélioration responsive */
@media (max-width: 768px) {
    .modules-grid { grid-template-columns: 1fr; }
    .image-container img { width: 90%; }
}

/* Cards filières (index) */
.filieres-grid .resource-card { display:block; }
.filieres-grid .resource-card svg { flex: 0 0 40px; }

/* Modern CTA small utilities */
.cta-hero { display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap; }
.cta-hero .cta-icon { width:64px; height:64px; border-radius:12px; background:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(0,0,0,0.08); }

.logo-container {
    position: absolute;
    top: 15px;
    left: 38%;
    z-index: 1000;
}

.logo {
    width: 200px;   /* ajuste si nécessaire */
    height: auto;
}
.cta-formation {
    background: linear-gradient(135deg, #f5f7ff, #eef1ff);
  
    text-align: center;
    


    max-width: 1100px; /* Augmentée : sections centrées et plus larges sur desktop */
    margin: 40px auto 0 auto;
    background: rgba(86, 248, 221, 0.95);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(76, 68, 182, 0.10);
    padding: 32px 24px 24px 24px;
    
}

.cta-formation h2 {
    font-size: 28px;
    color: #2c2c54;
    margin-bottom: 15px;
}

.cta-text {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.cta-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 500px;
    text-align: left;
}

.cta-list li {
    margin: 10px 0;
    font-size: 15px;
}

.cta-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4b3aff, #48c6ef);
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(75,58,255,0.35);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(75,58,255,0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, #25D366, #20BA5F);
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(37,211,102,0.35);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(37,211,102,0.45);
}
.cta-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.cta-stats div {
    background: #fff;
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.cta-stats strong {
    font-size: 24px;
    color: #4b3aff;
    display: block;
}

.cta-stats span {
    font-size: 14px;
    color: #555;
}

.cta-simple {
    background: linear-gradient(135deg, #f5f7ff, #eef1ff);
    text-align: left;
    max-width: 1100px; /* Augmentée : sections centrées et plus larges sur desktop */
    margin: 40px auto 0 auto;
    background: rgba(243, 248, 193, 0.95);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(76, 68, 182, 0.10);
    padding: 32px 24px 24px 24px;
    
}

.cta-contact {
    background: linear-gradient(135deg, #f5f7ff, #eef1ff);
    text-align: center;
    max-width: 1100px; /* Augmentée : sections centrées et plus larges sur desktop */
    margin: 40px auto 0 auto;
    background: rgba(248, 204, 241, 0.95);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(76, 68, 182, 0.10);
    padding: 32px 24px 24px 24px;
    
}
.welcome-animate {
    opacity: 0;
    font-size: 28px;
    color: #2c2c54;
    animation: fadeZoom 1.2s ease forwards;
    text-align: center;
}

@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@media (max-width: 768px) {
    .welcome-animate {
        font-size: 22px;
        text-align: center;
    }
}
.start-guide {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
}

.start-guide h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.start-guide .intro {
  color: #555;
  margin-bottom: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  text-align: left;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background: #4b3aff;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.step p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #4b3aff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.btn-outline {
  background: transparent;
  border: 2px solid #4b3aff;
  color: #4b3aff;
}

.help-box {
  margin-top: 40px;
  padding: 25px;
  background: #f3f6ff;
  border-radius: 12px;
}

.whatsapp {
  background: #25D366;
}

.quote {
  margin-top: 30px;
  font-style: italic;
  color: #666;
}
/* ===== Pop-up animé ===== */
.popup {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999 !important;
    justify-content: center;
    align-items: center;
    backdrop-filter: none;
}

.popup.active {
    display: flex !important;
}

.popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f7ff 50%, #f0e8ff 100%);
    color: #333;
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(75, 58, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

/* Bouton fermer amélioré */
.close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: 300;
    z-index: 10;
}

.close-btn:hover {
    color: #4b3aff;
    transform: rotate(90deg);
}

/* Animation slide */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titres et texte */
.popup h2 {
    color: #4b3aff;
    margin-bottom: 15px;
    font-size: 2rem;
    background: linear-gradient(135deg, #4b3aff, #48c6ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Mini menu sous le titre */
.mini-menu {
    margin-bottom: 30px;
    text-align: center;
}
.mini-menu a {
    display: inline-block;
    margin: 5px 10px;
    padding: 10px 18px;
    background: #4b3aff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.mini-menu a:hover {
    background: #188121;
}

/* ================== HERO EXPOSÉS ================== */
.expo-hero{
  max-width:1100px;
  margin:60px auto 40px;
  padding:60px 30px;
  text-align:center;
  background:linear-gradient(135deg,#4b3aff,#6c63ff);
  color:#fff;
  border-radius:26px;
  box-shadow:0 14px 40px rgba(75,58,255,.35);
}

.expo-hero h1{
  font-size:2.6rem;
  margin-bottom:15px;
  font-weight:700;
}

.expo-hero p{
  max-width:700px;
  margin:0 auto;
  font-size:1.1rem;
  opacity:.95;
}

/* ================== CONTAINER ================== */
.expo-container{
  max-width:1100px;
  margin:0 auto 80px;
  padding:0 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:35px;
}

/* ================== CARTE EXPO ================== */
.expo-card{
  position:relative;
  background:#fff;
  padding:30px 26px 34px;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:transform .3s ease, box-shadow .3s ease;
  overflow:hidden;
}

.expo-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(75,58,255,.08),transparent);
  opacity:0;
  transition:.3s;
}

.expo-card:hover::before{
  opacity:1;
}

.expo-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.expo-card h2{
  font-size:1.3rem;
  margin:18px 0 12px;
  color:#2c2c2c;
}

.expo-card p{
  font-size:.95rem;
  color:#555;
  line-height:1.6;
  margin-bottom:20px;
}

/* ================== BADGES ================== */
.badge{
  display:inline-block;
  padding:6px 14px;
  border-radius:20px;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.5px;
  background:#e0e7ff;
  color:#4b3aff;
}

.premium-badge{
  background:linear-gradient(135deg,#ffb347,#ff7f50);
  color:#fff;
}

/* ================== LIENS / BOUTONS ================== */
.expo-card a{
  display:inline-block;
  padding:12px 22px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:.9rem;
  background:#4b3aff;
  color:#fff;
  transition:transform .2s ease, box-shadow .2s ease, background .2s;
}

.expo-card a:hover{
  background:#372edc;
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(0,0,0,.2);
}

/* ================== CARTE PREMIUM ================== */
.expo-card.premium{
  background:linear-gradient(135deg,#fff,#f6f7ff);
  border:2px solid rgba(255,127,80,.35);
}

.expo-card.premium h2{
  color:#ff7f50;
}

.expo-card.premium a{
  background:linear-gradient(135deg,#ffb347,#ff7f50);
}

.expo-card.premium a:hover{
  background:linear-gradient(135deg,#ff7f50,#ff6333);
}

/* ================== RESPONSIVE ================== */
@media(max-width:768px){
  .expo-hero{
    padding:45px 20px;
  }

  .expo-hero h1{
    font-size:2rem;
  }

  .expo-container{
    gap:25px;
  }
}
/* ===== BOUTON TARIFS ÉLÉGANT ===== */

.tarifs-cta {
    text-align: center;
    margin: 20px 0 40px 0;
}

.tarifs-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 40px;
    background: linear-gradient(135deg, #ff9f43, #feca57);
    color: #2d3436;
    font-size: 1.05em;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(255, 159, 67, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarifs-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 159, 67, 0.6);
}

/* Cards */
.archive-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.subject-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.subject-card img.subject-thumb {
    max-width: 150px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.subject-card h3 {
    margin-bottom: 10px;
    color: #4b3aff;
}

.subject-card p {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.subject-card .btn {
    display: inline-block;
    padding: 10px 18px;
    background: #4b3aff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}




/* ===== MOYENS DE PAIEMENT ===== */
.payment-methods {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
}

.payment-methods h3 {
  color: #4b47b5;
}

.payment-methods p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.payment-logos {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.payment-logos img {
  height: 45px;
  transition: transform 0.3s;
}

.payment-logos img:hover {
  transform: scale(1.1);
}
/* Réduire la largeur de la grille et centrer le contenu */
.pricing-modern, .payment-methods {
  max-width: 900px;  /* largeur réduite */
  margin: 0 auto;    /* centrage horizontal */
  padding-left: 20px;
  padding-right: 20px;
}

/* Ajustement popup */
.popup-content {
  max-width: 380px;  /* réduit la largeur de la popup */
  width: 90%;        /* reste responsive sur mobile */
}


.modules-vertical {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.module-card.large {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.module-header {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.module-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.module-header.tac {
    background: linear-gradient(135deg, #4b3aff, #6f63ff);
}

.module-header.expro {
    background: linear-gradient(135deg, #0aa38f, #19c3ab);
}

.module-content {
    padding: 20px 24px;
}

.module-content h4 {
    margin-top: 18px;
    margin-bottom: 6px;
    color: #2c2c2c;
}

.module-content ul {
    padding-left: 18px;
    margin-top: 6px;
    color: #444;
}

.module-content li {
    margin-bottom: 4px;
}

.sub {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.button.light {
    background: #ffffff;
    color: #333;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
}/* Corrige l’alignement des listes */
.module-content {
    text-align: left;
}

/* Harmonise les listes à puces */
.module-content ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

/* Aligne correctement chaque élément */
.module-content li {
    text-align: left;
    padding-left: 6px;
}




/* SECTION GLOBALE */
.info-access {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #eef1ff, #f9fbff);
}

/* BOÎTE PRINCIPALE */
.info-box {
    background: #ffffff;
    max-width: 900px;
    padding: 40px 42px;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(75, 58, 255, 0.15);
    position: relative;
    overflow: hidden;
}

/* BADGE */
.info-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: linear-gradient(135deg, #4b3aff, #6f63ff);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* TITRE */
.info-box h3 {
    font-size: 1.9rem;
    margin-bottom: 16px;
    color: #1f1f1f;
    line-height: 1.3;
}

.info-box h3 span {
    color: #4b3aff;
}

/* TEXTE PRINCIPAL */
.info-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

/* TEXTE D’ACCROCHE */
.info-box .lead {
    font-size: 1.15rem;
    font-weight: 500;
}

/* ZONE VALEURS */
.info-highlight {
    background: #f4f6ff;
    border-left: 4px solid #4b3aff;
    padding: 16px 18px;
    margin: 22px 0;
    border-radius: 12px;
    font-size: 1rem;
    color: #2c2c2c;
    line-height: 1.6;
}

/* BOUTON CTA */
.info-cta {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4b3aff, #6f63ff);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(75, 58, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(75, 58, 255, 0.45);
}



/* SECTION GLOBALE – compta */
.info-access.accounting {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #fff7f0, #fffdf8);
}

/* BOÎTE PRINCIPALE */
.info-access.accounting .info-box {
    background: #ffffff;
    max-width: 900px;
    padding: 42px 46px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(255, 150, 50, 0.15);
    position: relative;
    overflow: hidden;
}

/* BADGE */
.info-access.accounting .info-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: linear-gradient(135deg, #ff9628, #ffa83f);
    color: #fff;
    padding: 6px 16px;
    font-size: 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* TITRE */
.info-access.accounting h3 {
    font-size: 1.95rem;
    margin-bottom: 16px;
    color: #1f1f1f;
    line-height: 1.3;
}

.info-access.accounting h3 span {
    color: #ff9628;
}

/* TEXTE PRINCIPAL */
.info-access.accounting p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

.info-access.accounting .lead {
    font-size: 1.15rem;
    font-weight: 500;
}

/* LISTE POINTS */
.info-access.accounting .info-points {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
}

.info-access.accounting .info-points li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-weight: 500;
}

.info-access.accounting .info-points li::before {
    content: "✔️";
    position: absolute;
    left: 0;
}

/* ZONE VALEURS */
.info-access.accounting .info-highlight {
    background: #fff4e5;
    border-left: 4px solid #ff9628;
    padding: 16px 20px;
    margin: 22px 0;
    border-radius: 12px;
    font-size: 1rem;
    color: #2c2c2c;
    line-height: 1.6;
}

/* BOUTON CTA */
.info-access.accounting .info-cta {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff9628, #ffa83f);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(255, 150, 50, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-access.accounting .info-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(255, 150, 50, 0.45);
}

/* ===== STYLES MODERNES POUR INFO-CARDS ===== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px auto;
    padding: 0 15px;
}

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f7ff 100%);
    padding: 28px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-left: 5px solid #4b3aff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(75, 58, 255, 0.08) 0%, transparent 70%);
    border-radius: 0 16px 0 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(75, 58, 255, 0.3) !important;
    border-left-color: #48c6ef;
}

.info-card h3 {
    position: relative;
    z-index: 1;
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.info-card ul {
    position: relative;
    z-index: 1;
    list-style: none;
    padding-left: 0 !important;
}

.info-card li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #444;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4b3aff;
    font-weight: bold;
    font-size: 1.1rem;
}

.info-card p {
    position: relative;
    z-index: 1;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Couleurs distinctes pour chaque info-card */
.info-grid .info-card:nth-child(1) {
    border-left-color: #4b3aff;
}

.info-grid .info-card:nth-child(1) h3 {
    color: #4b3aff;
}

.info-grid .info-card:nth-child(1) li::before {
    color: #4b3aff;
}

.info-grid .info-card:nth-child(2) {
    border-left-color: #48c6ef;
}

.info-grid .info-card:nth-child(2) h3 {
    color: #48c6ef;
}

.info-grid .info-card:nth-child(2) li::before {
    color: #48c6ef;
}

.info-grid .info-card:nth-child(3) {
    border-left-color: #ff7f50;
}

.info-grid .info-card:nth-child(3) h3 {
    color: #ff7f50;
}

.info-grid .info-card:nth-child(3) li::before {
    color: #ff7f50;
}

/* Style pour la section dossier-oc */
.dossier-oc {
    background: linear-gradient(135deg, #e0f0ff 0%, #f0e0ff 100%) !important;
    padding: 32px !important;
    border-radius: 16px !important;
    border-left: 5px solid #4b3aff;
    box-shadow: 0 8px 24px rgba(75, 58, 255, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dossier-oc:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(75, 58, 255, 0.25) !important;
}

.dossier-oc h3 {
    color: #4b3aff;
    font-size: 1.3rem;
    margin: 15px 0;
}

.dossier-oc ul {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dossier-oc ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: #333;
}

.dossier-oc ul li::before {
    content: '📌';
    position: absolute;
    left: 0;
}

/* Style de la section service-dossier */
.service-dossier {
    border-left: 5px solid #4b3aff !important;
}

.service-dossier h2 {
    background: linear-gradient(135deg, #4b3aff, #48c6ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tarifs-cta {
    margin-top: 20px;
    text-align: center;
}

.tarifs-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #4b3aff, #48c6ef);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(75, 58, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tarifs-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(75, 58, 255, 0.45);
}

/* =============================== */
/* Numérotation automatique des sujets */
/* =============================== */
.archive-cards {
    counter-reset: sujet;
}

.subject-card {
    position: relative;
    counter-increment: sujet;

}

/* Badge numéroté */
.subject-card::before {
    content: counter(sujet);
    position: absolute;
    top: -12px;
    left: -12px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4b3aff, #6c63ff);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(75,58,255,0.35);
    z-index: 10;
    animation: pulseNumber 2s infinite;
}

/* Animation douce */
@keyframes pulseNumber {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* =============================== */
/* Badge type d'exposé */
/* =============================== */
.expo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ffc107);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(255,152,0,0.35);
}

/* Message incitatif */
.expo-hint {
    font-size: 0.9rem;
    color: #444;
    margin: 10px 0 15px;
    background: #f7f9ff;
    padding: 10px;
    border-left: 4px solid #4b3aff;
    border-radius: 6px;
}

/* Bouton aperçu */
.btn-preview {
    background: #4b3aff;
    margin-bottom: 10px;
}


/* ================= CARTES EXPOSÉS ================= */
.subject-card {
    width: 70%;              /* ← tu peux passer à 60% si tu veux */
    max-width: 850px;        /* limite pour grands écrans */
    margin: 30px auto;       /* centre horizontalement */
    padding: 20px 25px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .subject-card {
        width: 95%;
        padding: 18px;
    }
}

.expo-custom-request {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #444;
    background: #f4f6ff;
    padding: 12px 16px;
    border-left: 4px solid #555297;
    border-radius: 8px;
}

.btn-send-theme {
    display: inline-block;
    margin-top: 12px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.btn-send-theme:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}



/* RESET SIMPLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

/* SECTION PRINCIPALE */
.courses-section {
    background: linear-gradient(135deg, #e0e7ff, #f0f7ff);
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(108, 99, 255, 0.15);
    padding: 40px 20px 60px;
    max-width: 900px;
    margin: 40px auto;
}

/* TITRES */
.main-title {
    color: #6c63ff;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px #e0e7ff;
}

.subtitle {
    color: #48c6ef;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 40px;
}

/* CONTENEUR CARTES */
.series-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

/* CARTES */
.serie-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 32px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.serie-card img {
    margin-bottom: 15px;
}

.serie-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.serie-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

/* EFFET HOVER */
.serie-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* BORDURES COULEURS */
.border-purple { border: 3px solid #6c63ff; }
.border-green { border: 3px solid #00b894; }
.border-lavender { border: 3px solid #a29bfe; }

/* BOUTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* COULEURS BOUTONS */
.btn-purple { background: #6c63ff; }
.btn-green { background: #00b894; }
.btn-lavender { background: #a29bfe; }

.btn-whatsapp {
    background: #25d366;
}

.btn-email {
    background: #6c63ff;
}

/* ICÔNES BOUTONS */
.btn img {
    width: 22px;
}

/* CONTACT */
.contact-actions {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}

.intro-text{
  text-align: center;
  color: #555;
  max-width: 600px;
  margin: 0 auto 35px;
  font-size: 1rem;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.serie-card{
  animation: fadeUp 0.6s ease forwards;
}

.serie-card:nth-child(2){ animation-delay: 0.1s; }
.serie-card:nth-child(3){ animation-delay: 0.2s; }

