/* =====================================================================
   555 Hotel Clubbing — 555 eXperience guest web-app
   - Layout & content structure: 555-hotel-clubbing-marrakech.bowo.app
   - Fonts: Canela Light + Helvetica LT 47 Light Condensed (from boho)
   - Palette: the app's own brand config (black #000 / yellow #FFD500)
   - Built on the Nommos Beach Resort package structure
   ===================================================================== */

@font-face {
  font-family: 'canela-light';
  src: url('assets/fonts/canela-light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HelveticaCond';
  src: url('assets/fonts/HelveticaLT47LightCondensed.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- 555 black & yellow palette (from the boho style config) ---- */
  --c-white:       #ffffff;
  --c-mist-100:    #f1f1f1;   /* soft section tint, hairlines            */
  --c-mist-200:    #dfe1e4;   /* stronger borders                        */
  --c-yellow:      #ffd500;   /* brand accent                            */
  --c-yellow-300:  #ffe04d;   /* accent hover                            */
  --c-yellow-deep: #edd200;   /* accent pressed                          */
  --c-yellow-050:  #fff3b0;   /* pale yellow: overlines on photos, tints  */
  --c-gold-ink:    #8a6d00;   /* readable gold for text on light         */
  --c-slate:       #6b7280;   /* muted UI text & icons                   */
  --c-gray:        #434549;
  --c-ink-900:     #000000;
  --c-ink:         #212934;   /* brand dark                              */

  --bg-page:       #f9f9f9;
  --text:          var(--c-ink);
  --accent:        var(--c-yellow);
  --accent-soft:   var(--c-gold-ink);

  /* ---- boho fonts ---- */
  --font-title: 'canela-light', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui:    'HelveticaCond', 'Helvetica Neue', 'Arial Narrow', Arial, sans-serif;

  --hero-w: 40vw;
  --hero-w-max: 620px;
  --dock-h: 78px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ---- bilingual: only the active language's long blocks are shown ---- */
.i18n-block { display: none; }
html[lang="fr"] .i18n-block[data-lang="fr"],
html[lang="en"] .i18n-block[data-lang="en"] { display: block; }
/* avoid a flash of French for EN visitors (removed by i18n.js) */
html.nb-pending body { visibility: hidden; }

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg-page);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--c-ink);
  font-weight: normal;
  margin: 0;
  letter-spacing: .01em;
}

a { color: var(--c-ink); text-decoration: none; }
a:hover { color: var(--accent-soft); }
img { max-width: 100%; display: block; }

/* =====================================================================
   Split shell
   ===================================================================== */
.shell { display: flex; align-items: flex-start; min-height: 100vh; }

.hero {
  position: sticky; top: 0;
  flex: 0 0 var(--hero-w);
  width: var(--hero-w);
  max-width: var(--hero-w-max);
  height: 100vh;
  overflow: hidden;
  background: var(--c-ink-900);
}
.hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,7,7,.18) 0%, rgba(4,7,7,.58) 100%);
}
.hero__logo {
  position: absolute; left: 0; right: 0; top: 44%;
  z-index: 2; text-align: center;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(26px, 3vw, 46px);
  letter-spacing: .02em;
  padding: 0 24px;
}
.hero__logo img {
  width: min(80%, 420px);
  height: auto; margin: 0 auto;
  filter: drop-shadow(0 2px 22px rgba(0,0,0,.45));
}
.hero__weather {
  position: absolute; left: 26px; bottom: 26px; z-index: 2;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 19px;
  letter-spacing: .04em;
  display: flex; align-items: center; gap: 9px;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero__weather .sun {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-yellow);
  box-shadow: 0 0 0 4px rgba(255,213,0,.35);
}

/* =====================================================================
   Right content column
   ===================================================================== */
.content { flex: 1 1 auto; min-width: 0; padding-bottom: calc(var(--dock-h) + 60px); }

.topbar { background: var(--c-white); padding: 22px 20px 40px; text-align: center; }

.lang {
  display: inline-flex; gap: 6px;
  background: var(--c-mist-100);
  border-radius: 6px; padding: 4px; margin-bottom: 34px;
}
.lang a {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .06em;
  border-radius: 4px;
  padding: 7px 16px;
  background: transparent;
  color: var(--c-ink);
}
.lang a.is-active { background: var(--c-ink); color: #fff; }

.quick { display: flex; justify-content: center; gap: clamp(20px, 6vw, 90px); }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; }
.quick .ico { width: 30px; height: 30px; color: var(--c-ink); }
.quick span {
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  line-height: 1.35;
}

/* ---- Section scaffolding ---- */
.section { padding: 60px clamp(18px, 5vw, 70px) 34px; }
.section--intro { padding-top: 34px; }
.divider { width: 54px; height: 1px; background: var(--c-yellow); margin: 0 auto 26px; }
.section__title {
  text-align: center;
  font-family: var(--font-title);
  font-size: clamp(28px, 3.6vw, 44px);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 40px;
  line-height: 1.18;
}
.section__title--intro { text-transform: none; letter-spacing: .02em; }
.overline {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-slate);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark    { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--accent  { background: var(--c-yellow); color: var(--c-ink-900); }
.btn--accent:hover { background: var(--c-yellow-300); color: var(--c-ink-900); }
.btn--green   { background: var(--c-ink); color: #fff; }
.btn--green:hover { background: var(--c-ink-900); color: #fff; }
.btn--light   { background: #fff; color: var(--c-ink); }
.btn--light:hover { background: var(--c-mist-100); color: var(--c-ink); }
.btn--sm { padding: 9px 16px; font-size: 11px; }

/* ---- Wide feature card ---- */
.feature {
  position: relative; border-radius: 4px; overflow: hidden;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,23,.12), rgba(20,22,23,.46));
}
.feature .btn { position: relative; z-index: 2; }

/* ---- Numbered image cards ---- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; border-radius: 4px; overflow: hidden;
  min-height: 430px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 40px 24px 30px;
  text-align: center;
  background-size: cover; background-position: center;
  color: #fff;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,23,.30) 0%, rgba(20,22,23,.72) 100%);
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card__head { display: flex; flex-direction: column; gap: 6px; }
.card__head .overline { color: var(--c-yellow-050); }
.card__title {
  font-family: var(--font-title);
  color: #fff;
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.25;
}
.card__num {
  font-family: var(--font-title);
  font-size: 74px; line-height: 1;
  color: #fff; opacity: .95;
}
/* short variant (conciergerie) */
.card--short { min-height: 260px; justify-content: flex-end; gap: 16px; padding: 26px 20px 24px; }
.card--short .card__title { font-size: 19px; }

/* =====================================================================
   Clubbing venues (real boho logos)
   ===================================================================== */
.venues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.venue {
  position: relative; min-height: 300px;
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px;
  padding: 26px 20px 28px;
  text-align: center;
  background-size: cover; background-position: center;
  background-color: var(--c-ink-900);   /* dark base so a loading/missing photo still reads well */
  color: #fff;
}
.venue::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(20,22,23,.46); z-index: 0;
}
.venue > * { position: relative; z-index: 1; }
.venue__logo {
  width: min(66%, 250px);
  height: auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,.45));
}
/* fallback when a venue has no logo file */
.venue__name {
  font-family: var(--font-title);
  color: #fff; font-size: 23px;
  letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.venue--wide { grid-column: 1 / -1; min-height: 280px; }
.venue--wide .venue__logo { width: min(46%, 300px); }

/* =====================================================================
   Fixed bottom dock
   ===================================================================== */
.dock {
  position: fixed; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(20,22,23,.18);
  display: flex;
  gap: clamp(6px, 3vw, 34px);
  padding: 11px clamp(10px, 3vw, 30px);
  max-width: calc(100% - 24px);
}
/* grid keeps icon row a fixed height so labels always align */
.dock a {
  display: grid;
  grid-template-rows: 32px auto;
  justify-items: center;
  align-items: center;
  gap: 5px;
  width: 64px;
  color: var(--c-ink);
}
.dock .ico { width: 24px; height: 24px; }
.dock span:last-child {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.dock a.is-active .badge {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--c-ink-900);
  color: var(--c-yellow); border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 12px; letter-spacing: .04em;
}
/* the 555 mark sits inside the badge on the home tab */
.dock .badge img { width: 22px; height: 22px; object-fit: contain; }

@media (min-width: 1024px) {
  .dock { left: auto; right: 26px; transform: none; }
}

/* =====================================================================
   Brand header
   ===================================================================== */
.page-top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 16px;
  padding: 13px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--c-mist-100);
}
.page-top img { height: 32px; width: auto; }
.page-top .lang { margin: 0 0 0 auto; }
.brand-home {
  display: inline-flex; align-items: center; cursor: pointer;
  background: var(--c-ink-900); border-radius: 6px; padding: 6px 12px;
}
.brand-home:hover { opacity: .8; }
.page-top .brand-home img { height: 22px; }
.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-ink);
}
.back:hover { color: var(--accent); }
.back .arw { font-size: 18px; }

/* =====================================================================
   Sub-page (detail)
   ===================================================================== */
.page { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) calc(var(--dock-h) + 70px); }

.dhero {
  position: relative; border-radius: 6px; overflow: hidden;
  margin-top: 24px; min-height: 300px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 22px;
  background-size: cover; background-position: center;
  color: #fff;
}
.dhero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,23,.30), rgba(20,22,23,.64));
}
.dhero > * { position: relative; z-index: 1; }
.dhero .overline { color: var(--c-yellow-050); margin-bottom: 12px; }
.dhero h1 {
  color: #fff;
  font-size: clamp(30px, 5vw, 54px);
  text-transform: uppercase; letter-spacing: .05em;
  line-height: 1.15;
}
.dhero p { max-width: 640px; margin: 14px auto 0; color: rgba(255,255,255,.9); }
.dhero__logo { width: min(70%, 300px); height: auto; margin: 0 auto 6px; filter: drop-shadow(0 2px 16px rgba(0,0,0,.45)); }

/* article */
.article { max-width: 780px; margin: 40px auto 0; }
.article h2 {
  font-size: clamp(21px, 2.6vw, 29px);
  text-transform: uppercase; letter-spacing: .05em;
  margin: 38px 0 6px;
}
.article h3 {
  font-family: var(--font-ui);
  font-size: 15px; text-transform: uppercase;
  letter-spacing: .16em; color: var(--c-slate);
  margin: 26px 0 4px;
}
.article p { margin: 10px 0; }
.article .lodge {
  border: 1px solid var(--c-mist-100);
  border-radius: 6px; padding: 24px 26px; margin: 20px 0;
  background: var(--c-white);
}
.article .lodge h2 { margin-top: 0; }

/* booking */
.bcat { margin-top: 54px; }
.bcat__title {
  font-size: clamp(21px, 3vw, 30px);
  text-transform: uppercase; letter-spacing: .06em;
  padding-bottom: 12px; margin-bottom: 26px;
  border-bottom: 2px solid var(--c-mist-200);
}
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.bitem {
  background: var(--c-white); border-radius: 6px; overflow: hidden;
  border: 1px solid var(--c-mist-100);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease;
}
.bitem:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,22,23,.10); }
.bitem__img { height: 170px; background-size: cover; background-position: center; background-color: var(--c-mist-200); }
.bitem__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.bitem__title {
  font-family: var(--font-title);
  font-size: 17px; letter-spacing: .03em;
  text-transform: uppercase; color: var(--c-ink); line-height: 1.3;
}
.bitem__desc { font-size: 14px; color: var(--c-gray); margin: 8px 0 14px; flex: 1; }
.bitem__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-title); color: var(--c-gold-ink); font-size: 18px; white-space: nowrap; }
.price small { font-size: 11px; color: var(--c-gray); letter-spacing: .08em; }

/* choices */
.choices { max-width: 560px; margin: 44px auto 0; display: grid; gap: 16px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 26px; border-radius: 6px;
  background: var(--c-white); border: 1px solid var(--c-mist-100);
  font-family: var(--font-ui);
  letter-spacing: .1em; text-transform: uppercase; font-size: 14px;
  color: var(--c-ink);
  transition: background .2s ease, transform .15s ease;
}
.choice:hover { background: var(--c-mist-100); transform: translateY(-2px); color: var(--c-ink); }
.choice .chev { color: var(--c-gold-ink); font-size: 20px; }
.choice--accent { background: var(--c-yellow); color: var(--c-ink-900); border-color: var(--c-yellow); }
.choice--accent:hover { background: var(--c-yellow-300); color: var(--c-ink-900); }
.choice--accent .chev { color: var(--c-ink-900); }

/* embed */
.embed-wrap {
  margin: 30px auto 0; max-width: 900px;
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--c-mist-100); background: var(--c-white);
}
.embed-wrap iframe { width: 100%; height: 78vh; border: 0; display: block; }
.note { max-width: 780px; margin: 20px auto 0; text-align: center; color: var(--c-gray); font-size: 14px; }
.center-cta { text-align: center; margin-top: 30px; }

/* block tints */
.tint-soft  { background: var(--c-mist-100); }
.tint-white { background: var(--c-white); }

/* =====================================================================
   Booking form (modal)
   ===================================================================== */
.bk-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4,7,7,.62);
  display: none; align-items: flex-start; justify-content: center;
  padding: 24px 14px; overflow-y: auto;
}
.bk-overlay.is-open { display: flex; }
.bk-modal {
  position: relative;
  background: var(--c-white);
  border-radius: 8px;
  width: 100%; max-width: 560px;
  margin: auto;
  box-shadow: 0 30px 70px rgba(4,7,7,.35);
  overflow: hidden;
}
.bk-close {
  position: absolute; top: 10px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border: 0; cursor: pointer;
  border-radius: 50%; background: rgba(255,255,255,.9);
  color: var(--c-ink); font-size: 24px; line-height: 1;
}
.bk-close:hover { background: var(--c-mist-100); }
.bk-img { height: 170px; background-size: cover; background-position: center; }
.bk-title {
  font-family: var(--font-title);
  font-size: 24px; letter-spacing: .03em; text-transform: uppercase;
  padding: 22px 26px 0; line-height: 1.25;
}
.bk-desc { margin: 8px 26px 0; color: var(--c-gray); font-size: 14px; }

.bk-form { padding: 20px 26px 26px; display: grid; gap: 16px; }
.bk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-field { display: grid; gap: 6px; }
.bk-field > span {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-gray);
}
.bk-field input, .bk-field textarea, .bk-field select {
  font-family: var(--font-ui);
  font-size: 15px; color: var(--c-ink);
  padding: 11px 12px;
  border: 1px solid var(--c-mist-200);
  border-radius: 4px; background: #fff;
  width: 100%;
}
.bk-field input:focus, .bk-field textarea:focus, .bk-field select:focus {
  outline: none; border-color: var(--c-yellow);
  box-shadow: 0 0 0 3px rgba(255,213,0,.30);
}

.bk-opts { border: 1px solid var(--c-mist-100); border-radius: 6px; padding: 12px 14px; margin: 0; }
.bk-opts legend {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-slate); padding: 0 6px;
}
.bk-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 4px; cursor: pointer;
  border-bottom: 1px solid var(--c-mist-100);
}
.bk-opt:last-child { border-bottom: 0; }
.bk-opt input { accent-color: var(--c-ink); width: 17px; height: 17px; }
.bk-opt-t { flex: 1; font-size: 14px; }
.bk-opt-p { font-family: var(--font-title); color: var(--c-gold-ink); font-size: 15px; }

.bk-total {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 2px solid var(--c-mist-200); padding-top: 14px; margin-top: 2px;
}
.bk-total span {
  font-family: var(--font-ui);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gray);
}
.bk-total-v { font-family: var(--font-title); font-size: 26px; color: var(--c-gold-ink); font-weight: normal; }
.bk-note { margin: 0; font-size: 12px; color: var(--c-gray); text-align: center; }
/* confirmation + failure states (e-mail only, no WhatsApp fallback) */
.bk-thanks { padding: 18px 6px 10px; font-size: 15px; color: var(--c-ink); line-height: 1.6; }
.bk-error {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 6px;
  background: #fdecec; border: 1px solid #f2c2c2; color: #8a1f1f;
  font-size: 13px; text-align: center; line-height: 1.5;
}
.bk-submit { width: 100%; border: 0; }

@media (max-width: 700px) {
  .bk-overlay { padding: 0; }
  .bk-modal { border-radius: 0; min-height: 100%; max-width: none; }
  .bk-row2 { grid-template-columns: 1fr; }
  .bk-title { font-size: 20px; padding: 20px 18px 0; }
  .bk-desc { margin: 8px 18px 0; }
  .bk-form { padding: 18px 18px 30px; }
  .bk-img { height: 140px; }
}

/* =====================================================================
   Panier (shared cart)
   ===================================================================== */
.bk-pill {
  position: fixed;
  right: 20px;
  bottom: calc(var(--dock-h) + 34px);
  z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px;
  border: 0; border-radius: 999px;
  background: var(--c-ink-900);
  color: var(--c-yellow);
  font-family: var(--font-ui);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.38);
  transition: transform .15s ease, background .2s ease;
}
.bk-pill:hover { transform: translateY(-2px); background: #000; }
.bk-pill svg { width: 19px; height: 19px; }
.bk-pill .bk-count {
  display: grid; place-items: center;
  min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px;
  background: var(--c-yellow);
  color: var(--c-ink-900);
  font-size: 11px; letter-spacing: 0;
}
.bk-pill.is-empty { opacity: .82; }

.bk-title--pad { padding-top: 26px; }
.bk-empty { text-align: center; color: var(--c-gray); padding: 26px 0 10px; }

.bk-cart-list { display: grid; gap: 0; border: 1px solid var(--c-mist-100); border-radius: 6px; overflow: hidden; }
.bk-cart-item {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-mist-100);
}
.bk-cart-item:last-child { border-bottom: 0; }
.bk-cart-t {
  font-family: var(--font-title);
  font-size: 15.5px; letter-spacing: .03em; text-transform: uppercase;
  line-height: 1.3;
}
.bk-cart-m { font-size: 12.5px; color: var(--c-gray); margin-top: 3px; }
.bk-cart-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bk-cart-p { font-family: var(--font-title); color: var(--c-gold-ink); font-size: 15px; white-space: nowrap; }
.bk-remove {
  width: 26px; height: 26px;
  border: 1px solid var(--c-mist-200); border-radius: 50%;
  background: transparent; color: var(--c-gray);
  font-size: 15px; line-height: 1; cursor: pointer;
}
.bk-remove:hover { background: var(--c-yellow-050); color: var(--c-ink); border-color: var(--c-yellow-050); }

@media (max-width: 700px) {
  .bk-pill { right: 10px; bottom: calc(var(--dock-h) + 26px); padding: 11px 16px; }
}

/* =====================================================================
   Room Service — ordering menu
   ===================================================================== */
.rs-cat { padding: 14px 0 30px; }
.rs-cat .section__title { margin-bottom: 6px; }
.rs-note { text-align: center; color: var(--c-slate); font-family: var(--font-ui);
  letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin: 0 0 22px; }
.rs-list { max-width: 760px; margin: 0 auto; display: grid; gap: 2px; }
.rs-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--c-mist-100);
}
.rs-item__info { flex: 1; min-width: 0; }
.rs-item__name {
  font-family: var(--font-title); font-size: 18px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--c-ink); line-height: 1.25;
}
.rs-item__desc { font-size: 13.5px; color: var(--c-gray); margin-top: 4px;
                 white-space: pre-line; }
.rs-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.rs-item__price { font-family: var(--font-title); color: var(--c-gold-ink); font-size: 18px; white-space: nowrap; }
.rs-item__price small { font-size: 11px; color: var(--c-gray); letter-spacing: .08em; }

.rs-stepper {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--c-mist-200); border-radius: 999px; padding: 2px;
  transition: border-color .2s ease, background .2s ease;
}
.rs-stepper.is-active { border-color: var(--c-yellow); background: rgba(255,213,0,.14); }
.rs-stepper button {
  width: 30px; height: 30px; border: 0; cursor: pointer;
  background: transparent; color: var(--c-ink);
  font-size: 20px; line-height: 1; border-radius: 50%;
  display: grid; place-items: center;
}
.rs-stepper button:hover { background: var(--c-mist-100); }
.rs-stepper .rs-plus { color: var(--c-gold-ink); }
.rs-qty { min-width: 22px; text-align: center; font-family: var(--font-ui); font-size: 15px; }

/* floating order pill */
.rs-pill {
  position: fixed; right: 20px; bottom: calc(var(--dock-h) + 34px); z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border: 0; border-radius: 999px;
  background: var(--c-ink-900); color: var(--c-yellow);
  font-family: var(--font-ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.38);
  transition: transform .15s ease, opacity .2s ease;
}
.rs-pill:hover { transform: translateY(-2px); }
.rs-pill svg { width: 18px; height: 18px; }
.rs-pill .rs-count {
  display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: rgba(255,213,0,.22); font-size: 11px; letter-spacing: 0;
}
.rs-pill .rs-ptot { letter-spacing: .04em; }
.rs-pill.is-empty { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* order summary lines */
.rs-lines { display: grid; gap: 0; border: 1px solid var(--c-mist-100); border-radius: 6px; overflow: hidden; }
.rs-line {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--c-mist-100);
}
.rs-line:last-child { border-bottom: 0; }
.rs-line__info { flex: 1; min-width: 0; }
.rs-line__t { font-family: var(--font-title); font-size: 15px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; }
.rs-line__p { font-size: 12.5px; color: var(--c-gray); }
.rs-line__sub { font-family: var(--font-title); color: var(--c-gold-ink); font-size: 15px; white-space: nowrap; min-width: 74px; text-align: right; }
.rs-thanks { text-align: center; color: var(--c-ink); padding: 20px 6px 8px; font-size: 15px; }
.bk-asap { flex-direction: row !important; align-items: center; gap: 9px; }
.bk-asap input { width: 17px; height: 17px; accent-color: var(--c-gold-ink); }
.bk-asap span { font-family: var(--font-ui); font-size: 13px; letter-spacing: normal; text-transform: none; color: var(--c-ink); }

@media (max-width: 700px) {
  .rs-item__name { font-size: 16px; }
  .rs-pill { right: 10px; bottom: calc(var(--dock-h) + 26px); padding: 11px 15px; }
  .rs-line__sub { min-width: 60px; }
}

/* =====================================================================
   Navette page — poster + schedule
   ===================================================================== */
.poster {
  max-width: 560px;
  margin: 34px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(20,22,23,.18);
}
.poster img { width: 100%; display: block; }

.sched { max-width: 560px; margin: 36px auto 0; display: grid; gap: 10px; }
.sched__head {
  text-align: center;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.sched-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--c-white);
  border: 1px solid var(--c-mist-100);
  border-radius: 6px;
  padding: 15px 18px;
}
.sched-stop {
  font-family: var(--font-title);
  font-size: 16.5px; letter-spacing: .03em; text-transform: uppercase;
  display: flex; flex-direction: column;
}
.sched-stop small {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .12em; color: var(--c-gray);
  text-transform: uppercase;
}
.sched-times {
  font-family: var(--font-ui);
  color: var(--c-gold-ink);
  letter-spacing: .06em;
  white-space: nowrap;
}
.sched-row--ret { background: var(--c-yellow-050); border-color: var(--c-yellow-050); }
.center-cta .btn { margin: 6px 6px 0; }

/* =====================================================================
   Room Directory — guest hub
   ===================================================================== */
.hubgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.hubcard {
  position: relative;
  min-height: 220px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  transition: transform .16s ease, box-shadow .2s ease;
}
.hubcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,23,.05) 30%, rgba(20,22,23,.72) 100%);
}
.hubcard:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,22,23,.20); }
.hubcard__body { position: relative; z-index: 1; padding: 20px 20px 22px; }
.hubcard__body .overline { color: var(--c-yellow-050); }
.hubcard__t {
  font-family: var(--font-title);
  color: #fff; font-size: 22px;
  letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.2; margin-top: 5px;
}

/* =====================================================================
   Guide pages — text blocks + photo gallery
   ===================================================================== */
/* single-page Room Directory: stacked topic sections */
.rd-sec { padding: 20px 0 46px; border-bottom: 1px solid var(--c-mist-100); }
.rd-sec:last-child { border-bottom: 0; }
.rd-sec .section__title { margin-bottom: 22px; }
.rd-intro { max-width: 620px; margin: -6px auto 22px; text-align: center; color: var(--c-gray); }

.gblock { margin: 30px 0; }
.gblock h2 {
  font-size: clamp(21px, 2.6vw, 29px);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px;
}
.gblock p { margin: 0; color: var(--c-ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 20px auto 0;
}
.gcell {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: var(--c-mist-200);
}

/* =====================================================================
   Info / contact rows
   ===================================================================== */
.inforows { max-width: 640px; margin: 34px auto 0; display: grid; gap: 12px; }
.inforow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-mist-100);
  border-radius: 6px;
  padding: 16px 20px;
}
.inforow__l {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-gray); flex-shrink: 0;
}
.inforow__v {
  font-family: var(--font-title);
  font-size: 17px; text-align: right; color: var(--c-ink); letter-spacing: .02em;
}
a.inforow__v:hover { color: var(--c-gold-ink); }

/* =====================================================================
   La Carte — menu categories
   ===================================================================== */
.menu-intro { max-width: 620px; margin: 24px auto 0; text-align: center; color: var(--c-gray); }
.menu-cats {
  max-width: 700px; margin: 26px auto 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
}
.menu-cat {
  background: var(--c-white);
  border: 1px solid var(--c-mist-100);
  border-radius: 6px;
  padding: 15px 16px;
  text-align: center;
  font-family: var(--font-title);
  font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--c-ink);
}

@media (max-width: 700px) {
  .hubgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hubcard { min-height: 165px; }
  .hubcard__t { font-size: 16px; }
  .hubcard__body { padding: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .inforow { flex-direction: column; align-items: flex-start; gap: 4px; }
  .inforow__v { text-align: left; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .shell { flex-direction: column; }
  .hero {
    position: relative; width: 100%; max-width: none;
    flex-basis: auto; height: 44vh; min-height: 300px;
  }
  .hero__logo { top: 38%; }
  .hero__weather { left: 18px; bottom: 18px; font-size: 17px; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .cards--3, .cards--2, .venues { grid-template-columns: 1fr; }
  .venue--wide { grid-column: auto; }
  .card { min-height: 360px; padding: 32px 20px 26px; }
  .card__num { font-size: 60px; }
  .card--short { min-height: 220px; }
  .venue { min-height: 240px; }
  .venue__logo, .venue--wide .venue__logo { width: min(64%, 210px); }

  .section { padding: 46px 18px 26px; }
  .section__title { margin-bottom: 30px; }

  .quick { gap: 10px; }
  .quick a { width: 33%; max-width: 110px; gap: 8px; }
  .quick .ico { width: 26px; height: 26px; }
  .quick span { font-size: 10px; letter-spacing: .08em; }

  .topbar { padding: 18px 14px 32px; }
  .lang { margin-bottom: 26px; }

  .page-top { gap: 10px; padding: 11px 12px; }
  .page-top img { height: 24px; }
  .page-top .lang { padding: 3px; }
  /* kept compact so the sticky header holds back + mark + language on one
     row, but still tall enough to tap — see the phone block at the end */
  .page-top .lang a { padding: 12px 12px; font-size: 11px; letter-spacing: .02em; }
  .back { font-size: 11px; letter-spacing: .08em; }

  .dhero { min-height: 240px; padding: 46px 18px; }
  .bgrid { grid-template-columns: 1fr; }
  .article .lodge { padding: 20px 18px; }
  .choice { padding: 18px 18px; font-size: 13px; letter-spacing: .06em; }
  .embed-wrap iframe { height: 70vh; }
}

/* dock: never let labels wrap or icons misalign on small screens */
@media (max-width: 700px) {
  .dock {
    bottom: 10px;
    width: calc(100% - 16px);
    max-width: none;
    gap: 0;
    padding: 9px 4px;
    border-radius: 12px;
    justify-content: space-between;
  }
  .dock a { width: auto; flex: 1 1 0; grid-template-rows: 28px auto; gap: 4px; }
  .dock .ico { width: 21px; height: 21px; }
  .dock a.is-active .badge { width: 28px; height: 28px; font-size: 11px; border-radius: 7px; }
  .dock span:last-child { font-size: 8px; letter-spacing: .01em; }
  .content { padding-bottom: 120px; }
  .page { padding-bottom: 130px; }
}

@media (max-width: 360px) {
  .dock span:last-child { font-size: 7.2px; }
  .quick span { font-size: 9px; }

  /* On a 320px screen the dish row cannot hold thumbnail + name + price +
     "Ajouter" side by side, so the price and the button wrap onto their own
     line under the dish instead of pushing the row off-screen. */
  .rs-item { flex-wrap: wrap; gap: 12px; }
  .rs-item__info { flex: 1 1 55%; }
  .rs-item__right {
    flex: 1 1 100%;
    flex-direction: row; align-items: center; justify-content: space-between;
  }
  .rs-item__img { width: 48px; height: 48px; }
}

/* ---- Room Service modifiers (config dialog + order lines) ---- */
.rs-req { font-family: var(--font-ui); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--c-gold-ink); border-radius: 3px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.rs-sup { font-family: var(--font-ui); font-size: 11px; color: var(--c-slate); letter-spacing: .02em; }
.bk-opt input:disabled + .bk-opt-t { opacity: .38; }
.bk-opts legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.bk-qty { max-width: 150px; }
.bk-qty input { text-align: center; }
.rs-hint { color: var(--c-gold-ink); }
.rs-line__m { font-size: 12px; color: var(--c-gray); margin: 3px 0; line-height: 1.4; }
.rs-allergy { border-color: var(--c-yellow-050) !important; background: rgba(255,213,0,.12); }
.rs-allergy .bk-opt { display: inline-flex; margin-right: 20px; border-bottom: 0; padding: 6px 0; }

/* =====================================================================
   555 — components added on top of the Nommos package
   ===================================================================== */

/* the home hero is the app's own film, with its poster as the fallback */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* long editorial text (welcome booklet, seminars, desert camp…) */
.prose { max-width: 760px; margin: 0 auto; }
.prose__h {
  font-family: var(--font-title);
  font-size: clamp(19px, 2.4vw, 25px);
  text-transform: uppercase; letter-spacing: .08em;
  margin: 38px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--c-mist-100);
}
.prose__h:first-child { margin-top: 0; }
.prose p { margin: 0 0 13px; color: var(--c-gray); font-size: 15px; line-height: 1.75; }
.prose__img { width: 100%; border-radius: 6px; margin: 22px 0 26px; }
.prose__btn { margin: 6px 0 22px; }

/* menus: a small dish thumbnail next to the name */
.rs-menu { margin-top: 46px; }
.rs-menu > .section__title { margin-bottom: 6px; }
.rs-cat__title { font-size: clamp(20px, 2.6vw, 27px) !important; }
.rs-item__img {
  width: 70px; height: 70px; flex-shrink: 0;
  border-radius: 5px; background-size: cover; background-position: center;
  background-color: var(--c-mist-100);
}

/* "on request" reads as a label, not a price */
.price--ask {
  font-family: var(--font-ui); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-slate);
}

/* request / contact forms */
.cform { max-width: 560px; margin: 0 auto; display: grid; gap: 16px; }
.cform .bk-field select {
  width: 100%; font-family: var(--font-ui); font-size: 15px;
  padding: 11px 12px; border: 1px solid var(--c-mist-200); border-radius: 5px;
  background: var(--c-white); color: var(--c-ink);
}
.cform .bk-field select:focus { outline: none; border-color: var(--c-yellow); }

@media (max-width: 720px) {
  .rs-item__img { width: 56px; height: 56px; }
}

/* product blurbs keep the line breaks that carry duration / price / transport */
.bitem__desc, .bk-desc { white-space: pre-line; }

/* =====================================================================
   Phones — about 70% of guests open this on one, so the touch targets
   and the form fields are tuned for a thumb rather than a mouse.
   ===================================================================== */
@media (max-width: 700px) {

  /* Every primary action clears the 44px comfortable-tap size. The small
     button is the one a guest actually uses: "Ajouter" on the room-service
     card, "Réserver" on every catalogue. */
  .btn--sm {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 12px 20px; font-size: 12px;
  }
  .btn { padding: 15px 26px; }

  /* iOS zooms the whole page when it focuses a field smaller than 16px,
     which throws the guest out of the layout mid-order. */
  .bk-field input, .bk-field textarea, .bk-field select,
  .cform .bk-field select {
    font-size: 16px; padding: 13px 12px;
  }

  /* header controls: language, back, the 555 mark, and the modal's close */
  .lang a { padding: 12px 18px; }
  .back { padding: 11px 2px; }
  .brand-home { padding: 9px 12px; }
  .bk-close { width: 44px; height: 44px; font-size: 26px; }

  /* the dock is the main navigation on a phone */
  .dock a { min-height: 46px; }

  /* fine print stays readable */
  .rs-note, .bk-note { font-size: 13px; }

  /* the order/cart pill must not sit under the dock */
  .rs-pill, .bk-pill { bottom: calc(var(--dock-h) + 26px); }

  /* choices inside the order dialog: the whole row is a label, but the box
     itself should still be big enough to hit directly */
  .bk-opt input, .rs-allergy input, .bk-field input[type="checkbox"],
  .bk-field input[type="radio"] { width: 22px; height: 22px; }
  .bk-opt { padding-top: 10px; padding-bottom: 10px; }
}

/* room service while the new card is being prepared */
.soon { max-width: 560px; margin: 10px auto 20px; text-align: center; }
.soon .section__title { margin-bottom: 18px; }
.soon__text { color: var(--c-gray); font-size: 16px; line-height: 1.7; margin: 0 0 30px; }
