/* content-gate.css - Version Monochrome Membres v1.3.3 - Interface épurée avec centres d'intérêt multiples */

.content-gate-container {
    position: relative;
    margin: 40px 0;
}

.content-gate-blur {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    pointer-events: none;
    user-select: none;
    position: relative;
    z-index: 1;
    transition: filter 0.5s ease;
}

.content-gate-blur::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.95) 80%, rgba(255,255,255,1) 100%);
    z-index: 2;
}

/* FORMULAIRE DE VÉRIFICATION EMAIL - VERSION COMPACTE MONOCHROME */
.content-gate-email-check {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px 30px;
    text-align: center;
    margin: 40px 0;
    border: 2px solid #333333;
    transition: all 0.3s ease;
    z-index: 10;
    animation: slideInFromTop 0.5s ease-out;
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.15);
}

.content-gate-email-check:hover {
    border-color: #000000;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 0 12px 35px rgba(51, 51, 51, 0.25);
}

.email-check-popup {
    max-width: 450px;
    margin: 0 auto;
}

/* TITRE DU FORMULAIRE EMAIL CHECK - SANS BALISE H4 - CENTRÉ ET GROS */
.email-check-title {
    color: #111111 !important;
    font-size: 24px !important;
    margin: 0 0 4px 0 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
    line-height: 1.1 !important;
}

/* DESCRIPTION DE L'ARTICLE - ESPACEMENT RÉDUIT */
.article-description {
    text-align: center !important;
    margin-bottom: 10px !important;
}

.article-description p {
    color: #444 !important;
    margin: 2px 0 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.email-check-popup strong {
    color: #333333;
    font-weight: 600;
}

#content-gate-email-check-form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

#check-email {
    flex: 1;
    min-width: 250px;
    padding: 14px 18px;
    border: 1px solid #e8e8e8;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #111111;
    font-family: inherit;
}

#check-email:focus {
    outline: none;
    border-color: #333333;
    background: white;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

#content-gate-email-check-form button {
    background: linear-gradient(135deg, #111111 0%, #333333 100%);
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(17, 17, 17, 0.3);
}

#content-gate-email-check-form button:hover {
    background: linear-gradient(135deg, #000000 0%, #444444 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

#content-gate-email-check-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* NOTE POUR NOUVEAUX UTILISATEURS - COMPACTE */
.signup-note {
    margin-top: 15px;
    text-align: center !important;
}

.signup-note p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 11px !important;
    line-height: 1.3;
    font-weight: 500;
    text-align: center !important;
}

/* POPUP COMPLET - VERSION COMPACTE */
.content-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.85);
    display: none;
    justify-content: center;
    align-items: center; 
    z-index: 10000;
    backdrop-filter: blur(10px);
    padding: 20px; 
    box-sizing: border-box; 
}

.content-gate-overlay.active {
    display: flex !important;
}

.content-gate-popup {
    background: white;
    padding: 40px 35px;
    max-width: 580px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(0);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LOGO */
.content-gate-logo {
    margin-bottom: 25px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.content-gate-logo img {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(1) contrast(1);
}

.content-gate-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* EN-TÊTE DU FORMULAIRE - VERSION COMPACTE SANS SÉPARATEUR */
.content-gate-header {
    text-align: center;
    margin-bottom: 20px !important;
}

/* TITRE PRINCIPAL DU FORMULAIRE - SANS BALISE H3 - TRÈS GROS ET GRAS */
.form-main-title {
    color: #111111 !important;
    font-size: 36px !important;
    margin: 0 0 8px 0 !important;
    font-weight: 800 !important;
    letter-spacing: -0.8px !important;
    line-height: 1.1 !important;
    text-align: center !important;
    display: block !important;
}

.content-gate-header p {
    color: #666 !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

.content-gate-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #111111;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 18px 22px;
    border: 1px solid #e8e8e8;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #111111;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #333333;
    background: white;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.form-group input::placeholder {
    color: #999;
    font-style: italic;
}

/* INDICES POUR LES CHAMPS */
.field-hint {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    display: block;
    font-style: italic;
    line-height: 1.3;
}

/* GROUPE DE CHECKBOXES - LAYOUT EN GRID POUR 2 COLONNES */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
    gap: 10px 15px; /* 10px vertical, 15px horizontal */
    margin-top: 10px;
    max-height: 280px; /* Réduit car 2 colonnes */
    overflow-y: auto;
    padding-right: 5px;
}

.checkbox-group::-webkit-scrollbar {
    width: 6px;
}

.checkbox-group::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.checkbox-group::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.checkbox-group::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ITEM DE CHECKBOX INDIVIDUEL - VERSION COMPACTE POUR GRID */
.checkbox-item {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 10px 12px; /* Plus compact */
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 4px; /* Plus petit */
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
    animation: checkboxFadeIn 0.3s ease-out;
    min-height: 45px; /* Hauteur minimale pour uniformité */
}

.checkbox-item:hover {
    background: #f5f5f5;
    border-color: #333333;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(51, 51, 51, 0.15);
}

.checkbox-item.selected {
    background: #f0f9ff;
    border-color: #333333;
    box-shadow: 0 0 0 1px rgba(51, 51, 51, 0.2);
}

.checkbox-item.selected:hover {
    background: #e8f4f8;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.25);
}

/* INPUT CHECKBOX CACHÉ - STYLE PERSONNALISÉ */
.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* CHECKBOX PERSONNALISÉE - PLUS PETITE POUR GRID */
.checkbox-item::before {
    content: '';
    display: inline-block;
    width: 16px; /* Plus petit */
    height: 16px; /* Plus petit */
    border: 2px solid #e8e8e8;
    border-radius: 3px; /* Plus petit */
    margin-right: 10px; /* Plus compact */
    flex-shrink: 0;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    top: 2px; /* Ajusté pour l'alignement */
}

.checkbox-item:hover::before {
    border-color: #333333;
    box-shadow: 0 0 0 1px rgba(51, 51, 51, 0.1);
}

/* ÉTAT COCHÉ - JUSTE LA CASE DEVIENT NOIRE */
.checkbox-item.selected::before {
    background: #333333;
    border-color: #333333;
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.3);
}

/* Suppression de l'icône check - juste la case noire */

/* TEXTE DU CHECKBOX - PLUS COMPACT */
.checkbox-text {
    color: #333333;
    font-size: 12px; /* Plus petit */
    font-weight: 500;
    line-height: 1.3; /* Plus compact */
    user-select: none;
    flex: 1;
}

.checkbox-item:hover .checkbox-text {
    color: #111111;
    font-weight: 600;
}

.checkbox-item.selected .checkbox-text {
    color: #111111;
    font-weight: 600;
}

/* ANIMATION DES CHECKBOXES */
@keyframes checkboxFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ANIMATION DE SÉLECTION */
.checkbox-item.selected {
    animation: checkboxSelect 0.3s ease-out;
}

@keyframes checkboxSelect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* ÉTATS D'ERREUR POUR LES CHECKBOXES */
.form-group.has-error .checkbox-group {
    border: 1px solid #dc2626;
    border-radius: 6px;
    padding: 12px;
    background: #fef2f2;
}

.form-group.has-error .checkbox-item {
    background: white;
    border-color: #f87171;
}

.form-group.has-error .checkbox-item:hover {
    border-color: #dc2626;
}

/* MESSAGES DU FORMULAIRE */
.form-message {
    background: #f0f9ff;
    padding: 20px;
    border-left: 4px solid #333333;
    margin: 25px 0;
    border-radius: 0 6px 6px 0;
    position: relative;
}

.form-message::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #333333 0%, #111111 100%);
}

.form-message strong {
    display: block;
    color: #111111;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.form-data-info {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    font-style: italic;
    opacity: 0.9;
}

/* BOUTON PRINCIPAL - VERSION MONOCHROME */
.content-gate-submit {
    background: linear-gradient(135deg, #333333 0%, #111111 100%);
    color: white;
    border: none;
    padding: 20px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 25px;
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 6px 20px rgba(51, 51, 51, 0.3);
    border-radius: 0;
}

.content-gate-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.4);
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.content-gate-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.5);
}

.content-gate-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.content-gate-submit.ready-to-submit {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    animation: readyPulse 2s infinite;
}

@keyframes readyPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(51, 51, 51, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(51, 51, 51, 0.5);
    }
}

.button-loading {
    display: none;
}

.content-gate-submit.loading .button-text {
    display: none;
}

.content-gate-submit.loading .button-loading {
    display: inline;
}

/* BARRE DE PROGRESSION DU FORMULAIRE */
.form-progress {
    width: 100%;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #666666 0%, #333333 100%);
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 2px;
}

/* FOOTER SIMPLIFIÉ ET CENTRÉ */
.content-gate-footer {
    text-align: center !important;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f5f5f5;
}

.content-gate-footer p {
    margin: 0 !important;
    text-align: center !important;
}

.content-gate-footer small {
    color: #666;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
    text-align: center !important;
}

/* MESSAGES D'ERREUR ET DE SUCCÈS */
.content-gate-message {
    padding: 16px 20px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 14px;
    border-left: 4px solid;
    border-radius: 0 4px 4px 0;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-gate-message.error {
    background: #fef2f2;
    color: #dc2626;
    border-left-color: #dc2626;
}

.content-gate-message.success {
    background: #f0f9ff;
    color: #333333;
    border-left-color: #333333;
}

/* MESSAGES POUR LE FORMULAIRE DE VÉRIFICATION - MONOCHROME */
.email-check-message {
    margin-top: 15px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid;
    text-transform: none;
    letter-spacing: normal;
    animation: slideInFromTop 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.email-check-message.success {
    background: #f0f9ff;
    color: #333333;
    border-left-color: #333333;
}

.email-check-message.error {
    background: #fef2f2;
    color: #dc2626;
    border-left-color: #dc2626;
}

.email-check-message.info {
    background: #f0f9ff;
    color: #333333;
    border-left-color: #333333;
}

/* CROIX DE FERMETURE */
.content-gate-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1000;
    border-radius: 50%;
}

.content-gate-close:hover {
    color: #111111;
    background: #f5f5f5;
    transform: scale(1.1);
}

.content-gate-close:active {
    transform: scale(0.95);
    background: #e8e8e8;
}

.content-gate-close span {
    font-size: 26px;
    line-height: 1;
    font-weight: 300;
}

.content-gate-close:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 2px;
    background: #f5f5f5;
    color: #111111;
}

/* ERREURS DE CHAMPS */
.field-error {
    color: #dc2626;
    font-size: 11px;
    margin-top: 8px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    display: block;
    animation: errorSlideIn 0.3s ease-out;
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #dc2626;
    background: #fef2f2;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

/* ANIMATION POUR LE DÉBLOCAGE DU CONTENU */
.content-unlocked {
    animation: contentReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes contentReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* STYLE POUR LE CONTENU DÉBLOQUÉ */
.content-gate-container.unlocked .content-gate-blur {
    filter: none;
    -webkit-filter: none;
    pointer-events: auto;
    user-select: auto;
}

.content-gate-container.unlocked .content-gate-blur::after {
    display: none;
}

.content-gate-container.unlocked .content-gate-overlay,
.content-gate-container.unlocked .content-gate-email-check {
    display: none !important;
}

/* MESSAGE FLOTTANT DE SUCCÈS */
.floating-message {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #000000;
    color: white;
    padding: 16px 22px;
    z-index: 10001;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-left: 3px solid #333333;
    border-radius: 0;
}

.floating-message.show {
    transform: translateX(0);
}

.floating-message::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #333333 0%, #111111 100%);
}

/* COMPTEUR DE SÉLECTIONS */
.selection-counter {
    background: #333333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    animation: counterUpdate 0.3s ease-out;
}

@keyframes counterUpdate {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.selection-counter.empty {
    background: #e8e8e8;
    color: #666666;
}

.selection-counter.complete {
    background: linear-gradient(135deg, #333333 0%, #111111 100%);
    animation: completePulse 0.5s ease-out;
}

@keyframes completePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(51, 51, 51, 0.2);
    }
}

/* SUGGESTIONS EMAIL */
.email-suggestion {
    background: #f0f9ff;
    border: 1px solid #333333;
    padding: 8px 12px;
    margin-top: 5px;
    cursor: pointer;
    font-size: 12px;
    color: #333333;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.email-suggestion:hover {
    background: #e8f4f8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.15);
}

.email-suggestion:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(51, 51, 51, 0.2);
}

/* VALIDATION VISUELLE EN TEMPS RÉEL - SUPPRIMÉE POUR LES CHAMPS NORMAUX */
.form-group.completed {
    position: relative;
}

/* Les checkmarks sur les champs normaux sont supprimés */

/* MESSAGES DE BIENVENUE */
.welcome-back-message {
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4f8 100%);
    color: #333333;
    border: 2px solid #333333;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    border-radius: 6px;
    animation: welcomeGlow 0.8s ease-out;
}

@keyframes welcomeGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(51, 51, 51, 0.7);
        transform: scale(0.95);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(51, 51, 51, 0.3);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(51, 51, 51, 0);
        transform: scale(1);
    }
}

/* MESSAGES DE BIENVENUE - SANS BALISE H4 */
.welcome-back-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

.welcome-back-message p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

/* ÉTATS DE SUCCÈS DU FORMULAIRE */
.content-gate-form.success-state {
    animation: successPulse 1s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.content-gate-form.success-state .form-group {
    pointer-events: none;
}

.content-gate-form.success-state .checkbox-item {
    opacity: 0.7;
    cursor: not-allowed;
}

/* RESPONSIVE OPTIMISÉ */
@media (max-width: 768px) {
    .content-gate-popup {
        padding: 30px 25px;
        margin: 15px;
        max-height: 95vh;
        max-width: 95%;
    }
    
    .content-gate-logo img {
        max-width: 100px;
    }
    
    .content-gate-email-check {
        padding: 20px 15px;
        margin: 25px 0;
    }
    
    .email-check-title {
        font-size: 20px !important;
        text-align: center !important;
        margin: 0 0 2px 0 !important;
        font-weight: 800 !important;
    }
    
    .email-check-popup {
        max-width: 100%;
    }
    
    #content-gate-email-check-form {
        flex-direction: column;
        gap: 12px;
    }
    
    #check-email {
        min-width: auto;
        width: 100%;
        font-size: 16px;
        padding: 14px 16px;
    }
    
    #content-gate-email-check-form button {
        width: 100%;
        padding: 14px 20px;
    }
    
    .content-gate-header {
        margin-bottom: 15px !important;
    }
    
    .article-description {
        margin-bottom: 8px !important;
    }
    
    .article-description p {
        margin: 1px 0 !important;
        font-size: 14px !important;
    }
    
    .form-main-title {
        font-size: 32px !important;
        font-weight: 900 !important;
        margin: 0 0 5px 0 !important;
        letter-spacing: -0.8px !important;
    }
    
    .form-group {
        gap: 18px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px;
        padding: 16px 18px;
    }
    
    /* Checkboxes responsives */
    .checkbox-group {
        max-height: 250px;
        gap: 10px;
    }
    
    .checkbox-item {
        padding: 12px 16px;
    }
    
    .checkbox-item::before {
        width: 18px;
        height: 18px;
        margin-right: 12px;
    }
    
/* RESPONSIVE - PAS D'ICÔNE CHECK À GÉRER */
@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
        max-height: 250px;
        gap: 8px;
    }
    
    .checkbox-item {
        padding: 8px 12px;
        min-height: 40px;
    }
    
    .checkbox-item::before {
        width: 14px;
        height: 14px;
        margin-right: 8px;
        top: 1px;
    }
    
    .checkbox-text {
        font-size: 11px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .checkbox-group {
        max-height: 200px;
        gap: 6px;
    }
    
    .checkbox-item {
        padding: 6px 10px;
        min-height: 35px;
    }
    
    .checkbox-item::before {
        width: 12px;
        height: 12px;
        margin-right: 6px;
    }
    
    .checkbox-text {
        font-size: 10px;
        line-height: 1.2;
    }
}
    
    .checkbox-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .form-message {
        padding: 14px;
    }
    
    .form-message strong {
        font-size: 13px;
    }
    
    .form-data-info {
        font-size: 11px;
    }
    
    .content-gate-submit {
        padding: 16px 24px;
        margin-top: 18px;
        font-size: 14px;
    }
}

/* FOCUS AVANCÉ POUR ACCESSIBILITÉ */
.content-gate-submit:focus-visible,
.form-group input:focus-visible,
.form-group select:focus-visible,
#check-email:focus-visible,
#content-gate-email-check-form button:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

.checkbox-item:focus-within {
    outline: 2px solid #333333;
    outline-offset: 2px;
    border-color: #333333;
}

/* ANIMATION DE CHARGEMENT */
.content-gate-submit.loading::after,
#content-gate-email-check-form button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* MICRO-INTERACTIONS PREMIUM */
.content-gate-submit,
#content-gate-email-check-form button {
    position: relative;
    overflow: hidden;
}

.content-gate-submit::before,
#content-gate-email-check-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.content-gate-submit:hover::before,
#content-gate-email-check-form button:hover::before {
    left: 100%;
}

/* GESTION DES ÉTATS DISABLED */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.checkbox-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* PRINT STYLES */
@media print {
    .content-gate-overlay,
    .content-gate-email-check,
    .floating-message,
    .content-gate-close {
        display: none !important;
    }
    
    .content-gate-blur {
        filter: none !important;
    }
    
    .content-gate-blur::after {
        display: none !important;
    }
    
    .content-gate-popup {
        box-shadow: none !important;
        border: 1px solid #333333 !important;
    }
}

/* PRÉFÉRENCES DE MOUVEMENT RÉDUIT */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .checkbox-item:hover,
    .content-gate-submit:hover,
    #content-gate-email-check-form button:hover {
        transform: none !important;
    }
}

/* MODE SOMBRE SUPPRIMÉ - Interface monochrome uniquement */

/* COMPATIBILITÉ NAVIGATEURS ANCIENS */
.checkbox-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.content-gate-overlay {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Fallback pour navigateurs sans support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .content-gate-overlay {
        background: rgba(17, 17, 17, 0.95);
    }
}

/* OPTIMISATIONS PERFORMANCES */
.checkbox-item,
.content-gate-submit,
#content-gate-email-check-form button {
    will-change: transform;
}

.progress-bar {
    will-change: width;
}

.floating-message {
    will-change: transform;
}

/* STYLES POUR HAUTE DENSITÉ DE PIXELS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .checkbox-item::before {
        border-width: 1px;
    }
    
    .form-message,
    .email-check-message {
        border-left-width: 3px;
    }
}

/* STYLES POUR ÉCRANS TRÈS LARGES - GRID OPTIMISÉ */
@media (min-width: 1200px) {
    .content-gate-popup {
        max-width: 650px;
    }
    
    .checkbox-group {
        max-height: 320px;
        gap: 12px 20px; /* Plus d'espace sur grands écrans */
    }
    
    .checkbox-item {
        padding: 12px 14px;
        min-height: 50px;
    }
    
    .checkbox-text {
        font-size: 13px;
    }
}

/* STYLES POUR ÉCRANS ULTRALARGES */
@media (min-width: 1600px) {
    .content-gate-popup {
        max-width: 700px;
        padding: 50px 45px;
    }
    
    .form-main-title {
        font-size: 42px !important;
    }
    
    .checkbox-group {
        max-height: 400px;
        column-gap: 25px;
    }
}