/* ==========================================================================
   HERO CREDITS (Texte en bas de l'image cover)
   ========================================================================== */

   .hero-credits {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 800;
    
    /* Typographie */
    font-family: "Open Sans", sans-serif; /* Ou la police de ton thème */
    font-size: 1.3rem;
    line-height: 1.5em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    
    /* Ombre portée pour lisibilité sur image claire */
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    padding: 0 20px;
}

.hero-credits a {
    color: #fff !important;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.hero-credits a:hover {
    border-bottom: 1px solid #fff;
    opacity: 1;
}

.hero-credits i {
    margin: 0 3px;
    /* On garde les couleurs définies inline dans le HTML (vert/rouge) */
}

/* Ajustement de la flèche de scroll pour ne pas chevaucher le texte */
.scroll-down {
    bottom: 70px; /* On remonte la flèche au-dessus du texte */
}

/* Scroll-down container */
.scroll-down {
    display: block;
    position: absolute;
    z-index: 100;
    bottom: 45px;
    left: 50%;
    margin-left: -20px; /* Ajusté pour centrer (moitié de la largeur) */
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    
    /* On retire le transform: rotate(-90deg) car le SVG pointe déjà vers le bas */
    animation: bounce 4s 2s infinite;
}

/* Style de l'icône SVG à l'intérieur */
.scroll-down svg {
    width: 100%;
    height: 100%;
}

.scroll-down:hover {
    color: #ffffff;
    animation: none;
}

/* Animation de rebond simplifiée sans la rotation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* RESPONSIVE : Sur mobile, on empile les lignes */
@media (max-width: 600px) {
    .hero-credits {
        font-size: 1.1rem;
        bottom: 10px;
    }
    
    .credits-separator {
        display: none; /* On cache le tiret */
    }
    
    .credits-line {
        display: block; /* Chaque partie sur sa ligne */
        margin-bottom: 5px;
    }
    
    /* Sur mobile, on peut cacher la flèche si ça fait trop chargé */
    .scroll-down {
        display: none;
    }
}

