/* ================================
   HEADER LANDING – ENEVIE
================================ */

.enevie-lp-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.enevie-lp-container {
    margin: 0 auto;
    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; 
}

/* Logo */
.enevie-lp-left .enevie-logo {
    height: 42px;
    width: auto;
}

/* Right side */
.enevie-lp-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap; 
}

/* Phone */
.enevie-lp-btn-phone {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 15px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

/* CTA */
.enevie-lp-btn {
    background-color: #28c4a7;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

/* ================================
   RESPONSIVE – SANS WRAP
================================ */

/* Tablette */
@media (max-width: 768px) {

    .enevie-lp-container {
        padding: 10px 14px;
    }

    .enevie-lp-left .enevie-logo {
        height: 34px;
    }

    .enevie-lp-right {
        gap: 12px;
    }

    .enevie-lp-btn-phone {
        font-size: 13px;
    }

    .enevie-lp-btn {
        font-size: 13px;
        padding: 8px 14px;
        border-radius: 8px;
    }
}

/* Très petit mobile */
@media (max-width: 420px) {

    .enevie-lp-left .enevie-logo {
        height: 30px;
    }

    .enevie-lp-btn-phone {
        font-size: 12px;
    }

    .enevie-lp-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}


/* ================================
   FOOTER ENEVIE – VERSION FINALE
================================ */

.enevie-footer {
    background-color: #008c76;
    color: #ffffff;
    padding: 50px 0 30px;
    font-family: inherit;
}

/* Container centré + largeur max */
.enevie-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Colonnes */
.enevie-footer-column {
    font-size: 15px;
}

/* Logo */
.enevie-footer-logo .enevie-logo {
    height: 42px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

/* Texte description */
.enevie-description {
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
}

/* Titres */
.enevie-footer-column h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Listes */
.enevie-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enevie-footer-column li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Liens */
.enevie-footer-column a {
    color: #ffffff;
    text-decoration: none;
}

.enevie-footer-column a:hover {
    text-decoration: underline;
}

/* Icônes */
.enevie-footer-column .vc_icon_element-icon {
    color: #ffffff;
    font-size: 14px;
}

/* ================================
   FOOTER BOTTOM
================================ */

.enevie-footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px 20px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid rgba(255,255,255,0.25);
    font-size: 14px;
}

/* Bouton CTA */
.btn-orange {
    background-color: #ff7a00;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-orange:hover {
    background-color: #e66e00;
}

/* ================================
   FORCE RESPONSIVE – SMALL SCREENS
================================ */

@media (max-width: 768px) {

    /* Forcer le footer à ne pas dépasser */
    .enevie-footer,
    .enevie-footer * {
        box-sizing: border-box;
        max-width: 100%;
    }

    /* Supprimer toute grille/flex héritée */
    .enevie-footer-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        gap: 25px !important;
    }

    /* Colonnes pleine largeur */
    .enevie-footer-column {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    /* Corriger les listes qui débordent */
    .enevie-footer-column ul,
    .enevie-footer-column li {
        width: 100%;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Icône + texte sur plusieurs lignes */
    .enevie-footer-column li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    /* Footer bottom empilé */
    .enevie-footer-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 15px;
        width: 100%;
    }

    /* Bouton CTA responsive */
    .btn-orange {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
