/* Fichier CSS commun pour tous les éléments partagés */

/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Variables pour les couleurs */
:root {
    --bleu-nuit: #6222CC;
    --blanc: #ffffff;
    --vert-fluo: #00ff8c;
    --jaune-doux: #FBA504;
    --gris-clair: #f5f5f5;
    --gris-fonce: #333333;
    --dark: #04000B;
    --light: #F6F4F9;

    /* Couleurs principales */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;

    /* Couleurs de texte */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    /* Couleurs de fond */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-sidebar: #1e293b;

    /* Bordures */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-focus: #3b82f6;

    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Rayons de bordure */
    --border-radius: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Espacements */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;


}

/* Styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gris-fonce);
    line-height: 1.6;
    background-color: var(--bleu-nuit);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--bleu-nuit);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--jaune-doux);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Header */
header {
    background-color: var(--bleu-nuit);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
}

.logo h1 {
    font-size: 'Lato';
    font-size: 30px;
    font-weight: bold;
    color: var(--blanc);
}

.logo span {
    color: var(--blanc);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    color: var(--blanc);

}

.active {
    color: var(--jaune-doux);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--jaune-doux);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-header {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--light);
    color: var(--dark);
    border-radius: 50px;
}

.btn-header:hover {
    background-color: var(--light);
    color: var(--dark);
    border-radius: 50px;
}

.btn-primary {
    background-color: var(--jaune-doux);
    color: var(--dark);
    border-radius: 50px;
}

.btn-primary:hover {
    color: var(--dark);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.btn-secondary {
    background-color: var(--light);
    color: var(--dark);
    border-radius: 50px;
}

.btn-secondary:hover {
    color: var(--dark);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.btn-outline {
    border: 2px solid var(--bleu-nuit);
    color: var(--bleu-nuit);
    border-radius: 50px;
}

.btn-outline:hover {
    background-color: var(--bleu-nuit);
    color: var(--blanc);
}

/* Footer */
footer {
    background-color: var(--bleu-nuit);
    color: var(--blanc);
    padding: 50px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--light);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--blanc);
}

.footer-section ul li a:hover {
    color: var(--jaune-doux);
}

.social-icons {
    display: flex;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    color: var(--blanc);
}

.social-icons a:hover {
    background-color: var(--jaune-doux);
    color: var(--blanc);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;

}

/* Copyright avec liens actifs */
.copyright a {
    color: var(--blanc);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--jaune-doux);
}

.copyright a.active {
    color: var(--jaune-doux);
}

/* WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* notification*/

.notifications-container {

    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 9999;
}

.notification {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    border-left: var(--error-color);
}

.notification.succes {
    border-left: var(--success-color);
}

.notification.info {
    border-left: var(--info-color);
}

.notification.warning {
    border-left: var(--warning-color);
}



.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.notification.error .notification-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.notification.warning .notification-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.notification.info .notification-icon {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info-color);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* Media Queries pour Responsive */
@media (max-width: 992px) {



    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}





/* Menu hamburger pour mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {

    header {
        background: var(--blanc);
    }

    .logo h1 {
        color: var(--bleu-nuit);
    }

    .logo h1 span {
        color: var(--jaune-doux);
    }

    nav ul li a {
        color: var(--dark);
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .logo-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}