/* =====================================================================
   Pied de page
   ===================================================================== */
   .site-footer {
    position: relative;
    color: var(--white);
    background-image: url('../img/footer.webp');    background-size: cover;
    background-position: center;
}

/* Voile marron par-dessus la photo */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(74, 50, 44, 0.88);  /* voile assez sombre pour que le texte reste lisible */
    z-index: 0;
}

/* Le contenu repasse au-dessus du voile */
.footer-main,
.footer-bottom {
    position: relative;
    z-index: 1;
}

/* Partie principale : 3 colonnes */
.footer-main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 32px 28px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

/* Colonne marque */
.footer-logo img {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}
.footer-brand-name {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--rose-light);
    margin: 0 0 12px;
}
.footer-brand-desc {
    font-size: 0.92rem;
    color: #f3e7e1;
    line-height: 1.7;
    margin: 0;
    max-width: 300px;
}

/* Titres de colonne */
.footer-col-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 20px;
}

/* Liens de navigation */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-nav a {
    color: #f3e7e1;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--rose-light); text-decoration: underline; }

/* Barre du bas */
.footer-bottom {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #f3e7e1;
}
.footer-bottom p { margin: 0; }
.footer-bottom-links {
    display: flex;
    gap: 24px;
}
.footer-bottom-links a {
    color: #f3e7e1;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--rose-light); text-decoration: underline; }
.site-footer {
    overflow-x: hidden;
}
.footer-main,
.footer-bottom {
    max-width: 100%;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .footer-logo img { margin: 0 auto 10px; }
    .footer-brand-desc { max-width: 100%; }
    .footer-nav { align-items: center; gap: 0; }
    .footer-nav a { padding: 3px 0; line-height: 1.2; }
    .footer-brand-desc { line-height: 1.5; }
    .footer-col-title { margin-bottom: 8px; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 6px;
    }
}