/* ==========================================================================
   Mathieu Nicotra - Conseiller en Naturopathie et Iridologue à Verdun
   Palette vert sauge + crème + marron (arbre de vie), issue de sa charte.
   Développement & Design : NexaFlow - https://nexaflow.fr
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  /* Palette : vert sauge (bandeaux/marque) + crème + marron terracotta (accent) */
  --cream:      #FAF6EC;   /* fond principal crème chaud */
  --cream-soft: #FFFDF8;   /* cartes / surfaces claires */
  --blush:      #F1E9D8;   /* sections alternées (sable clair) */
  --olive:      #67755A;   /* vert sauge de la carte - bandeaux, marque */
  --olive-deep: #545F3C;   /* olive foncé - survols, dégradés */
  --olive-ink:  #3C4429;   /* olive très foncé */
  --gold:       #8B5228;   /* marron terracotta - accent (le tronc de l'arbre) */
  --gold-deep:  #6F4021;
  --gold-soft:  #E9D6C3;
  --charcoal:   #26302A;   /* pied de page sombre (vert-charbon) */
  --ink:        #373D2B;   /* texte principal (brun-vert chaud) */
  --ink-soft:   #696A55;   /* texte adouci (assombri de 5% pour rester lisible sur le blush) */
  --cream-on:   #FBF7EF;   /* texte sur olive/sombre */
  --line:       #E4DCC9;   /* bordures discrètes */

  /* Typographies issues de la charte de Mathieu (carte de visite + couverture) :
     serif classique en capitales espacées, sans-serif géométrique, manuscrite. */
  --font-display: "Marcellus", Georgia, serif;
  --font-title:   "Marcellus", Georgia, serif;
  --font-hand:    "Architects Daughter", "Segoe Print", cursive;
  --font-body:    "Montserrat", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 22px rgba(60, 68, 41, 0.08);
  --shadow-md: 0 16px 44px rgba(60, 68, 41, 0.12);
  --shadow-lg: 0 30px 70px rgba(60, 68, 41, 0.17);

  --container: 1180px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--olive-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-deep); }

ul[role="list"] { list-style: none; }

strong { font-weight: 700; color: var(--olive-deep); }

::selection { background: var(--gold-soft); color: var(--olive-ink); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typographies ---------- */
.font-display { font-family: var(--font-display); }
.font-hand { font-family: var(--font-hand); }

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.18; color: var(--olive-deep); }

/* Grand titre : serif classique en capitales espacées (charte Mathieu) */
.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--olive);
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
}

/* Slogan manuscrit : « Cultivez votre bien-être, naturellement ! » */
.slogan {
  font-family: var(--font-hand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-size: clamp(1rem, 2vw, 1.3rem);
}
/* Manuscrit fin en petite taille : le dore ne passe pas sur le vert, on met du creme.
   Le dore reste sur les grands titres (>=24px), ou il contraste assez. */
.band-olive .slogan, .hero .slogan, .page-hero .slogan { color: var(--cream-on); }
.display-title.gold, .display-title .gold { color: var(--gold); }
.display-title.cream, .display-title .cream { color: var(--cream-on); }
.display-title.olive, .display-title .olive { color: var(--olive); }
/* Sur fond olive, le marron manquerait de contraste : on éclaircit l'accent */
.page-hero .display-title.gold, .page-hero .display-title .gold,
.hero .display-title.gold, .hero .display-title .gold,
.band-olive .display-title.gold, .band-olive .display-title .gold { color: var(--gold-soft); }

/* Arbre de vie en filigrane (rappel de la couverture Facebook) */
.tree-watermark {
  position: absolute;
  left: -60px;
  bottom: -70px;
  width: clamp(220px, 26vw, 380px);
  color: rgba(251, 247, 239, 0.09);
  z-index: 0;
  pointer-events: none;
}
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }

/* Titre manuscrit (accent) */
.hand-title {
  font-family: var(--font-hand);
  color: var(--gold);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
}

/* Accents sur fond vert/sombre : jamais de marron (illisible) */
.page-hero .hand-title, .band-olive .hand-title, .hero .hand-title { color: var(--gold-soft); }
.band-olive .col3-item .col3-rule { background: var(--gold-soft); }

/* Titres de section */
.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--olive);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
}
.on-olive .section-title, .section-title.on-olive { color: var(--cream-on); }

/* ---------- Ornement : l'arbre de vie (signature de Mathieu) ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.1rem auto 1.6rem;
}
.ornament::before, .ornament::after {
  content: "";
  width: clamp(48px, 12vw, 96px);
  height: 2px;
  background: var(--gold);
  opacity: 0.55;
  border-radius: 2px;
}
.ornament .tree-orn { width: 26px; height: 31px; color: var(--gold); flex-shrink: 0; }
.ornament.small::before, .ornament.small::after { width: 40px; }
.band-olive .ornament .tree-orn { color: var(--gold-soft); }
.band-olive .ornament::before, .band-olive .ornament::after { background: var(--gold-soft); }

/* ---------- Nuages (séparateurs organiques) ---------- */
.wave { display: block; width: 100%; height: clamp(46px, 6.5vw, 92px); }
.wave svg { display: block; width: 100%; height: 100%; }
.wave-flip svg { transform: scaleY(-1); }

/* ---------- Conteneur & sections ---------- */
.container { width: min(var(--container), 100% - 2.6rem); margin-inline: auto; }

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--olive); color: var(--cream-on);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 0; color: var(--cream-on); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-cream { background: var(--cream); }
.bg-blush { background: var(--blush); }
.bg-soft { background: var(--cream-soft); }

/* Bandeau olive pleine largeur */
.band-olive { background: var(--olive); color: var(--cream-on); position: relative; }
.band-olive .section-title, .band-olive h2, .band-olive h3 { color: var(--cream-on); }
.band-olive p { color: rgba(251, 247, 239, 0.9); }
.band-olive .eyebrow { color: var(--cream-on); }

.band-blush { background: var(--blush); }

.section-head { max-width: 720px; margin: 0 auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 0.4rem; font-size: 1.06rem; }
.band-olive .section-head p { color: rgba(251, 247, 239, 0.85); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition); text-align: center;
}
.btn svg { flex-shrink: 0; }

.btn-gold { background: var(--gold); color: var(--cream-on); box-shadow: 0 8px 22px rgba(139, 82, 40, 0.32); }
.btn-gold:hover { background: var(--gold-deep); color: var(--cream-on); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(139, 82, 40, 0.42); }

.btn-olive { background: var(--olive); color: var(--cream-on); }
.btn-olive:hover { background: var(--olive-deep); color: var(--cream-on); transform: translateY(-3px); }

.btn-cream { background: var(--cream-on); color: var(--olive-deep); box-shadow: var(--shadow-sm); }
.btn-cream:hover { background: #fff; color: var(--olive-ink); transform: translateY(-3px); }

.btn-outline { background: transparent; color: var(--olive-deep); border-color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: var(--cream-on); transform: translateY(-3px); }

.btn-outline-cream { background: transparent; color: var(--cream-on); border-color: rgba(251, 247, 239, 0.55); }
.btn-outline-cream:hover { background: var(--cream-on); color: var(--olive-deep); transform: translateY(-3px); }

.btn[disabled], .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: 1rem 2rem; font-size: 0.98rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--olive);
  color: var(--cream-on);
  transition: box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 26px rgba(60, 68, 41, 0.22); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.9rem 0 0.7rem; position: relative; }

/* Logo texte : capitales serif espacées (charte Mathieu) */
/* Logo « Mathieu Nicotra » (arbre de vie). Le nom reste dans le HTML pour le
   référencement et les lecteurs d'écran, mais n'est pas affiché. */
.brand { display: inline-flex; align-items: center; color: var(--cream-on); }
.brand:hover { color: var(--cream-on); }
.brand-logo { height: 70px; width: auto; display: block; transition: opacity var(--transition); }
.brand:hover .brand-logo { opacity: 0.82; }
.brand-name {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.brand-tagline { display: none; }

.site-nav ul { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); list-style: none; flex-wrap: wrap; justify-content: center; }
.site-nav a:not(.btn) {
  position: relative; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream-on); padding: 0.3rem 0;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--cream-on); }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold-soft); transform: scaleX(0); transform-origin: center; transition: transform var(--transition);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.site-nav .btn { padding: 0.5rem 1.2rem; font-size: 0.72rem; }
.site-nav .cart-icon { color: var(--cream-on); }

.nav-toggle {
  display: none; position: absolute; right: 0; top: 0.7rem;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: rgba(255,255,255,0.14); border: none; border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--cream-on); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--olive); color: var(--cream-on);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero-portrait-wrap { position: relative; }
.hero-portrait {
  position: relative; z-index: 2; width: min(420px, 100%); margin-inline: auto;
  border-radius: 300px 300px 26px 26px; overflow: hidden;
  border: 8px solid rgba(251, 247, 239, 0.15); box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-content .eyebrow { color: var(--gold-soft); }
.hero-content .display-title { margin: 0.2rem 0 0.4rem; }
.hero-role { font-family: var(--font-body); font-weight: 300; letter-spacing: 0.09em; font-size: clamp(0.95rem, 1.8vw, 1.25rem); color: var(--cream-on); margin-bottom: 0.6rem; }
.hero-lead { color: rgba(251, 247, 239, 0.92); font-size: 1.12rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(251,247,239,0.2); list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; font-weight: 600; color: rgba(251,247,239,0.9); }
.hero-badges svg { color: var(--gold-soft); flex-shrink: 0; }

/* Carte "identité" (rappel carte de visite) - sert de visuel héros sans photo */
.brandcard {
  position: relative; z-index: 2; border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background: linear-gradient(150deg, var(--olive-deep), var(--olive-ink));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate;
  width: min(430px, 100%); margin-inline: auto; aspect-ratio: 5/4.4;
  display: flex; flex-direction: column; justify-content: center;
}
.brandcard .branch-deco { position: absolute; right: -30px; bottom: -20px; width: 300px; color: rgba(225,178,76,0.14); z-index: -1; }
.brandcard .bc-kicker { font-family: var(--font-hand); color: var(--gold-soft); font-size: 1.3rem; }
.brandcard h2 { font-family: var(--font-display); color: var(--cream-on); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 400; margin: 0.2rem 0; line-height: 1.05; }
.brandcard .bc-role { font-family: var(--font-hand); color: var(--gold-soft); font-size: 1.15rem; margin-bottom: 1.2rem; }
.brandcard ul { list-style: none; display: grid; gap: 0.6rem; }
.brandcard li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: rgba(251,247,239,0.92); }
.brandcard li svg { flex-shrink: 0; color: var(--gold-soft); }

/* ---------- Placeholder photo (motif botanique) ---------- */
.photo-ph {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(150deg, var(--olive) 0%, var(--olive-deep) 100%);
  display: grid; place-items: center; aspect-ratio: 4/3; min-height: 220px;
}
.photo-ph.tall { aspect-ratio: 4/5; }
.photo-ph .branch-deco { width: 62%; color: rgba(251,247,239,0.28); }
.photo-ph .ph-label {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem; text-align: center;
  font-family: var(--font-hand); color: rgba(251,247,239,0.85); font-size: 1.05rem;
}
.photo-ph.light { background: linear-gradient(150deg, #EDE6D3, #DED7C0); }
.photo-ph.light .branch-deco { color: rgba(110, 123, 82, 0.30); }
.photo-ph.light .ph-label { color: rgba(84, 95, 60, 0.72); }
img.photo { border-radius: var(--radius-md); box-shadow: var(--shadow-md); width: 100%; }
/* Photo pilotée depuis le back-office : remplit son cadre (.photo-ph, .hero-portrait…) */
.slot-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-ph .slot-photo { position: absolute; inset: 0; }

/* Photo encadrée avec carré doré décalé */
.framed { position: relative; display: inline-block; width: 100%; }
.framed::before {
  content: ""; position: absolute; z-index: 0;
  width: 62%; height: 62%; background: var(--gold); border-radius: var(--radius-md);
  left: -1.4rem; bottom: -1.4rem;
}
.framed > * { position: relative; z-index: 1; }
.framed.top-right::before { left: auto; bottom: auto; right: -1.4rem; top: -1.4rem; }

/* ---------- Bandeau spécialités ---------- */
.spec-strip { background: var(--gold); color: var(--cream-on); }
.spec-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2.6rem; list-style: none; padding: 0.9rem 0; font-weight: 700; letter-spacing: 0.04em; }
.spec-strip li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.98rem; }
.spec-strip svg { flex-shrink: 0; }

/* ---------- Trois colonnes (piliers courts) ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.col3-item { text-align: center; }
.col3-item h3 { font-family: var(--font-title); color: var(--olive); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; }
.col3-item .col3-rule { width: 54px; height: 2px; background: var(--gold); margin: 0.7rem auto 1rem; }
.col3-item p { color: var(--ink-soft); font-size: 0.98rem; }
.band-olive .col3-item h3 { color: var(--gold-soft); }
.band-olive .col3-item p { color: rgba(251,247,239,0.88); }

/* ---------- Section média + texte (alternée) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media, .feature-body { min-width: 0; }
.feature-media .photo-ph { width: 100%; }
.feature-media { position: relative; }
.feature-body .eyebrow { display: block; }
.feature-body p { color: var(--ink-soft); margin-top: 1rem; }
.feature-body .btn { margin-top: 1.8rem; }
.band-olive .feature-body p { color: rgba(251, 247, 239, 0.9); }
.band-olive .feature-body h2 { color: var(--cream-on); }
.band-olive .feature-body .eyebrow { color: var(--cream-on); }

/* Carte de texte superposée à une photo (qui-suis-je) */
.overlap { position: relative; }
.overlap-photo { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); margin-left: 12%; }
.overlap-card {
  position: absolute; left: 0; bottom: -1.5rem; top: 1.5rem; width: 58%;
  background: var(--olive); color: var(--cream-on);
  border-radius: var(--radius-md); padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: center;
}
.overlap-card .hand-title { color: var(--gold-soft); margin-bottom: 0.6rem; }
.overlap-card p { color: rgba(251,247,239,0.92); font-size: 0.95rem; margin-top: 0.7rem; }

/* ---------- Rangées pleine largeur photo | panneau couleur (prestations) ---------- */
.split-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-row .split-media { min-height: 340px; }
.split-row .split-media .photo-ph { height: 100%; border-radius: 0; aspect-ratio: auto; }
.split-panel { padding: clamp(2.2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.split-panel.olive { background: var(--olive); color: var(--cream-on); }
.split-panel.blush { background: var(--blush); }
.split-panel .service-eyebrow { font-family: var(--font-hand); font-size: 1.3rem; }
.split-panel.olive .service-eyebrow { color: var(--cream-on); }
.split-panel.blush .service-eyebrow { color: var(--gold-deep); }
.split-panel h2 { font-family: var(--font-title); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.4rem; }
.split-panel.olive h2 { color: var(--cream-on); }
.split-panel.blush h2 { color: var(--olive-deep); }
.split-panel p { margin-top: 0.7rem; font-size: 0.98rem; }
.split-panel.olive p { color: rgba(251,247,239,0.9); }
.split-panel.blush p { color: var(--ink-soft); }
.split-panel h3 { font-family: var(--font-title); font-size: 1.25rem; margin-top: 1.4rem; }
.split-panel.olive h3 { color: var(--cream-on); }
.split-panel.blush h3 { color: var(--olive-deep); }

/* Le blush est le plus foncé des fonds clairs : le vert de marque n'y contraste
   pas assez en petit titre, on descend d'un cran dans la charte. */
.bg-blush .col3-item h3, .band-blush .col3-item h3,
.bg-blush .timeline-item h3, .band-blush .timeline-item h3 { color: var(--olive-deep); }
.price-pill { display: inline-flex; gap: 0.5rem; align-items: center; align-self: flex-start; margin-top: 0.8rem; font-weight: 700; font-size: 0.9rem; color: var(--cream-on); background: var(--gold); padding: 0.35rem 1rem; border-radius: var(--radius-pill); }
.split-panel.olive .price-pill { background: var(--gold); color: var(--cream-on); }
.split-panel .btn { margin-top: 1.4rem; align-self: flex-start; }

/* Détails d'une prestation : déroulement, livrables */
.svc-detail { margin-top: 1.1rem; }
.svc-detail .lbl { display: block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.1rem; }
/* Label en petite taille : le doré ne passe pas sur le vert, on met du crème. */
.split-panel.olive .svc-detail .lbl { color: var(--cream-on); }
.split-panel.blush .svc-detail .lbl { color: var(--gold-deep); }
.svc-detail p { margin-top: 0.1rem; }
/* Passerelle entre prestations (réduction, déduction) */
.svc-note { margin-top: 1.3rem; font-size: 0.9rem; border-radius: var(--radius-sm); padding: 0.8rem 1rem; }
/* Sur olive, on assombrit le fond (et non l'inverse) pour renforcer le contraste du texte crème. */
.split-panel.olive .svc-note { background: rgba(38, 48, 42, 0.35); color: var(--cream-on); }
.split-panel.blush .svc-note { background: var(--cream-soft); color: var(--olive-deep); border: 1px solid var(--line); }
.svc-note strong { color: inherit; }

/* Accompagnement Global Vitalité : offre premium mise en avant */
.pack { max-width: 980px; margin: 0 auto; background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.pack-head { background: var(--olive); color: var(--cream-on); padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.pack-head .pack-kicker { font-family: var(--font-hand); color: var(--cream-on); font-size: 1.3rem; }
.pack-head h2 { color: var(--cream-on); font-family: var(--font-title); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.1rem 0 0.3rem; }
.pack-head .pack-sub { color: rgba(251, 247, 239, 0.85); font-size: 0.95rem; margin-bottom: 1rem; }
.pack-price { display: inline-flex; align-items: baseline; gap: 0.4rem; background: var(--gold); color: var(--cream-on); padding: 0.5rem 1.3rem; border-radius: var(--radius-pill); font-weight: 700; }
.pack-price .amount { font-size: 1.35rem; }
.pack-body { padding: clamp(1.8rem, 4vw, 2.8rem); }
.pack-body > p { color: var(--ink-soft); max-width: 72ch; }
.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); margin-top: 1.8rem; }
.pack-col h3 { font-family: var(--font-title); color: var(--olive-deep); font-size: 1.15rem; margin-bottom: 0.8rem; }
.pack-list { list-style: none; display: grid; gap: 0.8rem; }
.pack-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.pack-list li svg { flex-shrink: 0; color: var(--gold-deep); margin-top: 3px; }
.pack-foot { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; justify-content: space-between; }
.pack-foot p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; max-width: 48ch; }
.pack-foot .cta-actions { margin: 0; }
@media (max-width: 720px) { .pack-grid { grid-template-columns: 1fr; } }

/* Mentions obligatoires en bas de la page prestations */
.legal-note { max-width: 820px; margin: 2.5rem auto 0; font-size: 0.85rem; color: var(--ink-soft); text-align: center; line-height: 1.7; }
.legal-note .legal-id { display: block; margin-top: 0.6rem; color: var(--olive-deep); font-weight: 600; }

/* ---------- Timeline (qui-suis-je) ---------- */
.timeline { position: relative; display: grid; gap: 1.8rem; padding-left: 2.2rem; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--gold-soft)); }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -2.2rem; top: 5px; width: 16px; height: 16px; background: var(--cream); border: 4px solid var(--gold); border-radius: 50%; }
.timeline-item .t-date { font-family: var(--font-hand); color: var(--gold-deep); font-size: 1.1rem; }
.timeline-item h3 { font-family: var(--font-title); color: var(--olive); font-size: 1.25rem; margin-top: 0.1rem; }
.timeline-item p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.3rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item { background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--transition); }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; cursor: pointer; font-family: var(--font-title); font-size: 1.12rem; color: var(--olive); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--gold-soft); color: var(--olive-deep); border-radius: 50%; font-family: var(--font-body); font-size: 1.3rem; transition: transform var(--transition), background var(--transition); }
.faq-item[open] summary::after { content: "−"; background: var(--gold); color: var(--cream-on); }
.faq-item .faq-answer { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Réseaux sociaux ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.social-links a { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-soft); border: 1px solid var(--line); color: var(--olive-deep); transition: all var(--transition); }
.social-links a:hover { background: var(--gold); color: var(--cream-on); border-color: var(--gold); transform: translateY(-4px); }
.band-olive .social-links a { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--cream-on); }
.band-olive .social-links a:hover { background: var(--gold); color: var(--cream-on); }

/* ---------- Formulaires (inputs pilule) ---------- */
.pill-form { max-width: 900px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--olive-deep); padding-left: 1rem; }
.pill-form input, .pill-form select, .pill-form textarea,
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.85rem 1.2rem; font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--cream-soft); border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); transition: border-color var(--transition), box-shadow var(--transition);
}
.pill-form textarea, .form-field textarea { border-radius: var(--radius-md); resize: vertical; min-height: 120px; }
.pill-form input:focus, .pill-form select:focus, .pill-form textarea:focus,
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(139,82,40,0.18); background: #fff;
}
/* Sur bandeau olive : inputs transparents à bord clair */
.band-olive .pill-form input, .band-olive .pill-form select, .band-olive .pill-form textarea {
  background: rgba(255,255,255,0.06); border-color: rgba(251,247,239,0.5); color: var(--cream-on);
}
/* Libellés de formulaire : petite taille, le doré ne contraste pas assez sur le vert. */
.band-olive .pill-form label { color: var(--cream-on); }
/* Lien en pleine phrase sur fond vert : souligné pour rester repérable sans
   reposer uniquement sur la couleur. Les boutons et réseaux sociaux gardent la leur. */
.band-olive a:not(.btn) { color: var(--cream-on); text-decoration: underline; text-underline-offset: 3px; }
.band-olive .pill-form input::placeholder, .band-olive .pill-form textarea::placeholder { color: rgba(251,247,239,0.6); }
.form-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; text-transform: none; letter-spacing: 0; font-weight: 400; padding-left: 0; }
.band-olive .form-consent { color: rgba(251,247,239,0.85); }
.form-consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--gold); border-radius: 0; }
.form-required-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.8rem; text-align: center; }
.band-olive .form-required-note { color: rgba(251,247,239,0.75); }

/* ---------- Contact : cartes & infos ---------- */
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.contact-detail h3 { font-family: var(--font-title); color: var(--olive); font-size: 1.15rem; margin: 1.2rem 0 0.3rem; }
.contact-detail h3:first-child { margin-top: 0; }
.contact-detail p, .contact-detail a { color: var(--ink-soft); }
/* Blocs de lieux générés à partir du back-office (adresse, rythme, horaires) */
.contact-detail .loc-rhythm { font-size: 0.9rem; color: var(--gold-deep); font-weight: 600; margin-top: 0.2rem; }
.hours-grid { margin-top: 0.5rem; display: grid; gap: 0.3rem; max-width: 340px; }
.hours-line { display: flex; align-items: baseline; gap: 0.5rem; color: var(--ink-soft); }
.hours-line .day { color: var(--olive-deep); font-weight: 600; }
.hours-line .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 100%; min-height: 420px; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

.contact-icons { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); margin-top: 1.5rem; }
.contact-icons .ci { width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(251,247,239,0.6); display: grid; place-items: center; color: var(--cream-on); }

/* ---------- Page hero (pages intérieures) ---------- */
.page-hero { position: relative; background: var(--olive); color: var(--cream-on); text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 6vw, 5.5rem); overflow: hidden; }
.page-hero .display-title { margin-bottom: 0.2rem; }
.page-hero .hand-title { color: var(--cream-on); }
/* La vague est calée en bas du hero (évite un bandeau vert résiduel sous la vague) */
.page-hero .wave { position: absolute; left: 0; bottom: -1px; width: 100%; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--olive); color: var(--cream-on); text-align: center; }
.cta-band .section-title { color: var(--cream-on); }
.cta-band p { color: rgba(251,247,239,0.9); max-width: 52ch; margin: 1rem auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* ==========================================================================
   Prise de rendez-vous (calendrier)
   ========================================================================== */
.booking-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.6rem, 4vw, 2.6rem); align-items: start; }
.booking-panel { background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.2rem); box-shadow: var(--shadow-sm); }
.booking-step-title { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-title); font-size: 1.3rem; color: var(--olive); margin-bottom: 1.2rem; }
.booking-step-title .step-num { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--cream-on); font-family: var(--font-body); font-size: 0.95rem; font-weight: 800; }

.service-choices { display: grid; gap: 0.8rem; }
.service-choice { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius-md); background: var(--cream); cursor: pointer; transition: all var(--transition); }
.service-choice:hover { border-color: var(--gold); }
.service-choice input { position: absolute; opacity: 0; pointer-events: none; }
.service-choice.selected { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(139,82,40,0.18); }
.service-choice .sc-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; transition: background var(--transition); }
.service-choice.selected .sc-check { background: var(--gold); }
.service-choice .sc-check svg { color: var(--cream-on); opacity: 0; transition: opacity var(--transition); }
.service-choice.selected .sc-check svg { opacity: 1; }
.service-choice .sc-body { flex-grow: 1; }
.service-choice .sc-name { display: block; font-weight: 700; color: var(--ink); }
.service-choice .sc-meta { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.1rem; }
.service-choice .sc-price { flex-shrink: 0; font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: var(--gold-deep); }

.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.calendar-head .cal-month { font-family: var(--font-title); font-size: 1.2rem; color: var(--olive); text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: var(--cream-soft); color: var(--olive-deep); cursor: pointer; transition: all var(--transition); }
.cal-nav:hover:not(:disabled) { background: var(--gold-soft); border-color: var(--gold); }
.cal-nav:disabled { opacity: 0.4; cursor: not-allowed; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); padding: 0.3rem 0; }
.cal-day { aspect-ratio: 1/1; border: none; border-radius: 12px; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; cursor: pointer; display: grid; place-items: center; position: relative; transition: all var(--transition); }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.available:hover { background: var(--gold-soft); transform: translateY(-2px); }
.cal-day.available::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal-day.unavailable { color: var(--line); background: transparent; cursor: not-allowed; text-decoration: line-through; }
.cal-day.selected { background: var(--olive); color: var(--cream-on); }
.cal-day.selected::after { background: var(--gold); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--gold); }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-size: 0.82rem; color: var(--ink-soft); }
.calendar-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.calendar-legend .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.calendar-legend .dot.off { background: var(--line); }

.slots-section { margin-top: 1.8rem; }
.slots-title { font-family: var(--font-title); color: var(--olive); margin-bottom: 0.8rem; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.6rem; }
.slot-btn { padding: 0.7rem 0.5rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream-soft); color: var(--olive-deep); font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.slot-btn:hover { border-color: var(--gold); background: var(--gold-soft); }
.slot-btn.selected { background: var(--olive); border-color: var(--olive); color: var(--cream-on); }
.slots-empty, .slots-hint { color: var(--ink-soft); font-size: 0.95rem; padding: 0.4rem 0; }

.booking-summary { background: var(--blush); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.4rem 1.6rem; margin-bottom: 1.4rem; }
.booking-summary h3 { font-family: var(--font-title); color: var(--olive); font-size: 1.2rem; margin-bottom: 0.8rem; }
.booking-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; font-size: 0.95rem; }
.booking-summary dt { color: var(--ink-soft); }
.booking-summary dd { font-weight: 700; color: var(--ink); text-align: right; }
.booking-summary .empty-summary { color: var(--ink-soft); font-size: 0.95rem; }

.alert { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); font-size: 0.95rem; margin-bottom: 1.2rem; }
.alert svg { flex-shrink: 0; margin-top: 0.15rem; }
.alert-success { background: #eef3e2; border: 1px solid var(--olive); color: var(--olive-deep); }
.alert-error { background: #fbeceb; border: 1px solid #e0b1ab; color: #9a3b32; }
.is-hidden { display: none !important; }

.booking-success { text-align: center; padding: clamp(2rem, 5vw, 3.5rem); background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.booking-success .success-icon { width: 76px; height: 76px; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--cream-on); }
.booking-success h2 { font-family: var(--font-title); color: var(--olive); margin-bottom: 0.6rem; }
.booking-success p { color: var(--ink-soft); max-width: 46ch; margin: 0.4rem auto 0; }
.booking-success .btn { margin-top: 1.8rem; }

/* ==========================================================================
   Espace praticien (back-office)
   ========================================================================== */
.admin-body { background: var(--blush); }
.admin-topbar { background: var(--olive); color: var(--cream-on); padding: 0.9rem 0; position: sticky; top: 0; z-index: 50; }
.admin-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-topbar .brand-logo { height: 40px; }
.admin-logout { background: rgba(255,255,255,0.14); color: var(--cream-on); border: none; padding: 0.55rem 1.1rem; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: background var(--transition); }
.admin-logout:hover { background: rgba(255,255,255,0.26); color: var(--cream-on); }

.login-screen { min-height: 82vh; display: grid; place-items: center; padding: 2rem 1rem; }
.login-card { width: min(430px, 100%); background: var(--cream-soft); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3rem); box-shadow: var(--shadow-md); text-align: center; }
/* Fond clair : version foncée du logo (la version crème y serait invisible). */
.login-card .login-logo { height: 76px; width: auto; margin: 0 auto 0.4rem; display: block; }
.login-card h1 { font-family: var(--font-title); color: var(--olive); font-size: 1.7rem; margin: 0.3rem 0; }
.login-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.6rem; }
.login-card .form-field { text-align: left; margin-bottom: 1rem; }
.login-card .btn { width: 100%; }

.admin-main { padding: clamp(1.8rem, 4vw, 3rem) 0 5rem; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.admin-head h1 { font-family: var(--font-title); color: var(--olive); font-size: clamp(1.7rem, 4vw, 2.3rem); }
.admin-head p { color: var(--ink-soft); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.8rem; }
.stat-card { background: var(--cream-soft); border-radius: var(--radius-md); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat-card .stat-num { font-family: var(--font-title); font-size: 2.1rem; color: var(--olive); line-height: 1; }
.stat-card .stat-label { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }
.stat-card.pending .stat-num { color: var(--gold-deep); }

.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); padding-bottom: 0.2rem; }
.admin-tab { border: none; background: transparent; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); padding: 0.6rem 1rem; border-radius: var(--radius-sm) var(--radius-sm) 0 0; cursor: pointer; position: relative; transition: all var(--transition); }
.admin-tab:hover { color: var(--olive); background: var(--cream); }
.admin-tab.active { color: var(--olive); }
.admin-tab.active::after { content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: -0.3rem; height: 3px; background: var(--gold); border-radius: 3px; }
.admin-tab .count-pill { display: inline-block; min-width: 20px; padding: 0 0.35rem; margin-left: 0.35rem; font-size: 0.72rem; font-weight: 800; text-align: center; background: var(--gold-soft); color: var(--olive-deep); border-radius: 999px; }
.admin-tab.active .count-pill { background: var(--gold); color: var(--cream-on); }

.appointments-list { display: grid; gap: 1rem; }
.appt-card { background: var(--cream-soft); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius-md); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 120px 1fr auto; gap: 1.2rem; align-items: center; }
.appt-card.status-pending { border-left-color: var(--gold); }
.appt-card.status-confirmed { border-left-color: var(--olive); }
.appt-card.status-refused { border-left-color: #c98c85; }
.appt-card.status-cancelled { border-left-color: var(--line); opacity: 0.75; }
.appt-when { text-align: center; }
.appt-when .appt-day { font-family: var(--font-title); font-size: 1.9rem; color: var(--olive); line-height: 1; }
.appt-when .appt-monthyear { font-size: 0.8rem; color: var(--ink-soft); text-transform: capitalize; }
.appt-when .appt-time { display: inline-block; margin-top: 0.4rem; font-weight: 700; color: var(--olive-ink); background: var(--gold-soft); padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.9rem; }
.appt-body .appt-service { font-family: var(--font-title); font-size: 1.2rem; color: var(--olive); }
.appt-body .appt-client { font-weight: 700; margin-top: 0.3rem; }
.appt-body .appt-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.4rem; font-size: 0.9rem; color: var(--ink-soft); }
.appt-body .appt-message { margin-top: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); font-style: italic; background: var(--cream); padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); }
.appt-body .appt-location-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 700; color: var(--olive-deep); background: var(--blush); padding: 0.2rem 0.6rem; border-radius: 999px; margin-top: 0.5rem; }
.status-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem; }
.status-badge.status-pending { background: var(--gold-soft); color: var(--gold-deep); }
.status-badge.status-confirmed { background: #e7efdb; color: var(--olive-deep); }
.status-badge.status-refused { background: #f7e4e1; color: #9a3b32; }
.status-badge.status-cancelled { background: var(--line); color: var(--ink-soft); }
.appt-actions { display: flex; flex-direction: column; gap: 0.5rem; min-width: 150px; }
.appt-actions .btn { width: 100%; padding: 0.55rem 1rem; font-size: 0.78rem; }
.btn-confirm { background: var(--olive); color: var(--cream-on); }
.btn-confirm:hover { background: var(--olive-deep); color: var(--cream-on); transform: translateY(-2px); }
.btn-refuse { background: #fff; color: #9a3b32; border: 1.5px solid #e0b1ab; }
.btn-refuse:hover { background: #fbeceb; }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--cream); color: var(--olive-deep); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.empty-state svg { color: var(--line); margin: 0 auto 1rem; }

.settings-grid { display: grid; gap: 1.5rem; }
.settings-card { background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm); }
.settings-card h3 { font-family: var(--font-title); color: var(--olive); font-size: 1.2rem; margin-bottom: 0.4rem; }
.settings-card .settings-desc { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1.2rem; }
/* Signale que le champ est publié sur le site : évite les mauvaises surprises. */
.settings-card .settings-note {
  color: var(--gold-deep); background: var(--gold-soft); border-radius: var(--radius-sm);
  padding: 0.7rem 1rem; font-size: 0.87rem; font-weight: 600; margin: -0.6rem 0 1.2rem;
}
/* Bloc « cabinet » (nom + adresse + son planning) */
.location-block { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem 1.2rem 1.2rem; margin-bottom: 1rem; background: var(--cream); }
.location-head { display: grid; grid-template-columns: 1.1fr 1.5fr auto auto; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.location-head input[type="text"] { padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); }
.location-head .loc-name { font-weight: 700; color: var(--olive-deep); }
@media (max-width: 900px) { .location-head { grid-template-columns: 1fr; } }

/* Rythme du lieu : semaines du mois + date de démarrage */
.location-rhythm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); }
.location-rhythm .rhythm-label { font-weight: 700; font-size: 0.85rem; color: var(--olive-deep); }
.location-rhythm .wom-box { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem; cursor: pointer; }
.location-rhythm .rhythm-hint { font-size: 0.78rem; color: var(--ink-soft); font-style: italic; }
.location-rhythm .rhythm-start { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--olive-deep); font-weight: 700; }
.location-rhythm .rhythm-start input { padding: 0.35rem 0.6rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); }

.hours-editor { display: grid; gap: 0.7rem; }
.hours-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 0.8rem; align-items: center; }
.hours-row .day-name { font-weight: 700; color: var(--olive-deep); }
.hours-row .ranges { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.hours-row .range-pair { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.25rem 0.5rem; }
.hours-row input[type="time"] { border: none; background: transparent; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); padding: 0.2rem; }
.hours-row .range-remove { border: none; background: transparent; color: #9a3b32; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 0.2rem; }
.hours-row .range-add { border: 1px dashed var(--gold); background: transparent; color: var(--gold-deep); border-radius: var(--radius-sm); padding: 0.25rem 0.6rem; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.hours-row .day-off-toggle { font-size: 0.82rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.35rem; }
.settings-inline { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.settings-inline .form-field { flex: 1 1 180px; }
.settings-inline .form-field input { border-radius: var(--radius-sm); }
.blocked-dates-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.blocked-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--blush); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.5rem 0.3rem 0.9rem; font-size: 0.88rem; }
.blocked-chip button { border: none; background: transparent; color: #9a3b32; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.services-editor { display: grid; gap: 0.8rem; }
.service-row { display: grid; grid-template-columns: 1fr 90px 110px auto; gap: 0.7rem; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; }
.service-row input { width: 100%; padding: 0.5rem 0.7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: var(--font-body); font-size: 0.92rem; color: var(--ink); }
.service-row .service-remove { border: none; background: transparent; color: #9a3b32; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.service-row .s-desc { grid-column: 1 / -1; width: 100%; padding: 0.5rem 0.7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: var(--font-body); font-size: 0.88rem; color: var(--ink); resize: vertical; }

/* --- Textes du site (onglet « ✎ Textes du site ») --- */
.content-zone { margin-bottom: 1.15rem; }
.content-zone label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--olive-deep); margin-bottom: 0.3rem; }
.content-zone textarea { width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-family: var(--font-body); font-size: 0.92rem; line-height: 1.55; color: var(--ink); resize: vertical; }
.content-zone textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(103, 117, 90, 0.15); }
.content-zone .zone-flag { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; background: var(--gold-soft); color: var(--gold-deep); border-radius: 999px; }
.zone-reset { border: none; background: transparent; color: var(--ink-soft); font-family: var(--font-body); font-size: 0.78rem; cursor: pointer; padding: 0.2rem 0; }
.zone-reset:hover { color: var(--gold-deep); text-decoration: underline; }
.service-add-btn { justify-self: start; margin-top: 0.3rem; }
.settings-actions { margin-top: 1.6rem; display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }

/* ---------- Back-office : éditeur de texte visuel ---------- */
.editor-pages { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.editor-page-btn { border: 1px solid var(--line); background: #fff; color: var(--olive-deep); border-radius: var(--radius-pill); padding: 0.4rem 1.05rem; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.editor-page-btn:hover { border-color: var(--olive); }
.editor-page-btn.active { background: var(--olive); color: var(--cream-on); border-color: var(--olive); }
.editor-stage { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.editor-hint { padding: 0.55rem 1rem; font-size: 0.82rem; color: var(--gold-deep); background: var(--gold-soft); text-align: center; }
.editor-stage iframe { display: block; width: 100%; height: min(72vh, 720px); border: 0; background: #fff; }
.editor-drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: #fff; border-top: 3px solid var(--olive); box-shadow: 0 -12px 34px rgba(38, 48, 42, 0.22); }
.editor-drawer[hidden] { display: none; }
.editor-drawer-inner { max-width: 960px; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2rem) 1.2rem; }
.editor-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.editor-drawer-head span { font-family: var(--font-title); font-weight: 700; color: var(--olive-deep); font-size: 1.02rem; }
.editor-close { border: none; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 0 0.4rem; }
.editor-close:hover { color: var(--gold-deep); }
.editor-drawer textarea { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-family: var(--font-body); font-size: 0.95rem; line-height: 1.55; color: var(--ink); resize: vertical; }
.editor-drawer textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(103, 117, 90, 0.15); }
.editor-drawer-actions { display: flex; gap: 0.6rem; margin-top: 0.7rem; }

/* ---------- Back-office : onglet Sécurité ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; max-width: 760px; }
.twofa-steps { margin: 0.4rem 0 0.8rem 1.1rem; display: grid; gap: 0.6rem; color: var(--ink-soft); font-size: 0.95rem; }
.twofa-steps strong { color: var(--olive-deep); }
.twofa-secret { display: inline-block; margin-top: 0.4rem; font-family: monospace; font-size: 1.15rem; letter-spacing: 0.12em; background: var(--blush); color: var(--olive-ink); padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); user-select: all; }
.twofa-hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0.2rem 0 0.8rem; }

/* ---------- Back-office : onglet Photos ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.photo-card { background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0.9rem; display: flex; flex-direction: column; }
.photo-card h4 { font-family: var(--font-title); color: var(--olive-deep); font-size: 1.02rem; margin: 0.7rem 0 0.2rem; }
.photo-hint { font-size: 0.82rem; color: var(--ink-soft); margin: 0 0 0.8rem; flex: 1; }
.photo-preview { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(150deg, var(--olive) 0%, var(--olive-deep) 100%); display: grid; place-items: center; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-preview .photo-empty { font-family: var(--font-hand); color: rgba(251, 247, 239, 0.85); font-size: 1rem; }
.photo-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(38, 48, 42, 0.65); color: var(--cream-on); font-weight: 600; font-size: 0.95rem; }
.photo-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.photo-actions .btn { font-size: 0.82rem; padding: 0.5rem 0.9rem; }
.photo-pick { cursor: pointer; }

.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--olive-ink); color: var(--cream-on); padding: 0.9rem 1.5rem; border-radius: 999px; box-shadow: var(--shadow-md); font-size: 0.95rem; font-weight: 600; z-index: 200; transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94); max-width: calc(100% - 2rem); }
.toast:empty { display: none; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #9a3b32; }

/* ---------- Pages légales ---------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-family: var(--font-title); color: var(--olive); font-size: 1.4rem; margin: 2.2rem 0 0.7rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-top: 0.6rem; }
.legal-content ul { padding-left: 1.4rem; }
.legal-placeholder { background: var(--gold-soft); border-radius: 6px; padding: 0.1rem 0.5rem; font-weight: 700; color: var(--olive-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(251,247,239,0.75); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-top { text-align: center; padding-bottom: 2rem; }
.footer-top .brand { justify-content: center; }
.footer-top .brand-logo { height: 74px; }
.footer-social-single { display: flex; justify-content: center; margin-top: 1rem; }
.footer-social-single a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(251,247,239,0.35); display: grid; place-items: center; color: rgba(251,247,239,0.8); transition: all var(--transition); }
.footer-social-single a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 3.5rem); padding: 1rem 0 2.5rem; text-align: center; }
.footer-col h3 { font-family: var(--font-hand); color: var(--gold-soft); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none; margin-bottom: 0.8rem; }
.footer-col .fc-icon { color: var(--gold-soft); margin: 0 auto 0.5rem; }
.footer-col p, .footer-col a, .footer-col li { color: rgba(251,247,239,0.78); font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col strong { color: var(--gold-soft); font-weight: 600; }

/* Sur fond sombre, le olive-deep par défaut de <strong> devient illisible.
   Le doré est réservé aux titres (grande taille) : en corps de texte il ne
   contraste pas assez sur le vert, donc le gras passe en crème. */
.band-olive strong, .split-panel.olive strong, .page-hero strong { color: var(--cream-on); }
.footer-col ul { list-style: none; display: grid; gap: 0.3rem; }
.footer-bottom { border-top: 1px solid rgba(251,247,239,0.14); padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem 1.4rem; font-size: 0.85rem; color: rgba(251,247,239,0.6); text-align: center; }
.footer-bottom a { color: rgba(251,247,239,0.75); }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom .sep { opacity: 0.4; }

/* ---------- Animations reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .cols3 { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 2rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .booking-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { align-items: stretch; flex-direction: row; justify-content: center; padding: 0.8rem 0; }
  .nav-toggle { display: flex; }
  /* Header compact sur mobile : le logo doit y tenir sans l'étirer. */
  .brand-logo { height: 52px; }
  .footer-top .brand-logo { height: 62px; }
  .site-nav {
    position: fixed; inset: 0; z-index: 90; background: var(--olive);
    padding: 6rem 2rem 2rem; transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); visibility: hidden;
  }
  body.nav-open .site-nav { transform: translateX(0); visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav ul { flex-direction: column; align-items: center; gap: 0.9rem; }
  .site-nav a:not(.btn) { font-size: 1.1rem; }
  .site-nav .btn { font-size: 0.85rem; padding: 0.7rem 1.6rem; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-content .eyebrow, .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: -1; }
  .split-row { grid-template-columns: 1fr; }
  .split-row .split-media { min-height: 240px; }
  .overlap-photo { margin-left: 0; }
  .overlap-card { position: static; width: 100%; margin-top: -2rem; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .appt-card { grid-template-columns: 1fr; gap: 0.9rem; }
  .appt-when { text-align: left; display: flex; align-items: baseline; gap: 0.8rem; }
  .appt-actions { flex-direction: row; min-width: 0; }
  .appt-actions .btn { flex: 1; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hours-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .spec-strip ul { flex-direction: column; align-items: center; gap: 0.5rem; }
  .admin-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .contact-icons { gap: 1.2rem; }
}
