/* ==========================================================
   TCF Meta CAPI — bandeau de consentement aux cookies
   Couleurs de la marque (bleu nuit, bleu), pas de jaune,
   bordure complète uniquement, éléments fins.
   ========================================================== */

.tcf-consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 2147483000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
}

.tcf-consent[hidden] {
    display: none !important;
}

.tcf-consent__card {
    pointer-events: auto;
    width: 100%;
    max-width: 640px;
    box-sizing: border-box;
    padding: 18px 20px;
    background: #FFFFFF;
    color: #1E293B;
    border: 1px solid #D8E1EE;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(8, 42, 94, 0.16);
}

.tcf-consent__title {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #082A5E;
}

.tcf-consent__text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.tcf-consent__link {
    color: #1363DF;
    font-weight: 600;
    text-decoration: underline;
}

.tcf-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* Refuser et Accepter : même taille, même poids (refuser doit être aussi simple qu'accepter). */
.tcf-consent__btn {
    flex: 0 0 auto;
    min-width: 132px;
    margin: 0;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.tcf-consent__btn--ghost {
    background: #FFFFFF;
    color: #082A5E;
    border: 1px solid #B9C7DD;
}

.tcf-consent__btn--ghost:hover {
    border-color: #082A5E;
}

.tcf-consent__btn--primary {
    background: #1363DF;
    color: #FFFFFF;
    border: 1px solid #1363DF;
}

.tcf-consent__btn--primary:hover {
    background: #0F4FB0;
    border-color: #0F4FB0;
}

.tcf-consent__btn:focus-visible,
.tcf-consent__link:focus-visible {
    outline: 3px solid rgba(19, 99, 223, 0.35);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .tcf-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .tcf-consent__card {
        padding: 16px;
    }

    .tcf-consent__btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tcf-consent__btn {
        transition: none;
    }
}
