/* ===================================
   FOOTER STYLES (MATCHING MOCKUP)
   =================================== */

/* ===== SPONSORS SLIDER ===== */
.sponsors-slider {
    width: 100%;
    background-color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    white-space: nowrap;
}

.sponsors-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollSponsors 20s linear infinite;
    flex-shrink: 0;
}

.sponsors-slider:hover .sponsors-track {
    animation-play-state: paused;
}

.sponsor-logo {
    height: 35px;
    /* Taille de base ajustée (Orange, 2y2s) */
    width: auto;
    object-fit: contain;
    margin: 0 10px;
    /* Espace réduit entre les logos */
    transition: transform 0.3s ease;
}

/* Ajustements visuels spécifiques pour que tout paraisse uniformisé */
img[src*="TT.png"] {
    height: 55px;
    /* Plus grand pour compenser sa forme pointue */
}

img[src*="sms7.png"] {
    height: 50px;
    /* Plus grand pour équilibrer avec Orange */
}

img[src*="finspot.png"] {
    height: 45px;
    /* Un peu plus grand pour se démarquer */
}

.sponsor-logo:hover {
    transform: scale(1.1);
}

@keyframes scrollSponsors {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
        /* Chaque piste défile de 100% de sa propre largeur, puis est instantanément remplacée par l'autre. Zéro coupure. */
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1BA89C;
    /* The specific teal from the mockup */
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.footer__section {
    display: flex;
    flex-direction: column;
}

/* Titles */
.footer__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f37021;
    /* Orange title as in mockup */
}

/* Column 1: Contacts */
.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__icon-circle {
    width: 32px;
    height: 32px;
    background-color: #f37021;
    /* Orange circle icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.footer__contact-text {
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

/* Column 2 & 3: Links */
.footer__links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer__link:hover {
    color: #f37021;
    padding-left: 5px;
}

/* Column 4: Brand */
.footer__section--brand {
    align-items: center;
    text-align: center;
}

.footer__logo-main {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer__brand-info {
    font-size: 0.85rem;
    line-height: 1.6;
    color: white;
    max-width: 250px;
}

.footer__brand-info p {
    margin-bottom: 5px;
    color: white;
    /* Force white color to override global p styles */
}

/* Footer Bottom */
.footer__divider {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.footer__bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.9rem;
}

.footer__legal a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer__legal a:hover {
    text-decoration: underline;
}

.footer__scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.footer__scroll-indicator svg {
    background-color: white;
    color: #1BA89C;
    border-radius: 5px 5px 0 0;
    padding: 2px 8px;
    width: 35px;
    height: 20px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__contact-item {
        justify-content: center;
    }

    .footer__section--brand {
        margin-top: 20px;
    }
}