/* ========================================================================= */
/* --- HERBIER DES SENS : CHARTE GRAPHIQUE FINALE (V.27 - FIX LAVANDE) --- */
/* ========================================================================= */

/* --- 1. COULEURS GÉNÉRALES ET FOND DE PAGE --- */
body, .page-content, .content-wrapper {
    background-color: #A8C6AB !important; /* Vert Menthe Clair (Fond principal) */
    color: #2E514F !important; 
}
h1, h2, h3, h4, p, .text-body {
    color: #2E514F !important; 
}
a, .text-link {
    color: #4A7850 !important; /* Vert Forêt (Liens classiques) */
}

/* --- 2. EN-TÊTE ET PIED DE PAGE (Lavande) --- */
header, .site-header, .top-bar, .navbar-header {
    background-color: #E6E6FA !important; /* NOUVEAU : LAVANDE */
    color: #2E514F !important; /* Texte en Vert Profond sur fond Lavande */
}

/* 🏆 CORRECTION PIED DE PAGE : FORCAGE COULEUR LAVANDE */
footer, .site-footer, .footer-wrapper {
    background-color: #E6E6FA !important; /* NOUVEAU : LAVANDE */
    color: #2E514F !important; /* Texte en Vert Profond sur fond Lavande */
}
.line-footer p {
    color: #2E514F !important; /* Texte en Vert Profond */
}
.line-footer a {
    color: #4A7850 !important; /* Liens en Vert Forêt */
}

/* --- AJOUT STRUCTURE : LIGNE PERSONNALISÉE 50% | 50% --- */
.pre-footer-transaction, 
.pre-footer-transaction > .container-fluid, 
.pre-footer-transaction .col-md-6 {
    background-color: #A8C6AB !important; /* Vert Menthe Clair (Fond principal) */
    color: #2E514F !important;
}
.pre-footer-transaction h1, .pre-footer-transaction h2, .pre-footer-transaction p, .pre-footer-transaction a {
    color: #2E514F !important; 
}


/* --- 3. MENU DE NAVIGATION (TEXTE) --- */
.navbar-nav > li > a, .navbar-default .navbar-nav > li > a {
    color: #2E514F !important; /* Texte en Vert Profond sur fond Lavande */
    font-weight: bold !important;
}
.navbar-nav > li > a:hover, .navbar-default .navbar-nav > li.active > a {
    color: #4A7850 !important; /* Survol en Vert Forêt */
}

/* --- 4. BOUTONS / CTA (Terre Cuite) --- */
.btn-primary, .btn-action, .yapla-widget .btn-primary, button[type="submit"], input[type="submit"] {
    background-color: #D4A373 !important; 
    border-color: #D4A373 !important;
    color: #2E514F !important; 
    font-weight: bold !important;
}
.btn-primary a, .btn-action a {
    color: #2E514F !important;
}
.btn-primary:hover, .btn-action:hover {
    background-color: #C19468 !important; 
    border-color: #C19468 !important;
}

/* --- 5. STYLE FINAL DES COLONNES DE DON/ADHÉSION (Fond Vert Profond) --- */

/* Fond des colonnes en Vert Profond pour un contraste maximal */
.donation-step, .donation-box, .yapla-form-step {
    background-color: #2E514F !important; 
}

/* FORCER TOUT LE TEXTE À L'INTÉRIEUR DES COLONNES EN BLANC CASSÉ */
.donation-step *, .donation-box *, .yapla-form-step * {
    color: #F5F5F5 !important; 
}

/* Les liens à l'intérieur des colonnes */
.donation-step a, .donation-box a, .yapla-form-step a {
    color: #D4A373 !important; 
}

/* En-têtes de colonnes (Mon don, Mes coordonnées) */
.donation-step h2, .donation-box h2, .yapla-form-step h2 {
    color: #F5F5F5 !important; 
}

/* CORRECTION DE L'ILLISIBILITÉ DU TEXTE DANS LES CHAMPS DE SAISIE */
input[type="text"], input[type="email"], textarea, select {
    color: #2E514F !important; 
    background-color: #F5F5F5 !important; 
}

/* --- CORRECTION SPÉCIFIQUE BOUTON DE DON --- */
.yapla-widget .btn.btn-primary, 
.yapla-widget .btn.btn-primary:hover,
.yapla-widget .btn-action {
    background-color: #D4A373 !important; /* Force Terre Cuite */
    border-color: #D4A373 !important;   /* Force bordure Terre Cuite */
    color: #2E514F !important;         /* Force texte Vert Profond */
}
.yapla-widget .btn.btn-primary a,
.yapla-widget .btn-action a {
    color: #2E514F !important;         /* Force texte Vert Profond pour les liens internes */
}
.yapla-widget .btn.btn-primary:hover {
    background-color: #C19468 !important; /* Terre Cuite plus foncée au survol */
    border-color: #C19468 !important;   /* Bordure plus foncée au survol */
}

/* --- CORRECTION SPÉCIFIQUE BOUTON DE DON (FIX DÉFINITIF) --- */
.yapla-widget .btn.btn-primary, 
.yapla-widget .btn-action,
.donation-form .btn-primary, 
.donation-form .btn-action,
.btn-primary:not([disabled]), 
.btn-action:not([disabled]) {
    background-color: #D4A373 !important; /* Force Terre Cuite */
    border-color: #D4A373 !important;   /* Force bordure Terre Cuite */
    color: #2E514F !important;         /* Force texte Vert Profond */
}

/* Texte et liens à l'intérieur des boutons */
.yapla-widget .btn.btn-primary a,
.yapla-widget .btn-action a,
.donation-form a {
    color: #2E514F !important;         /* Force texte Vert Profond */
}

/* Effet au survol */
.yapla-widget .btn.btn-primary:hover,
.yapla-widget .btn-action:hover,
.donation-form .btn-primary:hover {
    background-color: #C19468 !important; /* Terre Cuite plus foncée au survol */
    border-color: #C19468 !important;   /* Bordure plus foncée au survol */
}

/* --- FIX ULTIME : CIBLAGE DU BOUTON PAR SON TYPE HTML --- */
input[type="submit"], 
.donation-form input[type="submit"], 
.yapla-widget input[type="submit"] {
    /* Forçage du fond et de la bordure en Terre Cuite */
    background-color: #D4A373 !important; 
    border-color: #D4A373 !important;
    
    /* Forçage de la couleur du texte en Vert Profond */
    color: #2E514F !important;
    font-weight: bold !important;
}

/* Forçage de l'effet au survol */
input[type="submit"]:hover, 
.donation-form input[type="submit"]:hover, 
.yapla-widget input[type="submit"]:hover {
    background-color: #C19468 !important; 
    border-color: #C19468 !important;
}

/* --- FORCAGE DU FOND VERT MENTHE CLAIR PARTOUT --- */
html, body {
    background-color: #A8C6AB !important; 
}