@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;600;800&family=Bangers&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
h1, h2, h3 {
    text-align: center;
    font-weight: 400;
    font-style: normal;
    -webkit-text-stroke-color: rgb(0, 0, 0);
    margin-bottom: 0.5em;
    font-family: Bangers, sans-serif !important;
    color: rgb(255, 255, 255) !important;
    text-shadow: rgb(0, 0, 0) 2px 2px 0px !important;
    -webkit-text-stroke-width: 2px !important;
    padding: 6px !important;
}

h2 {
    font-size: 3rem !important;
}

p {
    font-family: Barlow, Condensed !important;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5em;
}

body {
    font-family: 'Barlow', Condensed;
}

img {
    max-width: 100%;
    display: block;
    margin: auto;
}
a {
    text-decoration: none !important;
    color: inherit;
}
/* #menu {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
} */

.btn-danger, .btn-default {
    background-image: none;
    font-family: 'Barlow', Condensed;
    font-weight: 700;
    font-style: normal;
    color: #fff !important;
    border: none;
    text-shadow: none;
    text-transform: uppercase;
    box-shadow: 0 2px 4px #111;
    margin: auto auto 10px;
    font-size: 1.3em !important;
    max-width: 550px;
}
.btn-danger {
    margin-top: 20px;
    background-color: #d20c00;
    border-color: #d20c00;
}
.btn-danger:hover {
    background-color: #b90b00;
    border-color: #b90b00;
    text-decoration: none !important;
}

.header {
    height: 100svh !important;
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px;;
}
.header p {
    font-weight: 600;
    color: #fff !important;
}
.header img {
    margin-bottom: 5vh;
}
#button_bottom i.fs-1 {
    font-size: 4rem !important;
}
.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    height: auto;
}

/* Containers prenant toute la hauteur de la fenêtre */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Ajustement des rows pour qu'elles prennent tout l'espace disponible */
.row {
    flex: 1;
    display: flex;
    align-items: center;
}

/* Ajustement du contenu pour qu'il soit bien centré */
.col-md-8 {
    width: 100%;
}

/* Style commun pour les boutons de navigation entre sections */
.section-nav-button {
    width: 100%;
    text-align: center;
    line-height: 1em;
}

.section-nav-button i.bi {
    font-size: 4rem !important;
    cursor: pointer;
}


h2 {
    max-width: 330px;
    margin: auto;
}
#miniEnquetes {
    height: 100svh;    
}

#miniEnquetes .col-md-8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Image strip: horizontal scroll + native scroll-snap for smooth, hardware-accelerated snapping */
.image-strip {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* inertie iOS */
    touch-action: pan-y;               /* permet le scroll vertical de la page */
    scroll-snap-type: x mandatory;     /* activation du snap natif */
    scroll-behavior: smooth;           /* smooth pour scroll programmatique */
}

/* chaque slide est l'unité de snap et occupe la largeur de la fenêtre */
.image-strip .slide {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;  /* centre le slide lors du snap */
    scroll-snap-stop: always;
    width: 100vw;                /* un slide par "page" */
    padding-left: 20px;
    padding-right: 20px;
}

/* garder la taille d'origine des images et empêcher le wrapping */
.image-strip img {
    flex: 0 0 auto;           /* empêche l'image de se rétrécir/envelopper en flex */
    vertical-align: middle;
    max-width: none !important;
    height: auto;
    display: block;
    max-height: 35svh;
}

/* légendes sous les images */
.image-strip .slide p { 
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: none;
}

/* petit ajustement esthétique pour que le scroll soit uniquement horizontal */
.image-strip::-webkit-scrollbar {
    height: 10px;
}

/* visual pendant le drag (optionnel) */
.image-strip.is-dragging {
    cursor: grabbing;
}

/* Styles pour le carousel Leo */
.carousel {
    margin: 0.5rem auto;      /* marges réduites */
    max-width: 760px;
    overflow: hidden;         /* retirer le scroll */
    padding: 0 0.5rem;        /* légère marge interne */
}

/* s'assurer que le inner n'ouvre pas de scrollbar */
.carousel .carousel-inner {
    overflow: hidden;
    margin-bottom: 1rem;     /* espace réduit pour indicateurs */
}

/* images responsives sans provoquer de débordement */
.carousel .carousel-item img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* indicateurs : plus petits et plus près du carousel */
.carousel .carousel-indicators {
    bottom: -28px;
}
.carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background-color: #666;
}
.carousel .carousel-indicators button.active {
    background-color: #000;
}

.carousel .carousel-control-prev {
    margin-left: -20px;
}


.carousel .carousel-control-next {
    margin-right: -20px;
}

#bonusEnquetes {
    min-height: 100svh;    
}

#bonusEnquetes .row {
    flex: none;
}


@media (max-width: 767px) {
    .btn-danger, .btn-default {
        width: 80% !important;
    }
}