/* ============================================
   STYLES GLOBAUX - RÉINITIALISATION ET BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    /* Support iPhone avec status bar verte */
    background-color: #5C0FFF;
    /* Support iOS safe area */
    padding-top: env(safe-area-inset-top);
}

body {
    font-family: 'Bungee', sans-serif;
    line-height: 1.6;
    color: #333;
    /* Éviter le scroll horizontal */
    /* Support iOS safe area */
    padding-top: env(safe-area-inset-top);
}

/* Simulation de status bar verte pour iOS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 44px);
    background-color: #5C0FFF;
    z-index: 9999;
    pointer-events: none;
}

/* Support pour iOS avec notch */
@supports (padding: env(safe-area-inset-top)) {
    body::before {
        height: env(safe-area-inset-top);
    }
}

/* Styles spécifiques pour iOS */
.ios-device {
    /* Force le background vert même sur iOS */
    background-color: #5C0FFF !important;
}

.ios-device #content {
    /* Assure que le contenu ne passe pas sous la status bar */
    margin-top: env(safe-area-inset-top, 0px);
}

/* Status bar overlay pour iOS */
#ios-status-bar-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: env(safe-area-inset-top, 44px) !important;
    background-color: #5C0FFF !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

/* Fix pour Safari iOS - force la couleur de theme */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    html {
        background-color: #5C0FFF !important;
    }

    body {
        background-color: #5C0FFF !important;
    }
}

/* Support PWA et mode plein écran */
@media (display-mode: standalone) {
    body {
        padding-top: env(safe-area-inset-top, 0px) !important;
        background-color: #5C0FFF !important;
    }
}

/* Fix spécifique pour Safari sur iOS */
@supports (-webkit-touch-callout: none) {
    html {
        background: #5C0FFF !important;
        background-color: #5C0FFF !important;
    }

    body {
        background: #5C0FFF !important;
        background-color: #5C0FFF !important;
    }

    .status-bar-fix {
        background: #5C0FFF !important;
        background-color: #5C0FFF !important;
    }
}

/* ============================================
   SECTIONS - STYLES DE BASE
   ============================================ */

section {
    z-index: 100;
    width: 100%;
    max-width: 100vw;
    padding: 25vh 0 7vh;
    position: relative;
    background-color: #FDFBEF;
    overflow-x: clip;
}

section.section-intro {
    padding-top: 4vh !important;
}

section.section-intro p {
    color: #ffffff;
}

/* Cascade des z-index pour les sections */
section:nth-of-type(1) {
    z-index: 10;
}

section:nth-of-type(2) {
    z-index: 9;
}

section:nth-of-type(3) {
    /* z-index: 8; */
    padding: 7vh 0 7vh;
}

section:nth-of-type(4) {
    z-index: 7;
    padding: 16vh 0 7vh;
}

/* Arrondi blanc par défaut pour toutes les sections */
section::after {
    z-index: -1;
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    width: 200vw;
    max-width: 200vw;
    height: 130px;
    background-color: #FDFBEF;
    border-radius: 50%;
    transform: translateX(-50%);
}

/* Grille de fond pour les sections blanches */
section:before {
    pointer-events: none;
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    max-height: 900px;
    background: #FDFBEF url(../images/bg-grid-black.png) 130% top / 90% no-repeat;
}

/* ============================================
   SECTIONS - VARIANTES DE COULEURS
   ============================================ */

/* Section verte */
.section-intro,
.section-green {
    background-color: #5C0FFF;
}

.section-intro::after,
.section-green::after {
    background-color: #5C0FFF;
    z-index: -2;
}

.section-intro:before,
.section-green:before {
    background: #5C0FFF url('../images/bg-grid-black.png') no-repeat 60% center / 90%;
}

/* Section noire */
.section-black {
    background-color: #000;
}

.section-black * {
    color: white;
}

.section-black::after {
    background-color: #000;
    z-index: -1;
}

.section-black:before {
    background: #000 url(../images/bg-grid-white.png) center bottom / 90% no-repeat;
    height: 60%;
    width: 170%;
    max-width: 2000px;
}

.page-text section {
    padding: 8vh 0 7vh;
    font-family: Arial, sans-serif;
    letter-spacing: 0px;
}

/* ============================================
   CONTENEURS
   ============================================ */

#content {
    max-width: 100vw;
}

.uk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Titres responsifs pour section-intro */
.section-intro h1 {}

p {
    margin-bottom: 1rem;
}

/* ============================================
   STYLES POUR LES MOTS INDIVIDUELS
   ============================================ */

/* Spans pour les mots des titres */
.word {
    display: inline-block;
    /* Prêt pour animations futures */
    transition: all 0.3s ease;
}

/* Effets hover optionnels sur les mots */
.word:hover {
    /* transform: scale(1.05); */
    /* color: #FFD600; */
}

/* ============================================
   BOUTONS
   ============================================ */

/* Bouton standard */
button {
    position: relative;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Bungee', sans-serif;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(-6px) translateX(6px);
    box-shadow: -6px 6px 0px #000;
}

button:hover {
    background: rgb(255 214 1) !important;
    box-shadow: 0 0 0px transparent;
    color: #000000 !important;
    transform: translateY(0) translateX(0);
}

button:active {
    transform: translateY(-2px) translateX(2px);
    box-shadow: -2px 2px 0px #000;
    transition: all 0.1s ease;
}

/* Groupe de boutons */
.btn-hero-group {
    display: flex;
}

/* Bouton retour pages légales */
.btn-back {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 12px 20px;
    border-radius: 0px;
    font-family: 'Bungee', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(-3px) translateX(3px);
    box-shadow: -6px 6px 0px #5C0FFF;
}

.btn-back:hover {
    background: #000;
    color: #fff;
    transform: translateY(0) translateX(0);
    box-shadow: 0 0 0px transparent;
}

.btn-back:active {
    transform: translateY(-1px) translateX(1px);
    box-shadow: -2px 2px 0px #5C0FFF;
    transition: all 0.1s ease;
}

/* Bouton hero avec icône */
.btn-hero {
    background: #ffd601;
    color: #000;
    border: 2px solid #000;
    padding: 12px 24px;
    border-radius: 0px;
    font-family: 'Bungee', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    height: 54px;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(-4px) translateX(4px);
    box-shadow: -8px 8px 0px #000;
}

.btn-hero:hover {
    background: #000;
    color: white;
    transform: translateY(0) translateX(0);
    box-shadow: 0 0 0px transparent;
}

.btn-hero:active {
    transform: translateY(-1px) translateX(1px);
    box-shadow: -3px 3px 0px #000;
    transition: all 0.1s ease;
}

.btn-hero img {
    width: 20px;
    height: auto;
    transition: filter 0.3s ease;
}

.btn-hero:hover img {
    filter: brightness(0) invert(0);
}

/* ============================================
   CAROUSEL
   ============================================ */

.carousel {
    position: relative;
    overflow: initial;
}

.carousel .carousel-item {
    z-index: 1;
    position: sticky;
    top: 0;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 20px;
    /* overflow: hidden; */
}

.carousel .carousel-item:first-child {
    background: transparent;
}

.carousel .carousel-item:nth-child(n+2) {
    background: #FDFBEF;
}

.carousel .carousel-item img {
    max-width: 300px;
    margin: 60px 0;
}

.carousel .carousel-item:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    background: rgb(253 251 239);
    z-index: -1;
    transform: rotate(-2deg);
}

.carousel-item h3 {
    /* max-width: 500px; */
    margin: 0 auto;
    color: #FFD600;
    max-width: 600px;
}

.carousel .carousel-item .carousel-item-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .carousel .carousel-item {
        position: relative;
        top: auto;
        padding: 20px 25px;
    }

    .carousel .carousel-item img {
        margin: 25px 0;
    }
}

/* ============================================
   AVIS / REVIEWS
   ============================================ */

#page-reviews .reviews-paragraph {
    margin: -200px auto 100px;
    /* max-width: 600px; */
}

#page-reviews .reviews-paragraph h2,
#page-reviews .reviews-paragraph p {
    position: relative;
    z-index: 999;
    text-align: center;
    /* margin-top: -200px; */
    /* margin-bottom: 260px; */
    line-height: 1;
}

.reviews {
    overflow: hidden;
    margin: 40px 0;
}

.reviews-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.reviews-row-left {
    animation-name: scrollLeft;
}

.reviews-row-right {
    animation-name: scrollRight;
}

.reviews-row .review {
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 0px;
    padding: 30px;
    width: 350px;
    min-width: 350px;
    flex-shrink: 0;
    color: white;
    box-shadow: -6px 6px 0px #ffffff;
}

.reviews-row .review p:first-child {
    font-style: italic;
    margin-bottom: 40px;
    font-size: 1.2em;
}

.reviews-row .review p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ============================================
   FAQ
   ============================================ */

.faq-paragraph {
    text-align: center;
    margin: 0 auto 70px;
    /* max-width: 900px; */
}

#page-faq:before {
    pointer-events: none;
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40vw;
    background: #FDFBEF url(../images/bg-grid-black.png) 130% top / 90% no-repeat;
}

.faq {
    display: flex;
    gap: 20px;
    align-items: start;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.faq-item {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 2px;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: -6px 6px 0px #000;
}

.faq-item:hover {
    border-color: #000;
    background: #ffd601;
    color: #fff;
}

.faq-item h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    color: #000;
    position: relative;
    padding-left: 30px;
    transition: color 0.3s ease;
    text-shadow: none;
    -webkit-text-stroke: initial;
    text-stroke: initial;
    letter-spacing: 0;
}

.faq-item:hover h3,
.faq-item.active h3 {
    color: #000000;
}

/* Icône arrow down pour la FAQ */
.faq-item h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url('../icons/streamline-vectors-main/core/solid/interface-essential/arrow-down-dashed-square.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.faq-item:hover h3:before,
.faq-item.active h3:before {
    filter: brightness(0) invert(0);
}

.faq-item.active h3:before {
    transform: rotate(180deg);
}

/* Contenu caché de la FAQ */
.faq-item p {
    font-weight: normal;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: #FFD600;
    color: #000000;
    border-color: #000;
    box-shadow: -6px 6px 0px #000;
}

.faq-item.active p {
    max-height: 200px;
    opacity: 1;
    margin: 15px 0 0 0;
}

@media (max-width: 768px) {
    .faq {
        flex-direction: column;
    }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    z-index: 1;
    width: 100%;
    padding: 0;
    background-color: white;
    position: relative;
    color: #fff;
}

footer:before {
    z-index: 0;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('../images/bg-grid-black.png') no-repeat center center;
    background-size: 80%;
    opacity: 0.15;
    pointer-events: none;
}

footer .footer-sticky {
    position: sticky;
    bottom: 0;
    z-index: 6;
    padding: 34vw 0 5vw;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffd601;
    font-weight: bold;
}

/* Icône d'expansion pour les liens du footer */
footer a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 12px;
    height: 12px;
    background-image: url('../icons/streamline-vectors-main/flex/solid/interface-essential/expand-window-1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    filter: invert(1);
}

.footer-image-float {
    position: absolute;
    left: 10vw;
    top: -40px;
    width: 80vw;
    height: auto;
    opacity: 0.9;
    pointer-events: none;
}

/* ============================================
   SECTION HERO
   ============================================ */

#page-hero {
    padding-top: 5vw;
    padding-bottom: 10vw;
}

#page-hero:before {
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: #5C0FFF url('../images/bg-grid-black.png') no-repeat 60% center / 90%;
}

/* Image flottante du hero */
#page-hero .hero-image-float {
    position: absolute;
    left: 50%;
    top: 67%;
    transform: translate(0vw, -50%);
    max-width: 67vh;
    width: 60%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

#page-hero .hero-text {
    z-index: 9;
    position: relative;
    padding-top: 60px;
    color: #fff;
    width: 800px;
}

#page-hero .hero-passions {
    position: absolute;
    bottom: -14vw;
    left: 50vw;
    text-align: center;
    transform: rotate(-6deg) translateX(-50vw);
    width: 100%;
    font-size: clamp(4.5rem, 23vw, 24rem);
    color: #fdfbef;
    -webkit-text-stroke: .4px #000;
    text-stroke: 2px #000;
    text-shadow: -6px 6px 0px #000;
    letter-spacing: -4px;
    transform-origin: 50%;
}

/* Logo hero */
.logo {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 90px;
    margin-left: -60px;
}

.logo .logo-icon {
    position: relative;
    width: 75px;
    height: auto;
    left: -20px;
    margin-top: -24px;
    margin-right: -35px;
    transform-origin: bottom center;
    animation: wave-hand 2.5s ease-in-out infinite;
    animation-delay: 1s;
}

.logo .logo-text {
    height: 70px;
    width: auto;
}

.logo.small {
    gap: 7px;
    margin-left: 0px;
}

.logo.small .logo-icon {
    width: 34px;
    margin-top: -15px;
    margin-right: -5px;
}

.logo.small .logo-text {
    height: 35px;
    margin-left: -20px;
}

/* ============================================
   ÉLÉMENTS FLOTTANTS DÉCORATIFS
   ============================================ */

.feat1 {
    position: absolute;
    bottom: 444px;
    left: 50%;
    margin-left: -220px !important;
    width: 200px;
    height: 200px;
    animation: float-gentle-1 8s ease-in-out infinite;
}

.feat2 {
    position: absolute;
    bottom: 230px;
    left: 50%;
    margin-left: 40px !important;
    width: 200px;
    height: 200px;
    animation: float-gentle-2 9s ease-in-out infinite;
    animation-delay: 0.5s;
}

.feat3 {
    position: absolute;
    bottom: 90px;
    left: 50%;
    margin-left: -200px !important;
    width: 140px;
    height: 140px;
    animation: float-gentle-3 7s ease-in-out infinite;
    animation-delay: 1s;
}

.star1 {
    position: absolute;
    bottom: 430px;
    left: 50%;
    margin-left: 180px !important;
    width: 100px;
    height: auto;
    animation: float-gentle-1 10s ease-in-out infinite;
    animation-delay: 0.8s;
}

.star2 {
    position: absolute;
    bottom: 150px;
    left: 50%;
    margin-left: 180px !important;
    width: 50px;
    height: auto;
    animation: float-gentle-4 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.star3 {
    position: absolute;
    bottom: 160px;
    left: 50%;
    margin-left: -260px !important;
    width: 60px;
    height: auto;
    animation: float-gentle-2 8.5s ease-in-out infinite;
    animation-delay: 0.3s;
}

.didit {
    position: absolute;
    bottom: 130px;
    left: 50%;
    width: 200px;
    height: auto;
    animation: float-gentle-3 9.5s ease-in-out infinite;
    animation-delay: 1.2s;
}

.message1 {
    position: absolute;
    bottom: 440px;
    left: 50%;
    margin-left: -200px !important;
    max-width: unset !important;
    width: 395px;
    height: auto;
    animation: float-gentle-1 11s ease-in-out infinite;
    animation-delay: 0.6s;
}

.message2 {
    position: absolute;
    bottom: 300px;
    left: 50%;
    margin-left: -200px !important;
    max-width: unset !important;
    width: 395px;
    height: auto;
    animation: float-gentle-2 10s ease-in-out infinite;
    animation-delay: 1.8s;
}

.message3 {
    position: absolute;
    bottom: 175px;
    left: 50%;
    margin-left: -200px !important;
    max-width: unset !important;
    width: 395px;
    height: auto;
    animation: float-gentle-4 9s ease-in-out infinite;
    animation-delay: 2.5s;
}

.notification1 {
    position: absolute;
    bottom: 440px;
    left: 50%;
    margin-left: -200px !important;
    max-width: unset !important;
    width: 395px;
    height: auto;
    animation: float-gentle-3 10.5s ease-in-out infinite;
    animation-delay: 0.9s;
}

.money {
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: 50px !important;
    max-width: unset !important;
    width: 160px;
    height: auto;
    animation: float-gentle-1 8.5s ease-in-out infinite;
    animation-delay: 1.6s;
}

/* ============================================
   ANIMATION EMOJIS TOMBANTS - FALLING EMOJIS
   ============================================ */

/**
 * Conteneur pour les emojis tombants
 * INPUT: aucun
 * LOGIQUE: Crée un conteneur fixe en arrière-plan pour contenir tous les emojis tombants
 * OUTPUT: Élément positionnement fixe transparent qui couvre tout l'écran
 */
.falling-emojis-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Permet aux clics de passer à travers */
    z-index: 9998;
    /* Au-dessus de tous les éléments pour être visible (status bar est 9999) */
    overflow: hidden;
}

/**
 * Emoji individuel tombant
 * INPUT: aucun
 * LOGIQUE: Style de base pour chaque emoji tombant
 * OUTPUT: Emoji animé positionnement absolu
 */
.falling-emoji {
    position: absolute;
    font-size: 4rem;
    top: -50px;
    /* Démarre au-dessus de l'écran */
    opacity: 0.8;
    /* Légère transparence */
    user-select: none;
    /* Empêche la sélection */
    pointer-events: none;
    /* Empêche les interactions */
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
    /* Légère ombre pour lisibilité */
    animation-timing-function: linear;
    /* Chute constante */
}

/**
 * Animation de chute
 * INPUT: duration personnalisée en JavaScript
 * LOGIQUE: Anime l'emoji du haut vers le bas de l'écran avec légère rotation
 * OUTPUT: Emoji tombe verticalement avec légère rotation aléatoire
 */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive: Ajuste la taille des emojis sur petits écrans */
@media (max-width: 768px) {
    .falling-emoji {
        font-size: 3rem;
    }
}

/* Responsive: Emojis encore plus petits sur très petits écrans */
@media (max-width: 480px) {
    .falling-emoji {
        font-size: 2.5rem;
    }
}

/* ============================================
   SÉLECTEUR DE LANGUE
   ============================================ */

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffd600;
    backdrop-filter: blur(10px);
    border: 2px solid #000000;
    padding: 14px 20px;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: -6px 6px 0px #000; */
    font-family: 'Bungee', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-dropdown-btn:hover {
    /* background: rgb(255 214 1); */
    /* box-shadow: -6px 6px 0px #000; */
    /* color: #000000; */
}

.lang-dropdown-btn .lang-code {
    color: #000;
    font-weight: 700;
    transition: color 0.3s ease;
}

.lang-dropdown-btn:hover .lang-code {
    color: #000000;
}

.lang-dropdown-btn .lang-arrow {
    width: 16px;
    height: 16px;
    background-image: url('../icons/streamline-vectors-main/core/solid/interface-essential/arrow-down-2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.lang-dropdown-menu.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px 19px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Bungee', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: left;
    border-radius: 0;
    transform: translateY(-0px) translateX(0px);
    box-shadow: none;
}

.lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-option.active {
    background: rgb(0 0 0);
    font-weight: 700;
    color: #fff;
    box-shadow: none;
}

.lang-option .lang-code-option {
    color: #666;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 30px;
}

.lang-option.active .lang-code-option {
    color: #000;
}

.lang-option .lang-name {
    color: #000;
    transition: color 0.2s ease;
}

.lang-option.active .lang-name {
    color: #fff;
}

/* ============================================
   PAGES LÉGALES
   ============================================ */

.legal-page {
    min-height: 100vh;
    background-color: #5C0FFF;
    position: relative;
    padding: 0;
    margin: 0;
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: transparent;
    position: relative;
    z-index: 10;
}

.legal-content {
    background-color: white;
    margin: 0 auto 80px;
    max-width: 800px;
    border-radius: 20px;
    padding: 60px;
    position: relative;
    z-index: 5;
    margin-top: -20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Bungee', sans-serif;
}

.legal-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin: 0 auto 40px;
    line-height: 1.6;
    max-width: 600px;
}

.legal-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.legal-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000;
}

.legal-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000;
}

.legal-body p {
    margin-bottom: 15px;
}

.legal-body ul,
.legal-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-body li {
    margin-bottom: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Animation du logo - main qui s'agite */
@keyframes wave-hand {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-15deg);
    }

    20%,
    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

/* Animation de défilement infini des avis - vers la gauche */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Animation de défilement infini des avis - vers la droite */
@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Animations de flottement doux pour éléments décoratifs */
@keyframes float-gentle-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(3px, -5px) rotate(0.5deg);
    }

    50% {
        transform: translate(-2px, -8px) rotate(-0.3deg);
    }

    75% {
        transform: translate(4px, -6px) rotate(0.4deg);
    }
}

@keyframes float-gentle-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-4px, -6px) rotate(-0.6deg);
    }

    66% {
        transform: translate(3px, -9px) rotate(0.4deg);
    }
}

@keyframes float-gentle-3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    30% {
        transform: translate(5px, -5px) rotate(0.8deg);
    }

    60% {
        transform: translate(-3px, -7px) rotate(-0.5deg);
    }
}

@keyframes float-gentle-4 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    40% {
        transform: translate(-3px, -8px) rotate(-0.4deg);
    }

    80% {
        transform: translate(4px, -5px) rotate(0.6deg);
    }
}

/* ============================================
   RESPONSIVE - TABLETTES ET MOBILE
   ============================================ */

@media screen and (max-width: 960px) {
    section {
        padding: 12vh 0 7vh;
    }

    section::before {
        background: #FDFBEF url(../images/bg-grid-black.png) 24% top / 170% no-repeat;
    }

    section:nth-of-type(4) {
        padding: 10vh 0 4vh;
    }

    .btn-hero-group {
        display: inline-block;
    }

    .logo {
        margin: 17px auto 50px;
        align-items: center;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        margin-left: -30px;
    }

    .logo .logo-icon {
        width: 60px;
        margin-top: -15px;
        margin-right: -30px;
    }

    .logo .logo-text {
        height: 65px;
    }

    #page-hero {
        text-align: center;
        padding-bottom: 19vw;
    }

    #page-hero:before {
        background: #5C0FFF url(../images/bg-grid-black.png) no-repeat 60% top / 150%;
    }

    #page-hero h1 {
        font-size: clamp(4.5rem, 9vw, 10rem);
        line-height: 1;
    }

    #page-hero .hero-text {
        padding-top: 30px;
        margin: 0 auto;
        max-width: 100%;
    }

    #page-hero .hero-image-float {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        max-width: 300px;
        margin: 40px auto 0;
        display: none;
    }

    #page-reviews .reviews-paragraph {
        margin: 0px auto 70px;
    }

    #page-faq:before {
        background: transparent url(../images/bg-grid-black.png) 0 top / 140% no-repeat;
    }

    footer .footer-sticky {
        padding: 36vw 0 5vw;
    }

    footer .footer-sticky .footer-image-float {
        left: 5vw;
        top: -5px;
        width: 90vw;
    }

    footer .logo {
        display: none !important;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .lang-dropdown-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .lang-dropdown-menu {
        min-width: 140px;
    }

    .lang-option {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    /* Pages légales responsive */
    .legal-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .legal-content {
        margin: 0 20px 40px;
        padding: 40px 30px;
        margin-top: -10px;
    }

    .legal-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .legal-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .legal-body {
        font-size: 0.95rem;
    }

    .legal-body h2 {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .legal-body h3 {
        font-size: 1.1rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .btn-back {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    section:nth-of-type(3) {
        z-index: 8;
        padding: 7vh 0 7vh;
    }
}