/* ==========================================================================
   STYLES DU FOOTER (La Voce Di Maria)
   ========================================================================== */

.main-footer {
    background-color: #0a1931; /* Bleu profond identique au preloader */
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Logo et Description */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 45px;
    height: auto;
}

.footer-logo span {
    font-weight: 800;
    font-size: 1.1rem;
    color: #d4af37; /* Or du logo */
    letter-spacing: 1px;
}

.footer-description {
    line-height: 1.7;
    color: #b0c4de;
    font-size: 0.9rem;
}

/* Titres des colonnes */
.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #d4af37;
}

/* Listes de liens et contact */
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0c4de;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b0c4de;
}

.footer-contact i {
    color: #d4af37;
    margin-top: 4px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-top: 20px;
    height: 45px;
}

.newsletter-form input {
    flex: 1;
    padding: 0 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: #d4af37;
    color: #0a1931;
    border: none;
    padding: 0 18px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background-color: #ffffff;
}

/* Réseaux Sociaux */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.footer-socials a:hover {
    background-color: #d4af37;
    color: #0a1931;
    transform: translateY(-3px);
}

/* --- Barre du bas & Signature SKULLZEUS --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
        margin-top: 50px;

}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: #8fa3ad;
    font-size: 0.85rem;
}

.developer-credit a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: 0.3s;
}

.developer-credit a:hover {
    color: #ffffff;
}

/* ==========================================================================
   ADAPTATION MODE NUIT
   ========================================================================== */
.dark-theme .main-footer {
    background-color: #000000 !important; /* Noir pur en mode sombre */
    border-top: 1px solid #222;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Style de base de la liste */
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ffffff; /* Couleur du texte non cliquable (ex: l'adresse) */
}

.footer-contact li i {
    color: #e74c3c; /* Couleur des icônes pour rappeler votre thème */
}

/* Style des liens (téléphone et email) */
.footer-contact a {
    color: inherit; /* Prend la couleur du texte parent (évite le bleu) */
    text-decoration: none; /* Supprime le soulignement par défaut */
    position: relative; /* Nécessaire pour le tracer personnalisé */
    transition: color 0.3s ease;
}

/* Le "Tracer" (soulignement personnalisé) */
.footer-contact a::after {
    content: '';
    position: absolute;
    width: 0; /* Commence à 0 */
    height: 1px; /* Épaisseur du trait */
    bottom: -2px; /* Position sous le texte */
    left: 0;
    background-color: #e74c3c; /* Couleur du trait */
    transition: width 0.3s ease; /* Animation de gauche à droite */
}

/* Effet au survol (Hover) */
.footer-contact a:hover {
    color: #e74c3c; /* Le texte change de couleur au survol */
}

.footer-contact a:hover::after {
    width: 100%; /* Le trait s'allonge sur toute la largeur */
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #d4af37; /* Couleur Or */
    color: #0a1931; /* Bleu foncé */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Caché par défaut */
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#backToTop:hover {
    background-color: #0a1931;
    color: #d4af37;
    transform: translateY(-5px);
}

/* Adaptation Mode Nuit */
.dark-theme #backToTop {
    background-color: #ffffff;
    color: #000000;
}
