/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.font-yellow, a.font-yellow:visited { color: #f9e25b; }

/* ===== GLOBAL ===== */
body {
    background: #000;
    color: white;
    line-height: 1.5;
    padding-bottom: 50px;
}

h1, h2 {
    color: #f9e25b;
}

p {
    margin-bottom: 20px;
}

/* ===== HEADER ===== */
.logo-container, .titre, .qr-code {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    text-align: center;
}

.titre {
    max-width: 80%;
}

.logo {
    width: 500px;
    max-width: 90%;
}

.qr-code {
    width: 200px;
    max-width: 90%;
}

/* ===== COUNTER ===== */
.counter-section {
    width: 80%;
    max-width: 800px;
    margin: 0 auto 40px auto;
    background: linear-gradient(90deg, #f9e25b, #ffca2c, #ff7f00);
    text-align: center;
    padding: 30px;
    border-radius: 10px;
}

.counter-section h2 {
    margin-bottom: 15px;
    color: black;
}

.counter {
    font-size: 50px;
    font-weight: bold;
    color: #b30000;
}

/* ===== CONTENT BOX ===== */
.content-box {
    width: 80%;
    max-width: 950px;
    margin: 0 auto 30px auto;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #f9e25b;
}

.content-box a {
    cursor: pointer;
    color: #ffffff;
    text-decoration: none;
}

.content-box a:hover {
    color: #f9e25b;
}

/* ===== FORM ===== */
.form-box label {
    display: block;
    margin-top: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 5px;
    border: none;
    background: #0f0f0f;
    color: white;
}

.toggle-title {
    margin-top: 25px;
    display: block;
    font-weight: bold;
}

/* Container du toggle */
.toggle-container {
    position: relative;
    display: flex;
    background: #0f0f0f;
    border-radius: 40px;
    padding: 5px;
    margin-top: 10px;
    overflow: hidden;
}

/* Cache les radios */
.toggle-container input[type="radio"] {
    display: none;
}

/* Style des labels (= boutons) */
/* Style des labels (= boutons) */
.toggle-option {
    width: 50%;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff; /* 🔥 Texte blanc quand pas sélectionné */
    margin-top: unset!important;
}

/* Texte noir quand sélectionné (= quand le slider est sous le bouton) */
input#paris:checked + label,
input#local:checked + label {
    color: #000000 !important; /* 🔥 Noir quand actif */
}

/* Le slider animé */
.toggle-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 10px);
    height: calc(100% - 10px);
    background: linear-gradient(90deg, #ffca2c, #ff7f00);
    border-radius: 30px;
    transition: 0.25s ease-in-out;
    z-index: 1;
}

/* Position du slider selon le choix */
input#local:checked ~ .toggle-slider {
    transform: translateX(100%);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.checkbox  label {
    margin-top: unset!important;
}

.rgpd {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 20px;
    background: #111;
    padding: 15px;
    border-radius: 5px;
}

/* ===== BUTTON ===== */
.btn {
    width: 100%;
    margin-top: 25px;
    background: linear-gradient(90deg, #f9e25b, #ffca2c, #ff7f00);
    color: black;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    opacity: 0.9;
}

/* ===== SLIDER COLLECTIFS ===== */
.collectifs-slider {
    margin-top: 50px;
    text-align: center;
    width: 80%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.collectifs-slider h1 {
    margin-bottom: 20px;
    color: #f9e25b;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    flex-wrap: nowrap; /* ✅ empêche de passer à la ligne */
    animation: defilement 25s linear infinite;
}

.slide {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto; /* ✅ largeur auto sans wrap */
    width: 280px;
    margin: 0 15px;
    background: #111;
    border: 2px solid #f9e25b;
    border-radius: 12px;
    padding: 18px;
}

.slide h4 {
    color: #f9e25b;
    margin-bottom: 8px;
}

.slide p {
    color: white;
    opacity: .9;
}

/* ✅ défilement fluide sans coupure */
@keyframes defilement {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* 50% car contenu dupliqué */
}

/* ===== CO-APPELANTS ===== */
#co-appelants {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

/* La boîte avec le dégradé */
#co-appelants .video-frame {
    background: linear-gradient(90deg, #f9e25b, #ffca2c, #ff7f00);
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 35px;
}

/* Wrapper qui gère le ratio */
#co-appelants .ratio-container {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 56.25%; /* ratio 16/9 */
}


/* ➤ Facebook (vertical, pas géant) */
#co-appelants .ratio-container.facebook {
    padding-top: 0;
    max-height: 500px;
    max-width: 32%;
    margin-left: auto;
    margin-right: auto;
}

/* Iframe responsive */
#co-appelants iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* MOBILE */
@media (max-width: 800px) {
    #co-appelants .ratio-container.facebook {
        padding-top: 100%; /* un peu plus vertical uniquement sur mobile */
        max-width: 90%;
    }
}