:root {
  /* --- COULEURS (Charte Graphique) --- */
  --gold: #c59a5a;
  --gold-light: #e6d3b3;
  --brown-dark: #4a3b32;
  --brown-soft: #8f7e6d;
  
  /* --- FONDS --- */
  --bg-overlay: rgba(255, 255, 255, 0.88); /* Voile blanc un peu plus opaque pour la lisibilité mobile */
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: 1px solid rgba(197, 154, 90, 0.25);
  
  /* --- DIVERS --- */
  --shadow: 0 8px 30px rgba(74, 59, 50, 0.08);
  --radius: 16px;
  --marble-bg: url('../images/marbre.jpg'); 
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--brown-dark);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  /* Empêche le défilement horizontal sur mobile */
  overflow-x: hidden; 
}

/* FOND MARBRE FIXE (Compatible Mobile iOS) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--marble-bg);
  background-position: center;
  background-size: cover;
  z-index: -2;
}
/* VOILE BLANC FIXE */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Conteneur principal fluide mais borné */
.container {
  width: min(92%, 1100px);
  margin: 0 auto;
}

/* --- TYPOGRAPHIE RESPONSIVE --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--brown-dark);
  font-weight: 700;
  line-height: 1.2;
}

/* Clamp permet au texte de grossir/rétrécir fluidement entre mobile et PC */
.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem); 
  margin-bottom: 1rem;
  text-align: center;
}

.muted { color: var(--brown-soft); font-size: 0.95rem; }
.text-center { text-align: center; }

/* --- HEADER & NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197, 154, 90, 0.2);
  padding: 12px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--gold);
}
.brand h1 { font-size: 1.1rem; letter-spacing: 0.5px; }

/* Menu Desktop */
.menu { display: flex; gap: 24px; align-items: center; font-weight: 500; font-size: 0.95rem; }
.menu a:hover { color: var(--gold); }

/* Bouton CTA */
.cta, .btn.primary {
  background: linear-gradient(135deg, #f3e5c8, var(--gold));
  padding: 10px 22px;
  border-radius: 50px;
  color: #4a3b32;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: inline-block;
}
.cta:hover, .btn.primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* Menu Burger (Mobile) */
.burger { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--brown-dark); padding: 5px; }

/* Drawer Mobile */
.drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200;
  display: none; justify-content: flex-end; opacity: 0; transition: opacity 0.3s;
}
.drawer.open { display: flex; opacity: 1; }
.drawer-panel {
  background: #fff; width: 75%; max-width: 300px; height: 100%; padding: 30px 20px;
  display: flex; flex-direction: column; gap: 25px;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  transform: translateX(100%); transition: transform 0.3s ease-out;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a { font-size: 1.2rem; font-family: 'Playfair Display', serif; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 10px; }
.close-drawer { align-self: flex-end; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--brown-soft); }

/* --- HERO SECTION --- */
.hero {
  padding: 80px 0 60px; /* Plus d'espace sur PC */
  text-align: center;
  display: flex; align-items: center;
  min-height: 60vh;
}

.eyebrow {
  display: inline-block; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 15px; background: rgba(255,255,255,0.7);
  padding: 6px 16px; border-radius: 20px; border: 1px solid var(--gold-light);
}

.hero .title {
  /* Taille dynamique : 2.5rem min, 4.5rem max */
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  background: -webkit-linear-gradient(45deg, var(--brown-dark), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  max-width: 700px; margin: 0 auto 30px; font-size: 1.1rem;
}

.actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 30px; }
.btn { padding: 12px 28px; border-radius: 50px; font-weight: 500; cursor: pointer; text-align: center; }
.btn.secondary { background: rgba(255,255,255,0.6); border: 1px solid var(--gold); color: var(--gold); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 0.8rem; color: var(--brown-soft); }
.badge { background: rgba(255,255,255,0.6); padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(197, 154, 90, 0.2); }

/* --- SECTIONS & GRILLES --- */
section { padding: 60px 0; }

/* Grille Intelligente (Grid) */
.grid { display: grid; gap: 24px; }

/* Grid-3 : Passe automatiquement de 1 à 3 colonnes selon la largeur */
/* Modification de la grille pour accepter 4 éléments proprement */
.grid-3 {
  display: grid;
  /* Cette ligne magique arrange les cartes automatiquement */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 24px;
  justify-content: center; /* Centre les cartes si elles sont sur une ligne incomplète */
}

/* Grid Pricing : Structure spécifique */
.grid-2-pricing { grid-template-columns: 1.2fr 0.8fr; align-items: start; }

/* --- CARDS (Style Verre) --- */
.card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
}

/* Services */
.service-card { text-align: center; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.icon-circle {
  width: 60px; height: 60px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 15px;
  font-size: 1.5rem; border: 1px solid var(--gold-light);
}

/* Galerie */
.gallery {
  display: grid;
  /* Petites cases sur mobile (2 par ligne), grandes sur PC */
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
  gap: 12px;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
}
.gallery figure {
  border-radius: 12px; overflow: hidden; aspect-ratio: 1/1;
  border: 1px solid var(--gold-light); margin: 0;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery figure:hover img { transform: scale(1.05); }

/* --- TARIFS (CORRECTION PC) --- */
.price-list h4 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 10px;
}

.price-row {
  display: flex;               /* Active l'alignement en ligne */
  width: 100%;                 /* Force la largeur totale */
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(197,154,90,0.2);
  font-size: 0.95rem;
  gap: 15px;                   /* Empêche le texte de toucher le prix (ex: French0.50) */
}

/* ASTUCE : Le premier élément (Nom du soin) prend tout l'espace libre */
.price-row span:first-child {
  flex: 1;
  text-align: left;
}

/* Ligne d'en-tête (Prestation / Standard / Étudiant) */
.price-row.header {
  font-weight: 700;
  color: var(--brown-dark);
  border-bottom: 1px solid var(--gold);
}

/* Colonnes de prix */
.price-col {
  width: 80px;      /* Largeur fixe pour aligner les colonnes */
  text-align: right;
  flex-shrink: 0;   /* Empêche le rétrécissement */
}

.price-val {
  font-weight: 600;
  text-align: right;
  min-width: 80px;  /* Même largeur que l'en-tête pour aligner parfaitement */
  flex-shrink: 0;
}

/* Couleur dorée pour le prix étudiant */
.highlight {
  color: var(--gold);
  font-weight: 700;
}

.small-note {
  font-size: 0.75rem;
  color: var(--brown-soft);
  margin-top: 15px;
  font-style: italic;
}

/* --- CONTACT --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.full-width { width: 100%; text-align: center; }
.address-box {
  background: rgba(255,255,255,0.6); padding: 15px; border-radius: 12px;
  border-left: 3px solid var(--gold); font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
  text-align: center; padding: 40px 0; border-top: 1px solid rgba(197, 154, 90, 0.2);
  background: rgba(255,255,255,0.7); font-size: 0.85rem; color: var(--brown-soft); margin-top: 40px;
}
.social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-weight: 600; font-size: 1rem; }

/* =========================================
   MEDIA QUERIES (ADAPTATION MOBILE)
   ========================================= */

@media (max-width: 900px) {
  /* On passe les grilles complexes en 1 seule colonne */
  .grid-2-pricing { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  
  /* On cache le menu classique et on affiche le burger */
  .menu { display: none; }
  .burger { display: block; }
}

@media (max-width: 600px) {
  /* Ajustements spécifiques petits écrans */
  .container { width: 90%; }
  
  /* Hero moins haut */
  .hero { padding: 60px 0 40px; min-height: auto; }
  .hero .lead { font-size: 1rem; }
  
  /* Boutons pleine largeur pour faciliter le clic */
  .actions { flex-direction: column; width: 100%; }
  .actions .btn { width: 100%; }
  
  /* Tarifs : Réduction taille police pour que ça rentre */
  .price-row { font-size: 0.85rem; padding: 10px 0; }
  .price-col, .price-val { font-size: 0.85rem; }
  
  /* Carte Google Maps plus petite sur mobile */
  .map-container iframe { min-height: 250px !important; }
}

/* --- FAQ --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.6); /* Fond légèrement transparent */
  border: 1px solid var(--gold-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.9); /* Devient plus opaque quand ouvert */
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--brown-dark);
  list-style: none; /* Cache la petite flèche par défaut */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Petite flèche personnalisée */
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: bold;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−'; /* Signe moins quand ouvert */
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--brown-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px dashed rgba(197, 154, 90, 0.15); /* Séparation discrète */
  padding-top: 10px;
}

/* --- LIGHTBOX (ZOOM IMAGE) --- */

/* Curseur main sur les images de la galerie pour montrer que c'est cliquable */
/* Ajout de .press-card img pour cibler aussi les tips */
.gallery figure img, .press-card img {
  cursor: zoom-in;
}
/* Le fond sombre (caché par défaut) */
.lightbox {
  display: none; /* Caché */
  position: fixed;
  z-index: 9999; /* Au-dessus de tout */
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9); /* Fond noir presque opaque */
  backdrop-filter: blur(5px); /* Flou artistique */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Quand on ajoute la classe 'active' en JS, ça s'affiche */
.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

/* L'image zoomée */
.lightbox-content {
  max-width: 95%;
  max-height: 90vh; /* 90% de la hauteur de l'écran */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border: 1px solid var(--gold);
  transform: scale(0.9);
  transition: transform 0.3s;
}

.lightbox.active .lightbox-content {
  transform: scale(1); /* Petit effet de zoom à l'ouverture */
}

/* Bouton Fermer (Croix) */
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}

.close-lightbox:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* Animation d'apparition */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- SECTION PRESS ON NAILS (CORRIGÉE) --- */

.grid-press-gallery {
  display: grid;
  /* On passe de 200px à 260px : ça force les cartes à être plus larges */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 24px;
  justify-content: center;
}

.press-card img {
  width: 100%;
  /* Au lieu d'une hauteur fixe (height: 250px), on utilise un ratio */
  aspect-ratio: 1 / 1; /* Force l'image à être CARRÉE (comme Instagram) */
  /* Si tu préfères un format photo paysage, mets : aspect-ratio: 4 / 3; */
  
  object-fit: cover; /* INDISPENSABLE : ça coupe l'image sans l'écraser */
  object-position: center; /* Centre l'image */
  border-bottom: 1px solid var(--gold-light);
}

/* --- SECTION PRESS ON NAILS --- */


/* Grille spécifique pour les photos de tips */
/* .grid-press-gallery { */
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* S'adapte mobile/PC */ */
  /* gap: 20px; */
/* } */

/* .press-card { */
  /* border-radius: 16px; */
  /* overflow: hidden; */
  /* background: #fff; */
  /* box-shadow: var(--shadow); */
  /* transition: transform 0.3s ease; */
  /* margin: 0; /* Reset marge figure */ */
}
.press-card:hover {
  transform: translateY(-5px);
}

.press-card img {
  width: 100%;
  height: 250px; /* Hauteur fixe pour que tout soit aligné */
  object-fit: cover; /* Coupe l'image proprement si elle est trop grande */
  border-bottom: 1px solid var(--gold-light);
}

.press-card figcaption {
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-soft);
}

/* Boîte "Comment commander" */
.process-box {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,248,235,0.9));
  border: 1px solid var(--gold);
  margin-top: 30px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; } /* 1 colonne sur mobile */
}

.step {
  text-align: center;
  padding: 10px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(197, 154, 90, 0.4);
}

.step strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--brown-dark);
}

.step p {
  font-size: 0.9rem;
  color: var(--brown-soft);
  line-height: 1.5;
}

/* --- CORRECTION MENU MOBILE (Anti-Bug) --- */
/* Ajoute ceci tout à la fin de ton fichier style.css */

.drawer {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.6) !important; /* Fond sombre derrière le menu */
  z-index: 99999 !important; /* Passe au-dessus de TOUT (header compris) */
  display: none;
  justify-content: flex-end; /* Colle le menu à droite */
  backdrop-filter: blur(2px); /* Petit flou sur le fond pour le style */
}

.drawer.open {
  display: flex !important;
}

.drawer-panel {
  background-color: #ffffff !important; /* Fond BLANC OPAQUE OBLIGATOIRE */
  width: 80% !important;
  max-width: 320px !important;
  height: 100% !important;
  padding: 40px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2) !important;
  transform: none !important; /* Annule d'anciennes animations qui pourraient gêner */
}

/* Style des liens dans le menu pour qu'ils soient bien visibles */
.drawer-panel a {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.3rem !important;
  color: #4a3b32 !important;
  text-align: left;
  border-bottom: 1px solid rgba(197, 154, 90, 0.2);
  padding-bottom: 15px;
}

/* Bouton fermer (Croix) bien visible */
.close-drawer {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #c59a5a !important; /* Couleur or */
  cursor: pointer;
  margin-bottom: 10px;
  line-height: 1;
}