/* Styles spécifiques à la page inscription */

/* Surcharger le padding du conteneur pour la page inscription */
.page-inscription {
    padding-left: 0;
    padding-right: 0;
}

/* PREMIÈRE LIGNE - Formulaire + Jeux */
.Ligne1 {
    width: 100vw;
    max-width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    z-index: 0;
    box-sizing: border-box;
}

/* DEUXIÈME LIGNE - Événements + Bonus */
.Ligne2 {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 24h;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
}

/* TROISIÈME LIGNE - Cadeaux */
.Ligne3 {
    width: 100vw;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.conteneur-illust-cadeaux {
    width: 35%;
    background-color: #FFE390;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 10px 0 10px;
    margin-left: 40px;
    margin-right: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 0;
    overflow: visible;
}

.conteneur-illust-cadeaux::before {
    content: '';
    position: absolute;
    bottom: -54px;
    left: 0;
    width: 100%;
    height: 54px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background: rgba(0, 0, 0, 0.18);
    z-index: 0;
}

.conteneur-illust-cadeaux::after {
    content: '';
    position: absolute;
    bottom: -43px;
    left: 0;
    width: 100%;
    height: 43px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background-color: #FFE390;
    z-index: 1;
}

.titre-cadeau-v2 {
    font-family: 'Lobster', cursive;
    font-size: clamp(22px, 2.5vw, 30px);
    color: #0673B1;
    text-align: center;
    margin: 0;
    font-weight: normal;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
}

.titre-cadeau-v2 .orange {
    color: #F54800;
}

.image-illustration-cadeaux-v2 {
    width: 55%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin-top: 15px;
}

.conteneur-vignettes-cadeaux {
    flex: 1;
    background-color: transparent;
    position: relative;
    margin-top: 0%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 0 10px;
    overflow: visible;
    min-width: 0;
}



.conteneurs-cadeaux-wrapper-v2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2px;
    width: 94%;
    justify-content: center;
    align-items: center;
    padding: 0 5px 0 5px;
    box-sizing: border-box;
    overflow: visible;
    min-width: 0;
}

.conteneur-cadeau-v2 {
    background-color: transparent;
    border-radius: 0;
    flex: 0 0 auto;
    width: calc(15% - 5px);
    aspect-ratio: 1 / 1;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
}

.conteneur-cadeau-v2 .image-cadeau-v2 {
    width: 105%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    flex-shrink: 0;
    position: relative;
}




.texte-cadeau-v2 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(14px, 1.3vw, 16px);
    color: #0673B1;
    text-align: center;
    margin-top: 1%;
    font-weight: normal;
}

/* QUATRIÈME LIGNE */
.Ligne4 {
    width: 100vw;
    max-width: 100%;
    background-color: #0984ca;
    box-sizing: border-box;
    margin: 0;
    margin-top: 0px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.titre-commentaires {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    margin-top: 30px;
}

.image-aime-v2 {
    width: auto;
    height: clamp(40px, 4vw, 60px);
    object-fit: contain;
    display: block;
}

.titre-joueurs-v2 {
    font-family: 'Lobster', cursive;
    font-size: clamp(22px, 4vw, 30px);
    color: #a9d3ed;
    text-align: center;
    margin: 0;
    font-weight: normal;
    box-sizing: border-box;
}

.conteneurs-commentaires {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: stretch;
    padding: 20px;
    box-sizing: border-box;
    margin-top: -20px;
}

.conteneur-joueur-v2 {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    background-color: #a9d3ed;
    min-height: 200px;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

.nom-joueur-v2 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    color: #F54800;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

.avis-joueur-v2 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(14px, 1.1vw, 17px);
    color: #0673B1;
    line-height: 1.6;
    text-align: left;
    flex: 1;
}

.Ligne1 .conteneur-inscription {
    width: 35%;
    min-height: 100%;
    max-height: 100%;
    background-color: #FFE390;
    position: relative;
    flex-shrink: 0;
    z-index: -1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    margin-top: 0;
    margin-left: 40px;
    margin-right: 30px;
    align-self: stretch;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.Ligne1 .conteneur-evenements {
    width: 40%;
    height: 100%;
    background-color: white;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -133px;
    overflow: visible;
}

.Ligne2 .conteneur-evenements {
    width: 47%;
    height: auto;
    min-height: 100%;
    max-height: none;
    background: linear-gradient(to bottom, white, #f3f3f3);
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    margin-top: 0;
}

.Ligne2 .conteneur-evenements::before {
    content: '';
    position: absolute;
    right: -62px;
    top: 0;
    bottom: -5px;
    width: 62px;
    background: rgba(0, 0, 0, 0.05);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 100;
}

.Ligne2 .conteneur-evenements::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 0;
    bottom: 0px;
    width: 50px;
    background: linear-gradient(to bottom, white, #f3f3f3);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 101;
}

.Ligne2 .conteneur-bonus {
    min-height: 100%;
    max-height: 100%;
    background-color: #FFE390;
    position: relative;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: calc(100vw - 40%);
    margin-right: calc(-50vw + 50%);
}

/* Conteneur pour le titre événements - même taille que conteneur-inscription */
.conteneur-titre-evenements {
    width: 111%;
    flex-shrink: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: calc(30px - 10px);
    margin-right: 0;
    padding: 0 10px;
    align-self: flex-start;
    margin-top: clamp(0px, 2vw, 10px);
    position: relative;
    left: -9%;
    min-width: 0;
}

/* Icône événement dans le titre */
.ico-evenement-titre {
    width: auto;
    height: 95%;
    flex-shrink: 1;
    position: relative;
    left: 0;
    max-width: 100%;
    object-fit: contain;
}

/* Titre événements dans le conteneur blanc */
.titre-evenements {
    font-family: 'Lobster', cursive;
    font-size: clamp(18px, 2.5vw, 35px);
    color: #0673B1;
    text-align: center;
    margin: 0;
    font-weight: normal;
    padding: 0px 0px 10px 0px;
    box-sizing: border-box;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.titre-evenements .orange {
    color: #F54800;
}

/* Titre bonus dans le conteneur bonus */
.titre-bonus {
    font-family: 'Lobster', cursive;
    font-size: clamp(18px, 2.5vw, 35px);
    color: #0673B1;
    text-align: center;
    margin: 0;
    font-weight: normal;
    width: 100%;
    max-width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.titre-bonus .orange {
    color: #F54800;
}

/* Conteneurs bonus en ligne */
.conteneurs-bonus {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-top: -4%;
    margin-bottom: 10px;
    width: 75%;
    padding: 0 5px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 0;
}

.conteneur-bonus-item {
    flex: 1;
    background-color: transparent;
    border-radius: 0;
    max-width: calc(33.333% - 2px);
    aspect-ratio: 1 / 1;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
    max-height: 100%;
}

.conteneur-bonus-item::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 70%;
    background-color: #ffdc74;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 2px rgba(255, 255, 255, 0.15);
}

.conteneur-bonus-item .image-bonus {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    flex: 1;
    position: relative;
    z-index: 2;
}

.texte-bonus {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #ff8500;
    text-align: center;
    font-weight: 600;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Conteneurs événements en ligne */
.conteneurs-evenements-wrapper-v2 {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: -9px;
    margin-bottom: 30px;
    padding: 10px 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 0;
}

/* Anciennes classes (conservées pour compatibilité) */
.conteneur-evenement-item-v2 {
    flex: 1;
    background-color: transparent;
    border-radius: 0;
    max-width: calc(33.333% - 2px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
    max-height: 100%;
}

.conteneur-evenement-item-v2 .image-evenement-v2 {
    width: 100%;
    height: 80%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 15px;
}

/* Nouvelles classes pour les vignettes d'événements avec interaction */
.vignette-event-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 33.333%;
    max-width: 33.333%;
    cursor: pointer;
}

.vignette-event {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: white;
    border: 2px solid white;
    border-radius: 15px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.vignette-event:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vignette-event .image-evenement-v2 {
    max-width: 136%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.vignette-event .image-evenement-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 136%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 15px;
}

.vignette-event:hover .image-evenement-v2 {
    opacity: 0;
}

.vignette-event:hover .image-evenement-hover {
    opacity: 1;
}

.vignette-event-wrapper.active .vignette-event {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vignette-event-wrapper.active .image-evenement-v2 {
    opacity: 0;
}

.vignette-event-wrapper.active .image-evenement-hover {
    opacity: 1;
}

.vignette-event-legende {
    position: absolute;
    background-color: white;
    padding: 8px 12px;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(11px, 1vw, 15px);
    color: #713b00;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
}

.vignette-event-wrapper:hover .vignette-event-legende,
.vignette-event-wrapper.active .vignette-event-legende {
    opacity: 1;
    pointer-events: auto;
}

/* Wrapper pour contrôler la largeur des vignettes d'événements (similaire à slider-jeux-wrapper) */
.slider-evenements-wrapper {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 5%;
    margin-right: 5%;
    position: relative;
    flex: 0 0 auto;
    min-height: 0;
    max-height: none;
    align-items: center;
    justify-content: flex-start;
}

/* Media query mobile : ajustements pour mobile */
@media (max-width: 768px) {
    .vignette-event-legende {
        top: calc(100% + 5px);
        width: 125%;
        padding: 4px 6px;
    }

    .conteneurs-evenements-wrapper-v2 {
        gap: 15px;
    }
}

/* Media query desktop : ajustements pour desktop */
@media (min-width: 981px) {
    .conteneurs-evenements-wrapper-v2 {
        width: 100%;
        gap: 6%;
    }

    .vignette-event-wrapper {
        flex: 0 0 calc((100% - 54px) / 3);
        max-width: calc((100% - 54px) / 3);
    }
}

/* Media query très large écran (1280px+) : 6 témoignages en 1 ligne */
@media (min-width: 1280px) {
    .conteneur-joueur-v2 {
        flex: 0 0 calc((100% - 100px) / 6);
        max-width: calc((100% - 100px) / 6);
    }
}

/* Media query tablette : ajustements pour tablette */
@media (min-width: 769px) and (max-width: 980px) {
    .conteneurs-evenements-wrapper-v2 {
        gap: 20px;
    }
}

.Ligne1 .conteneur-evenements::before {
    content: '';
    position: absolute;
    right: -52px;
    top: 0;
    width: 50px;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 100;
}

.Ligne1 .conteneur-evenements::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 0;
    width: 50px;
    height: 100%;
    background-color: white;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 101;
}

/* Ligne 2 : conteneur bonus */
.Ligne1 .conteneur-bonus {
    flex: 1;
    height: 100%;
    background-color: #FFE390;
    position: relative;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -1px;
}

.conteneur-inscription .titre {
    text-align: center;
    width: 110%;
    padding: 2% 5%;
    box-sizing: border-box;
    max-width: 140%;
    overflow: hidden;
    background: transparent;
    border: none;
    outline: none;
}

/* Breakpoint pour très petits écrans */
@media (max-width: 480px) {
    .conteneur-inscription .titre {
        padding: 5% 10px;
    }
}

/* Breakpoint pour petits écrans */
@media (max-width: 768px) {
    .conteneur-inscription .titre {
        padding: 4% 10px;
    }
}

/* Breakpoint pour tablettes */


.conteneur-inscription .titre .ligne1 {
    font-family: 'Lobster', cursive;
    font-size: clamp(27px, 2.5vw, 40px);
    color: #F54800;
    margin-bottom: -13px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    background: transparent;
    border: none;
    outline: none;
}

/* Breakpoint pour très petits écrans */
@media (max-width: 480px) {
    .conteneur-inscription .titre .ligne1 {
        font-size: clamp(18px, 7vw, 30px);
    }
}

/* Breakpoint pour petits écrans */
@media (max-width: 768px) {
    .conteneur-inscription .titre .ligne1 {
        font-size: clamp(20px, 7vw, 40px);
    }
}




.conteneur-inscription .titre .ligne2 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(15px, 1.4vw, 22px);
    color: #0673B1;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    margin-top: 16px;
}

/* Breakpoint pour très petits écrans */
@media (max-width: 480px) {
    .conteneur-inscription .titre .ligne2 {
        font-size: clamp(12px, 4vw, 16px);
    }
}

/* Breakpoint pour petits écrans */
@media (max-width: 768px) {
    .conteneur-inscription .titre .ligne2 {
        font-size: clamp(12px, 3.5vw, 20px);
    }
}

/* Breakpoint pour tablettes */


.conteneur-inscription .titre .ligne2 .gratuit {
    color: #F54800;
}

/* Formulaire dans le bloc inscription */
.conteneur-inscription .formulaire-inscription {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 2% 3%;
    margin-top: 2%;
    background-color: #FFDA76;
    border-radius: 10px;
}

.conteneur-inscription .formulaire-inscription .ligne-form {
    display: flex;
    gap: 34px;
    width: 100%;
}

.conteneur-inscription .formulaire-inscription .ligne-form .champ {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.conteneur-inscription .formulaire-inscription label {
    font-family: 'Fredoka', sans-serif;
    color: #713b00;
    font-size: clamp(14px, 1.2vw, 18px);
    white-space: nowrap;
}

.conteneur-inscription .formulaire-inscription input {
    width: 100%;
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 5% 12px;
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(14px, 1.1vw, 17px);
    color: #713b00;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

.conteneur-inscription .formulaire-inscription input:hover,
.conteneur-inscription .formulaire-inscription input:focus {
    border-color: #F54800;
    background-color: white;
}

.conteneur-inscription .formulaire-inscription input.input-valid {
    background-color: #d4edda;
    border-color: #28a745;
}

.conteneur-inscription .formulaire-inscription input:-webkit-autofill,
.conteneur-inscription .formulaire-inscription input:-webkit-autofill:hover,
.conteneur-inscription .formulaire-inscription input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: #713b00;
    background-color: white;
}

/* Règlement */
.conteneur-inscription .reglement {
    width: 100%;
    padding: 0 6%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}
.conteneur-inscription .reglement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background: white;
    border: none;
    border-radius: 4px;
    accent-color: #0673B1;
}
.conteneur-inscription .reglement label {
    font-family: 'Fredoka', sans-serif;
    color: #713b00;
    font-size: clamp(13px, 1.3vw, 17px);
    cursor: pointer;
}

/* Bouton inscription */
.conteneur-inscription .btn-inscription {
    --btn-inscription-scale: 1.6;
    margin: 5% auto 0;
    padding: 0.5% 4%;
    height: 5%;
    background-color: #FFBE00;
    border: none;
    border-radius: 15px;
    color: transparent;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.2vw, 18px);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(var(--btn-inscription-scale));
    transform-origin: center;
    align-self: center;
}
.conteneur-inscription .btn-inscription:active {
    transform: scale(calc(var(--btn-inscription-scale) * 0.95));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.conteneur-inscription .btn-inscription::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: calc(92% - 2px);
    height: calc(50% - 1px);
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    z-index: 1;
}
.conteneur-inscription .btn-inscription::after {
    content: "Je m'inscris !";
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    z-index: 3;
    pointer-events: none;
    color: #F54800;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.2vw, 18px);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.conteneur-inscription .btn-inscription:hover {
    background-color: #F54800;
}

.conteneur-inscription .btn-inscription:hover::after {
    color: #FFEFC3;
}

/* Connexion Google */
.conteneur-inscription .connexion-google {
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background-color: transparent;
    box-sizing: border-box;
}

.conteneur-inscription .connexion-google .texte-connexion-google {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(13px, 1.3vw, 17px);
    color: #713b00;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    flex-shrink: 1;
    min-width: 0;
}

.conteneur-inscription .connexion-google .texte-connexion-google .texte-inscris-toi {
    color: #F54800;
}

.conteneur-inscription .connexion-google .btn-connexion-google {
    padding: 3px 5px;
    background-color: #0673B1;
    border: none;
    border-radius: 15px;
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: scale(1.2);
    transform-origin: center;
    text-decoration: none;
}

.conteneur-inscription .connexion-google .btn-connexion-google .ico-google {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.conteneur-inscription .connexion-google .btn-connexion-google:hover {
    background-color: #055a8f;
}

/* Ajustements responsives du bouton */
/* Breakpoint pour petits écrans */
@media (max-width: 768px) {
    .conteneur-inscription .connexion-google {
        gap: 8px;
    }
    

    
    .conteneur-inscription .formulaire-inscription .ligne-form {
        flex-direction: row;
        gap: 40px;
    }
    
    .conteneur-inscription .formulaire-inscription label {
        font-size: clamp(14px, 3.2vw, 18px);
    }
    
    .conteneur-inscription .formulaire-inscription input {
        padding: 4% 12px;
        font-size: clamp(14px, 3vw, 17px);
    }
}

.Ligne1 .conteneur-jeux {
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    background-color: transparent;
    position: relative;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0px;
    overflow: hidden;
    align-self: stretch;
}

.conteneur-jeux .texte-jeux {
    text-align: center;
    color: #0673B1;
    font-family: 'Lobster', cursive;
    font-size: clamp(22px, 3.5vw, 40px);
    white-space: nowrap;
    max-width: 78%;
    padding: 1% 10px;
    padding-top: 2%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: -70px;
    flex-shrink: 0;
}

.conteneur-jeux .texte-jeux .jeux-orange {
    color: #F54800;
}

.conteneur-nav-texte .texte-parties-gratuites {
    text-align: center;
    color: #0673B1;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(14px, 1.3vw, 24px);
    margin-top: 0%;
    padding: 1% 10px;
    box-sizing: border-box;
    font-weight: bold;
    font-weight: 600;
}
.conteneur-nav-texte .texte-parties-gratuites .cinquante {
    color: #F54800;
}

.slider-jeux-wrapper {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10%;
    margin-right: 10%;
    position: relative;
    flex: 0 0 auto;
    max-height: none;
    align-items: center;
    justify-content: flex-start;
    z-index: 100;
}


/* Animations de glissement */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.slide-jeux {
    display: none;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Desktop : afficher uniquement les slides desktop actifs */
.slide-jeux-desktop.active {
    display: block;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: slideInRight 0.5s ease-out forwards;
}

.slide-jeux-desktop.exit {
    display: block;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    animation: slideOutLeft 0.5s ease-out forwards;
}

/* Masquer les slides tablette et mobile par défaut (desktop) */
.slide-jeux-tablette {
    display: none;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.slide-jeux-tablette.exit {
    display: block;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    animation: slideOutLeft 0.5s ease-out forwards;
}

.slide-jeux-mobile {
    display: none;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.slide-jeux-mobile.exit {
    display: block;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    animation: slideOutLeft 0.5s ease-out forwards;
}

/* Masquer les slides desktop en tablette */
@media (min-width: 769px) and (max-width: 980px) {
    .slide-jeux-desktop {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-desktop.active {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-tablette {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-tablette.active {
        display: block;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        animation: slideInRight 0.5s ease-out forwards;
    }
    
    .conteneur-jeux .vignettes-jeux-ligne1,
    .conteneur-jeux .vignettes-jeux-ligne2 {
        width: 100%;
        gap: 30px;
    }

    .conteneur-jeux .vignettes-jeux-ligne2 {
        margin-right: 0;
    }

    .conteneur-jeux .vignette-game-wrapper {
        flex: 0 0 calc((100% - 54px) / 3);
        max-width: calc((100% - 54px) / 3);
    }
}

.conteneur-jeux .vignettes-jeux {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    padding-bottom: 0;
}

.conteneur-jeux .vignettes-jeux-ligne1,
.conteneur-jeux .vignettes-jeux-ligne2 {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

/* Largeur pour desktop (> 980px) */
@media (min-width: 981px) {
    .conteneur-jeux .vignettes-jeux-ligne1,
    .conteneur-jeux .vignettes-jeux-ligne2 {
        width: 100%;
        gap: 6%;
    }

    .conteneur-jeux .vignettes-jeux-ligne2 {
        margin-left: 0;
        margin-right: 72px;
    }
}


.conteneur-jeux .vignette-jeux-ico-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.conteneur-jeux .vignette-jeux-ico-wrapper .vignette-jeux {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 2px;
    box-sizing: border-box;
    background-color: white;
    border: 2px solid white;
    border-radius: 15px;

    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

.conteneur-jeux .vignette-jeux-ico-wrapper .ico-jeux-background {
    position: absolute;
    top: -40%;
    left: -27%;
    z-index: 0;
    width: 62%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    pointer-events: none;
    display: block;
    visibility: visible;
}

.conteneur-jeux .vignette-jeux {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    background-color: white;
    border: 2px solid white;
    border-radius: 15px;
    margin-top: 2px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

.conteneur-jeux .vignette-jeux:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

.conteneur-jeux .vignette-jeux .image-jeux {
    max-width: 136%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
  
}

.conteneur-jeux .vignette-jeux .image-jeux-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 136%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 15px;
}

.conteneur-jeux .vignette-jeux:hover .image-jeux {
    opacity: 0;
}

.conteneur-jeux .vignette-jeux:hover .image-jeux-hover {
    opacity: 1;
    border-radius: 15px;
}

/* Permutation des images au clic (classe .active en mobile) */
.conteneur-jeux .vignette-game-wrapper.active .vignette-jeux .image-jeux {
    opacity: 0;
}

.conteneur-jeux .vignette-game-wrapper.active .vignette-jeux .image-jeux-hover {
    opacity: 1;
}

.conteneur-jeux .vignette-game-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 calc((100% - 81px) / 4);
    max-width: calc((100% - 81px) / 4);
}

/* Override for tablette: 3 vignettes per line */
@media (min-width: 769px) and (max-width: 980px) {
    .conteneur-jeux .vignette-game-wrapper {
        flex: 0 0 calc((100% - 54px) / 3);
        max-width: calc((100% - 54px) / 3);
    }
}

/* Override for mobile: 3 vignettes per line */
@media (max-width: 768px) {
    .conteneur-jeux .vignette-game-wrapper {
        flex: 0 0 calc((100% - 0px) / 3);
        max-width: calc((100% - 0px) / 3);
    }

    .conteneur-jeux .vignette-legende {
        top: calc(100% + 5px) !important;
        width: 125% !important;
        padding: 4px 6px !important;
    }
}

.conteneur-jeux .vignette-legende {
    position: absolute;
    background-color: white;
    padding: 8px 12px;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(11px, 1vw, 15px);
    color: #713b00;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    /* Légende juste en dessous de la vignette, centrée, 1.5x la largeur */
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
}


.conteneur-jeux .vignette-game-wrapper:hover .vignette-legende,
.conteneur-jeux .vignette-game-wrapper.active .vignette-legende {
    opacity: 1;
    pointer-events: auto;
}

.conteneur-jeux .conteneur-nav-texte {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 1%;
    left: 0;
    right: 0;
    z-index: 10;
}

.slider-jeux-nav-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    padding-bottom: 1px;
}

.slider-jeux-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.slider-jeux-nav-dot:hover {
    background-color: #0673B1;
    transform: scale(1.2);
}

.slider-jeux-nav-dot.active {
    background-color: #0673B1;
    transform: scale(1.3);
}

/* Breakpoint pour tablettes et plus */

/* Breakpoint pour tablettes (768px à 980px) */
@media (min-width: 769px) and (max-width: 980px) {
    .Ligne1 {
        height: auto;
        min-height: auto;
    }

    .Ligne1 .conteneur-inscription {
        width: 40%;
        margin-left: 0;
        margin-right: 0;
    }

    .conteneur-illust-cadeaux {
        width: 40%;
        margin-left: 0;
        margin-right: 0;
    }

}

/* Gap pour les légendes en tablette uniquement (769px - 980px) */
@media (min-width: 769px) and (max-width: 980px) {
    .conteneur-jeux .vignette-legende {
        top: calc(100% + 5px);
    }
}

/* Breakpoint pour petits écrans - Layout mobile */
@media (max-width: 768px) {
    .Ligne1 {
        flex-direction: column;
        height: auto;
        min-height: 36vh;
        margin-top: 0;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .Ligne1 .conteneur-inscription {
        width: 100%;
        max-width: 100%;
        flex-shrink: 1;
        margin-left: 0;
        margin-right: 0;
    }
    
    .Ligne1 .conteneur-jeux {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 0 auto;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
    }

    .Ligne1 .conteneur-evenements {
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        flex: 0 0 auto;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
        padding: 0 5px;
    }

    .conteneur-jeux .texte-jeux {
        margin-bottom: 10px;
    }
    

    

    
    .conteneur-jeux .conteneur-nav-texte {
        position: relative;
        bottom: auto;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
 
    
    /* Masquer les slides desktop et tablette en mobile */
    .slide-jeux-desktop {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-desktop.active {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-tablette {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-tablette.active {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-mobile {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .slide-jeux-mobile.active {
        display: block;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        animation: slideInRight 0.5s ease-out forwards;
    }

    .slide-jeux-mobile.exit {
        display: block;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        animation: slideOutLeft 0.5s ease-out forwards;
    }
    
    /* Configuration des vignettes pour mobile : 3 par ligne */
    .conteneur-jeux .vignettes-jeux-ligne1,
    .conteneur-jeux .vignettes-jeux-ligne2 {
        width: 100%;
        gap: 15px;
    }

    .conteneur-jeux .vignette-game-wrapper {
        flex: 0 0 calc((100% - 0px) / 3);
        max-width: calc((100% - 0px) / 3);
    }

    .conteneur-jeux .vignettes-jeux-ligne2 {
        display: none;
    }

    .conteneur-inscription .connexion-google .texte-connexion-google {
        font-size: clamp(12px, 3vw, 16px);
    }
    
    .Ligne2 {
        flex-direction: column;
        height: auto;
        min-height: 34vh;
    }
    
    .Ligne2 .conteneur-evenements {
        width: 100%;
        height: 94%;
        min-height: 50%;
        max-height: none;
        order: 1;
    }
    
    .Ligne2 .conteneur-evenements::after {
        display: none;
    }
    
    .Ligne2 .conteneur-bonus {
        width: 100%;
        height: auto;
        min-height: 20vh;
        max-height: none;
        order: 2;
    }
    
    .titre-bonus {
        margin-top: 0;
    }
    
    .Ligne3 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        background-color: #A9D3ED;
        padding: 10px;
        gap: 10px;
        margin-top: 5px;
        clear: both;
    }
    
    .Ligne3 .conteneur-illust-cadeaux {
        display: none;
    }
    

    
    .Ligne3 .image-illustration-cadeaux-v2 {
        order: 2;
        width: 25%;
        margin-top: 0;
        flex-shrink: 0;
    }
    
    .Ligne3 .conteneur-vignettes-cadeaux {
        order: 2;
        width: 55%;
        padding: 0;
        align-items: center;
        justify-content: flex-start;
    }
    
    .Ligne3 .conteneurs-cadeaux-wrapper-v2 {
        width: 180%;


    }
    
    .Ligne3 .conteneur-cadeau-v2:nth-child(n+4) {
        display: none;
    }
    
    .titre-commentaires {
        margin-top: 10px;
        padding: 10px 0;
    }
    
    .image-illustration-cadeaux-v2 {
        display: none;
    }
    
    .conteneurs-commentaires {
        flex-direction: column;
        gap: 15px;
        margin-top: -15px;
    }
    
    .conteneur-joueur-v2 {
        max-width: 100%;
        width: 100%;
        min-height: auto;
        height: auto;
    }
    

    
    .conteneur-titre-evenements {
        width: 100%;
        left: 0;
        margin-left: 0;
        padding: 0 10px;
        gap: 2px;
    }
    
    .titre-evenements {
        font-size: clamp(22px, 4vw, 28px);
    }
    
    .titre-bonus {
        font-size: clamp(22px, 4vw, 28px);
    }
    
    .ico-evenement-titre {
        width: auto;
        height: clamp(20px, 4vw, 30px);
        flex-shrink: 1;
    }





}

/* ============================================
   STYLES POUR LE SELECT DU PAYS (v2)
   ============================================ */

/* Style du select pour qu'il ressemble aux inputs */
.conteneur-inscription .formulaire-inscription select {
    width: 100%;
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 5% 12px;
    padding-right: 35px; /* Espace pour la flèche */
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(14px, 1.1vw, 17px);
    color: #713b00;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.conteneur-inscription .formulaire-inscription select:hover,
.conteneur-inscription .formulaire-inscription select:focus {
    border-color: #F54800;
    background-color: white;
}

.conteneur-inscription .formulaire-inscription select.input-valid {
    background-color: #d4edda;
    border-color: #28a745;
}

/* Wrapper pour le champ select avec flèche personnalisée */
.conteneur-inscription .formulaire-inscription .champ-select {
    position: relative;
}

.conteneur-inscription .formulaire-inscription .champ-select::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: calc(50% + 12px); /* Ajustement pour prendre en compte le label */
    transform: translateY(-50%);
    color: #713b00;
    pointer-events: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.conteneur-inscription .formulaire-inscription .champ-select:hover::after {
    color: #F54800;
}

/* Style des options du select */
.conteneur-inscription .formulaire-inscription select option {
    background: white;
    color: #713b00;
    padding: 10px;
}

/* Style pour les options désactivées ou vides (séparateurs) */
.conteneur-inscription .formulaire-inscription select option[value=""] {
    color: #999;
    font-style: italic;
}

/* Responsive : ajustement pour mobile */
@media (max-width: 768px) {
    .conteneur-inscription .formulaire-inscription select {
        padding: 4% 12px;
        padding-right: 35px;
        font-size: clamp(14px, 3vw, 17px);
    }
}



