/* ==========================================================================
   Variables de la charte graphique ACCB ASBL (Vert et Blanc)
   ========================================================================== */
:root {
    --primary-dark: #0B3D2E;   /* Vert foncé */
    --primary-light: #2E8B57;  /* Vert clair */
    --white: #FFFFFF;          /* Blanc */
    --light-gray: #F5F5F5;     /* Gris très clair */
}

/* ==========================================================================
   Styles globaux
   ========================================================================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-gray);
    color: #333333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Permet au footer de rester en bas de page */
}

/* ==========================================================================
   Navigation (Navbar)
   ========================================================================== */
.navbar-custom {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-custom .navbar-brand strong {
    color: var(--primary-dark);
}

.navbar-custom .nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus,
.navbar-custom .nav-link.active {
    color: var(--primary-light);
}

/* ==========================================================================
   Boutons personnalisés
   ========================================================================== */
.btn-primary-custom {
    background-color: var(--primary-light);
    color: var(--white);
    border: 2px solid var(--primary-light);
    font-weight: 600;
    border-radius: 50rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* ==========================================================================
   Cartes Bootstrap (Cards)
   ========================================================================== */
.card-custom {
    border: none;
    border-radius: 16px;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11, 61, 46, 0.1); /* Ombre vert foncé légère */
}

/* ==========================================================================
   Barres de progression
   ========================================================================== */
.progress-custom {
    height: 8px;
    border-radius: 10px;
    background-color: #E9ECEF;
    overflow: hidden;
}

.progress-bar-custom {
    background-color: var(--primary-light);
}

/* ==========================================================================
   Hero Section (Accueil)
   ========================================================================== */
/* ==========================================================================
   Utilitaires
   ========================================================================== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hover-light:hover {
    color: var(--white) !important;
    text-decoration: underline !important;
}

.hover-primary:hover {
    color: var(--primary-light) !important;
}