/* =========================================================
   HEADER COMMUN
   ========================================================= */

:root {
    --red: #E8191A;
    --dark: #1A1A1A;
    --border: #E0E0E0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 52px;
    height: 76px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 200;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 44px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    transition: color .2s;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
}

.nav-ctas {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-outline {
    border: 1.5px solid var(--red);
    color: var(--red);
    background: transparent;
    padding: 9px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.btn-outline:hover {
    background: var(--red);
    color: #fff;
}

.btn-solid {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,25,26,.4);
}


/* Menu mobile masqué sur desktop */

.nav-mobile {
    display: none;
}

.nav-burger {
    display: none;
}


/* =========================================================
   HEADER MOBILE
   ========================================================= */

@media (max-width: 640px) {

    nav {
        padding: 0 20px;
    }

    .logo img {
        height: 30px;
    }

    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: none;
        border: 0;
        cursor: pointer;
    }

    .nav-burger span {
        width: 22px;
        height: 2px;
        background: var(--dark);
        display: block;
    }

    .nav-mobile {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: #fff;
        padding: 80px 24px 30px;
        flex-direction: column;
        gap: 22px;
    }

    .nav-mobile.open {
        display: flex;
    }
}

footer
.footer-top
.footer-brand
.footer-social
.footer-col
.footer-bottom
.footer-bottom-links

.footer-social {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 18px !important;
}

.footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    text-decoration: none;
}

.footer-social svg {
    display: block !important;

    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* FOOTER OFFICIEL — HOME */

footer {
    background: var(--black);
    color: #fff;
    padding: 64px 56px 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
}

.footer-brand .logo img {
    height: 26px;
    filter: brightness(10);
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,.4);
    line-height: 1.75;
    max-width: 240px;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: border-color .2s, background .2s;
}

.footer-social a:hover {
    border-color: var(--red);
    background: rgba(232,25,26,.1);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255,255,255,.6);
    fill: none;
    stroke-width: 2;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
    display: block;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 16px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,.25);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: rgba(255,255,255,.25);
    text-decoration: none;
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: rgba(255,255,255,.6);
}
