/**
 * hb-geo-consent.css — bandeau de partage de position.
 *
 * Discret par construction : posé en bas, il ne couvre pas la page, ne bloque
 * ni le défilement ni le clic ailleurs. Ce n'est pas un mur, c'est une
 * proposition.
 *
 * Les deux boutons ont STRICTEMENT le même poids : mêmes dimensions, même
 * graisse, même taille de texte, même contraste sur le fond. Refuser doit être
 * aussi facile qu'accepter, et cela se voit à l'oeil avant de se lire.
 */

.hb-geo {
    position: fixed;
    z-index: 9998;
    inset-inline: 16px;
    bottom: 16px;
    margin-inline: auto;
    max-width: 560px;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid rgba(205, 175, 118, 0.28);
    background: linear-gradient(150deg, rgba(42, 42, 65, 0.98), rgba(31, 31, 48, 0.99));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    color: rgba(250, 247, 241, 0.92);
    font-family: 'Inter', 'Montserrat', system-ui, sans-serif;

    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hb-geo--visible {
    opacity: 1;
    transform: translateY(0);
}

.hb-geo__titre {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.hb-geo__corps {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(250, 247, 241, 0.72);
}

.hb-geo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Socle commun : c'est LUI qui garantit l'égalité de poids des deux gestes. */
.hb-geo__btn {
    flex: 1 1 auto;
    min-width: 180px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 40px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
}

.hb-geo__btn--oui {
    background: #cdaf76;
    border-color: #cdaf76;
    color: #1f1f30;
}

.hb-geo__btn--oui:hover {
    background: #e0c896;
    border-color: #e0c896;
}

.hb-geo__btn--non {
    background: transparent;
    border-color: rgba(224, 200, 150, 0.55);
    color: #e0c896;
}

.hb-geo__btn--non:hover {
    background: rgba(224, 200, 150, 0.12);
    border-color: #e0c896;
}

.hb-geo__btn:focus-visible {
    outline: 2px solid #e0c896;
    outline-offset: 3px;
}

/* Arabe : le bandeau suit le sens de lecture de la page. */
.hb-geo--rtl {
    direction: rtl;
    text-align: right;
}

@media (max-width: 480px) {
    .hb-geo {
        inset-inline: 10px;
        bottom: 10px;
        padding: 18px 18px 20px;
    }

    .hb-geo__corps {
        font-size: 12.5px;
    }

    /* Sur un écran étroit les deux boutons passent l'un sous l'autre, à
       largeur identique : l'égalité de poids tient aussi en colonne. */
    .hb-geo__btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb-geo {
        transition: none;
        transform: none;
    }
}

/* Lien de retrait déjà utilisé, dans la politique de confidentialité. */
.hb-geo-revoque {
    opacity: 0.65;
    pointer-events: none;
    text-decoration: none;
}
