@charset "UTF-8";
/* =========================================================
   04. FOOTER & RGPD LUXE 2026
   OPTIMISÉ PERF : 4 Colonnes, GPU Acceleration, Box Sizing Strict
   ========================================================= */

/* 🔴 VERROU ANTI-DÉBORDEMENT GLOBAL (Sécurité Absolue) */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* FIX : Largeur 100% au lieu de 100vw pour éviter le scroll X sur Windows */
.uf-main-footer {
    background: #050505;
    color: #ffffff;
    padding-top: 80px;
    position: relative;
    overflow: hidden; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
}

/* 🔴 CONTENEUR SÉPARÉ (Hérité de components.css pour centrer et limiter la largeur) */
.uf-container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 4vw; 
    width: 100%; 
    box-sizing: border-box; 
}

/* Grille 4 colonnes (1.5fr pour le logo, 3x 1fr pour les menus/contact) */
.uf-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    box-sizing: border-box;
    width: 100%;
}

/* --- BRAND COLUMN & LOGO --- */
.uf-footer-logo {
    display: block;
    max-width: 250px; /* Taille max sur PC */
    margin-bottom: 20px;
}
/* FIX RESPONSIVE LOGO WORDPRESS */
.uf-footer-logo img, 
.uf-footer-logo svg,
.uf-footer-logo .custom-logo {
    max-width: 100%;
    height: auto !important;
    display: block;
}

.uf-footer-logo h2, .uf-footer-logo-text {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 0;
}
.uf-footer-logo span { font-weight: 900; color: #fff; }

.uf-footer-tagline {
    color: var(--text-muted, rgba(255,255,255,0.5));
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
}

.uf-footer-socials { display: flex; gap: 15px; }
.uf-footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: all 0.4s ease;
    text-decoration: none;
    will-change: transform, background-color;
}
.uf-footer-socials a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* --- TYPOGRAPHIE COLONNES --- */
.uf-footer-h4 {
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #fff;
    margin-top: 0;
}

/* --- MENUS WORDPRESS DYNAMIQUE --- */
.uf-footer-menu { list-style: none; padding: 0; margin: 0; }
.uf-footer-menu li { margin-bottom: 12px; }
.uf-footer-menu a {
    color: var(--text-muted, rgba(255,255,255,0.5));
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s ease;
    display: inline-flex; 
    will-change: transform, color;
}
.uf-footer-menu a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* --- CONTACT & BOUTON --- */
.uf-contact-minimal { margin-bottom: 20px; width: 100%; box-sizing: border-box; }
.uf-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: 0.3s;
    word-break: break-word;
    max-width: 100%;
    will-change: transform, color;
}
.uf-contact-item i { font-size: 0.9rem; opacity: 0.5; width: 20px; flex-shrink: 0; }
.uf-contact-item:hover { transform: translateX(5px); color: rgba(255,255,255,0.7); }

/* 🟢 FIX PC : Cible directement le bouton dans la colonne pour réduire sa taille */
.uf-footer-col .btn-primary {
    display: inline-flex !important;
    width: max-content !important;
    gap: 10px;
    align-items: center;
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
}

/* --- FOOTER BOTTOM --- */
.uf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 25px 0;
    width: 100%;
    box-sizing: border-box;
}
.uf-bottom-inner {
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}
.uf-bottom-inner p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    margin: 0;
}
.uf-bottom-inner span { color: rgba(255,255,255,0.5); }

/* =========================================================
   🍪 BANNIÈRE COOKIES RGPD
   ========================================================= */
.uf-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(102, 45, 145, 0.3);
    padding: 25px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    z-index: 100000;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    box-sizing: border-box;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}
.uf-cookie-banner.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.uf-cookie-content h4 { color: #fff; margin: 0 0 5px 0; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.uf-cookie-content p { color: var(--text-muted, #ccc); margin: 0; font-size: 0.9rem; line-height: 1.5; max-width: 800px; }
.uf-cookie-actions { display: flex; gap: 15px; flex-shrink: 0; }
.uf-cookie-btn { padding: 12px 24px; font-size: 0.85rem; white-space: nowrap; }

/* =========================================================
   📱 RESPONSIVE FOOTER & COOKIES
   ========================================================= */

@media (max-width: 992px) {
    .uf-main-footer { padding-top: 60px; }
    
    /* Sur Tablette, on passe en 2 colonnes (Logo en haut, Menus en dessous) */
    .uf-footer-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px; 
        padding-bottom: 30px;
    }
    
    /* Le logo prend toute la ligne du haut */
    .uf-about-col {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* On réduit légèrement le logo sur tablette */
    .uf-footer-logo { max-width: 180px; margin: 0 auto 20px auto; }
    .uf-footer-logo h2, .uf-footer-logo-text { font-size: 1.5rem; }
    
    .uf-footer-socials { justify-content: center; }
    .uf-footer-socials a { width: 40px; height: 40px; font-size: 0.95rem; }
    .uf-footer-tagline { margin: 0 auto 25px auto; max-width: 320px; font-size: 0.95rem; }
    
    /* Les autres colonnes s'alignent proprement sur 2 colonnes */
    .uf-footer-col { 
        display: flex; 
        flex-direction: column; 
        align-items: flex-start; 
        width: 100%;
        box-sizing: border-box;
    }

    .uf-cookie-banner { flex-direction: column; text-align: center; padding: 25px; gap: 20px; }
    .uf-cookie-actions { width: 100%; flex-direction: column; }
    .uf-cookie-btn { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 768px) {
    /* Sur Mobile, on passe en 1 seule colonne 100% centrée */
    .uf-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .uf-about-col {
        grid-column: span 1;
        margin-bottom: 40px;
    }

    .uf-footer-col { 
        align-items: center; 
        text-align: center; 
        padding-bottom: 40px;
        margin-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .uf-footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    /* 🟢 FIX MOBILE : On force le bouton de contact à reprendre 100% de sa largeur pour le confort tactile */
    .uf-footer-col .btn-primary {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 🔴 ON FORCE LA RÉDUCTION DU LOGO SUR MOBILE */
    .uf-footer-logo { max-width: 130px; margin: 0 auto 20px auto; }
    .uf-footer-logo h2, .uf-footer-logo-text { font-size: 1.3rem; }
    
    .uf-footer-socials a { width: 36px; height: 36px; font-size: 0.85rem; }
    .uf-footer-tagline { max-width: 280px; font-size: 0.9rem; }
    
    .uf-footer-menu { display: flex; flex-direction: column; align-items: center; width: 100%; }
    .uf-footer-menu li { text-align: center; }
    .uf-footer-menu a { font-size: 1.05rem; padding: 5px 0; justify-content: center; }
    
    .uf-contact-minimal { display: flex; flex-direction: column; align-items: center; width: 100%; }
    .uf-contact-item { justify-content: center; font-size: 0.95rem; } 
    .uf-bottom-inner p { line-height: 1.6; }
    .uf-bottom-inner span { display: block; margin-top: 5px; }
}