/* ==========================================================================
   STYLE GÉNÉRAL
   ========================================================================== */
.site-footer {
    margin-top: 2%;
    width: 100%;
}

#subscribe-msg {
    position: absolute;
    margin-top: 3%;
    font-size: 14px;
    color: red;
    margin-left: 2%;
}

.nef-subscribe {
    background-color: #7dc142;
    width: 100%;
}

/* MODIFICATION : Force l'alignement sur une seule ligne */
.nef-subscribe__inner {
    max-width: 1460px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* Changé de wrap à nowrap */
    justify-content: space-between;
}

.nef-subscribe__left {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    max-width: 350px;
    margin-right: 32px;
    padding: 14px 0;
    font-family: inherit;
    flex-shrink: 0;
    /* Empêche de rétrécir */
}

.nef-subscribe__cta {
    font-size: 17.5px;
    margin-left: 25%;
    /* Réduit de 20% à 5% pour que tout tienne sur une ligne */
    font-weight: 700;
    color: black !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: auto;
    font-family: inherit;
    flex-shrink: 0;
}

.nef-subscribe__form {
    display: flex;
    align-items: stretch;
    height: 44px;
    margin: 14px 0;
    flex-shrink: 0;
}

.nef-subscribe__form input[type="email"] {
    width: 16em;
    padding: 0 16px;
    font-size: 13px;
    color: #444;
    background: #fff;
    border: none;
    outline: none;
    height: 100%;
    box-sizing: border-box;
    font-family: inherit;
    border-radius: 26px 0 0 26px;
}

.nef-subscribe__form input[type="email"]::placeholder {
    color: #aaa;
}

.nef-subscribe__form button {
    padding: 0 22px;
    background: #111111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    height: 100%;
    white-space: nowrap;
    font-family: inherit;
    transition: background 0.15s;
    border-radius: 0 26px 26px 0;
}

.nef-subscribe__form button:hover {
    background: #333;
}

/* ==========================================================================
   CORPS DU FOOTER
   ========================================================================== */
.nef-body {
    background-color: #2d2d2d;
}

.nef-body__inner {
    display: flex;
    align-items: flex-start;
    max-width: 1460px;
    margin: 0 auto;
    padding: 50px 40px 44px;
    gap: 0;
}

.nef-brand {
    flex: 0 0 350px;
    margin-right: 22%;
}

.nef-brand__logo {
    display: block;
    max-width: 118px;
    height: auto;
    margin-bottom: 14px;
}

.nef-brand__title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.35;
    font-family: inherit;
}

.nef-brand__desc {
    font-size: 14px;
    color: #ababab;
    line-height: 1.75;
    margin: 0;
    font-family: inherit;
}

.nef-nav-cols {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 0;
    margin-left: 40px;
}

.nef-nav-col {
    flex: 1;
    padding: 0 8px;
}

.nef-nav-col:first-child {
    padding-left: 0;
}

.nef-nav-col h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1;
}

.nef-nav-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nef-nav-col ul li {
    margin-bottom: 10px;
    margin-top: 10px;
}

.nef-nav-col ul li a {
    font-size: 13px;
    color: #ababab;
    text-decoration: none;
    font-family: inherit;
    transition: color 0.15s;
}

.nef-nav-col ul li a:hover {
    color: #7dc142;
}

.nef-contact {
    flex: 0 0 210px;
    margin-left: 24px;
}

.nef-contact h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1;
    font-family: inherit;
}

.nef-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.nef-contact__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: #ababab;
}

.nef-contact__text {
    font-size: 13px;
    color: #ababab;
    line-height: 1.55;
    margin: 0;
    font-family: inherit;
}

.nef-contact__text a {
    color: #ababab !important;
}

.nef-follow-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 18px 0 12px;
    font-family: inherit;
}

.nef-social-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nef-social-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s;
}

.nef-social-btn:hover {
    background: #7dc142;
}

.nef-social-btn svg {
    width: 13px;
    height: 13px;
    display: block;
}

.nef-bottom {
    background-color: #1e1e1e;
    padding: 14px 40px;
    box-sizing: border-box;
}

.nef-bottom__inner {
    max-width: 1460px;
    margin: 0 auto;
}

.nef-bottom p {
    font-size: 12px;
    color: #888;
    margin: 0;
    font-family: inherit;
}

/* ==========================================================================
   MEDIA QUERIES (CORRIGÉES POUR L'ALIGNEMENT)
   ========================================================================== */

@media (max-width: 960px) {
    .nef-body__inner {
        flex-wrap: wrap;
    }

    .nef-brand {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 32px;
    }

    .nef-contact {
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: 28px;
    }
}

@media (max-width: 768px) {

    /* CORRECTION : On force la ligne même en mobile pour subscribe */
    .nef-subscribe__inner {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        height: auto !important;
        padding: 15px 10px;
    }

    .nef-subscribe__left {
        font-size: 14px;
        margin-right: 10px;
    }

    .nef-subscribe__cta {
        font-size: 11px;
        margin-left: 5px;
    }

    #subscribe-msg {
        position: absolute;
        margin-top: 13%;
        font-size: 14px;
        color: red;
        margin-left: 2%;
    }


    /* Texte réduit pour tenir */

    .nef-subscribe__form {
        width: auto !important;
    }

    .nef-subscribe__form input[type="email"] {
        width: 15em !important;
    }

    /* Le reste du footer reste en colonne comme vous l'aviez prévu */
    .nef-body__inner {
        flex-direction: column;
        padding: 30px 20px;
    }

    .nef-brand {
        width: 100%;
        border-bottom: 1px solid #4a4a4a;
    }

    .nef-nav-cols {
        display: block;
        width: 100%;
        margin-left: 0;
        border-bottom: 1px solid #4a4a4a;
    }

    .nef-contact {
        width: 100%;
        margin-left: 0;
    }
}


@media (max-width: 768px) {

    /* On force le passage en colonne */
    .nef-subscribe__inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 20px;
        /* Espace entre les 3 blocs */
        padding: 30px 20px;
    }

    /* On remet les marges à zéro pour bien centrer */
    .nef-subscribe__left,
    .nef-subscribe__cta {
        margin: 0 !important;
        max-width: 100%;
        display: block;
    }

    /* Le formulaire prend toute la largeur disponible */
    .nef-subscribe__form {
        margin: 0 !important;
        width: 100%;
        justify-content: center;
    }

    /* Optionnel : Ajuste l'input pour qu'il soit plus large sur petit écran */
    .nef-subscribe__form input[type="email"] {
        flex: 1;
        width: auto;
    }
}