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

body {
    background: #1b1819;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(27, 24, 25, 0.8); /* Fond semi-transparent */
    backdrop-filter: blur(10px); /* Effet flou */
    -webkit-backdrop-filter: blur(10px); /* Fallback spécifique pour Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Légère bordure en bas */
    z-index: 100;
}

/* En-tête du menu mobile (bouton de fermeture) */
.nav-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
}

/* Logo Find dans la navbar */
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem; /* Réduction de la taille */
    letter-spacing: -1px; /* Ajustement de l’espace entre les lettres */
    color: rgb(249, 78, 175);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease-in-out;
}

.logo-text:hover {
    opacity: 0.8;
}

/* Boutons iOS et Android */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    height: 44px; /* Ajuste la taille du bouton */
    border-radius: 48px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    background-color: white;
    border: 1px solid rgb(234, 25, 134);
    color: rgb(249, 78, 175);
}

.btn img {
  width: 24px;
  height: auto;
  filter: invert(52%) sepia(89%) saturate(639%) hue-rotate(-62deg) brightness(103%) contrast(103%);
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Bouton FR/EN */
.btn.language {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background-size: 50% 50%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Menu Hamburger (Caché par défaut) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    transition: 0.3s ease-in-out;
}

/* Animation : X pour fermer le menu */
.nav-links.active ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-links.active ~ .hamburger span:nth-child(2) {
    opacity: 0;
}
.nav-links.active ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Quand le menu est ouvert, changer la couleur du burger */
.nav-links.active ~ .hamburger span {
    background: white; /* Assure que le burger reste blanc */
}

.close-menu {
    font-size: 3rem;
    cursor: pointer;
    position: absolute;
    top: 2px;
    right: 16px; /* Aligne à droite */
    display: none;
}

/* HERO SECTION */
.hero {
    position: relative;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 200px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

/* Effet Néon sur "légales */
.neon-text {
    text-shadow: 0px 0px 8px rgba(249, 78, 175, 0.7), 
    0px 0px 16px rgba(249, 78, 175, 0.5);
}

/* PRIVACY_POLICY SECTION */
.privacy-policy {
    position: relative;
    min-height: 100vh;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

/* Boutons Stores */
.store-buttons {
    display: flex;
    margin-top: 16px;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap; /* Permet d'aller en colonne sur mobile */
}

/* Bouton Store */
.store-button {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px; /* Bords arrondis */
    padding: 14px 24px;
    min-width: 220px;
    height: 60px;
    transition: all 0.3s ease-in-out;
    border: 2px solid rgb(234, 25, 134);
    background-color: rgb(249, 78, 175);
    color: white;
}

.store-button:hover {
    background-color: rgb(255, 106, 189);
    transform: scale(1.02);
}

.store-logo {
    width: 48px;
    height: auto;
    filter: invert(1);
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: white;
}

/* Bouton Web App */
.store-link-under {
    text-align: center;
    margin-top: 16px;
}

.store-link-under a {
    color: white;
    font-size: 16px;
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.store-link-under a:hover {
    opacity: 1;
}

/* FOOTER */
.footer {
    background: #252122;
    color: white;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    min-height: 664px; 
    margin-top: 64px;
}

/* Conteneur du haut : Logo + Boutons */
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    flex-wrap: wrap;
    gap: 40px; /* Meilleur espacement */
}

/* Logo */
.footer-logo {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: clamp(-2px, -0.5vw, -3px);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: rgb(249, 78, 175);
    display: inline-block;
}

/* Liens Connect et Contact */
.footer-links {
    display: flex;
    justify-content: flex-start; /* Alignement à gauche */
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    text-align: left;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-bottom {
    text-align: left;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 0;
}

.footer-bottom p, .footer-bottom a {
    font-size: 16px;
    color: white;
    opacity: 0.8;
    text-align: left; /* Aligné à gauche par défaut */
    margin-left: 0;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* GESTION GLOBALE DES TITRES */
h1 {
    font-family: 'Inter', sans-serif;
    max-width: 800px;
    font-size: 4rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-align: left;
}

h3 {
    font-size: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-align: left;
    margin-top: 40px;
}

h4 {
    font-size: 18px;
}

p {
    font-size: 1rem;
    text-align: left;
    color: #ccc;
    line-height: 1.6;
    max-width: 700px;
    margin-top: 20px;
}

ul {
    font-size: 1rem;
    text-align: left;
    color: #ccc;
    line-height: 1.6;
    max-width: 700px;
    margin-left: 16px;
    margin-top: 20px;
}

/* ANIMATIONS */
/* Applique l'effet aux textes et mockups */
.reveal {
    opacity: 0;
    transform: translateY(50px); /* Caché + Décalé en bas */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Quand l'élément devient visible */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Applique cet effet aux mockups */
.mockup-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95); /* Caché + Décalé vers le bas */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Quand le mockup devient visible */
.mockup-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 16px; }
    p { font-size: 16px; }

    .logo-text {
        font-size: 2rem;
    }

    .navbar {
        height: 64px;
        padding: 0 16px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centre verticalement */
        align-items: center; /* Centre horizontalement */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
        z-index: 200;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }

    /* Supprimer le `width: 100%` pour éviter l'étirement */
    .nav-links a, .nav-links button {
        padding: 15px;
        text-align: center; /* Centrer le texte */
    }

    /* Boutons du menu (iOS, Android) */
    .nav-links .btn {
        background-color: white;
        border: 1px solid rgb(234, 25, 134);
        color: rgb(249, 78, 175);
        height: 56px;
        width: 256px; /* Fixe une largeur adaptée */
        padding: 12px 20px;
        border-radius: 40px;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInSlide 0.5s ease forwards;
    }

    /* Bouton FR/EN */
    .nav-links .btn.language {
        width: 44px;
        height: 44px;
        margin: 80px;
    }


    /* Animation des boutons */
    .nav-links.active .btn:nth-child(1) {
        animation: fadeInSlide 0.5s ease forwards 0.2s;
    }
    .nav-links.active .btn:nth-child(2) {
        animation: fadeInSlide 0.5s ease forwards 0.4s;
    }
    .nav-links.active .store-button:nth-child(1) {
        animation: fadeInSlide 0.5s ease forwards 0.6s;
    }
    .nav-links.active .store-button:nth-child(2) {
        animation: fadeInSlide 0.5s ease forwards 0.8s;
    }

    /* Effet hover */
    .store-button:hover {
        background-color: rgb(255, 106, 189);
        transform: scale(1.05);
    }

    .hamburger {
        display: flex;
    }

    .close-menu {
        display: block; /* Affiche la croix uniquement sur mobile */
    }

    .hero::before {
        height: 60%;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        gap: 24px;
    }

    .footer {
        margin-top: 0px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-column {
        padding-top: 24px;
        padding-bottom: 8px;
    }

    .footer-bottom {
        text-align: center; /* Centrer sur mobile */
        padding: 10px 20px;
    }

    .footer-bottom p, .footer-bottom a {
        text-align: center; /* Assurer que le texte soit bien centré */
    }
}

/* ANIMATIONS */

/* Animation Fade-in + Slide-Up */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px); /* Décalage vers le bas */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Fade-in + Slide-Up + Zoom */
@keyframes fadeInSlideUpZoom {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95); /* Décalé + Légèrement réduit */
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animation des boutons dans le menu */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}