/* --- CSS COMPLET ET MIS À JOUR POUR BIENFAITS NATURE --- */

/* Couleurs et variables */
:root {
    --vert-fonce: #2c423f;
    --beige-clair: #f4f1eb;
    --texte-sombre: #333333;
    --texte-clair: #ffffff;
    --or: #b59b72;
}

/* Base */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--texte-sombre);
    background-color: var(--beige-clair);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 400;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    color: var(--vert-fonce);
    margin-bottom: 40px;
}

/* Conteneur */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Grilles */
.grid-2, .grid-2-img-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2, .grid-2-img-text {
        grid-template-columns: 1fr;
    }
}

/* --- NOUVEAUTÉS : ANIMATIONS, MENU ET PARALLAX --- */

/* Défilement fluide */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Évite que le menu cache le titre */
}

/* Animations "Fade-in" */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Menu de navigation fixe */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--beige-clair);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar a {
    color: var(--vert-fonce);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--or);
}

/* --- STYLE DES IMAGES --- */

.logo-site {
    max-width: 160px;
    height: auto;
    margin-bottom: 5px;
}

.photo-presentation {
    width: 100%;
    max-width: 200px; /* Gardé petit comme demandé */
    margin: 20px auto;
    display: block;
    box-shadow: none; 
    border-radius: 0; /* Pour l'hibiscus épuré */
}


/* --- SECTIONS SPÉCIFIQUES --- */

/* Header (Mis à jour pour bannière pleine largeur) */
header {
    background-color: transparent; /* On supprime la grosse bande verte */
    color: var(--vert-fonce); /* Le texte passe en vert foncé pour être visible sur le fond beige */
    text-align: center;
    padding: 0; /* On enlève les marges pour que l'image touche les bords de l'écran */
}

header p {
    font-style: italic;
    font-size: 1.2em;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 25px
}

/* À Propos */
.a-propos {
    background-color: var(--vert-fonce);
    color: var(--texte-clair);
    text-align: center;
    padding: 60px 20px;
    border-radius: 15px;
    margin-top: -30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.a-propos h2 {
    color: var(--texte-clair);
    margin-bottom: 20px;
}

/* Tarifs et Prestations */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.service-card h3 {
    color: var(--vert-fonce);
    border-bottom: 1px solid var(--vert-fonce);
    padding-bottom: 10px;
}

.service-description {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.prestation {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

.prestation-nom {
    font-weight: 500;
}

.prestation-prix {
    font-weight: 600;
    color: var(--vert-fonce);
}

.prestation-desc {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* EFFET PARALLAX (Image de fond plage) */
.parallax-section {
    background-image: url('images/plage.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 20px;
    margin-top: 60px;
    position: relative;
}

/* Voile beige semi-transparent sur la plage */
.parallax-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(244, 241, 235, 0.85); 
    z-index: 1;
}

/* Pour que les cartes de tarifs passent au-dessus */
.parallax-section > .container {
    position: relative;
    z-index: 2;
    margin-top: 0;
}

/* F.A.Q */
.faq-container details {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-container summary {
    padding: 20px;
    font-weight: 500;
    color: var(--vert-fonce);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-container summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5em;
    transition: 0.3s;
}

.faq-container details[open] summary::after {
    content: '-';
}

.faq-container p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Citation */
.citation {
    text-align: center;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.3em;
    color: var(--vert-fonce);
    margin: 50px 0;
}

/* Pied de page */
footer {
    background-color: var(--vert-fonce);
    color: var(--texte-clair);
    text-align: center;
    padding: 50px 20px;
    margin-top: 40px;
}

/* Boutons */
.contact-btn, .btn-whatsapp-header {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s;
}

.contact-btn {
    background-color: var(--or);
    color: white;
}

.contact-btn:hover {
    background-color: #9c845e;
}

.btn-whatsapp-header {
    background-color: #9c845e; /* Vert WhatsApp */
    color: white;
    margin-top: 15px;
    /*box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);*/
}

.btn-whatsapp-header:hover {
    background-color: #9c845e;
    transform: scale(1.05);
}

/* Bouton WhatsApp Flottant */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #9c845e;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 600px) {
    .navbar ul {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }
    .navbar a {
        font-size: 0.75em;
    }
}

/* --- CORRECTION CSS : STYLES UNIQUES POUR CHAQUE NOUVELLE PHOTO --- */



/* 2. Photo de la section ATMA JANZU */
.photo-atma {
    display: block;
    width: 100%;
    /* TAILLE DIVISÉE : Thumbnail élégant au lieu d'une grosse image verticale */
    max-width: 320px; 
    /* Centrée dans la carte */
    margin: 15px auto; 
    /* Bords arrondis et ombre proportionnée */
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 3. Photo de la section SPORT */
.photo-sport {
    display: block;
    width: 100%;
    /* Petite taille pour l'élégance, comme l'Atma */
    max-width: 260px; 
    /* Centrée */
    margin: 20px auto; 
    /* Bords arrondis et ombre légère */
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
/* 4. Photo de la section SOLO */
/* 4. Galerie 3 photos section SOLO */
.solo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Divise en 3 colonnes égales */
    gap: 15px; /* Espace entre les photos */
    margin-bottom: 30px; /* Espace avant les tarifs */
}

/* --- 4. GALERIES 3 PHOTOS (SOLO & DUO) --- */

.solo-gallery, 
.duo-gallery { /* J'ai ajouté .duo-gallery ici */
    display: grid;
    /* Aligne les 3 images sur une ligne horizontalement sur grand écran */
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; /* Espace harmonieux entre les photos */
    
    /* PREND TOUTE LA LARGEUR DISPONIBLE */
    width: 100%;
    max-width: 100%; 
    margin: 0 auto 30px auto; 
}

.solo-gallery img,
.duo-gallery img { /* J'ai ajouté .duo-gallery img ici */
    width: 100%;
    height: auto;
    
    /* LE SECRET : Un format portrait (3/4) pour moins tronquer tes photos verticales */
    aspect-ratio: 3 / 4; 
    
    object-fit: cover; /* Remplit le cadre sans déformer */
    border-radius: 10px; /* Coins légèrement adoucis */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Ombre douce */
    transition: transform 0.3s ease;
}

/* Optionnel : petit effet au survol */
.solo-gallery img:hover,
.duo-gallery img:hover { /* J'ai ajouté .duo-gallery img:hover ici */
    transform: scale(1.03);
}

/* Sur mobile : les photos se mettent l'une sous l'autre pour être bien grandes */
@media (max-width: 600px) {
    .solo-gallery,
    .duo-gallery { /* J'ai ajouté .duo-gallery dans le media query mobile */
        grid-template-columns: 1fr; /* 1 seule colonne */
        gap: 20px;
    }
    
    .solo-gallery img,
    .duo-gallery img { /* J'ai ajouté .duo-gallery img dans le media query mobile */
        /* On adapte la hauteur pour mobile pour éviter qu'elles soient immenses */
        aspect-ratio: auto;
        height: 350px; 
    }
}
/* --- DEUXIÈME EFFET PARALLAX (Vue mer & Jacuzzi) --- */
.parallax-section-2 {
    background-image: url('images/parallax-2.jpg');
    background-attachment: fixed; /* L'effet magique qui fige l'image au défilement */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 20px;
    margin-top: 60px;
    position: relative;
}

/* On applique le même voile beige semi-transparent pour garder le texte lisible */
.parallax-section-2::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(244, 241, 235, 0.85); 
    z-index: 1;
}

/* On s'assure que le contenu (cartes, avis, FAQ) passe au-dessus du voile */
.parallax-section-2 > .container {
    position: relative;
    z-index: 2;
    margin-top: 0;
}
/* --- NOUVEAU LOGO BANNIÈRE PLEINE LARGEUR --- */
.banniere-container {
    width: 100%;
    /* On garde un padding pour que le texte et les boutons ne collent pas aux bords */
    padding: 0 0 40px 0; 
    text-align: center;
}

.logo-banniere {
    width: 100%;
    height: auto; /* L'image s'ajustera naturellement sans se déformer */
    display: block;
    margin-bottom: 15px;
    
    /* On a SUPPRIMÉ max-height et object-fit : plus rien ne sera coupé ! */
}
