:root {
    --primary-green: #7d8b7b;
    --light-beige: #f4f1ea;
    --text-dark: #3e3e3e;
    --border-color: #d8d3c5;
}

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html { scroll-behavior: smooth; }
/* Règle body nettoyée */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    color: var(--text-dark);
    background: #fff;
}
.container { max-width: 1100px; margin: 0 auto; padding: 100px 20px; }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 400; margin-bottom: 50px; }
.section-bg { background-color: var(--light-beige); }

header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2.5rem; border-bottom: 1px solid var(--border-color); }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--primary-green); }
nav a { text-decoration: none; color: var(--text-dark); margin-left: 30px; font-weight: 700; }

.hero {
    height: 70vh; text-align: center; display: flex; flex-direction: column; justify-content: center;
    background-image: linear-gradient(rgba(244, 241, 234, 0.5), rgba(244, 241, 234, 0.8)), url('soins.jpg');
    background-size: cover;
}
.hero h1 { font-size: 3rem; max-width: 600px; margin: 0 auto 30px auto; font-weight: 300; }
.btn {
    display: inline-block; background: var(--primary-green); color: #fff; padding: 12px 30px;
    text-decoration: none; border-radius: 50px; font-weight: 700; transition: background-color 0.3s;
}
.btn:hover { background-color: #6a7768; }

#reservation .container { max-width: 600px; }
.booking-widget { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.1); }
.booking-widget p { font-weight: 700; margin: 25px 0 10px 0; }
.booking-widget select {
    width: 100%; padding: 12px; font-size: 1rem; border-radius: 8px; border: 1px solid var(--border-color);
}
.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.time-slot {
    padding: 12px; border: 1px solid var(--border-color); background: #fff; cursor: pointer;
    border-radius: 8px; font-weight: 700; transition: background-color 0.3s, color 0.3s;
}
.time-slot:hover:not(:disabled) { background: var(--primary-green); color: #fff; }
.time-slot:disabled { background: var(--light-beige); color: #aaa; cursor: not-allowed; }
.confirm-btn { width: 100%; margin-top: 30px; padding: 15px; }
.small-text { font-size: 0.8rem; text-align: center; margin-top: 20px !important; font-style: italic; color: #888; }

footer { text-align: center; padding: 20px; background: var(--primary-green); color: #fff; font-size: 0.9rem; }
											  
/* --- Styles pour la section des Soins --- */
.soins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.soin-carte {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden; /* Pour que les coins de l'image soient arrondis */
    display: flex;
    flex-direction: column;
}

.soin-carte img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.soin-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Permet aux cartes d'avoir la même hauteur */
}

.soin-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0 0 15px 0;
}

.soin-content .details {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 15px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: #555;
}

.soin-content .details i {
    margin-right: 8px;
}

.soin-content p {
    flex-grow: 1; /* Fait en sorte que le texte pousse le bouton vers le bas */
    margin-bottom: 20px;
}

.btn-soin {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.btn-soin:hover {
    background-color: var(--primary-green);
    color: #fff;
}
.hero .btn {
    width: auto;          /* Force le bouton à prendre la largeur de son contenu */
    max-width: 400px;     /* Sécurité : le bouton ne dépassera jamais 400px de large */
    align-self: center;   /* La clé : force CE bouton à se centrer horizontalement dans son conteneur */
}
/* --- Styles pour la section Contact --- */
#contact {
    /*background-color: var(--light-beige);*/
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.contact-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-details i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.contact-map img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: block;
}

/* --- Responsive pour la section Contact --- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 50px; /* Un peu plus d'espace sur mobile */
    }
}
/* --- Styles pour les Pages Légales --- */
.legal-content {
    padding: 60px 20px 100px 20px; /* Plus d'espace en bas */
    max-width: 800px;
}
.legal-content h1, .legal-content h2 {
    text-align: left;
    color: var(--primary-green);
}
.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.legal-content p, .legal-content ul {
    line-height: 1.8;
}

/* --- Styles pour le footer légal --- */
footer .legal-links {
    margin-bottom: 15px;
}
footer .legal-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.3s;
}
footer .legal-links a:hover {
    color: #fff;
}

/* --- Styles pour la Bannière de Cookies --- */
#cookie-consent-banner {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(62, 62, 62, 0.95);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 20px;
    z-index: 1001;
}
#cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
}
#cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
}
#cookie-consent-banner .btn-cookie {
    flex-shrink: 0;
    background-color: #fff;
    color: #3e3e3e;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
#cookie-consent-banner .btn-cookie:hover {
    background-color: var(--primary-green);
    color: #fff;
}

/* --- Styles pour le Sticky Footer (Méthode du Wrapper) --- */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}																			  