/* Bandeau de consentement GA4 — voir static/consent.js. */
.consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

.consent-banner[hidden] {
    display: none;
}

/* À partir de la 2e page vue sans choix : au centre de l'écran. */
.consent-banner.consent-center {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    box-shadow: 0 0 0 100vmax rgba(17, 24, 39, 0.35), 0 6px 24px rgba(17, 24, 39, 0.25);
}

.consent-banner a {
    color: #2563eb;
}

.consent-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

/* Refuser et Accepter : même niveau, même taille, même style. */
.consent-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font: inherit;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.consent-btn:hover {
    background: #1d4ed8;
}
