/**
 * Style du footer — Redesign Premium
 * @author Shawn Dutil
 */

/* ===========================
   FOOTER
=========================== */
.footer-container {
    margin-top: auto;
    background: var(--vert-profond);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    position: relative;
    overflow: hidden;
}

/* Ligne dorée décorative en haut */
.footer-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(201, 168, 76, 0.2) 10%,
        var(--or) 50%,
        rgba(201, 168, 76, 0.2) 90%,
        transparent 100%
    );
}

/* Motif décoratif subtil en arrière-plan */
.footer-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at 50% 0%,
        rgba(201, 168, 76, 0.04) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ===========================
   CONTENU FOOTER
=========================== */
.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ===========================
   LOGO FOOTER (optionnel —
   si tu veux l'ajouter au PHP)
=========================== */
.footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.footer-logo:hover { opacity: 1; }

/* ===========================
   SÉPARATEUR DÉCORATIF
=========================== */
.footer-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(201, 168, 76, 0.5);
    width: 100%;
    max-width: 500px;
}

.footer-divider::before,
.footer-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.35));
}

.footer-divider::after {
    background: linear-gradient(to left, transparent, rgba(201, 168, 76, 0.35));
}

/* Icône fleur de lys SVG inline au centre */
.footer-divider svg {
    flex-shrink: 0;
    color: rgba(201, 168, 76, 0.55);
}

/* ===========================
   NAV FOOTER
=========================== */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-nav a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 6px 16px;
    position: relative;
    transition: color 0.22s ease;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--or);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav a:hover {
    color: var(--or-clair);
}

.footer-nav a:hover::after {
    transform: scaleX(1);
}

/* Séparateur "|" rendu en CSS (on supprime le | du HTML) */
.footer-nav span.sep {
    color: rgba(201, 168, 76, 0.25);
    font-size: 0.65rem;
    padding: 0;
    pointer-events: none;
}

/* ===========================
   COPYRIGHT
=========================== */
.footer-content > p {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
    text-align: center;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 600px) {
    .footer-content {
        padding: 32px 20px 24px;
        gap: 16px;
    }

    .footer-nav {
        gap: 2px 0;
        font-size: 0.7rem;
    }

    .footer-nav a {
        padding: 6px 10px;
    }
}