/* Muse Beauty Concept, Rabat
   Kit: #E7D7CC fond, #FBF4F1 surface, #C9B4AB accent doux, #A67C6B accent chaleureux, #1F1F1F texte
   Lora (titres) + Montserrat (courant). Forme signature: l'arche. */

:root{
  --fond:#E7D7CC;
  --surface:#FBF4F1;
  --doux:#C9B4AB;
  --accent:#A67C6B;
  --encre:#1F1F1F;
  --encre-70:rgba(31,31,31,.7);
  --encre-55:rgba(31,31,31,.55);
  --rule:rgba(31,31,31,.12);
  --rule-clair:rgba(251,244,241,.22);
  --display:"Lora",Georgia,serif;
  --corps:"Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --wrap:1180px;
  --pad:clamp(20px,5vw,40px);
  --sect:clamp(64px,8vw,116px);
  --arche:999px 999px 6px 6px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--surface);color:var(--encre);
  font-family:var(--corps);font-size:16px;font-weight:400;line-height:1.7;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--display);font-weight:500;line-height:1.14;margin:0;letter-spacing:-.005em}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--pad)}
.center{text-align:center}
.section{padding:var(--sect) 0}
.section--fond{background:var(--fond)}
.section--encre{background:var(--encre);color:var(--surface)}
.section--encre h2,.section--encre h3{color:var(--surface)}

.h1{font-size:clamp(38px,7vw,72px)}
.h2{font-size:clamp(28px,4.2vw,46px)}
.h3{font-size:clamp(20px,2.4vw,26px)}
.lede{font-size:clamp(16px,1.6vw,18.5px);color:var(--encre-70);line-height:1.75}
.section--encre .lede{color:rgba(251,244,241,.76)}

.eyebrow{
  display:inline-block;font-family:var(--corps);font-size:11px;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;color:var(--accent);
}
.section--encre .eyebrow{color:var(--doux)}

/* ---------- le soleil du kit ---------- */
.soleil{display:block;width:100%;height:100%;color:var(--accent)}
.divider{display:flex;align-items:center;justify-content:center;gap:18px;padding:0 0 clamp(26px,4vw,40px)}
.divider::before,.divider::after{content:"";height:1px;width:min(120px,18vw);background:var(--rule)}
.divider i{display:block;width:26px;height:26px;flex:0 0 auto}
.section--encre .divider::before,.section--encre .divider::after{background:var(--rule-clair)}
.section--encre .soleil{color:var(--doux)}

/* ---------- boutons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 26px;border:1px solid var(--encre);background:var(--encre);color:var(--surface);
  font-family:var(--corps);font-size:12px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;
  text-decoration:none;cursor:pointer;border-radius:2px;
  transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;
}
.btn:hover{background:var(--accent);border-color:var(--accent);color:var(--surface);transform:translateY(-1px)}
.btn--outline{background:transparent;color:var(--encre)}
.btn--outline:hover{background:var(--encre);border-color:var(--encre);color:var(--surface)}
.btn--clair{background:var(--surface);border-color:var(--surface);color:var(--encre)}
.btn--clair:hover{background:var(--doux);border-color:var(--doux);color:var(--encre)}
.btn--fantome{background:transparent;border-color:rgba(251,244,241,.55);color:var(--surface)}
.btn--fantome:hover{background:var(--surface);border-color:var(--surface);color:var(--encre)}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.btn-row--centre{justify-content:center}

/* ---------- navigation ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:120;
  background:transparent;border-bottom:1px solid transparent;
  transition:background .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.nav--solide{background:var(--surface);border-bottom-color:var(--rule);box-shadow:0 1px 24px rgba(31,31,31,.05)}
.nav__in{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;min-height:100px;
  max-width:1600px;padding-left:clamp(20px,3.6vw,56px);padding-right:clamp(20px,3.6vw,56px)}
@media (max-width:980px){.nav__in{min-height:78px;padding-left:var(--pad);padding-right:var(--pad)}}
.nav__brand{grid-column:1;position:relative;display:block;width:80px;height:80px;flex:0 0 auto;text-decoration:none}
.nav__badge{
  position:absolute;inset:0;width:100%;height:100%;border-radius:999px;
  transition:opacity .3s ease;
}
.nav__badge--noir{opacity:0}
.nav--solide .nav__badge--creme{opacity:0}
.nav--solide .nav__badge--noir{opacity:1}
@media (max-width:980px){
  .nav__brand{width:62px;height:62px}
  .nav.menu-open .nav__badge--creme{opacity:0}
  .nav.menu-open .nav__badge--noir{opacity:1}
}

.nav__links{grid-column:2;display:flex;align-items:center;gap:clamp(18px,2.4vw,32px)}
.nav__links a{
  text-decoration:none;color:var(--surface);font-family:var(--display);font-size:15px;
  padding:6px 0;position:relative;transition:color .25s ease;
}
.nav--solide .nav__links a{color:var(--encre)}
.nav__links a::after{
  content:"";position:absolute;left:0;right:100%;bottom:0;height:1px;
  background:currentColor;opacity:.75;transition:right .28s ease;
}
.nav__links a:hover::after,.nav__links a.active::after{right:0}
.nav__end{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:14px}
.nav__cta{padding:11px 20px;font-size:10.5px;background:transparent;border-color:rgba(251,244,241,.6);color:var(--surface)}
.nav__cta:hover{background:var(--surface);border-color:var(--surface);color:var(--encre)}
.nav--solide .nav__cta{border-color:var(--encre);color:var(--encre)}
.nav--solide .nav__cta:hover{background:var(--encre);color:var(--surface)}
.nav__cta--menu{display:none}
.nav__burger{
  display:none;width:44px;height:44px;border:0;background:transparent;cursor:pointer;
  align-items:center;justify-content:center;position:relative;color:var(--surface);
}
.nav--solide .nav__burger{color:var(--encre)}
.nav__burger span,.nav__burger span::before,.nav__burger span::after{
  content:"";display:block;width:22px;height:1.5px;background:currentColor;
  transition:transform .28s ease,opacity .2s ease;
}
.nav__burger span::before{position:absolute;transform:translateY(-7px)}
.nav__burger span::after{position:absolute;transform:translateY(7px)}
.nav.menu-open .nav__burger span{background:transparent}
.nav.menu-open .nav__burger span::before{transform:rotate(45deg)}
.nav.menu-open .nav__burger span::after{transform:rotate(-45deg)}

@media (max-width:980px){
  .nav__burger{display:flex}
  .nav__cta--bar{display:none}
  .nav__cta--menu{display:inline-flex}
  .nav__links{
    position:fixed;inset:0;background:var(--surface);
    flex-direction:column;justify-content:center;gap:26px;
    transform:translateY(-100%);opacity:0;visibility:hidden;
    transition:transform .34s ease,opacity .24s ease,visibility .34s;
    padding:90px var(--pad) 40px;
  }
  .nav__links.nav-open{transform:translateY(0);opacity:1;visibility:visible}
  .nav__links a{color:var(--encre);font-size:27px}
  .nav.menu-open .nav__brand,.nav.menu-open .nav__burger{color:var(--encre)}
  .nav.menu-open{background:var(--surface)}
  .nav__links .nav__cta{border-color:var(--encre);color:var(--encre);margin-top:8px}
  .nav__burger{position:relative;z-index:2}
  .nav__brand{position:relative;z-index:2}
}

/* ---------- hero accueil ---------- */
.hero{position:relative;min-height:min(92vh,760px);min-height:min(92dvh,760px);display:flex;align-items:flex-end;overflow:hidden}
.hero__bg{position:absolute;inset:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;filter:saturate(.92);animation:derive 26s ease-in-out infinite alternate}
@keyframes derive{from{transform:scale(1.03)}to{transform:scale(1.13) translate3d(-1.5%,-1%,0)}}
@media (prefers-reduced-motion:reduce){.hero__bg img{animation:none}}
/* teinte chaude qui ramene la photo sur la palette (le papier alu tire froid) */
.hero__grade{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:var(--accent);mix-blend-mode:soft-light;opacity:.35;
}
.hero__voile{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(31,31,31,.5) 0%,rgba(31,31,31,.18) 38%,rgba(31,31,31,.62) 100%);
}
.hero__in{position:relative;z-index:2;color:var(--surface);padding-bottom:clamp(52px,8vw,86px)}
.hero__in .eyebrow{color:var(--doux)}
.hero h1{color:var(--surface);margin-top:16px;max-width:15ch;text-shadow:0 1px 30px rgba(31,31,31,.3)}
.hero__sous{margin-top:20px;font-size:clamp(15.5px,1.7vw,18.5px);color:rgba(251,244,241,.9);max-width:52ch;line-height:1.7}
.hero .btn-row{margin-top:32px}

/* ---------- bandeau de page ---------- */
.pagetete{position:relative;min-height:clamp(320px,44vw,460px);display:flex;align-items:flex-end;overflow:hidden}
.pagetete__bg{position:absolute;inset:0}
.pagetete__bg img{width:100%;height:100%;object-fit:cover}
.pagetete__voile{position:absolute;inset:0;background:linear-gradient(180deg,rgba(31,31,31,.5) 0%,rgba(31,31,31,.2) 45%,rgba(31,31,31,.6) 100%)}
.pagetete__in{position:relative;z-index:2;color:var(--surface);padding-bottom:clamp(36px,5vw,58px)}
.pagetete__in .eyebrow{color:var(--doux)}
.pagetete h1{color:var(--surface);margin-top:14px;font-size:clamp(32px,5.4vw,56px);max-width:18ch}
.pagetete__in p{margin-top:14px;color:rgba(251,244,241,.86);font-size:clamp(15px,1.6vw,17.5px);max-width:52ch}

/* ---------- bande de faits ---------- */
.faits{background:var(--fond);border-bottom:1px solid rgba(31,31,31,.07)}
.faits__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(31,31,31,.09)}
.faits__c{background:var(--fond);padding:clamp(26px,3.4vw,38px) clamp(18px,2.6vw,30px);text-align:center}
.faits__c strong{display:block;font-family:var(--display);font-size:clamp(19px,2.2vw,24px);font-weight:500}
.faits__c span{display:block;margin-top:7px;font-size:13px;color:var(--encre-55);letter-spacing:.02em}
@media (max-width:760px){.faits__grid{grid-template-columns:1fr}}

/* ---------- blocs de texte ---------- */
.tete{max-width:640px}
.tete--centre{margin:0 auto;text-align:center}
.tete .lede{margin-top:18px}

.duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(34px,5vw,74px);align-items:center}
.duo--inverse .duo__media{order:2}
@media (max-width:880px){.duo{grid-template-columns:1fr}.duo--inverse .duo__media{order:0}}
.duo__texte h2{margin-bottom:18px}
.duo__texte p + p{margin-top:15px}
.duo__media{position:relative}
.arche{border-radius:var(--arche);overflow:hidden;background:var(--fond)}
.arche img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}

.citation{
  border-left:2px solid var(--accent);padding:4px 0 4px 22px;margin-top:28px;
  font-family:var(--display);font-style:italic;font-size:clamp(17px,2vw,20px);line-height:1.55;
}
.citation span{
  display:block;margin-top:12px;font-family:var(--corps);font-style:normal;
  font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);
}

/* ---------- prestations ---------- */
.presta{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule)}
.presta__c{background:var(--surface);padding:clamp(24px,2.8vw,34px);transition:background .3s ease}
.presta__c:hover{background:var(--fond)}
.section--fond .presta{background:rgba(31,31,31,.1);border-color:rgba(31,31,31,.1)}
.section--fond .presta__c{background:var(--fond)}
.section--fond .presta__c:hover{background:var(--surface)}
.presta__ico{display:inline-flex;width:34px;height:34px;color:var(--accent);margin-bottom:16px}
.presta__ico svg{width:100%;height:100%}
.presta__c h3{font-size:clamp(17.5px,1.9vw,20px)}
.presta__c p{margin-top:9px;font-size:14.5px;color:var(--encre-70);line-height:1.66}
@media (max-width:1000px){.presta{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.presta{grid-template-columns:1fr}}

/* ---------- liste de prestations detaillee ---------- */
.liste{border-top:1px solid var(--rule)}
.liste__l{
  display:grid;grid-template-columns:34px minmax(0,1fr) minmax(0,1.5fr);
  gap:clamp(16px,2.6vw,34px);align-items:start;
  padding:clamp(22px,2.8vw,30px) 0;border-bottom:1px solid var(--rule);
}
.section--fond .liste,.section--fond .liste__l{border-color:rgba(31,31,31,.14)}
.liste__ico{display:inline-flex;width:30px;height:30px;color:var(--accent);margin-top:2px}
.liste__ico svg{width:100%;height:100%}
.liste__l h3{font-size:clamp(18px,2vw,21px)}
.liste__l h3 + p{margin-top:8px;font-size:13.5px;color:var(--accent);letter-spacing:.02em}
.liste__d{font-size:15px;color:var(--encre-70);line-height:1.72}
/* ---------- lignes de tarif a filet pointille ---------- */
.menu{margin-top:16px}
.menuline{display:flex;align-items:baseline;gap:12px;padding:9px 0}
.menuline + .menuline{border-top:1px dotted var(--rule)}
.section--fond .menuline + .menuline{border-top-color:rgba(31,31,31,.18)}
.menuline__n{flex:0 1 auto;min-width:0;font-size:14.5px;color:var(--encre)}
.menuline__d{flex:1 1 auto;border-bottom:1px dotted var(--rule);transform:translateY(-4px);min-width:16px}
.section--fond .menuline__d{border-bottom-color:rgba(31,31,31,.2)}
.menuline__p{
  flex:0 0 auto;font-family:var(--display);font-size:16px;color:var(--accent);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.menuline__p small{
  font-family:var(--corps);font-size:9.5px;letter-spacing:.12em;
  text-transform:uppercase;margin-left:4px;
}
.menuline__p em{
  font-style:normal;font-family:var(--corps);font-size:9.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--encre-55);margin-right:6px;
}
.menuline__p.est-devis{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-family:var(--corps)}
.tarifnote{
  margin-top:clamp(26px,3.2vw,36px);padding:16px 20px;border:1px solid var(--rule);
  background:var(--fond);font-size:13px;color:var(--encre-70);line-height:1.65;
}
.section--fond .tarifnote{background:var(--surface)}

/* teaser tarifs sur l'accueil */
.teaser{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,72px);align-items:center}
@media (max-width:880px){.teaser{grid-template-columns:1fr}}
@media (max-width:780px){
  .liste__l{grid-template-columns:30px minmax(0,1fr);gap:14px}
  /* la 3e cellule (description + tarifs) passe sous le titre, jamais dans la colonne de l'icone */
  .liste__l > div:last-child{grid-column:2/-1;margin-top:-4px}
}
@media (max-width:680px){
  .menuline{flex-wrap:wrap}
  .menuline__d{display:none}
  .menuline__n{flex:1 1 auto;min-width:0;font-size:13.5px}
  .menuline__p{margin-left:auto;font-size:15px}
}

/* ---------- avis ---------- */
.avis{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,2.6vw,32px)}
.avis__c{background:var(--surface);border:1px solid var(--rule);padding:clamp(26px,3vw,36px);display:flex;flex-direction:column}
.section--fond .avis__c{background:var(--fond);border-color:rgba(31,31,31,.12)}
.avis__c i{display:block;width:20px;height:20px;color:var(--accent);margin-bottom:16px}
.avis__c p{font-family:var(--display);font-size:16.5px;font-style:italic;line-height:1.62;flex:1}
.avis__c cite{
  display:block;margin-top:20px;font-style:normal;font-size:11px;
  letter-spacing:.2em;text-transform:uppercase;color:var(--accent);
}
@media (max-width:900px){.avis{grid-template-columns:1fr}}

/* ---------- galerie, les deux reseaux ---------- */
.reseaux{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.pastille{
  display:inline-flex;align-items:center;gap:9px;padding:9px 18px;
  border:1px solid var(--rule);border-radius:999px;text-decoration:none;
  font-size:12px;letter-spacing:.06em;transition:border-color .25s ease,background .25s ease;
}
.pastille:hover{border-color:var(--accent);background:var(--surface)}
.pastille svg{width:16px;height:16px;flex:0 0 auto;color:var(--accent)}

.grille{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.6vw,20px)}
.grille--apercu{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){.grille,.grille--apercu{grid-template-columns:repeat(2,1fr)}}

.tuile{
  position:relative;display:block;overflow:hidden;text-decoration:none;
  background:var(--fond);border-radius:3px;
}
.tuile img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5;transition:transform .7s cubic-bezier(.2,.7,.3,1)}
.tuile:hover img{transform:scale(1.055)}
.tuile__voile{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(31,31,31,.34) 0%,rgba(31,31,31,0) 34%,rgba(31,31,31,0) 52%,rgba(31,31,31,.66) 100%);
}
.tuile__reseau{
  position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(251,244,241,.92);color:var(--encre);
}
.tuile__reseau svg{width:16px;height:16px}
.tuile__voir{
  position:absolute;left:14px;right:14px;bottom:13px;color:var(--surface);
  font-size:10.5px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;
  display:flex;align-items:center;gap:7px;
}
.tuile__voir svg{width:12px;height:12px;flex:0 0 auto;transition:transform .3s ease}
.tuile:hover .tuile__voir svg{transform:translate(3px,-3px)}

/* ---------- contact ---------- */
.coord{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule)}
.coord__c{background:var(--surface);padding:clamp(26px,3vw,36px)}
.coord__c h3{font-size:19px}
.coord__c p{margin-top:10px;display:block;font-size:15px;color:var(--encre-70);line-height:1.7}
.coord__c a{
  margin-top:10px;display:inline-flex;align-items:center;min-height:44px;
  font-family:var(--display);font-size:20px;color:var(--accent);text-decoration:none;
  border-bottom:1px solid transparent;transition:border-color .22s ease;
}
.coord__c a:hover{border-bottom-color:var(--accent)}
.coord__ico{display:inline-flex;width:26px;height:26px;color:var(--accent);margin-bottom:14px}
@media (max-width:900px){.coord{grid-template-columns:1fr}}

.carte{border:1px solid var(--rule);background:var(--fond);line-height:0}
.carte iframe{width:100%;height:clamp(300px,42vw,420px);border:0;display:block}

.horaires{border:1px solid var(--rule);background:var(--surface)}
.horaires li{display:flex;justify-content:space-between;gap:20px;padding:13px clamp(18px,2.4vw,26px);font-size:14.5px}
.horaires li + li{border-top:1px solid var(--rule)}
.horaires li span:first-child{color:var(--encre-70)}
.horaires li span:last-child{font-variant-numeric:tabular-nums}

/* ---------- cartes reseaux, page contact ---------- */
.social{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.2vw,26px)}
.social__c{
  display:flex;align-items:center;gap:clamp(16px,2.2vw,22px);text-decoration:none;
  background:var(--surface);border:1px solid var(--rule);padding:clamp(22px,2.8vw,30px);
  border-radius:3px;transition:border-color .25s ease,transform .25s ease;
}
.social__c:hover{border-color:var(--accent);transform:translateY(-2px)}
.social__rond{
  width:52px;height:52px;flex:0 0 auto;border-radius:999px;background:var(--fond);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
}
.social__rond svg{width:23px;height:23px}
.social__c h3{font-size:19px}
.social__c p{margin-top:6px;font-size:14px;color:var(--encre-70);line-height:1.6}
.social__fleche{margin-left:auto;width:18px;height:18px;flex:0 0 auto;color:var(--accent);transition:transform .3s ease}
.social__c:hover .social__fleche{transform:translate(3px,-3px)}
@media (max-width:780px){.social{grid-template-columns:1fr}.social__fleche{display:none}}

/* ---------- bande CTA ---------- */
.ctaband{background:var(--encre);color:var(--surface);text-align:center}
.ctaband h2{color:var(--surface)}
.ctaband p{margin-top:16px;color:rgba(251,244,241,.76);max-width:560px;margin-left:auto;margin-right:auto}
.ctaband .btn-row{margin-top:30px;justify-content:center}

/* ---------- pied de page ---------- */
.footer{background:var(--encre);color:rgba(251,244,241,.72);padding:clamp(54px,6vw,80px) 0 28px}
.footer__grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:clamp(28px,4vw,52px)}
.footer__brand img{width:96px;height:96px;border-radius:999px}
.footer__tag{margin-top:16px;font-family:var(--display);font-style:italic;font-size:16px;color:rgba(251,244,241,.85)}
.footer h4{
  font-family:var(--corps);font-size:11px;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:var(--doux);margin-bottom:16px;
}
.footer li{font-size:14.5px;line-height:1.55}
.footer li + li{margin-top:11px}
.footer a{text-decoration:none;transition:color .22s ease}
.footer a:hover{color:var(--surface)}
.footer__bar{
  margin-top:clamp(38px,5vw,58px);padding-top:22px;border-top:1px solid var(--rule-clair);
  display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;
  font-size:12px;color:rgba(251,244,241,.55);
}
.footer__credit{text-decoration:none;text-transform:uppercase;letter-spacing:.14em;font-size:10.5px}
@media (max-width:900px){.footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer__grid{grid-template-columns:1fr}}

/* ---------- modale de reservation ---------- */
.rsv{
  position:fixed;inset:0;z-index:140;display:none;
  align-items:flex-start;justify-content:center;
  padding:24px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
}
.rsv.est-ouverte{display:flex}
.rsv__backdrop{position:fixed;inset:0;background:rgba(31,31,31,.6);border:0;padding:0;cursor:pointer}
.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(--surface);border-radius:4px;
  box-shadow:0 28px 80px rgba(31,31,31,.34);
}
.rsv__aside{
  min-height:0;overflow-y:auto;background:var(--encre);color:var(--surface);
  padding:clamp(28px,3.4vw,40px);display:flex;flex-direction:column;justify-content:space-between;gap:26px;
}
.rsv__aside i{display:block;width:30px;height:30px;color:var(--doux)}
.rsv__aside h2{color:var(--surface);font-size:clamp(23px,2.6vw,30px);margin-top:18px}
.rsv__aside p{margin-top:14px;font-size:14.5px;color:rgba(251,244,241,.7);line-height:1.66}
.rsv__aside dl{margin:0;font-size:13.5px}
.rsv__aside dt{color:var(--doux);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase}
.rsv__aside dd{margin:5px 0 14px;color:rgba(251,244,241,.86)}

.rsv__body{display:flex;flex-direction:column;overflow-y:auto;min-height:0;-webkit-overflow-scrolling:touch;padding:clamp(24px,3vw,36px)}
.rsv__body > *{flex-shrink:0}
.rsv__close{
  position:absolute;top:12px;right:12px;width:40px;height:40px;border:0;border-radius:999px;
  background:rgba(251,244,241,.9);cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:3;
}
.rsv__close svg{width:16px;height:16px}
.rsv__steps{display:flex;gap:7px;margin-bottom:18px}
.rsv__steps i{display:block;width:34px;height:2px;background:var(--rule);border-radius:2px}
.rsv__steps i.est-faite{background:var(--accent)}
.rsv__legende{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--accent)}
.rsv__body h3{margin-top:10px;font-size:21px}
.rsv__aide{margin-top:8px;font-size:13.5px;color:var(--encre-55)}

.rsv__packs{display:grid;gap:8px;margin-top:18px}
.rsv__pack{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;
  padding:13px 15px;border:1px solid var(--rule);background:var(--surface);
  border-radius:3px;cursor:pointer;transition:border-color .2s ease,background .2s ease;
}
.rsv__pack:hover{border-color:var(--doux);background:var(--fond)}
.rsv__pack[aria-pressed="true"]{border-color:var(--accent);background:var(--fond)}
.rsv__coche{
  width:17px;height:17px;flex:0 0 auto;border:1px solid var(--doux);border-radius:2px;
  display:flex;align-items:center;justify-content:center;color:var(--surface);
}
.rsv__pack[aria-pressed="true"] .rsv__coche{background:var(--accent);border-color:var(--accent)}
.rsv__coche svg{width:11px;height:11px;opacity:0}
.rsv__pack[aria-pressed="true"] .rsv__coche svg{opacity:1}
.rsv__pack span.rsv__nom{font-size:14.5px;flex:1 1 auto;min-width:0}
.rsv__prix{
  flex:0 0 auto;font-family:var(--display);font-size:13.5px;color:var(--accent);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.rsv__compte{margin-top:12px;font-size:12.5px;color:var(--encre-55)}
.rsv__totline{
  display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  margin-top:10px;padding-top:12px;border-top:1px solid var(--rule);
}
.rsv__totline span:first-child{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--encre-55)}
.rsv__totline span:last-child{font-family:var(--display);font-size:18px;color:var(--accent);font-variant-numeric:tabular-nums}

.rsv__champs{display:grid;grid-template-columns:1fr;gap:16px;margin-top:20px}
.rsv__field label{display:block;font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--encre-55);margin-bottom:8px}
.rsv__field input[type="date"]{
  -webkit-appearance:none;appearance:none;width:100%;
  min-height:48px;line-height:1.3;padding:0 14px;font-family:var(--corps);font-size:16px;color:var(--encre);
  background:var(--fond);border:1px solid var(--rule);border-radius:3px;
}
.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}
.rsv__chips{display:flex;flex-wrap:wrap;gap:8px}
.rsv__chip{
  padding:11px 18px;border:1px solid var(--rule);background:var(--surface);border-radius:999px;
  cursor:pointer;font-size:13.5px;transition:border-color .2s ease,background .2s ease;
}
.rsv__chip:hover{border-color:var(--doux)}
.rsv__chip[aria-pressed="true"]{border-color:var(--accent);background:var(--fond)}

.rsv__recap{margin-top:22px;border:1px solid var(--rule);background:var(--fond);padding:18px 20px;border-radius:3px}
.rsv__recap h4{font-family:var(--corps);font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 12px}
.rsv__recap dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:7px 16px;font-size:14px}
.rsv__recap dt{color:var(--encre-55)}
.rsv__recap dd{margin:0}
.rsv__actions{display:flex;gap:10px;margin-top:22px}
.rsv__actions .btn{flex:1 1 180px;min-width:0}
.rsv__note{margin-top:16px;font-size:12.5px;color:var(--encre-55);line-height:1.6}
[hidden]{display:none !important}

@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{padding:26px 24px}
  .rsv__aside p,.rsv__aside dl{display:none}
}
@media (max-width:680px){
  .rsv{padding:0}
  .rsv__card{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);width:100vw;margin:0;
    border-radius:0;height:100vh;max-height:100vh;height:100dvh;max-height:100dvh}
  .rsv__packs{max-height:none}
  .rsv__actions{flex-direction:column}
}

body.rsv-ouverte{overflow:hidden}
