/* =================================================================
   Institut de beauté : feuille de style (CSS3 vanilla), gabarit « institut »
   (17e gabarit, chantier « Institut de beauté » du 14/11/2026).
   Référence visuelle CHOISIE par Charles, telle quelle : _maquettes/institut-argile
   (« Argile & lin »). Lin, crème, sable, argile, cacao ; formes de galets ;
   Fraunces (axe SOFT à 100, romain et italique argile) pour les titres, DM Sans
   pour le texte. Le sombre en touches : bande « Combien de temps ça tient »,
   pied de page, bouton du menu.

   Trois variantes, même look : body[data-variante="general"|"regard"|"ongles"]
   (généraliste par défaut). Un bloc [data-variante-seule] nomme la ou les
   variantes qui le montrent ; les autres sont masqués ici, retirés par le rendu.

   PALETTE FIXE : la couleur d'un client n'est posée qu'à sa demande
   (produce.py --accent). Variables lues par l'injection :
     --accent      : argile (boutons pleins, bascule, widget)
     --accent-deep : argile foncé (survol)
     --accent-ink  : texte posé SUR l'accent (crème)
   Contraste mesuré (WCAG) : tout texte posé par cette feuille atteint 4,5:1 au
   moins sur son fond (relevé du 14/11/2026 : crème sur argile 4,6:1, argile
   texte sur lin 5,2:1, sur sable : --argile-fonce, 5,2:1 ; sur argile pâle :
   --argile-sombre).
   ================================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  color-scheme: light;

  /* Fonds clairs */
  --lin:    #F4ECE2;   /* fond de page */
  --creme:  #FBF6EF;   /* bande des soins, cartes, champs */
  --sable:  #E8D8C4;   /* bande des avis, filets */
  --bord:   #A08B7B;   /* bord des champs (3:1 sur crème) */

  /* Accent (argile) : voir la note en tête de fichier */
  --accent:      #A55D41;
  --accent-deep: #8E4D33;
  --accent-ink:  #FBF6EF;
  --argile-texte: #94502F;   /* texte argile sur lin et crème (5,2:1 et 5,7:1) */
  --argile-fonce: #85462A;   /* texte argile sur sable (5,2:1) */
  --argile-pale:  #EBCDB9;   /* barres, médaillons, italiques sur cacao */
  --argile-sombre: #7A3F25;  /* texte argile sur argile pâle (numéros, note de la pastille), 5,4:1 */

  /* Sombres et textes */
  --cacao:   #3D2A22;        /* texte, bande sombre, pied */
  --cacao-2: #6B5245;        /* texte second (6,2:1 sur lin, 5,2:1 sur sable) */
  --vert:    #5E8A5B;        /* pastille « ouvert » (décor, jamais du texte) */
  --danger:  #A3261E;

  /* Galets */
  --galet-1: 58% 42% 47% 53% / 52% 46% 54% 48%;
  --galet-2: 44% 56% 61% 39% / 47% 58% 42% 53%;
  --galet-3: 63% 37% 41% 59% / 58% 41% 59% 42%;

  /* Typo */
  --f-titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-texte: "DM Sans", "Segoe UI", system-ui, sans-serif;

  /* Mise en page */
  --container: 1200px;
  --gutter: 28px;
  --sec: clamp(72px, 9vw, 124px);
  --arrondi: clamp(28px, 5vw, 64px);
  --header-h: 80px;
  --callbar-h: 72px;
  --tt-bas: 22px;          /* retrait du bas du bouton « haut de page » */

  /* Transitions */
  --t-fast: .2s cubic-bezier(.4, 0, .2, 1);
  --t-med:  .32s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .8s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- VARIANTES ---------- */
body:not([data-variante="regard"]):not([data-variante="ongles"]) [data-variante-seule]:not([data-variante-seule~="general"]),
body[data-variante="regard"] [data-variante-seule]:not([data-variante-seule~="regard"]),
body[data-variante="ongles"] [data-variante-seule]:not([data-variante-seule~="ongles"]) { display: none !important; }

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

/* Aucun overflow sur <html> : l'en-tête est STICKY (piège du 18/09/2026). */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--lin);
  color: var(--cacao);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
fieldset { border: 0; min-width: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--argile-texte); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.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;
}

/* ---------- MISE EN PAGE ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec { padding-block: var(--sec); }

/* Titres : Fraunces doux (SOFT 100), italique argile en contrepoint. Taille plancher : le mot le
   plus long des trois langues (« schoonheidsinstituut » n'est pas un titre ; « wenkbrauwen »,
   « behandeling ») tient de 280 à 1920 px. */
h1, h2, h3 {
  font-family: var(--f-titre);
  font-variation-settings: "SOFT" 100;
  font-weight: 380;
  line-height: 1.06;
  letter-spacing: -.02em;
  text-wrap: balance;
}
/* Un mot plus long que la colonne (nom de démo, mot néerlandais) passe à la ligne dans les titres du
   contenu ; jamais dans le pied (garde test_gouttieres : aucun descendant sécable de .footer__nav). */
.hero__titre, .tete h2, .reco h3, .studio h2, .p-outil h3, .infos h3 { overflow-wrap: break-word; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 340; color: var(--argile-texte); }
p { overflow-wrap: break-word; }

.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 13px/1.3 var(--f-texte);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--argile-texte);
}
.etiquette::before { content: ""; flex: none; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }

.tete { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.tete h2 { font-size: clamp(36px, 4.6vw, 62px); }
.tete p:not(.etiquette) { color: var(--cacao-2); font-size: 18px; }
.centre { text-align: center; justify-items: center; margin-inline: auto; }

/* ---------- LIEN D'ÉVITEMENT ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--cacao);
  color: var(--lin);
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  text-align: center;
  font: 600 15.5px/1.2 var(--f-texte);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn--plein { background: var(--accent); color: var(--accent-ink); }
.btn--plein:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn--ligne { border-color: var(--cacao); color: var(--cacao); }
.btn--ligne:hover { background: var(--cacao); color: var(--lin); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* ---------- EN-TÊTE (lin, collant) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 236, 226, .96);
  color: var(--cacao);
  transition: box-shadow var(--t-med);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -20px rgba(61, 42, 34, .45); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* Marque : le nom en italique Fraunces, le sous-titre en petites capitales argile dessous. Un nom
   long de démo (classe logo--long posée par main.js au-delà de 14 caractères) se resserre et
   passe sur deux lignes au plus ; le sous-titre s'efface alors. */
.logo {
  display: grid;
  min-width: 0;
  text-decoration: none;
  color: var(--cacao);
  line-height: 1;
}
.logo__nom {
  font-family: var(--f-titre);
  font-variation-settings: "SOFT" 100;
  font-style: italic;
  font-weight: 400;
  font-size: 33px;
  line-height: 1.1;
  letter-spacing: -.02em;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  padding-right: .08em;          /* l'italique ne sort pas de sa boîte */
}
.logo__sous {
  margin-top: 3px;
  font: 600 11.5px/1.2 var(--f-texte);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--argile-texte);
  white-space: nowrap;
}
.logo--long .logo__nom { font-size: 25px; }
.logo--long .logo__sous { display: none; }

/* Navigation : pastilles, écart FIXE, libellés insécables. */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font: 500 15.5px/1.2 var(--f-texte);
  color: var(--cacao);
  white-space: nowrap;
  transition: background var(--t-fast);
}
.nav__link:hover { background: var(--sable); }

/* Éléments du menu mobile, masqués en bureau */
.nav__phone, .nav__cta--mobile { display: none; }
/* Spécificité 0,2,0 : bat la règle .lang-switch { display: inline-flex } plus bas */
.nav .lang-switch--mobile { display: none; }
/* Voile du tiroir tablette : masqué partout par défaut, affiché de 601 px au seuil du burger. */
.nav-scrim { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* ---------- SÉLECTEUR DE LANGUE ---------- */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--sable);
  border-radius: 999px;
  background: var(--creme);
}
.lang-switch__btn {
  min-height: 32px;
  font: 600 12.5px/1 var(--f-texte);
  letter-spacing: .06em;
  color: var(--cacao-2);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-switch__btn:hover { color: var(--cacao); }
.lang-switch__btn.active { background: var(--cacao); color: var(--lin); }

/* Burger : rond cacao, traits lin (le bouton « Menu » sombre de la maquette). */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cacao);
}
.burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--lin);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- ACCUEIL ---------- */
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 112px);
}
.hero-visuel { position: relative; padding: 0 0 70px; }
.hero-visuel .grand { aspect-ratio: 1 / 1.05; border-radius: var(--galet-1); overflow: hidden; background: var(--sable); }
.hero-visuel .grand img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-visuel .petit {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--lin);
  background: var(--sable);
}
.hero-visuel .petit img { width: 100%; height: 100%; object-fit: cover; }
.pastille {
  position: absolute;
  left: 4%;
  bottom: 26px;
  max-width: min(78%, 330px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  background: var(--creme);
  box-shadow: 0 18px 40px -22px rgba(61, 42, 34, .45);
  font-size: 14.5px;
  line-height: 1.3;
}
.pastille__rond {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--argile-pale);
  display: grid;
  place-items: center;
  font: 500 16px/1 var(--f-titre);
  color: var(--argile-sombre);
}
.pastille__rond svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.pastille__txt { min-width: 0; }
.pastille b { display: block; font-weight: 600; }
.pastille__txt > span { color: var(--cacao-2); }

.hero__titre { font-size: clamp(42px, 5.8vw, 84px); margin-top: 20px; }
.hero__chapo { margin-top: 24px; font-size: 19px; color: var(--cacao-2); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.raccourcis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.raccourcis a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--sable);
  background: var(--creme);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color var(--t-fast);
}
.raccourcis a:hover { border-color: var(--accent); }

/* ---------- SOINS ET TARIFS (crème, arrondi en haut) ---------- */
.trouver { background: var(--creme); border-radius: var(--arrondi) var(--arrondi) 0 0; }
.envies { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.envie-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.envies label {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--sable);
  background: var(--lin);
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.envies label:hover { border-color: var(--accent); }
#envie-1:checked ~ .envies label[for="envie-1"], #envie-2:checked ~ .envies label[for="envie-2"],
#envie-3:checked ~ .envies label[for="envie-3"], #envie-4:checked ~ .envies label[for="envie-4"] { background: var(--cacao); border-color: var(--cacao); color: var(--creme); }
#envie-1:focus-visible ~ .envies label[for="envie-1"], #envie-2:focus-visible ~ .envies label[for="envie-2"],
#envie-3:focus-visible ~ .envies label[for="envie-3"], #envie-4:focus-visible ~ .envies label[for="envie-4"] { outline: 2px solid var(--argile-texte); outline-offset: 3px; }

.reco {
  display: none;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 36px;
  background: var(--lin);
}
#envie-1:checked ~ .r-1, #envie-2:checked ~ .r-2, #envie-3:checked ~ .r-3, #envie-4:checked ~ .r-4 { display: grid; }
.reco .photo { aspect-ratio: 4 / 3.4; border-radius: var(--galet-2); overflow: hidden; background: var(--sable); }
.reco .photo img { width: 100%; height: 100%; object-fit: cover; }
.reco .texte { padding: 12px clamp(8px, 2vw, 28px) 12px 0; min-width: 0; }
.reco .pour { font: 600 14px/1.3 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--argile-texte); }
.reco h3 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 10px; }
.reco .desc { margin-top: 14px; color: var(--cacao-2); max-width: 32em; }
.fiche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0; border-block: 1px solid var(--sable); }
.fiche div { padding: 14px 16px 14px 0; min-width: 0; }
.fiche div + div { padding-left: 16px; border-left: 1px solid var(--sable); }
.fiche dt { font-size: 13.5px; color: var(--cacao-2); }
.fiche dd { margin-top: 2px; font: 450 25px/1.2 var(--f-titre); font-variation-settings: "SOFT" 100; }

.tarifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 88px); }
.tarifs h3 { font-size: 30px; display: flex; align-items: center; gap: 14px; }
.tarifs h3 svg { flex: none; width: 44px; height: 26px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tarifs ul { margin-top: 14px; }
.tarifs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: baseline;
  padding-block: 14px;
  border-bottom: 1px solid var(--sable);
}
.tarifs li span { font-weight: 500; }
.tarifs li small { color: var(--cacao-2); font-size: 14.5px; white-space: nowrap; }
.tarifs li b { min-width: 64px; text-align: right; white-space: nowrap; font: 500 21px/1.2 var(--f-titre); font-variation-settings: "SOFT" 100; }
.tarifs-note { margin-top: 28px; font-size: 14.5px; color: var(--cacao-2); }

/* ---------- COMBIEN DE TEMPS ÇA TIENT (cacao, arrondi en bas) ---------- */
.tenue { background: var(--cacao); color: var(--lin); border-radius: 0 0 var(--arrondi) var(--arrondi); }
.tenue .tete p:not(.etiquette) { color: var(--sable); }
.tenue h2 em { color: var(--argile-pale); }
.tenue .etiquette { color: var(--argile-pale); }
.echelle { display: grid; gap: 18px; }
.echelle .rang { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; }
.echelle .nom { font-weight: 500; }
.echelle .nom small { display: block; color: var(--sable); font-weight: 400; font-size: 14px; }
.piste { position: relative; height: 34px; border-radius: 999px; background: rgba(244, 236, 226, .1); }
.barre {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  min-width: 4.8em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  border-radius: 999px;
  background: var(--argile-pale);
  font-size: 14px;
  font-weight: 600;
  color: var(--cacao);
  white-space: nowrap;
}
.barre.plage { background: linear-gradient(90deg, var(--argile-pale) 0 var(--plein), #B39989 var(--plein) 100%); }
.graduations { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; margin-top: 6px; }
.graduations ol { position: relative; height: 22px; font-size: 13px; color: var(--sable); font-variant-numeric: tabular-nums; }
.graduations li { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.graduations li:first-child { transform: none; }
.graduations li:last-child { transform: translateX(-100%); }
.echelle-note { margin-top: 26px; font-size: 14.5px; color: var(--sable); }

/* ---------- L'INSTITUT ---------- */
.studio__grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.studio .photo { aspect-ratio: 4 / 5; border-radius: 999px 999px 40px 40px; overflow: hidden; background: var(--sable); }
.studio .photo img { width: 100%; height: 100%; object-fit: cover; }
.studio h2 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 14px; }
.studio .mot { margin-top: 22px; font-size: 18.5px; color: var(--cacao-2); max-width: 34em; }
.studio .signe { margin-top: 18px; font: italic 400 24px/1.3 var(--f-titre); font-variation-settings: "SOFT" 100; color: var(--argile-texte); }
.engagements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.engagements li { display: grid; gap: 8px; align-content: start; font-size: 15px; color: var(--cacao-2); }
.engagements svg { width: 34px; height: 34px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.engagements b { color: var(--cacao); font-size: 16px; font-weight: 600; }

/* ---------- RÉALISATIONS ---------- */
.galerie-sec { padding-top: 0; }
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); align-items: end; }
.galerie figure { margin: 0; min-width: 0; }
.galerie .forme { overflow: hidden; background: var(--sable); }
.galerie figure:nth-child(1) .forme { aspect-ratio: 3 / 4; border-radius: var(--galet-1); }
.galerie figure:nth-child(2) .forme { aspect-ratio: 1; border-radius: 50%; }
.galerie figure:nth-child(3) .forme { aspect-ratio: 3 / 4.4; border-radius: var(--galet-3); }
.galerie figure:nth-child(4) .forme { aspect-ratio: 4 / 4.6; border-radius: var(--galet-2); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.galerie figure:hover img { transform: scale(1.05); }
.galerie figcaption { margin-top: 12px; font-size: 14.5px; color: var(--cacao-2); text-align: center; }

/* ---------- AVIS (sable) ---------- */
.avis { background: var(--sable); }
.avis .etiquette { color: var(--argile-fonce); }
.avis h2 em { color: var(--argile-fonce); }
.avis .grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.avis blockquote { display: grid; gap: 14px; align-content: start; min-width: 0; }
.avis blockquote p { font: 360 22px/1.38 var(--f-titre); font-variation-settings: "SOFT" 100; }
.avis cite { font-style: normal; font-size: 14.5px; font-weight: 600; }
.avis cite small { display: block; font-weight: 400; color: var(--cacao-2); }
.avis-exemple {
  width: fit-content;
  max-width: 100%;
  margin: -12px 0 36px;
  padding: 8px 14px;
  border: 1px dashed var(--cacao-2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--cacao-2);
  background: rgba(244, 236, 226, .6);
}
.note-globale { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 40px; }
.note-globale[hidden] { display: none; }
.note-globale b { font: 400 64px/1 var(--f-titre); font-variation-settings: "SOFT" 100; }
.etoiles { color: var(--argile-fonce); letter-spacing: 3px; font-size: 15px; }

/* ---------- RÉSERVATION ---------- */
.cadre-resa { background: var(--creme); border-radius: clamp(28px, 4vw, 48px); padding: clamp(22px, 4vw, 56px); }
.annotation {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 8px 14px;
  border: 1px dashed var(--cacao-2);
  border-radius: 8px;
  background: var(--lin);
  font: 500 13px/1.45 var(--f-texte);
  color: var(--cacao-2);
}
.radio-cache { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bascule {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 6px;
  max-width: 100%;
  margin-bottom: 30px;
  padding: 6px;
  border-radius: 999px;
  background: var(--lin);
}
.bascule label {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
}
#mode-outil:checked ~ .bascule label[for="mode-outil"], #mode-site:checked ~ .bascule label[for="mode-site"] { background: var(--accent); color: var(--accent-ink); }
#mode-outil:focus-visible ~ .bascule label[for="mode-outil"], #mode-site:focus-visible ~ .bascule label[for="mode-site"] { outline: 2px solid var(--argile-texte); outline-offset: 2px; }
/* Avec la bascule, un seul panneau à la fois ; sans elle (radios retirés par le rendu), le ou les
   panneaux restants s'affichent. */
.radio-cache ~ .panneau { display: none; }
#mode-outil:checked ~ .p-outil, #mode-site:checked ~ .p-site { display: block; }

.p-outil .deux { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.p-outil h3 { font-size: clamp(28px, 3vw, 40px); }
.p-outil p { margin-top: 12px; color: var(--cacao-2); max-width: 32em; }
.p-outil .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.liste { display: grid; gap: 12px; padding: 22px 26px; border-radius: 26px; background: var(--lin); font-size: 15.5px; }
.liste li { display: flex; gap: 12px; }
.liste li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
.note-choix { margin-top: 22px; font-size: 13.5px; color: var(--cacao-2); }

/* Demande de rendez-vous (formule Standard) : puces au lieu de menus déroulants. */
.demande { display: grid; gap: 26px; min-width: 0; }
.demande legend { padding: 0; margin-bottom: 12px; font: 450 24px/1.2 var(--f-titre); font-variation-settings: "SOFT" 100; }
.demande legend span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--argile-pale);
  font: 600 15px/1 var(--f-texte);
  color: var(--argile-sombre);
  vertical-align: 3px;
}
.puces { display: flex; flex-wrap: wrap; gap: 10px; }
.puce { min-width: 0; }
.puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce label {
  display: grid;
  align-content: center;
  min-height: 50px;
  padding: 8px 18px;
  border-radius: 18px;
  border: 1.5px solid transparent;
  background: var(--lin);
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.puce label:hover { border-color: var(--accent); }
.puce input:checked + label { background: var(--cacao); color: var(--creme); }
.puce input:focus-visible + label { outline: 2px solid var(--argile-texte); outline-offset: 2px; }
.champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 14.5px; font-weight: 500; }
.field__optional { font-weight: 400; color: var(--cacao-2); }
.field__input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--bord);
  border-radius: 14px;
  background: var(--lin);
  font: 400 16px/1.4 var(--f-texte);
  color: var(--cacao);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field__input::placeholder { color: #7A665A; opacity: 1; }   /* 4,9:1 sur le lin des champs */
.field--large { grid-column: 1 / -1; }
textarea.field__input { min-height: 96px; padding-block: 12px; resize: vertical; }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field__error { font: 500 13.5px/1.35 var(--f-texte); color: var(--danger); }
.field__error:empty { display: none; }
.field.has-error .field__input { border-color: var(--danger); }
.valider {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--sable);
}
.form__rgpd { flex: 1 1 22rem; font-size: 13.5px; color: var(--cacao-2); }
.form__rgpd a { color: var(--cacao); }
.form__success {
  flex-basis: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--argile-pale);
  color: var(--cacao);
  font-weight: 500;
}
.form__success[hidden] { display: none; }
.form__success svg { flex: none; margin-top: 2px; }

/* ---------- INFOS PRATIQUES ---------- */
.infos { padding-top: 0; }
.infos__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.infos__grille > div { min-width: 0; }
.infos h3 { font-size: 28px; margin-bottom: 14px; }
.infos .discret { margin-top: 10px; color: var(--cacao-2); }
.infos a { display: block; width: fit-content; max-width: 100%; text-decoration-color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.infos .lien-fleche { margin-top: 14px; font-weight: 600; }
/* « Ouvert aujourd'hui jusqu'à … » : ligne réservée avant que main.js l'écrive (aucun décalage). */
.ouvert { display: block; min-height: 1.6em; margin-bottom: 10px; font-size: 15px; color: var(--cacao-2); }
.ouvert[hidden] { display: none; }
.ouvert b { color: var(--cacao); font-weight: 600; }
.ouvert .pt {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--vert);
  box-shadow: 0 0 0 3px rgba(94, 138, 91, .2);
  vertical-align: .05em;
}
.ouvert .pt--ferme { background: var(--accent); box-shadow: 0 0 0 3px rgba(165, 93, 65, .2); }
/* Jour et horaires trop longs pour une ligne (règle du garage, décision « G1 » du 04/10/2026) :
   la ligne se replie seulement quand ils ne tiennent plus côte à côte. */
.horaires { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.horaires__ligne { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 18px; }
.horaires dt { color: var(--cacao-2); flex: 1 1 0; }
.horaires dd { margin-left: auto; text-align: right; white-space: nowrap; }
.horaires .ferme { color: var(--cacao-2); font-style: italic; }
.horaires__ligne.is-today dt, .horaires__ligne.is-today dd { color: var(--cacao); font-weight: 600; }

/* ---------- PIED DE PAGE (cacao, arrondi en haut) ---------- */
.footer {
  background: var(--cacao);
  color: var(--sable);
  border-radius: var(--arrondi) var(--arrondi) 0 0;
  font: 400 15px/1.55 var(--f-texte);
}
.footer a { text-decoration: none; transition: color var(--t-fast); }
.footer a:hover { color: var(--argile-pale); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: 64px 48px;
}
.footer__logo { display: inline-block; color: var(--lin); }
.footer__nom {
  font-family: var(--f-titre);
  font-variation-settings: "SOFT" 100;
  font-style: italic;
  font-size: 34px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.footer__tagline { margin-block: 14px 18px; max-width: 34ch; }
.footer__call { display: inline-flex; align-items: center; gap: 8px; color: var(--argile-pale); font-weight: 600; font-size: 17px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__col-title {
  margin-bottom: 14px;
  font: 600 12px/1.3 var(--f-texte);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--argile-pale);
}
.footer__col ul { display: grid; gap: 10px; }

/* Ligne du bas : société, copyright, liens légaux. Gouttière du conteneur gardée (jamais de
   padding horizontal à zéro, constat du 03/10/2026). */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(232, 216, 196, .2);
  font-size: 13.5px;
}
.footer__company { flex-basis: 100%; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Fin de page : sous la dernière ligne du pied, la place du bouton « haut de page » (son retrait du
   bas, sa hauteur et 12 px d'air ; sur téléphone, la barre basse en plus). Dès 1349 px, le bouton
   est dans la marge du conteneur : rendu inchangé. */
@media (max-width: 1348px) {
  .footer__bottom { padding-bottom: calc(var(--tt-bas) + 44px + 12px); }
}

/* ---------- BARRE BASSE DU TÉLÉPHONE ---------- */
/* Classe floating-cta en plus : la règle des démos (.to-top,.floating-cta { margin-bottom }) la
   remonte au-dessus du bandeau. Affichée sur téléphone seulement (plus bas). */
.callbar { display: none; }

/* ---------- BOUTON « HAUT DE PAGE » ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: var(--tt-bas);
  z-index: 85;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--creme);
  color: var(--argile-texte);
  border: 1px solid var(--sable);
  box-shadow: 0 12px 26px -12px rgba(61, 42, 34, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med), background var(--t-fast), color var(--t-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- RÉVÉLATIONS AU DÉFILEMENT ----------
   Classe d'apparition is-visible posée par main.js (IntersectionObserver) ; tout de suite avec le
   mouvement réduit ou sans IntersectionObserver. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.galerie figure.reveal:nth-child(2), .avis blockquote.reveal:nth-child(2) { --d: .08s; }
.galerie figure.reveal:nth-child(3), .avis blockquote.reveal:nth-child(3) { --d: .16s; }
.galerie figure.reveal:nth-child(4) { --d: .24s; }

/* ---------- MOUVEMENT (galet qui respire, barres qui poussent) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .barre { animation: pousse 1.1s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left center; }
  .rang:nth-child(2) .barre { animation-delay: .08s; }
  .rang:nth-child(3) .barre { animation-delay: .16s; }
  .rang:nth-child(4) .barre { animation-delay: .24s; }
  .rang:nth-child(5) .barre { animation-delay: .32s; }
  .hero-visuel .grand { animation: respire 9s ease-in-out infinite alternate; }
}
@keyframes pousse { from { transform: scaleX(.35); } to { transform: none; } }
@keyframes respire { from { border-radius: var(--galet-1); } to { border-radius: var(--galet-3); } }

/* =================================================================
   RESPONSIVE
   ================================================================= */

/* Menu replié (burger) jusqu'à 1099 px : la barre dépliée (marque et sous-titre, quatre liens,
   FR/NL/EN, « Réserver ») demande environ 1 000 px en néerlandais. Seuil repris par main.js
   (matchMedia, même requête) : le menu se referme en quittant la plage. */
@media (max-width: 1099px) {
  /* MENU MOBILE : panneau lin plein écran sous l'en-tête, fermé par opacité et visibilité
     seulement (aucun positionnement hors écran : jamais de défilement horizontal). */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 14px var(--gutter) 40px;
    background: var(--lin);
    border-top: 1px solid var(--sable);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
  }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link {
    display: flex;
    min-height: 58px;
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--sable);
    font: 380 30px/1.15 var(--f-titre);
    font-variation-settings: "SOFT" 100;
    letter-spacing: -.01em;
    white-space: normal;
  }
  .nav__link:hover, .nav__link:focus-visible { background: none; color: var(--argile-texte); }

  .nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--cacao);
    text-decoration: none;
    font: 600 18px/1.2 var(--f-texte);
  }
  .nav__phone svg { color: var(--argile-texte); flex-shrink: 0; }

  .nav__cta--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    text-align: center;
    font: 600 16px/1.25 var(--f-texte);
  }

  .nav .lang-switch--mobile { display: inline-flex; align-self: flex-start; }
  .lang-switch--desktop { display: none; }

  .burger { display: flex; }
}

/* MENU TABLETTE : de 601 px au seuil du burger, le panneau devient un tiroir ancré à droite, avec
   un voile cliquable (aucun translateX : pas de défilement horizontal). */
@media (min-width: 601px) and (max-width: 1099px) {
  .nav {
    left: auto;
    width: min(80vw, 420px);
    border-left: 1px solid var(--sable);
    box-shadow: -24px 0 60px -24px rgba(61, 42, 34, .35);
    z-index: 95;                 /* au-dessus du voile (90), sous l'en-tête (100) */
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(61, 42, 34, .38);
    /* Retient le défilement de la page sous le voile (le verrou du body le double). */
    overflow: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-med), visibility var(--t-med);
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
}

/* Tablette : accueil, studio et recos sur une colonne ; galerie sur deux. */
@media (max-width: 1000px) {
  .hero__inner, .studio__grille { grid-template-columns: minmax(0, 1fr); }
  .hero-visuel { max-width: 560px; }
  .reco { grid-template-columns: minmax(0, 1fr); }
  .reco .texte { padding: 4px 8px 12px; }
  .echelle .rang, .graduations { grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avis .grille { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .infos__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio .photo { max-width: 460px; }
}

/* Téléphone : barre basse « Prendre rendez-vous · appel ». Le bouton « haut de page » monte
   au-dessus de la barre (son retrait du bas la compte). */
@media (max-width: 760px) {
  :root {
    --header-h: 68px;
    --tt-bas: calc(var(--callbar-h) + 12px);
  }
  body { font-size: 16px; }
  .hero__inner { padding-top: 18px; gap: 26px; }
  .hero-visuel { padding-bottom: 54px; }
  .pastille { bottom: 10px; left: 0; font-size: 13.5px; padding: 10px 16px 10px 10px; }
  .hero__chapo { font-size: 17.5px; }
  .tarifs { grid-template-columns: minmax(0, 1fr); }
  .tarifs li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; }
  .tarifs li small { grid-row: 2; }
  .tarifs li b { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .echelle .rang { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .graduations { grid-template-columns: minmax(0, 1fr); }
  .graduations > span { display: none; }
  .engagements { grid-template-columns: minmax(0, 1fr); }
  .p-outil .deux { grid-template-columns: minmax(0, 1fr); }
  .bascule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 26px; }
  .bascule label { border-radius: 20px; padding: 6px 12px; }
  .champs, .infos__grille { grid-template-columns: minmax(0, 1fr); }
  .fiche dd { font-size: 21px; }
  .valider .btn { flex: 1 1 100%; }

  .callbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: var(--callbar-h);
    padding: 11px var(--gutter);
    background: rgba(244, 236, 226, .97);
    border-top: 1px solid var(--sable);
    box-shadow: 0 -12px 28px -16px rgba(61, 42, 34, .3);
    transition: opacity var(--t-fast), visibility var(--t-fast);
  }
  .callbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    height: 50px;
    border-radius: 999px;
    text-decoration: none;
    font: 600 15.5px/1.1 var(--f-texte);
    white-space: nowrap;
  }
  .callbar__btn svg { flex-shrink: 0; }
  .callbar__btn--form { padding: 0 14px; background: var(--accent); color: var(--accent-ink); }
  .callbar__btn--tel { width: 50px; background: var(--sable); color: var(--cacao); }
  /* Saisie dans la section de réservation (clavier ouvert) : la barre s'efface pour ne pas couvrir
     le champ ou le bouton d'envoi ; elle revient dès que le focus quitte la section. */
  body.saisie-en-cours .callbar { opacity: 0; visibility: hidden; }
}

/* Petits téléphones */
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .logo__nom { font-size: 29px; }
  .logo__sous { font-size: 10.5px; letter-spacing: .16em; }
  .logo--long .logo__nom { font-size: 21px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .tete h2 { font-size: clamp(34px, 9.4vw, 44px); }
  .reco { border-radius: 28px; }
  .fiche div { padding: 12px 10px 12px 0; }
  .fiche div + div { padding-left: 10px; }
  .fiche dd { font-size: 18px; }
  .envies label { padding: 10px 18px; font-size: 15.5px; }
  .avis blockquote p { font-size: 20px; }
  .p-outil .actions .btn { flex: 1 1 100%; }
}

/* Très petits téléphones : le « Réserver » de l'en-tête s'efface (la barre basse le porte). */
@media (max-width: 400px) {
  .header__cta { display: none; }
  .hero__titre { font-size: 40px; }
  .pastille { max-width: 86%; }
  .callbar__btn--form { font-size: 15px; gap: 6px; }
}

/* Fiche durée / tenue / prix sur deux lignes sous 360 px (« 6 tot 8 wk. » ne tient plus à trois). */
@media (max-width: 359px) {
  .fiche { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fiche div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--sable); }
}

/* Liens du pied sur une colonne de la marque jusqu'à 1024 px, deux colonnes jusqu'à 720 px
   (colonne Contact sur toute la largeur, décision de Charles du 03/10/2026 pour le garage,
   l'artisan et l'agence, même pied ici), une seule jusqu'à 480 px : minmax(0, 1fr) et
   overflow-wrap: anywhere, un e-mail plus long que l'écran passe à la ligne. 1 / -1 et non
   1 / 3 : sous 481 px, sur une colonne, 1 / 3 créerait une colonne vide. */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__inner, .footer__nav { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { overflow-wrap: anywhere; }
}

/* ---------- MOUVEMENT RÉDUIT ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .nav, .nav.is-open { transform: none; }
}

/* Adresse e-mail affichée dans la page (04/10/2026, décision de Charles « E2 ») : le bot pose une
   coupure permise juste après « @ » (<wbr>). Elle ne joue que dans « Nous joindre », sur une
   colonne ; ailleurs (pied de page), la coupure est neutralisée. */
a[href^="mailto:"] wbr, .itx-email wbr { display: none; }
@media (max-width: 760px) {
  .infos a[href^="mailto:"] wbr, .infos .itx-email wbr { display: inline; }
}
