/* footer.css */

/* Couleurs principales du footer */
:root {
    --footer-bg: #232b36;
    --footer-text: #d0dbe5;
    --footer-accent: #e1640b;
    --footer-link: #d0dbe5;
    --footer-link-hover: #e1640b;
    --footer-border: #364353;
    --footer-muted: #aab4c3;
    font-size: 14px;
}

/* Footer container */
footer.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 0;
    margin: 0;
    font-size: 14px;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(54, 67, 83, 0.08);
    position: relative;
    z-index: 1020;
}

footer .container.footer-top {
    padding: 48px 0 24px 0;
}

footer .footer-about .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 12px;
}

footer .footer-about .sitename {
    color: var(--footer-accent);
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

footer .footer-about .sitename:hover {
    color: var(--footer-text);
}

footer .footer-about p {
    color: var(--footer-muted);
    margin-bottom: 0;
    margin-top: 8px;
    font-size: 1em;
    line-height: 1.6;
}

footer .social-links {
    gap: 12px;
}

footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-link);
    background: rgba(225, 100, 11, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2em;
    transition: background 0.3s, color 0.3s;
    margin-right: 4px;
    text-decoration: none;
}

footer .social-links a:last-child {
    margin-right: 0;
}

footer .social-links a:hover,
footer .social-links a:focus {
    background: var(--footer-accent);
    color: #fff;
    outline: none;
}

footer .footer-links h4 {
    color: var(--footer-accent);
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

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

footer .footer-links ul li {
    margin-bottom: 10px;
}

footer .footer-links ul li a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s, padding-left 0.3s;
    padding-left: 0;
    display: inline-block;
}

footer .footer-links ul li a:hover,
footer .footer-links ul li a:focus {
    color: var(--footer-link-hover);
    padding-left: 6px;
    text-decoration: none;
    outline: none;
}

footer .footer-contact h4 {
    color: var(--footer-accent);
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 16px;
}

footer .footer-contact p {
    color: var(--footer-muted);
    margin-bottom: 4px;
    font-size: 1em;
}

footer .footer-contact strong {
    color: var(--footer-accent);
    font-weight: 600;
}

footer .footer-contact span {
    color: var(--footer-text);
}

footer .copyright {
    color: var(--footer-muted);
    font-size: 0.98em;
    padding: 18px 0 8px 0;
    margin-top: 0;
}

footer .copyright .sitename {
    color: var(--footer-accent);
    font-weight: bold;
    letter-spacing: 0.2px;
}

footer .credits {
    color: var(--footer-muted);
    font-size: 0.95em;
    margin-top: 4px;
}

footer .credits a {
    color: var(--footer-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

footer .credits a:hover,
footer .credits a:focus {
    color: var(--footer-text);
    text-decoration: underline;
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    footer .container.footer-top {
        padding: 32px 0 16px 0;
    }
    footer .footer-about,
    footer .footer-contact {
        text-align: center !important;
    }
    footer .footer-links {
        margin-bottom: 24px;
        text-align: center;
    }
    footer .footer-about .logo {
        justify-content: center;
    }
    footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    footer .container.footer-top {
        padding: 24px 0 8px 0;
    }
    footer .footer-links h4,
    footer .footer-contact h4 {
        margin-bottom: 10px;
    }
    footer .copyright {
        font-size: 0.93em;
        padding: 12px 0 6px 0;
    }
}

/* Utilitaires */
footer .mt-4 {
    margin-top: 1.5rem !important;
}
footer .px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

@media screen and (max-width: 576px) {
    ul.replace {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    p#justifier {
        text-align: justify;
    }
    
}