/**
 * LinovCaptcha - styles front
 */
.linovcaptcha {
    margin: 15px 0;
    clear: both;
}

/* Le widget v3 ne rend rien de visible : pas de marge inutile. */
.linovcaptcha[data-version="v3"] {
    margin: 0;
}

.linovcaptcha .g-recaptcha {
    display: inline-block;
}

/**
 * Champ leurre : il doit rester dans le DOM et soumis avec le formulaire,
 * mais être invisible et inatteignable au clavier comme au lecteur d'écran.
 */
.linovcaptcha-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .linovcaptcha {
        margin: 10px 0;
    }

    /* Le widget v2 « normal » (302 px) déborde sur les petits écrans. */
    .linovcaptcha .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}
