/* Correctif d'urgence — animations & fix menu mobile
   Ajouts ponctuels avant la refonte complète prévue après le 18/09. */

/* --- Menu mobile : le JS bascule .nav-active, il manquait la règle CSS --- */
@media (max-width: 1023px) {
    nav.nav-active {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1.5rem 1.75rem;
        background: var(--navy-deep, #0b132b);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* --- Hero : léger zoom continu sur l'image de fond --- */
.hero-bg-zoom {
    animation: hero-kenburns 18s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes hero-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* --- Hero : apparition progressive du texte à l'ouverture --- */
.hero-fade {
    opacity: 0;
    transform: translateY(18px);
    animation: hero-fade-up 0.9s ease forwards;
}
.hero-fade-1 { animation-delay: .05s; }
.hero-fade-2 { animation-delay: .2s; }
.hero-fade-3 { animation-delay: .35s; }
.hero-fade-4 { animation-delay: .5s; }
.hero-fade-5 { animation-delay: .65s; }
.hero-fade-6 { animation-delay: .8s; }

@keyframes hero-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Emplacement "membre d'honneur" en attente de contenu --- */
.honor-placeholder {
    border: 1px dashed var(--gold, #c9a86a);
    background: rgba(201, 168, 106, 0.06);
}
.honor-placeholder .honor-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Formulaire de contact : message d'erreur --- */
.cf-error {
    color: #e07a6a;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-zoom { animation: none; }
    .hero-fade { animation: none; opacity: 1; transform: none; }
}
