/* sticky-newsletter.css - Version Monochrome Newsletter v1.0.2 - Interface épurée avec centres d'intérêt multiples */

/* ====== BOUTON STICKY NEWSLETTER (garde le style existant) ====== */
.ninth-sticky-newsletter-button {
    position: fixed;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    z-index: 2147483647;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
}

/* État normal (complet) */
.ninth-sticky-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px 20px 25px 30px;
    box-shadow: 
        -8px 0 32px rgba(0,0,0,0.12),
        -4px 0 16px rgba(0,0,0,0.08),
        -1px 0 4px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
    border-right: none;
    border-radius: 16px 0 0 16px;
    width: auto;
    max-width: 280px;
    backdrop-filter: blur(10px);
    position: relative;
}

.ninth-sticky-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 16px 0 0 16px;
    z-index: -1;
    backdrop-filter: blur(12px);
}

.ninth-sticky-content::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(180deg, transparent 0%, #000000 20%, #000000 80%, transparent 100%);
    border-radius: 2px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.ninth-sticky-newsletter-button:hover .ninth-sticky-content {
    transform: translateX(-8px);
    box-shadow: 
        -12px 0 48px rgba(0,0,0,0.16),
        -6px 0 24px rgba(0,0,0,0.12),
        -2px 0 8px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.ninth-sticky-newsletter-button:hover .ninth-sticky-content::after {
    opacity: 1;
    width: 4px;
}

/* Bouton de fermeture épuré et élégant */
.ninth-sticky-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    color: rgba(0,0,0,0.4);
    transition: color 0.2s ease;
    z-index: 10;
    border-radius: 50%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ninth-sticky-close:hover {
    color: rgba(0,0,0,0.6);
}

.ninth-sticky-close:active {
    transform: scale(0.95);
}

/* État minimisé */
.ninth-sticky-minimized {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 15px 8px;
    box-shadow: 
        -6px 0 24px rgba(0,0,0,0.15),
        -3px 0 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    border-radius: 12px 0 0 12px;
    width: 60px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.ninth-sticky-minimized::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: linear-gradient(180deg, transparent 0%, #ffffff 20%, #ffffff 80%, transparent 100%);
    border-radius: 2px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.ninth-sticky-minimized:hover {
    transform: translateX(-5px);
    box-shadow: 
        -8px 0 32px rgba(0,0,0,0.2),
        -4px 0 16px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.ninth-sticky-minimized:hover::before {
    opacity: 1;
    width: 4px;
}

.ninth-sticky-minimized-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-align: center;
    user-select: none;
}

/* Titre newsletter */
.ninth-sticky-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    font-family: inherit;
    text-align: center;
    position: relative;
    opacity: 0.9;
}

.ninth-sticky-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #000000 50%, transparent 100%);
    opacity: 0.6;
}

/* Bouton principal */
.ninth-sticky-btn {
    width: 100%;
    min-width: 200px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 18px 24px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    border-radius: 10px;
    box-shadow: 
        0 4px 16px rgba(0,0,0,0.15),
        0 2px 8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.ninth-sticky-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    transition: left 0.6s ease;
    z-index: 1;
}

.ninth-sticky-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-left: none;
    border-bottom: none;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.ninth-sticky-btn:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(0,0,0,0.2),
        0 4px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.1);
    letter-spacing: 3px;
}

.ninth-sticky-btn:hover::before {
    left: 100%;
}

.ninth-sticky-btn:hover::after {
    opacity: 0.8;
    transform: translateY(-50%) rotate(45deg) translateX(2px);
}

/* ====== POPUP NEWSLETTER STYLE CONTENT GATE ====== */

.ninth-sticky-popup {
    position: fixed !important;
    z-index: 2147483647 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(17, 17, 17, 0.85) !important;
    display: none;
    justify-content: center !important;
    align-items: center !important;
    backdrop-filter: blur(10px);
    padding: 20px;
    box-sizing: border-box;
}

.ninth-sticky-popup[style*="flex"] {
    display: flex !important;
}

/* Force l'affichage quand ouvert par JavaScript */
.ninth-sticky-popup.ninth-popup-open {
    display: flex !important;
}

.ninth-sticky-popup-content {
    background: white !important;
    padding: 40px 35px !important;
    max-width: 580px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5) !important;
    animation: ninthSlideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
    z-index: 2147483647 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

@keyframes ninthSlideInUp {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(0);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* LOGO */
.ninth-sticky-logo {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.ninth-sticky-logo img {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(1) contrast(1);
}

.ninth-sticky-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* TITRE DU FORMULAIRE NEWSLETTER - CLASSE SPÉCIFIQUE - TAILLE CORRIGÉE */
.ninth-newsletter-title {
    color: #111111 !important;
    font-size: 16px !important; /* Réduit de 20px à 16px */
    margin: 0 0 15px 0 !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    display: block !important;
    text-transform: uppercase !important;
}

/* FORMULAIRE NEWSLETTER */
.ninth-sticky-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ninth-form-group {
    display: flex;
    flex-direction: column;
}

.ninth-form-group label {
    font-weight: 500;
    color: #111111;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ninth-form-group input,
.ninth-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;
}

.ninth-form-group input:focus,
.ninth-form-group select:focus {
    outline: none;
    border-color: #333333;
    background: white;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.ninth-form-group input::placeholder {
    color: #999;
    font-style: italic;
}

/* GROUPE DE CHECKBOXES NEWSLETTER - LAYOUT EN GRID POUR 2 COLONNES */
.ninth-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;
}

.ninth-checkbox-group::-webkit-scrollbar {
    width: 6px;
}

.ninth-checkbox-group::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.ninth-checkbox-group::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.ninth-checkbox-group::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ITEM DE CHECKBOX INDIVIDUEL NEWSLETTER - VERSION COMPACTE POUR GRID */
.ninth-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: ninthCheckboxFadeIn 0.3s ease-out;
    min-height: 45px; /* Hauteur minimale pour uniformité */
}

.ninth-checkbox-item:hover {
    background: #f5f5f5;
    border-color: #333333;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(51, 51, 51, 0.15);
}

.ninth-checkbox-item.selected {
    background: #f0f9ff;
    border-color: #333333;
    box-shadow: 0 0 0 1px rgba(51, 51, 51, 0.2);
}

.ninth-checkbox-item.selected:hover {
    background: #e8f4f8;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.25);
}

/* INPUT CHECKBOX CACHÉ NEWSLETTER */
.ninth-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* CHECKBOX PERSONNALISÉE NEWSLETTER - PLUS PETITE POUR GRID */
.ninth-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 */
}

.ninth-checkbox-item:hover::before {
    border-color: #333333;
    box-shadow: 0 0 0 1px rgba(51, 51, 51, 0.1);
}

/* ÉTAT COCHÉ NEWSLETTER - JUSTE LA CASE DEVIENT NOIRE */
.ninth-checkbox-item.selected::before {
    background: #333333;
    border-color: #333333;
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.3);
}

/* TEXTE DU CHECKBOX NEWSLETTER - PLUS COMPACT */
.ninth-checkbox-text {
    color: #333333;
    font-size: 12px; /* Plus petit */
    font-weight: 500;
    line-height: 1.3; /* Plus compact */
    user-select: none;
    flex: 1;
}

.ninth-checkbox-item:hover .ninth-checkbox-text {
    color: #111111;
    font-weight: 600;
}

.ninth-checkbox-item.selected .ninth-checkbox-text {
    color: #111111;
    font-weight: 600;
}

/* ANIMATION DES CHECKBOXES NEWSLETTER */
@keyframes ninthCheckboxFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ANIMATION DE SÉLECTION NEWSLETTER */
.ninth-checkbox-item.selected {
    animation: ninthCheckboxSelect 0.3s ease-out;
}

@keyframes ninthCheckboxSelect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* ÉTATS D'ERREUR POUR LES CHECKBOXES NEWSLETTER */
.ninth-form-group.has-error .ninth-checkbox-group {
    border: 1px solid #dc2626;
    border-radius: 6px;
    padding: 12px;
    background: #fef2f2;
}

.ninth-form-group.has-error .ninth-checkbox-item {
    background: white;
    border-color: #f87171;
}

.ninth-form-group.has-error .ninth-checkbox-item:hover {
    border-color: #dc2626;
}

/* BOUTON PRINCIPAL NEWSLETTER - VERSION MONOCHROME */
.ninth-sticky-form button[type="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;
}

.ninth-sticky-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.4);
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.ninth-sticky-form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.5);
}

.ninth-sticky-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* MESSAGES DU FORMULAIRE NEWSLETTER - VISIBLE PAR DÉFAUT */
.ninth-form-message {
    background: #f0f9ff;
    padding: 15px 20px;
    border-left: 4px solid #333333;
    margin: 20px 0 10px 0;
    border-radius: 0 6px 6px 0;
    position: relative;
    display: block; /* Toujours visible */
}

.ninth-form-message::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #333333 0%, #111111 100%);
}

.ninth-form-message strong {
    display: block;
    color: #111111;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 600;
}

.ninth-form-data-info {
    color: #666;
    font-size: 11px;
    line-height: 1.4;
    font-style: italic;
    opacity: 0.9;
}

/* CROIX DE FERMETURE NEWSLETTER */
.ninth-sticky-popup .ninth-sticky-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%;
}

.ninth-sticky-popup .ninth-sticky-close:hover {
    color: #111111;
    background: #f5f5f5;
    transform: scale(1.1);
}

.ninth-sticky-popup .ninth-sticky-close:active {
    transform: scale(0.95);
    background: #e8e8e8;
}

.ninth-sticky-popup .ninth-sticky-close:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 2px;
    background: #f5f5f5;
    color: #111111;
}

/* ERREURS DE CHAMPS NEWSLETTER */
.ninth-field-error {
    color: #dc2626;
    font-size: 11px;
    margin-top: 8px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    display: block;
    animation: ninthErrorSlideIn 0.3s ease-out;
}

@keyframes ninthErrorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ninth-form-group.has-error input,
.ninth-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 NEWSLETTER */
.ninth-content-unlocked {
    animation: ninthContentReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ninthContentReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* MESSAGE FLOTTANT DE SUCCÈS NEWSLETTER */
.ninth-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;
}

.ninth-floating-message.show {
    transform: translateX(0);
}

.ninth-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 NEWSLETTER */
.ninth-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: ninthCounterUpdate 0.3s ease-out;
}

@keyframes ninthCounterUpdate {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ninth-selection-counter.empty {
    background: #e8e8e8;
    color: #666666;
}

.ninth-selection-counter.complete {
    background: linear-gradient(135deg, #333333 0%, #111111 100%);
    animation: ninthCompletePulse 0.5s ease-out;
}

@keyframes ninthCompletePulse {
    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 NEWSLETTER */
.ninth-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;
}

.ninth-email-suggestion:hover {
    background: #e8f4f8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.15);
}

.ninth-email-suggestion:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(51, 51, 51, 0.2);
}

/* MESSAGES DE BIENVENUE NEWSLETTER */
.ninth-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: ninthWelcomeGlow 0.8s ease-out;
}

@keyframes ninthWelcomeGlow {
    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);
    }
}

.ninth-welcome-back-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

.ninth-welcome-back-message p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

/* ÉTATS DE SUCCÈS DU FORMULAIRE NEWSLETTER */
.ninth-sticky-form.success-state {
    animation: ninthSuccessPulse 1s ease-out;
}

@keyframes ninthSuccessPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ninth-sticky-form.success-state .ninth-form-group {
    pointer-events: none;
}

.ninth-sticky-form.success-state .ninth-checkbox-item {
    opacity: 0.7;
    cursor: not-allowed;
}

/* RESPONSIVE OPTIMISÉ NEWSLETTER */
@media (max-width: 768px) {
    .ninth-sticky-popup-content {
        padding: 30px 25px;
        margin: 15px;
        max-height: 95vh;
        max-width: 95%;
    }
    
    .ninth-sticky-logo img {
        max-width: 100px;
    }
    
    .ninth-sticky-content {
        padding: 18px 12px 18px 20px;
        max-width: 220px;
    }
    
    .ninth-sticky-title {
        font-size: 9px;
        letter-spacing: 2.5px;
        margin-bottom: 12px;
    }
    
    .ninth-sticky-btn {
        min-width: 160px;
        padding: 14px 18px;
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .ninth-sticky-minimized {
        width: 50px;
        padding: 12px 6px;
    }
    
    /* TITRE NEWSLETTER RESPONSIVE - PLUS PETIT SUR TABLETTE */
    .ninth-newsletter-title {
        font-size: 14px !important; /* Réduit à 14px sur tablette */
        margin: 0 0 12px 0 !important;
        letter-spacing: -0.1px !important;
    }
    
    .ninth-form-group {
        gap: 18px;
    }
    
    .ninth-form-group input,
    .ninth-form-group select {
        font-size: 16px;
        padding: 16px 18px;
    }
    
    /* Checkboxes responsives newsletter */
    .ninth-checkbox-group {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
        max-height: 250px;
        gap: 8px;
    }
    
    .ninth-checkbox-item {
        padding: 8px 12px;
        min-height: 40px;
    }
    
    .ninth-checkbox-item::before {
        width: 14px;
        height: 14px;
        margin-right: 8px;
        top: 1px;
    }
    
    .ninth-checkbox-text {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .ninth-form-message {
        padding: 14px;
    }
    
    .ninth-form-message strong {
        font-size: 13px;
    }
    
    .ninth-form-data-info {
        font-size: 11px;
    }
    
    .ninth-sticky-form button[type="submit"] {
        padding: 16px 24px;
        margin-top: 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ninth-sticky-content {
        padding: 15px 8px 15px 16px;
        max-width: 180px;
        border-radius: 10px 0 0 10px;
    }
    
    .ninth-sticky-content::after {
        width: 2px;
        top: 25%;
        bottom: 25%;
    }
    
    .ninth-sticky-title {
        font-size: 8px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .ninth-sticky-btn {
        min-width: 120px;
        padding: 12px 14px;
        font-size: 9px;
        letter-spacing: 1.5px;
        border-radius: 6px;
    }
    
    .ninth-sticky-btn::after {
        width: 6px;
        height: 6px;
        right: 10px;
    }
    
    .ninth-sticky-minimized {
        width: 40px;
        padding: 10px 5px;
        border-radius: 8px 0 0 8px;
    }
    
    .ninth-sticky-minimized-text {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
    
    .ninth-sticky-popup-content {
        padding: 20px 15px;
        max-width: 320px;
        max-height: 80vh;
        width: 95%;
    }
    
    /* TITRE NEWSLETTER RESPONSIVE - TRÈS PETIT SUR MOBILE */
    .ninth-newsletter-title {
        font-size: 12px !important; /* Encore plus petit sur mobile */
        margin: 0 0 10px 0 !important;
        letter-spacing: 0px !important;
    }
    
    .ninth-checkbox-group {
        max-height: 200px;
        gap: 6px;
    }
    
    .ninth-checkbox-item {
        padding: 6px 10px;
        min-height: 35px;
    }
    
    .ninth-checkbox-item::before {
        width: 12px;
        height: 12px;
        margin-right: 6px;
    }
    
    .ninth-checkbox-text {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .ninth-sticky-newsletter-button:hover .ninth-sticky-content {
        transform: translateX(-3px);
    }
    
    /* Bouton de fermeture sticky responsive newsletter */
    .ninth-sticky-content .ninth-sticky-close {
        width: 20px;
        height: 20px;
        font-size: 14px;
        top: 3px;
        right: 3px;
    }
    
    /* Bouton de fermeture popup responsive newsletter */
    .ninth-sticky-popup .ninth-sticky-close {
        width: 28px;
        height: 28px;
        font-size: 24px;
        right: 15px;
        top: 10px;
    }
}

/* FOCUS AVANCÉ POUR ACCESSIBILITÉ NEWSLETTER */
.ninth-sticky-form button[type="submit"]:focus-visible,
.ninth-form-group input:focus-visible,
.ninth-form-group select:focus-visible,
.ninth-sticky-btn:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

.ninth-checkbox-item:focus-within {
    outline: 2px solid #333333;
    outline-offset: 2px;
    border-color: #333333;
}

/* ANIMATION DE CHARGEMENT NEWSLETTER */
.ninth-sticky-form button[type="submit"].loading::after,
.ninth-sticky-btn.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: ninthSpin 0.8s linear infinite;
}

@keyframes ninthSpin {
    to {
        transform: rotate(360deg);
    }
}

/* MICRO-INTERACTIONS PREMIUM NEWSLETTER */
.ninth-sticky-form button[type="submit"],
.ninth-sticky-btn {
    position: relative;
    overflow: hidden;
}

.ninth-sticky-form button[type="submit"]::before,
.ninth-sticky-btn::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;
}

.ninth-sticky-form button[type="submit"]:hover::before,
.ninth-sticky-btn:hover::before {
    left: 100%;
}

/* GESTION DES ÉTATS DISABLED NEWSLETTER */
.ninth-form-group input:disabled,
.ninth-form-group select:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.ninth-checkbox-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* PRINT STYLES NEWSLETTER */
@media print {
    .ninth-sticky-popup,
    .ninth-sticky-newsletter-button,
    .ninth-floating-message,
    .ninth-sticky-close {
        display: none !important;
    }
    
    .ninth-sticky-popup-content {
        box-shadow: none !important;
        border: 1px solid #333333 !important;
    }
}

/* PRÉFÉRENCES DE MOUVEMENT RÉDUIT NEWSLETTER */
@media (prefers-reduced-motion: reduce) {
    .ninth-checkbox-item:hover,
    .ninth-sticky-form button[type="submit"]:hover,
    .ninth-sticky-btn:hover {
        transform: none !important;
    }
    
    .ninth-sticky-popup-content,
    .ninth-checkbox-item,
    .ninth-form-message {
        animation: none !important;
    }
}

/* COMPATIBILITÉ NAVIGATEURS ANCIENS NEWSLETTER */
.ninth-checkbox-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ninth-sticky-popup {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Fallback pour navigateurs sans support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .ninth-sticky-popup {
        background: rgba(17, 17, 17, 0.95) !important;
    }
}

/* OPTIMISATIONS PERFORMANCES NEWSLETTER */
.ninth-checkbox-item,
.ninth-sticky-form button[type="submit"],
.ninth-sticky-btn {
    will-change: transform;
}

.ninth-floating-message {
    will-change: transform;
}

/* STYLES POUR HAUTE DENSITÉ DE PIXELS NEWSLETTER */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ninth-checkbox-item::before {
        border-width: 1px;
    }
    
    .ninth-form-message {
        border-left-width: 3px;
    }
}

/* STYLES POUR ÉCRANS TRÈS LARGES NEWSLETTER - GRID OPTIMISÉ */
@media (min-width: 1200px) {
    .ninth-sticky-popup-content {
        max-width: 650px;
    }
    
    .ninth-checkbox-group {
        max-height: 320px;
        gap: 12px 20px; /* Plus d'espace sur grands écrans */
    }
    
    .ninth-checkbox-item {
        padding: 12px 14px;
        min-height: 50px;
    }
    
    .ninth-checkbox-text {
        font-size: 13px;
    }
}

/* STYLES POUR ÉCRANS ULTRALARGES NEWSLETTER */
@media (min-width: 1600px) {
    .ninth-sticky-popup-content {
        max-width: 700px;
        padding: 50px 45px;
    }
    
    .ninth-newsletter-title {
        font-size: 18px !important; /* Taille normale sur très grands écrans */
    }
    
    .ninth-checkbox-group {
        max-height: 400px;
        column-gap: 25px;
    }
}

/* ÉTATS D'ANIMATION POUR LE TOGGLE MINIMIZE/RESTORE NEWSLETTER */
.ninth-sticky-newsletter-button.minimizing .ninth-sticky-content {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
}

.ninth-sticky-newsletter-button.restoring .ninth-sticky-minimized {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
}

/* MESSAGES DE NOTIFICATIONS NEWSLETTER - STYLES AJOUTÉS POUR JAVASCRIPT */
.ninth-newsletter-message {
    padding: 16px 20px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 14px;
    border-left: 4px solid;
    border-radius: 0 4px 4px 0;
    animation: ninthMessageSlideIn 0.3s ease-out;
}

@keyframes ninthMessageSlideIn {
    from { 
        opacity: 0; 
        transform: translateX(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.ninth-newsletter-message.error {
    background: #fef2f2;
    color: #dc2626;
    border-left-color: #dc2626;
}

.ninth-newsletter-message.success {
    background: #f0f9ff;
    color: #333333;
    border-left-color: #333333;
}

/* ANIMATION SHAKE POUR LE BOUTON STICKY */
@keyframes ninthShake {
    0%, 100% { 
        transform: translateY(-50%) translateX(0); 
    }
    10%, 30%, 50%, 70%, 90% { 
        transform: translateY(-50%) translateX(-3px); 
    }
    20%, 40%, 60%, 80% { 
        transform: translateY(-50%) translateX(3px); 
    }
}