/* Styles RGPD pour le footer */

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #ecf0f1;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #E74C3C;
    text-decoration: underline;
}

/* Styles pour le bouton cookies dans .footer-bottom définis dans commun.css */
/* Les styles ci-dessous sont pour d'autres contextes si nécessaire */
/*
.btn-cookies-footer {
    background: #E74C3C;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
}

.btn-cookies-footer:hover {
    background: #C0392B;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transform: translateY(-1px);
}
*/

/* === Masquer les widgets Iubenda par défaut === */
/* Widget US "Vos choix en matière de confidentialité" */
.iub__us-widget,
.iubenda-tp-btn,
.iubenda-cs-preferences-link,
.iubenda-cs-opt-group,
.iubenda-cs-rationale {
    display: none !important;
}

/* Badge Consent Database (icône cadenas en bas à droite) */
/* Utilise un sélecteur d'attribut pour cibler uniquement le badge */
div[style*="position: fixed"][style*="bottom"][style*="right"] > div[id*="iubenda"],
iframe[src*="consent.iubenda.com/consent_solution"],
/* Cibler spécifiquement le bouton flottant avec ses attributs data */
button.iubenda-tp-btn[data-tp-float][data-tp-icon],
button.iubenda-cs-preferences-link[data-tp-float],
button[data-iub-enabled="1"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* ⚠️ NE PAS masquer la bannière de consentement (obligatoire RGPD) */
/* La bannière utilise #iubenda-cs-banner - elle reste visible */

/* Si vous souhaitez les afficher, supprimer la règle ci-dessus et utiliser les styles d'intégration ci-dessous */

/* === Styles d'intégration pour widgets Iubenda (si activés) === */
/*
.iub__us-widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-family: inherit !important;
}

.iubenda-tp-btn,
.iubenda-cs-preferences-link {
    display: inline-block !important;
    background: #3498db !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: background 0.3s !important;
}

.iubenda-tp-btn:hover,
.iubenda-cs-preferences-link:hover {
    background: #2980b9 !important;
}
*/

/* Responsive */
@media (max-width: 768px) {
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}
