/* ==========================================================================
   Ruski Beauty Salon, Rabat
   Kit: noir #0B0F12, bleu signature #AEEFFF, gris clair #E6F3F5, gris #8A8F95.
   Montserrat partout. Formes: angles nets, cercles pour les pastilles.

   REGLE D'ARCHITECTURE: aucun porteur de texte n'est jamais a opacity:0.
   Les seules choses animees a l'entree sont des filets et des halos.
   ========================================================================== */

:root {
  /* kit */
  --bleu: #AEEFFF;
  --noir: #0B0F12;
  --gris-clair: #E6F3F5;
  --gris: #8A8F95;

  /* surfaces derivees du noir du kit */
  --noir-leve: #111619;
  --noir-carte: #141A1E;
  --encre-claire: #F2FAFC;

  --filet: rgba(230, 243, 245, .14);
  --filet-fort: rgba(174, 239, 255, .40);
  --halo: rgba(174, 239, 255, .22);

  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gout: clamp(20px, 5vw, 60px);
  --section: clamp(76px, 9vw, 132px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--encre-claire);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--bleu); color: var(--noir); }

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

/* --------------------------------------------------------------- typo --- */

h1, h2, h3 { margin: 0; font-weight: 300; }

.h1 {
  font-size: clamp(34px, 6.4vw, 78px);
  line-height: 1.04;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 200;
}

.h2 {
  font-size: clamp(25px, 3.4vw, 44px);
  line-height: 1.16;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.h3 {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 400;
}

.sur {
  display: block;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--bleu);
  font-weight: 400;
  margin-bottom: 20px;
}

p { margin: 0 0 18px; color: rgba(242, 250, 252, .78); }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(242, 250, 252, .86); }
.mini { font-size: 13.5px; letter-spacing: .02em; color: var(--gris); }

/* Le filet anime: c'est une ligne de 1px, jamais un porteur de texte.
   Etat par defaut = VISIBLE. Seul html.js-anim, pose par un script inline
   dans le <head>, autorise l'etat masque. Sans JS, rien ne disparait. */
.filet {
  display: block;
  height: 1px;
  width: 64px;
  background: var(--bleu);
  margin: 22px 0 0;
  transform-origin: left center;
  transition: transform .9s var(--ease);
}
.js-anim .filet { transform: scaleX(0); }
.js-anim .filet.is-in { transform: scaleX(1); }
.filet--centre { margin-left: auto; margin-right: auto; transform-origin: center; }

/* ------------------------------------------------------------- layout --- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gout); }

.section { padding: var(--section) 0; position: relative; }
.section--leve { background: var(--noir-leve); }
.section--clair { background: var(--gris-clair); color: var(--noir); }
.section--clair p { color: rgba(11, 15, 18, .74); }
.section--clair .sur { color: #2C7E93; }
.section--clair .mini { color: #5E6B70; }
.section--serre { padding: clamp(56px, 6vw, 88px) 0; }

.tete { max-width: 760px; }
.tete--centre { margin: 0 auto; text-align: center; }

/* ---------------------------------------------------------------- halo ---
   L'element signature du kit. Pur decor, aucun texte a l'interieur.        */

.halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--bleu) 0%, rgba(174, 239, 255, .55) 38%, rgba(174, 239, 255, 0) 70%);
  filter: blur(18px);
  opacity: .30;
  z-index: 0;
  animation: haloRespire 9s ease-in-out infinite alternate;
}

@keyframes haloRespire {
  from { transform: scale(1); opacity: .22; }
  to   { transform: scale(1.14); opacity: .40; }
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--bleu);
  border-radius: 0;
  background: transparent;
  color: var(--bleu);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

/* Le balayage cyan. Pseudo-element decoratif, le libelle reste lisible. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bleu);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--noir); box-shadow: 0 0 34px rgba(174, 239, 255, .28); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }

.btn--plein { background: var(--bleu); color: var(--noir); }
.btn--plein::before { background: var(--encre-claire); }
.btn--plein:hover, .btn--plein:focus-visible { color: var(--noir); }

.btn--sombre { border-color: rgba(11, 15, 18, .34); color: var(--noir); }
.btn--sombre::before { background: var(--noir); }
.btn--sombre:hover, .btn--sombre:focus-visible { color: var(--gris-clair); box-shadow: none; }

.btn--large { width: 100%; }

.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* --------------------------------------------------------------- nav --- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px var(--gout);
  transition: padding .4s var(--ease);
}

/* Le fond vit sur un pseudo-element: il peut donc etre neutralise quand le
   menu plein ecran est ouvert, sans creer de bloc conteneur sur .nav. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 18, .90);
  border-bottom: 1px solid var(--filet);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.nav.is-stuck::before { opacity: 1; }
.nav.is-stuck { padding-top: 13px; padding-bottom: 13px; }

.nav__logo { display: inline-flex; align-items: center; justify-self: start; position: relative; z-index: 2; }
.nav__logo img { width: 134px; height: auto; transition: width .4s var(--ease); }
.nav.is-stuck .nav__logo img { width: 116px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  position: relative;
  z-index: 2;
}

.nav__fin { display: flex; align-items: center; gap: 14px; justify-self: end; position: relative; z-index: 130; }
.nav__menu-cta { display: none; }

.nav__links a {
  position: relative;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .20em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(242, 250, 252, .82);
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bleu);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--bleu); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.nav__links a.active { color: var(--bleu); }
.nav__links a.active::after { transform: scaleX(1); }

.nav__cta-bar { min-height: 42px; padding: 0 22px; font-size: 10.5px; }

.nav__burger {
  display: none;
  position: relative;
  z-index: 130;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--filet);
  background: transparent;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px; height: 1px;
  margin: 4px auto;
  background: var(--encre-claire);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 148px 0 104px;
  overflow: hidden;
}

/* La photo occupe tout le hero. Le voile la ramene vers le noir du kit a
   gauche, ou se pose le texte, et la laisse respirer a droite. */
.hero__fond { position: absolute; inset: 0; z-index: 0; }
.hero__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 52%;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11, 15, 18, .95) 0%, rgba(11, 15, 18, .86) 34%, rgba(11, 15, 18, .34) 72%, rgba(11, 15, 18, .62) 100%),
    linear-gradient(to bottom, rgba(11, 15, 18, .86) 0%, rgba(11, 15, 18, .12) 26%, rgba(11, 15, 18, .12) 58%, rgba(11, 15, 18, .90) 100%);
  pointer-events: none;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}

.hero__halo {
  width: min(680px, 86vw);
  height: min(680px, 86vw);
  left: -16%;
  top: 12%;
  z-index: 1;
}

.hero__wrap { position: relative; z-index: 2; }
.hero__texte { max-width: 640px; }
.hero__texte p { max-width: 46ch; }

.hero__signature {
  position: absolute;
  right: var(--gout);
  bottom: 38px;
  z-index: 2;
  padding: 11px 17px;
  border: 1px solid var(--filet);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 10px;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--bleu);
}

.hero__bas {
  position: absolute;
  left: var(--gout);
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gris);
  z-index: 2;
}
.hero__bas i {
  display: block;
  width: 34px; height: 1px;
  background: var(--gris);
  animation: fileGlisse 2.6s ease-in-out infinite;
}
@keyframes fileGlisse {
  0%, 100% { transform: scaleX(1); opacity: .5; }
  50%      { transform: scaleX(1.7); opacity: 1; }
}

/* ------------------------------------------------------------ marquee --- */

.bande-def {
  position: relative;
  padding: 26px 0;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  background: var(--noir-leve);
  overflow: hidden;
}
.bande-def__piste {
  display: flex;
  width: max-content;
  animation: defile 38s linear infinite;
}
.bande-def:hover .bande-def__piste { animation-play-state: paused; }
.bande-def__groupe {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242, 250, 252, .62);
  white-space: nowrap;
}
.bande-def__groupe b { font-weight: 300; }
.bande-def__groupe i { color: var(--bleu); font-style: normal; }

@keyframes defile {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------- prestations --- */

.presta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--filet);
  border: 1px solid var(--filet);
  margin-top: 56px;
}

.presta__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 38px 32px 42px;
  background: var(--noir);
  transition: background .45s var(--ease), transform .45s var(--ease);
}
.presta__item:hover { background: var(--noir-carte); transform: translateY(-4px); }

.presta__rond {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border: 1px solid var(--filet-fort);
  border-radius: 50%;
  color: var(--bleu);
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.presta__item:hover .presta__rond {
  border-color: var(--bleu);
  box-shadow: 0 0 26px rgba(174, 239, 255, .34), inset 0 0 18px rgba(174, 239, 255, .12);
  transform: scale(1.06);
}
.presta__rond svg { width: 26px; height: 26px; display: block; }

.presta__item p { font-size: 14.5px; margin: 0; }

.presta__trait {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bleu);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease);
}
.presta__item:hover .presta__trait { transform: scaleX(1); }

/* Fiches detaillees, page Prestations */
.fiches { display: grid; gap: 1px; background: var(--filet); border: 1px solid var(--filet); margin-top: 56px; }

.fiche {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  background: var(--noir);
}
.fiche:nth-child(even) .fiche__media,
.fiche:nth-child(even) .fiche__sans { order: 2; }

.fiche__media { position: relative; overflow: hidden; background: var(--noir-leve); min-height: 260px; }
.fiche__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.fiche:hover .fiche__media img { transform: scale(1.05); }

.fiche__sans {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--noir-leve);
  overflow: hidden;
}
.fiche__sans .halo { width: 74%; height: 74%; left: 13%; top: 13%; }
.fiche__sans svg { width: 74px; height: 74px; color: var(--bleu); position: relative; z-index: 2; }

.fiche__texte { padding: clamp(30px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.fiche__texte p { max-width: 54ch; }

/* -------------------------------------------------------- bande photo --- */

.bandphoto { position: relative; overflow: hidden; height: clamp(300px, 46vw, 520px); }
.bandphoto img {
  width: 100%;
  height: 128%;
  object-fit: cover;
  object-position: center 32%;
  will-change: transform;
}
.bandphoto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 15, 18, .62), rgba(11, 15, 18, .30) 45%, rgba(11, 15, 18, .78));
  pointer-events: none;
}
.bandphoto__mot {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gout);
  font-size: clamp(15px, 2.5vw, 30px);
  font-weight: 200;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--encre-claire);
}

/* ---------------------------------------------------------- expertise --- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}
.split__media { position: relative; }
.split__media .halo { width: 66%; height: 66%; right: -12%; bottom: -10%; }
.split__media img { position: relative; z-index: 2; border: 1px solid var(--filet); width: 100%; }

.points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 1px; background: var(--filet); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.points li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 4px;
  background: var(--noir);
  font-size: 14.5px;
  color: rgba(242, 250, 252, .80);
}
.section--clair .points li { background: var(--gris-clair); color: rgba(11, 15, 18, .78); }
.points b {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--bleu);
}
.section--clair .points b { color: #2C7E93; }

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

.avis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--filet); border: 1px solid var(--filet); margin-top: 56px; }

.avis__item {
  position: relative;
  padding: 36px 30px 32px;
  background: var(--noir);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .45s var(--ease);
}
.avis__item:hover { background: var(--noir-carte); }
.avis__item::before {
  content: "";
  position: absolute;
  left: 30px; top: 0;
  width: 26px; height: 1px;
  background: var(--bleu);
  transition: width .5s var(--ease);
}
.avis__item:hover::before { width: 64px; }

.avis__item blockquote { margin: 0; font-size: 15px; line-height: 1.75; color: rgba(242, 250, 252, .84); font-style: normal; }
.avis__nom { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gris); margin-top: auto; }

/* ----------------------------------------------------------- galerie --- */

/* Mosaique en colonnes: chaque tuile garde son ratio natif, et un nombre
   impair de photos ne laisse pas de trou en fin de grille. */
.mosaique { columns: 3; column-gap: 14px; margin-top: 56px; }

.tuile {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--noir-leve);
  border: 1px solid var(--filet);
  text-decoration: none;
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.tuile img { width: 100%; transition: transform 1s var(--ease), filter .5s var(--ease); }
.tuile:hover, .tuile:focus-visible { border-color: var(--filet-fort); box-shadow: 0 0 34px rgba(174, 239, 255, .20); }
.tuile:hover img, .tuile:focus-visible img { transform: scale(1.06); filter: brightness(1.06); }

.tuile__voir {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(11, 15, 18, .92), rgba(11, 15, 18, 0));
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bleu);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tuile:hover .tuile__voir, .tuile:focus-visible .tuile__voir { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------- bande CTA --- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--noir-leve);
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}
.cta .halo { width: min(760px, 96vw); height: min(760px, 96vw); left: 50%; top: 50%; margin-left: calc(min(760px, 96vw) / -2); margin-top: calc(min(760px, 96vw) / -2); opacity: .18; }
.cta .wrap { position: relative; z-index: 2; }
.cta .btns { justify-content: center; }
.cta p { margin-left: auto; margin-right: auto; max-width: 52ch; }

/* -------------------------------------------------------- tete de page --- */

.tetepage {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 19vw, 220px) 0 clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--filet);
}
.tetepage .halo { width: min(560px, 82vw); height: min(560px, 82vw); right: -8%; top: -18%; }
.tetepage .wrap { position: relative; z-index: 2; }
.tetepage p { max-width: 58ch; }

/* ------------------------------------------------------------ contact --- */

.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }

.coord { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--filet); border: 1px solid var(--filet); }
.coord li { background: var(--noir); padding: 26px 28px; }
.coord b { display: block; font-size: 10px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--bleu); margin-bottom: 10px; }
.coord a { color: var(--encre-claire); text-decoration: none; border-bottom: 1px solid var(--filet-fort); transition: color .3s var(--ease), border-color .3s var(--ease); }
.coord a:hover, .coord a:focus-visible { color: var(--bleu); border-color: var(--bleu); }

.carte { position: relative; border: 1px solid var(--filet); background: var(--noir-leve); min-height: 380px; }
.carte iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.86); }

/* ------------------------------------------------------------- footer --- */

.pied { position: relative; overflow: hidden; background: var(--noir); border-top: 1px solid var(--filet); padding: clamp(56px, 7vw, 82px) 0 30px; }
.pied .halo { width: min(520px, 80vw); height: min(520px, 80vw); left: 50%; bottom: -46%; margin-left: calc(min(520px, 80vw) / -2); opacity: .14; }
.pied .wrap { position: relative; z-index: 2; }

.pied__haut { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, .9fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pied__logo img { width: 190px; height: auto; }
.pied__logo p { margin-top: 20px; font-size: 13.5px; max-width: 34ch; }

.pied h4 { margin: 0 0 18px; font-size: 10px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--bleu); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pied ul a, .pied__coord a { font-size: 13.5px; text-decoration: none; color: rgba(242, 250, 252, .74); transition: color .3s var(--ease); }
.pied ul a:hover, .pied ul a:focus-visible, .pied__coord a:hover, .pied__coord a:focus-visible { color: var(--bleu); }
.pied__coord { font-size: 13.5px; color: rgba(242, 250, 252, .74); }
.pied__coord p { color: inherit; margin-bottom: 11px; }

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--filet);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--gris);
}
/* Credit Propulse: majuscules, jamais souligne, via CSS uniquement. */
.pied__bas a { color: var(--gris); text-decoration: none; text-transform: uppercase; letter-spacing: .18em; transition: color .3s var(--ease); }
.pied__bas a:hover, .pied__bas a:focus-visible { color: var(--bleu); }

/* ================================================== modale reservation ===
   Architecture de scroll copiee de .claude/rules/booking-modal.md.
   Reskin: couleurs, filets, typo. La mecanique ne bouge pas.            */

.rsv {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.rsv[hidden] { display: none; }

.rsv__backdrop { position: fixed; inset: 0; background: rgba(4, 7, 9, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 0; padding: 0; cursor: pointer; animation: rsvFond .4s var(--ease) both; }
@keyframes rsvFond { from { opacity: 0; } to { opacity: 1; } }

.rsv__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: minmax(0, 1fr);
  width: min(940px, calc(100vw - 40px));
  margin: auto;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  background: var(--noir-carte);
  border: 1px solid var(--filet-fort);
  box-shadow: 0 0 80px rgba(174, 239, 255, .12);
  animation: rsvMonte .45s var(--ease) both;
}
@keyframes rsvMonte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.rsv__aside {
  min-height: 0;
  overflow-y: auto;
  position: relative;
  padding: 34px 30px;
  background: var(--noir);
  border-right: 1px solid var(--filet);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rsv__aside .halo { width: 300px; height: 300px; left: -28%; bottom: -14%; opacity: .26; }
.rsv__aside > * { position: relative; z-index: 2; }
.rsv__aside img { width: 128px; height: auto; }
.rsv__aside p { font-size: 13.5px; }

.rsv__body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  padding: 30px;
  gap: 22px;
}
.rsv__body > * { flex-shrink: 0; }

.rsv__fermer {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--filet);
  background: var(--noir);
  color: var(--encre-claire);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.rsv__fermer:hover, .rsv__fermer:focus-visible { color: var(--bleu); border-color: var(--bleu); }

.rsv__steps { display: flex; gap: 7px; }
.rsv__steps i { display: block; width: 34px; height: 2px; background: var(--filet); transition: background .4s var(--ease); }
.rsv__steps i.on { background: var(--bleu); }

.rsv__label { display: block; font-size: 10px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--bleu); margin-bottom: 14px; }

.rsv__packs { display: grid; gap: 1px; background: var(--filet); border: 1px solid var(--filet); }
.rsv__pack {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  border: 0;
  background: var(--noir);
  color: rgba(242, 250, 252, .84);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  text-align: left;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.rsv__pack::before {
  content: "";
  flex: 0 0 auto;
  width: 15px; height: 15px;
  border: 1px solid var(--filet-fort);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.rsv__pack:hover { background: var(--noir-carte); color: var(--encre-claire); }
.rsv__pack[aria-pressed="true"] { background: var(--noir-carte); color: var(--encre-claire); }
.rsv__pack[aria-pressed="true"]::before { background: var(--bleu); border-color: var(--bleu); box-shadow: 0 0 14px rgba(174, 239, 255, .5); }

.rsv__compte { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-top: 12px; }

.rsv__field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 48px;
  line-height: 1.3;
  padding: 0 14px;
  background: var(--noir);
  border: 1px solid var(--filet);
  color: var(--encre-claire);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  border-radius: 0;
}
.rsv__field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.rsv__field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; filter: invert(1); }
.rsv__field input[type="date"]:focus-visible { border-color: var(--bleu); outline: none; }

.rsv__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rsv__chip {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--filet);
  background: var(--noir);
  color: rgba(242, 250, 252, .80);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.rsv__chip:hover { color: var(--bleu); border-color: var(--filet-fort); }
.rsv__chip[aria-pressed="true"] { color: var(--noir); background: var(--bleu); border-color: var(--bleu); box-shadow: 0 0 22px rgba(174, 239, 255, .3); }

.rsv__recap { border: 1px solid var(--filet); background: var(--noir); padding: 18px 18px 16px; }
.rsv__recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.5px; }
.rsv__recap dt { color: var(--gris); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; align-self: center; }
.rsv__recap dd { margin: 0; color: var(--encre-claire); }

.rsv__hint { font-size: 12.5px; color: var(--gris); }
.rsv__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rsv__actions .btn { flex: 1 1 200px; min-width: 0; }
.rsv__note { font-size: 11.5px; color: var(--gris); line-height: 1.6; }

.rsv__pack[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

body.rsv-ouvert { overflow: hidden; }

/* ========================================================== responsive === */

@media (max-width: 1080px) {
  .presta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 132px; padding-bottom: 96px; }
  .hero__fond img { object-position: 50% 42%; }
  .hero__fond::after {
    background:
      linear-gradient(to bottom, rgba(11, 15, 18, .92) 0%, rgba(11, 15, 18, .78) 42%, rgba(11, 15, 18, .42) 72%, rgba(11, 15, 18, .92) 100%);
  }
  .hero__bas { display: none; }
  .hero__signature { right: auto; left: var(--gout); bottom: 30px; }
  .split { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .fiche { grid-template-columns: 1fr; }
  .fiche:nth-child(even) .fiche__media,
  .fiche:nth-child(even) .fiche__sans { order: 0; }
  .fiche__media, .fiche__sans { min-height: 300px; aspect-ratio: 16 / 10; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
  .pied__logo { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  .rsv__card {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }
  .rsv__aside { border-right: 0; border-bottom: 1px solid var(--filet); padding: 24px 26px; }
  .rsv__aside img { width: 108px; }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__cta-bar { display: none; }
  .nav__burger { display: block; }

  /* Le menu plein ecran. Le fond de .nav vit sur ::before, on le neutralise
     ici pour qu'aucun backdrop-filter ne cree un bloc conteneur. */
  .nav.menu-open::before { opacity: 0; }
  .nav.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 125;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--noir);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .42s var(--ease), visibility .42s var(--ease);
  }
  .nav__links.nav-open { transform: translateX(0); visibility: visible; }
  .nav__links a { font-size: 15px; letter-spacing: .22em; }
  .nav__menu-cta { display: inline-flex; margin-top: 14px; min-height: 52px; padding: 0 34px; font-size: 11px; }

  .nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .mosaique { columns: 2; column-gap: 10px; }
  .tuile { margin-bottom: 10px; }
}

@media (max-width: 680px) {
  .presta { grid-template-columns: 1fr; }
  .avis { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr; }
  .bandphoto { height: clamp(260px, 62vw, 360px); }

  .rsv { padding: 0; }
  .rsv__card {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100vw;
    margin: 0;
    height: 100vh;
    max-height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
  }
  .rsv__packs { max-height: none; }
  .rsv__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 460px) {
  .mosaique { columns: 1; }
  .btns .btn { width: 100%; }
}

/* ------------------------------------------------------ motion reduite ---
   Tout le mouvement s'arrete. Aucun contenu ne disparait pour autant:
   les filets et les libelles de survol passent a leur etat visible.      */

@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;
  }
  .js-anim .filet, .filet { transform: scaleX(1); }
  .halo { opacity: .28; }
  .bandphoto img { transform: none !important; }
}
