/* === Section Partenaires de confiance === */
.tv-trust {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Inter Tight', sans-serif;
    text-align: center;
    overflow: hidden;
}

.tv-trust__header {
    margin-bottom: 30px;
}

.tv-trust__title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 400;          /* on garde le style light par défaut */
    line-height: 1.2;
}

.tv-trust__title-light {
    font-weight: 300;
}

.tv-trust__title-bold {
    font-weight: 700;
    display: block;        /* saut de ligne */
}

.tv-trust__subtitle {
    font-size: 1rem;
    color: #8A7B72;
    margin: 0;
}

/* Conteneur d'une ligne */
.tv-trust__track {
    margin: 15px 0;
    overflow: hidden;
}

/* Conteneur des logos */
.tv-trust__logos {
    display: flex;
    gap: 40px;
    width: max-content;
}

/* Logo placeholder / image */
.tv-trust__logo {
    flex-shrink: 0;
    width: 150px;
    height: 70px;
    border: 1px dashed #D4C9BF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A7B72;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255,255,255,0.6);
    transition: border-color 0.3s ease;
}
.tv-trust__logo:hover {
    border-color: #D97A35;
}

/* Bouton Devenir partenaire */
.tv-trust__cta {
    margin-top: 40px;
}
.tv-trust__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #D97A35;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.tv-trust__button:hover {
    background: #c0682e;
    transform: translateY(-1px);
}
.tv-trust__button svg {
    flex-shrink: 0;
}

/* Sur desktop : on cache les clones, on centre les 4 logos originaux */
@media (min-width: 768px) {
    .tv-trust__logo--clone {
        display: none;
    }
    .tv-trust__track {
        overflow: visible;
    }
    .tv-trust__logos {
        justify-content: center;
        flex-wrap: wrap;
        width: auto;
    }
}

/* Sur mobile : on affiche les clones et on active l'animation marquee */
@media (max-width: 767px) {
    .tv-trust__track {
        width: 100%;
    }
    .tv-trust__logos {
        flex-wrap: nowrap;
        gap: 20px;
    }

    /* Ligne 1 : défile vers la droite */
    .tv-trust__track[data-direction="right"] .tv-trust__logos {
        animation: marquee-right 20s linear infinite;
    }
    /* Ligne 2 : défile vers la gauche */
    .tv-trust__track[data-direction="left"] .tv-trust__logos {
        animation: marquee-left 20s linear infinite;
    }
}

/* Keyframes */
@keyframes marquee-right {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-left {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.tv-trust__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}