/* =============================================================
   DOLCE NASCITA — Design System
   1. Tokens          5. Boutons & liens
   2. Base            6. Composants
   3. Layout          7. Sections
   4. Header / Nav    8. Animations · Responsive · Dark · Print
   ============================================================= */

/* ---------- 1. TOKENS --------------------------------------- */
:root {
  /* Palette */
  --c-white:      #ffffff;
  /* Fond principal: viola chiaro */
  --c-lilac:      #f8f5fd;
  --c-lilac-soft: #f1eafa;
  --c-lilac-mid:  #eae0f6;
  --c-lilac-deep: #ddcfee;
  --c-beige:      #f3ece2;
  --c-beige-deep: #e6dbc9;
  /* Famille violette dérivée du dégradé fourni (#a87ad7 → #eab9ec).
     La teinte brute sert de couleur de marque, jamais de fond de page :
     à luminance moyenne, ni le texte noir ni le blanc n'y passent AA. */
  --c-violet:       #a87ad7;   /* teinte de référence */
  --c-violet-soft:  #ece0f8;   /* halos, badges, puces */
  --c-violet-deep:  #7c4bb0;   /* boutons, liens, libellés */
  --c-violet-ink:   #573484;   /* titres */
  --c-violet-slab:  #74499b;   /* grands aplats : pied de page */
  --c-rose:       #ecd2cc;
  --c-rose-soft:  #f8ecea;
  --c-rose-deep:  #cb9d95;
  --c-grey:       #eeeeec;
  --c-ink:        #2b2e2c;
  --c-muted:      #6a6a72;
  --c-line:       #e6e0ef;

  /* Rôles */
  --bg:            var(--c-lilac);
  --bg-alt:        var(--c-white);
  --bg-soft:       var(--c-lilac-soft);
  --surface:       var(--c-white);
  --surface-2:     #f7f3fc;
  --text:          var(--c-ink);
  --text-muted:    var(--c-muted);
  --line:          var(--c-line);
  --accent:        var(--c-violet-deep);
  --accent-soft:   var(--c-violet-soft);
  --accent-2:      var(--c-rose-deep);
  --accent-2-soft: var(--c-rose-soft);
  --header-bg:     rgba(248, 245, 253, .78);

  /* Typographie */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-hero:  clamp(2.5rem, 1.5rem + 3.3vw, 4.5rem);
  --fs-h1:    clamp(2.25rem, 1.4rem + 3.2vw, 3.9rem);
  --fs-h2:    clamp(1.85rem, 1.25rem + 2.2vw, 3rem);
  --fs-h3:    clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  --fs-lead:  clamp(1.05rem, .98rem + .45vw, 1.3rem);
  --fs-body:  1.0125rem;
  --fs-small: .875rem;
  --fs-micro: .75rem;

  /* Espacements & formes */
  --gap: 1.5rem;
  --pad-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --wrap: 1220px;
  --wrap-narrow: 760px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Ombres douces */
  /* Ombres teintées violet plutôt que neutres : elles se fondent
     dans le fond au lieu de le grisailler. */
  --sh-xs: 0 1px 2px rgba(61, 36, 86, .05);
  --sh-sm: 0 4px 16px -6px rgba(61, 36, 86, .14);
  --sh-md: 0 14px 40px -18px rgba(61, 36, 86, .26);
  --sh-lg: 0 30px 70px -30px rgba(61, 36, 86, .34);

  /* Mouvement */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .18s var(--ease-soft);
  --t: .34s var(--ease);
  --t-slow: .7s var(--ease);

  --header-h: 78px;
}

/* ---------- 2. BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease-soft), color .4s var(--ease-soft);
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--c-violet-ink);
  margin: 0 0 .6em;
  font-variation-settings: 'SOFT' 40, 'WONK' 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-violet-ink); }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { font-weight: 600; color: var(--c-violet-ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--c-rose); color: var(--c-violet-ink); }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--accent); color: #fff; padding: .8rem 1.4rem;
  border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. LAYOUT --------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--pad-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--bg-soft); }
.grid { display: grid; gap: clamp(1.25rem, .8rem + 1.4vw, 2.25rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
/* Grille filtrable : `auto-fill` conserve les colonnes vides, au
   contraire d'`auto-fit`. Sans cela, une catégorie ne contenant
   qu'une seule prestation verrait sa carte — et sa photo — s'étirer
   sur toute la largeur de l'écran. */
#services-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.flow-tight > * + * { margin-top: .5rem; }

/* En-tête de section */
.sec-head { max-width: 720px; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.75rem); }
.sec-head.center { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: currentColor; opacity: .55;
}
.center .eyebrow::after {
  content: ''; width: 26px; height: 1px; background: currentColor; opacity: .55;
}
.lead { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.65; }

/* ---------- 4. HEADER / NAVIGATION -------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: height var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
  --header-h: 66px;
  border-bottom-color: var(--line);
  box-shadow: var(--sh-xs);
}
.header-inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--c-violet-ink); }
.logo:hover { color: var(--c-violet-ink); }
.logo-mark { width: 38px; height: 38px; flex: none; transition: transform var(--t); }
/* Logo image : hauteur imposée, largeur libre (le fichier peut être vertical) */
.logo-mark--img { width: auto; height: 46px; object-fit: contain; }
.site-footer .logo-mark--img { height: 50px; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  /* Plus lisible sur grand écran, sans déborder de l'en-tête sur mobile */
  font-size: clamp(1.3rem, 1.15rem + .5vw, 1.56rem);
  letter-spacing: -.015em; white-space: nowrap;
  font-variation-settings: 'SOFT' 60;
}
.logo-sub {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-top: .34rem; font-weight: 600;
}

/* Menu principal */
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 500; color: var(--text);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
  height: 1.5px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--accent); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

/* Sélecteur de langue */
.lang { display: flex; align-items: center; padding: 3px; gap: 2px; background: var(--surface-2); border-radius: var(--r-pill); border: 1px solid var(--line); }
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 600; color: var(--text-muted);
  padding: .34rem .62rem; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: .3rem;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.lang button:hover { color: var(--text); transform: translateY(-1px); }
.lang button[aria-pressed='true'] { background: var(--surface); color: var(--accent); box-shadow: var(--sh-xs); }

/* Bascule thème */
.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-2);
  border-radius: var(--r-pill); cursor: pointer; color: var(--text-muted);
  transition: color var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.theme-toggle:hover { color: var(--accent); transform: translateY(-1px) rotate(-12deg); }
.theme-toggle .i-moon { display: none; }
[data-theme='dark'] .theme-toggle .i-sun { display: none; }
[data-theme='dark'] .theme-toggle .i-moon { display: block; }

/* Burger */
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--surface-2); border-radius: var(--r-pill); cursor: pointer;
  padding: 0; place-items: center;
}
.burger span {
  display: block; width: 17px; height: 1.6px; background: var(--text); border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

/* Panneau mobile */
.mobile-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--bg); padding: 2rem 1.25rem 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.mobile-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-panel nav { display: flex; flex-direction: column; }
.mobile-panel nav a {
  font-family: var(--font-display); font-size: 1.7rem; color: var(--c-violet-ink);
  padding: .7rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px);
}
.mobile-panel.is-open nav a { animation: slideUp .5s var(--ease) forwards; }
.mobile-panel .btn { margin-top: 2rem; width: 100%; }

/* ---------- 5. BOUTONS & LIENS ------------------------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; padding: .92rem 1.7rem; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: .93rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--c-violet-deep); color: #fff; box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--c-violet-ink); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-ghost { background: transparent; color: var(--c-violet-ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--c-violet); color: var(--c-violet-ink); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn-rose { background: var(--c-rose); color: #6b4a44; }
.btn-rose:hover { background: var(--c-rose-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-sm { padding: .62rem 1.15rem; font-size: .83rem; }
.btn-lg { padding: 1.08rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Lien fléché */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .92rem; color: var(--accent);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. COMPOSANTS ----------------------------------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, var(--accent-soft), transparent 55%);
  opacity: 0; transition: opacity var(--t); pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.card:hover::before { opacity: .5; }
.card > * { position: relative; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

.card-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--accent-soft); color: var(--c-violet-deep);
  transition: transform var(--t), background var(--t);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-5deg); }
.card-icon svg { width: 25px; height: 25px; }
.card-icon.rose { background: var(--accent-2-soft); color: var(--c-rose-deep); }

/* Carte prestation cliquable */
.service-card { display: flex; flex-direction: column; height: 100%; }
/* Le lien porte toute la carte : hauteur pleine, couleurs héritées */
.service-card__link {
  display: flex; flex-direction: column; height: 100%;
  color: inherit; text-decoration: none;
}
.service-card__link:hover { color: inherit; }
/* Rangée unique et centrée. `align-items: center` empêche les
   pastilles de s'étirer sur la hauteur du conteneur. Le repli reste
   autorisé : en dessous de 1280 px, trois pastilles ne tiennent plus
   dans la carte et déborderaient de 60 px si on l'interdisait. */
.service-card__link .pill-list {
  display: flex; flex-wrap: wrap; gap: .32rem;
  justify-content: center; align-items: center;
}
/* Rembourrage resserré dans les cartes : sans cela, le libellé
   français le plus long (« Consultation allaitement ») fait passer
   ses trois pastilles sur deux lignes. */
.service-card__link .badge { padding-inline: .62rem; }
/* Titre et description occupent une hauteur fixe (2 et 3 lignes) :
   sans cela, un titre court laissait jusqu'à 116 px de vide avant
   les pastilles, et celles-ci ne tombaient jamais à la même hauteur
   d'une carte à l'autre. Le titre est légèrement réduit pour que le
   plus long tienne sur ses deux lignes sans être coupé. */
.service-card h3 {
  font-size: 1.15rem; line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: calc(2 * 1.32em);
}
.service-card p {
  line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; min-height: calc(3 * 1.55em);
}
/* Les pastilles suivent directement le texte. Le titre et la
   description occupant une hauteur fixe (voir plus bas), elles
   tombent malgré tout à la même hauteur sur toutes les cartes —
   sans le grand vide que créait un calage en bas de carte. */
.service-card__link .card-meta { margin-top: .85rem; }
.service-card--photo .card-meta { padding-bottom: 1.5rem; }
.service-card__link .card-icon { display: grid; }
.service-card .link-arrow { margin-top: 0; padding-top: 1rem; }
.service-card:hover .link-arrow svg { transform: translateX(4px); }
/* Anneau de focus sur la carte entière, pas sur le texte du lien */
.service-card__link:focus-visible { outline: none; }
.service-card:has(.service-card__link:focus-visible) {
  outline: 2.5px solid var(--accent); outline-offset: 3px;
}

/* Variante avec photographie */
.service-card--photo { padding: 0; overflow: hidden; }
.service-card--photo .service-card__link > *:not(.post-cover) {
  padding-inline: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
}
.service-card--photo h3 { margin-top: 1.2rem; }
.service-card--photo .link-arrow { padding-bottom: 1.5rem; }
.service-card--photo .post-cover { border-radius: 0; }

/* En-tête d'une prestation : le texte garde la priorité, la photo
   reste un accompagnement. Elle est bornée en largeur et en hauteur
   pour ne jamais dominer l'écran sur les grands moniteurs. */
.service-head {
  display: grid; align-items: center;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.25rem);
  /* La photo occupe une part de la largeur plutôt qu'une taille fixe :
     elle récupère l'espace laissé libre à droite du titre sur les
     grands écrans, sans jamais écraser le texte. */
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(300px, 34%, 460px));
}
.service-head__photo {
  width: 100%; border-radius: var(--r-lg);
}
@media (max-width: 900px) {
  .service-head { grid-template-columns: 1fr; }
  /* En une colonne, la photo reste centrée et bornée : sur tablette
     une image pleine largeur écraserait le titre et le chapô. */
  .service-head__photo { max-width: 520px; margin-inline: auto; }
}

/* Trois zones : introduction et blocs à gauche, carte de réservation
   à droite sur toute la hauteur. Sur mobile l'ordre devient
   introduction → réservation → blocs, pour que le prix et le bouton
   arrivent juste après avoir compris de quoi il s'agit. */
/* Deux colonnes : la présentation à gauche, la carte de réservation
   à droite. Le texte étant court, il est centré verticalement en
   face de la carte plutôt que collé en haut — sans quoi la colonne
   de gauche paraîtrait vide sur les deux tiers de sa hauteur. */
.detail-grid {
  display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 3.25rem);
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  /* Le haut de la carte s'aligne sur la première ligne du texte. */
  align-items: start;
}
.detail-intro { max-width: 62ch; }

/* ---- Description d'une prestation ----------------------------
   Classes communes à toutes les fiches : surtitre, titre serif,
   introduction, encadré lavande, liste à coches et note discrète. */
.svc-desc { max-width: 60ch; font-size: 1.0625rem; line-height: 1.7; }
.svc-desc__over {
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-violet-deep); margin: 0 0 .5rem;
}
.svc-desc__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); line-height: 1.2;
  color: var(--c-violet-ink); margin: 0 0 .9rem;
}
.svc-desc__intro { margin: 0; color: var(--text); }
.svc-desc__intro + .svc-desc__intro { margin-top: .85rem; }
.svc-desc b { color: var(--c-violet-ink); font-weight: 600; }

/* Encadré rassurant */
.svc-desc__callout {
  display: flex; align-items: flex-start; gap: .85rem;
  margin: 1.6rem 0 0; padding: 1rem 1.15rem;
  border-radius: var(--r-md); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--accent-soft), transparent 70%), var(--surface-2);
}
.svc-desc__callout svg { width: 18px; height: 18px; flex: none; margin-top: .22rem; color: var(--c-violet-deep); }
.svc-desc__callout p { margin: 0; font-size: 1rem; line-height: 1.62; color: var(--c-violet-ink); }

/* Sous-titre de la liste */
.svc-desc__sub {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.12rem, 1.02rem + .4vw, 1.32rem);
  color: var(--c-violet-ink); margin: 2rem 0 .2rem;
}

/* Liste à coches, séparées par un filet discret */
.svc-desc__list { list-style: none; padding: 0; margin: 0; }
.svc-desc__list li {
  display: flex; align-items: flex-start; gap: .8rem; margin: 0;
  padding: .78rem 0; border-bottom: 1px solid var(--line);
  font-size: 1rem; line-height: 1.62; color: var(--text-muted);
}
.svc-desc__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-desc__check {
  flex: none; width: 22px; height: 22px; border-radius: var(--r-pill);
  display: grid; place-items: center; margin-top: .18rem;
  background: var(--accent-soft); color: var(--c-violet-deep);
}
.svc-desc__check svg { width: 12px; height: 12px; }

/* Note administrative ou clinique */
.svc-desc__note {
  display: flex; align-items: flex-start; gap: .6rem;
  margin: 1.7rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .9rem; line-height: 1.6; color: var(--text-muted);
}
.svc-desc__note svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; opacity: .8; }
.svc-desc__note p { margin: 0; }

@media (max-width: 600px) {
  .svc-desc { font-size: 1rem; }
  .svc-desc__callout { padding: .9rem 1rem; }
}
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; align-items: start; }
  .detail-intro { max-width: none; }
}

/* Prestation proposée en plusieurs formules : deux colonnes côte à
   côte, chacune avec sa durée et son honoraire. */
.svc-formulas { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: .5rem; }
.svc-formula {
  display: flex; flex-direction: column; gap: .28rem;
  padding: .8rem .85rem; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line);
}
.svc-formula__label {
  font-size: .88rem; font-weight: 600; color: var(--c-violet-ink); line-height: 1.3;
}
.svc-formula__note { font-size: var(--fs-micro); color: var(--text-muted); font-weight: 400; }
.svc-formula__row {
  display: flex; align-items: center; gap: .35rem; margin-top: .15rem;
  font-size: .84rem; font-weight: 400; color: var(--text-muted);
}
.svc-formula__row svg { width: 14px; height: 14px; flex: none; }
.svc-formula__price { font-size: 1.02rem; font-weight: 600; color: var(--accent); }
/* Colonne latérale étroite ou petit écran : les formules s'empilent. */
@media (max-width: 1120px) and (min-width: 901px) {
  .svc-formulas { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .svc-formulas { grid-template-columns: 1fr; }
}

/* Badges & puces */
.badge {
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .34rem .78rem; border-radius: var(--r-pill);
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .04em;
  background: var(--accent-soft); color: #5b3a80;
  /* Une seule ligne : sans cela le texte se replie et les pastilles
     prennent des hauteurs différentes d'une carte à l'autre. */
  white-space: nowrap;
}
.badge.rose { background: var(--accent-2-soft); color: #8b544b; }
.badge.beige { background: var(--c-beige); color: #63543c; }
/* Pastille de durée : socle de largeur commun et contenu centré,
   pour que les durées courtes affichent un cadre identique. */
.badge--time { min-width: 86px; justify-content: center; }
[data-theme='dark'] .badge { color: #cfaeea; }
[data-theme='dark'] .badge.rose { color: #e8bdb5; }
[data-theme='dark'] .badge.beige { color: #d6c8ab; }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { margin: 0; }

/* Liste à coches */
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative; padding-left: 1.9rem; margin-bottom: .7rem; color: var(--text-muted);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 15px; height: 8px; border-left: 2px solid var(--c-violet);
  border-bottom: 2px solid var(--c-violet); transform: rotate(-45deg);
  border-radius: 1px;
}

/* Photographies */
.media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  /* Teinte d'attente pendant le chargement de la photo */
  background: var(--c-lilac-mid); box-shadow: var(--sh-md);
  aspect-ratio: 4 / 5;
}
.media img, .media svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease), filter var(--t);
}
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media--tall { aspect-ratio: 3 / 4; }

/* Voile chaud très léger : harmonise des photos d'origines différentes */
.media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg, rgba(236, 210, 204, .13), transparent 45%, rgba(61, 36, 86, .12));
  mix-blend-mode: multiply;
}
.media--zoom:hover img { transform: scale(1.04); }

/* Effet d'apparition à la fin du chargement de l'image */
.media img { animation: imgIn .8s var(--ease) both; }
@keyframes imgIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* Accordéon FAQ */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem .25rem; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.05rem, .98rem + .4vw, 1.28rem);
  color: var(--c-violet-ink); text-align: left; line-height: 1.35;
  transition: color var(--t-fast), padding var(--t);
}
.acc-trigger:hover { color: var(--accent); padding-left: .7rem; }
.acc-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  position: relative; transition: background var(--t), border-color var(--t), transform var(--t);
}
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; background: var(--accent); border-radius: 2px;
  transition: transform var(--t), background var(--t);
}
.acc-icon::before { width: 11px; height: 1.7px; }
.acc-icon::after { width: 1.7px; height: 11px; }
.acc-trigger[aria-expanded='true'] .acc-icon { background: var(--c-violet-deep); border-color: var(--c-violet-deep); transform: rotate(90deg); }
.acc-trigger[aria-expanded='true'] .acc-icon::before,
.acc-trigger[aria-expanded='true'] .acc-icon::after { background: #fff; }
.acc-trigger[aria-expanded='true'] .acc-icon::after { transform: scaleY(0); }
.acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 3rem 1.6rem .25rem; color: var(--text-muted); margin: 0; }

/* Témoignages */
.quote {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2.4rem 2rem 1.9rem;
  display: flex; flex-direction: column; height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.quote::before {
  content: '\201C'; position: absolute; top: -.05em; left: 1.4rem;
  font-family: var(--font-display); font-size: 5.5rem; line-height: 1;
  color: var(--c-rose); opacity: .55;
}
.quote blockquote { margin: 0 0 1.4rem; font-size: 1.02rem; line-height: 1.7; position: relative; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--c-violet-deep);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.05rem;
}
.quote cite { font-style: normal; font-weight: 600; font-size: .93rem; display: block; color: var(--c-violet-ink); }
.quote .meta { font-size: var(--fs-small); color: var(--text-muted); }
.stars { color: var(--c-rose-deep); letter-spacing: .12em; font-size: .85rem; margin-bottom: .9rem; }

/* Étapes du parcours */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 25px; top: 34px; bottom: 34px;
  width: 1.5px; background: linear-gradient(var(--c-violet-soft), var(--c-rose), var(--c-violet-soft));
}
.step { position: relative; padding-left: 4.6rem; padding-bottom: 2.6rem; margin: 0; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 51px; height: 51px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1rem; color: var(--accent);
  transition: background var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.step:hover::before { background: var(--c-violet-deep); color: #fff; border-color: var(--c-violet-deep); transform: scale(1.07); }
.step h3 { font-size: 1.22rem; margin-bottom: .35rem; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* Tarifs */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .94rem; }
th, td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--c-violet-ink); background: var(--surface-2); font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background var(--t-fast); }
tbody tr:hover { background: var(--surface-2); }

/* Tableau des honoraires réduit à 2 colonnes : prix à droite, compact */
.table-pricing { min-width: 0; }
.table-pricing .col-price {
  text-align: right; white-space: nowrap; width: 1%;
  font-variant-numeric: tabular-nums; font-weight: 600; color: var(--c-violet-ink);
}
.table-pricing thead .col-price { color: var(--c-violet-ink); }

/* =============================================================
   PRENOTAZIONE ONLINE
   ============================================================= */
.bk-demo {
  background: var(--accent-2-soft); color: #8b544b; border: 1px solid var(--c-rose);
  border-radius: var(--r-md); padding: .9rem 1.15rem; font-size: .85rem; margin-bottom: 1.5rem;
}
[data-theme='dark'] .bk-demo { color: #e8bdb5; border-color: #4a3a37; }

/* Indicateur d'étapes */
.bk-steps {
  display: flex; list-style: none; margin: 0 0 2rem; padding: 0; gap: .5rem;
  counter-reset: bkstep; flex-wrap: wrap;
}
.bk-step { display: flex; align-items: center; gap: .55rem; flex: 1 1 auto; min-width: 0; margin: 0; }
.bk-step__num {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-muted);
  font-size: .82rem; font-weight: 600; transition: background var(--t), color var(--t), border-color var(--t);
}
.bk-step__label {
  font-size: .82rem; color: var(--text-muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.bk-step.is-current .bk-step__num { background: var(--c-violet-deep); border-color: var(--c-violet-deep); color: #fff; }
/* En mode sombre le violet s'éclaircit : le texte doit s'assombrir. */
[data-theme='dark'] .bk-step.is-current .bk-step__num { color: #1a1023; }
.bk-step.is-current .bk-step__label { color: var(--c-violet-ink); font-weight: 600; }
.bk-step.is-done .bk-step__num { background: var(--accent-soft); border-color: var(--c-violet); color: var(--c-violet-deep); }

.bk-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 1rem + 1.2vw, 2.2rem);
}
.bk-h, .bk-legend {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--c-violet-ink);
  margin: 0 0 1rem; padding: 0; line-height: 1.25;
}
.bk-h:focus-visible, .bk-legend:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 4px; }
.bk-legend--sm { font-size: 1.05rem; }
.bk-fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.bk-fieldset--inline { margin-top: 1.5rem; }

/* Choix de la prestation */
.bk-options { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.bk-option {
  position: relative; display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.bk-option:hover { border-color: var(--c-violet); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.bk-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.bk-option::before {
  content: ''; width: 19px; height: 19px; flex: none; margin-top: .15rem; border-radius: 50%;
  border: 2px solid var(--line); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.bk-option.is-selected { border-color: var(--c-violet-deep); background: var(--accent-soft); }
.bk-option.is-selected::before { border-color: var(--c-violet-deep); box-shadow: inset 0 0 0 4px var(--c-violet-deep); }
.bk-option:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.bk-option__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.bk-option__title { font-weight: 600; color: var(--c-violet-ink); font-size: .95rem; line-height: 1.35; }
.bk-option__meta { display: block; font-size: var(--fs-small); color: var(--text-muted); }
.bk-option__meta + .bk-option__meta { margin-top: .1rem; }

/* Puces cabinet / domicile */
.bk-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.bk-chip {
  position: relative; padding: .6rem 1.2rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  font-size: .88rem; font-weight: 500; color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.bk-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.bk-chip:hover { border-color: var(--c-violet); color: var(--accent); }
.bk-chip.is-selected { background: var(--c-violet-deep); border-color: var(--c-violet-deep); color: #fff; }
[data-theme='dark'] .bk-chip.is-selected { color: #1a1023; }

/* Note sur le consulto online */
.bk-online-note {
  margin: 1rem 0 0; padding: .85rem 1.1rem;
  background: var(--accent-soft); border-left: 3px solid var(--c-violet);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .87rem; color: #5b3a80; line-height: 1.6;
}
[data-theme='dark'] .bk-online-note { color: #cfaeea; }

/* Grille calendrier + créneaux */
.bk-grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.bk-cal { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; background: var(--surface); }
.bk-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; gap: .5rem; }
.bk-cal__label { font-family: var(--font-display); font-size: 1.08rem; color: var(--c-violet-ink); text-transform: capitalize; }
.bk-nav {
  width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 1.15rem; line-height: 1;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.bk-nav:hover:not(:disabled) { background: var(--c-violet-deep); color: #fff; transform: translateY(-1px); }
.bk-nav:disabled { opacity: .3; cursor: not-allowed; }

.bk-cal__grid { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.bk-cal__grid th {
  padding: .4rem 0; text-align: center; background: none; border: 0;
  font-size: .68rem; letter-spacing: .06em; color: var(--text-muted); text-transform: uppercase;
}
.bk-cal__grid th abbr { text-decoration: none; border: 0; }
.bk-cal__grid td { padding: 2px; text-align: center; border: 0; }
.bk-cal__grid tbody tr:hover { background: none; }

.bk-day {
  width: 100%; aspect-ratio: 1; max-height: 42px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); font: inherit; font-size: .88rem; cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.bk-day:hover { background: var(--accent-soft); color: var(--c-violet-deep); transform: scale(1.08); }
.bk-day.is-today { box-shadow: inset 0 0 0 1.5px var(--c-rose-deep); }
.bk-day.is-selected { background: var(--c-violet-deep); color: #fff; font-weight: 600; }
[data-theme='dark'] .bk-day.is-selected { color: #1a1023; }
/* Giorni non prenotabili: leggibili ma chiaramente inattivi */
.bk-day.is-off {
  display: grid; place-items: center; aspect-ratio: 1; max-height: 42px;
  color: #a9aca6; font-size: .88rem;
}
[data-theme='dark'] .bk-day.is-off { color: #6d6479; }

/* Créneaux horaires */
.bk-slots { min-height: 120px; }
.bk-times { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); margin-top: .9rem; }
.bk-time {
  padding: .65rem .3rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); font: inherit; font-size: .9rem;
  font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.bk-time:hover { border-color: var(--c-violet); color: var(--accent); transform: translateY(-2px); }
.bk-time.is-selected { background: var(--c-violet-deep); border-color: var(--c-violet-deep); color: #fff; font-weight: 600; }
[data-theme='dark'] .bk-time.is-selected { color: #1a1023; }
.bk-empty {
  padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--r-md);
  text-align: center; color: var(--text-muted); font-size: .9rem;
}

/* Récapitulatif */
.bk-summary {
  margin: 0 0 1.5rem; padding: 1.1rem 1.25rem;
  background: var(--surface-2); border-radius: var(--r-md); border: 1px solid var(--line);
}
.bk-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .9rem; }
.bk-summary__row dt { color: var(--text-muted); }
.bk-summary__row dd { margin: 0; font-weight: 600; color: var(--c-violet-ink); text-align: right; }

/* Actions */
.bk-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.bk-actions--center { justify-content: center; }
.bk-actions .btn { flex: 0 1 auto; }
.bk-actions [data-bk-next] { margin-left: auto; }

/* Confirmation */
.bk-done { text-align: center; }
.bk-done__icon {
  width: 62px; height: 62px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem;
  background: var(--accent-soft); color: var(--c-violet-deep);
  animation: popIn .5s var(--ease) both;
}
@keyframes popIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.bk-done .bk-summary { text-align: left; }
.bk-ref {
  display: inline-flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: center;
  padding: .7rem 1.3rem; margin: 0 0 1.4rem;
  background: var(--accent-2-soft); border-radius: var(--r-pill);
}
.bk-ref span { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.bk-ref strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em; color: var(--c-violet-ink); }

/* Gestion d'une réservation */
.bk-manage { max-width: 340px; }
.bk-manage #bk-ref { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.bk-manage .btn { margin-top: .3rem; }

/* Calendrier externe (mode embed) */
.bk-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.bk-embed iframe { width: 100%; min-height: 680px; border: 0; display: block; }

@media (max-width: 860px) {
  .bk-grid { grid-template-columns: 1fr; }
  .bk-step__label { display: none; }
  .bk-step { flex: 0 0 auto; }
  .bk-steps { gap: .75rem; }
  .bk-actions [data-bk-next] { margin-left: 0; }
  .bk-actions .btn { flex: 1 1 100%; }

  /* Cibles tactiles : au moins 44 px de hauteur au doigt */
  .bk-cal { padding: .6rem; }
  .bk-day, .bk-day.is-off { max-height: none; min-height: 44px; font-size: .95rem; }
  .bk-time { padding: .9rem .3rem; }
  .bk-nav { width: 44px; height: 44px; }
  .bk-times { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
}

/* Blog */
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-lilac-mid); position: relative; }
.post-cover img, .post-cover svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .9s var(--ease);
}
.post-card:hover .post-cover img, .service-card--photo:hover .post-cover img { transform: scale(1.05); }
.post-body { padding: 1.5rem 1.55rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.24rem; margin: .8rem 0 .55rem; }
.post-body h3 a { color: inherit; }
.post-card:hover h3 a { color: var(--accent); }
.post-body p { font-size: .93rem; color: var(--text-muted); }
.post-meta { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-micro); color: var(--text-muted); margin-top: auto; padding-top: 1.1rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  padding: .55rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--text-muted); font: inherit; font-size: .85rem;
  font-weight: 500; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.filter:hover { transform: translateY(-2px); color: var(--accent); border-color: var(--c-violet); }
.filter[aria-pressed='true'] { background: var(--c-violet-deep); color: #fff; border-color: var(--c-violet-deep); }

/* Article */
.prose { font-size: 1.06rem; line-height: 1.82; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.05rem); margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose blockquote {
  margin: 2rem 0; padding: 1.4rem 1.7rem; border-left: 3px solid var(--c-rose);
  background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display); font-size: 1.18rem; color: var(--c-violet-ink);
}
.prose ul li::marker { color: var(--c-violet); }

/* Formulaires */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.15rem; }
.field label { font-size: .87rem; font-weight: 600; color: var(--c-violet-ink); }
.field .hint { font-size: var(--fs-micro); color: var(--text-muted); }
input, select, textarea {
  font: inherit; font-size: .95rem; color: var(--text);
  padding: .85rem 1.05rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
textarea { min-height: 148px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--c-violet);
  box-shadow: 0 0 0 3.5px var(--accent-soft);
}
input::placeholder, textarea::placeholder { color: #a8aca6; }
.checkbox { display: flex; align-items: flex-start; gap: .7rem; font-size: .87rem; color: var(--text-muted); }
.checkbox input { width: 18px; height: 18px; flex: none; margin-top: .15rem; accent-color: var(--c-violet-deep); }
.form-note { font-size: var(--fs-small); color: var(--text-muted); }
.form-status {
  margin-top: 1rem; padding: .9rem 1.15rem; border-radius: var(--r-md);
  font-size: .9rem; display: none;
}
.form-status.is-visible { display: block; animation: fadeUp .4s var(--ease); }
.form-status.ok { background: var(--accent-soft); color: var(--c-violet-deep); }
.form-status.err { background: #fdeceb; color: #a3453c; }

/* Bloc contact / infos */
.info-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .card-icon { width: 42px; height: 42px; margin: 0; border-radius: var(--r-sm); }
.info-row .card-icon svg { width: 19px; height: 19px; }
.info-row dt { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .18rem; }
.info-row dd { margin: 0; font-weight: 500; color: var(--c-violet-ink); }
.map-frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface-2); min-height: 340px; display: grid; place-items: center;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Écran de consentement avant chargement de la carte */
.map-consent { text-align: center; padding: 2.5rem 1.5rem; max-width: 460px; }
.map-consent .card-icon { margin: 0 auto 1rem; }
.map-consent__place {
  font-family: var(--font-display); font-size: 1.35rem;
  color: var(--c-violet-ink); margin-bottom: .6rem;
}
.map-consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.3rem; }

/* Bandeau CTA */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #8659ba, #6b4494);
  color: #fff; padding: clamp(2.75rem, 2rem + 3.5vw, 5rem);
  text-align: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .88; max-width: 560px; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--c-violet-ink); }
.cta-band .btn-primary:hover { background: var(--c-rose); color: #5c3f3a; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.42); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(236,210,204,.34), transparent 68%);
}
.cta-band::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.cta-band::after { width: 340px; height: 340px; bottom: -170px; left: -110px; }
.cta-band > * { position: relative; }

/* Statistiques */
.stat { text-align: center; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem); line-height: 1; color: var(--accent);
  margin-bottom: .45rem;
}
.stat span { font-size: var(--fs-small); color: var(--text-muted); }

/* Retour en haut */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-violet-deep); color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--sh-md); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-violet-ink); transform: translateY(-3px); }

/* WhatsApp flottant */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 5.3rem; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: var(--sh-md);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); color: #fff; box-shadow: var(--sh-lg); }
.wa-float svg { width: 26px; height: 26px; }

/* Bandeau cookies */
.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 120;
  max-width: 560px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--sh-lg);
  transform: translateY(140%); transition: transform .55s var(--ease);
}
.cookie-bar.is-visible { transform: none; }
.cookie-bar p { font-size: .88rem; color: var(--text-muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* Pied de page */
.site-footer { background: var(--c-violet-slab); color: #ece3f6; padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0 2rem; margin-top: auto; }
.site-footer h4 { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; margin-bottom: 1.1rem; }
.site-footer a { color: #ece3f6; font-size: .92rem; }
.site-footer a:hover { color: var(--c-rose); }
.site-footer .logo-name, .site-footer .logo { color: #fff; }
.site-footer .logo-sub { color: #ddd0ef; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: var(--fs-micro); color: #ddd0ef;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { font-size: var(--fs-micro); }

/* ---------- 7. SECTIONS ------------------------------------- */
/* Hero plein écran */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4rem;
  overflow: hidden;
  /* Écho du dégradé fourni : cœur rose-lavande, bords violets */
  background:
    radial-gradient(1150px 680px at 70% 12%, #f7e4f9, transparent 60%),
    radial-gradient(950px 720px at 6% 88%, var(--c-lilac-mid), transparent 62%),
    var(--bg);
}
.hero-grid {
  display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: center;
  grid-template-columns: 1.02fr .98fr;
}
.hero h1 { font-size: var(--fs-hero); margin-bottom: 1.4rem; letter-spacing: -.035em; }
.hero h1 em {
  font-style: italic; color: var(--c-rose-deep);
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
}
.hero .lead { max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; padding-top: 1.9rem; border-top: 1px solid var(--line); }
.hero-trust div { font-size: var(--fs-small); color: var(--text-muted); }
.hero-trust b { display: block; font-family: var(--font-display); font-size: 1.55rem; color: var(--accent); font-weight: 400; }

.hero-visual { position: relative; }
.hero-visual .media { aspect-ratio: 4/5; border-radius: 200px 200px var(--r-xl) var(--r-xl); }
.hero-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .85rem 1.1rem; box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 600;
  color: var(--c-violet-ink);
}
.hero-badge small { display: block; font-weight: 500; color: var(--text-muted); font-size: var(--fs-micro); }
.hero-badge--tl { top: 8%; left: -10%; animation: float 7s ease-in-out infinite; }
.hero-badge--br { bottom: 10%; right: -6%; animation: float 8.5s ease-in-out infinite reverse; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-hint i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--c-violet), transparent); }

/* En-tête de page intérieure */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 3vw, 5rem));
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
  background:
    radial-gradient(760px 400px at 78% 0%, #f7e4f9, transparent 64%),
    radial-gradient(640px 440px at 0% 100%, var(--c-lilac-mid), transparent 62%),
    var(--bg);
}
.page-head {
  position: relative;
  overflow: hidden;
}
.page-head .service-head { position: relative; z-index: 1; }
.page-head .service-head > div:first-child {
  padding: clamp(1.2rem, .8rem + 1.5vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 30px rgba(78, 49, 106, .07);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.page-head__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  pointer-events: none;
}
.page-head__backdrop img {
  object-position: 72% center;
  filter: blur(3px) saturate(.72);
  opacity: .2;
  transform: scale(1.035);
}
.page-head__backdrop::after {
  background: linear-gradient(90deg,
    rgba(249, 246, 253, 1) 0%,
    rgba(249, 246, 253, .99) 48%,
    rgba(249, 246, 253, .91) 66%,
    rgba(249, 246, 253, .56) 100%);
}
.page-head .breadcrumb,
.page-head .eyebrow,
.page-head h1,
.page-head .lead {
  text-shadow: 0 1px 14px rgba(249, 246, 253, .95);
}
.breadcrumb { font-size: var(--fs-micro); color: var(--text-muted); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Motif décoratif */
.blob { position: absolute; pointer-events: none; opacity: .5; z-index: 0; }

/* ---------- 8. ANIMATIONS ----------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes drawIn { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: .09s; }
.reveal[data-delay='2'] { transition-delay: .18s; }
.reveal[data-delay='3'] { transition-delay: .27s; }
.reveal[data-delay='4'] { transition-delay: .36s; }
.reveal[data-delay='5'] { transition-delay: .45s; }

/* Chargement élégant */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--bg); transition: opacity .55s var(--ease), visibility .55s;
}
.page-loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { width: 54px; height: 54px; animation: float 2.4s ease-in-out infinite; }

/* Transition de langue */
[data-i18n], [data-i18n-html] { transition: opacity .18s var(--ease-soft); }
body.lang-switching [data-i18n], body.lang-switching [data-i18n-html] { opacity: .18; }

/* ---------- RESPONSIVE -------------------------------------- */
/* Le nom long « D.ssa Sara Ruffato » a besoin de place :
   on bascule sur le menu mobile un peu plus tôt. */
@media (max-width: 1160px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .hero-badge--tl { left: -4%; }
  .hero-badge--br { right: -2%; }
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 2.5rem) 4rem; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .page-head__backdrop img { object-position: 70% center; opacity: .16; }
  .page-head__backdrop::after {
    background: linear-gradient(180deg,
      rgba(249, 246, 253, .99) 0%,
      rgba(249, 246, 253, .91) 100%);
  }
  .header-actions .theme-toggle { display: none; }
  .header-actions .btn { display: none; }
  .hero-badge { display: none; }
  .scroll-hint { display: none; }
  .quote { padding: 2.1rem 1.5rem 1.6rem; }
  .step { padding-left: 3.9rem; }
  .steps::before { left: 21px; }
  .step::before { width: 43px; height: 43px; font-size: .9rem; }
  .acc-panel p { padding-right: 1rem; }
  .footer-bottom { flex-direction: column; }
  .wa-float { bottom: 4.9rem; width: 48px; height: 48px; }
}
/* Sous 520 px l'en-tête ne peut plus tenir le nom sur une ligne :
   il passe sur deux lignes, la mention « Ostetrica » cède la place. */
@media (max-width: 520px) {
  .logo-mark { width: 32px; height: 32px; }
  .logo-mark--img { width: auto; height: 38px; }
  .logo { gap: .55rem; }
  .logo-name { white-space: normal; font-size: 1.08rem; line-height: 1.16; }
  .logo-sub { display: none; }
}

/* Très petits écrans : le sélecteur de langue se resserre.
   Le libellé complet reste lu par les lecteurs d'écran (.sr-only). */
@media (max-width: 360px) {
  .lang button { padding: .34rem .5rem; }
}

@media (max-width: 480px) {
  .wrap, .wrap-narrow { width: min(100% - 1.75rem, var(--wrap)); }
  .btn { width: 100%; }
  /* Cible tactile minimale, y compris pour les boutons compacts */
  .btn-sm { min-height: 44px; }
  .hero-actions .btn { width: 100%; }
  .cookie-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- MODE SOMBRE ------------------------------------- */
[data-theme='dark'] {
  --bg:            #17141d;
  --bg-alt:        #1c1824;
  --bg-soft:       #201b29;
  --surface:       #1f1a28;
  --surface-2:     #282133;
  --text:          #e5e1ea;
  --text-muted:    #a09aad;
  --line:          #332c40;
  --accent:        #c9a6e8;
  --accent-soft:   #272f2a;
  --accent-2:      #dfb2aa;
  --accent-2-soft: #342630;
  --header-bg:     rgba(23, 20, 29, .8);
  --c-violet-ink:    #ece8f2;
  --c-violet-deep:   #a274cf;
  --c-beige:       #282133;
  --c-lilac:       #17141d;
  --c-lilac-soft:  #201b29;
  --c-lilac-mid:   #2b2338;
  --c-lilac-deep:  #3a2f4a;
  --sh-sm: 0 4px 16px -6px rgba(0, 0, 0, .55);
  --sh-md: 0 14px 40px -18px rgba(0, 0, 0, .7);
  --sh-lg: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
[data-theme='dark'] .btn-primary { background: #a274cf; color: #1a1023; }
[data-theme='dark'] .btn-primary:hover { background: #b992e0; color: #1a1023; }
[data-theme='dark'] .btn-rose { background: #3a2c2e; color: #edc9c2; }
[data-theme='dark'] .btn-rose:hover { background: #cb9d95; color: #23191a; }
[data-theme='dark'] .cta-band { background: linear-gradient(135deg, #2b2438, #191521); }
[data-theme='dark'] .cta-band .btn-primary { background: #e6ebe3; color: #1a201a; }
[data-theme='dark'] .site-footer { background: #120f18; }
[data-theme='dark'] .hero h1 em { color: #dfb2aa; }
[data-theme='dark'] .quote::before { color: #3a2c2e; }
[data-theme='dark'] .form-status.err { background: #3a2321; color: #e8a49c; }

/* ---------- IMPRESSION -------------------------------------- */
@media print {
  .site-header, .to-top, .wa-float, .cookie-bar, .mobile-panel, .scroll-hint, .hero-visual { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
