/* ── Newsletter Footer ───────────────────────────────────────────────────── */

#nf-newsletter-section {
    --nf-bg:  #1a1a2e;
    --nf-btn: #c89b6e;

    background: var(--nf-bg);
    padding: 56px 20px;
    width: 100%;
    box-sizing: border-box;
}

.nf-inner {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

/* Texte */
.nf-text {
    flex: 1 1 260px;
}

.nf-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.nf-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.5;
}

/* Formulaire */
#nf-form {
    flex: 1 1 320px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

#nf-form input[type="email"],
#nf-form input[type="text"] {
    flex: 1 1 180px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

#nf-form input::placeholder { color: rgba(255,255,255,0.45); }
#nf-form input:focus         { border-color: var(--nf-btn); }

#nf-form button {
    padding: 12px 24px;
    background: var(--nf-btn);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
    white-space: nowrap;
}

#nf-form button:hover   { opacity: .88; }
#nf-form button:active  { transform: scale(.97); }
#nf-form button:disabled { opacity: .55; cursor: default; }

/* Message retour */
#nf-message {
    width: 100%;
    font-size: 0.9rem;
    min-height: 1.2em;
    margin-top: 4px;
    transition: opacity .3s;
}

#nf-message.nf-ok  { color: #6ee7b7; }
#nf-message.nf-err { color: #fca5a5; }

/* ─ Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    #nf-newsletter-section { padding: 36px 16px; }
    .nf-inner  { flex-direction: column; gap: 16px; }
    .nf-text h3 { font-size: 1.2rem; }
    #nf-form   { width: 100%; flex-direction: column; }
    #nf-form input[type="email"],
    #nf-form input[type="text"] {
        width: 100%;
        flex: unset;
        font-size: 0.9rem;
        padding: 10px 14px;
    }
    #nf-form button {
        width: auto;
        align-self: flex-start;
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}
