/* Bandeau de consentement aux cookies (voir _scripts/consentement-cookies.js) */
.pmp-consent[hidden] { display: none !important; }

.pmp-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    border-top: 4px solid #e0061b;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .18);
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}
.pmp-consent *, .pmp-consent *::before, .pmp-consent *::after { box-sizing: border-box; }
.pmp-consent:focus { outline: none; }
.pmp-consent:focus-visible { outline: 3px solid #222; outline-offset: -3px; }

.pmp-consent__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.pmp-consent__texte { flex: 1 1 auto; min-width: 0; }
.pmp-consent__titre { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: #222; }
.pmp-consent__txt { margin: 0; }
.pmp-consent__txt a { color: #b30516; text-decoration: underline; font-weight: 700; }
.pmp-consent__txt a:hover, .pmp-consent__txt a:focus { color: #222; }

.pmp-consent__actions { flex: 0 0 auto; display: flex; gap: 12px; }

/* Les deux boutons ont exactement le même style, la même taille et le même niveau */
.pmp-consent__btn {
    min-width: 130px;
    min-height: 44px;
    padding: 10px 22px;
    font: inherit;
    font-weight: 700;
    color: #222;
    background: #fff;
    border: 2px solid #222;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.pmp-consent__btn:hover { background: #222; color: #fff; }
.pmp-consent__btn:focus-visible { outline: 3px solid #e0061b; outline-offset: 2px; }

@media (max-width: 767px) {
    .pmp-consent { font-size: 14px; }
    .pmp-consent__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 15px; }
    .pmp-consent__actions { width: 100%; }
    .pmp-consent__btn { flex: 1 1 0; min-width: 0; padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { .pmp-consent__btn { transition: none; } }

/* Lien « Gérer les cookies » dans le texte des mentions légales (bouton présenté comme un lien) */
.pmp-consent-lien {
    display: inline;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 700;
    color: #b30516;
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}
.pmp-consent-lien:hover, .pmp-consent-lien:focus { color: #222; }
