/* ==========================================================================
   1. STYLES GÉNÉRAUX & RÉINITIALISATION
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0c2461;
    position: relative;
}

/* Petite ligne de décoration sous les grands titres h2 */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e67e22;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Boutons Standards */
.btn {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(230, 126, 34, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(211, 84, 0, 0.3);
}

.ministere-header{
    width:100%;
    display:flex;
    align-items:center;
    background:linear-gradient(90deg,#ffffff,#f2f2f2);
    padding:15px 20px;
    box-sizing:border-box;
}

.ministere-header img{
    width:90px;
    height:auto;
    margin-right:20px;
}

.ministere-title{
    font-size:22px;
    font-weight:bold;
    color:#008000;
    text-transform:uppercase;
    line-height:1.3;
}
/* ==========================================================================
   2. BARRE DE NAVIGATION (HEADER)
   ========================================================================== */
/* --- TOUT A ÉTÉ EFFACÉ ET REMPLACÉ PAR CE BLOC PROPRE --- */
.header-ecole {
    width: 100%;
    padding: 25px 15px;
    background: #0b1329;
    border-bottom: 3px solid #f59e0b;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.menu-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
}

.titre-flottant-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sous-titre {
    font-size: 14px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 6px;
    margin-bottom: -5px;
}

.grand-titre-elima {
    font-size: 56px;
    font-weight: 900;
    color: #f59e0b;
    margin: 0;
    line-height: 1;
    text-shadow: 0 1px 0 #d97706, 0 2px 0 #b45309, 0 3px 0 #78350f, 0 10px 10px rgba(0, 0, 0, 0.6);
    animation: flotter 3s ease-in-out infinite;
}

@keyframes flotter {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.nav-links-ecole {
    display: flex;
    flex-direction: row; 
    gap: 12px; 
    width: 100%;
    justify-content: center; 
    overflow-x: auto; 
    white-space: nowrap; 
    padding: 5px 10px 10px 10px;
    -webkit-overflow-scrolling: touch;
}

.nav-links-ecole::-webkit-scrollbar {
    display: none;
}

.nav-links-ecole a {
    color: #ffffff;
    font-size: 16px; 
    font-weight: 700;
    text-decoration: none;
    padding: 10px 18px; 
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.votre-barre-de-navigation {
    /* Rend la barre flottante au-dessus du contenu */
    position: relative; 
    z-index: 50;
    
    /* Ajoute un contour fin et propre */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Contour blanc semi-transparent */
    border-radius: 12px; /* Arrondit les angles pour un effet moderne */
    
    /* Crée l'effet d'ombre pour faire flotter la barre */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 
                0 8px 10px -6px rgba(0, 0, 0, 0.3);
                
    /* Espacement interne pour que le texte ne colle pas aux bords */
    padding: 15px 25px; 
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0c2461;
    padding: 1rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.header-ecole {
    /* Positionnement et alignement parfaits */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    
    /* Look Moderne : Fond blanc semi-transparent avec effet verre flouté */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px); /* Floute légèrement l'image derrière pour l'élégance */
    -webkit-backdrop-filter: blur(10px);
    
    /* Une fine bordure basse pour délimiter proprement */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    
    /* Ombre discrète et professionnelle (effet flottant subtil) */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Style des liens du menu pour éviter les chevauchements */
.nav-links-ecole {
    display: flex;
    align-items: center;
    gap: 16px; /* Espacement fixe entre chaque mot */
}

.nav-links-ecole a {
    color: #1e3a8a; /* Un bleu foncé professionnel au lieu du blanc sur bleu */
    font-size: 14px; /* Taille réduite adaptée aux téléphones */
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap; /* Empêche strictement un mot de se couper ou d'aller à la ligne */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #e67e22;
}

/* Menu Burger pour Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   3. SECTION ACCUEIL (HERO)
   ========================================================================== */
.hero{
    background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("eleves2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding:20px;
}

.hero-content{
    max-width:800px;
    margin:auto;
}

.hero-content h1{
    color:white;
    font-size:3rem;
    font-weight:800;
    text-align:center;
    line-height:1.2;
    text-shadow:3px 3px 10px rgba(0,0,0,0.8);
    margin-bottom:20px;
}

.hero-content p{
    color:white;
    font-size:1.3rem;
    text-align:center;
    line-height:1.8;
    text-shadow:2px 2px 8px rgba(0,0,0,0.8);
    max-width:700px;
    margin:0 auto 30px auto;
}
/* ==========================================================================
   DÉCORATION FINALE DU PORTRAIT DU DIRECTEUR
   ========================================================================== */
.directeur-img {
    background: #f4f6f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    flex-shrink: 0;
    border: 3px solid #e67e22;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.directeur-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Centre et ajuste le visage parfaitement au milieu du rond */
}

/* ==========================================================================
   STYLE SECTION ACTUALITÉS
   ========================================================================== */
.news-section {
    padding: 6rem 10%;
    background: #f4f6f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e67e22;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.news-badge.unique {
    background: #25d366; /* Vert pour célébrer les examens */
}

.news-content {
    padding: 2rem;
}

.news-content h3 {
    color: #0c2461;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.news-content p {
    color: #666;
    font-size: 1rem;
}

/* Adaptation pour les téléphones */
@media screen and (max-width: 768px) {
    .directeur-block {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   4. SECTION À PROPOS (AVANTAGES)
   ========================================================================== */
.about {
    padding: 6rem 10%;
    background: #f4f6f9;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.about-card {
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #e67e22;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about-card i {
    font-size: 3.5rem;
    color: #e67e22;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: #0c2461;
    font-size: 1.5rem;
}

/* ==========================================================================
   5. SECTION NIVEAUX SCOLAIRES (ACCUEIL)
   ========================================================================== */
.levels {
    padding: 6rem 10%;
    background: #fff;
}

.levels-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.level-box {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    background: #0c2461;
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 18px rgba(12, 36, 97, 0.15);
    transition: transform 0.3s ease;
}

.level-box:hover {
    transform: scale(1.03);
}

.level-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #e67e22;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.level-box p {
    font-size: 1.15rem;
    color: #ffffff;
    opacity: 1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Boutons spécifiques à l'intérieur des boîtes de niveaux */
.btn-level {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-level:hover {
    background: #fff;
    color: #0c2461;
}
.temoignage {
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.temoignage h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.temoignage img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.temoignage p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.temoignage strong {
    color: #2c3e50;
    font-size: 18px;
}

#documentation {
    background: linear-gradient(135deg, #1e88e5, #0047ab);
    padding: 60px 20px;
    margin: 30px 15px;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.doc-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

#documentation h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.line {
    width: 80px;
    height: 5px;
    background: #ffb300;
    margin: 20px auto;
    border-radius: 20px;
}

#documentation p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doc-card {
    background: white;
    color: #222;
    text-decoration: none;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.doc-card:hover {
    transform: translateY(-3px);
}

.doc-card span {
    font-size: 1.1rem;
}

.doc-card button {
    background: #00c853;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.info-box {
    margin-top: 25px;
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 15px;
    font-size: 0.95rem;
}

/* ==========================================================================
   6. SECTION DIAPORAMA (GALERIE PHOTOS)
   ========================================================================== */
.gallery {
    padding: 6rem 10%;
    background: #f4f6f9;
}

.slider-container {
    position: relative;
    max-width: 850px;
    height: 480px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 36, 97, 0.85);
    color: #fff;
    padding: 1.2rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* Section Vidéo */
.video-section {
    padding: 6rem 10%;
    background: #fff;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: #000; /* Fond noir pendant le chargement de la vidéo */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Adaptation pour les téléphones */
@media screen and (max-width: 768px) {
    .video-section {
        padding: 4rem 5%;
    }
}
/* Boutons Flèches du diaporama */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(230, 126, 34, 0.85);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.prev-btn:hover, .next-btn:hover {
    background: #d35400;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* ==========================================================================
   STYLE SECTION FAQ (ACCORDÉON)
   ========================================================================== */
.faq-section {
    padding: 6rem 10%;
    background: #f4f6f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.faq-question {
    width: 100%;
    background: #fff;
    color: #0c2461;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, color 0.3s ease;
}


/* Changement de couleur de la flèche si survolée en blanc */
.faq-question:hover i {
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

/* Sécurité : Si le clic fonctionne, on affiche le texte */
.faq-item.active .faq-answer {
    max-height: 300px !important; /* Force l'ouverture du volet */
}

.faq-answer p {
    padding: 1.5rem;
    color: #555;
    font-size: 1rem;
    border-top: 1px solid #f1f5f9;
}

/* Rotation de la flèche quand la question est ouverte */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

#parrainage {
    padding: 60px 20px;
    text-align: center;
    background: #fff8f8;
}

#parrainage h2 {
    color: #d32f2f;
    margin-bottom: 20px;
}

.parrainage-box {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.parrainage-box ul {
    text-align: left;
    margin: 20px 0;
}

.btn-parrainage {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}

/* ==========================================================================
   7. SECTION CONTACT & FORMULAIRE
   ========================================================================== */
.contact {
    padding: 6rem 10%;
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.contact-info h3 {
    color: #0c2461;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #e67e22;
    margin-right: 15px;
    font-size: 1.3rem;
    width: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    background: #f4f6f9;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form input, .contact-form select, .contact-form textarea {
    margin-bottom: 1.2rem;
    padding: 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #0c2461;
}
/* Décoration du cadre de la carte Google Maps */
.map-container {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #cbd5e1;
}

.map-container iframe {
    display: block;
}

/* ==========================================================================
   8. PAGES ENFANTS (Maternelle, Primaire, Secondaire-Lycée)
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: #fff;
    padding: 9rem 10% 5rem 10%;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header h1 i {
    margin-right: 15px;
    color: #e67e22;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-content {
    padding: 5rem 10%;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
}

.page-content h3 {
    color: #0c2461;
    margin: 2.5rem 0 1.2rem 0;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.page-content h3 i {
    margin-right: 10px;
    color: #e67e22;
    font-size: 1.4rem;
}

.page-content ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
    list-style-type: none; /* Supprime les puces par défaut */
}

.page-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 20px;
    font-size: 1.1rem;
}

/* Ajoute une jolie puce orange devant chaque élément de liste */
.page-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #e67e22;
    font-weight: bold;
}

/* ==========================================================================
   STYLE DE L'ASSISTANT DE DISCUSSION AUTOMATIQUE
   ========================================================================== */
.chat-wrapper {
    position: fixed;
    bottom: 25px;
    left: 25px; /* Placé à gauche pour ne pas cacher le bouton WhatsApp à droite */
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.chat-badge {
    background: #0c2461;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.chat-badge:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Fenêtre principale de discussion caché par défaut */
.chat-window {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 320px;
    height: 420px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease;
}

.chat-wrapper.open .chat-window {
    transform: scale(1);
}

/* Entête du chat */
.chat-header {
    background: #0c2461;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.chat-header h4 { margin: 0; font-size: 1rem; }
.chat-header small { opacity: 0.8; }

.close-chat {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Zone des messages */
.chat-body {
    flex: 1;
    padding: 1rem;
    background: #f4f6f9;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.bot-msg {
    background: white;
    color: #333;
    align-self: flex-start;
    border-left: 4px solid #e67e22;
}

.user-msg {
    background: #e67e22;
    color: white;
    align-self: flex-end;
}

/* Choix des boutons questions */
.chat-footer {
    padding: 0.8rem;
    background: white;
    border-top: 1px solid #eee;
}

.chat-hint {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chat-options button {
    background: #f1f5f9;
    color: #0c2461;
    border: 1px solid #cbd5e1;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: left;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.chat-options button:hover {
    background: #0c2461;
    color: white;
}

body{
    margin:0;
    padding:0;
    font-family:Arial, sans-serif;
    background:#f4f6f9;
}

.container{
    max-width:800px;
    margin:30px auto;
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
    text-align:center;
}

.photo{
    width:200px;
    height:200px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #f4a300;
    margin-bottom:20px;
}

h1{
    color:#0d47a1;
    margin-bottom:10px;
}

h2{
    color:#f4a300;
    margin-bottom:20px;
}

p{
    font-size:18px;
    line-height:1.8;
    color:#444;
    text-align:left;
}

.btn-whatsapp{
    display:inline-block;
    background:#25D366;
    color:white;
    text-decoration:none;
    padding:15px 25px;
    border-radius:10px;
    font-weight:bold;
    margin-top:20px;
    transition:0.3s;
}

.btn-whatsapp:hover{
    transform:scale(1.05);
}

.retour{
    display:inline-block;
    margin-top:20px;
    color:#0d47a1;
    text-decoration:none;
    font-weight:bold;
}

.retour:hover{
    text-decoration:underline;
}

/* ==========================================================================
   STYLE COMPLET DE L'ESPACE PAIEMENT (MVOLA / ORANGE MONEY)
   ========================================================================== */
.payment-section {
    padding: 6rem 10%;
    background: #fff;
    text-align: center;
}

.payment-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.payment-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #0c2461;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
}

/* Style spécifique pour le champ d'affichage automatique du tarif */
#display_price {
    background-color: #f1f5f9 !important; /* Fond gris clair (lecture seule) */
    color: #0c2461 !important; /* Bleu marine de l'école */
    font-weight: bold !important;
    border: 2px solid #cbd5e1 !important;
    font-size: 1.1rem !important;
    cursor: not-allowed;
}

/* Sélection visuelle des opérateurs Mvola / Orange Money */
.payment-methods {
    display: flex;
    gap: 1rem;
}

.method-card {
    flex: 1;
    cursor: pointer;
}

.method-card input {
    display: none; /* Masque le bouton radio natif */
}

.method-name {
    display: block;
    text-align: center;
    padding: 1rem;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    background: #fff;
}

/* Comportement visuel quand le parent sélectionne Mvola */
.method-card input:checked + .method-name.mvola {
    border-color: #00a859;
    background: #e6f6ef;
    color: #00a859;
    box-shadow: 0 4px 10px rgba(0, 168, 89, 0.15);
}

/* Comportement visuel quand le parent sélectionne Orange Money */
.method-card input:checked + .method-name.orange {
    border-color: #ff6600;
    background: #fff0e6;
    color: #ff6600;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.15);
}

/* Bouton de validation du paiement */
.btn-payment {
    width: 100%;
    background: #00a859; /* Vert de sécurité bancaire */
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 168, 89, 0.2);
    transition: all 0.3s ease;
}

.btn-payment:hover {
    background: #008445;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 168, 89, 0.3);
}

/* Adaptation pour l'affichage sur les smartphones */
@media screen and (max-width: 768px) {
    .payment-section {
        padding: 4rem 5%;
    }
    .payment-container {
        padding: 1.5rem;
    }
    .payment-methods {
        flex-direction: column; /* Aligne les deux logos l'un sous l'autre sur mobile */
        gap: 0.5rem;
    }
}
    
.facebook-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1877f2;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.facebook-btn img {
    width: 30px;
    height: 30px;
}

.facebook-btn a:hover {
    opacity: 0.8;
}

.contact-section {
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.contact-section h1 {
    font-size: 45px;
    color: #e9a400;
    font-weight: 400;
    margin-bottom: 15px;
}

.ligne {
    width: 20px;
    height: 5px;
    background: #e9a400;
    margin: auto;
    border-radius: 10px;
}

.contact-section h2 {
    margin-top: 50px;
    font-size: 35px;
    color: #12346b;
}

.contact-box {
    max-width: 400px;
    margin: 40px auto;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-item span {
    font-size: 35px;
}

.contact-item h3 {
    margin: 0;
    color: #12346b;
    font-size: 20px;
}

.contact-item p {
    margin-top: 5px;
    color: #555;
    font-size: 17px;
}

.facebook-btn {
    display: inline-block;
    background: #1877f2;
    color: white;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 20px;
    text-decoration: none;
    font-weight: 600;
}

    
