/* ================================================================
   FOOTER — Bio et Local
   Couleurs : Rose FRAB #D2097A | Vert FRAB #009C50
   ================================================================ */

/* ── Section newsletter (fond blanc) ────────────────────────── */
.footer-newsletter {
    padding: 24px 0 0;
    position: relative;
    top: 50px;
    z-index: 2;
}

.footer-newsletter .container {
    max-width: 540px;
}

.footer-newsletter-icon {
    display: block;
    width: 57px;
    height: 65px;
    object-fit: contain;
    margin: 0 auto -22px;
    position: relative;
    z-index: 2;
}

.footer-newsletter-card {
    background: #009C50;
    border-radius: 14px;
    padding: 36px 24px 28px;
    text-align: center;
}

.footer-newsletter-title {
    font-weight: 500;
    font-size: 22px;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.3;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-newsletter-input {
    width: 100%;
    max-width: 320px;
    height: 42px;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.46);
    outline: none;
    box-sizing: border-box;
}

.footer-newsletter-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.footer-newsletter-btn {
    background: #fff;
    color: #D2097A;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 12px 48px;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.footer-newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ── Corps du footer (fond rose) ────────────────────────────── */
.footer-main {
    background: #D2097A;
    padding: 50px 0 36px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-leaf {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    height: auto;
    pointer-events: none;
}

/* ── Icônes sociales ─────────────────────────────────────────── */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 36px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 50%;
    color: #D2097A;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.footer-social-link--rounded {
    border-radius: 12px;
}

.footer-social-link:hover {
    opacity: 0.85;
}

/* ── Navigation footer ───────────────────────────────────────── */
.footer-nav {
    margin-bottom: 36px;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    border-left: 3px solid #fff;
}

.footer-nav-list .menu-item,
.footer-nav-list li {
    border: none;
}

.footer-nav-list > .menu-item > a,
.footer-nav-list > li > a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 0;
    line-height: 1.3;
}

.footer-nav-list .menu-item a:hover,
.footer-nav-list li a:hover {
    text-decoration: underline;
}

/* Sous-menu avec puces */
.footer-nav-list .sub-menu {
    list-style: disc;
    padding: 0 0 4px 20px;
    margin: 0;
}

.footer-nav-list .sub-menu .menu-item a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 3px 0;
    line-height: 1.3;
}

/* ── Section "Site géré par" / FRAB / "Nous contacter" ───────── */
.footer-managed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.footer-managed-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-frab-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.footer-frab-card:hover {
    opacity: 0.9;
}

.footer-frab-logo {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto 8px;
    object-fit: contain;
}

.footer-frab-name {
    font-size: 12px;
    font-weight: 700;
    color: #222;
    margin: 0 0 4px;
    line-height: 1.2;
}

.footer-frab-desc {
    font-size: 10px;
    color: #555;
    margin: 0;
    line-height: 1.35;
}

.footer-contact-link {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.footer-contact-link:hover {
    opacity: 0.8;
}

/* ── Section "Financé par" (fond blanc) ──────────────────────── */
.footer-financed {
    background: #fff;
    padding: 0 0 20px;
}

.footer-financed-label {
    text-align: center;
    color: #D2097A;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
}

.footer-financed-main-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -50px;
}

.footer-financed-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 32px;
}

.footer-financed-logo {
    height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

/* ── Bas de page (fond rose) ─────────────────────────────────── */
.footer-legal {
    background: #D2097A;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
    color: #fff;
    text-align: center;
}

.footer-bottom-link {
    color: #fff;
    text-decoration: none;
}

.footer-bottom-link:hover {
    text-decoration: underline;
}

.footer-bottom-sep {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Tablette (≥ 576px) ──────────────────────────────────────── */
@media (min-width: 576px) {
    .footer-newsletter .container {
        max-width: 580px;
    }

    .footer-newsletter-card {
        padding: 38px 48px 32px;
    }
}

/* ── Desktop (≥ 992px) ───────────────────────────────────────── */
@media (min-width: 992px) {
    .footer-newsletter .container {
        max-width: 620px;
    }

    .footer-newsletter-form {
        flex-direction: row;
        justify-content: center;
    }

    .footer-newsletter-input {
        max-width: 260px;
        flex: 1;
    }

    .footer-main {
        padding-top: 100px;
    }

    .footer-nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 40px;
        border-left: none;
        padding-left: 0;
        border-top: 3px solid #fff;
        padding-top: 16px;
    }

    .footer-nav-list > .menu-item > a,
    .footer-nav-list > li > a {
        font-size: 17px;
        padding: 6px 0;
    }

    .footer-financed-logos {
        gap: 20px 48px;
    }

    .footer-financed-logo {
        height: 56px;
        max-width: 150px;
    }
}
