@media (max-width: 600px) {
    .footer-right {
        position: static !important;
    }
    .footer-right .social-icons-row {
        align-items: flex-end !important;
        margin-right: -8px !important;
        position: static !important;
    }
    }
}
@media (max-width: 600px) {
    .footer-right .social-icon {
        margin-left: 0 !important;
        padding: 0 !important;
    }
}
@media (max-width: 600px) {
    .site-footer {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        left: 0;
        right: 0;
        overflow: hidden;
        box-sizing: border-box;
    }
    .footer-container {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }
}
@media (max-width: 600px) {
    .footer-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100vw !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box;
    }
    .footer-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 1.2rem !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    .footer-center {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    .footer-logo-text {
        font-size: 2rem !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin-top: 0.5rem !important;
    }
    .footer-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 1.2rem !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .footer-right .social-icons-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: flex-end !important;
        justify-content: center !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
}
@media (max-width: 600px) {
    .footer-right .social-icons-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
    .footer-left {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    .footer-right {
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .footer-socials {
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .footer-socials a {
        margin: 0 !important;
        padding: 0 !important;
    }
}
@media (max-width: 600px) {
    .footer-socials {
        display: flex;
        flex-direction: column;
        gap: 1.1rem;
        align-items: flex-end;
        justify-content: flex-start;
    }
    .footer-socials a {
        display: block;
        margin: 0;
    }
    .footer-socials img {
        width: 1.5rem;
        height: 1.5rem;
        filter: brightness(0) invert(1);
    }
}
@media (max-width: 600px) {
    .site-footer {
        background: linear-gradient(180deg, #18171A 0%, #6B0F1A 100%);
        color: #F4EFEC;
        padding: 2rem 0 1rem 0;
        font-family: 'futura-pt', 'Futura', Arial, sans-serif;
        font-size: 1rem;
        text-align: center;
    }
    .footer-mobile-layout {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto 1.5rem auto;
        padding: 0 1.2rem;
    }
    .footer-mobile-col {
        display: flex;
        flex-direction: column;
        gap: 1.1rem;
        align-items: center;
    }
    .footer-mobile-menu {
        align-items: flex-start;
        gap: 0.7rem;
    }
    .footer-mobile-menu a {
        color: #F4EFEC;
        text-decoration: none;
        font-size: 1rem;
        font-family: 'futura-pt', 'Futura', Arial, sans-serif;
        font-weight: 400;
    }
    .footer-mobile-logo {
        align-items: center;
        gap: 0.7rem;
    }
    .footer-logo-img {
        width: 3.2rem;
        height: 3.2rem;
        margin: 0 auto;
        display: block;
    }
    .footer-mobile-title {
        font-size: 1.3rem;
        font-family: 'futura-pt', 'Futura', Arial, sans-serif;
        font-weight: 700;
        letter-spacing: 0.1em;
        margin-top: 0.2rem;
    }
    .footer-mobile-socials {
        align-items: flex-end;
        gap: 0.7rem;
    }
    .footer-mobile-socials a img {
        width: 1.5rem;
        height: 1.5rem;
        filter: brightness(0) invert(1);
    }
    .footer-mobile-bottom {
        margin-top: 1.2rem;
        color: #F4EFEC;
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }
    .footer-mobile-bottom a {
        color: #F4EFEC;
        text-decoration: underline;
        font-size: 0.85rem;
        margin: 0 0.2rem;
    }
}
.site-footer {
    height: 180px;
    background: linear-gradient(180deg, #1A1A1A 12%, #700118 79%);
    color: #F4EFEC;
    display: flex;
    align-items: center;
    position: relative;
    font-family: 'futura-pt', 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif;
    font-weight: 100;
}


.footer-container {
    width: calc(100% - 160px);
    margin: 0 80px 40px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.footer-left, .footer-center, .footer-right {
    display: flex;
    align-items: center;
}


/* LEFT: horizontal menu */
.footer-left .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}


.footer-left .footer-menu li a {
    color: #F4EFEC;
    font-size: 20px !important;
    text-decoration: none;
    transition: color .15s ease;
    position: relative;
    font-family: "futura-pt", "Futura", Arial, sans-serif !important;
    font-weight: 700 !important; /* demibold */
    font-style: normal !important;
}


.footer-left .footer-menu li a:hover {
    color: #1A1A1A;
}


.footer-left .footer-menu li a:hover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 2px;
    background-color: #1A1A1A;
}


/* CENTER: logo and text */
.footer-center {
    flex-direction: column;
    gap: 2px;
    margin-top: -20px;
}


.footer-logo-picto {
    width: 64px;
    height: 64px;
    object-fit: contain;
}


.logo-svg {
    width: 50px;
    height: 50px;
    display: block;
    margin-top: 24px;
    transition: filter 0.2s, fill 0.2s;
    cursor: pointer;
    /* Pour le hover, on utilise filter pour rendre le SVG noir */
}
.logo-svg:hover {
    filter: none;
    /* Pour le hover, on force la couleur des paths à #1A1A1A */
}
.logo-svg:hover path {
    fill: #1A1A1A !important;
}
.logo-svg:hover path:nth-of-type(2),
.logo-svg:hover path:nth-of-type(3),
.logo-svg:hover path:nth-of-type(4) {
    fill: #F4EFEC !important;
}
.logo-svg:hover path {
    fill: #1A1A1A !important;
}


.logo-img {
    height: 60px !important;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}


.footer-logo-text {
    display: inline-block;
    vertical-align: middle;
    font-size: 36px !important;
    font-family: "futura-pt", "Futura", Arial, sans-serif !important;
    font-weight: 700 !important; /* bold */
    color: #F4EFEC;
    font-style: normal !important;
    margin-top: -12px;
    margin-bottom: 12px;
}

.footer-logo-text:hover {
    color: #1A1A1A !important;
}
.footer-logo-text:hover ~ .footer-picto .logo-svg path {
    fill: #1A1A1A !important;
}
.footer-logo-text:hover ~ .footer-picto .logo-svg path:nth-of-type(2),
.footer-logo-text:hover ~ .footer-picto .logo-svg path:nth-of-type(3),
.footer-logo-text:hover ~ .footer-picto .logo-svg path:nth-of-type(4) {
    fill: #F4EFEC !important;
}
.footer-picto:hover ~ .footer-logo-text,
.footer-logo-text:hover {
    color: #1A1A1A !important;
}
.footer-picto:hover .logo-svg path,
.footer-logo-text:hover ~ .footer-picto .logo-svg path {
    fill: #1A1A1A !important;
}
.footer-picto:hover .logo-svg path:nth-of-type(2),
.footer-picto:hover .logo-svg path:nth-of-type(3),
.footer-picto:hover .logo-svg path:nth-of-type(4),
.footer-logo-text:hover ~ .footer-picto .logo-svg path:nth-of-type(2),
.footer-logo-text:hover ~ .footer-picto .logo-svg path:nth-of-type(3),
.footer-logo-text:hover ~ .footer-picto .logo-svg path:nth-of-type(4) {
    fill: #F4EFEC !important;
}
.footer-picto:hover .logo-svg path {
    fill: #1A1A1A !important;
}
.footer-picto:hover .logo-svg path:nth-of-type(2),
.footer-picto:hover .logo-svg path:nth-of-type(3),
.footer-picto:hover .logo-svg path:nth-of-type(4) {
    fill: #F4EFEC !important;
}
    letter-spacing: 1px;
}


/* RIGHT: social icons */
.footer-right .social-icon img {
    width: 28px;
    height: 28px;
    filter: none;
}


.social-icon {
    margin-left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(244, 239, 236, 1);
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.social-icon img:hover {
    filter: brightness(0) saturate(100%) invert(10%) sepia(96%) saturate(7483%) hue-rotate(339deg) brightness(92%) contrast(101%);
}


/* Social SVG icons styling */
.social-svg {
    width: 28px;
    height: 21px;
    fill: #F4EFEC !important;
    transition: fill 0.2s;
}


.social-icon:hover {
    background-color: transparent;
    transform: scale(1.1);
}

.social-icon:hover .social-svg {
    fill: #1A1A1A !important;
    transform: scale(1.1);
}


/* BOTTOM: legal text */
.footer-legal {
    position: absolute;
    left: 80px;
    right: 80px;
    bottom: 8px;
    text-align: center;
    font-size: 10px;
    color: #F4EFEC;
    font-family: 'futura-pt', 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif;
    font-weight: 100;
}


.footer-legal a {
    color: #F4EFEC;
    text-decoration: underline;
}


/* Responsive: stack items on small screens */
@media (max-width: 800px) {
    .site-footer {
        height: auto;
        padding: 40px 0 35px 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: calc(100% - 40px);
        margin: 0 20px 20px 20px;
        text-align: center;
    }

    .footer-center {
        margin-top: 0;
    }

    .footer-left .footer-menu { 
        flex-direction: row; 
        gap: 16px; 
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-left .footer-menu li a {
        font-size: 16px !important;
    }

    .footer-logo-text {
        font-size: 1.5rem !important;
    }

    .social-icon { 
        margin-left: 8px; 
    }

    .social-icon img,
    .social-svg {
        width: 24px;
        height: 24px;
    }

    .footer-legal {
        left: 20px;
        right: 20px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 30px 0;
    }

    .footer-container {
        width: calc(100% - 30px);
        margin: 0 15px 15px 15px;
        gap: 20px;
    }

    .footer-left .footer-menu { 
        gap: 12px; 
    }

    .footer-left .footer-menu li a {
        font-size: 14px !important;
    }

    .footer-logo-picto {
        width: 50px;
        height: 50px;
    }

    .footer-logo-text {
        font-size: 1.2rem !important;
    }

    .social-icon img,
    .social-svg {
        width: 22px;
        height: 22px;
    }

    .footer-legal {
        left: 15px;
        right: 15px;
        font-size: 8px;
    }
}
