/* ── LS Newsletter — Frontend ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Montserrat:wght@300;400;500&display=swap');

.ls-nl-wrap {
    background: #1a1a1a !important;
    color: #e8e0d5;
    text-align: center;
    padding: 64px 24px 56px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.ls-nl-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff !important;
    margin: 0 0 18px;
}

.ls-nl-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    letter-spacing: 0.02em;
    color: #fff !important;
    max-width: 580px;
    margin: 0 auto 40px;
}

/* ── Ligne formulaire ── */
.ls-nl-form-row {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 20px;
}

.ls-nl-form-row input {
    background: transparent;
    border: 1px solid #555;
    color: #e8e0d5;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    padding: 14px 20px;
    width: 220px;
    outline: none;
    transition: border-color 0.25s;
    box-sizing: border-box;
}

.ls-nl-form-row input::placeholder { color: #777; }
.ls-nl-form-row input:focus { border-color: #aaa; }
.ls-nl-form-row input + input { border-left: none; }

#ls-nl-btn {
    background: #fff;
    color: #111;
    border: 1px solid #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 28px;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    white-space: nowrap;
    box-sizing: border-box;
}

#ls-nl-btn:hover { background: #1a1a1a; color: #fff; }
#ls-nl-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── RGPD ── */
.ls-nl-rgpd {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.80rem;
    color: #fff !important;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.ls-nl-rgpd span,
.ls-nl-rgpd span * { color: #fff !important; }

.ls-nl-rgpd input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #555;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}

.ls-nl-rgpd input[type="checkbox"]:checked {
    background: #fff;
    border-color: #fff;
}

.ls-nl-rgpd input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px; top: 1px;
    width: 5px; height: 9px;
    border: 2px solid #111;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.ls-nl-rgpd a { color: #ccc !important; text-decoration: underline; }
.ls-nl-rgpd a:hover { color: #fff !important; }

/* ── Message retour ── */
.ls-nl-msg {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: 580px;
    margin: 0 auto;
    padding: 0;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    line-height: 1.6;
    text-align: center;
}

.ls-nl-msg.ls-nl-msg--visible {
    opacity: 1;
    transform: translateY(0);
    padding: 14px 20px;
    margin-top: 20px;
}

.ls-nl-msg.success {
    color: #4caf7d !important;
    border: 1px solid #2a5c3f;
    background: rgba(76, 175, 125, 0.08);
}

.ls-nl-msg.error {
    color: #d97b7b !important;
    border: 1px solid #5c2a2a;
    background: rgba(217, 123, 123, 0.08);
}

/* ── Responsive ── */
@media (max-width: 540px) {
    .ls-nl-form-row { flex-wrap: wrap; }
    .ls-nl-form-row input { width: 100%; border-right: 1px solid #555; }
    .ls-nl-form-row input + input { border-left: 1px solid #555; border-top: none; }
    #ls-nl-btn { width: 100%; border-top: none; }
}
