.site-footer {
    background: linear-gradient(180deg, #EEF1F5 0%, #E4E8ED 100%);
    padding: 56px 0 40px;
    position: relative;
    z-index: 1;
}

#page-specific-footer .footer-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    display: block;
}

.pied-lettre {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 35, 63, 0.06);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    border: 1px solid rgba(27, 108, 168, 0.08);
    position: relative;
    z-index: 5;
}

.pied-lettre__text h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #10233F;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pied-lettre__text h3 i {
    color: #1e5f8e;
}

.pied-lettre__text p {
    color: #6B7280;
    font-size: 0.9rem;
    margin: 0;
    max-width: 420px;
}

.pied-lettre__form {
    display: flex;
    gap: 10px;
    flex: none;
}

.pied-lettre__form input[type="email"] {
    background: #F5F7FA;
    border: 1px solid #E4E7EC;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    min-width: 260px;
}

.pied-lettre__form button {
    background: #1e5f8e;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.pied-lettre__form button:hover {
    opacity: 0.9;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid #DADFE6;
}

.footer-brand img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-brand__country {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #10233F;
    letter-spacing: 0.03em;
}

.footer-brand__divider {
    width: 36px;
    height: 3px;
    background: #1e5f8e;
    margin: 8px 0 14px;
}

.footer-brand__institution {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.5;
    max-width: 220px;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #10233F;
    margin-bottom: 16px;
}

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

.footer-col li {
    margin-bottom: 11px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.footer-col li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #C4CAD3;
    flex: none;
}

.footer-col a {
    color: #4B5566;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: #1e5f8e;
}

.footer-col a.footer-contact-highlight {
    color: #1e5f8e;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom__copy {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: #8A94A6;
    text-transform: uppercase;
}

.footer-bottom__org {
    white-space: nowrap;
}

.footer-bottom__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #FFFFFF;
    border: 1px solid #DADFE6;
    color: #10233F;
    margin-left: 8px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-bottom__social a:hover {
    background: #1e5f8e;
    border-color: #1e5f8e;
    color: #FFFFFF;
}

@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }
    .pied-lettre {
        flex-direction: column;
        align-items: flex-start;
    }
    .pied-lettre__form {
        width: 100%;
    }
    .pied-lettre__form input[type="email"] {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    /* Une seule colonne alignée à gauche : le centrage décalait les puces
       d'une ligne à l'autre et donnait un rendu brouillon. */
    .footer-main {
        row-gap: 28px;
    }

    .footer-brand__institution {
        max-width: none;
    }

    .footer-col {
        padding-top: 22px;
        border-top: 1px solid #D5DBE3;
    }

    .footer-col h4 {
        font-size: .74rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #5B6778;
        margin-bottom: 8px;
    }

    .footer-col li {
        margin-bottom: 0;
    }

    .footer-col li::before {
        display: none;
    }

    /* Zones tactiles d'au moins 40px de haut */
    .footer-col a {
        display: block;
        padding: 9px 0;
        font-size: .95rem;
        color: #10233F;
    }

    /* Formulaire newsletter empilé pleine largeur : évite que le champ
       email soit écrasé et que le placeholder soit tronqué. */
    .pied-lettre__form {
        flex-direction: column;
        align-items: stretch;
    }

    .pied-lettre__form input[type="email"] {
        min-width: 0;
    }

    .pied-lettre__form button {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom__social a {
        margin: 0 8px 0 0;
        width: 40px;
        height: 40px;
    }
}

