:root {
    /* Couleurs Principales */
    --gkm-blue-primary: #00a8e8;
    --gkm-blue-dark: #003459;
    --gkm-blue-darker: #002340;
    --gkm-pink-accent: #ff3860;
    --gkm-gray-bg: #f5f7fa;
    --gkm-white: #ffffff;

    /* Couleurs Système */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Texte */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-light: #d1d5db;
    --text-on-dark: #ffffff;
    --text-on-dark-muted: rgba(255, 255, 255, 0.75);

    /* Dégradés */
    --gradient-main: linear-gradient(135deg, #00a8e8 0%, #003459 100%);
    --gradient-hero: linear-gradient(160deg, #001f3f 0%, #003459 40%, #00507a 100%);
    --gradient-progress: linear-gradient(to right, #00a8e8, #003459);
    --gradient-warning: linear-gradient(135deg, #ff3860 0%, #e02a4f 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(0, 168, 232, 0.08), rgba(0, 52, 89, 0.04));
    --gradient-text-light: linear-gradient(135deg, #ffffff 0%, #5dd8ff 50%, #00cfff 100%);

    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 24px rgba(0, 168, 232, 0.25);

    /* Bordures */
    --border-light: 1px solid #e5e7eb;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 50%;

    /* Espacements */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
    --navbar-height: 72px;
}

/* === FOOTER === */
.footer {
    margin-top: 64px;
    background: var(--gkm-blue-darker);
    color: var(--text-on-dark);
    padding: var(--space-4xl) 0 var(--space-xl);
}


.footer-container {
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    color: var(--text-on-dark);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.footer-brand span {
    color: var(--gkm-blue-primary);
}

.footer-description {
    font-size: 15px;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-socials {
    display: flex;
    gap: var(--space-md);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-on-dark-muted);
    transition: all var(--transition-base);
}

.footer-social-link:hover {
    background: var(--gkm-blue-primary);
    color: var(--text-on-dark);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-on-dark);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-on-dark-muted);
    padding: 4px 0;
    transition: all var(--transition-fast);
}

.footer-col a:hover {
    color: var(--gkm-blue-primary);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-on-dark-muted);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: var(--text-on-dark-muted);
}

.footer-bottom-links a:hover {
    color: var(--gkm-blue-primary);
}

/* === RESPONSIVE FOOTER === */
/* Tablette (769px à 1024px) : Brand au-dessus + 4 colonnes de liens alignées sur 1 ligne */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }

    .footer-brand-col {
        grid-column: 1 / -1;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Mobile (<= 768px) : Grille 2 colonnes (1 ligne x 2 colonnes) pour compacter la hauteur */
@media (max-width: 768px) {
    .footer {
        margin-top: 40px;
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer-container {
        padding: 0 16px;
    }

    /* Grille en 2 colonnes côte à côte (1 ligne x 2 colonnes) */
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
        margin-bottom: var(--space-xl);
    }

    /* Le logo et descriptif occupent la 1ère rangée en pleine largeur */
    .footer-brand-col {
        grid-column: 1 / -1;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-brand {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .footer-description {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 12px;
        max-width: 600px;
    }

    .footer-socials {
        justify-content: flex-start;
        gap: 8px;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-col h4 {
        margin-bottom: 8px;
        font-size: 15px;
        color: var(--gkm-blue-primary);
        font-weight: 700;
    }

    .footer-col ul {
        gap: 6px;
    }

    .footer-col a {
        font-size: 13px;
        padding: 2.5px 0;
        display: block;
        word-break: break-word;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
        font-size: 13px;
        padding-top: var(--space-md);
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .footer-col h4 {
        font-size: 14px;
    }

    .footer-col a {
        font-size: 12px;
    }
}

/* === ANIMATIONS === */
