/* ============================================
   FOOTER CSS - Styles du footer et logos sociaux
   ============================================ */

/* Footer principal */
footer {
    position: relative;
    background: rgba(20, 20, 35, 0.95);
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    z-index: var(--z-content);
}

/* Liens sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
    max-width: fit-content !important;
    width: auto !important;
    min-width: auto !important;
}

/* Règles très spécifiques pour le footer */
footer .social-links a {
    width: auto !important;
    max-width: fit-content !important;
    flex-basis: auto !important;
}

footer .social-links a img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
}

.social-links a:hover {
    color: var(--c-rose, #f093fb);
    transform: scale(1.1);
}

.social-links img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain !important;
    opacity: 0.9;
    transition: var(--transition-fast);
    display: block !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.social-links a:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Message du footer */
footer .footer-message {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--c-rose, #f093fb), var(--c-blue, #667eea));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(240, 147, 251, 0.3);
    font-style: italic;
    text-align: center;
    line-height: 1.6;
}

/* Protection du smiley pour qu'il garde sa couleur naturelle */
footer .footer-message .emoji {
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    background: none !important;
    color: inherit !important;
    display: inline-block;
}

/* Copyright */
footer p,
.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.08rem;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Liens légaux dans le footer */
footer a[href*="mentions-legales"],
footer a[href*="politique-confidentialite"],
footer a[href*="contact.html"] {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-size: 1.08rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

footer a[href*="mentions-legales"]:hover,
footer a[href*="politique-confidentialite"]:hover,
footer a[href*="contact.html"]:hover {
    color: var(--c-rose, #f093fb) !important;
    text-decoration: underline !important;
}

/* Sidebar - Liens sociaux compacts */
.sidebar .social-links-compact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.widget .social-links-compact a,
.widget-social-compact a {
    color: transparent !important;
    text-decoration: none !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Protection absolue pour toutes les images dans les widgets sociaux */
.widget .social-links-compact img,
.widget-social-compact img,
.sidebar .widget .social-links-compact img,
aside .widget .social-links-compact img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget-social-compact {
    overflow: hidden !important;
}

