/* Import de la police Poppins pour un look moderne proche de l'app */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff1e56; /* Rose Asuga */
    --secondary-color: #fff0f3; /* Fond très clair */
    --text-color: #333333;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(255, 30, 86, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
header {
    background-color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: center; /* Logo centré */
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px; /* Ajuste selon la taille réelle de ton logo */
    width: auto;
}

/* --- MAIN CONTENT --- */
main {
    flex: 1;
}

/* Section Héro (Page d'accueil) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 10%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
}

.store-buttons img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.store-buttons img:hover {
    transform: scale(1.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    max-width: 300px;
    border-radius: 40px;
    box-shadow: var(--shadow);
    border: 8px solid var(--white);
}

/* Pages légales */
.legal-section {
    padding: 4rem 10%;
    max-width: 900px;
    margin: 0 auto;
}

.legal-section h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.legal-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* --- FOOTER --- */
footer {
    background-color: #f9f9f9;
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.8rem;
    color: #999;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero {
        /* MODIFICATION ICI : On passe de column-reverse à column */
        /* Cela empile les éléments dans l'ordre naturel du HTML : Texte d'abord, Image ensuite */
        flex-direction: column;
        text-align: center;
        padding: 3rem 5% 1rem 5%; /* Un peu plus d'espace en haut */
        /* On s'assure qu'il y a de l'espace entre le bloc texte et l'image en dessous */
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .store-buttons {
        justify-content: center;
    }
    
    .hero-image {
        /* Suppression de l'ancienne marge qui n'est plus nécessaire grâce au 'gap' du parent */
        margin-bottom: 0;
        /* On s'assure que le conteneur de l'image est centré */
        display: flex;
        justify-content: center;
    }

    .phone-mockup {
        max-width: 250px;
    }
}