body { 
    margin: 0; 
    padding: 20px; 
    padding-top: 100px; /* Compensation pour la barre fixe */
    background-color: #f9f9f9; 
    font-family: Arial, sans-serif; 
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 15px 20px;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-link img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-button {
    display: inline-block;
    padding: 15px 30px;
    min-height: 48px;
    line-height: 1.5;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-button:hover {
    background-color: white;
    color: #000000;
}

/* Style du menu déroulant (version harmonisée et améliorée) */
.nav-select {
    padding: 15px 30px;
    min-height: 48px;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFFFFF' d='M1 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    width: auto;
    min-width: 200px;
    box-sizing: border-box;
}

.nav-select:hover {
    background-color: white;
    color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23000000' d='M1 0l5 6 5-6z'/%3E%3C/svg%3E");
}

.nav-select option {
    background-color: #000000;
    color: white;
    padding: 10px;
}

iframe {
    width: 100%;
    height: 90vh;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    margin-top: 20px;
    border-radius: 8px;
}

/* Responsivité mobile (valeur conservatrice pour accommoder le menu déroulant) */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 10px 20px;
    }
    
    .logo-link img {
        height: 40px;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        align-items: stretch;
    }
    
    .nav-button, .nav-select {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    body {
        padding-top: 180px; /* Valeur la plus sûre pour les pages avec menu déroulant */
    }
    
    h1 {
        font-size: 24px;
        text-align: center;
    }
    
    p {
        text-align: center;
    }
} 
/* Conteneur du loader (déjà stylisé inline ci-dessus) */

/* Spinner animé */
.spinner {
    border: 6px solid #f3f3f3; /* Couleur de fond */
    border-top: 6px solid #007bff; /* Couleur principale (bleu primaire, ajustable) */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto; /* Centrage horizontal */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Optionnel : assombrir légèrement pendant le chargement */
#loading-container {
    min-height: 200px; /* Évite un saut visuel au masquage */
} 
/* Optimisation spécifique pour mobile */
@media (max-width: 768px) {
    .nav-select {
        padding: 10px 10px; /* Padding réduit pour compacité */
        min-height: auto;
        font-size: 15px;
        min-width: auto;
        max-width: 100%; /* Pleine largeur disponible sans excès */
        background-position: right 15px center;
        background-size: 10px;
    }
} 
.btn-nouveaute {
    display: inline-block;
    background-color: #d32f2f; /* Rouge italien vif */
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    margin-left: 15px;
    white-space: nowrap;
}

.btn-nouveaute:hover {
    background-color: #b71c1c;
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .btn-nouveaute {
        margin: 10px 0;
        display: block;
        text-align: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}