/* ===================== FOOTER ===================== */
footer {
    background-color: #b1c8be;
    color: #333;
    padding: 0;
}

/* ---- Section haute : 3 colonnes ---- */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 52px 64px 44px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

/* Colonne identité */
.footer-company {
    max-width: 260px;
}

.footer-logo {
    width: 48px;
    margin-bottom: 14px;
    display: block;
}

.footer-tagline {
    font-size: 0.88em;
    color: #3a5258;
    line-height: 1.55;
    margin: 0 0 18px;
    text-align: left;
}

.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-info-list li {
    font-size: 0.86em;
    color: #3a5258;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    line-height: 1.4;
}

.footer-info-list li i {
    color: #b34b32;
    width: 15px;
    text-align: center;
    flex-shrink: 0;
}

.footer-info-list li a {
    color: #2a3c42;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info-list li a:hover {
    color: #b34b32;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.1);
    color: #2a3c42;
    font-size: 1.1em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.footer-social-btn:hover {
    background: #b34b32;
    color: #fff;
}

/* Colonnes de navigation */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-title a {
    color: #1a2d30;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
}

.footer-nav-item {
    padding: 4px 0 4px 10px;
    border-left: 2px solid transparent;
    transition: border-color 0.2s;
}

.footer-nav-item:hover {
    border-left-color: #b34b32;
}

.footer-nav-item a {
    color: #3a5258;
    font-size: 0.86em;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
    display: block;
}

.footer-nav-item a:hover {
    color: #b34b32;
}

.footer-see-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.82em;
    color: #b34b32;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-see-more:hover {
    color: #1a2d30;
}

/* ---- Barre du bas ---- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 64px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-certs {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-certs img {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-certs img:hover {
    opacity: 1;
}

.footer-legal {
    font-size: 0.82em;
    color: #3a5258;
    text-align: right;
    margin: 0;
}

.footer-legal a {
    color: #2a3c42;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #b34b32;
}

/* ---- Responsive ---- */
@media screen and (max-width: 960px) {
    .footer-top {
        padding: 40px 32px 36px;
        gap: 32px;
    }

    .footer-bottom {
        padding: 18px 32px;
    }
}

@media screen and (max-width: 680px) {
    .footer-top {
        flex-direction: column;
        padding: 36px 24px 28px;
    }

    .footer-company {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        padding: 20px 24px;
    }

    .footer-legal {
        text-align: center;
    }
}

/* ===================== OVERLAY (visionneuse PDF/image) ===================== */
.overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay.active {
    display: flex;
}

.overlay iframe {
    width: 80%;
    height: 90%;
    margin: auto;
    border: none;
}

.close-pdf {
    position: absolute;
    top: 68px;
    right: 30px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    text-decoration: none;
}
