@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsx@0,9..144;1,9..144&family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Client style */

/* =========================================================
   THEME CONFIGURATION
   Change any value below to re-theme the whole site.
========================================================= */
:root{
  --ink:#141414;
  --ink-soft:#5C5C5C;
  --paper:#F7F7F7;
  --card:#FFFFFF;
  --line:rgba(20,20,20,0.09);
  --line-dark:rgba(247,247,247,0.16);

  --accent:#141414;
  --accent-soft:#3A3A3A;
  --accent-tint:#ECECEC;
  --accent-contrast:#FFFFFF;
  --ink-contrast:#FFFFFF;

  --status-open:#6CAF7D;
  --status-closed:#E4605A;
  --status-neutral:var(--ink);

  --hero-scrim-color:20,20,20;
  --hero-scrim-top:0.88;
  --hero-scrim-bottom:0.97;

  --radius:18px;
}

body {
  overflow-x: hidden; /* fallback for older browsers */
  overflow-x: clip;   /* modern browsers: clips without creating a scroll
                         container (unlike hidden), so it also blocks
                         iPad/touch drag-scroll into off-canvas panels,
                         and doesn't break position:sticky on nav */
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }

/* ---------- NAV ---------- */
nav{
  position:sticky; top:0; z-index:50;
  background:rgba(247,247,247,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-container{
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px;
  position:relative;
}
.nav-logo, .logo, h1{ margin:0; }
.nav-logo, .logo{
  font-family:'Fraunces', serif;
  font-weight:600; font-size:21px;
  letter-spacing:-0.01em;
  display:flex; align-items:center;
}
.logo img{ height:56px; width:auto; max-width:220px; }
#logo-fallback{ font-family:'Fraunces', serif; font-weight:600; font-size:21px; letter-spacing:-0.01em; }
#logo-fallback a{ color:var(--ink); }

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links ul{ list-style:none; display:flex; gap:28px; margin:0; padding:0; }
.nav-links ul.autres-pages{ list-style:none; }
.nav-links a{
  font-size:14px; color:var(--ink-soft); font-weight:500;
  position:relative; padding:4px 2px;
}
.nav-links a:hover{ color:var(--ink); }
.nav-links a.active{ color:var(--ink); }
.nav-links a.active::after{
  content:""; position:absolute; left:2px; right:2px; bottom:-4px;
  height:2px; background:var(--accent); border-radius:2px;
}

.nav-links a:not(.rendez-vous a):hover{ color:var(--ink); }
.nav-links > ul a:hover{ color:var(--ink); }

.nav-links ul.autres-pages a{
  position:relative;
  padding:4px 2px;
}
.nav-links ul.autres-pages a::after{
  content:"";
  position:absolute; left:0; bottom:-4px;
  width:100%; height:2px;
  background:currentColor;
  transform:scaleX(0); transform-origin:left;
  transition:transform .3s cubic-bezier(.2,.9,.2,1);
}
.nav-links ul.autres-pages a:not(.active):hover::after,
.nav-links ul.autres-pages a.active::after{
  transform:scaleX(1);
}

.rendez-vous a, .nav-cta{
  background:var(--ink); color:var(--ink-contrast);
  padding:10px 20px; border-radius:30px;
  font-size:14px; font-weight:600;
  transition:background .2s ease, transform .15s ease;
  display:inline-block;
}
.rendez-vous a:hover, .nav-cta:hover{
  background:var(--accent-soft);
  color:var(--accent-contrast);
  transform:translateY(-1px);
}
.rendez-vous a:active, .nav-cta:active{
  background:var(--accent-soft);
  color:var(--accent-contrast);
  transform:translateY(-1px) scale(0.96);
}

.burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:60; }
.burger span{ width:22px; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }

@media (max-width:760px){
  .burger{ display:flex; }
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:260px;
    background:var(--card); flex-direction:column; align-items:flex-start;
    padding:96px 28px 28px; gap:24px;
    box-shadow:-10px 0 30px rgba(0,0,0,0.1);
    /* Explicit z-index above .overlay (40): without this, .nav-links sits
       at the "auto" stacking layer, which always paints BELOW any sibling
       with a positive z-index regardless of DOM order — so the dimming
       overlay was rendering on top of the menu panel and swallowing taps
       meant for the links inside it. */
    z-index:45;
    /* Panel's box stays at right:0 (inside the viewport) at all times —
       clip-path wipes it in/out visually instead of ever translating the
       box past 100vw, so there's no phantom width for touch/scroll to
       reach regardless of overflow-x support. */
    clip-path: inset(0 0 0 100%);
    transition: clip-path .3s ease;
    pointer-events: none
  }
  .nav-links.active{
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
  }
  .nav-links ul{ flex-direction:column; gap:18px; }
  .rendez-vous a, .nav-cta{ width:100%; text-align:center; }

  /* Give the links their own entrance animation instead of just
    popping in once the clip-path reveals them */
    .nav-links ul.autres-pages li,
    .nav-links .rendez-vous{
    opacity:0;
    transform: translateX(20px);
    transition: opacity .3s ease, transform .3s ease;
    }
    .nav-links.active ul.autres-pages li,
    .nav-links.active .rendez-vous{
    opacity:1;
    transform: translateX(0);
    }
    .nav-links.active ul.autres-pages li:nth-child(1){ transition-delay:.08s; }
    .nav-links.active ul.autres-pages li:nth-child(2){ transition-delay:.14s; }
    .nav-links.active .rendez-vous{ transition-delay:.2s; }
}
.overlay{
  position:fixed; inset:0; background:rgba(20,20,20,0.35);
  opacity:0; pointer-events:none; transition:opacity .3s ease; z-index:40;
}
.overlay.active{ opacity:1; pointer-events:auto; }

/* ---------- HERO ---------- */
.hero{
  position:relative;
  background:var(--ink);
  color:var(--paper);
  overflow:hidden;
  padding:clamp(56px,9vw,96px) 24px clamp(64px,10vw,110px);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.08) 0px,
    rgba(255,255,255,0.08) 1px,
    transparent 1px,
    transparent 14px
  );
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.9) 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.9) 70%, transparent);
  pointer-events:none;
}

.hero-grid{
  position:relative; z-index:2;
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:1.05fr 0.95fr;
  gap:clamp(32px,5vw,70px);
  align-items:center;
}

.hero-eyebrow{
  display:flex; align-items:center; gap:10px;
  font-size:12.5px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase;
  color:rgba(247,247,247,0.75);
  opacity:0; transform:translateY(10px);
  animation:riseIn .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:.05s;
  margin-bottom:20px;
}
.hero-eyebrow::before{ content:""; width:24px; height:1px; background:rgba(247,247,247,0.75); }

.hero h1, .hero-title{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:clamp(38px,5.4vw,62px);
  line-height:1.06;
  letter-spacing:-0.01em;
  margin:0 0 22px;
  opacity:0; transform:translateY(14px);
  animation:riseIn .8s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:.15s;
}
.hero h1 em{
  font-style:italic;
  font-weight:500;
  color:rgba(247,247,247,0.85);
}

.hero p.lede, .hero-message{
  font-size:16.5px;
  color:rgba(250,248,244,0.72);
  max-width:460px;
  margin:0 0 34px;
  opacity:0; transform:translateY(14px);
  animation:riseIn .8s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:.28s;
  min-height:1.5em;
}
.hero-cursor{
  display:inline-block; width:2px; height:1em; margin-left:2px;
  background:rgba(250,248,244,0.72); vertical-align:text-bottom;
  animation:blink 1s step-end infinite;
}
@keyframes blink{ 50%{ opacity:0; } }

.hero-actions{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-bottom:44px;
  opacity:0; transform:translateY(14px);
  animation:riseIn .8s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:.4s;
}
.btn-gold, .btn-ghost-dark, .hero-gallery-btn{
  font-family:'Inter', sans-serif;
  font-weight:600; font-size:14.5px;
  padding:14px 26px; border-radius:30px;
  cursor:pointer; border:1px solid transparent;
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
  display:inline-flex; align-items:center; gap:8px;
}
.btn-gold{ background:var(--accent); color:var(--accent-contrast); }
.btn-gold:hover{ background:var(--accent-soft); color:var(--accent-contrast); transform:translateY(-1px); }
.btn-ghost-dark, .hero-gallery-btn{ background:transparent; border:1px solid rgba(250,248,244,0.28); color:var(--paper); }
.btn-ghost-dark:hover, .hero-gallery-btn:hover{ border-color:rgba(250,248,244,0.55); }

.btn-gold:active{
  background: var(--accent-soft);
  color: var(--accent-contrast);
  transform: translateY(0) scale(0.96);
}
.btn-ghost-dark:active, .hero-gallery-btn:active{
  border-color: rgba(250,248,244,0.55);
  transform: translateY(0) scale(0.96);
}

@keyframes riseIn{ to{ opacity:1; transform:translateY(0); } }

/* ---------- HERO VISUAL: stacked photo cards ---------- */
.hero-visual{
  position:absolute; inset:0;
  z-index:0;
  opacity:0; animation:riseIn 1s cubic-bezier(.22,1,.36,1) forwards; animation-delay:.3s;
}
.photo-stack, .hero-slides{
  position:absolute; inset:0;
}
.stack-photo, .hero-slide{
  position:absolute; inset:0;
  overflow:hidden;
  border-radius:0;
  box-shadow:none;
  cursor:pointer;
  background-size:cover; background-position:center;
  transition:transform .7s cubic-bezier(.22,1,.36,1), opacity .7s ease;
}
.stack-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

.hero-scrim, .hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(
    180deg,
    rgba(var(--hero-scrim-color), var(--hero-scrim-top)),
    rgba(var(--hero-scrim-color), var(--hero-scrim-bottom))
  );
  pointer-events:none;
}

.hero-copy, .hero-inner, .sub-hero{ position:relative; z-index:2; }

@media (min-width:961px){
  .hero-scrim, .hero-overlay{ display:none; }
  .hero-visual{
    position:relative; inset:auto;
    width:100%; max-width:420px; margin-left:auto;
    aspect-ratio:3/4; min-height:420px;
  }
  .stack-photo{
    border-radius:20px;
    box-shadow:0 26px 54px rgba(0,0,0,0.4);
  }
}

@media (max-width:960px){
  .hero-grid, .hero-inner{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .hero-actions{ flex-direction:column; }
  .btn-gold, .btn-ghost-dark, .hero-gallery-btn{ width:100%; text-align:center; justify-content:center; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .hero-eyebrow, .hero h1, .hero p.lede, .hero-actions, .hero-visual, .hero-message{ opacity:1 !important; transform:none !important; }
}

/* ---------- SERVICES ---------- */
.services-wrap{
  max-width:1200px; margin:0 auto;
  padding:clamp(56px,7vw,88px) 24px 20px;
}
.services-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:20px;
  margin-bottom:8px; flex-wrap:wrap;
}
.services-eyebrow{
  font-size:12.5px; font-weight:600; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--accent); margin-bottom:8px; display:block;
}
.services-head h2{
  font-family:'Fraunces', serif;
  font-weight:500; font-size:clamp(26px,3.4vw,36px);
  margin:0;
}
.services-head p{
  font-size:14.5px; color:var(--ink-soft); max-width:360px; margin:0;
}

.section-block{ margin-top:44px; }
.section-block h2, .section-block h3{
  font-family:'Fraunces', serif;
  font-weight:500; font-size:30px;
  margin:0 0 4px;
}
.section-block .section-description{
  font-size:13.5px; color:var(--ink-soft); margin:0 0 20px;
}

.cards-grid-4, .cards-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}
@media (max-width:1080px){ .cards-grid-4, .cards-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .cards-grid-4, .cards-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:460px){ .cards-grid-4, .cards-grid{ grid-template-columns:1fr; } }

.svc-card, .card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  display:flex; flex-direction:column; gap:14px;
  transition:transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover, .card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 34px rgba(20,20,20,0.08);
  border-color:transparent;
}
.svc-tag{
  align-self:flex-start;
  font-size:11px; font-weight:700; letter-spacing:0.04em;
  color:var(--ink); background:var(--accent-tint);
  padding:4px 10px; border-radius:20px;
}
.svc-name, .card-title h3{ font-size:15.5px; font-weight:600; margin:0; line-height:1.35; }
.svc-desc{
  font-size:13px; color:var(--ink-soft); line-height:1.5;
  margin:0;
  display:-webkit-box;
  line-clamp:3;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.svc-meta, .card-pt{
  margin-top:auto;
  display:flex; align-items:center; justify-content:space-between;
  font-size:13px; color:var(--ink-soft);
  padding-top:10px; border-top:1px solid var(--line);
}
.svc-price, .card-pt p:last-child{ font-weight:700; color:var(--ink); }
.svc-btn, .card-btn{
  align-self:flex-end;
  font-size:13px; font-weight:600;
  background:var(--ink); color:var(--ink-contrast);
  padding:8px 16px; border-radius:12px;
  transition:background .2s ease, transform .15s ease;
}
.svc-card:hover .svc-btn, .card:hover .card-btn{ background:var(--accent-soft); color:var(--accent-contrast); }

/* ---------- CLICK / PRESS FEEDBACK (restored) ---------- */

.svc-card:active, .card:active{
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 18px rgba(20,20,20,0.06);
}

.svc-btn:active, .card-btn:active{
  transform: scale(0.95);
}

.rendez-vous a:active, .nav-cta:active{
  background: var(--accent-soft);
  transform: translateY(-1px) scale(0.96);
}

/* ---------- DISPONIBILITÉS ---------- */
.dispo-wrap{
  max-width:1200px; margin:80px auto 0; padding:0 24px 90px;
}
.dispo-head{ margin-bottom:28px; }
.dispo-head h2{
  font-family:'Fraunces', serif; font-weight:500;
  font-size:clamp(26px,3.4vw,36px); margin:6px 0 0;
}

.dispo-grid{
  display:flex; gap:clamp(24px,4vw,56px); align-items:flex-start; flex-wrap:wrap;
}
.dispo-list{ flex:1; min-width:280px; max-width:460px; }
.dispo-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 4px; border-bottom:1px solid var(--line);
  font-size:15px;
}
.dispo-row .day{ font-weight:600; color:var(--status-neutral); }
.dispo-row .hours{ color:var(--ink-soft); }

.dispo-row.today:not(.closed) .day,
.dispo-row.today:not(.closed) .hours{ color:var(--status-open); }

.dispo-row.today.closed .day,
.dispo-row.today.closed .hours{ color:var(--status-closed); }

.dispo-map-block{
  flex:1; min-width:280px; max-width:460px;
  display:flex; flex-direction:column; gap:12px;
}
.dispo-map, .map{
  width:100%; aspect-ratio:4/3;
  border-radius:18px; overflow:hidden;
  box-shadow:0 14px 34px rgba(20,20,20,0.1);
}
.dispo-map iframe, .map iframe{ width:100%; height:100%; border:0; display:block; }
.dispo-social, .map-text{
  display:flex; align-items:center; justify-content:space-between;
}
.dispo-social p, .map-text p{ font-weight:600; font-size:14.5px; margin:0; }
.dispo-social .icons, .map-text .icons{ display:flex; gap:12px; }
.dispo-social .icons a, .map-text .icons a{
  width:36px; height:36px; border-radius:50%;
  background:var(--accent-tint); display:flex; align-items:center; justify-content:center;
  font-size:15px; transition:transform .15s ease, background .2s ease;
}
.map-text .icons img{ width:16px; height:16px; display:block; }
.dispo-social .icons a:hover, .map-text .icons a:hover{ background:#e2e2e2; transform:translateY(-2px); }

.dispo-row{
  transition: transform .2s ease;
}
.dispo-row:hover{ transform: translateX(2px); }
.dispo-row:active{ transform: translateX(2px) scale(0.99); }

@media (max-width:760px){
  .dispo-grid{ flex-direction:column; align-items:center; gap: clamp(40px, 8vw, 80px); }
  .dispo-list, .dispo-map-block{ max-width:100%; width:100%; }
}

/* ---------- FOOTER ---------- */
footer{
  border-top:1px solid var(--line);
  padding:20px 24px;
  font-size:13px; color:var(--ink-soft);
}
.footer-container{
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap;
}
.footer-left{ display:flex; align-items:center; }
.footer-logo{ display:flex; align-items:center; }
.footer-logo img{ height:56px; width:auto; max-width:220px; display:block; }
#footer-logo-fallback{ font-family:'Fraunces', serif; font-weight:600; font-size:21px; letter-spacing:-0.01em; color:var(--ink); }

.footer-right{ text-align:right; }

@media (max-width:600px){
  .footer-container{ flex-direction:column; align-items:flex-start; gap:12px; }
  .footer-right{ text-align:left; }
}

.footer-right a{
  color:var(--ink-soft);
  font-size:14px;
  font-weight:500;
  transition:color .2s ease;
}
.footer-right a:hover{ color:var(--ink); }
.footer-sep{ color:var(--ink-soft); font-size:14px; }

/* ---------- HERO PHOTO GALLERY MODAL + LIGHTBOX ---------- */
.gallery-modal, .hero-gallery-modal{
  position:fixed; inset:0; z-index:200;
  display:flex; align-items:center; justify-content:center;
  background:rgba(20,20,20,0.7);
  backdrop-filter:blur(8px);
}
.gallery-modal.hidden, .hero-gallery-modal.hidden{ display:none; }
.gallery-box, .hero-gallery-box{
  position:relative;
  width:min(90vw, 800px); max-height:80vh; overflow-y:auto;
  background:var(--paper); border-radius:20px; padding:24px;
}
.gallery-close, .hero-gallery-close{
  position:absolute; top:12px; right:12px;
  width:34px; height:34px; border:none; border-radius:50%;
  background:#fff; font-size:18px; cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
}
.gallery-grid, .hero-gallery-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(160px,1fr));
  gap:12px; margin-top:8px;
}
.gallery-thumb, .hero-gallery-thumb{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius:12px; cursor:pointer; transition:.15s ease;
}
.gallery-thumb:hover, .hero-gallery-thumb:hover{ opacity:0.85; transform:scale(1.02); }

.lightbox, .hero-lightbox{
  position:fixed; inset:0; z-index:210;
  display:flex; align-items:center; justify-content:center;
  background:rgba(10,10,10,0.85);
  backdrop-filter:blur(10px);
}
.lightbox.hidden, .hero-lightbox.hidden{ display:none; }
.lightbox-img, .hero-lightbox-img{ max-width:85vw; max-height:85vh; border-radius:14px; object-fit:contain; }
.lightbox-close, .hero-lightbox-close{
  position:absolute; top:20px; right:20px;
  width:40px; height:40px; border:none; border-radius:50%;
  background:rgba(255,255,255,0.92); font-size:20px; cursor:pointer;
}
.lightbox-nav, .hero-lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border:none; border-radius:50%;
  background:rgba(255,255,255,0.92); font-size:24px; cursor:pointer;
}
.lightbox-prev, .hero-lightbox-prev{ left:20px; }
.lightbox-next, .hero-lightbox-next{ right:20px; }
@media (max-width:600px){
  .lightbox-nav, .hero-lightbox-nav{ width:38px; height:38px; font-size:20px; }
  .lightbox-prev, .hero-lightbox-prev{ left:10px; } .lightbox-next, .hero-lightbox-next{ right:10px; }
}

html.hero-no-scroll, body.hero-no-scroll{ overflow:hidden; position:fixed; width:100%; }

@media (max-width:960px){
  .hero-scrim, .hero-overlay{
    background: linear-gradient(180deg, rgba(20,20,20,0.78), rgba(20,20,20,0.96));
    z-index: 1; /* explicit, just to be safe against stacking ambiguity */
  }

  .photo-stack, .hero-slides{
    z-index: 0;
  }

  .hero h1, .hero-title,
  .hero p.lede, .hero-message,
  .hero-eyebrow{
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  }
}




















/* =========================
   RESERVATION LAYOUT
========================= */

.reservation-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 20px 10px;      /* ← was 20px 0 */
    max-width: 1150px;
    margin: 0 auto;
}

/* LEFT */
.reservation-left-group {
    flex: 1 1 auto;
    background: #fff;
    border-radius: 15px;
    padding: 20px 47px;
    min-width: 0;
}

/* RIGHT */
.reservation-right-group {
    flex: 0 0 auto;
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 900px) {
    .reservation-container {
        flex-direction: column;
        padding: 15px;
    }

    .reservation-left-group,
    .reservation-right-group {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* PANIER */
.panier {
    background: #fff;
    border-radius: 15px;

    padding: 20px 37px 20px 37px;
}

.panier-title {
    text-align: center;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 900;

    margin-bottom: 10px;
}

.panier-time {
    text-align: center;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;

    color: #666;

    margin-bottom: 20px;
}

.panier-list {
    display: flex;
    flex-direction: column;
}

.panier-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.panier-service-title {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;

    margin: 0;

    flex: 1;
    min-width: 0; /* IMPORTANT: allows shrinking + wrapping */
    white-space: normal;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* future standard (safe to include) */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.panier-price {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;

    flex-shrink: 0;       /* ❌ prevents shrinking */
    white-space: nowrap;  /* ❌ prevents line break */
}

.panier-meta {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 300;

    color: #999999;

    margin-top: 4px;
}

.panier hr {
    border: none;
    border-top: 1px solid #C0C0C0;

    margin: 20px 0;
}

.panier-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;

    margin-top: 10px;
}

.add-service a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #000;
    color: #fff;
    text-decoration: none;

    padding: 10px 16px;

    border-radius: 8px;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600; /* semi bold */

    transition: 0.2s ease;
}

/* hover effect (optional but recommended) */
.add-service a:hover {
    opacity: 0.85;
}

/* click feedback */
.add-service a:active {
    transform: scale(0.98);
}

/* STACK */
.reservation-left-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* =========================
   CRENEAU BASE
========================= */

.creneau {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.creneau-group {
    display: flex;
    flex-direction: column;
}

/* LABEL */
.creneau-label {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* =========================
   SELECT
========================= */

.creneau-select-wrapper {
    display: inline-flex;
    width: auto;
    max-width: 180px; /* controls desktop size */
}

.creneau-select {
    width: 180px;
    height: 56px;

    padding: 8px 10px;

    border: 1px solid #E7E7E7;
    border-radius: 10px;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 300;

    background: #fff;
}

.creneau-staff {
    margin-bottom: 16px; /* adjust: 16px / 20px / 24px */
}

.creneau-slots {
    margin-top: 18px; /* 👈 space between weekdays and time slots */
}

@media (max-width: 768px) {

    .reservation-container {
        flex-direction: column;
        padding: 10px;
    }

    .reservation-left-group {
        padding: 20px;
    }

    /* =========================
       STAFF SELECT
    ========================= */
    .creneau-select-wrapper,
    .creneau-select {
        width: 100%;
    }

    /* =========================
       MONTH ROW
    ========================= */
    .month-row {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .month-item {
        font-size: 12px;
    }

    /* =========================
       DAYS (IMPORTANT)
    ========================= */
    .days-inline span {
        height: 38px;
        font-size: 13px;
    }

    .nav-btn {
        width: 18px;
        height: 38px;
    }

    /* =========================
       WEEKDAYS
    ========================= */
    .weekdays-grid .day-item {
        font-size: 12px;
    }

    /* =========================
       TIME SLOTS
    ========================= */
    .time-slot {
        font-size: 16px;
        padding: 10px 12px;
    }

    .time-slot-row {
        grid-template-columns: 18px 1fr 18px;
    }
}

@media (max-width: 480px) {

    .reservation-left-group {
        padding: 15px;
    }

    .reservation-container {
        gap: 15px;
    }

    /* compress calendar further */
    .month-item {
        font-size: 11px;
    }

    .days-inline span {
        height: 34px;
        font-size: 12px;
    }

    .time-slot {
        font-size: 15px;
        padding: 8px 10px;
    }

    .service-title {
        font-size: 15px;
    }

    .service-description {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-btn,
    .weekdays-nav-btn,
    .month-nav-btn {
        display: none;
    }
}

.description {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: "Inter", sans-serif;
}

.service-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* TITLE */
.service-title {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700; /* black / bold */
    color: #000;
    margin: 0;
}

/* DESCRIPTION */
.service-description {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #444;
    margin: 0;
    line-height: 1.4;
}

/* =========================
   MONTHS
========================= */

.month-nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.month-nav-btn {
    width: 22px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 200;

    background: transparent;
    border: none;

    color: transparent;   /* invisible arrow */
    cursor: default;      /* not clickable */

    pointer-events: none; /* fully disabled */
}

.month-item {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 42px;
    width: 100%;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    border: 1px solid #E7E7E7;
    border-radius: 8px;

    background: #fff;
    color: #000;

    cursor: default;
}

.month-item.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* =========================
   DATE NAV (ARROWS + DATES)
========================= */

.nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;

    position: relative;
    overflow: hidden;
}

/* ARROWS */
.nav-btn {
    width: 22px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 200;

    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #000;
    
    transition: background 0.2s ease, transform 0.1s ease;
}

/* HOVER (same feel as date boxes) */
.nav-btn:hover {
    background: #f2f2f2;
}

/* CLICK / ACTIVE PRESS EFFECT */
.nav-btn:active {
    transform: scale(0.92);
    background: #e6e6e6;
}

/* OPTIONAL: disabled state if ever re-enabled */
.nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

/* =========================
   DATES ROW
========================= */

.days-inline {
    display: flex;
    flex: 1;
    gap: 6px;

    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.days-inline.slide-left {
    transform: translateX(-40px);
}

.days-inline.slide-right {
    transform: translateX(40px);
}

.days-inline input {
    display: none;
}

/* EACH DATE BOX */
.days-inline label {
    flex: 1;
}

.month-row,
.days-inline {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* DATE BOX */
.days-inline span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 42px;

    border: 1px solid #E7E7E7;
    border-radius: 8px;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.2s;
}

/* HOVER */
.days-inline label:hover span {
    background: #f2f2f2;
}

/* SELECTED */
.days-inline input:checked + span {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* --- Weekdays --- */

/* FORCE ROW */
.weekdays-row {
    display: grid;
    grid-template-columns: 22px 1fr 22px;
    align-items: center;

    width: 100%;
    gap: 8px;
}

/* GRID BECOMES REAL GRID (NOT FLEX) */
.weekdays-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;

    position: relative; /* IMPORTANT */
}

/* sliding underline */
.days-indicator {
    position: absolute;
    bottom: 6px; /* controls underline distance */

    height: 2px;
    width: 0;

    background: #000;

    border-radius: 999px; /* ✅ rounded underline */

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1);

    z-index: 0;
}

/* ARROWS */
.weekdays-nav-btn {
    width: 22px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 200;

    background: transparent;
    border: none;

    color: #fff;   /* light like disabled UI */
    cursor: default;

    pointer-events: none;

    flex-shrink: 0;
}

/* BOXES */
.weekdays-grid .day-item {
    height: 42px;

    display: inline-flex;      /* important: shrink to content */
    align-items: center;
    justify-content: center;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    color: #000;
    background: transparent;

    border: none;

    cursor: default;

    position: relative;
    padding: 0 4px; /* small breathing room */

    z-index: 1;
    
}

/* NO HOVER (MATCH MONTHS RULE) */
.weekdays-grid .day-item:hover {
    opacity: 1;
}

/* ACTIVE STATE (MATCH MONTHS/DATES EXACTLY) */

/* =========================
   DESCRIPTION
========================= */

.description {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.service-description {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.4;
}

.service-separator {
    font-size: 10px;
    font-weight: 300;
    color: #999999; /* SAME COLOR AS TEXT */
    line-height: 1;
    transform: translateY(1px);
}

/* ROW */
.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* META */
.service-meta {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 300; /* light */
    color: #999999;
    line-height: 1;
}

.service-meta {
    font-size: 14px;
    font-weight: 300;
    color: #999;
}

/* REMOVE */
.service-actions a {
    font-size: 14px;
    color: #E4605A;
    text-decoration: underline;
}

/* DIVIDER */
.service-block hr {
    border: none;
    border-top: 1px solid #eee;

    margin-top: 12px;
    margin-bottom: 0;

    display: block;
    width: 100%;
}

@media (max-width: 768px) {

    .service-block {
        gap: 10px;
    }

    .service-title {
        font-size: 15px;
    }

    .service-description {
        font-size: 13px;
    }

    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-meta-group {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .service-actions a {
        font-size: 13px;
    }

    hr {
        margin: 15px 0;
    }
}

@media (max-width: 480px) {

    .service-title {
        font-size: 14px;
    }

    .service-description {
        font-size: 12.5px;
        line-height: 1.3;
    }

    .service-meta {
        font-size: 13px;
    }

    .service-actions a {
        align-self: flex-start;
    }
}

/* MONTH NAV ROW */
.month-nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* =========================
   MONTHS (MATCH DATE BOX STYLE)
========================= */

.month-nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* arrows (unchanged visual only) */
.month-nav-btn {
    width: 22px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 200;

    background: transparent;
    border: none;

    color: #fff;
    pointer-events: none;
    cursor: default;
}

/* grid same as dates */
.month-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;

    position: relative;
    flex: 1;

    border: 1px solid #E7E7E7;
    border-radius: 8px;
    background: #fff;
    overflow: hidden; /* IMPORTANT for smooth slide illusion */
}

/* sliding background */
.month-row .active-indicator {
    position: absolute;
    top: 0;
    left: 0;

    height: 100%;
    width: 0;

    background: #000;

    border-radius: 8px; /* important: prevents "ball edges" */
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1);

    z-index: 0;
}

/* MONTH ITEMS BECOME PURE TEXT LAYER */
.month-item {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 42px;
    width: 100%;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    color: #000;

    position: relative;
    z-index: 2;

    border: none;          /* 🔥 important */
    background: transparent;
}

/* ACTIVE TEXT ONLY CHANGES COLOR (NO BOX SHAPE CHANGE) */
.month-item.active {
    color: #fff;
}

/* =========================
   CALENDAR WRAPPER SPACING
========================= */

.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: 10px; /* 👈 was 10px */
}

.month-nav-row,
.nav-row,
.weekdays-row {
    margin: 0;
}

.month-row,
.days-inline,
.weekdays-grid {
    position: relative;
}

.active-indicator {
    position: absolute;
    top: 0;
    left: 0;

    height: 42px;
    width: 0px;

    border-radius: 8px;
    background: #000;

    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);

    z-index: 0;
}

.month-item,
.days-inline label,
.weekdays-grid .day-item {
    position: relative;
    z-index: 1;
}

.time-slot-row {
    display: grid;
    grid-template-columns: 22px 1fr 22px;
    align-items: center;

    gap: 8px;
    margin-bottom: 13px; /* 👈 changed from 6px */
}

/* invisible arrows (like your months/days) */
.time-nav-btn {
    width: 22px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;

    color: transparent;   /* invisible */
    pointer-events: none; /* unclickable */
    cursor: default;
}

/* center slot */
.time-slot {
    height: clamp(40px, 6vw, 50px);
    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 5px 15px;

    font-family: "Inter", sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 300;

    border: 1px solid #E7E7E7;
    border-radius: 15px;

    background: #fff;
    cursor: pointer;
}

/* hover like your other components */
.time-slot:hover {
    background: #f2f2f2;
}

/* selected state (matches your design system) */
.time-slot input {
    display: none;
}

.time-slot input:checked + span {
    color: #fff;
}

.time-slot:has(input:checked) {
    background: #000;
    border-color: #000;
}

/* ensure span fills full box */
.time-slot span {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start; /* 👈 key fix */

    text-align: left;

    border-radius: 8px;
}

/* =========================
   INFO CARD
========================= */

.info {
    background: #fff;
    border-radius: 15px;

    padding: 20px 37px;

    display: flex;
    flex-direction: column;

    gap: 30px;
}

/* =========================
   TITLE
========================= */

.info-title {
    text-align: center;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 900; /* black */

    color: #000;
}

/* =========================
   INPUT BLOCK
========================= */

.info-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* UNDERLINE INPUT STYLE */
.info-input {
    width: 100%;

    padding: 10px 0;

    border: none;
    border-bottom: 1px solid #E7E7E7;

    outline: none;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 300;

    background: transparent;
}

/* PLACEHOLDER STYLE */
.info-input::placeholder {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #999;
}

/* =========================
   BUTTON
========================= */

#confirmButton {
    width: 100%;

    padding: 10px 16px;

    background: #000;
    color: #fff;

    border: none;
    border-radius: 50px;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: transform 0.08s ease, opacity 0.2s ease;
}

/* hover */
#confirmButton:hover {
    opacity: 0.9;
}

/* click animation */
#confirmButton:active {
    transform: scale(0.96);
}

#confirmButton:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* =========================
   CONFIRMATION PAGE ONLY
========================= */

.confirmation-page {
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: 'Courier Prime', monospace;
    background: #ffffff;
    padding: clamp(16px, 5vw, 24px);
    box-sizing: border-box;
}

.confirmation-page .confirmation-container {
    text-align: center;
    max-width: 500px;
    width: 100%;
    padding: clamp(24px, 6vw, 40px) clamp(16px, 4vw, 24px);
}

/* Green circle */
.confirmation-page .confirmation-icon {
    width: clamp(80px, 22vw, 110px);
    height: clamp(80px, 22vw, 110px);
    border-radius: 50%;
    background: #65c77d;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    margin: 0 auto clamp(20px, 5vw, 28px);

    color: white;
    font-size: clamp(32px, 9vw, 44px);
    font-weight: 700;
    line-height: 1;

    animation: confirmBounce 0.6s ease-out;
}

/* Title */
.confirmation-page .confirmation-title {
    font-size: clamp(17px, 4.5vw, 20px);
    font-weight: 700;

    line-height: 1.3;
    margin-bottom: clamp(12px, 3vw, 16px);
}

/* Text */
.confirmation-page .confirmation-text {
    font-size: clamp(13px, 3.5vw, 15px);
    font-weight: 400;
    line-height: 1.7;
    margin: 0 auto clamp(24px, 6vw, 36px);
    max-width: 36ch;
}

/* Link */
.confirmation-page .confirmation-link {
    display: inline-block;
    font-size: clamp(13px, 3.5vw, 15px);
    font-weight: 700;
    color: #0563C1;
    text-decoration: none;
    padding: clamp(10px, 2.5vw, 12px) clamp(14px, 3.5vw, 18px);
}

.confirmation-page .confirmation-link:hover {
    text-decoration: underline;
}

/* =========================
   ICON ANIMATION
========================= */

@keyframes confirmBounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}
/* =========================
   FORCE RESPONSIVE GRID STABILITY
========================= */

.month-row,
.weekdays-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* CRITICAL: prevents overflow causing misalignment */
.month-item,
.day-item {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {

    .month-item,
    .day-item {
        font-size: 12px;
    }

    .month-item,
    .day-item,
    .days-inline span {
        height: 36px;
    }
}

@media (max-width: 480px) {

    .month-item,
    .day-item {
        font-size: 11px;
    }

    .month-item,
    .day-item,
    .days-inline span {
        height: 32px;
    }
}

.month-item,
.day-item,
.active-indicator {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                font-size 0.2s ease;
}

@media (max-width: 480px) {

    .time-slot {
        height: 40px;
        font-size: 14px;
        padding: 6px 10px;
    }

    .time-slot span {
        font-size: 14px;
    }
}



/* --------------------------------------------------------------------------------------------------- */



/* =========================
   MOBILE CART (BOTTOM SHEET)
========================= */

.page-wrapper {
    position: relative;
}

.mobile-cart-bar {
    display: none;
}

@media (max-width: 900px) {

    /* =========================
       RIGHT GROUP (still exists, but becomes context only)
    ========================= */
    .reservation-right-group {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    /* hide desktop panier */
    .reservation-right-group .panier {
        display: none;
    }

    /* =========================
       ADD BUTTON → FLOATING ABOVE SHEET
    ========================= */

    .add-service {
        position: fixed;
        right: 20px;

        /* sits above cart sheet */
        bottom: calc(85px + 12px);

        z-index: 1000;

        margin: 0;
    }

    .add-service a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: auto;            /* IMPORTANT */
        max-width: fit-content; /* prevents stretching */

        background: #000;
        color: #fff;
        text-decoration: none;

        padding: 10px 14px;

        border-radius: 10px;

        font-family: "Inter", sans-serif;
        font-size: 13px;  /* slightly smaller */
        font-weight: 600;

        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    /* =========================
       INFO BOX (kept in normal flow but above sheet space)
    ========================= */

    .info {
        position: relative;
        z-index: 1;
    }

    /* =========================
       CART SHEET
    ========================= */

    .cart-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 9;

        opacity: 0;
        visibility: hidden;
        transition: 0.25s ease;
    }

    .cart-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-cart-bar {
        display: flex;
        flex-direction: column;

        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 10;

        background: #fff;
        border-top-left-radius: 22px;
        border-top-right-radius: 22px;
        border-top: 1px solid #E7E7E7;

        height: 90vh; /* fixed */
        
        transform: translateY(calc(100% - 85px - var(--footer-offset, 0px)));
        transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);

        will-change: transform;
        backface-visibility: hidden;

        overflow: hidden;
    }

    .mobile-cart-bar.open {
        transform: translateY(calc(-1 * var(--footer-offset, 0px)));
        height: 90vh;
    }

    .mobile-cart-bar * {
        pointer-events: auto;
    }

    /* handle */
    .mobile-cart-handle {
        display: flex;
        justify-content: center;
        padding: 10px 0 6px;

        position: relative;
        z-index: 5;
    }

    .mobile-cart-handle-icon {
        width: 42px;
        height: 5px;
        border-radius: 999px;
        background: #ddd;
    }

    /* summary */
    .mobile-cart-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 14px 20px;

        position: relative;
        z-index: 2;
        transition: 0.2s ease;
    }

    .mobile-cart-bar-left {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .mobile-cart-bar-total {
        font-family: "Inter", sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #000;
        line-height: 1.2;
    }

    .mobile-cart-bar-meta {
        font-family: "Inter", sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #999;
        line-height: 1.2;
    }

    .mobile-cart-bar-price {
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: #000;
        line-height: 1.2;
    }

    .mobile-cart-drawer {
        max-height: 65vh;
        overflow-y: auto;
        border-top: 1px solid #E7E7E7;

        opacity: 0;
        transform: translateY(10px);
        transition: 0.25s ease;
    }

    .mobile-cart-bar.open .mobile-cart-summary {
        opacity: 0;
        transform: translateY(-8px);
    }

    .mobile-cart-bar.open .mobile-cart-drawer {
        opacity: 1;
        transform: translateY(0);
    }

    /* prevent overlap scroll issues */
    /*body {
        .page-wrapper body,
        body:has(.mobile-cart-bar) {
            padding-bottom: calc(140px + env(safe-area-inset-bottom));
        }
    }*/

    .creneau-select-wrapper {
        max-width: 100%;
    }

    .creneau-select {
        width: 160px;     /* slightly smaller for mobile */
        height: 42px;     /* reduces vertical bulk */
        font-size: 14px;  /* keeps text proportional */
    }

    footer {
        position: relative;
        z-index: 9999;
    }

    /*body.reservation-page {
        padding-bottom: calc(140px + env(safe-area-inset-bottom));
    }*/

    .reservation-container {
        padding-bottom: 140px;
    }

    body {
        --footer-buffer: 160px;

    }

    /* when page is near bottom, we push UI up */

    .page-wrapper.is-near-footer .add-service {
        bottom: calc(85px + 12px + var(--footer-offset, 0px));
        transition: bottom 0.3s ease;
    }

    #scrollEndMarker {
        height: 1px;
    }
}

.panier-empty {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #999;
    text-align: center;
    padding: 10px 0;
}

#daysContainer {
    transition: opacity 0.18s ease, transform 0.18s ease;
    will-change: opacity, transform;
}

#daysContainer.switching-next {
    opacity: 0;
    transform: translateX(-24px);  /* slides out to the left */
}

#daysContainer.switching-prev {
    opacity: 0;
    transform: translateX(24px);   /* slides out to the right */
}

/* -------------------------------------------------------------------- */

@media (min-width: 901px) {

    .reservation-container,
    .reservation-left-group,
    .reservation-right-group {
        overflow: visible;
    }

    .reservation-container {
        align-items: flex-start;
    }

    .reservation-right-group {
        position: sticky;
        top: 80px; /* match your nav height + spacing */
        align-self: flex-start;
    }
}
/* ----------------------------------------------------------------------- */

@keyframes infoSoftFocus {
    0% {
        opacity: 0.6;
        transform: translateY(18px) scale(0.98);
    }

    55% {
        opacity: 1;
        transform: translateY(-6px) scale(1.01);
    }

    75% {
        transform: translateY(2px);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.info.scroll-focus {
    animation: infoSoftFocus 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: top;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: clamp(20px, 5vw, 28px) clamp(16px, 4vw, 24px);
    max-width: 400px;
    width: 90%;
    border-radius: 16px;
    text-align: left;

    transform: scale(0.85) translateY(20px);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.25s ease;
    opacity: 0;
}

.modal:not(.hidden) .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content p {
    font-family: "Inter", sans-serif;
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin-bottom: clamp(16px, 4vw, 20px);
}

.modal-content button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: clamp(8px, 2vw, 10px) clamp(16px, 4vw, 20px);

    background: #000;
    color: #fff;

    font-family: "Inter", sans-serif;
    font-size: clamp(12px, 3vw, 13px);
    font-weight: 600;

    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.modal-content button:hover {
    background: #222;
}



/* -------------------------------------------------------------------------------------------- */


/* --- À propos --- */

.about-wrapper {
    display: flex;
}

.about-box {
    width: 100%;
    text-align: left;
}

.about-title {
    font-family: Inter, sans-serif;
    font-weight: 900;
    font-size: clamp(20px, 2.6vw, 26px);
    letter-spacing: -0.01em;
    margin-bottom: 16px;

    opacity: 0;
    transform: translateY(-18px);
    animation: aboutSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-play-state: paused;
}

.about-title.reveal {
    animation-play-state: running;
}

@keyframes aboutSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    color: #333;

    text-align: justify;
    hyphens: auto;

    opacity: 0;
    transform: translateY(16px);
    min-height: 1.9em;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-text.reveal {
    opacity: 1;
    transform: translateY(0);
}

.page-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 22px 20px 0;   /* was: 0 20px */
}

body.about-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.about-page footer {
    margin-top: auto;
}

.about-hr {
    border: none;
    height: 1px;
    background-color: #909090;

    width: 50%;
    margin: 20px auto; /* centers it + spacing */
}

/* --- Équipe --- */

.equipe {
    margin-top: 32px;
}

.equipe-title {
    font-family: Inter, sans-serif;
    font-weight: 900;
    font-size: clamp(20px, 2.6vw, 26px);
    letter-spacing: -0.01em;
    margin-bottom: 24px;

    opacity: 0;
    transform: translateY(-18px);
    animation: aboutSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-play-state: paused;
}

.equipe-title.reveal {
    animation-play-state: running;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.equipe-card {
    display: flex;
    flex-direction: column;

    perspective: 700px;      /* NEW: fixed vanishing point */
    transform-style: preserve-3d;
    will-change: transform;
}

/* staggered entrance: photo → name → role (only plays once .equipe-grid has .reveal) */
.equipe-photo-box {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.65, 0, 0.35, 1) var(--card-delay, 0s),
                transform 0.75s cubic-bezier(0.65, 0, 0.35, 1) var(--card-delay, 0s),
                box-shadow 0.25s ease;
}

.equipe-name {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--card-delay, 0s) + 0.15s),
                transform 0.65s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--card-delay, 0s) + 0.15s);
}

.equipe-role {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--card-delay, 0s) + 0.28s),
                transform 0.6s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--card-delay, 0s) + 0.28s);
}

.equipe-grid.reveal .equipe-photo-box,
.equipe-grid.reveal .equipe-name,
.equipe-grid.reveal .equipe-role {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .equipe-card {
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .equipe-card:hover .equipe-photo-box {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16),
                    0 8px 18px rgba(0, 0, 0, 0.08);
    }

    /* once a card has fully risen in ("settled"), the mouse-driven
       tilt/parallax takes over — card tilts toward the cursor,
       photo reacts fast, name+role lag a beat behind ("weight on springs").
       cubic-bezier(0.4, 0, 0.2, 1) is a true ease-in-out: gentle start,
       gentle finish, so both the hover-in and the return-to-rest read
       as smooth motion rather than a snap. */
    .equipe-card.settled .equipe-photo-box {
        transition: box-shadow 0.3s ease;
    }

    
}

.equipe-photo-box {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f3f3;
}

.equipe-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equipe-photo-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 48px;
    background: #f3f3f3;
}

.equipe-info {
    margin-top: 10px;
}

.equipe-name {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.equipe-role {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #909090;
    margin-top: 4px;
}

/* --- TABLET (2 columns instead of 3) --- */
@media (max-width: 900px) {
    .equipe-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .page-container {
        padding: 0 20px;
    }
}

/* --- MOBILE (1 column layout) --- */
@media (max-width: 600px) {
    .equipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .about-title,
    .equipe-title {
        font-size: 18px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.75;
        max-width: 100%;
    }

    .equipe-name {
        font-size: 14px;
    }

    .equipe-role {
        font-size: 11px;
    }

    .about-hr {
        width: 70%;
    }

    .page-container {
        padding-top: 10px;
    }
}

/* ------------------------------------------------------ */





/* ------------------------------------------------------ */
/* =========================
   CANCEL RDV LIST
========================= */

.cancel-rdv-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 25px;
}

.cancel-rdv-row {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;

    cursor: pointer;
    transition: 0.15s ease;
}

.cancel-rdv-row:hover {
    background: #f7f7f7;
}

.cancel-rdv-row.disabled {
    opacity: 0.5;
    cursor: default;
}

.cancel-rdv-row.disabled:hover {
    background: #fff;
}

.cancel-rdv-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #E4605A;
}

.cancel-rdv-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "Inter", sans-serif;
}

.cancel-rdv-service {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.cancel-rdv-meta {
    font-size: 13px;
    color: #777;
}

@media (min-width: 901px) {
    .panier-list {
        max-height: 160px;      /* ≈ 2 services worth of height, tweak if needed */
        overflow-y: auto;
        padding-right: 6px;
    }

    .panier-list::-webkit-scrollbar {
        width: 5px;
    }
    .panier-list::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 999px;
    }
    .panier-list::-webkit-scrollbar-track {
        background: transparent;
    }
}