/* Styles pour la bannière de compte à rebours */
.countdown-banner {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    /* Suppression de la marge négative */
    margin-top: 0;
}

.countdown-timer {
    font-weight: 700;
    margin-left: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Styles pour le header et la navbar - design classique */

.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Classe scrolled conservée pour la compatibilité JavaScript mais garde le même style */
/* Le sélecteur est maintenu pour la compatibilité avec le script JS qui ajoute/retire cette classe */

.modern-header .header-container,
.modern-header.scrolled .header-container {
    height: 80px; /* Augmentation de la hauteur du header */
}

.header-container {
    display: flex;
    justify-content: space-between; /* Changer à space-between au lieu de center */
    align-items: center;
    padding: 0.7rem var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Positionnement plus prononcé à gauche */
    margin-left: 0;
    padding-left: 0;
}

.logo {
    height: 38px; /* Logo plus grand */
    width: auto;
    margin-right: 12px;
}

.tagline {
    font-family: 'Rubik', sans-serif;
    font-size: 12px; /* Augmenté de 10px à 12px */
    font-weight: 600; /* Augmenté de 500 à 600 pour plus de visibilité */
    color: var(--text-light);
    border-left: 1px solid var(--primary-color);
    padding-left: 10px;
    line-height: 1;
    margin-top: -1px;
    letter-spacing: 0.3px; /* Améliore la lisibilité */
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    font-weight: 500;
    /* Suppression de la position absolue pour un meilleur alignement */
    position: relative;
    right: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

.login-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 22px; /* Augmenté de 10px 20px à 12px 22px pour plus de hauteur */
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(124, 137, 255, 0.25);
    margin-left: 20px;
}

.login-button:hover, .login-button:active {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(124, 137, 255, 0.35);
    color: white; /* Assure que le texte reste blanc */
}

/* Responsive header */
@media (max-width: 768px) {
    .modern-header {
        padding: 10px 0;
    }
    
    .logo {
        height: 32px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .modern-header .header-container,
    .modern-header.scrolled .header-container {
        height: 70px; /* Légèrement réduit sur tablette */
    }
}

@media (max-width: 576px) {
    .nav-menu {
        display: none;
    }
    
    .login-button {
        display: none;
    }
    
    .tagline {
        display: none;
    }
    
    .header-container {
        padding: 0 var(--spacing-sm);
        height: 65px !important; /* Hauteur fixée pour mobile */
        justify-content: center; /* Centrer le logo sur mobile */
    }
    
    .logo-container {
        justify-content: center;
        margin: 0 auto; /* Centrer le logo */
        transform: scale(0.9); /* Réduire légèrement la taille du conteneur */
    }
    
    .logo {
        height: 32px; /* Réduit de 36px à 32px */
        margin: 0 auto; /* Centrer le logo */
    }
    
    .modern-header {
        padding: 0;
    }
    
    .countdown-banner p {
        font-size: 0.8rem;
        text-align: center;
        padding: 0 var(--spacing-xs);
    }
}

/* Styles pour mobile supprimés - remplacés par un bouton sticky */
