/**
 * footer.css — Pied de page
 * Hors-Champ Studio 3.0
 *
 * Remplace le footer natif de GeneratePress.
 * Structure HTML : voir footer.php
 */

/* ──────────────────────────────────────────────
   RESET FOOTER GENERATEPRESS
────────────────────────────────────────────── */

/* Masquer le footer natif GP si on utilise footer.php custom */
/* À décommenter si le footer GP interfère */
/*
#colophon,
.site-footer,
.site-footer-wrap,
.footer-widget-area,
.site-info {
    display: none !important;
}
*/

/* ──────────────────────────────────────────────
   FOOTER CUSTOM — CONTENEUR
────────────────────────────────────────────── */

.hcs-footer {
    background-color: #2A0800;
    color: var(--color-light-100);
    padding: var(--space-16) var(--space-8) var(--space-8);
    position: relative;
    z-index: 900 !important;
}

.hcs-footer__inner {
    max-width: 2000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
}

/* ──────────────────────────────────────────────
   FOOTER — COLONNE CONTACT
   Styles déplacés depuis les attributs style="" inline
   dans custom-footer.php pour permettre la mise en cache.
────────────────────────────────────────────── */

.hcs-footer__contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hcs-footer__contact a {
    font-size: var(--text-sm);
    color: var(--color-light-500);
    text-decoration: none;
    transition: color var(--duration-normal) ease;
    display: inline-block;
}

.hcs-footer__contact a:hover {
    color: var(--color-light-100);
}

/* ──────────────────────────────────────────────
   FOOTER — COLONNE MARQUE
────────────────────────────────────────────── */

.hcs-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.hcs-footer__logo {
    height: 210px;
    width: auto;
    /* Filtre pour passer le logo en blanc */
    filter: brightness(0) invert(1);
}

.hcs-footer__tagline {
    font-size: var(--text-sm) !important;
    color: var(--color-subtle);
    line-height: var(--leading-relaxed) !important;
    max-width: 280px;
}

/* ──────────────────────────────────────────────
   FOOTER — COLONNES NAVIGATION
────────────────────────────────────────────── */

.hcs-footer__nav-title {
    font-family: var(--font-sans) !important;
    font-size: var(--text-sm) !important;
    font-weight: var(--weight-semi) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-subtle);
    margin-bottom: var(--space-4) !important;
}

.hcs-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hcs-footer__nav ul li a {
    font-size: var(--text-sm);
    color: var(--color-light-500);
    text-decoration: none;
    transition: color var(--duration-normal) ease;
}

.hcs-footer__nav ul li a:hover {
    color: var(--color-light-100);
}

/* ──────────────────────────────────────────────
   FOOTER — BARRE DU BAS
────────────────────────────────────────────── */

.hcs-footer__bottom {
    max-width: 1400px;
    margin: var(--space-12) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hcs-footer__copy {
    font-size: var(--text-xs) !important;
    color: var(--color-subtle);
}

.hcs-footer__legal {
    display: flex;
    gap: var(--space-5);
}

.hcs-footer__legal a {
    font-size: var(--text-xs);
    color: var(--color-subtle);
    text-decoration: none;
    transition: color var(--duration-normal) ease;
}

.hcs-footer__legal a:hover {
    color: var(--color-light-100);
}

/* ──────────────────────────────────────────────
   FOOTER — RESPONSIVE
────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hcs-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hcs-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .hcs-footer {
        padding: var(--space-12) var(--space-6) var(--space-6);
    }
}
