/* ======= Variables Globales ======= */
:root {
    --body-color: #18191A;
    --nav-color: #022140;
    --side-nav: #242526;
    --text-color-footer: #CCC;
    --search-bar: #242526;
    --highlight: #09689C;
    --highlight1: #aeb5b9;
    --logo-color: #840032;
    --font-color: #F3DE8A;
    --header-bg: white;
    --body-bg: rgb(247, 246, 246);

    /* ===== Typographie ===== */
    --font-family: "Inter", Arial, sans-serif;
    --font-size: clamp(14px, 1vw, 16px);
    --font-size-title: clamp(18px, 1.2vw, 22px);
    --line-height: 1.5;
    --letter-spacing: 0.5px;
}

/* ======= Footer Styling ======= */
.footer {
    background-color: var(--nav-color);
    color: var(--text-color-footer);
    padding: clamp(20px, 2.5vw, 40px) 0;
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    align-items: start;
}

/* ======= Sections du Footer ======= */
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ======= Logo ======= */
.footer-logo {
    width: clamp(100px, 12vw, 140px);
    margin-bottom: 15px;
}

/* ======= Titres ======= */
.footer-section h3 {
    font-size: var(--font-size-title);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--highlight1);
    /* text-transform: uppercase; */
}

.footer-section h3::after {
    content: "";
    width: 50px;
    height: 3px;
    background: var(--highlight);
    display: block;
    margin-top: 5px;
}

/* ======= Liens ======= */
.footer-section .links-container {
    display: flex;
    gap: 40px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0px;
}

.footer-section a {
    color: var(--text-color-footer);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--font-color);
    text-decoration: underline;
}

/* ======= Icônes Sociales ======= */
.social-links {
    display: flex;
    gap: clamp(8px, 2vw, 12px);
    margin-bottom: 10px;
}

.social-links a {
    font-size: clamp(18px, 1.5vw, 22px);
    color: white;
    background-color: var(--highlight);
    padding: clamp(6px, 2vw, 8px);
    border-radius: 10%;
    transition: 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: var(--logo-color);
    transform: scale(1.1);
}

/* ======= Séparateur ======= */
hr {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* ======= Copyright Section ======= */
.footer-bottom {
    text-align: center;
    padding: clamp(10px, 1.5vw, 15px);
    background-color: var(--nav-color);
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 500;
}

.footer-bottom a {
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--font-color);
    text-decoration: underline;
}

/* ======= Responsive Design ======= */
@media (max-width: 950px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-section {
        align-items: flex-start;
    }
}

@media (max-width: 650px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: flex-start;
    }
}

