/* =============================================================
   VILLAGE-FOOTER.CSS — Footer Standard 4 colonnes
   Partagé par toutes les pages qui ont le footer complet
   Alif Genesis Ltd — 2026
   ============================================================= */


/* --- 1. CONTENEUR FOOTER --- */
footer {
    background: linear-gradient(to bottom, var(--bleu-nuit), #050e24);
    color: white;
    padding: 60px 20px 20px;
    border-top: 4px solid var(--or-solaire);
    position: relative;
    z-index: 2000;
}

/* Grille 4 colonnes responsive */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}


/* --- 2. TITRES DES COLONNES --- */
.footer-col h4 {
    color: var(--or-solaire);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

/* Barre dorée sous les titres — utilise la couleur thème de la page */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 3px;
    background-color: var(--theme-main, var(--or-solaire));
    border-radius: 2px;
}


/* --- 3. COLONNE MARQUE (Logo + tagline + réseaux) --- */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.9rem;
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    font-style: italic;
}

.footer-logo-mini {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.footer-logo-mini:hover {
    transform: scale(1.1);
}

/* Icônes réseaux sociaux du footer (version images) */
.footer-social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.footer-social-icons a {
    display: inline-block;
}

.footer-social-icons img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-social-icons img:hover {
    transform: scale(1.3);
}

/* Icônes réseaux sociaux du footer (version Font Awesome — layout.js) */
.footer-social-icons a.fa-icon-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--blanc-lumineux, #F5F5F5);
    transition: 0.3s;
    font-size: 1.1rem;
}

.footer-social-icons a.fa-icon-link:hover {
    background: var(--or-solaire);
    color: var(--bleu-nuit);
    transform: translateY(-3px);
}


/* --- 4. COLONNES LIENS --- */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    font-family: 'Merriweather', serif;
}

.footer-links a {
    color: var(--blanc-lumineux, #F5F5F5);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--theme-main, var(--or-solaire));
    transform: translateX(5px);
    opacity: 1;
}


/* --- 5. COLONNE NEWSLETTER --- */
.footer-newsletter p,
.newsletter-col p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
    font-family: 'Merriweather', serif;
}

.newsletter-form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 10px;
    border-radius: 20px;
    border: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
}

.newsletter-btn {
    padding: 10px;
    border-radius: 20px;
    border: 2px solid var(--or-solaire);
    background-color: var(--or-solaire);
    color: var(--bleu-nuit);
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Fredoka', sans-serif;
}

.newsletter-btn:hover {
    background-color: transparent;
    color: var(--or-solaire);
}


/* --- 6. BARRE INFÉRIEURE (copyright) --- */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    font-size: 0.7rem;
    opacity: 0.6;
    font-family: 'Merriweather', serif;
}


/* --- 7. RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    footer {
        padding: 40px 15px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-social-icons img {
        height: 28px;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 15px auto 0 auto;
    }
}
