body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #efeeff;
    color: #2a1f4a;
}

/* SELECTEUR LANGUE */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    z-index: 9999; /* le rend visible au-dessus de tout */
}
.lang-switch a {
    color: #e8c472;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

/* HERO */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(40, 0, 80, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.app-icon {
    max-width: 120px;   /* taille max sur grand écran */
    width: 100%;        /* se réduit automatiquement */
    height: auto;       /* garde les proportions */
    flex-shrink: 1; /* autorise l’icône à rétrécir */
    border-radius: 20px;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    object-fit: contain;
}

.store-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap; /* permet aux éléments de passer à la ligne si nécessaire */
}

.store-badge img {
    max-width: 160px;   /* taille max sur grand écran */
    width: 100%;        /* se réduit automatiquement */
    height: auto;       /* garde les proportions */
    transition: transform 0.2s ease;
}

.store-badge img:hover {
    transform: scale(1.05);
}

.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.store-btn {
    padding: 12px 20px;
    background: #f4c542;
    color: #2a1f4a;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* Galerie */
.gallery {
    padding: 80px 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Lightbox ULTRA PRO */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
}

/* Image */
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

/* Fade animation */
.fade {
    opacity: 1;
}
.fade-out {
    opacity: 0;
}

/* Flèches bold style Airbnb */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    color: white;
    background: rgba(0,0,0,0.4);
    padding: 18px 24px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.arrow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
}

.arrow.left {
    left: 30px;
}

.arrow.right {
    right: 30px;
}

/* Compteur */
.counter {
    position: absolute;
    bottom: 30px;
    color: white;
    font-size: 18px;
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 600px) {
    .arrow {
        font-size: 32px;
        padding: 14px 18px;
    }
}


.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

/* FEATURES */
.features {
    padding: 80px 20px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* WHY */
.why {
    padding: 80px 20px;
    text-align: center;
    background: #6a4bc3;
    color: white;
}

/* SCREENSHOTS */
.screenshots {
    padding: 80px 20px;
    text-align: center;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.screen-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.placeholder {
    background: #6a4bc3;
    color: white;
    padding: 40px 10px;
    border-radius: 8px;
    font-weight: bold;
}

/* FAQ */
.faq {
    padding: 80px 20px;
}

.faq-item {
    margin-bottom: 25px;
}

/* FOOTER */
footer {
    padding: 40px;
    text-align: center;
    background: #2a1f4a;
    color: white;
}

.socials a {
    margin: 0 10px;
    color: #f4c542;
    text-decoration: none;
}
