/* ============================================================
   FICHIER : assets/css/style.css
   DESCRIPTION : Styles globaux — Charte Sourire - Espoir
   ============================================================ */

/* ============================================================
   CHARTE GRAPHIQUE (basée sur le logo)
   ============================================================ */
:root {
    /* Couleurs principales du logo */
    --teal: #1B8089;               /* Bleu-vert pétrole (cercle + texte) */
    --teal-clair: #E0F2F4;         /* Teal très clair (fonds) */
    --teal-fonce: #146068;         /* Teal foncé (hover) */
    --corail: #E63946;             /* Rouge corail (cœur + main) */
    --corail-clair: #FDE8EA;       /* Corail très clair (fonds) */
    --corail-fonce: #C1121F;       /* Corail foncé (hover) */

    /* Couleurs neutres */
    --gris-texte: #1A1A1A;
    --gris-clair: #F8F9FA;
    --gris-moyen: #6C757D;
    --blanc: #FFFFFF;

    /* Alias pour compatibilité (ancien code) */
    --vert: #1B8089;
    --vert-clair: #E0F2F4;
    --vert-fonce: #146068;
    --jaune: #E63946;
    --jaune-clair: #FDE8EA;
    --jaune-fonce: #C1121F;
    --bleu-fonce: #1B8089;
    --bleu-clair: #E0F2F4;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--gris-texte);
    background-color: var(--blanc);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ============================================================
   UTILITAIRES DE COULEUR
   ============================================================ */
.text-vert,
.text-teal { color: var(--teal); }

.text-bleu { color: var(--teal); }

.text-jaune,
.text-corail { color: var(--corail); }

.bg-vert-clair,
.bg-teal-clair { background-color: var(--teal-clair); }

.bg-jaune-clair,
.bg-corail-clair { background-color: var(--corail-clair); }

.bg-bleu-fonce,
.bg-teal { background-color: var(--teal); }

/* ============================================================
   TITRES DE SECTION
   ============================================================ */
.section-title {
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--corail);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.section-title-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-primary-custom {
    background-color: var(--teal);
    color: var(--blanc);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-primary-custom:hover {
    background-color: var(--teal-fonce);
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 128, 137, 0.35);
}

.btn-secondary-custom {
    background-color: var(--corail);
    color: var(--blanc);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-secondary-custom:hover {
    background-color: var(--corail-fonce);
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.35);
}

.btn-outline-primary-custom {
    background-color: transparent;
    color: var(--teal);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--teal);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-primary-custom:hover {
    background-color: var(--teal);
    color: var(--blanc);
    transform: translateY(-2px);
}

.btn-outline-light-custom {
    background-color: transparent;
    color: var(--blanc);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-light-custom:hover {
    background-color: var(--blanc);
    color: var(--teal);
    transform: translateY(-2px);
}

/* ============================================================
   BOUTON DONATEUR DANS LE HEADER
   ============================================================ */
.btn-donate {
    background: linear-gradient(135deg, var(--corail) 0%, var(--corail-fonce) 100%);
    color: var(--blanc);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}
.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
    color: var(--blanc);
    background: linear-gradient(135deg, var(--corail-fonce) 0%, #9A0F1A 100%);
}
.btn-donate i {
    font-size: 0.9rem;
    color: var(--blanc);
    transition: transform 0.3s ease;
}
.btn-donate:hover i {
    transform: scale(1.2);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.navbar-custom {
    background-color: var(--blanc);
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #f0f0f0;
}

.navbar-custom .navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-logo {
    height: 65px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand:hover .navbar-logo {
    transform: scale(1.03);
}

.navbar-custom .nav-link {
    color: var(--teal) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}
.navbar-custom .nav-link:hover {
    color: var(--corail) !important;
}
.navbar-custom .nav-link.active {
    color: var(--corail) !important;
}

.navbar-toggler {
    border-color: rgba(27, 128, 137, 0.3);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(27,128,137,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, rgba(27, 128, 137, 0.88) 0%, rgba(20, 96, 104, 0.85) 100%),
                url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=80') center/cover no-repeat;
    padding: 120px 0 100px;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--blanc);
}

.hero h1 .highlight {
    color: var(--corail);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    color: var(--blanc);
}

.hero .btn-group-custom {
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   COMPTEURS
   ============================================================ */
.counter-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
}

.counter-item p {
    font-weight: 600;
    color: var(--teal);
    font-size: 1rem;
}

/* ============================================================
   CARTES ACTIONS
   ============================================================ */
.card-action {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    background: var(--blanc);
    position: relative;
}

.card-action:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.card-action .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
}

.card-action:hover .card-img-top {
    transform: scale(1.05);
}

.card-action .card-body {
    padding: 1.5rem;
}

.card-action .card-title {
    color: var(--teal);
    font-weight: 700;
    font-size: 1.15rem;
}

.card-action .card-text {
    font-size: 0.95rem;
    color: #555;
}

.card-action .icon-circle {
    width: 50px;
    height: 50px;
    background: var(--teal-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card-action .btn-link-custom {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.card-action .btn-link-custom:hover {
    color: var(--corail);
}
.card-action .btn-link-custom i {
    transition: transform 0.3s ease;
}
.card-action .btn-link-custom:hover i {
    transform: translateX(6px);
}

/* ============================================================
   BADGES DE STATUT PROJET
   ============================================================ */
.badge-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.badge-status.prioritaire {
    background: var(--corail);
    color: var(--blanc);
}
.badge-status.en-cours {
    background: var(--teal);
    color: var(--blanc);
}
.badge-status.realise {
    background: var(--teal-fonce);
    color: var(--blanc);
}

/* ============================================================
   BADGE CATÉGORIE ACTUALITÉ
   ============================================================ */
.badge-category-news {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

/* ============================================================
   META PROJET
   ============================================================ */
.project-meta {
    font-size: 0.85rem;
    color: #666;
}
.project-meta i {
    color: var(--teal);
    width: 16px;
}

/* ============================================================
   SECTION APPEL PARTENAIRES (CTA)
   ============================================================ */
.section-cta {
    background: linear-gradient(135deg, var(--teal-clair) 0%, #F0FAFB 100%);
    padding: 80px 0;
}

.section-cta h2 {
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.section-cta p {
    font-size: 1.15rem;
    color: #333;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--teal);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--blanc);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--corail-clair);
}

.footer .footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: var(--blanc);
    padding: 8px;
    border-radius: 12px;
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--blanc);
    margin-right: 10px;
    transition: all 0.3s ease;
}
.footer .social-icons a:hover {
    background: var(--corail);
    color: var(--blanc);
    transform: translateY(-3px);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   PAGE DE CONNEXION ADMIN
   ============================================================ */
.login-page {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-fonce) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: var(--blanc);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo-img {
    height: 100px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: var(--teal-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--teal);
    font-size: 2rem;
}

.login-logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-logo p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.login-card .form-label {
    font-weight: 600;
    color: var(--teal);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.login-card .form-control-custom {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--blanc);
    width: 100%;
}

.login-card .form-control-custom:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(27, 128, 137, 0.10);
    outline: none;
}

.login-card .form-control-custom::placeholder {
    color: #aaa;
}

.btn-login {
    background: var(--teal);
    color: var(--blanc);
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-login:hover {
    background: var(--teal-fonce);
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 128, 137, 0.35);
}

.btn-login i {
    margin-right: 8px;
}

.login-card .alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    border: none;
}

.login-card .alert-danger {
    background: var(--corail-clair);
    color: var(--corail-fonce);
}

.login-card .alert-success {
    background: var(--teal-clair);
    color: var(--teal);
}

.back-to-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-top: 1.5rem;
}

.back-to-site:hover {
    color: var(--blanc);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
        margin: 0 auto;
    }
    .hero .btn-group-custom {
        justify-content: center;
    }
    .section-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    .counter-item h3 {
        font-size: 2.2rem;
    }
    .section-cta {
        padding: 50px 0;
    }
    .navbar-logo {
        height: 55px;
        max-width: 180px;
    }
    .footer .footer-logo-img {
        height: 60px;
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    .navbar-logo {
        height: 50px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem 1rem;
    }
    .login-logo-img {
        height: 80px;
        max-width: 200px;
    }
    .login-logo h1 {
        font-size: 1.2rem;
    }
    .login-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}
/* ============================================================
   PAGE HEADER (bandeau des pages intérieures)
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--bleu-fonce) 0%, #002244 100%);
    padding: 60px 0 50px;
    color: var(--blanc);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--blanc);
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: var(--jaune);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: var(--blanc);
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   CARTES ÉQUIPE
   ============================================================ */
.card-team {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    background: var(--blanc);
    text-align: center;
}

.card-team:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.card-team .team-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1.5rem auto 0;
    border: 4px solid var(--vert-clair);
}

.card-team .card-body {
    padding: 1.5rem;
}

.card-team .card-title {
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.card-team .card-subtitle {
    color: var(--vert);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-team .card-text {
    color: #666;
    font-size: 0.9rem;
}

/* ============================================================
   VALEURS / OBJECTIFS
   ============================================================ */
.valeur-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.valeur-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.valeur-item .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--vert-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--vert);
    font-size: 2rem;
}

.valeur-item h5 {
    color: var(--bleu-fonce);
    font-weight: 700;
}

.valeur-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
   APPROCHE
   ============================================================ */
.approche-card {
    padding: 2rem 1.5rem;
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-top: 4px solid var(--jaune);
    transition: all 0.3s ease;
}

.approche-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}

.approche-card .icon {
    font-size: 2.2rem;
    color: var(--vert);
    margin-bottom: 1rem;
}

.approche-card h5 {
    color: var(--bleu-fonce);
    font-weight: 700;
}

.approche-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-item {
    padding-left: 30px;
    border-left: 3px solid var(--vert);
    margin-bottom: 2rem;
}

.timeline-item .year {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--vert);
}

.timeline-item p {
    color: #555;
    line-height: 1.8;
}

/* ============================================================
   RESPONSIVE PAGE HEADER
   ============================================================ */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .timeline-item {
        padding-left: 15px;
    }
    .card-team .team-img {
        width: 100px;
        height: 100px;
    }
}
/* ============================================================
   CARTES ACTIONS DÉTAILLÉES
   ============================================================ */
.action-detail-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    background: var(--blanc);
    height: 100%;
}

.action-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
}

.action-detail-card .card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.action-detail-card .card-body {
    padding: 2rem;
}

.action-detail-card .icon-large {
    width: 60px;
    height: 60px;
    background: var(--vert-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vert);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.action-detail-card .card-title {
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 1.3rem;
}

.action-detail-card .card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

.action-detail-card .badge-action {
    background-color: var(--vert-clair);
    color: var(--vert);
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.action-detail-card .list-activities {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.action-detail-card .list-activities li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.9rem;
}

.action-detail-card .list-activities li:last-child {
    border-bottom: none;
}

.action-detail-card .list-activities li i {
    color: var(--vert);
    margin-right: 10px;
    width: 18px;
}

/* ============================================================
   STATS
   ============================================================ */
.stat-box {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.stat-box .number {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--vert);
}

.stat-box .label {
    color: var(--bleu-fonce);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .action-detail-card .card-img-top {
        height: 180px;
    }
    .stat-box .number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .action-detail-card .card-body {
        padding: 1.5rem;
    }
}
/* ============================================================
   FILTRE PROJETS
   ============================================================ */
.filter-buttons .btn-filter {
    display: inline-block;
    background: transparent;
    color: var(--bleu-fonce);
    border: 2px solid #e0e0e0;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin: 0 4px 8px;
    text-decoration: none;
    cursor: pointer;
}
.filter-buttons .btn-filter:hover {
    border-color: var(--vert);
    color: var(--vert);
}
.filter-buttons .btn-filter.active {
    background: var(--vert);
    border-color: var(--vert);
    color: var(--blanc);
}

/* ============================================================
   CARTE PROJET
   ============================================================ */
.project-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    background: var(--blanc);
    height: 100%;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.project-card .card-img-top {
    height: 220px;
    object-fit: cover;
    position: relative;
    width: 100%;
    background: #f0f0f0;
}
.project-card .card-img-top .badge-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.project-card .card-body {
    padding: 1.5rem;
}
.project-card .card-title {
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 1.15rem;
}
.project-card .card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}
.project-card .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #666;
}
.project-card .project-meta i {
    color: var(--vert);
    width: 18px;
}
.project-card .progress {
    height: 8px;
    border-radius: 50px;
    background: #e9ecef;
}
.project-card .progress-bar {
    background: var(--vert);
    border-radius: 50px;
}
.project-card .btn-link-custom {
    color: var(--vert);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.project-card .btn-link-custom:hover {
    color: var(--vert-fonce);
}
.project-card .btn-link-custom i {
    transition: transform 0.3s ease;
}
.project-card .btn-link-custom:hover i {
    transform: translateX(6px);
}

/* ============================================================
   PROJET PRIORITAIRE EN VEDETTE
   ============================================================ */
.featured-project {
    background: linear-gradient(135deg, var(--vert-clair) 0%, #d4edda 100%);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.featured-project .badge-prioritaire {
    background: var(--jaune);
    color: var(--bleu-fonce);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.featured-project h3 {
    color: var(--bleu-fonce);
    font-weight: 800;
}
.featured-project p {
    color: #444;
    line-height: 1.8;
}

/* ============================================================
   STATS
   ============================================================ */
.stat-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}
.stat-box .number {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--vert);
}
.stat-box .label {
    color: var(--bleu-fonce);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .featured-project {
        padding: 1.5rem;
    }
    .filter-buttons .btn-filter {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    .stat-box .number {
        font-size: 1.6rem;
    }
    .project-card .card-img-top {
        height: 180px;
    }
}
/* ============================================================
   PAGE PROJET DÉTAIL
   ============================================================ */

/* Image principale */
.project-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.10);
}
.project-hero-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

/* Cartes info */
.info-card {
    background: var(--blanc);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-left: 4px solid var(--vert);
    transition: all 0.3s ease;
}
.info-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}
.info-card .icon {
    color: var(--vert);
    font-size: 1.5rem;
    margin-right: 12px;
    width: 30px;
    flex-shrink: 0;
}
.info-card .label {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-card .value {
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 1.05rem;
}

/* Contenu projet */
.project-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}
.project-content h3,
.project-content h4 {
    color: var(--bleu-fonce);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.project-content p {
    margin-bottom: 1.2rem;
}
.project-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}
.project-content ul li::marker {
    color: var(--vert);
}
.project-content blockquote {
    border-left: 4px solid var(--vert);
    background: var(--vert-clair);
    padding: 1.5rem;
    border-radius: 12px;
    font-style: italic;
    color: #555;
    margin: 1.5rem 0;
}
.project-content img {
    max-width: 100%;
    border-radius: 16px;
    margin: 1.5rem 0;
}

/* Besoins */
.needs-list {
    margin-top: 1rem;
}
.need-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--blanc);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.need-item:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}
.need-item .icon {
    width: 40px;
    height: 40px;
    background: var(--vert-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vert);
    margin-right: 16px;
    flex-shrink: 0;
}
.need-item .need-text {
    font-weight: 500;
    color: var(--gris-texte);
}

/* Sidebar sticky */
.sticky-sidebar {
    position: sticky;
    top: 90px;
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.gallery-grid .gallery-item-large {
    grid-column: span 2;
    height: 316px;
}

/* Responsive */
@media (max-width: 992px) {
    .sticky-sidebar {
        position: static;
        margin-top: 2rem;
    }
}
@media (max-width: 768px) {
    .project-hero-image img {
        max-height: 280px;
    }
    .info-card {
        padding: 1.2rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid .gallery-item-large {
        grid-column: span 2;
        height: 200px;
    }
    .gallery-grid img {
        height: 120px;
    }
}
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid .gallery-item-large {
        grid-column: span 2;
        height: 160px;
    }
    .gallery-grid img {
        height: 100px;
    }
}
/* ============================================================
   PAGE ACTUALITÉS
   ============================================================ */

/* Carte actualité */
.news-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    background: var(--blanc);
    height: 100%;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.news-card .card-img-top {
    height: 220px;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}
.news-card .card-img-top img {
    transition: transform 0.4s ease;
}
.news-card:hover .card-img-top img {
    transform: scale(1.05);
}
.news-card .card-img-top .badge-category {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.news-card .card-body {
    padding: 1.5rem;
}
.news-card .card-title {
    color: var(--bleu-fonce);
    font-weight: 700;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}
.news-card:hover .card-title {
    color: var(--vert);
}
.news-card .card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}
.news-card .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #888;
}
.news-card .news-meta i {
    color: var(--vert);
    width: 18px;
}
.news-card .btn-link-custom {
    color: var(--vert);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.news-card .btn-link-custom:hover {
    color: var(--vert-fonce);
}
.news-card .btn-link-custom i {
    transition: transform 0.3s ease;
}
.news-card .btn-link-custom:hover i {
    transform: translateX(6px);
}

/* Article en vedette */
.featured-news {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    background: var(--blanc);
    transition: all 0.4s ease;
}
.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.featured-news img {
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    width: 100%;
}
.featured-news .featured-content {
    padding: 2rem;
}
.featured-news .badge-category {
    color: var(--blanc);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.featured-news h3 {
    color: var(--bleu-fonce);
    font-weight: 700;
}
.featured-news p {
    color: #555;
    line-height: 1.8;
}
.featured-news .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #888;
}
.featured-news .news-meta i {
    color: var(--vert);
    width: 18px;
}

/* Catégories */
.category-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    background: var(--vert-clair);
    color: var(--vert);
    margin: 0 4px 8px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}
.category-tag:hover {
    background: var(--vert);
    color: var(--blanc);
    transform: translateY(-2px);
}
.category-tag.active {
    background: var(--vert);
    color: var(--blanc);
}

/* Sidebar */
.sidebar-card {
    background: var(--blanc);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}
.sidebar-card h5 {
    color: var(--bleu-fonce);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--jaune);
}
.sidebar-card .list-news-side {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-card .list-news-side li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-card .list-news-side li:last-child {
    border-bottom: none;
}
.sidebar-card .list-news-side a {
    color: var(--gris-texte);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    font-size: 0.95rem;
}
.sidebar-card .list-news-side a:hover {
    color: var(--vert);
}
.sidebar-card .list-news-side .date-small {
    font-size: 0.75rem;
    color: #999;
    display: block;
}

/* Pagination */
.pagination-custom .page-link {
    color: var(--bleu-fonce);
    border: 1px solid #e0e0e0;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.pagination-custom .page-link:hover {
    background: var(--vert);
    color: var(--blanc);
    border-color: var(--vert);
}
.pagination-custom .page-item.active .page-link {
    background: var(--vert);
    color: var(--blanc);
    border-color: var(--vert);
}
.pagination-custom .page-item.disabled .page-link {
    color: #ccc;
    border-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-news img {
        min-height: 200px;
    }
    .featured-news .featured-content {
        padding: 1.5rem;
    }
}
@media (max-width: 576px) {
    .news-card .card-img-top {
        height: 180px;
    }
    .featured-news img {
        min-height: 150px;
    }
}
/* ============================================================
   PAGE ARTICLE DÉTAIL
   ============================================================ */

/* Barre de progression de lecture */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 9999;
    pointer-events: none;
}
.reading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--vert), var(--jaune));
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
}

/* Meta article */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}
.article-meta i {
    color: var(--jaune);
    margin-right: 8px;
}
.article-meta .badge-category {
    color: var(--blanc);
    padding: 4px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Contenu article enrichi */
.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--bleu-fonce);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.article-content h1 { font-size: 1.9rem; }
.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.35rem; }
.article-content h4 { font-size: 1.15rem; }
.article-content p {
    margin-bottom: 1.2rem;
}
.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}
.article-content ul li,
.article-content ol li {
    margin-bottom: 0.5rem;
}
.article-content ul li::marker {
    color: var(--vert);
}
.article-content ol li::marker {
    color: var(--vert);
    font-weight: 700;
}
.article-content a {
    color: var(--vert);
    text-decoration: underline;
    transition: color 0.3s ease;
}
.article-content a:hover {
    color: var(--vert-fonce);
}
.article-content strong {
    color: var(--bleu-fonce);
}
.article-content blockquote {
    border-left: 4px solid var(--vert);
    font-style: italic;
    color: #555;
    background: var(--vert-clair);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-size: 1.05rem;
}
.article-content img {
    border-radius: 16px;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}
.article-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #C1121F;
}
.article-content pre {
    background: #1a1a1a;
    color: #f4f4f4;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Galerie article */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.article-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.article-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.article-gallery .gallery-item-large {
    grid-column: span 2;
    height: 372px;
}

/* Boutons de partage */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--blanc);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.share-btn:hover {
    transform: translateY(-3px);
    color: var(--blanc);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.email { background: #6c757d; }
.share-btn i { font-size: 1.1rem; }

/* Auteur */
.author-card {
    background: var(--vert-clair);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.author-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--vert);
    flex-shrink: 0;
}
.author-card .author-info h6 {
    color: var(--bleu-fonce);
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.author-card .author-info p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--vert);
    color: var(--blanc);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 132, 61, 0.35);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--vert-fonce);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 132, 61, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
    .article-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .article-gallery .gallery-item-large {
        grid-column: span 2;
        height: 220px;
    }
    .article-gallery img {
        height: 150px;
    }
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    .share-buttons {
        justify-content: center;
    }
    .article-content {
        font-size: 0.98rem;
    }
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
@media (max-width: 576px) {
    .article-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .article-gallery .gallery-item-large {
        grid-column: span 2;
        height: 180px;
    }
    .article-gallery img {
        height: 120px;
    }
    .article-meta {
        font-size: 0.8rem;
        gap: 12px;
    }
}
/* ============================================================
   PAGE CONTACT
   ============================================================ */

/* Cartes contact */
.contact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--blanc);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
    border-bottom-color: var(--vert);
}
.contact-card .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--vert-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--vert);
    font-size: 2rem;
    transition: all 0.3s ease;
}
.contact-card:hover .icon-circle {
    background: var(--vert);
    color: var(--blanc);
    transform: scale(1.05);
}
.contact-card h5 {
    color: var(--bleu-fonce);
    font-weight: 700;
}
.contact-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}
.contact-card a {
    color: var(--vert);
    text-decoration: none;
    font-weight: 600;
}
.contact-card a:hover {
    color: var(--vert-fonce);
}

/* Icônes réseaux sociaux */
.social-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--vert-clair);
    color: var(--bleu-fonce);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-link-icon:hover {
    background: var(--hover-color, var(--vert));
    color: var(--blanc);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Carte (map) */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    height: 300px;
    background: #f0f0f0;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #25D366;
    color: var(--blanc);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulseWhatsapp 2s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.55);
    color: var(--blanc);
}
@keyframes pulseWhatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); }
}

/* Cartes FAQ */
.faq-card {
    background: var(--blanc);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-left: 4px solid var(--vert);
    transition: all 0.3s ease;
}
.faq-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}
.faq-card h6 {
    color: var(--bleu-fonce);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.faq-card h6 i {
    color: var(--vert);
}
.faq-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}
.faq-card a {
    color: var(--vert);
    font-weight: 600;
    text-decoration: none;
}
.faq-card a:hover {
    color: var(--vert-fonce);
}

/* Alerte */
.alert {
    border: none;
}
.alert-success {
    background: var(--vert-clair);
    color: var(--vert-fonce);
}
.alert-danger {
    background: #FEE2E2;
    color: #B91C1C;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }
    .map-container {
        height: 200px;
    }
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
}
@media (max-width: 576px) {
    .social-link-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
/* ============================================================
   PAGE DEVENIR PARTENAIRE
   ============================================================ */

/* Raisons */
.reason-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--blanc);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}
.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
    border-bottom-color: var(--vert);
}
.reason-card .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--vert-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--vert);
    font-size: 2rem;
    transition: all 0.3s ease;
}
.reason-card:hover .icon-circle {
    background: var(--vert);
    color: var(--blanc);
    transform: scale(1.05);
}
.reason-card h5 {
    color: var(--bleu-fonce);
    font-weight: 700;
}
.reason-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Types de partenariat */
.type-card {
    padding: 1.5rem;
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--jaune);
}
.type-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    border-left-color: var(--vert);
}
.type-card .icon {
    font-size: 1.5rem;
    color: var(--vert);
    margin-right: 12px;
    width: 30px;
    display: inline-block;
}
.type-card h6 {
    color: var(--bleu-fonce);
    font-weight: 700;
    display: inline;
    font-size: 1.05rem;
}
.type-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-left: 42px;
}

/* Responsive */
@media (max-width: 768px) {
    .type-card p {
        padding-left: 0;
    }
    .reason-card {
        padding: 1.5rem;
    }
}
/* ============================================================
   PAGE NOUS SOUTENIR
   ============================================================ */

/* Cartes soutien */
.support-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--blanc);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}
.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
    border-bottom-color: var(--vert);
}
.support-card .icon-circle {
    width: 80px;
    height: 80px;
    background: var(--vert-clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--vert);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}
.support-card:hover .icon-circle {
    background: var(--vert);
    color: var(--blanc);
    transform: scale(1.05);
}
.support-card h5 {
    color: var(--bleu-fonce);
    font-weight: 700;
}
.support-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Montants de don */
.donation-amount {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bleu-fonce);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--blanc);
    margin: 0 6px 12px;
    min-width: 80px;
    user-select: none;
}
.donation-amount:hover {
    border-color: var(--vert);
    color: var(--vert);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.donation-amount.active {
    border-color: var(--vert);
    background: var(--vert);
    color: var(--blanc);
    box-shadow: 0 5px 20px rgba(0, 132, 61, 0.25);
}

/* Sections de formulaire */
.form-section {
    background: var(--blanc);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--vert);
}
.form-section .section-title-small {
    font-weight: 700;
    color: var(--bleu-fonce);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.form-section .section-title-small i {
    color: var(--vert);
    margin-right: 10px;
}

/* Sections colorées */
.section-don {
    background: linear-gradient(135deg, var(--jaune-clair) 0%, #FFF3D6 100%);
}
.section-benevole {
    background: var(--bleu-clair);
}

/* Indicateur de paiement */
.payment-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--vert-clair);
    border-radius: 12px;
    border: 1px solid var(--vert);
    flex-wrap: wrap;
}
.payment-indicator .step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--bleu-fonce);
    font-size: 0.9rem;
}
.payment-indicator .step .num {
    width: 28px;
    height: 28px;
    background: var(--vert);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.payment-indicator .arrow {
    color: var(--vert);
    font-size: 1.2rem;
}

/* Choix du mode de paiement */
.payment-method-btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: var(--blanc);
    color: var(--bleu-fonce);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.payment-method-btn:hover {
    border-color: var(--vert);
    color: var(--vert);
}
.payment-method-btn.active {
    background: var(--vert);
    border-color: var(--vert);
    color: var(--blanc);
}

/* Opérateurs Mobile Money */
.operator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.operator-option {
    cursor: pointer;
    display: block;
}
.operator-option input {
    display: none;
}
.operator-card {
    padding: 16px 12px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: var(--blanc);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.operator-card i {
    font-size: 1.5rem;
    color: var(--bleu-fonce);
}
.operator-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bleu-fonce);
}
.operator-option:hover .operator-card {
    border-color: var(--vert);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.operator-option input:checked + .operator-card {
    border-color: var(--vert);
    background: var(--vert-clair);
    box-shadow: 0 5px 20px rgba(0, 132, 61, 0.2);
}
.operator-option input:checked + .operator-card i,
.operator-option input:checked + .operator-card span {
    color: var(--vert);
}
.operator-card.orange { --op-color: #FF7900; }
.operator-card.mpesa { --op-color: #E60000; }
.operator-card.airtel { --op-color: #ED1C24; }
.operator-card.vodacom { --op-color: #E60000; }
.operator-option input:checked + .operator-card.orange { border-color: #FF7900; background: #FFF4E6; }
.operator-option input:checked + .operator-card.mpesa { border-color: #E60000; background: #FFEAEA; }
.operator-option input:checked + .operator-card.airtel { border-color: #ED1C24; background: #FFEAEA; }
.operator-option input:checked + .operator-card.vodacom { border-color: #E60000; background: #FFEAEA; }

/* Coordonnées bancaires */
.bank-info-box {
    background: var(--blanc);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px dashed var(--vert);
}
.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 8px;
}
.bank-row:last-child {
    border-bottom: none;
}
.bank-label {
    font-weight: 600;
    color: var(--bleu-fonce);
    font-size: 0.9rem;
}
.bank-value {
    color: #333;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-copy {
    background: var(--vert-clair);
    color: var(--vert);
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-copy:hover {
    background: var(--vert);
    color: var(--blanc);
}

/* Sticky sidebar */
.sticky-sidebar {
    position: sticky;
    top: 90px;
}

/* Responsive */
@media (max-width: 992px) {
    .sticky-sidebar {
        position: static;
        margin-top: 2rem;
    }
}
@media (max-width: 768px) {
    .support-card { padding: 1.5rem; }
    .donation-amount {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .payment-indicator {
        flex-direction: column;
        align-items: flex-start;
    }
    .payment-indicator .arrow {
        transform: rotate(90deg);
    }
    .operator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .donation-amount {
        padding: 8px 16px;
        font-size: 0.9rem;
        margin: 0 4px 8px;
        min-width: 60px;
    }
    .form-section { padding: 1rem; }
    .operator-grid { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
   SECTION INITIATRICE
   ============================================================ */

.initiator-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.initiator-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Cadre décoratif derrière la photo */
.initiator-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--vert);
    border-radius: 24px;
    z-index: 1;
    opacity: 0.4;
}

/* Bulle de citation décorative */
.initiator-quote-bubble {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 70px;
    height: 70px;
    background: var(--corail, #E63946);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.35);
    z-index: 3;
    animation: pulseQuote 3s ease-in-out infinite;
}

@keyframes pulseQuote {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Signature */
.initiator-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(27, 128, 137, 0.15);
}

.signature-line {
    width: 60px;
    height: 3px;
    background: var(--jaune, #E63946);
    border-radius: 2px;
}

.signature-info {
    display: flex;
    flex-direction: column;
}

.signature-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--bleu-fonce);
    font-size: 1.05rem;
}

.signature-role {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    .initiator-image-wrapper {
        max-width: 380px;
        margin: 0 auto;
    }
    .initiator-image-wrapper::before {
        top: 15px;
        left: 15px;
        right: -15px;
        bottom: -15px;
    }
}

@media (max-width: 576px) {
    .initiator-quote-bubble {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        top: -10px;
        right: -10px;
    }
    .initiator-signature {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================================
   LOGOS PARTENAIRES
   ============================================================ */

.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 100px;
}

.partner-logo-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.partner-logo-img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo-wrapper:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
/* ============================================================
   SECTION PAIEMENT — NOUVELLE VERSION
   ============================================================ */

/* Bloc de paiement */
.payment-section {
    background: var(--blanc);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--vert);
}

.payment-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.payment-section-icon {
    width: 55px;
    height: 55px;
    background: var(--vert-clair);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--vert);
    flex-shrink: 0;
}

.payment-section-header h5 {
    color: var(--bleu-fonce);
    font-weight: 700;
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
}

.payment-section-header p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

/* Grille Mobile Money */
.momo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Carte opérateur */
.momo-card {
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.momo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.momo-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.momo-card-header i {
    font-size: 1.1rem;
}

.momo-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: var(--blanc);
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.momo-number {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bleu-fonce);
    letter-spacing: 0.5px;
}

/* Couleurs opérateurs */
.momo-card.momo-orange {
    background: #FFF4E6;
    border-color: #FF7900;
}
.momo-card.momo-orange .momo-card-header {
    color: #FF7900;
}

.momo-card.momo-mpesa {
    background: #FFEAEA;
    border-color: #E60000;
}
.momo-card.momo-mpesa .momo-card-header {
    color: #E60000;
}

.momo-card.momo-airtel {
    background: #FEE2E2;
    border-color: #ED1C24;
}
.momo-card.momo-airtel .momo-card-header {
    color: #ED1C24;
}

.momo-card.momo-vodacom {
    background: #FFE4E1;
    border-color: #E60000;
}
.momo-card.momo-vodacom .momo-card-header {
    color: #E60000;
}

/* Bouton copier moderne */
.btn-copy-modern {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--vert);
    color: var(--blanc);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-copy-modern:hover {
    background: var(--vert-fonce);
    transform: scale(1.05);
}

/* Boîte info */
.payment-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bleu-clair);
    border-radius: 12px;
    color: var(--bleu-fonce);
    font-size: 0.9rem;
    line-height: 1.6;
}

.payment-info-box i {
    color: var(--vert);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-info-box p {
    margin: 0;
}

/* Coordonnées bancaires */
.bank-info-box {
    background: var(--gris-clair);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px dashed var(--vert);
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    color: var(--bleu-fonce);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-value {
    color: #333;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.btn-copy {
    background: var(--vert-clair);
    color: var(--vert);
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--vert);
    color: var(--blanc);
    transform: scale(1.05);
}

/* Boutons de partage */
.btn-share {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--bleu-fonce);
    color: var(--blanc);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-share:hover {
    background: #001F3F;
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-share-whatsapp {
    background: #25D366;
}

.btn-share-whatsapp:hover {
    background: #1DA851;
}

/* Section réception du reçu */
.receipt-info p {
    color: #555;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--blanc);
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--vert);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact-method-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method-label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-method-value {
    display: block;
    color: var(--bleu-fonce);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .momo-grid {
        grid-template-columns: 1fr;
    }
    .payment-section {
        padding: 1.25rem;
    }
    .contact-methods {
        grid-template-columns: 1fr;
    }
    .bank-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ============================================================
   BACK-OFFICE — STYLES
   ============================================================ */

:root {
    --admin-sidebar-width: 260px;
    --admin-topbar-height: 70px;
}

body.admin-body {
    background: #F5F7FA;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--admin-sidebar-width);
    height: 100vh;
    background: #0F172A;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sidebar-brand {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.sidebar-brand img {
    max-height: 55px;
    max-width: 180px;
    object-fit: contain;
}

.sidebar-brand small {
    display: block;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 1.25rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.04);
}

.sidebar-link.active {
    color: #fff;
    background: rgba(27, 128, 137, 0.15);
    border-left-color: var(--vert);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sidebar-link span:not(.sidebar-badge) {
    flex: 1;
}

.sidebar-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.sidebar-badge-danger {
    background: #DC2626;
    color: #fff;
}

.sidebar-badge-warning {
    background: var(--jaune, #E63946);
    color: #fff;
}

.sidebar-divider {
    padding: 1.25rem 1.25rem 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* User dans la sidebar */
.sidebar-user {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--vert), var(--teal-fonce, #146068));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-role {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}

.user-logout {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
    padding: 8px;
}

.user-logout:hover {
    color: #DC2626;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.admin-main {
    margin-left: var(--admin-sidebar-width);
    min-height: 100vh;
}

.admin-topbar {
    background: #fff;
    height: var(--admin-topbar-height);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-left h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.sidebar-toggle {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #0F172A;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: none;
}

.sidebar-toggle:hover {
    background: #F3F4F6;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #F3F4F6;
    color: #0F172A;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.topbar-link:hover {
    background: #E5E7EB;
    color: var(--vert);
}

.admin-content {
    padding: 2rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================================
   BOUTONS ADMIN
   ============================================================ */
.btn-admin-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--vert, #1B8089);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-admin-primary:hover {
    background: var(--vert-fonce, #146068);
    color: #fff;
    transform: translateY(-1px);
}

.btn-admin-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #F3F4F6;
    color: #374151;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-admin-secondary:hover {
    background: #E5E7EB;
}

.btn-admin-danger {
    background: #DC2626;
    color: #fff;
}

.btn-admin-danger:hover {
    background: #B91C1C;
}

/* ============================================================
   CARTES ADMIN
   ============================================================ */
.admin-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.admin-card .card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-card .card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.admin-card .card-body {
    padding: 1.5rem;
}

/* ============================================================
   STATS CARDS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--vert);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stat-card.stat-primary { border-left-color: var(--vert, #1B8089); }
.stat-card.stat-success { border-left-color: #10B981; }
.stat-card.stat-warning { border-left-color: var(--jaune, #E63946); }
.stat-card.stat-danger  { border-left-color: #DC2626; }

.stat-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: var(--vert-clair, #E0F2F4);
    color: var(--vert, #1B8089);
}

.stat-primary .stat-card-icon { background: var(--vert-clair, #E0F2F4); color: var(--vert, #1B8089); }
.stat-success .stat-card-icon { background: #D1FAE5; color: #10B981; }
.stat-warning .stat-card-icon { background: var(--jaune-clair, #FDE8EA); color: var(--jaune, #E63946); }
.stat-danger .stat-card-icon  { background: #FEE2E2; color: #DC2626; }

.stat-card-label {
    color: #6B7280;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.stat-card-sub {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 2px;
}

/* ============================================================
   WELCOME BANNER
   ============================================================ */
.welcome-banner {
    background: linear-gradient(135deg, var(--vert, #1B8089) 0%, var(--vert-fonce, #146068) 100%);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.welcome-banner p {
    opacity: 0.9;
    margin: 0;
}

.welcome-icon {
    font-size: 5rem;
    opacity: 0.15;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================================================
   DASHBOARD GRID
   ============================================================ */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-section {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
}

.section-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

/* ============================================================
   QUICK ACTIONS
   ============================================================ */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: #F9FAFB;
    border: 2px solid #F3F4F6;
    border-radius: 14px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.2s;
}

.quick-action:hover {
    border-color: var(--vert, #1B8089);
    background: var(--vert-clair, #E0F2F4);
    color: var(--vert, #1B8089);
    transform: translateY(-2px);
}

.quick-action i {
    font-size: 1.5rem;
    color: var(--vert, #1B8089);
}

/* ============================================================
   LISTES DANS DASHBOARD
   ============================================================ */
.list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #F9FAFB;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.list-item:hover {
    background: #F9FAFB;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 8px;
    color: inherit;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.list-item-body {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0F172A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item-sub {
    font-size: 0.8rem;
    color: #9CA3AF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item-meta {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-align: right;
    flex-shrink: 0;
}

.card-link {
    font-size: 0.8rem;
    color: var(--vert, #1B8089);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.card-link:hover {
    gap: 10px;
}

/* ============================================================
   ACTIVITY TIMELINE
   ============================================================ */
.activity-timeline {
    position: relative;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    position: relative;
}

.activity-dot {
    width: 10px;
    height: 10px;
    background: var(--vert, #1B8089);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    position: relative;
}

.activity-dot::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 10px);
    background: #E5E7EB;
}

.activity-item:last-child .activity-dot::after {
    display: none;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-size: 0.9rem;
    color: #0F172A;
    margin-bottom: 2px;
}

.activity-sub {
    font-size: 0.8rem;
    color: #6B7280;
    margin-bottom: 4px;
}

.activity-time {
    font-size: 0.75rem;
    color: #9CA3AF;
}

/* ============================================================
   TABLE ADMIN
   ============================================================ */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table thead th {
    background: #F9FAFB;
    color: #6B7280;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.admin-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: middle;
    color: #374151;
}

.admin-table tbody tr:hover {
    background: #F9FAFB;
}

.table-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E5E7EB;
}

.table-actions {
    display: flex;
    gap: 6px;
}

.btn-table-action {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: #F3F4F6;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-table-action:hover {
    background: var(--vert, #1B8089);
    color: #fff;
}

.btn-table-danger:hover {
    background: #DC2626;
}

/* ============================================================
   BADGES STATUT
   ============================================================ */
.badge-status-active,
.badge-status-inactive,
.badge-status-completed,
.badge-status-pending,
.badge-status-failed {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-status-active,
.badge-status-completed {
    background: #D1FAE5;
    color: #059669;
}

.badge-status-inactive,
.badge-status-failed {
    background: #FEE2E2;
    color: #DC2626;
}

.badge-status-pending {
    background: var(--jaune-clair, #FDE8EA);
    color: var(--jaune-fonce, #C1121F);
}

/* ============================================================
   EMPTY STATE ADMIN
   ============================================================ */
.empty-admin-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-admin-state i {
    font-size: 3.5rem;
    color: #D1D5DB;
    margin-bottom: 1rem;
    display: block;
}

.empty-admin-state h4 {
    color: #374151;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.empty-admin-state p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
    }
    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    .admin-content {
        padding: 1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .welcome-banner h2 {
        font-size: 1.15rem;
    }
    .welcome-icon {
        display: none;
    }
}
/* ============================================================
   QUILL EDITOR — STYLES
   ============================================================ */

.ql-toolbar.ql-snow {
    border: 1px solid #E5E7EB;
    border-radius: 12px 12px 0 0;
    background: #F9FAFB;
    padding: 12px;
}

.ql-container.ql-snow {
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 12px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.ql-editor {
    min-height: 250px;
    line-height: 1.8;
    padding: 16px 20px;
    color: #1F2937;
}

.ql-editor h1,
.ql-editor h2,
.ql-editor h3 {
    color: var(--bleu-fonce, #003366);
    font-family: 'Poppins', sans-serif;
}

.ql-editor blockquote {
    border-left: 4px solid var(--vert, #1B8089);
    background: var(--vert-clair, #E0F2F4);
    padding: 12px 16px;
    border-radius: 8px;
    font-style: italic;
    color: #444;
}

.ql-editor a {
    color: var(--vert, #1B8089);
}

.ql-snow .ql-stroke {
    stroke: #374151;
}

.ql-snow .ql-fill {
    fill: #374151;
}

.ql-snow .ql-picker {
    color: #374151;
}

.ql-snow .ql-active .ql-stroke {
    stroke: var(--vert, #1B8089);
}

.ql-snow .ql-active .ql-fill {
    fill: var(--vert, #1B8089);
}

.ql-snow .ql-active {
    color: var(--vert, #1B8089);
}

/* Badge catégorie dans le tableau */
.admin-table .badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Text muted */
.text-muted {
    color: #9CA3AF !important;
    font-size: 0.85rem;
}
/* ============================================================
   QUILL EDITOR — STYLES
   ============================================================ */

.ql-toolbar.ql-snow {
    border: 1px solid #E5E7EB;
    border-radius: 12px 12px 0 0;
    background: #F9FAFB;
    padding: 12px;
}

.ql-container.ql-snow {
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 12px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.ql-editor {
    min-height: 250px;
    line-height: 1.8;
    padding: 16px 20px;
    color: #1F2937;
}

.ql-editor h1,
.ql-editor h2,
.ql-editor h3 {
    color: var(--bleu-fonce, #003366);
    font-family: 'Poppins', sans-serif;
}

.ql-editor blockquote {
    border-left: 4px solid var(--vert, #1B8089);
    background: var(--vert-clair, #E0F2F4);
    padding: 12px 16px;
    border-radius: 8px;
    font-style: italic;
    color: #444;
}

.ql-editor a {
    color: var(--vert, #1B8089);
}

.ql-snow .ql-stroke {
    stroke: #374151;
}

.ql-snow .ql-fill {
    fill: #374151;
}

.ql-snow .ql-picker {
    color: #374151;
}

.ql-snow .ql-active .ql-stroke {
    stroke: var(--vert, #1B8089);
}

.ql-snow .ql-active .ql-fill {
    fill: var(--vert, #1B8089);
}

.ql-snow .ql-active {
    color: var(--vert, #1B8089);
}

/* Badge catégorie dans le tableau */
.admin-table .badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Text muted */
.text-muted {
    color: #9CA3AF !important;
    font-size: 0.85rem;
}
/* ============================================================
   QUILL EDITOR
   ============================================================ */
.ql-toolbar.ql-snow {
    border: 1px solid #E5E7EB;
    border-radius: 12px 12px 0 0;
    background: #F9FAFB;
    padding: 12px;
}

.ql-container.ql-snow {
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 12px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.ql-editor {
    min-height: 250px;
    line-height: 1.8;
    padding: 16px 20px;
}

/* Progress bar dans le tableau */
.admin-table .progress {
    background: #E5E7EB;
    border-radius: 50px;
    height: 6px;
    overflow: hidden;
}

.admin-table .progress-bar {
    border-radius: 50px;
}

/* ============================================================
   DONS — TABLEAU ET VUE DÉTAILLÉE
   ============================================================ */

/* Badge opérateur */
.badge-operator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Code Mobile Money */
.momo-code {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    color: #1F2937;
    white-space: nowrap;
}

/* Badge statut don */
.badge-donation-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-donation-status.badge-pending {
    background: var(--jaune-clair, #FFF8E1);
    color: var(--jaune-fonce, #C47D00);
}

.badge-donation-status.badge-completed {
    background: #D1FAE5;
    color: #059669;
}

.badge-donation-status.badge-failed {
    background: #FEE2E2;
    color: #DC2626;
}

/* Vue détaillée — montant en évidence */
.donation-view-amount {
    background: linear-gradient(135deg, var(--vert-clair, #E0F2F4) 0%, #F0FDFB 100%);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 2px dashed var(--vert, #1B8089);
}

.donation-amount-label {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.donation-amount-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--vert-fonce, #146068);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.donation-amount-value span {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .donation-amount-value {
        font-size: 2rem;
    }
    .momo-code {
        font-size: 0.75rem;
    }
}
/* ============================================================
   BOUTON ADMIN DISCRET
   ============================================================ */

.nav-admin-link {
    margin-left: 12px;
}

.btn-admin-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.btn-admin-access:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Version connecté (avec texte) */
.btn-admin-access.logged-in {
    width: auto;
    padding: 0 16px;
    border-radius: 50px;
    background: var(--vert, #1B8089);
    color: #fff !important;
    border-color: var(--vert, #1B8089);
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-admin-access.logged-in:hover {
    background: var(--vert-fonce, #146068);
    border-color: var(--vert-fonce, #146068);
    color: #fff !important;
}

/* Indicateur "connecté" — point vert */
.btn-admin-access.logged-in::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #10B981;
    border: 2px solid var(--bleu-fonce, #003366);
    border-radius: 50%;
    animation: pulseAdminDot 2s ease-in-out infinite;
}

@keyframes pulseAdminDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

/* Navbar avec fond blanc (si tu utilises une navbar claire) */
.navbar-custom.light .btn-admin-access {
    background: var(--gris-clair, #F8F9FA);
    color: #6B7280 !important;
    border-color: #E5E7EB;
}

.navbar-custom.light .btn-admin-access:hover {
    background: var(--vert-clair, #E0F2F4);
    color: var(--vert, #1B8089) !important;
    border-color: var(--vert, #1B8089);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-admin-link {
        margin-left: 0;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .btn-admin-access {
        width: 100%;
        height: 44px;
        border-radius: 12px;
        justify-content: center;
    }
    
    .btn-admin-access.logged-in {
        padding: 0 20px;
    }
    
    .btn-admin-access.logged-in::after {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 576px) {
    .btn-admin-access {
        font-size: 0.9rem;
    }
    .btn-admin-access.logged-in {
        font-size: 0.8rem;
    }
}
/* ============================================================
   LIEN ADMIN DISCRET DANS LE FOOTER
   ============================================================ */

.footer-admin-separator {
    margin: 0 10px;
    opacity: 0.3;
}

.footer-admin-link {
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-admin-link:hover {
    color: var(--jaune, #F2A900) !important;
    text-decoration: underline;
}

.footer-admin-link i {
    font-size: 0.75rem;
}