/* ==========================================================
   Maison Kilya — styles v2 : sombre, éditorial, angles droits.
   Mobile d'abord. Dépend de tokens.css.
   ========================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 var(--space-4); }
a { color: inherit; text-underline-offset: 0.25em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--kilya-brown-deep); }

.visually-hidden {
  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: fixed; left: var(--space-4); top: var(--space-4); z-index: 200;
  padding: var(--space-3) var(--space-4); background: var(--kilya-beige); color: var(--kilya-brown-deep);
  font: 500 var(--fs-xs)/1 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Typographie éditoriale ---------- */
.title {
  font-family: var(--font-title);
  font-size: var(--fs-title);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.title strong { display: block; font-weight: 600; }
.title--xl { font-size: var(--fs-title-xl); }
.kicker {
  display: block;
  font: 500 var(--fs-xxs)/1.4 var(--font-title);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.rule { width: 2.5rem; height: 1px; background: currentColor; border: 0; margin: var(--space-5) 0; opacity: 0.8; }
.text-soft { color: var(--text-soft); }
.prose { max-width: 34rem; color: var(--text-soft); }
.prose strong { color: var(--text); font-weight: 400; }

/* ---------- Mentions provisoires (sobres) ---------- */
.tbc {
  display: inline-block;
  padding: 0.2em 0.6em;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font: 500 var(--fs-xxs)/1.5 var(--font-title);
  letter-spacing: 0.12em; text-transform: uppercase;
  vertical-align: middle;
}
.on-light .tbc { border-color: rgba(129, 26, 26, 0.5); color: var(--kilya-red); }
.note {
  font: 400 var(--fs-xs)/1.6 var(--font-title);
  letter-spacing: 0.02em;
  color: var(--text-soft);
  border-left: 1px solid var(--accent);
  padding: var(--space-1) 0 var(--space-1) var(--space-4);
  margin: var(--space-5) 0 0;
  max-width: 40rem;
}
.note b { color: var(--accent); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: var(--fs-xxs); margin-right: 0.4em; }
.on-light .note { color: var(--kilya-brown-deep); border-color: var(--kilya-red); }
.on-light .note b { color: var(--kilya-red); }

/* ---------- Boutons rectangulaires ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: var(--tap); padding: 0.9rem 1.75rem;
  border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit;
  font: 500 var(--fs-xs)/1.2 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { background: var(--kilya-beige); border-color: var(--kilya-beige); color: var(--kilya-brown-deep); }
.btn--solid { background: var(--kilya-beige); border-color: var(--kilya-beige); color: var(--kilya-brown-deep); }
.btn--solid:hover { background: transparent; color: var(--kilya-beige); }
.on-light .btn { color: var(--kilya-brown-deep); }
.on-light .btn:hover { background: var(--kilya-brown-deep); border-color: var(--kilya-brown-deep); color: var(--kilya-white); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--kilya-night);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3);
}
.menu-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: var(--space-3);
  min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--text); cursor: pointer;
  font: 500 var(--fs-xs)/1 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase;
}
.menu-toggle__bars { position: relative; width: 1.25rem; height: 0.75rem; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars span { top: 50%; }
.menu-toggle__bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(0.375rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-0.375rem) rotate(-45deg); }
.menu-toggle__label { display: none; }
@media (min-width: 30rem) { .menu-toggle__label { display: inline; } }
html:not(.js) .menu-toggle { visibility: hidden; }

.brand { display: inline-flex; min-height: var(--tap); align-items: center; gap: var(--space-3); text-decoration: none; }
/* Nom en serif, composé comme le logo de la charte : « Maison » petit au-dessus de « Kilya » */
.brand__name {
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--font-figure); font-weight: 400; text-transform: none; letter-spacing: 0.01em;
  color: var(--kilya-beige);
}
.brand__name span { font-size: 0.75rem; line-height: 1; letter-spacing: 0.06em; }
.brand__name strong { font-weight: 400; font-size: 1.375rem; line-height: 1; }
@media (min-width: 48rem) {
  .brand__name span { font-size: 0.875rem; }
  .brand__name strong { font-size: 1.75rem; }
}
.brand img { height: 3rem; width: auto; }
@media (min-width: 48rem) { .brand img { height: 3.5rem; } }
/* Côté droit de l'en-tête : langue + contact */
.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--space-3); }
@media (min-width: 48rem) { .header-actions { gap: var(--space-5); } }

/* Sélecteur de langue à drapeaux */
.lang { display: flex; align-items: center; gap: var(--space-1); }
.lang__link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; min-width: 44px; justify-content: center; padding: 0 0.35rem;
  font: 500 var(--fs-xxs)/1 var(--font-title); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft); text-decoration: none; opacity: 0.75;
  transition: opacity var(--dur) var(--ease);
}
.lang__link img { width: 1.375rem; height: auto; display: block; box-shadow: 0 0 0 1px rgba(247, 240, 229, 0.25); }
.lang__link:hover { opacity: 1; }
.lang__link[aria-current="true"] { opacity: 1; color: var(--kilya-beige); }
.lang__link[aria-current="true"] span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lang__code { display: none; }
/* Mobile : seul le drapeau de l'autre langue est affiché */
@media (max-width: 47.99rem) { .lang__link[aria-current="true"] { display: none; } .lang__link { opacity: 1; } }
@media (min-width: 48rem) { .lang__code { display: inline; } .lang { gap: var(--space-2); } }
.header-cta { justify-self: end; }
.header-cta.btn { padding: 0.75rem 1rem; min-height: 44px; }
@media (min-width: 48rem) { .header-cta.btn { padding: 0.85rem 1.5rem; } }

/* Menu plein écran */
.site-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--kilya-night);
  display: grid; align-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 450ms var(--ease), visibility 0s linear 450ms;
}
.site-menu.is-open { opacity: 1; visibility: visible; transition: opacity 450ms var(--ease); }
.site-menu ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.site-menu li { border-bottom: 1px solid var(--line); }
.site-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5) 0; text-decoration: none;
  font: 300 clamp(1.25rem, 1rem + 1.6vw, 2.25rem)/1.2 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase;
}
.site-menu a strong { font-weight: 600; }
.site-menu a small { font: 400 var(--fs-xs)/1.4 var(--font-title); letter-spacing: var(--tracking); color: var(--accent); }
.site-menu a:hover strong, .site-menu a:hover { color: var(--accent); }
.site-menu__foot { margin-top: var(--space-6); color: var(--text-soft); font: 400 var(--fs-xs)/1.6 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; }

/* ---------- Photos & légendes ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--kilya-brown-deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ambiance-tag {
  position: absolute; left: var(--space-3); bottom: var(--space-3); z-index: 3;
  padding: 0.35em 0.7em; background: rgba(31, 18, 13, 0.72); color: rgba(255, 255, 255, 0.85);
  font: 500 0.625rem/1.4 var(--font-title); letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- Bandeaux pleine largeur découpés en cellules ----------
   Structure de l'accueil : chaque section est une ligne complète,
   divisée par des filets verticaux, avec des photos encadrées. */
.band { border-bottom: 1px solid var(--line); }
.cells { display: grid; }
.cell { padding: var(--space-7) var(--gutter); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.cell:last-child { border-bottom: 0; }
ul.cells { list-style: none; margin: 0; padding: 0; }
.cells + .cells, .cells + [data-render] > .cells, [data-render] + .cells, [data-render-slots] > .cells { border-top: 1px solid var(--line); }
.breadcrumb a { color: var(--accent); }
@media (min-width: 56rem) {
  .cells--2 { grid-template-columns: 1fr 1fr; }
  .cells--3 { grid-template-columns: repeat(3, 1fr); }
  .cells--2-1 { grid-template-columns: 2fr 1fr; }
  .cells--1-2 { grid-template-columns: 1fr 2fr; }
  .cell { padding: var(--space-8) clamp(1.75rem, 4vw, 4.5rem); border-bottom: 0; }
  .cell + .cell { border-left: 1px solid var(--line); }
  .cells--1-2 .cell--media { order: -1; }
}
.cell--center { justify-content: center; align-items: center; text-align: center; }
.cell--center .prose { margin-inline: auto; }
.cell--center .rule { margin-inline: auto; }
.cell--middle { justify-content: center; }
.cell--media { padding: 0; }
.cell--media .photo { height: 100%; min-height: 18rem; }
.cell--media .photo img { position: absolute; inset: 0; height: 100%; }
.cell > .photo:not(:only-child) { aspect-ratio: 16 / 10; margin-bottom: var(--space-6); }
.cell h3 { font: 600 clamp(1rem, 0.9rem + 0.4vw, 1.1875rem)/1.4 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; margin-bottom: var(--space-4); }
.cell .btn-row, .cell > .btn { margin-top: auto; }
.cell > .btn { align-self: flex-start; }
.cell--center > .btn { align-self: center; }
.cell__index { font: 400 1.25rem/1 var(--font-figure); color: var(--accent); margin-right: 0.5em; }
.cell__list { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; gap: var(--space-2); }
.cell__list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); color: var(--text-soft); }
.band--hero .cell { padding-block: clamp(3rem, 8vw, 7rem); }
.band--hero .cell--media { padding: 0; }

/* Coordonnées sur fond sombre (bandeau contact de l'accueil) */
.cell .contact-lines { width: 100%; max-width: 30rem; margin: 0 0 var(--space-4); border-top-color: var(--line); }
.cell .contact-lines li { border-bottom-color: var(--line); }
.cell .contact-lines span { color: var(--accent); }
.cell .contact-lines strong { color: var(--text); }

/* ---------- Carte des soins (tarifs) ---------- */
.menu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--space-1) var(--space-5);
  padding: var(--space-5) 0; border-bottom: 1px solid var(--line);
}
.menu-item__name { font: 500 var(--fs-sm)/1.45 var(--font-title); letter-spacing: 0.12em; text-transform: uppercase; }
.menu-item__meta { grid-column: 1; color: var(--text-soft); font-size: var(--fs-sm); }
.menu-item__price { grid-column: 2; grid-row: 1 / span 2; font: 400 1.3rem/1 var(--font-figure); color: var(--accent); } /* réduit le 27/11/2026 (1.75rem auparavant) */

/* ---------- Infos pratiques ---------- */
.facts { display: grid; margin: 0; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts > div { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) {
  .facts > div { padding: var(--space-6); border-bottom: 0; }
  .facts > div + div { border-left: 1px solid var(--line); }
  .facts > div:first-child { padding-left: 0; }
}
.facts dt { font: 500 var(--fs-xxs)/1.4 var(--font-title); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-3); }
.facts dd { margin: 0; }

.contact-lines { list-style: none; margin: var(--space-5) 0; padding: 0; border-top: 1px solid rgba(56, 33, 23, 0.2); text-align: left; }
.contact-lines li { border-bottom: 1px solid rgba(56, 33, 23, 0.2); }
.contact-lines a {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  min-height: 3.5rem; padding: var(--space-2) 0; text-decoration: none;
}
.contact-lines span { font: 500 var(--fs-xxs)/1.4 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; color: var(--kilya-red); }
.contact-lines strong { font-weight: 400; overflow-wrap: anywhere; text-align: right; }
.contact-lines a:hover strong { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.site-footer { padding-block: var(--space-8) var(--space-6); color: var(--text-soft); }
.site-footer__grid { display: grid; gap: var(--space-7); }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer__brand img { width: 6rem; height: auto; margin-bottom: var(--space-4); }
.site-footer h2 { font: 600 var(--fs-xxs)/1.4 var(--font-title); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.site-footer li a:hover { color: var(--text); text-decoration: underline; }
.site-footer__legal {
  margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6);
  font: 400 var(--fs-xxs)/1.6 var(--font-title); letter-spacing: 0.12em; text-transform: uppercase;
}
.site-footer__legal p { margin: 0; }

/* ---------- Apparitions douces ---------- */
/* Texte : fondu + léger glissement, avec décalage possible (--d) */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1100ms var(--ease) var(--d, 0ms), transform 1100ms var(--ease) var(--d, 0ms);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
/* Images : dévoilement par rideau du bas vers le haut */
.js-reveal [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1500ms var(--ease) var(--d, 0ms); }
.js-reveal [data-reveal="wipe"].is-visible { clip-path: inset(0 0 0 0); }
/* Filet horizontal qui se trace */
.js-reveal [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1400ms var(--ease) var(--d, 0ms); }
.js-reveal [data-reveal="line"].is-visible { transform: none; }

/* Parallaxe douce : l'image glisse dans son cadre au défilement */
[data-parallax] { overflow: hidden; }
.js-motion [data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Massages essentiels & publics de Vars ---------- */
.essentials { border-bottom: 1px solid var(--line); }
.essentials__head { display: grid; border-bottom: 1px solid var(--line); }
.essentials__intro { padding: var(--space-8) var(--gutter) var(--space-7); text-align: center; }
.essentials__intro .prose { margin-inline: auto; }
.essentials__photo { min-height: 18rem; position: relative; }
.essentials__photo img { position: absolute; inset: 0; height: 100%; }
@media (min-width: 56rem) {
  .essentials__head { grid-template-columns: 2fr 1fr; }
  .essentials__intro { padding: var(--space-9) clamp(2rem, 5vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
  .essentials__photo { border-left: 1px solid var(--line); }
}

.services { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid var(--line); }
@media (min-width: 56rem) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { padding: var(--space-7) var(--gutter); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.service:last-child { border-bottom: 0; }
@media (min-width: 56rem) {
  .service { padding: var(--space-8) clamp(1.75rem, 3.5vw, 3.75rem); border-bottom: 0; }
  .service + .service { border-left: 1px solid var(--line); }
}
.service .photo { aspect-ratio: 16 / 10; margin-bottom: var(--space-6); }
.service__for { margin-bottom: var(--space-3); }
.service h3 { font: 600 clamp(1rem, 0.9rem + 0.4vw, 1.1875rem)/1.4 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; margin-bottom: var(--space-4); }
.service p { color: var(--text-soft); }
.service__meta {
  margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-4);
  font: 500 var(--fs-xs)/1.4 var(--font-title); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft);
}
.service__meta strong { font: 400 1.5rem/1 var(--font-figure); letter-spacing: 0; color: var(--accent); }

.also {
  padding: var(--space-6) var(--gutter); border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-5);
  text-align: center; color: var(--text-soft);
}
.also .kicker { margin: 0; }

.audiences-head { padding: var(--space-8) var(--gutter) var(--space-6); text-align: center; }
.audiences-head .prose { margin-inline: auto; }
.audiences { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .audiences { grid-template-columns: repeat(4, 1fr); } }
.audience { padding: var(--space-7) var(--gutter); border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) {
  .audience { padding: var(--space-7) clamp(1.5rem, 3vw, 3rem); }
  .audience:nth-child(2n) { border-left: 1px solid var(--line); }
}
@media (min-width: 72rem) {
  .audience { border-bottom: 0; }
  .audience + .audience { border-left: 1px solid var(--line); }
}
.audience h3 { font: 600 var(--fs-sm)/1.4 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; margin-bottom: var(--space-3); }
.audience p { color: var(--text-soft); margin-bottom: var(--space-4); }
.audience__match { font: 500 var(--fs-xxs)/1.6 var(--font-title); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0; }

/* ---------- Thème clair (page « La carte des soins ») ----------
   Couleurs inversées : fond beige, écriture brune. Activé par
   <body class="theme-light">. Le reste du site reste sombre. */
.theme-light {
  /* beige assombri (20/11/2026) : le #F7F0E5 était trop éblouissant en pleine page */
  --bg: #E9DDC9;
  --text: var(--kilya-brown-deep);
  --text-soft: rgba(56, 33, 23, 0.82);
  --accent: var(--kilya-brown);
  --line: rgba(56, 33, 23, 0.16);
  --line-strong: rgba(56, 33, 23, 0.4);
  --focus: var(--kilya-brown-deep);
}
.theme-light .site-header, .theme-light .site-menu { background: var(--bg); }
.theme-light .brand__name, .theme-light .lang__link[aria-current="true"] { color: var(--kilya-brown-deep); }
.theme-light .brand img { box-shadow: 0 0 0 1px var(--line-strong); }
.theme-light .lang__link img { box-shadow: 0 0 0 1px rgba(56, 33, 23, 0.25); }
.theme-light .btn:hover { background: var(--kilya-brown-deep); border-color: var(--kilya-brown-deep); color: var(--kilya-beige); }
.theme-light .btn--solid { background: var(--kilya-brown-deep); border-color: var(--kilya-brown-deep); color: var(--kilya-beige); }
.theme-light .btn--solid:hover { background: transparent; color: var(--kilya-brown-deep); }
.theme-light .menu-item__price { color: var(--kilya-red); }
.theme-light .tbc { border-color: rgba(129, 26, 26, 0.5); color: var(--kilya-red); }
.theme-light .note { border-color: var(--kilya-red); }
.theme-light .note b { color: var(--kilya-red); }

/* Invitation « Une question ? » sous la carte des soins */
.ask__q { font: 400 clamp(1.375rem, 1.1rem + 1vw, 1.875rem)/1.3 var(--font-figure); margin-bottom: var(--space-3); }
.ask .prose { margin-bottom: var(--space-5); }
.ask__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-4); margin: 0; }
.ask__links a { display: inline-flex; align-items: center; min-height: var(--tap); font: 500 var(--fs-sm)/1.2 var(--font-title); letter-spacing: 0.08em; color: var(--text); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.ask__links a:hover { color: var(--kilya-red); }
.ask__links span { color: var(--text-soft); font-style: italic; }

/* Signature personnelle sous l'accroche de l'accueil */
.signature { font: 400 1.125rem/1.4 var(--font-figure); color: var(--accent); margin: calc(var(--space-2) * -1) 0 var(--space-6); }

/* Tarif rédigé (« Sur devis, dès + 5 € ») et carte détaillée de la page cabine */
.menu-item__price--text { font: 400 var(--fs-sm)/1.4 var(--font-body); text-align: right; max-width: 11rem; align-self: center; }
.menu-list--detail { max-width: 56rem; margin-inline: auto; }

/* Mentions légales : lignes « intitulé / valeur », texte courant lisible */
.legal .title { font-size: clamp(1.15rem, 1.6vw, 1.5rem); overflow-wrap: break-word; hyphens: manual; }
@media (min-width: 48rem) {
  /* colonnes identiques d'une rubrique à l'autre, quel que soit le titre */
  .legal .cells--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
.legal .facts { grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.legal .facts > div { display: grid; gap: var(--space-2) var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); border-left: 0; }
@media (min-width: 64rem) {
  .legal .facts > div { grid-template-columns: 15rem minmax(0, 1fr); align-items: baseline; }
}
.legal .facts > div:first-child, .legal .facts > div + div { padding: var(--space-4) 0; border-left: 0; }
.legal .facts dt { margin-bottom: 0; }
.legal .facts dd { overflow-wrap: anywhere; }
.legal__body > p:first-child { margin-top: 0; }
.legal__body p { max-width: 40rem; color: var(--text-soft); margin: 0 0 var(--space-4); }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body a { color: inherit; text-underline-offset: 3px; }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
@media (max-width: 47.99rem) {
  /* Mobile : titre et contenu d'une rubrique restent groupés */
  .legal .cell:first-child { padding-bottom: var(--space-4); border-bottom: 0; }
  .legal .legal__body { padding-top: 0; }
}

/* =========================================================
   v3 (20/11/2026) — accueil épuré, page Maison Kilya, infos
   ========================================================= */
.btn-row--center { justify-content: center; }
.cell .btn-row--center { margin-top: var(--space-5); }

/* Accueil : accroche centrée puis deux grandes photos cliquables */
.home-hero > .cells:first-child .cell { padding-block: clamp(3.5rem, 9vw, 7.5rem); }
.home-hero .btn-row { margin-top: var(--space-6); justify-content: center; }
.duo { border-top: 1px solid var(--line); }
.duo__item { position: relative; padding: 0; text-decoration: none; color: var(--kilya-white); overflow: hidden; }
.duo__item .photo { aspect-ratio: 4 / 3; height: 100%; }
@media (min-width: 56rem) { .duo__item .photo { aspect-ratio: 16 / 11; } }
.duo__item .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 18, 13, 0.75), rgba(31, 18, 13, 0) 55%); }
.duo__label {
  position: absolute; left: clamp(1.25rem, 4vw, 3rem); bottom: clamp(1.25rem, 4vw, 2.5rem); z-index: 1;
  font: 600 var(--fs-title)/1.1 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--space-4);
}
.duo__label::after { content: "→"; font-weight: 300; transition: transform var(--dur) var(--ease); }
.duo__item:hover .duo__label::after, .duo__item:focus-visible .duo__label::after { transform: translateX(6px); }

/* Localisation + offres */
.cell--flush { padding: 0; }
.offers { height: 100%; }
.offer .title { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.4rem); margin: var(--space-4) 0; }
.offer .prose { margin: 0; }
.offer .cell__index { display: block; }

/* « Pour en savoir plus » : trois liens pleine cellule */
.more .cell { padding: 0; }
.more-link {
  display: grid; gap: var(--space-3); height: 100%; text-decoration: none; color: inherit;
  padding: var(--space-7) var(--gutter);
  transition: background-color var(--dur) var(--ease);
}
@media (min-width: 56rem) { .more-link { padding: var(--space-8) clamp(1.75rem, 4vw, 4.5rem); } }
.more-link:hover, .more-link:focus-visible { background: var(--kilya-brown-deep); }
.more-link__title { font: 600 var(--fs-sm)/1.4 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; }
.more-link__text { color: var(--text-soft); }
.more-link__arrow { color: var(--accent); font-size: 1.25rem; transition: transform var(--dur) var(--ease); }
.more-link:hover .more-link__arrow { transform: translateX(6px); }

/* Page Maison Kilya : liste éditoriale des soins (sans tarifs) */
.features-center .cell { align-items: center; text-align: center; }
.soin-rows { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 62rem; border-top: 1px solid var(--line-strong); }
.soin-row { display: grid; gap: var(--space-3); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 56rem) {
  .soin-row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--space-8); align-items: baseline; }
}
.soin-row__head .kicker { margin-bottom: var(--space-2); }
.soin-row__head h3 { margin: 0; }
.soin-row__time { display: block; margin-top: var(--space-2); font: 400 1.05rem/1.3 var(--font-figure); color: var(--accent); }
.soin-row__text { margin: 0; color: var(--text-soft); max-width: 36rem; }

/* Page Informations : rubriques en lignes (même gabarit que les mentions légales) */
.info-rows .facts { max-width: 64rem; margin-inline: auto; width: 100%; }
.info-rows .facts dt { font-size: var(--fs-xs); }
.info-rows .facts dd { color: var(--text-soft); }

/* Ajustements mobiles (revue du 20/11/2026) */
@media (max-width: 55.99rem) {
  .more-link { grid-template-columns: 1fr auto; column-gap: var(--space-5); padding-block: var(--space-6); }
  .more-link > :not(.more-link__arrow) { grid-column: 1; }
  .more-link__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}
@media (max-width: 30rem) {
  .home-hero .btn-row, .btn-row--center { flex-direction: column; align-items: stretch; width: 100%; }
  .home-hero .btn-row .btn, .btn-row--center .btn { width: 100%; }
}

/* Accueil, version épurée : deux photos encadrées, titres centrés */
.duo2__item { align-items: center; text-align: center; text-decoration: none; color: inherit; padding-block: var(--space-7) var(--space-8); }
@media (min-width: 56rem) { .duo2__item { padding-block: var(--space-8) var(--space-9); } }
.duo2 .cell > .duo2__photo {
  width: min(100%, 19rem); aspect-ratio: 4 / 5; margin: 0 auto var(--space-7);
  box-sizing: border-box; padding: 10px; border: 1px solid var(--line-strong); background: transparent;
}
.duo2__photo img { display: block; transition: transform 900ms var(--ease); }
.duo2__item:hover .duo2__photo img, .duo2__item:focus-visible .duo2__photo img { transform: scale(1.04); }
.duo2__item .kicker { margin-bottom: var(--space-3); }
.duo2__title { display: block; font-size: var(--fs-title); margin-bottom: var(--space-5); }
.duo2__more {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font: 500 var(--fs-xxs)/1.4 var(--font-title); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-strong);
}
.duo2__more::after { content: "→"; transition: transform var(--dur) var(--ease); }
.duo2__item:hover .duo2__more::after { transform: translateX(5px); }

/* Accueil : « À propos » en trois colonnes */
.about .cell__index { display: block; margin-bottom: var(--space-4); }
.about h3 { margin-bottom: var(--space-4); }
.about .prose { margin: 0; }
#a-propos [data-render="apropos-intro"] .prose { margin-inline: auto; max-width: 38rem; }

/* Accueil : localisation (2/3) + offre saisonniers (1/3) */
.offer-cell .offer .title { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.4rem); margin: 0 0 var(--space-4); }
.offer-cell .offer .prose { margin: 0; }

/* Photos de personnes : garder les visages dans le cadre quand la photo est recadrée */
.cell--media .photo img { object-position: 50% 28%; }

/* Accueil : montagne de Vars en fond de l'accroche, en transparence, sur fond sombre */
.home-hero__intro, .about__intro { position: relative; isolation: isolate; overflow: hidden; }
.home-hero__intro::before, .about__intro::before,
.home-hero__intro::after, .about__intro::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-hero__intro::before {
  background: url("../img/photos/montagne-vars.jpg") center 35% / cover no-repeat;
  opacity: 0.7; filter: saturate(0.6) contrast(1.05);
}
.home-hero__intro::after, .about__intro::after {
  background:
    radial-gradient(ellipse at center, rgba(31, 18, 13, 0.45) 0%, rgba(31, 18, 13, 0.6) 75%),
    linear-gradient(to bottom, rgba(31, 18, 13, 0.4) 0%, rgba(31, 18, 13, 0) 40%, rgba(31, 18, 13, 0.9) 100%);
}

/* Accueil, « À propos » : Talia au travail en chalet, sur toute la largeur de la section,
   même traitement que l'accroche. */
.about__intro::before {
  background: url("../img/photos/talia-apropos.jpg") 60% 40% / cover no-repeat;
  opacity: 0.6; filter: saturate(0.7);
}

/* Encart en bas à droite (offres) */
.promo {
  position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 60;
  width: min(21rem, calc(100vw - 2rem));
  background: var(--kilya-brown-deep); color: var(--kilya-white);
  border: 1px solid rgba(247, 240, 229, 0.42); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateX(calc(100% + 3rem)); opacity: 0;
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1), opacity 650ms ease;
}
.promo.is-open { transform: none; opacity: 1; }
.promo[hidden] { display: none; }
.promo__body { padding: var(--space-6) var(--space-5) var(--space-5); }
.promo .kicker { color: var(--kilya-beige); margin-bottom: var(--space-3); }
.promo__img { display: block; width: 100%; height: auto; margin-bottom: var(--space-4); border: 1px solid rgba(247, 240, 229, 0.25); }
.promo__title { margin: 0 0 var(--space-3); font: 300 1.05rem/1.35 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; }
.promo__title strong { display: block; font-weight: 600; }
.promo__text { margin: 0 0 var(--space-5); color: rgba(255, 255, 255, 0.8); font-size: var(--fs-sm); line-height: 1.6; }
.promo .btn--solid { width: 100%; background: var(--kilya-beige); border-color: var(--kilya-beige); color: var(--kilya-brown-deep); }
.promo .btn--solid:hover { background: transparent; color: var(--kilya-beige); }
.promo__close {
  position: absolute; top: 0.25rem; right: 0.25rem; width: 2.75rem; height: 2.75rem;
  background: none; border: 0; color: var(--kilya-beige); font: 300 1.6rem/1 var(--font-title); cursor: pointer;
}
.promo__close:focus-visible { outline: 1px solid var(--kilya-beige); outline-offset: -6px; }
@media (prefers-reduced-motion: reduce) { .promo { transition: opacity 200ms linear; transform: none; } }
@media (max-width: 30rem) {
  /* Mobile : encart compact pour ne pas masquer la page */
  .promo { right: 0.75rem; bottom: 0.75rem; width: calc(100vw - 1.5rem); }
  .promo__body { padding: var(--space-4) var(--space-4) var(--space-4); }
  .promo .kicker { margin-bottom: var(--space-2); }
  .promo__title { font-size: 0.95rem; margin-bottom: var(--space-3); }
  .promo__text { display: none; }
  .promo .btn--solid { min-height: 2.75rem; padding-block: 0.6rem; }
  .promo__img { max-height: 7rem; object-fit: cover; }
}
/* Visuel de la carte cadeau : garder « Bon Cadeau » visible, croix lisible sur l'image */
.promo__img { object-position: 50% 12%; }
.promo__close { z-index: 1; background: rgba(56, 33, 23, 0.85); top: 0; right: 0; }

/* Encart parrainage : chiffres mis en avant, liseré bordeaux */
.promo--highlight { border-top: 3px solid var(--kilya-red); }
.promo__figures { display: grid; grid-template-columns: 1fr 1fr; margin: var(--space-2) 0 var(--space-4); border-top: 1px solid rgba(247, 240, 229, 0.25); border-bottom: 1px solid rgba(247, 240, 229, 0.25); }
.promo__fig { padding: var(--space-4) var(--space-2); text-align: center; }
.promo__fig + .promo__fig { border-left: 1px solid rgba(247, 240, 229, 0.25); }
.promo__fig strong { display: block; font: 400 2.1rem/1 var(--font-figure); color: var(--kilya-beige); white-space: nowrap; }
.promo__fig span { display: block; margin-top: var(--space-2); font: 500 var(--fs-xxs)/1.4 var(--font-title); letter-spacing: var(--tracking); text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.promo.is-open .promo__fig { animation: promo-fig 700ms cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }
@keyframes promo-fig { from { opacity: 0; transform: translateY(10px) scale(0.92); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .promo.is-open .promo__fig { animation: none; } }
@media (max-width: 30rem) {
  .promo__figures { margin: var(--space-1) 0 var(--space-3); }
  .promo__fig { padding: var(--space-3) var(--space-1); }
  .promo__fig strong { font-size: 1.7rem; }
}
/* Photo French (Maison Kilya) : cadrage centré sur les ongles */
#ongles .cell--media .photo img { object-position: 50% 60%; }
