/* ==========================================================
   Section Newsletter CTA — comprendre-sante.org
   Positionnée après la grille d'articles
   ========================================================== */

.nl-section {
    background: linear-gradient(135deg, #20507A 0%, #1a4566 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.nl-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(255,255,255,0.07) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.nl-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.nl-eyebrow {
    display: inline-block;
    background: #ffffff;
    color: #20507A !important;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nl-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.nl-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin-bottom: 36px;
}

.nl-subtitle strong {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.nl-form-row {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.nl-input {
    flex: 1;
    padding: 16px 22px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1d1d1f;
    outline: none;
    transition: box-shadow 0.2s;
}

.nl-input::placeholder {
    color: #94a3b8;
}

.nl-input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.nl-btn {
    padding: 16px 28px;
    background: #ffffff;
    color: #20507A;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nl-btn:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.nl-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nl-reassurance {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nl-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.22);
    border: 1.5px solid rgba(255,255,255,0.65);
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.nl-reassurance span::before {
    content: '✓';
    font-weight: 700;
    color: #7dd3b0;
    font-size: 0.75rem;
}

.nl-message {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    min-height: 20px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 600px) {
    .nl-section {
        padding: 60px 0;
    }

    .nl-title {
        font-size: 1.6rem;
    }

    .nl-subtitle {
        font-size: 0.95rem;
    }

    .nl-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .nl-input,
    .nl-btn {
        width: 100%;
        border-radius: 16px;
    }

    .nl-reassurance {
        gap: 14px;
        font-size: 0.78rem;
    }
}
