/* === CHARTE GRAPHIQUE & STYLES KAZI AFRIK === */
:root {
    --bg-page: #F3F4F6;        /* Fond Blanc-Gris clair */
    --bg-white: #FFFFFF;       /* Blanc pur pour les cartes */
    --text-dark-blue: #0D233A;
    --text-muted: #4B5563;
    --primary-orange: #E86114;
    --orange-hover: #CF520D;
    --border-color: #D1D5DB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-page);
    color: var(--text-dark-blue);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BARRE DE NAVIGATION (HEADER) --- */
header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    width: 100%;
}

.navbar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* LOGO GÉANT : TRÈS GRAND, TRÈS LARGE ET TRÈS LONG */
.site-logo {
    height: 250px !important;
    width: auto !important;
    max-height: none !important;
    max-width: 600px !important;
    display: block;
    object-fit: contain;
}

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

/* BOUTONS D'ACTION */
.btn {
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-orange {
    background-color: var(--primary-orange);
    color: #FFFFFF;
}

.btn-orange:hover {
    background-color: var(--orange-hover);
}

.btn-header {
    padding: 10px 20px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
}

.btn-large {
    padding: 18px 42px;
    font-size: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(232, 97, 20, 0.3);
}

/* MENU À 3 POINTS (DROPDOWN) */
.menu-dropdown {
    position: relative;
    display: inline-block;
}

.menu-btn {
    background: transparent;
    border: none;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark-blue);
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: 0px 8px 20px rgba(13, 35, 58, 0.15);
    border-radius: 8px;
    z-index: 1000;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-dark-blue);
    padding: 14px 18px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-page);
    color: var(--primary-orange);
}

.menu-dropdown.active .dropdown-content,
.menu-dropdown:hover .dropdown-content {
    display: block;
}

/* --- SECTION HERO (ACCUEIL) --- */
.hero-section {
    padding: 60px 20px 50px 20px;
    text-align: center;
}

.welcome-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-dark-blue);
    margin-bottom: 10px;
}

.slogan-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-orange);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark-blue);
    max-width: 800px;
    margin: 0 auto 35px auto;
}

/* --- STATISTIQUES --- */
.stats-section {
    background-color: var(--bg-white);
    padding: 40px 20px;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
}

.stat-card h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-orange);
}

.stat-card p {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark-blue);
}

/* --- SECTIONS TEXTES ET TITRES --- */
.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark-blue);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 35px;
}

.about-section {
    padding: 70px 20px;
    text-align: center;
}

.about-text {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark-blue);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- BOUTONS PAYS --- */
.countries-section {
    background-color: var(--bg-white);
    padding: 60px 20px;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.countries-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.country-btn {
    background: var(--bg-page);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark-blue);
}

/* --- VIDEOS DE PRESENTATION & LECTEUR ROUGE --- */
.videos-section {
    padding: 70px 20px;
}

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

.video-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(13, 35, 58, 0.06);
}

.video-container {
    position: relative;
    width: 100%;
    height: 220px; /* Hauteur fixe et identique pour les deux blocs vidéos */
    border-radius: 8px;
    overflow: hidden;
    background-color: #000000;
    margin-bottom: 12px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre proprement la vidéo pour qu'elle épouse le cadre sans décalage */
    display: block;
    border-radius: 8px;
}

/* BOUTON PLAY ROUGE ATTIRANT */
.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FF0000;
    color: #FFFFFF;
    border: none;
    width: 75px;
    height: 52px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 18px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 10;
}

.custom-play-btn:hover {
    background-color: #CC0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    font-size: 24px;
    margin-left: 3px;
}

.video-container.playing .custom-play-btn {
    display: none;
}

.video-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark-blue);
    text-align: center;
}

/* --- PREUVES WHATSAPP (CAPTURES) --- */
.whatsapp-testimonials {
    background-color: var(--bg-white);
    padding: 70px 20px;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

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

.whatsapp-card {
    background: var(--bg-page);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.whatsapp-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid var(--border-color);
}

.whatsapp-card .caption {
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark-blue);
}

/* --- TÉMOIGNAGES TEXTE --- */
.reviews-section {
    padding: 70px 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(13, 35, 58, 0.05);
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user-info strong {
    font-size: 17px;
    color: var(--text-dark-blue);
}

.user-country {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-orange);
}

.user-comment {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark-blue);
    line-height: 1.5;
}

/* --- CONTACT ET FOOTER --- */
.contact-section {
    background-color: var(--bg-white);
    padding: 50px 20px;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.contact-section p {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark-blue);
    margin-top: 8px;
}

footer {
    background-color: var(--bg-page);
    border-top: 2px solid var(--border-color);
    padding: 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark-blue);
}

/* --- STYLES SPINNER DE CHARGEMENT GÉANT ET POPUPS DE NOTIFICATION --- */
.global-overlay, .global-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13, 35, 58, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.global-overlay.hidden, .global-alert.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.spinner-box {
    background: #FFFFFF;
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

.giant-spinner {
    width: 90px;
    height: 90px;
    border: 10px solid #F3F4F6;
    border-top: 10px solid var(--primary-orange);
    border-right: 10px solid var(--text-dark-blue);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-box p {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark-blue);
}

.alert-content {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    animation: popupAnim 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupAnim {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.alert-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: #FFFFFF;
    margin: 0 auto 20px auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.icon-success {
    background-color: #10B981;
}

.icon-error {
    background-color: #EF4444;
}

.alert-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark-blue);
    margin-bottom: 10px;
}

.alert-content p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.alert-content .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

/* --- ADAPTATION MOBILES ET ECRANS REDUITS --- */
@media (max-width: 768px) {
    .site-logo { 
        height: 180px !important;
        max-width: 400px !important;
    }
    .welcome-title { font-size: 32px; }
    .slogan-text { font-size: 17px; }
    .hero-description { font-size: 16px; }
    .section-title { font-size: 24px; }
    .btn-large { width: 100%; text-align: center; }
}