/* ==========================================================================
    CONFIGURATIONS DES POLICES
   ========================================================================== */
body {
    font-family: 'Brandon Grotesque', 'Montserrat', sans-serif;
}

.font-title,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Abril Display', 'Abril Fatface', serif;
}
/* ==========================================================================
    VARIABLES GLOBALES
   ========================================================================== */
:root {
    --primary-green: #04757D;
    --dark-green: #004643;
    --light-cream: #F9F3E5;
    --gold: #AC7A26;
    --text-dark: #333333;
    --header-height: 70px;
    --nav-height: 50px;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Brandon Grotesque', 'Montserrat', sans-serif;
    color: var(--text-dark);
}
.font-title, h1, h2, h3, h4, h5, h6 {
    font-family: 'Abril Display', 'Abril Fatface', serif;
}
/* Évite que le menu fixe cache le début des sections */
#about,
#values,
#community,
#magazine,
#services,
#impact {
    scroll-margin-top: 120px;
}

/* ==========================================================================
    HEADER
   ========================================================================== */
.header-mag-text {
    font-size: 10px; /* CORRIGÉ : était "1Opx" (lettre O au lieu de zéro) */
}
/* Sur mobile, le logo passe en premier grâce à order-first */
@media (max-width: 767px) {
    .header-logo {
        height: 35px;
    }
}
/* ==========================================================================
    NAVIGATION
   ========================================================================== */
#main-nav {
    background: var(--primary-green) !important;
}
#main-nav .nav-link {
    color: white;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
#main-nav .nav-link:hover,
#main-nav .nav-link.active {
    opacity: 1 !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================================================
    LANGUES
   ========================================================================== */
.select-language {
    position: relative;
    display: inline-block;
}


.current-language {
    color: white;
    font-weight: bold;
    cursor: pointer;
}


.style-arrow {
    color: white;
    font-size: 12px;
}


.language-options {
    display: none;
    position: absolute;
    top: 25px;
    right: 0;

    background: white;
    border-radius: 6px;
    overflow: hidden;
    min-width: 60px;
}


/* ouverture au survol */
.select-language:hover .language-options {
    display: block;
}


.language-options button {
    width: 100%;
    border: none;
    background: white;

    padding: 8px 12px;

    color: #04757D;
    font-weight: bold;

    cursor: pointer;
}


.language-options button:hover {
    background-color: #04757D;
    color: white;
}

/* Flèche Font Awesome */
.style-arrow {
    color: white;
    font-size: 12px;
    pointer-events: none;
}

.select-language select:focus {
    color: white;
    border-radius: 5px;
    outline: none;
}

/* Options du menu */
.select-language select option {
    background: white;
    color:#04757D;
}

/* ==========================================================================
    COULEURS ET BOUTONS BOOTSTRAP (CUSTOMS)
   ========================================================================== */
.bg-green-custom {
    background-color: var(--primary-green) !important;
}
.bg-cream-custom {
    background-color: var(--light-cream) !important;
}
.text-gold-custom {
    color: var(--gold) !important;
}
.color-title {
    color: var(--primary-green) !important;
}
/* Boutons verts */
.btn-green-custom {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    transition: all 0.3s ease;
}
.btn-green-custom:hover {
    background-color: var(--dark-green) !important;
    box-shadow: 0 4px 10px rgba(0, 95, 91, 0.2);
}
/* Bouton Login (doré) */
.btn-login-custom {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #fff !important;
}
.btn-login-custom:hover {
    background-color: #9a6b1e !important;
}
/* Bouton action doré (section Impact) */
.btn-gold-action {
    background-color: var(--gold);
    color: #ffffff;
    letter-spacing: 1px;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
}
.btn-gold-action:hover {
    background-color: var(--dark-green);
    color: #ffffff;
}
/* Bouton contour vert */
.btn-outline-green {
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    background: #ffffff;
    transition: all 0.3s;
}
.btn-outline-green:hover {
    background: transparent;
    border: 1px solid var(--primary-green);
}
/* Bouton contour doré */
.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    transition: all 0.3s;
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #ffffff;
}
/* Bouton Support */
.btn-support-custom {
    background-color: #e0f2f1 !important;
    color: var(--primary-green) !important;
    border: 1px solid var(--primary-green) !important;
    font-size: 14px;
}

/* nav */
.nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.nav-language {
    position: absolute;
    left: 20px;
}

.nav-center {
    margin: 0 auto;
}
/* ==========================================================================
    HERO / ABOUT
   ========================================================================== */
.hero-section {
    background-image: url("../images/fond_afrique.2d3a2c8df2f1.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    min-height: calc(
        100vh - var(--header-height) - var(--nav-height)
    );
    display: flex;
    align-items: center;

    padding: 0;

    position: relative;
}

.hero-title-wrapper {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.hero-lionne {
    width: 80px;
    flex-shrink: 0;
    margin-top: 10px;
}

.hero-title {
    font-family: 'Abril Display', serif;
    font-size: clamp(2rem, 5vw, 5.5rem);
    line-height: 1.05;
    color: #1d2430;
    margin: 10px 0 0 0;
}

.hero-content {
    margin-top: 2rem;
}

.about-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
}

.max-hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.max-hero-img {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}


@media (max-width: 768px) {
    .hero-title-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-lionne {
        width: 60px;
        margin-top: 0;
    }
    /* Évite que le menu fixe cache le début des sections */
    #about,
    #values,
    #community,
    #magazine,
    #services,
    #impact {
        scroll-margin-top: 380px;
    }

    .mobile-lang {
        margin-left: auto;
    }
}
/* Image femmes hero — collée en bas */
.about-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.about-image img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}
.max-hero-img {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}
/* ==========================================================================
    TITRES DE SECTION
   ========================================================================== */
.section-title-centered-gold {
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    position: relative;
    padding-bottom: 18px;
    display: inline-block;
}
.section-title-centered-gold::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 87.7%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}
/* Titre doré souligné (section Services) */
.section-title-gold {
    color: var(--gold);
    text-decoration: underline;
}
/* ==========================================================================
    ICÔNES DE VALEURS
   ========================================================================== */
.value-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
}

@media (max-width: 576px) {
    .value-icon {
        width: 50px;
        height: 50px;
    }
}
/* ==========================================================================
    SECTION COMMUNAUTÉ
   ========================================================================== */
.custom-illustration {
    max-height: 280px;
    object-fit: contain;
}
/* ==========================================================================
    SECTION MAGAZINE
   ========================================================================== */
.mag-link-card {
    text-decoration: none;
    display: block;
}
.mag-hover-effect {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}
.mag-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35) !important;
}
.title_lioness, .title_mag {
    font-family: 'Brandon Grotesque', 'Montserrat', sans-serif;
}
.title_lioness {
    font-weight: 700;
}
.title_mag {
    font-weight: 400;
}
/* ==========================================================================
    SECTION SERVICES
   ========================================================================== */
.service-card {
    border: 1px solid #F9F3E5 !important;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}
.service-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
}
@media (max-width: 576px) {
    .service-icon {
        width: 45px;
        height: 45px;
    }
}
/* ==========================================================================
    SECTION IMPACT / PERSONNALITÉS
   ========================================================================== */
.impact-banner img {
    width: 100%;
    height: auto;
    display: block;
}
.text-dark-banner {
    background: linear-gradient(180deg, #fbf7f0 0%, #F9F3E5 100%);
}
/* ==========================================================================
    FOOTER
   ========================================================================== */
footer p {
    line-height: 1.6;
}
.footer-link {
    color: #555555 !important;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--primary-green) !important;
    text-decoration: none !important;
}
footer .btn-outline-gold {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    background-color: transparent !important;
}
footer .btn-outline-gold:hover {
    background-color: var(--gold) !important;
    color: white !important;
}
/* ==========================================================================
    ICÔNES RÉSEAUX SOCIAUX
   ========================================================================== */
.footer-social-icons .social-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background-color: var(--primary-green) !important;
    border-radius: 20% !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}
.footer-social-icons .social-icon-box i {
    color: #ffffff !important;
    font-size: 15px !important;
}
.footer-social-icons .social-icon-box:hover {
    background-color: var(--gold) !important;
    transform: translateY(-3px) !important;
}
.social-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #d4af37; /* couleur or */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all .3s ease;
}

.social-icon-box:hover {
    background-color: #b8941f;
    color: #fff;
    transform: translateY(-3px);
}

.social-icon-box i {
    font-size: 18px;
}
.whatsapp-number {
    font-size: 0.875rem; /* même taille que .small Bootstrap */
    color: #6c757d;      /* même gris que text-muted */
    line-height: 1.6;
}
.footer-whatsapp {
    width: 36px !important;
    height: 36px !important;
    background-color: var(--primary-green) !important;
    border-radius: 20% !important;
}

.footer-whatsapp i {
    color: white !important;
    font-size: 15px !important;
}
/* ==========================================================================
    UTILITAIRES
   ========================================================================== */
.max-w-700 { max-width: 700px; }
.max-w-900 { max-width: 900px; }
.max-w-1200 { max-width: 1200px; }
.small-text-p { font-size: 14px; }
.small-legal-text { font-size: 12px !important; }

/* Responsive général — réduction de padding sur mobile */
@media (min-width: 768px) and (max-width: 1024px) {

    #main-nav ul.nav li.nav-item a.nav-link {
        font-size: 11px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

}
@media (max-width: 1200px) {
    .btn {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 14px;
        white-space: nowrap;
    }
    .btn-sm {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 14px;
        white-space: nowrap;
    }
    .btn-support-custom {
        font-size: 10px;
    }
    .about-image {
        position: relative;
        width: 100%;
        text-align: center;
        order: 3;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .about-image img {
        width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        margin: 0;
        padding: 0;
    }

    .max-hero-img {
        max-width: 320px;
        width: 100%;
    }

    .hero-section {
        min-height: auto;
        padding: 1rem 0 0 0;
        margin: 0;
    }

    .hero-content {
        margin: 0;
        padding: 0;
    }
    .size-txt li a {
        font-size: small;
    }
}

@media (max-width: 576px) {
    .section-padding {
        scroll-margin-top: 130px;
    }
    .btn {
        font-size: 14px;
    }
}

@media (max-width: 768px) {

    .about-image {
        position: relative;
        width: 100%;
        text-align: center;
        order: 3;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .about-image img {
        width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        margin: 0;
        padding: 0;
    }

    .max-hero-img {
        max-width: 320px;
        width: 100%;
    }

    .hero-section {
        min-height: auto;
        padding: 1rem 0 0 0;
        margin: 0;
    }

    .hero-content {
        margin: 0;
        padding: 0;
    }

    #values,
    #community,
    #magazine,
    #services {
        text-align: center;
    }

    .service-icon {
        display: block;
        margin: 0 auto 1rem;
    }

    .service-card {
        max-width: 400px;
        margin: auto;
    }

    .hero-content {
        flex-direction: column;
    }

    .value-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    #community .btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    #magazine h2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    #magazine .col {
        margin-bottom: 25px;
    }

    .service-icon {
        width: 110px;
        height: 110px;
    }

}

/* ===== TERMS / LEGAL PAGES ===== */

.terms-page {
    background: var(--bg-sand);
    min-height: 100vh;
    padding-top: 20px;
}

.terms-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.terms-title {
    font-family: var(--font-titles);
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 10px;
}

.gold-line {
    width: 70px;
    height: 3px;
    background: var(--accent-gold);
    margin: 16px auto 30px;
    border-radius: 2px;
}

.terms-intro {
    font-family: var(--font-body);
    color: var(--text-muted, #777);
    font-size: 15px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 20px;
}

.terms-content h2 {
    font-family: var(--font-menus);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-top: 30px;
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 4px solid var(--accent-gold);
}

.terms-content h3 {
    font-family: var(--font-menus);
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1d;
    margin-top: 24px;
    margin-bottom: 8px;
}

.terms-content p,
.terms-content li {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.terms-content strong {
    color: #1d1d1d;
}

.terms-content ul {
    padding-left: 25px;
    margin-bottom: 16px;
}

.terms-content li {
    margin-bottom: 8px;
}

.terms-content a {
    color: var(--primary-teal);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.terms-content a:hover {
    color: var(--accent-gold);
}

.contact-mail {
    font-weight: 700;
    color: var(--accent-gold) !important;
}

.terms-card h1 {
    font-size: 28px;
}

.terms-card h2 {
    font-size: 20px;
    margin-top: 2rem;
    color: #04757D;
    font-family: 'Brandon Grotesque', 'Montserrat', sans-serif;
}
.terms-card h3 {
    font-size: 15px;
    font-family: 'Brandon Grotesque', 'Montserrat', sans-serif;
    font-weight: 700;
}

@media (max-width: 768px) {
    .terms-card {
        padding: 28px;
        border-radius: 18px;
    }

    .terms-title {
        font-size: 20px;
    }

    .terms-content h2 {
        font-size: 18px;
    }
}

