/* === COOKIE CONSENT – SCOPED === */

.cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    width: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.cookie-consent.is-visible {
    opacity: 1!important;
    visibility: visible!important;
    transform: translateY(0)!important;
}

.cookie-consent-content {
    padding: 20px 22px;
}

.cookie-consent-text {
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
    margin: 0 0 16px;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Buttons */
.cookie-btn {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.cookie-btn-primary {
    background: #133766;
    color: #fff;
}

.cookie-btn-primary:hover {
    background: #0f2e5d;
}

.cookie-btn-secondary {
    background: transparent;
    color: #133766;
    border: 1px solid rgba(19, 55, 102, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(19, 55, 102, 0.06);
}

/* Mobile */
@media (max-width: 480px) {
    .cookie-consent {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }

    .cookie-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
/* =========================
   Mentions légales
========================= */

.cu-legal.content-text{
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color:#222;
    padding:60px 20px;
    margin:60px auto;
    border-radius:12px;
    line-height:1.8;
    overflow:hidden;
}

.cu-legal .cu-legal__container{
    max-width: 980px;
    margin: 0 auto;
}

.cu-legal h1,
.cu-legal h2,
.cu-legal h3{
    font-family: Montserrat, Inter, system-ui, sans-serif;
    color: #133766;
    margin-top: 40px;
    margin-bottom: 15px;
}

.cu-legal h1{
    font-size: 2.2rem;
    text-align:center;
    margin-top:0;
    padding-bottom:15px;
    border-bottom: 3px solid rgba(19,55,102,0.12);
}

.cu-legal h2{
    font-size: 1.5rem;
    border-left: 4px solid #133766;
    padding-left: 14px;
}

.cu-legal h3{
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f2e5d;
}

.cu-legal p{
    font-size: 1.05rem;
    color:#2b2f36;
    margin-bottom: 1.1rem;
}

.cu-legal .alert{
    margin: 0 0 26px;
    text-align: center;
    font-weight: 700;
    letter-spacing: .3px;
    color:#0f2e5d;
}

/* liens */
.cu-legal a{
    color:#133766;
    text-decoration:none;
    font-weight:700;
}
.cu-legal a:hover{
    text-decoration: underline;
}

/* cards */
.cu-legal .cu-legal__cards{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:16px;
    margin-top: 18px;
}

.cu-legal .cu-legal__card{
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(19,55,102,0.12);
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.cu-legal .cu-legal__card ul{
    margin: 10px 0 0;
    padding-left: 0;
}
.cu-legal .cu-legal__card li{
    list-style: none;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}
.cu-legal .cu-legal__card li::before{
    content:"›";
    position:absolute;
    left:0;
    top:0;
    color:#133766;
    font-weight:800;
}

/* highlight */
.cu-legal .highlight{
    background:#133766;
    color:#fff !important;
    padding: 14px 16px;
    border-left: 4px solid rgba(255,255,255,0.6);
    border-radius: 10px;
    margin: 16px 0 0;
}
.cu-legal .highlight p{
    color:#fff;
    text-align:center;
    margin:0;
    font-weight:600;
}

/* grille infos RGPD */
.cu-legal .cu-legal__split{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 10px;
}
.cu-legal .cu-legal__split > div{
    background: #fff;
    border: 1px solid rgba(19,55,102,0.10);
    border-radius: 12px;
    padding: 14px 14px 10px;
}
.cu-legal .cu-legal__split ul{
    margin: 10px 0 0;
    padding-left: 0;
}
.cu-legal .cu-legal__split li{
    list-style:none;
    margin-bottom: 8px;
    position:relative;
    padding-left: 18px;
    color:#2b2f36;
}
.cu-legal .cu-legal__split li::before{
    content:"•";
    position:absolute;
    left:0;
    top:0;
    color:#133766;
    font-weight:900;
}

.cu-legal .cu-legal__muted{
    color:#6b7280;
    font-weight:600;
}

.cu-legal .cu-legal__footer{
    margin-top: 40px;
    text-align:center;
    font-size: .95rem;
    color:#6b7280;
}

/* responsive */
@media (max-width: 860px){
    .cu-legal .cu-legal__cards{ grid-template-columns: 1fr; }
    .cu-legal .cu-legal__split{ grid-template-columns: 1fr; }
}
@media (max-width: 420px){
    .cu-legal.content-text{ padding: 44px 14px; margin: 40px auto; }
    .cu-legal h1{ font-size: 1.8rem; }
    .cu-legal h2{ font-size: 1.25rem; }
    .cu-legal p{ font-size: 1rem; }
}
