/* =====================================================================
   Le Cocon de Juju — feuille de style du site public
   Identité : cercle lavande (enso), passiflore violette, pétales chartreuse,
   écriture calligraphique. Lora (titres, racines calligraphiques) + Poppins (texte).
   ===================================================================== */

@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300-italic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --encre: #2b1938;          /* texte principal, aubergine profond */
  --encre-2: #5b4a66;        /* texte secondaire */
  --passiflore: #5e2f8c;     /* actions principales */
  --passiflore-fonce: #47226c;
  --lavande: #b088cb;        /* cercle du logo (décoratif uniquement) */
  --lavande-2: #d9c6e6;
  --lavande-pale: #efe7f4;
  --brume: #f6f1f8;          /* fond de section */
  --lait: #fcfafd;           /* fond de page */
  --petale: #e8f0b0;         /* pétale de passiflore */
  --petale-pale: #f5f8df;
  --nuit: #22132d;           /* sections sombres, pied de page */
  --nuit-2: #33203f;
  --ligne: #e6dcec;
  --succes: #2f7a55;
  --succes-pale: #e6f3ec;
  --erreur: #b3261e;
  --erreur-pale: #fbeceb;
  --font-titre: "Lora", "Iowan Old Style", Georgia, serif;
  --font-texte: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 30px;
  --r-full: 999px;
  --ombre: 0 24px 48px -28px rgba(43, 25, 56, 0.38);
  --ombre-douce: 0 10px 30px -18px rgba(43, 25, 56, 0.3);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--lait);
  color: var(--encre);
  font-family: var(--font-texte);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--passiflore); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--passiflore-fonce); }
p { margin: 0 0 1em; }
::selection { background: var(--petale); color: var(--encre); }

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

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -0.18em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--nuit); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip-link:focus { top: 12px; color: #fff; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- typographie */

h1, h2, h3, h4 { font-family: var(--font-titre); font-weight: 400; color: var(--encre); margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); font-weight: 300; line-height: 1.75; color: var(--encre-2); max-width: 38em; }
.prose { max-width: 40em; }
.prose p, .prose li { color: var(--encre-2); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose strong { color: var(--encre); font-weight: 500; }
.muted { color: var(--encre-2); }
.small { font-size: 0.9rem; }
.script { font-family: var(--font-titre); font-style: italic; }

/* ---------------------------------------------------------------- mise en page */

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.section-brume { background: var(--brume); }
.section-petale { background: var(--petale-pale); }
.section-nuit { background: var(--nuit); color: #efe6f4; }
.section-nuit h2, .section-nuit h3 { color: #fff; }
.section-nuit .lead, .section-nuit p { color: #d8cae1; }
.section-head { max-width: 44em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.stack > * + * { margin-top: 1rem; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.75em 1.5em;
  border-radius: var(--r-full); border: 1.5px solid transparent;
  font: 500 1rem/1.2 var(--font-texte); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--passiflore); color: #fff; }
.btn-primary:hover { background: var(--passiflore-fonce); color: #fff; }
.btn-secondary { background: transparent; color: var(--passiflore); border-color: var(--lavande); }
.btn-secondary:hover { background: var(--lavande-pale); color: var(--passiflore-fonce); border-color: var(--passiflore); }
.btn-light { background: #fff; color: var(--passiflore); }
.btn-light:hover { background: var(--petale); color: var(--encre); }
.btn-ghost { background: transparent; color: var(--encre); padding-inline: 0.4em; min-height: 40px; }
.btn-ghost:hover { color: var(--passiflore); }
.btn-small { min-height: 38px; padding: 0.45em 1.05em; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 500; text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- en-tête */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 253, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--ligne); box-shadow: 0 8px 24px -22px rgba(43, 25, 56, 0.5); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 52px; height: 52px; position: relative; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-word { width: 168px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.main-nav a {
  display: block; padding: 10px 9px; border-radius: var(--r-full); white-space: nowrap;
  color: var(--encre); text-decoration: none; font-size: 0.94rem; font-weight: 400;
}
.main-nav a:hover { color: var(--passiflore); background: var(--lavande-pale); }
.main-nav a[aria-current="page"], .nav-has-sub.is-current > a { color: var(--passiflore); font-weight: 500; }

/* Sous-menu « Prestations » : survol à la souris, ou bouton (clavier, écran tactile).
   Le panneau commence exactement sous le lien (marge intérieure transparente) : aucun « trou »
   à traverser, et un court délai de grâce le garde ouvert si la souris déborde un instant. */
.nav-has-sub { position: relative; display: flex; align-items: center; border-radius: var(--r-full); transition: background-color 0.2s; }
.main-nav .nav-has-sub > a { padding-right: 2px; }
.main-nav .nav-has-sub > a:hover { background: transparent; }
.nav-sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 28px; margin-right: 4px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--encre-2); cursor: pointer;
}
.nav-sub-toggle .icon { width: 16px; height: 16px; transition: transform 0.25s ease; }
.nav-has-sub.is-open { background: var(--lavande-pale); }
.nav-has-sub.is-open > a, .nav-has-sub.is-open .nav-sub-toggle { color: var(--passiflore); }
.nav-sub {
  position: absolute; left: -8px; top: 100%; z-index: 5; min-width: 300px; padding-top: 10px;
  visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity 0.18s ease 0.14s, transform 0.18s ease 0.14s, visibility 0s linear 0.32s;
}
.nav-sub > ul { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-m); box-shadow: var(--ombre); padding: 10px; }
.nav-has-sub.is-open .nav-sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-has-sub.is-open .nav-sub-toggle .icon { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav-has-sub:hover { background: var(--lavande-pale); }
  .nav-has-sub:hover > a, .nav-has-sub:hover .nav-sub-toggle { color: var(--passiflore); }
  .nav-has-sub:hover .nav-sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-has-sub:hover .nav-sub-toggle .icon { transform: rotate(180deg); }
}
.nav-sub a { border-radius: var(--r-s); }
.nav-sub li { display: block; }
.main-nav .nav-sub ul { display: block; }
.header-cta { flex-shrink: 0; padding-inline: 1.3em; }

/* Bouton du menu (mobile, tablette) : deux traits, le second plus court, qui se croisent à l'ouverture */
.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--ligne); background: #fff; color: var(--encre);
  align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.menu-toggle:hover { border-color: var(--lavande); }
.burger { position: relative; display: block; width: 18px; height: 12px; }
.burger i {
  position: absolute; left: 0; top: 0; width: 100%; height: 1.75px; border-radius: 2px; background: currentColor;
  transition: top 0.4s cubic-bezier(0.7, 0, 0.2, 1), width 0.3s ease, transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}
.burger i + i { top: calc(100% - 1.75px); width: 66%; }
.menu-toggle:hover .burger i + i { width: 100%; }

/* La barre horizontale n'apparaît que là où elle tient entièrement ; en dessous, menu plein écran. */
@media (max-width: 1365px) {
  .main-nav a { padding: 10px 8px; font-size: 0.92rem; }
  .brand-word { width: 160px; }
  .header-inner { gap: 16px; }
  .header-cta { padding-inline: 1.1em; font-size: 0.95rem; }
}
@media (max-width: 1240px) {
  :root { --header-h: 72px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-word { width: 150px; }
}
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------------------------------------------------------------- menu plein écran « cocon »
   Le menu éclot en cercle depuis le bouton, l'anneau lavande se dessine, la passiflore fleurit. */

.menu-sheet {
  --ox: calc(100% - 44px); --oy: 36px; --r: 150vmax;
  position: fixed; inset: 0; z-index: 90;
  width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--encre);
  background:
    radial-gradient(120% 55% at 100% 0%, #e5d5ef 0%, rgba(229, 213, 239, 0) 62%),
    radial-gradient(100% 42% at 0% 100%, rgba(232, 240, 176, 0.6) 0%, rgba(232, 240, 176, 0) 72%),
    #f4eef8;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0px at var(--ox) var(--oy));
  transition: clip-path 0.62s cubic-bezier(0.7, 0, 0.15, 1);
}
.menu-sheet[open] { display: block; }
.menu-sheet::backdrop { background: transparent; }
.menu-sheet.is-open { clip-path: circle(var(--r) at var(--ox) var(--oy)); }
.menu-sheet.is-closing { transition-duration: 0.42s; transition-timing-function: cubic-bezier(0.6, 0, 0.35, 1); }
.menu-sheet:focus { outline: none; }

.sheet-deco { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.sheet-emblem { position: absolute; top: calc(var(--header-h) - 2px); right: -13vw; width: min(70vw, 340px); aspect-ratio: 1 / 1; transition: opacity 0.45s ease; }
.menu-sheet.has-expanded .sheet-emblem { opacity: 0.18; } /* la décoration s'efface quand la liste des soins est ouverte */
.sheet-ring {
  --reveal: 0%;
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75;
  -webkit-mask: conic-gradient(from 200deg, #000 var(--reveal), transparent 0);
  mask: conic-gradient(from 200deg, #000 var(--reveal), transparent 0);
  transition: --reveal 1.2s cubic-bezier(0.6, 0.05, 0.25, 1) 0.12s;
}
.menu-sheet.is-open .sheet-ring { --reveal: 100%; }
.sheet-flower {
  position: absolute; width: 60%; right: 6%; bottom: -8%;
  opacity: 0; transform: rotate(-24deg) scale(0.8);
  filter: drop-shadow(0 18px 24px rgba(43, 25, 56, 0.18));
  transition: opacity 0.5s ease 0.5s, transform 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s;
}
.menu-sheet.is-open .sheet-flower { opacity: 1; transform: rotate(-8deg) scale(1); }

.sheet-inner {
  position: relative; z-index: 1; min-height: 100%;
  display: flex; flex-direction: column;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.sheet-top { display: flex; align-items: center; height: var(--header-h); flex-shrink: 0; }
.sheet-close { display: inline-flex; background: rgba(255, 255, 255, 0.72); }
.menu-sheet.is-open .sheet-close .burger i { top: calc(50% - 0.875px); width: 100%; transition-delay: 0.12s; }
.menu-sheet.is-open .sheet-close .burger i:first-child { transform: rotate(45deg); }
.menu-sheet.is-open .sheet-close .burger i + i { transform: rotate(-45deg); }

.sheet-nav { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 20px 26px; }
.sheet-nav > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(0px, 0.7vh, 8px); }
.sheet-item, .sheet-foot {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.menu-sheet.is-open .sheet-item, .menu-sheet.is-open .sheet-foot {
  opacity: 1; transform: none; transition-delay: calc(170ms + var(--i, 0) * 45ms);
}
.sheet-link {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.32em;
  margin: 0; padding: 0.1em 0; border: 0; background: none; cursor: pointer;
  font: 400 clamp(2rem, 8.6vw, 2.7rem)/1.2 var(--font-titre); letter-spacing: -0.015em;
  color: var(--encre); text-decoration: none; text-align: left;
  transition: color 0.25s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Pastille « cocon » derrière la première lettre : lavande au toucher, vert pétale pour la page en cours */
.sheet-link::before {
  content: ""; position: absolute; z-index: -1; left: -0.26em; top: 50%;
  width: 1.12em; height: 1.12em; border-radius: 50%; background: var(--lavande-2);
  transform: translateY(-50%) scale(0);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.25), background-color 0.25s;
}
.sheet-link:focus-visible, .sheet-link:active { color: var(--passiflore); }
.sheet-link:focus-visible::before, .sheet-link:active::before { transform: translateY(-50%) scale(1); }
@media (hover: hover) {
  .sheet-link:hover { color: var(--passiflore); transform: translateX(6px); }
  .sheet-link:hover::before { transform: translateY(-50%) scale(1); }
}
.sheet-link[aria-current="page"], .sheet-link.is-current { color: var(--passiflore); }
.sheet-link[aria-current="page"]::before, .sheet-link.is-current::before { background: var(--petale); transform: translateY(-50%) scale(1); }
.sheet-link:focus-visible { outline-offset: 6px; }
.sheet-chevron { width: 0.5em; height: 0.5em; margin-top: 0.14em; color: var(--lavande); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sheet-item.is-expanded .sheet-chevron { transform: rotate(180deg); }

/* Liste des prestations : dépliage fluide (grille 0fr → 1fr), retirée du parcours clavier une fois repliée */
.sheet-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sheet-sub-clip { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.42s; }
.sheet-item.is-expanded .sheet-sub { grid-template-rows: 1fr; }
.sheet-item.is-expanded .sheet-sub-clip { visibility: visible; transition-delay: 0s; }
.sheet-sub ul { list-style: none; margin: 4px 0 10px 0.3em; padding: 0 0 0 18px; border-left: 2px solid var(--lavande-2); display: grid; gap: 0; }
.sheet-sub a {
  display: inline-block; padding: 9px 0; color: var(--encre-2); text-decoration: none;
  font-size: 1.02rem; line-height: 1.35; transition: color 0.2s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet-sub a:focus-visible { color: var(--passiflore); }
@media (hover: hover) { .sheet-sub a:hover { color: var(--passiflore); transform: translateX(4px); } }
.sheet-sub a[aria-current="page"] { color: var(--passiflore); font-weight: 500; }
.sheet-sub-all a { color: var(--passiflore); font-weight: 500; }

.sheet-foot { display: grid; gap: 14px; }
.sheet-cta { min-height: 56px; font-size: 1.05rem; box-shadow: 0 18px 34px -20px rgba(94, 47, 140, 0.75); }
.sheet-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-contact a {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-full); border: 1px solid var(--ligne); background: rgba(255, 255, 255, 0.78);
  color: var(--encre); font-size: 0.92rem; text-decoration: none; transition: border-color 0.2s, background-color 0.2s;
}
.sheet-contact a:hover { border-color: var(--lavande); background: #fff; }
.sheet-contact .icon { width: 17px; height: 17px; color: var(--passiflore); }
.sheet-contact .sheet-social { width: 44px; padding: 0; justify-content: center; }

@media (min-width: 640px) {
  .sheet-nav, .sheet-foot { width: min(100%, 560px); }
  .sheet-link { font-size: 3rem; }
  .sheet-emblem { width: min(56vw, 520px); right: -5vw; top: calc(var(--header-h) + 8px); }
}
@media (max-height: 720px) {
  .sheet-emblem { width: min(56vw, 250px); top: calc(var(--header-h) - 14px); }
}
/* Téléphone en paysage : rubriques à gauche, réservation et contacts à droite, tout visible d'un coup d'œil */
@media (max-height: 560px) and (orientation: landscape) {
  .sheet-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 42%); grid-template-rows: auto 1fr; column-gap: 32px; }
  .sheet-top { grid-column: 1 / -1; }
  .sheet-nav { grid-column: 1; padding-block: 4px 18px; }
  .sheet-foot { grid-column: 2; align-self: end; width: auto; padding-bottom: 18px; }
  .sheet-link { font-size: 1.7rem; }
  .sheet-emblem { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-sheet { clip-path: none !important; }
  .sheet-item, .sheet-foot, .sheet-flower { transition-delay: 0s !important; transform: none !important; }
  .sheet-ring { --reveal: 100%; }
}

/* ---------------------------------------------------------------- héros « cocon » */

.hero { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-copy h1 { max-width: 12.5em; }
.hero-copy .lead { margin-bottom: 1.8em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--encre-2); font-size: 0.93rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { width: 18px; height: 18px; color: var(--passiflore); }

.cocon { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1; margin-inline: auto; }
.cocon-photo {
  position: absolute; inset: 11%; border-radius: 50%; overflow: hidden;
  background: var(--lavande-pale);
  box-shadow: 0 30px 60px -30px rgba(43, 25, 56, 0.55);
}
.cocon-photo img { width: 100%; height: 100%; object-fit: cover; }
.cocon-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask: conic-gradient(from 200deg, #000 var(--reveal, 100%), transparent 0);
  mask: conic-gradient(from 200deg, #000 var(--reveal, 100%), transparent 0);
}
.cocon-flower { position: absolute; width: 46%; right: -6%; bottom: 0%; transform: rotate(-6deg); filter: drop-shadow(0 18px 24px rgba(43, 25, 56, 0.2)); }
.cocon-dots { position: absolute; width: 30%; right: 8%; bottom: 33%; opacity: 0.9; }

@property --reveal { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .cocon-ring { animation: draw-ring 1.8s cubic-bezier(0.6, 0.05, 0.25, 1) 0.15s both; }
  .cocon-flower { animation: bloom 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 1.1s both; }
  @keyframes draw-ring { from { --reveal: 0%; } to { --reveal: 100%; } }
  @keyframes bloom { from { opacity: 0; transform: rotate(-18deg) scale(0.86); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cocon { width: min(88%, 420px); }
}

/* ---------------------------------------------------------------- carte des soins */

.soins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(28px, 5vw, 72px); }
.soin { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; padding-block: 26px; border-top: 1px solid var(--ligne); align-items: start; }
.soin-thumb { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; position: relative; background: var(--lavande-pale); }
.soin-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.soin:hover .soin-thumb img { transform: scale(1.05); }
.soin h3 { margin-bottom: 0.25em; }
.soin h3 a { color: inherit; text-decoration: none; }
.soin h3 a:hover { color: var(--passiflore); }
.soin p { color: var(--encre-2); margin-bottom: 0.9em; font-size: 0.98rem; }
.soin .actions { margin-top: 14px; gap: 6px 18px; }
@media (max-width: 900px) { .soins { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .soin { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; } .soin-thumb { width: 76px; height: 76px; } }

/* Tarifs avec points de conduite (rappel des points d'encre du logo). */
.tarifs { list-style: none; margin: 0; padding: 0; }
.tarifs li { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 0.97rem; }
.tarifs .t-label { color: var(--encre); }
.tarifs .t-dots {
  flex: 1; height: 1em; min-width: 24px; transform: translateY(-0.18em);
  background-image: radial-gradient(circle, var(--lavande) 1.3px, transparent 1.6px);
  background-size: 9px 9px; background-position: left bottom; background-repeat: repeat-x;
}
.tarifs .t-price { font-family: var(--font-titre); font-size: 1.12rem; color: var(--passiflore); white-space: nowrap; }
.tarifs .t-note { display: block; color: var(--encre-2); font-size: 0.85rem; }

/* ---------------------------------------------------------------- présentation & valeurs */

.portrait { position: relative; max-width: 480px; margin-inline: auto; }
.portrait-photo { border-radius: 240px 240px var(--r-l) var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--ombre); }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait-ring { position: absolute; width: 58%; left: -14%; top: -8%; opacity: 0.85; z-index: -1; }
.signature-line { font-family: var(--font-titre); font-style: italic; font-size: 1.35rem; color: var(--passiflore); margin-top: 0.5em; }

.valeurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 64px); }
.valeur { padding-top: 22px; border-top: 2px solid var(--lavande-2); }
.valeur h3 { font-size: 1.35rem; }
.valeur p { color: var(--encre-2); margin: 0; }
@media (max-width: 900px) { .valeurs { grid-template-columns: 1fr; } }

/* Étapes d'une première séance (vraie séquence : numérotée). */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); counter-reset: etape; }
.etapes li { counter-increment: etape; position: relative; padding-top: 64px; }
.etapes li::before {
  content: counter(etape); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--lavande);
  display: grid; place-items: center; font-family: var(--font-titre); font-size: 1.3rem; color: var(--passiflore);
}
.etapes h3 { font-size: 1.2rem; }
.etapes p { color: var(--encre-2); font-size: 0.97rem; margin: 0; }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- page prestation */

.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.breadcrumb { font-size: 0.88rem; color: var(--encre-2); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--encre-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--passiflore); }
.breadcrumb .icon { width: 14px; height: 14px; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.service-hero .tagline { font-family: var(--font-titre); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--passiflore); margin: -0.2em 0 0.9em; }
.service-photo { position: relative; }
.service-photo .frame { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--ombre); }
.service-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.service-photo .ring { position: absolute; width: 34%; right: -7%; top: -10%; }
@media (max-width: 900px) { .service-hero { grid-template-columns: 1fr; } }

.service-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.service-aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .service-body { grid-template-columns: 1fr; } .service-aside { position: static; order: -1; } }

.panel { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-m); padding: clamp(20px, 3vw, 30px); }
.panel h2, .panel h3 { font-size: 1.35rem; }
.panel-price .btn { margin-top: 18px; }
.panel-note { margin-top: 14px; font-size: 0.9rem; color: var(--encre-2); }

.bienfaits { list-style: none; margin: 0 0 2em; padding: 0; display: grid; gap: 14px; }
.bienfaits li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.bienfaits li::before {
  content: ""; width: 14px; height: 14px; margin-top: 0.45em; border-radius: 50%;
  border: 2px solid var(--lavande); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--petale);
}
.bienfaits strong { display: block; font-weight: 500; color: var(--encre); }
.bienfaits span { color: var(--encre-2); }

.precautions { background: var(--petale-pale); border-radius: var(--r-m); padding: clamp(20px, 3vw, 30px); margin-top: 2em; }
.precautions h3 { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; }
.precautions h3 .icon { width: 22px; height: 22px; color: var(--passiflore); }
.precautions ul { margin: 0.4em 0 0; padding-left: 1.15em; color: var(--encre-2); }
.precautions li + li { margin-top: 0.35em; }

.techniques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 1em 0 2em; }
.technique { padding: 18px 20px; border-radius: var(--r-m); background: var(--brume); }
.technique strong { display: block; font-family: var(--font-titre); font-weight: 500; font-size: 1.1rem; margin-bottom: 4px; }
.technique span { color: var(--encre-2); font-size: 0.95rem; }
@media (max-width: 640px) { .techniques { grid-template-columns: 1fr; } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related a { text-decoration: none; color: inherit; display: block; }
.related .r-photo { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.related .r-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.related a:hover img { transform: scale(1.04); }
.related h3 { font-size: 1.25rem; margin-bottom: 0.2em; }
.related a:hover h3 { color: var(--passiflore); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- bon cadeau (aperçu) */

/* Le bon de la page d'accueil reprend l'aperçu fidèle au PDF (styles dans vouchers-site.css). */
.home-gift { width: min(100%, 540px); margin-inline: auto; transform: rotate(-1.5deg); }
.home-gift .gift-preview { box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.75); }
.home-gift .gift-preview p.gp-message { color: #5b4a66; }

/* ---------------------------------------------------------------- infos pratiques */

.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.info { background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-m); padding: clamp(20px, 3vw, 30px); }
.info h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.info h3 .icon { width: 26px; height: 26px; color: var(--passiflore); flex-shrink: 0; }
.info p, .info li { color: var(--encre-2); }
.info ul { padding-left: 1.1em; margin: 0; }
.info-wide { grid-column: 1 / -1; }
@media (max-width: 800px) { .infos { grid-template-columns: 1fr; } }

.map-consent { border-radius: var(--r-m); overflow: hidden; background: var(--brume); aspect-ratio: 16 / 6; min-height: 220px; display: grid; place-items: center; text-align: center; padding: 24px; border: 1px dashed var(--lavande-2); }
.map-consent iframe { width: 100%; height: 100%; border: 0; }
.map-wrap { aspect-ratio: 16 / 7; min-height: 280px; border-radius: var(--r-m); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- formulaires */

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 16px; }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span, .field > .label { font-size: 0.92rem; font-weight: 500; color: var(--encre); }
.field .req { color: var(--passiflore); }
.field .hint { font-size: 0.85rem; color: var(--encre-2); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: 400 1rem/1.4 var(--font-texte); color: var(--encre);
  background: #fff; border: 1.5px solid var(--ligne); border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e2f8c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--lavande); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--passiflore); box-shadow: 0 0 0 4px rgba(176, 136, 203, 0.28); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--erreur); }
.field-error { color: var(--erreur); font-size: 0.88rem; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.95rem; color: var(--encre-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--passiflore); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label, .choice .choice-box {
  display: block; padding: 14px 16px; border: 1.5px solid var(--ligne); border-radius: 14px; background: #fff;
  cursor: pointer; transition: border-color 0.2s, background-color 0.2s; height: 100%;
}
.choice input:checked + label, .choice input:checked + .choice-box { border-color: var(--passiflore); background: var(--lavande-pale); box-shadow: inset 0 0 0 1px var(--passiflore); }
.choice input:focus-visible + label, .choice input:focus-visible + .choice-box { outline: 3px solid var(--passiflore); outline-offset: 2px; }
.choice strong { display: block; font-weight: 500; }
.choice small { color: var(--encre-2); }

.alert { padding: 14px 18px; border-radius: 14px; font-size: 0.95rem; display: flex; gap: 12px; align-items: flex-start; }
.alert .icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert-success { background: var(--succes-pale); color: #1e5a3d; }
.alert-error { background: var(--erreur-pale); color: #8c1d17; }
.alert-info { background: var(--lavande-pale); color: var(--encre); }

/* ---------------------------------------------------------------- bandeau d'appel */

.cta-band { border-radius: var(--r-l); background: var(--nuit); color: #efe6f4; padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: #d8cae1; margin: 0; }
.cta-band .cta-ring { position: absolute; width: 420px; right: -120px; top: -150px; opacity: 0.35; pointer-events: none; }
.cta-band > * { position: relative; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- avis */

.avis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.avis blockquote { margin: 0; padding: 26px; background: #fff; border-radius: var(--r-m); border: 1px solid var(--ligne); }
.avis blockquote p { font-family: var(--font-titre); font-style: italic; font-size: 1.1rem; color: var(--encre); }
.avis cite { font-style: normal; font-size: 0.9rem; color: var(--encre-2); }
.stars { display: flex; gap: 3px; color: #c9a227; margin-bottom: 10px; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 900px) { .avis { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FAQ */

.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-titre); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--passiflore); border-bottom: 2px solid var(--passiflore); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq-body { padding: 0 0 20px; color: var(--encre-2); max-width: 46em; }

/* ---------------------------------------------------------------- pied de page */

.site-footer { background: var(--nuit); color: #d8cae1; padding-block: clamp(56px, 8vw, 96px) 28px; position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); }
/* Une dernière section teintée rejoint directement le pied de page (pas de bande claire entre les deux). */
main:has(> .section-brume:last-child) + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; position: relative; }
.footer-brand img.f-word { width: 230px; filter: invert(1) brightness(1.7) sepia(0.2) hue-rotate(220deg); margin-bottom: 18px; }
.site-footer h2 { font-family: var(--font-texte); font-size: 0.95rem; font-weight: 500; color: #fff; letter-spacing: 0.02em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d8cae1; text-decoration: none; }
.site-footer a:hover { color: var(--petale); }
.footer-ring { position: absolute; width: 520px; right: -160px; bottom: -220px; opacity: 0.18; pointer-events: none; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(216, 202, 225, 0.35); display: grid; place-items: center; }
.socials a:hover { border-color: var(--petale); }
.socials .icon { width: 20px; height: 20px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(216, 202, 225, 0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; position: relative; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-bottom nav a { display: inline-block; padding-block: 6px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- bandeau cookies */

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 520px;
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--r-m); box-shadow: var(--ombre);
  padding: 22px 22px 18px; display: none;
}
.cookie-banner.is-visible { display: block; }
.site-footer { padding-bottom: calc(28px + var(--cookie-space, 0px)); }
.cookie-banner h2 { font-size: 1.2rem; margin-bottom: 0.4em; }
.cookie-banner p { font-size: 0.9rem; color: var(--encre-2); margin-bottom: 12px; }
.cookie-options { display: none; margin: 10px 0 14px; gap: 10px; }
.cookie-banner.show-options .cookie-options { display: grid; }
.cookie-options .check { font-size: 0.88rem; }
.cookie-banner .actions .btn { flex: 1 1 auto; }

/* ---------------------------------------------------------------- divers */

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-full); font-size: 0.82rem; font-weight: 500; background: var(--lavande-pale); color: var(--passiflore-fonce); }
.badge-petale { background: var(--petale); color: var(--encre); }
.divider-dots { height: 14px; background-image: radial-gradient(circle, var(--lavande) 1.6px, transparent 2px); background-size: 14px 14px; background-repeat: repeat-x; background-position: center; opacity: 0.7; margin-block: 40px; }
.card-soft { background: #fff; border-radius: var(--r-m); border: 1px solid var(--ligne); padding: clamp(20px, 3vw, 32px); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.notice-page { min-height: 52vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notice-page .icon-ring { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--lavande); display: grid; place-items: center; margin: 0 auto 20px; color: var(--passiflore); }
.notice-page .icon-ring .icon { width: 36px; height: 36px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--encre-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cookie-banner, .btn { display: none !important; }
  body { background: #fff; }
}
