:root {
    --primary: #C2185B; /* Le rose fuchsia foncé du mur */
    --black: #1a1a1a;
    --white: #ffffff;
    --grey: #f4f4f4;
    --font-title: 'Playfair Display', serif;
    --font-text: 'Montserrat', sans-serif;
}

/* Base */
body { font-family: var(--font-text); margin: 0; color: var(--black); }
h1, h2, h3 { font-family: var(--font-title); }
.section-padding { padding: 80px 20px; }
.bg-grey { background-color: var(--grey); }
.container { max-width: 1200px; margin: 0 auto; text-align: center; }


.burger {
    display: none; 
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: var(--black);
    color: white;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000;
    
    box-sizing: border-box; 
    
}

.logo {
    font-family: 'Great Vibes', cursive; 
    font-size: 2.2rem; 
    font-weight: normal;
    letter-spacing: 1px;
    color: white;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    padding: 0;
}

.nav-links a { 
    color: white; 
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-reserver {
    background: var(--primary); 
    color: white; 
    padding: 10px 20px;
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: bold;
    transition: 0.3s;
    white-space: nowrap; 
}

.btn-reserver:hover { 
    background: white; 
    color: var(--primary); 
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/img/facade.jpg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
    position: relative; color: white; text-align: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); 
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
    font-family: 'Great Vibes', cursive;
    
    font-size: 6rem; 
    
    font-weight: normal; 
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3); 
}


.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    line-height: 1.6;
}
.btn-main {
    background: var(--primary); color: white; padding: 15px 30px;
    text-decoration: none; font-size: 1.1rem; border-radius: 5px;
}


.slider-wrapper {
    position: relative; max-width: 800px; margin: 40px auto;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.slider-container { display: flex; height: 500px; position: relative; }
.slide {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0; opacity: 0;
    transition: opacity 0.8s ease-in-out; 
}
.slide.active { opacity: 1; }


.prev-btn, .next-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: white; border: none;
    padding: 15px; cursor: pointer; font-size: 1.5rem; z-index: 10;
}
.prev-btn { left: 0; } .next-btn { right: 0; }

/* --- SECTION PRESTATIONS (Avec Image de Fond) --- */

#prestations {
    position: relative;
    /* CHANGE L'IMAGE ICI (mets celle que tu veux, ex: interieur.jpg ou une autre) */
    background: url('assets/img/action.jpg') no-repeat center center/cover;
    
    /* Effet Parallaxe : L'image reste fixe quand on scroll (très moderne) */
    background-attachment: fixed; 
    color: white; /* Le texte de la section passe en blanc */
}

/* Le filtre noir pour assombrir l'image (sinon on voit rien) */
#prestations::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 70% de noir */
    z-index: 1;
}

/* On s'assure que le contenu passe AU-DESSUS du filtre noir */
#prestations .container {
    position: relative;
    z-index: 2;
}

/* Le Titre "Nos Prestations" en blanc */
#prestations .section-title {
    color: white;
    margin-bottom: 50px;
}

/* La Grille */
.services-grid { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin-top: 40px; 
    flex-wrap: wrap; 
}

/* Les Cartes (Femme/Homme/Enfant) */
.service-card { 
    /* Blanc légèrement transparent pour l'effet "Verre" */
    background: rgba(255, 255, 255, 0.95); 
    padding: 30px; 
    width: 300px; 
    border-radius: 8px; /* Coins un peu arrondis */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Belle ombre */
    transition: transform 0.3s ease;
    text-align: center;
}

/* Effet quand on passe la souris sur une carte */
.service-card:hover {
    transform: translateY(-10px); /* La carte monte */
}

.service-card h3 {
    color: var(--primary); /* Titre en Rose */
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: #444; /* Texte descriptif en gris foncé */
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Le Bouton "Voir tous les tarifs" */
.btn-main-dark {
    display: inline-block; 
    margin-top: 40px;
    /* Bouton Blanc pour ressortir sur le fond sombre */
    background: white; 
    color: var(--black); 
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px; /* Bouton arrondi style "Pill" */
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-main-dark:hover {
    background: var(--primary); /* Devient rose au survol */
    color: white;
    transform: scale(1.05);
}



/* --- SECTION AVIS (IMAGE + OVERLAY) --- */
.reviews-section {
    position: relative;
    /* Met ton image ici */
    background: url('assets/img/avis.jpg') no-repeat center center/cover;
    padding: 80px 0;
    overflow: hidden;
}

/* Le filtre noir transparent par-dessus l'image */
.reviews-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 70% de noir pour bien lire le texte */
    z-index: 1;
}

/* Pour que le texte passe AU-DESSUS du filtre noir */
.relative-z {
    position: relative;
    z-index: 2;
}

.white-title {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

/* NOUVEAU : Les Badges de Notes */
.ratings-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1); /* Effet verre transparent */
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    text-align: center;
    backdrop-filter: blur(5px); /* Floute l'arrière plan du badge */
}

.badge .platform {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.badge .score {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700; /* Or */
    margin: 5px 0;
}

.badge .count {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Le Slider infini (reste le même) */
.reviews-container {
    width: 100%;
    position: relative;
}

.reviews-track {
    display: flex;
    width: calc(300px * 8 + 40px * 8);
    animation: scroll 25s linear infinite; /* Un peu plus lent pour lire */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    background: rgba(40, 40, 40, 0.9); /* Fond gris foncé légèrement transparent */
    width: 300px;
    padding: 25px;
    margin: 0 20px;
    border-radius: 4px;
    flex-shrink: 0;
    border-left: 3px solid var(--primary);
}

.stars { color: #FFD700; margin-bottom: 10px; }
.review-text { color: #e0e0e0; font-style: italic; font-size: 0.9rem; margin-bottom: 15px; }
.review-author { color: white; font-weight: bold; text-align: right; font-size: 0.85rem; }

.reviews-track:hover { animation-play-state: paused; }

/* --- SECTION CONTACT & MAP --- */
.contact-section {
    background-color: white;
    padding: 80px 0;
    color: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% Texte / 50% Carte */
    gap: 40px; /* Espace entre les deux */
    align-items: center;
    margin-top: 40px;
}

/* COLONNE GAUCHE : INFOS */
.contact-info-box {
    text-align: left;
    padding: 20px;
}

.contact-info-box h3 {
    font-size: 2rem;
    font-family: var(--font-title);
    margin-bottom: 5px;
    color: var(--black);
}

.contact-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1rem;
}

.contact-list .icon {
    font-size: 1.5rem;
    margin-right: 15px;
    background: #f4f4f4; /* Gris clair */
    color: var(--primary); /* Rose */
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.phone-link {
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.phone-link:hover {
    color: var(--primary);
}

/* COLONNE DROITE : CARTE */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%); /* Carte un peu grise pour le style */
    transition: filter 0.3s;
}

.map-container:hover iframe {
    filter: grayscale(0%); /* Revient en couleur quand on passe la souris */
}

/* FOOTER */
footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    margin-top: 0;
}



/* --- SECTION RÉALISATIONS (GALERIE) --- */

.gallery-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Active le défilement horizontal */
    padding: 20px 10px;
    
    /* Scroll Snap : Pour que ça s'arrête net sur une image quand on lâche */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Fluidité iPhone */
    
    /* On cache la barre de défilement pour que ce soit plus joli */
    scrollbar-width: none; 
}
.gallery-wrapper::-webkit-scrollbar { display: none; }

/* Les cartes (Photos & Vidéos) */
.gallery-card {
    flex: 0 0 280px; /* Largeur fixe : 280px par image */
    height: 400px;   /* Hauteur fixe : format vertical téléphone */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    scroll-snap-align: center; /* Centre l'image au scroll */
    transition: transform 0.3s;
}

.gallery-card:hover {
    transform: scale(1.03); /* Petit zoom au survol */
}

/* Images et Vidéos remplissent la carte */
.gallery-card img, 
.gallery-card video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Coupe l'image pour qu'elle remplisse tout sans déformer */
    display: block;
}

/* Petit badge sur la vidéo pour montrer que c'est animé */
.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* --- BOUTON INSTAGRAM DÉGRADÉ --- */
.btn-insta-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    /* Le vrai dégradé Instagram */
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(193, 53, 132, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-insta-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 53, 132, 0.6);
}

.btn-insta-gradient .icon {
    font-size: 1.2rem;
}




/* =========================================
   VERSION MOBILE & TABLETTE (RESPONSIVE)
   ========================================= */

@media screen and (max-width: 960px) {
    
    /* --- 1. NAVIGATION MOBILE --- */
    body {
        overflow-x: hidden; /* Empêche le défilement horizontal indésirable */
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh; /* Hauteur de la barre de nav */
        background-color: var(--black);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around; /* Espacement aéré des liens */
        width: 100%; /* Prend tout l'écran ou 60% selon ton goût */
        transform: translateX(100%); /* Caché à droite par défaut */
        transition: transform 0.5s ease-in;
        z-index: 99;
        padding-bottom: 50px;
    }

    /* La classe qui sera ajoutée par le JS pour afficher le menu */
    .nav-links-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 1; /* On s'assure qu'ils sont visibles */
    }
    
    .nav-links a {
        font-size: 1.2rem; /* Liens plus gros sur mobile */
    }

    .burger {
        display: block; /* On affiche le burger sur mobile */
    }

    /* Animation du burger en croix */
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }


    /* --- 2. ACCUEIL (HERO) --- */
    .hero h1 {
        font-size: 3.5rem; /* On réduit le titre géant */
    }
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }


    /* --- 3. PRESTATIONS (Empilement vertical) --- */
    .prestations-split {
        grid-template-columns: 1fr; /* Une seule colonne */
    }
    
    .prestations-right {
        height: 350px; /* Moins haut sur mobile */
        margin-top: 30px;
    }
    
    /* Sur mobile, le Parallaxe (image fixe) bug souvent, on le désactive */
    #prestations {
        background-attachment: scroll; 
    }


    /* --- 4. CONTACT (Empilement vertical) --- */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px; /* Carte moins haute */
    }


    /* --- 5. AJUSTEMENTS GLOBAUX --- */
    .section-padding {
        padding: 50px 20px; /* Moins de marge interne */
    }
    
    .section-title {
        font-size: 2rem;
    }
}