::-webkit-scrollbar {
    display: none;
}

/* Style général */
body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #0D0D0D, #3a0d72); /* Dégradé noir-violet */
    color: white;
    text-align: center;
    
}

h1 {
    font-size: 32px;
    margin: 0;
}

p {
    font-size: 1.2rem;
}


/* Barre de navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.85);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo et titre */
.header-left {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    margin-right: 10px;
}



/* Style du menu burger */
.menu-toggle {
    display: none; /* Caché par défaut */
    font-size: 32px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 100px; /* Position fixée */
    transform: translateY(-50%);
    z-index: 1001;
}

/* Mode responsive */
@media (max-width: 800px) {
    /* Affichage du bouton menu burger */
    .menu-toggle {
        display: block;
    }

    /* Cache la navbar classique */
    nav {
        display: none;
        right: -100px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        background: rgba(20, 20, 20, 0.95); /* Fond plus foncé */
        position: fixed; /* Change de absolute à fixed pour le fixer par rapport à l'écran */
        top: 60px; /* Ajuste la hauteur sous la barre de navigation */
        right: 10px; /* Le colle complètement à droite */
        width: 220px; /* Ajuste la largeur */
        padding: 10px 0;
        border-radius: 15px; /* Bords arrondis */
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease-in-out;
        opacity: 0;
        transform: scale(0.95);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        color: white;
        text-decoration: none;
        padding: 10px 0;
        transition: background 0.3s ease;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
    
    
    

    /* Affichage du menu burger */
    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: scale(1);
    }

 
}

/* Réafficher la navbar quand on agrandit l'écran */
@media (min-width: 801px) {
    nav {
        display: flex !important;
    }
}




/* Centrage et alignement de la navbar */
nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #a263ff;
}

/* Section Hero */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
}

.hero-content h2 {
    min-height: 150px;
    margin-top: -50px;
    font-size: 4rem;
    margin-bottom: 20px; /* Augmentation de l'espacement sous le slogan */
}

.highlight {
    color: #a263ff; /* Violet */
    font-weight: bold; /* Optionnel pour les mettre en gras */
}


.hero-content p {
    font-size: 1.4rem;
    max-width: 600px;
    align-items: center;
    margin: 20px auto 40px; /* Plus d'espace entre la description et les boutons */
}


@media (max-width: 800px) {
    
    .hero-content h2 {
        margin-top: -100px;
        font-size: 3.5rem; /* Réduction légère du titre */
    }

    .hero-content p {
        font-size: 1.4rem; /* Réduction légère du texte */
        margin-top: -50px;
        max-width: 500px; /* Ajustement pour éviter trop de largeur */
    }
}

@media (max-width: 600px) {
    .hero-content h2 {
        font-size: 2.8rem; /* Encore plus petit pour les très petits écrans */
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 400px;
    }
}

@media (max-width: 380px) {
    .hero-content h2 {
        margin-top: -100px;
        margin-bottom: 50px;
        font-size: 2.8rem; /* Encore plus petit pour les très petits écrans */
    }

    .hero-content p {
        color: transparent;
        font-size: 0.1rem;
        max-width: 400px;
    }
}

/* Boutons de téléchargement */
.buttons {
    display: flex;
    justify-content: center;
    gap: 25px; /* Réduire l'espacement entre les boutons */
    margin-bottom: -50px; 
}

/* Boutons de téléchargement avec transparence */
.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    width: 250px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2); /* Fond semi-transparent */
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: 0.4s ease-in-out;
    position: relative;
    overflow: hidden; /* Cache l'effet */
}

@media (max-width: 800px) {
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 25px; /* Espacement ajusté entre les boutons */
        margin-bottom: -150px;
    }
}


/* Effet de balayage sur toute la largeur */
.store-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transition: transform 0.6s ease-in-out;
}

/* Effet de balayage + changement de couleur au survol */
.store-button:hover::before {
    transform: translateX(100%);
}

.store-button:hover {
    background: linear-gradient(135deg, #7D3C98, #9B59B6); /* Couleur du dégradé */
}

/* Logo des stores */
.store-button img {
    height: 45px;
}


.store-button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Style général des sections */
.mockup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: -200px;
    margin-top: -170px;
}
/* Conteneur mockup + texte */
.mockup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    margin: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Inversion des éléments dans la deuxième section */
.mockup-container.reverse {
    flex-direction: row-reverse;
}

/* Images mockup */
.mockup {
    width: 40%;
    max-width: 1500px;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

/* Texte explicatif */
.mockup-text {
    max-width: 500px;
    font-size: 1.8rem;
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

/* Animations de slide */
/* Mockup qui glisse à gauche */
.slide-left {
    transform: translateX(100px);
}

/* Mockup qui glisse à droite */
.slide-right {
    transform: translateX(-100px);
}

/* Quand l'élément entre en vue, il apparaît */
.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Responsive */
@media (max-width: 800px) {
    .mockup-section {
        margin-bottom: -20px;
        margin-top: -100px;
    
    }
    .mockup-container {
        flex-direction: column;
        text-align: center;
    }

    .mockup {
        width: 80%;
    }

    .mockup-text {
        max-width: 500px;
        font-size: 1.4rem;
        opacity: 0;
        transition: transform 1s ease-out, opacity 1s ease-out;
    }
    
}

/* Réduction de l’espace entre les boutons de téléchargement et les mockups */
.hero {
    margin-bottom: 20px; /* Réduction de l'espace */
}

.mockup-section {
    padding: 40px 0; /* Moins d'espace en haut et en bas */
}

/* Version mobile : le texte passe toujours au-dessus du mockup */
@media (max-width: 800px) {
    .mockup-container {
        flex-direction: column !important; /* Toujours en colonne */
    }

    p {
        font-size: 1rem;
    }
    
    .mockup-text {
        order: -1; /* Force le texte à être au-dessus */
    }
}


/* Alternance des mockups sur écran large */
@media (min-width: 801px) {
    .mockup-container:nth-child(odd) {
        flex-direction: row-reverse; /* Inverse les éléments impairs */
    }
}

/* Version mobile : tout en colonne, texte toujours au-dessus */
@media (max-width: 800px) {
    .mockup-container {
        flex-direction: column !important;
    }
    
    .mockup-text {
        order: -1; /* Texte toujours au-dessus */
    }
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 150px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contenu principal */
.footer-content {
    max-width: 600px;
    margin: 0 auto 20px;
}

.footer-content h4 {
    margin-top: -10px;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #B583FF; /* Violet pour mettre en valeur */
}

.footer-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Icônes réseaux sociaux */
.socials {
    margin-bottom: 20px;
    margin-top: 20px;
}

.socials a {
    display: inline-block;
    margin: 10px 10px;
    transition: transform 0.3s ease-in-out;
}

.socials img {
    width: 35px;
    filter: brightness(0.8);
}

.socials a:hover {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Liens légaux */
.legal-links {
    margin-bottom: 10px;
}

.legal-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Copyright */
.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Remet le scrollable */
html {
    overflow-y: auto;
}
