/* ========================================
   NEXSAS - FOOTER.CSS
   Style pour le footer du site
   Direction artistique cohérente avec le dashboard
   ======================================== */

/* ========================================
   STRUCTURE HTML/BODY POUR FOOTER STICKY
   ======================================== */

/* IMPORTANT : Ne pas toucher au body s'il a déjà des styles */
/* Le footer se positionnera automatiquement en bas */

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    flex-shrink: 0;
    background: var(--gradient-primary);
    backdrop-filter: blur(20px);
    border-top: none;
    padding: 1.5rem 2rem;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    width: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-container p {
    color: white;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.8;
}

.footer-container a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-normal);
    position: relative;
    padding: 0 0.25rem;
}

.footer-container a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width var(--transition-normal);
}

.footer-container a:hover {
    opacity: 0.9;
}

.footer-container a:hover::after {
    width: 100%;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .site-footer {
        padding: 1.25rem 1rem;
    }
    
    .footer-container p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .footer-container a {
        display: inline-block;
        margin: 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1rem 0.75rem;
    }
    
    .footer-container p {
        font-size: 0.8rem;
    }
    
    /* Stack les liens sur mobile pour plus de lisibilité */
    .footer-container p {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}/* ========================================
   NEXSAS - FOOTER.CSS
   Style pour le footer du site
   Direction artistique cohérente avec le dashboard
   ======================================== */

/* ========================================
   VARIABLES
   ======================================== */

:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-radius-small: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition-normal: 0.3s ease;
}

/* ========================================
   STRUCTURE HTML/BODY POUR FOOTER STICKY
   ======================================== */

/* IMPORTANT : Ajouter ces classes au body et html pour que le footer colle en bas */
html {
    height: 100%;
}

/* body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
} */

/* Le contenu principal doit avoir cette classe ou structure */
/* Exemple: <main class="main-content">...</main> */
body > main,
body > .main-container {
    flex: 1 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    flex-shrink: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(102, 126, 234, 0.15);
    padding: 1.5rem 2rem;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-container p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.8;
}

.footer-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    padding: 0 0.25rem;
}

.footer-container a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.footer-container a:hover {
    color: var(--primary-dark);
}

.footer-container a:hover::after {
    width: 100%;
}

/* ========================================
   VERSION ALTERNATIVE : FOOTER COLORÉ
   ======================================== */

/* Décommenter pour avoir un footer avec dégradé violet */
/*
.site-footer {
    background: var(--gradient-primary);
    border-top: none;
}

.footer-container p {
    color: white;
}

.footer-container a {
    color: white;
    font-weight: 700;
}

.footer-container a::after {
    background: white;
}
*/

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .site-footer {
        padding: 1.25rem 1rem;
    }
    
    .footer-container p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .footer-container a {
        display: inline-block;
        margin: 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1rem 0.75rem;
    }
    
    .footer-container p {
        font-size: 0.8rem;
    }
    
    /* Stack les liens sur mobile pour plus de lisibilité */
    .footer-container p {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}