/* ==========================================================================
   Reflet d’Ongles
   Mobile d’abord. Ordre : polices, jetons, base, typographie, composants,
   sections, pages annexes, mouvement, impression.
   ========================================================================== */

/* Polices servies avec le site : sous-ensemble latin, licence SIL OFL (voir assets/fonts/OFL.txt) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/fraunces-roman.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/dm-sans.woff2") format("woff2"); }

/* Repli calé sur la largeur de DM Sans : le texte ne se recompose pas quand la police arrive.
   Georgia a déjà la largeur et la ligne de base de Fraunces, elle n’a pas besoin de réglage. */
@font-face { font-family: "DM Sans repli"; src: local("Arial"), local("Roboto"); size-adjust: 103.5%; }

/* 1. Jetons
   ========================================================================== */

:root {
  color-scheme: only light;

  /* Palette du brief */
  --beige: #f6eee6;
  --beige-soutenu: #eadbcd;
  --rose: #ebc4c9;
  --prune: #5a2748;
  --prune-nuit: #2b1522;
  --blanc-casse: #fff9f5;

  /* Dérivés de la palette : texte secondaire, filets, pointillés */
  --texte-doux: #6d5263;
  --filet: rgb(90 39 72 / .2);
  --filet-fort: rgb(90 39 72 / .45);
  --pointille: rgb(90 39 72 / .5);

  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "DM Sans", "DM Sans repli", "Segoe UI", system-ui, sans-serif;

  /* Quatre tailles de texte, pas une de plus */
  --t-titre: clamp(2.5rem, 12vw, 3.5rem);
  --t-sous-titre: clamp(1.5rem, 1.37rem + .56vw, 1.875rem);
  --t-texte: 1.0625rem;
  --t-petit: .9375rem;

  /* Rythme : mêmes marges entre sections, mêmes écarts dans les blocs */
  --gutter: clamp(1.25rem, 5.5vw, 4.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --bloc-y: clamp(2.5rem, 6vw, 4.5rem);
  --feuille: clamp(1.75rem, 5vw, 3.5rem);
  --rayon: 1.5rem;

  /* Une seule grille sur ordinateur : le contenu à gauche, l’image ou la carte à droite */
  --colonnes: minmax(0, 6.5fr) minmax(0, 4.5fr);
  --colonnes-ecart: clamp(3rem, 7vw, 7rem);

  /* Hauteur de la barre fixe du téléphone : réservée au bas du pied de page */
  --barre-h: calc(4.25rem + 1px);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 720px) {
  :root { --barre-h: 0px; }
}

/* Sur ordinateur, le titre grandit avec l’écran jusqu’à 80 px */
@media (min-width: 1000px) {
  :root { --t-titre: clamp(3.5rem, 5.6vw, 5rem); }
}

/* 2. Base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--beige);
  font-synthesis: none;
  scroll-padding-bottom: calc(var(--barre-h) + 1rem);
}

body {
  margin: 0;
  background: var(--beige);
  color: var(--prune-nuit);
  font: 400 var(--t-texte)/1.55 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, p, dl, dd, figure, address { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--prune);
  outline-offset: 3px;
}

main:focus { outline: none; }

::selection { background: var(--rose); color: var(--prune-nuit); }

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

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nb { white-space: nowrap; }

.skip-link {
  position: fixed;
  z-index: 30;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--prune);
  color: var(--blanc-casse);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; outline-offset: 2px; }

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

/* 3. Typographie
   ========================================================================== */

.display {
  color: var(--prune);
  font: 400 var(--t-titre)/1.05 var(--f-titre);
  letter-spacing: -.012em;
  text-wrap: balance;
}

.titre {
  color: var(--prune);
  font: 500 var(--t-sous-titre)/1.2 var(--f-titre);
  text-wrap: balance;
}

/* Le nom du salon, composé en Fraunces : c’est le logo. Même dessin de lettre
   à toutes les tailles, approche un peu ouverte, apostrophe dégagée du « d ». */
.logo {
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  letter-spacing: -.005em;
  white-space: nowrap;
}

.logo em { font-style: italic; }

.logo__apo {
  margin-left: .045em;
  margin-right: .015em;
}

/* En petit (en-tête des pages annexes, pied de page), le trait s’épaissit pour rester net */
.logo--petit {
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  letter-spacing: 0;
}

.label {
  color: var(--prune);
  font: 600 var(--t-texte)/1.35 var(--f-texte);
}

p { text-wrap: pretty; }

/* Lien de texte : souligné fin, qui se renforce au survol */
.lien {
  color: var(--prune);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--filet-fort);
  text-underline-offset: .3em;
  transition: text-decoration-color .2s linear;
}

.lien--sortie {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 2.75rem;
}

.lien .ico { flex: none; width: 1.15em; height: 1.15em; }

@media (hover: hover) {
  .lien:hover { text-decoration-color: currentColor; }
}

/* 4. Composants
   ========================================================================== */

/* Boutons « Appeler » et « Envoyer un SMS » : toujours ensemble */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 3.25rem;
  padding: .5rem 1.6rem;
  border: 1.5px solid var(--prune);
  border-radius: 999px;
  background: var(--prune);
  color: var(--blanc-casse);
  font: 500 var(--t-texte)/1.2 var(--f-texte);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s linear, border-color .2s linear, color .2s linear;
}

.btn--clair {
  background: transparent;
  color: var(--prune);
}

.btn .ico { flex: none; width: 1.2em; height: 1.2em; }

@media (hover: hover) {
  .btn:hover { border-color: var(--prune-nuit); background: var(--prune-nuit); }
  .btn--clair:hover { border-color: var(--prune); background: var(--rose); color: var(--prune-nuit); }
}

.btn:active { border-color: var(--prune-nuit); background: var(--prune-nuit); }
.btn--clair:active { border-color: var(--prune); background: var(--rose); color: var(--prune-nuit); }

/* Les deux boutons dans la page, avec le numéro en clair sur ordinateur */
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.contact .numero { margin-left: .75rem; }

/* Sur téléphone : les deux boutons côte à côte sur toute la largeur, comme dans
   la barre fixe. Le numéro en clair de l’accueil est réservé à l’ordinateur. */
@media (max-width: 719px) {
  .contact .btn { flex: 1 1 0; min-width: 0; padding-inline: .5rem; }
  .contact .btn + .btn { flex-grow: 1.45; }
  .accueil .contact .numero { display: none; }
}

@media (max-width: 359px) {
  .contact .ico { display: none; }
}

.numero {
  color: var(--prune);
  font: 500 var(--t-sous-titre)/1.2 var(--f-texte);
  text-decoration: none;
  white-space: nowrap;
}

a.numero {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (hover: hover) {
  a.numero:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
  }
}

/* Une étiquette, pas un bouton : pleine et rose, sans contour */
.pastille {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 .9rem;
  border-radius: 999px;
  background: var(--rose);
  color: var(--prune);
  font-size: var(--t-petit);
  font-weight: 500;
  white-space: nowrap;
}

/* Horaire du jour : sans JavaScript, un simple lien vers les horaires */
.etat {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 2.75rem;
  font-size: var(--t-petit);
  white-space: nowrap;
}

.etat[data-ouvert]::before {
  content: "";
  flex: none;
  width: .6em;
  height: .6em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.etat[data-ouvert="true"]::before { background: currentColor; }

/* Photos en arche. Le fond rose tient la place tant que l’image charge. */
.arche {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% var(--arche-pied, 1.5rem) var(--arche-pied, 1.5rem) / var(--arche-haut, 40%) var(--arche-haut, 40%) var(--arche-pied, 1.5rem) var(--arche-pied, 1.5rem);
  background: var(--rose);
}

.arche img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Le fin filet qui double l’arche, comme le cadre d’un miroir.
   Devanture recadrée sans la route : une arche surbaissée suit le haut de
   l’enseigne sans jamais la couper, aux proportions exactes de la photo. */
.arche--miroir {
  --arche-haut: 13%;
  aspect-ratio: 1170 / 1351;
  max-width: 28rem;
  outline: 1px solid var(--filet-fort);
  outline-offset: .5rem;
}

/* Photos du salon : cadres aux angles arrondis, pour garder entiers le fauteuil
   et les lustres qui touchent les bords de l’image */
.cadre {
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--rose);
}

.cadre img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cadre--fauteuil,
.cadre--poste { aspect-ratio: 3 / 4; }
.cadre--etagere { aspect-ratio: 9 / 16; }

/* Lignes à pointillés : tarifs et horaires. Le nom et la valeur masquent les
   points sous eux ; les points partent tous du même bord, donc ils s’alignent
   d’une ligne à l’autre. */
.lignes {
  display: grid;
  row-gap: .75rem;
}

.ligne {
  position: relative;
  padding-right: var(--col-valeur, 4.6em);
  line-height: 1.4;
  background: radial-gradient(circle, var(--pointille) .9px, transparent 1.2px) repeat-x left 0 bottom .36em / 7px 3px;
  text-wrap: balance;
}

/* Les masques finissent en fondu : aucun point n’est coupé net */
.ligne dt {
  display: inline;
  padding-right: .9em;
  background: linear-gradient(to right, var(--fond) calc(100% - .5em), transparent);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* La valeur reste sur la dernière ligne du nom, jamais seule à la ligne */
.ligne dd {
  position: absolute;
  right: 0;
  bottom: 0;
  padding-left: .9em;
  background: linear-gradient(to left, var(--fond) calc(100% - .5em), transparent);
  font-weight: 600;
  white-space: nowrap;
}

.carte {
  --fond: var(--rose);
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: var(--rayon);
  background: var(--rose);
}

/* Barre fixe du téléphone */
.barre {
  position: fixed;
  z-index: 20;
  inset: auto 0 0;
  display: flex;
  gap: .625rem;
  padding: .625rem .75rem calc(.625rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--filet);
  background: rgb(246 238 230 / .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.barre .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 3rem;
  padding-inline: .5rem;
}

/* « Envoyer un SMS » est plus long : il reçoit plus de place, les marges restent égales */
.barre .btn:last-child { flex-grow: 1.45; }

/* Sur les plus petits téléphones, les libellés seuls : rien ne touche le contour */
@media (max-width: 359px) {
  .barre .ico { display: none; }
}

/* Avec JavaScript, la barre n’apparaît qu’une fois les boutons de l’accueil
   sortis de l’écran : pas de doublon, la devanture reste dégagée.
   Masquée, elle n’est ni visible ni atteignable au clavier. */
.js .barre {
  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .3s linear, transform .35s var(--ease), visibility 0s .35s;
}

.js .barre.est-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .3s linear, transform .35s var(--ease), visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .js .barre,
  .js .barre.est-visible { transition: none; }
}

@media (min-width: 720px) {
  .barre { display: none; }
}

/* 5. En-tête et accueil
   ========================================================================== */

.top { padding-top: calc(.75rem + env(safe-area-inset-top)); }

.nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
}

/* Zone tactile de 44 px par les marges internes, sans casser le texte du lien.
   La marge négative garde le texte aligné sur le bord de la page. */
.nav a {
  display: inline-block;
  margin-inline: -.375rem;
  padding: calc((2.75rem - 1.5em) / 2) .375rem;
  color: var(--prune);
  font-size: var(--t-petit);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.nav__long { display: none; }

@media (hover: hover) {
  .nav a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .35em;
  }
}

.accueil { padding-block: 1.75rem calc(var(--section-y) + var(--feuille)); }

.accueil__grille {
  display: grid;
  row-gap: 2.75rem;
}

.accroche {
  max-width: 19em;
  margin-top: 1rem;
  color: var(--prune);
  font: italic 400 var(--t-sous-titre)/1.3 var(--f-titre);
  text-wrap: balance;
}

/* Sur téléphone, la mention et l’horaire du jour sont toujours sur deux lignes :
   rien ne bouge quand le script remplace « Voir les horaires » par l’horaire */
.accueil__reperes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .125rem 1rem;
  margin-top: 1.25rem;
}

.accueil .contact { margin-top: 1.75rem; }

/* 6. Sections : des feuilles aux angles arrondis, posées l’une sur l’autre
   ========================================================================== */

.section {
  --fond: var(--beige);
  position: relative;
  margin-top: calc(-1 * var(--feuille));
  padding-block: var(--section-y) calc(var(--section-y) + var(--feuille));
  border-radius: var(--feuille) var(--feuille) 0 0;
  background: var(--fond);
}

.section--soutenu { --fond: var(--beige-soutenu); }

.section > .shell > .display + *,
.salon__mots { margin-top: var(--bloc-y); }

/* 7. Prestations et tarifs
   ========================================================================== */

.bloc + .bloc { margin-top: clamp(3.5rem, 8vw, 6rem); }

.bloc__groupes { margin-top: 1.75rem; }

.groupe {
  padding-block: 1.75rem;
  border-top: 1px solid var(--filet);
}

.groupe:last-child { padding-bottom: 0; }

/* Discrète : plus petite et plus claire, les prix se lisent en premier */
.groupe__desc {
  margin-top: .4rem;
  color: var(--texte-doux);
  font-size: var(--t-petit);
  line-height: 1.5;
}

/* Les prix passent toujours sous la vignette, sur toute la largeur */
.groupe .lignes {
  clear: both;
  margin-top: 1.1rem;
}

/* Vignettes du groupe : petites, à droite de la description, sous le titre.
   Une ou deux côte à côte, même taille partout ; elles occupent la hauteur
   de la description et n’éloignent pas les prix du titre. */
.vignettes {
  display: flex;
  gap: .375rem;
  float: right;
  margin: .5rem 0 0 1rem;
}

.vignette {
  --arche-pied: .75rem;
  flex: none;
  width: 3.5rem;
}

.notes {
  display: grid;
  gap: .5rem 2rem;
  margin-top: .75rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--rayon);
  background: var(--rose);
}

.notes p { text-wrap: balance; }

/* 8. Le salon
   ========================================================================== */

.salon {
  display: grid;
  row-gap: var(--bloc-y);
}

/* Téléphone : le fauteuil en grand, puis le poste et l’étagère côte à côte.
   Les colonnes suivent les proportions des photos : même hauteur pour les deux. */
.salon__photos {
  display: grid;
  grid-template-columns: 4fr 3fr;
  gap: .75rem;
}

.salon__photos .cadre--fauteuil { grid-column: 1 / -1; }

.salon__mots { max-width: 34rem; }
.salon__mots p + p { margin-top: 1rem; }

.salon__mots .signature {
  margin-top: 1.75rem;
  color: var(--prune);
  font: italic 400 var(--t-sous-titre)/1.2 var(--f-titre);
}

/* 9. Infos pratiques
   ========================================================================== */

.infos {
  display: grid;
  gap: 2rem;
}

/* Le lien « horaire du jour » de l’accueil y mène : la carte garde de l’air au-dessus */
.horaires { scroll-margin-top: 1.5rem; }

.horaires .lignes {
  --col-valeur: 6em;
  margin-top: 1rem;
}

.horaires .ligne dd { font-weight: 500; }

.horaires .ligne[aria-current] dt,
.horaires .ligne[aria-current] dd {
  color: var(--prune);
  font-weight: 600;
}

/* Une ligne par information, séparées par le même filet que les tarifs */
.info {
  padding-block: 1.5rem;
  border-top: 1px solid var(--filet);
}

.info:first-child { padding-top: 0; border-top: 0; }
.info:last-child { padding-bottom: 0; }

.info__corps { margin-top: .35rem; }
.info__corps > * + * { margin-top: .35rem; }
.info__corps li { text-wrap: balance; }
.info .contact { margin-top: 1rem; }

/* 11. Pied de page
   ========================================================================== */

.pied {
  position: relative;
  margin-top: calc(-1 * var(--feuille));
  padding-block: 3rem calc(2.5rem + var(--barre-h) + env(safe-area-inset-bottom));
  border-radius: var(--feuille) var(--feuille) 0 0;
  background: var(--prune);
  color: var(--blanc-casse);
  font-size: var(--t-petit);
  line-height: 1.6;
}

.pied__nom {
  margin-bottom: .6rem;
  font-size: var(--t-sous-titre);
  line-height: 1.2;
}

.pied a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgb(255 249 245 / .5);
  text-underline-offset: .3em;
  transition: text-decoration-color .2s linear;
}

/* Un filet sépare les coordonnées des mentions */
.pied__liens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 2rem;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid rgb(255 249 245 / .22);
}

.pied :focus-visible { outline-color: var(--blanc-casse); }

/* L’anneau suit la zone tactile de 44 px sans déborder sur « Site créé par » */
.pied a:focus-visible { outline-offset: 0; }

@media (hover: hover) {
  .pied a:hover { text-decoration-color: currentColor; }
}

/* 12. Pages annexes : mentions légales
   ========================================================================== */

.sans-barre { --barre-h: 0px; }

.entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding-top: calc(.75rem + env(safe-area-inset-top));
}

.marque {
  display: inline-block;
  padding-block: calc((2.75rem - 1.2em) / 2);
  color: var(--prune);
  font-size: var(--t-sous-titre);
  line-height: 1.2;
  text-decoration: none;
}

.entete .lien {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--t-petit);
}

.legal { padding-block: clamp(2.5rem, 7vw, 5rem) calc(var(--section-y) + var(--feuille)); }
.legal__corps { max-width: 40rem; }

.legal h2 {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--filet);
}

.legal h1 + h2 { margin-top: var(--bloc-y); }
.legal p { margin-top: .6rem; }

/* Le numéro garde une zone tactile de 44 px sans écarter les lignes */
.legal p .lien {
  display: inline-block;
  margin-block: calc((1.55em - 2.75rem) / 2);
  padding-block: calc((2.75rem - 1.55em) / 2);
}

/* 13. Tablette et ordinateur
   ========================================================================== */

@media (min-width: 480px) {
  .nav__long { display: inline; }
}

@media (min-width: 720px) {
  .nav ul { column-gap: 2rem; }

  .accueil__reperes {
    flex-direction: row;
    align-items: center;
  }

  /* Tablette : le texte à gauche, l’arche à droite, sur toute la largeur.
     L’ordinateur reprend la même disposition avec sa propre grille. */
  .accueil__grille {
    grid-template-columns: minmax(0, 1fr) clamp(13.5rem, 31vw, 19rem);
    column-gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
  }

  /* Vignette alignée sur le haut du titre du groupe, à peine plus haute
     que le titre et la description : les prix ne bougent pas */
  .vignettes {
    margin-top: calc(-1.35 * var(--t-texte));
    margin-left: 1.5rem;
  }

  .vignette { width: 4rem; }

  /* Les trois photos du salon sur un rang, à la même hauteur */
  .salon__photos {
    grid-template-columns: 4fr 4fr 3fr;
    gap: clamp(1rem, 2.2vw, 2rem);
  }

  .salon__photos .cadre--fauteuil { grid-column: auto; }

  /* Faute de place à côté des boutons, le numéro passe dessous */
  .accueil .contact .numero {
    flex-basis: 100%;
    margin-left: 0;
  }

  /* Les deux notes côte à côte : la carte est remplie, sans ligne orpheline */
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Le libellé à gauche, l’information à droite, sur la même ligne de base */
  .info {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    column-gap: 2rem;
    align-items: baseline;
  }

  .info__corps { margin-top: 0; }

  /* Les mentions passent à droite, sur la ligne du téléphone */
  .pied__grille {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .pied__liens {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}

@media (min-width: 1000px) {
  .top { padding-top: 1.75rem; }
  .accueil { padding-top: 0; }

  .accueil__grille,
  .infos {
    grid-template-columns: var(--colonnes);
    column-gap: var(--colonnes-ecart);
  }

  /* La photo remonte à hauteur de la navigation */
  .accueil__photo { margin-top: -2.75rem; }

  /* Tarifs : les groupes sur deux colonnes, chacun sous son filet */
  .bloc__groupes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 3rem clamp(3rem, 6vw, 6rem);
  }

  .groupe { padding-bottom: 0; }

  /* Les notes communes prennent la place libre à côté du soin des pieds,
     leur haut aligné sur le filet du groupe voisin */
  .bloc__groupes .notes {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .bloc__groupes .notes p { text-wrap: pretty; }

  /* Descriptions sur trois lignes : la vignette peut grandir un peu */
  .vignette { width: 5rem; }

  /* Le salon : le titre à gauche, le texte d’Anne-Lise à droite, puis les photos */
  .salon__texte {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: var(--colonnes-ecart);
    align-items: start;
  }

  .salon__texte .salon__mots { margin-top: .75rem; }

  /* Le premier filet s’aligne sur le haut de la carte des horaires,
     et « Adresse » sur « Horaires » */
  .infos { align-items: start; }
  .infos__liste { grid-area: 1 / 1; }
  .horaires { grid-area: 1 / 2; padding-top: calc(1.5rem + 1px); }
  .horaires > .label { line-height: 1.55; }
  .info:first-child { padding-top: 1.5rem; border-top: 1px solid var(--filet); }
}

/* Le numéro ne revient à côté des boutons que lorsque la colonne peut les loger */
@media (min-width: 1360px) {
  .accueil .contact .numero {
    flex-basis: auto;
    margin-left: .75rem;
  }
}

/* 14. Mouvement : apparitions légères, jamais si le visiteur les refuse
   ========================================================================== */

.reveal {
  transition: opacity .7s linear, transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.reveal.is-hidden {
  opacity: 0;
  transform: translateY(.875rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .accueil__texte > *,
  .accueil__photo { animation: entree .7s var(--ease) both; }

  .accueil__texte > :nth-child(2) { animation-delay: .06s; }
  .accueil__texte > :nth-child(3) { animation-delay: .12s; }
  .accueil__texte > :nth-child(4) { animation-delay: .18s; }
  .accueil__photo { animation-delay: .12s; }

  @keyframes entree {
    from { opacity: 0; transform: translateY(.75rem); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
}

/* 15. Contraste forcé et impression
   ========================================================================== */

@media (forced-colors: active) {
  .ligne { background: none; }
  .arche,
  .cadre { border: 1px solid CanvasText; }
}

@media print {
  .top,
  .barre,
  .skip-link { display: none !important; }

  .reveal.is-hidden { opacity: 1; transform: none; }

  body,
  .section,
  .pied,
  .carte,
  .notes {
    --fond: #fff;
    background: #fff;
    color: #000;
  }

  .section,
  .pied { margin-top: 0; border-radius: 0; }
}
