/* ==========================================================================
   Création El Marouani, Agdal Rabat
   Kit: noir #0D0D0D / gris #2A2A2A / or #D4AF37 / gris clair #E6E6E6 / blanc
   Display + nav: Jost (substitute for the kit's "Futura Art Deco")
   Body: Montserrat
   ========================================================================== */

:root {
  --noir: #0d0d0d;
  --noir-2: #151515;
  --gris: #2a2a2a;
  --or: #d4af37;
  --or-clair: #e3c664;
  --gris-clair: #e6e6e6;
  --blanc: #ffffff;

  --creme: #f6f3ec;
  --texte-clair: rgba(246, 243, 236, 0.74);
  --texte-sombre: #4a4a4a;
  --filet-clair: rgba(212, 175, 55, 0.28);
  --filet-sombre: rgba(13, 13, 13, 0.12);

  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --corps: "Montserrat", system-ui, -apple-system, sans-serif;

  --shell: 1200px;
  --gouttiere: clamp(20px, 5vw, 56px);
  --header-h: 92px;
}

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

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

body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding: clamp(72px, 10vw, 128px) 0; }

/* Light editorial sections: the shop is white marble, not a dark cave. */
.section--clair { background: var(--blanc); color: var(--noir); }
.section--gris { background: var(--gris-clair); color: var(--noir); }
.section--sombre { background: var(--noir-2); }

.h-lg { font-size: clamp(30px, 4.4vw, 52px); }
.h-md { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.03em; }

.lede {
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.78;
  color: var(--texte-clair);
  max-width: 60ch;
}
.section--clair .lede,
.section--gris .lede { color: var(--texte-sombre); }

.sec-head { margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head--centre { text-align: center; }
.sec-head--centre .lede { margin-inline: auto; }

/* Gold hairline + kit scissors motif, used as the section marker */
.filet {
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  margin-bottom: 22px;
}
.sec-head--centre .filet { margin-inline: auto; }

.marque {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto 18px;
  color: var(--or);
}
.marque svg { width: 100%; height: 100%; display: block; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .28s ease, color .28s ease, border-color .28s ease;
}

.btn--or { background: var(--or); color: var(--noir); border-color: var(--or); }
.btn--or:hover { background: var(--or-clair); border-color: var(--or-clair); }

.btn--fantome { background: transparent; color: var(--creme); border-color: rgba(246, 243, 236, .42); }
.btn--fantome:hover { border-color: var(--or); color: var(--or); }

.btn--sombre { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.btn--sombre:hover { background: var(--gris); border-color: var(--gris); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-row--centre { justify-content: center; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, height .3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -70px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .74), transparent);
  pointer-events: none;
  transition: opacity .3s ease;
}

.site-header.is-stuck {
  background: rgba(13, 13, 13, .96);
  border-bottom-color: rgba(212, 175, 55, .2);
  height: 76px;
}
.site-header.is-stuck::before { opacity: 0; }

.header-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.brand { position: relative; z-index: 120; display: inline-flex; justify-self: start; }
.brand img { width: 210px; height: auto; transition: width .3s ease; }
.site-header.is-stuck .brand img { width: 180px; }

.nav { display: flex; align-items: center; gap: 32px; justify-self: center; }

.nav a {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--creme);
  padding: 6px 0;
  position: relative;
  transition: color .24s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover { color: var(--or); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--or); }

.nav-end {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  justify-self: end;
}
.nav-cta { padding: 12px 24px; font-size: 11.5px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(246, 243, 236, .34);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--creme);
  transform: translateX(-50%);
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }

body.nav-open .burger span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* ----------------------------------------------------------- menu mobile
   The overlay is a SIBLING of the header, sized in viewport units, and the
   header carries no backdrop-filter. Both are needed or the fixed overlay
   collapses to the header strip. */

.menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 100;
  background: var(--noir);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
body.nav-open .menu-mobile { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
/* the header sits above the open overlay so the X stays tappable */
body.nav-open .site-header { z-index: 110; background: transparent; border-bottom-color: transparent; }
body.nav-open .site-header::before { opacity: 0; }

.menu-mobile a:not(.btn) {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--creme);
  padding: 13px 8px;
}
.menu-mobile a.active { color: var(--or); }
.menu-mobile .btn { margin-top: 22px; }
.menu-mobile .mm-tel {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--texte-clair);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 26s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1.16); }
}

.hero__voile {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, .62) 0%, rgba(13, 13, 13, .34) 38%, rgba(13, 13, 13, .86) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) var(--gouttiere) 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 7.4vw, 88px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--creme);
}
.hero h1 .mot { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .mot > span {
  display: inline-block;
  transform: translateY(102%);
  transition: transform .82s cubic-bezier(.16, .84, .32, 1);
}
.hero.ready h1 .mot > span { transform: translateY(0); }
.hero h1 .mot:nth-child(2) > span { transition-delay: .09s; }
.hero h1 .mot:nth-child(3) > span { transition-delay: .18s; }

.hero__sous {
  margin: 26px auto 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
  color: rgba(246, 243, 236, .88);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease .42s, transform .7s ease .42s;
}
.hero__filet {
  width: 60px;
  height: 1px;
  background: var(--or);
  margin: 30px auto 0;
  transform: scaleX(0);
  transition: transform .7s ease .52s;
}
.hero__meta {
  margin-top: 24px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .72);
  opacity: 0;
  transition: opacity .7s ease .62s;
}
.hero .btn-row {
  justify-content: center;
  margin-top: 38px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease .72s, transform .7s ease .72s;
}
.hero.ready .hero__sous,
.hero.ready .hero__meta,
.hero.ready .btn-row { opacity: 1; transform: translateY(0); }
.hero.ready .hero__filet { transform: scaleX(1); }

/* -------------------------------------------------- bandeau des horaires */

.bandeau {
  background: var(--or);
  color: var(--noir);
  padding: clamp(44px, 6vw, 72px) 0;
  text-align: center;
}
.bandeau__grand {
  font-family: var(--display);
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.14;
}
.bandeau__sous {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(13, 13, 13, .78);
  max-width: 52ch;
  margin-inline: auto;
}
.bandeau .btn { margin-top: 30px; }

/* Dark variant: gold stays precious, so the saturated band is used once, on the home page. */
.bandeau--sombre {
  background: var(--noir-2);
  color: var(--creme);
  border-top: 1px solid rgba(212, 175, 55, .2);
  border-bottom: 1px solid rgba(212, 175, 55, .2);
}
.bandeau--sombre .bandeau__grand { color: var(--creme); }
.bandeau--sombre .bandeau__sous { color: var(--texte-clair); }

/* ----------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5.5vw, 76px);
  align-items: center;
}
.split--inverse .split__media { order: 2; }

.split__media { position: relative; align-self: center; }
.split__media img { width: 100%; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 62px;
  height: 62px;
  border-top: 1px solid var(--or);
  border-right: 1px solid var(--or);
  pointer-events: none;
}

/* --------------------------------------------------------------- faits */

.faits { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.faits--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px clamp(32px, 4vw, 64px); margin-top: 0; }
.faits li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; }
.faits__icone { display: inline-flex; width: 40px; height: 40px; color: var(--or); }
.faits__icone svg { width: 100%; height: 100%; display: block; }
.faits strong {
  display: block;
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.faits span span { font-size: 14.5px; line-height: 1.68; color: var(--texte-clair); }
.section--clair .faits span span,
.section--gris .faits span span { color: var(--texte-sombre); }

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

.presta-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--filet-sombre);
  border: 1px solid var(--filet-sombre);
}
.presta {
  background: var(--blanc);
  padding: clamp(30px, 3.4vw, 44px) clamp(22px, 2.6vw, 34px);
  transition: background-color .3s ease;
}
.presta:hover { background: #fafafa; }
.presta__icone { width: 46px; height: 46px; color: var(--or); margin-bottom: 22px; }
.presta__icone svg { width: 100%; height: 100%; display: block; }
.presta h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--noir);
  margin-bottom: 12px;
}
.presta p { font-size: 14.5px; line-height: 1.68; color: var(--texte-sombre); }

/* ------------------------------------------------------------------ menu */

.carte-menu {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}
.carte-menu__media { position: sticky; top: calc(var(--header-h) + 28px); }
.carte-menu__media img { width: 100%; }

.menu-groupe + .menu-groupe { margin-top: clamp(46px, 5vw, 68px); }
.menu-groupe > h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--or);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--filet-clair);
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-groupe > h2 .menu-icone { width: 26px; height: 26px; flex: none; }
.menu-groupe > h2 .menu-icone svg { width: 100%; height: 100%; display: block; }

.menu-liste { list-style: none; margin: 0; padding: 0; }
.menu-liste li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(246, 243, 236, .1);
}
.menu-liste li:last-child { border-bottom: 0; }
.menu-nom { font-size: 15.5px; font-weight: 500; color: var(--creme); }
.menu-desc { display: block; font-size: 13.5px; color: var(--texte-clair); margin-top: 3px; }
.menu-points { flex: 1; border-bottom: 1px dotted rgba(246, 243, 236, .26); transform: translateY(-4px); }
.menu-prix {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--or);
  white-space: nowrap;
}
.menu-note {
  margin-top: 30px;
  font-size: 13px;
  color: rgba(246, 243, 236, .56);
  font-style: normal;
}

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

.bande-cta { position: relative; overflow: hidden; }
.bande-cta__media { position: absolute; inset: 0; }
.bande-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.bande-cta__voile { position: absolute; inset: 0; background: rgba(13, 13, 13, .76); }
.bande-cta__inner { position: relative; padding: clamp(74px, 9vw, 122px) 0; text-align: center; }
.bande-cta__boite { max-width: 660px; margin-inline: auto; }

/* ------------------------------------------------------------ page header */

.page-tete {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 7vw, 92px)) 0 clamp(56px, 7vw, 92px);
  background: var(--noir-2);
  border-bottom: 1px solid rgba(212, 175, 55, .18);
  text-align: center;
  overflow: hidden;
}
.page-tete__media { position: absolute; inset: 0; }
.page-tete__media img { width: 100%; height: 100%; object-fit: cover; }
.page-tete__voile {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, .88) 0%, rgba(13, 13, 13, .62) 46%, rgba(13, 13, 13, .9) 100%);
}
.page-tete .shell { position: relative; z-index: 2; }
.page-tete h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 600; }
.page-tete .lede { margin: 22px auto 0; }

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

.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 4.5vw, 62px);
  align-items: stretch;
}

.info-bloc + .info-bloc { margin-top: 34px; padding-top: 34px; border-top: 1px solid rgba(246, 243, 236, .12); }
.info-bloc h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--or);
  margin-bottom: 14px;
}
.info-bloc p, .info-bloc a { font-size: 15.5px; line-height: 1.76; text-decoration: none; }
.info-bloc a:hover { color: var(--or); }

.horaires { list-style: none; margin: 0; padding: 0; }
.horaires li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(246, 243, 236, .1);
  font-size: 15px;
}
.horaires li:last-child { border-bottom: 0; }
.horaires span:first-child { color: var(--texte-clair); }
.horaires span:last-child { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* the map fills its column's full height (Pristine rule) */
.carte { position: relative; min-height: 420px; border: 1px solid rgba(212, 175, 55, .22); }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

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

.site-footer { background: var(--noir-2); border-top: 1px solid rgba(212, 175, 55, .2); padding: clamp(56px, 7vw, 84px) 0 28px; }

.footer-haut {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(246, 243, 236, .1);
}
.footer-marque img { width: 240px; height: auto; margin-bottom: 20px; }
.footer-marque p { font-size: 14px; line-height: 1.74; color: var(--texte-clair); max-width: 40ch; }

.footer-col h3 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--or);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col p { font-size: 14.5px; line-height: 1.66; color: var(--texte-clair); text-decoration: none; }
.footer-col a:hover { color: var(--or); }

.footer-bas {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer-bas p { font-size: 12.5px; color: rgba(246, 243, 236, .5); }
.footer-bas a {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 243, 236, .5);
  transition: color .24s ease;
}
.footer-bas a:hover { color: var(--or); }

/* ----------------------------------------------------------- scroll reveal */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .78s ease, transform .78s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
  .presta-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-haut { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-marque { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 78px; }
  .nav { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 178px; }
  .site-header.is-stuck .brand img { width: 162px; }

  .split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .split--inverse .split__media { order: 0; }
  .contact-grille { grid-template-columns: minmax(0, 1fr); }
  .carte { min-height: 340px; }

  .carte-menu { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .carte-menu__media { position: static; max-width: 460px; }
  .faits--deux { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 620px) {
  .presta-grille { grid-template-columns: minmax(0, 1fr); }
  .footer-haut { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .menu-mobile .btn, .bandeau .btn { width: auto; }

  /* Dotted leaders read as broken once the row wraps: name left, price right instead. */
  .menu-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; }
  .menu-points { display: none; }
  .hero__inner { padding-bottom: 56px; }
  .footer-bas { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; transform: none; }
  .reveal, .hero__sous, .hero__meta, .hero .btn-row { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__filet { transform: scaleX(1); }
  .hero h1 .mot > span { transform: none; transition: none; }
}

@media (hover: none) {
  .presta:hover { background: var(--blanc); }
}
