/* THALA — cuisine tunisienne, Aix-en-Provence
   Limestone & white base, indigo / turquoise, neon blue accent.
   Motion is transform/opacity only. Respects prefers-reduced-motion. */

:root {
  --limestone-0: #fbf7f0;
  --limestone-1: #f4ece1;
  --limestone-2: #e5d8c6;
  --limestone-3: #cfc0aa;
  --ink: #1b1814;
  --ink-soft: #4a453c;
  --indigo-0: #07091a;
  --indigo-1: #0c1028;
  --indigo-2: #151c3f;
  --indigo-3: #243056;
  --turquoise: #1c8a86;
  --turquoise-bright: #2eb8b3;
  --neon: #5cf0ff;
  --neon-deep: #1aa7ff;
  --brass: #c6a15b;
  --brass-light: #e6d3a1;
  --wood: #7a5a3c;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-script: "Sacramento", "Segoe Script", cursive;
  --font-arabic: "Noto Naskh Arabic", "Noto Sans Arabic", "Amiri", "Geeza Pro", "Traditional Arabic", "Segoe UI", serif;
  --font-arabic-ui: "Noto Kufi Arabic", "Noto Sans Arabic", "Geeza Pro", "Segoe UI", "Tahoma", sans-serif;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --measure: 36rem;
  --neon-glow: 1;
  --cross: 0;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--limestone-0);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
iframe { border: 0; width: 100%; height: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--turquoise); }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--indigo-1);
  color: var(--limestone-0);
}
.skip:focus { top: 0.75rem; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Neon wordmark ---------- */
.logo-neon {
  font-family: var(--font-script);
  font-weight: 400;
  color: #fff;
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 2px #fff,
    0 0 8px var(--neon),
    0 0 calc(18px * var(--neon-glow)) var(--neon),
    0 0 calc(36px * var(--neon-glow)) var(--neon-deep),
    0 0 calc(64px * var(--neon-glow)) rgba(26, 167, 255, 0.7);
}

.logo-neon--hero {
  margin: 0.15em 0 0.2em;
  font-size: clamp(3.6rem, 11vw, 6.2rem);
  animation: flicker-on 2.2s var(--ease) both;
}

.logo-neon--nav {
  font-size: 2.15rem;
  color: #fff;
}

.logo-neon--phone {
  display: inline-block;
  margin: 0.2em 0 0.8em;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  text-decoration: none;
  letter-spacing: 0.04em;
}

@keyframes flicker-on {
  0%, 18% { opacity: 0; text-shadow: none; }
  20% { opacity: 0.55; }
  22% { opacity: 0.1; }
  24%, 38% { opacity: 1; }
  40% { opacity: 0.35; }
  42% { opacity: 1; }
  48% { opacity: 0.7; }
  52%, 100% { opacity: 1; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: var(--nav-h);
  padding: 0.4rem 1.25rem;
  background: linear-gradient(180deg, rgba(7, 9, 26, 0.72), rgba(7, 9, 26, 0.28) 70%, transparent);
  color: var(--limestone-0);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.45s var(--ease);
}

.nav.is-scrolled {
  background: rgba(12, 16, 40, 0.92);
  box-shadow: inset 0 -1px 0 rgba(198, 161, 91, 0.45);
  backdrop-filter: blur(12px);
}

.nav__brand { text-decoration: none; display: flex; align-items: center; }
.nav__brand:hover { color: inherit; }

.nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--limestone-0);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
  opacity: 0.72;
  border-bottom: 1px solid transparent;
  transition: opacity 0.3s, color 0.3s, border-color 0.3s;
}

.lang button[lang="ar"] {
  font-family: var(--font-arabic-ui);
  letter-spacing: 0;
  font-size: 0.78rem;
}

.lang button:hover,
.lang button.is-active {
  opacity: 1;
  color: var(--brass-light);
}

.lang button.is-active {
  border-bottom-color: var(--brass);
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--limestone-0);
  opacity: 0.88;
  transition: opacity 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.nav__links a:hover {
  opacity: 1;
  color: var(--brass-light);
}

.nav__reserve {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--brass);
  color: var(--brass-light) !important;
  opacity: 1 !important;
}

.nav__reserve:hover {
  background: var(--brass);
  color: var(--indigo-1) !important;
}

.nav__toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(198, 161, 91, 0.5);
  background: transparent;
  color: var(--limestone-0);
  cursor: pointer;
}

.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle-bar::before { top: -6px; }
.nav__toggle-bar::after { top: 6px; }
.nav.is-open .nav__toggle-bar { background: transparent; }
.nav.is-open .nav__toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--brass);
  background: transparent;
  color: var(--limestone-0);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  background: var(--brass);
  color: var(--indigo-1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn--solid {
  background: var(--brass);
  color: var(--indigo-1);
}

.btn--solid:hover {
  background: var(--brass-light);
  color: var(--indigo-0);
}

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood);
}

.eyebrow--neon { color: var(--neon); }

h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  color: var(--limestone-0);
  overflow: hidden;
}

.hero__media,
.hero__media picture,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  height: 100%;
  object-position: 50% 16%;
  transform: scale(calc(1 + 0.08 * var(--zoom, 0))) translate3d(0, calc(var(--py, 0) * 1px), 0);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 9, 26, 0.48) 0%,
    rgba(7, 9, 26, 0.08) 16%,
    rgba(7, 9, 26, 0.0) 28%,
    rgba(7, 9, 26, 0.08) 52%,
    rgba(7, 9, 26, 0.55) 70%,
    rgba(7, 9, 26, 0.88) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.25rem 5.2rem;
  max-width: 48rem;
}

.hero .eyebrow { color: var(--brass-light); }

.hero__aka {
  margin: 0 0 0.2rem;
  font-family: var(--font-arabic-ui);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--limestone-0);
}

.hero__tagline {
  margin: 0 0 1.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--limestone-2);
  opacity: 0.8;
}

.hero__scroll span::after {
  content: "";
  display: block;
  width: 1px;
  height: 2rem;
  margin: 0.45rem auto 0;
  background: linear-gradient(180deg, var(--brass), transparent);
}

/* ---------- Origin ---------- */
.origine {
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  padding: 5rem 1.5rem;
  background:
    linear-gradient(180deg, var(--limestone-0), var(--limestone-1));
  text-align: center;
  position: relative;
}

.origine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.origine__text {
  position: relative;
  max-width: 34rem;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.55;
  color: var(--ink);
}

.motif-divider {
  width: min(22rem, 80vw);
  color: var(--brass);
}

.motif-divider svg {
  width: 100%;
  height: auto;
}

.motif-divider [stroke],
.motif-divider path,
.motif-divider use {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.motif-divider.is-drawn svg,
.motif-divider.is-drawn use,
.crossing__seam.is-drawn svg {
  /* dash animation applied on the inner svg via JS + CSS var */
}

.motif-divider svg,
.crossing__seam svg {
  color: var(--brass);
}

.motif-divider.is-drawn svg,
.crossing__seam.is-drawn svg {
  animation: none;
}

/* Draw-on is handled by setting pathLength=1 in JS and animating dashoffset via .is-drawn */
.draw-on {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.draw-on.is-drawn,
.is-drawn .draw-on {
  stroke-dashoffset: 0;
}

/* ---------- Shared splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
}

.split__media {
  position: relative;
  min-height: 70svh;
  overflow: hidden;
  background: var(--indigo-1);
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 70svh;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(calc(1 + 0.07 * var(--zoom, 0))) translate3d(0, calc(var(--py, 0) * 1px), 0);
  will-change: transform;
}

.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 5.5rem);
  max-width: 40rem;
}

.split__text p { margin: 0; max-width: var(--measure); color: inherit; }

/* ---------- La salle ---------- */
.salle {
  background: var(--indigo-0);
  color: var(--limestone-0);
  position: relative;
  overflow: hidden;
}

.salle__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(92, 240, 255, calc(0.08 * var(--neon-glow))) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(26, 167, 255, calc(0.1 * var(--neon-glow))) 0%, transparent 55%);
  transition: opacity 0.4s;
}

.salle .split__text { margin-left: auto; margin-right: auto; }
.salle .split__text p { color: var(--limestone-2); }

/* ---------- Crossing (night → day) ---------- */
.crossing {
  position: relative;
  height: 220vh;
  background: var(--indigo-0);
}

.crossing__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.crossing__layer {
  position: absolute;
  inset: 0;
}

.crossing__layer picture,
.crossing__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}

.crossing__layer--night {
  z-index: 1;
  background: var(--indigo-0);
}

.crossing__layer--day {
  z-index: 2;
  opacity: var(--cross, 0);
  will-change: opacity;
}

.crossing__dayfield {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 0%, #fff8ee, transparent 55%),
    linear-gradient(180deg, #f6ead4 0%, #e8d5b5 40%, #d3c0a0 100%);
  position: relative;
}

.crossing__dayfield::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(122, 90, 60, 0.05) 13px 14px),
    var(--noise);
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.crossing__seam {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(40rem, 88vw);
  transform: translate(-50%, -50%);
  color: var(--brass);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(198, 161, 91, 0.45));
}

.crossing__copy {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 9vh;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  text-align: center;
  padding: 0.7rem 1.4rem 0.8rem;
  background: rgba(7, 9, 26, 0.82);
  color: #fbf7f0;
  border: 1px solid rgba(198, 161, 91, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.crossing__phrase {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3.4vw, 2.15rem);
  line-height: 1.25;
  color: #fbf7f0;
}

.crossing.is-day .crossing__copy {
  background: rgba(251, 247, 240, 0.92);
  color: var(--ink);
  border-color: rgba(198, 161, 91, 0.65);
  box-shadow: 0 10px 28px rgba(27, 24, 20, 0.12);
}

.crossing.is-day .crossing__phrase {
  color: var(--ink);
}

/* ---------- Terrasse ---------- */
.terrasse {
  background:
    linear-gradient(180deg, #f6ead4, var(--limestone-0) 40%, var(--limestone-1));
  color: var(--ink);
  min-height: 100svh;
}

.terrasse .split__media--sun {
  background: transparent;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4rem);
  min-height: 60svh;
}

.terrasse__panel {
  width: min(28rem, 100%);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 2rem;
  border: 1px solid var(--brass);
  background:
    linear-gradient(160deg, rgba(46, 184, 179, 0.18), rgba(122, 90, 60, 0.08) 45%, rgba(255, 248, 238, 0.5)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(122, 90, 60, 0.07) 18px 19px),
    linear-gradient(180deg, #d2eee8, #e8d5b5);
  box-shadow: inset 0 0 0 8px rgba(251, 247, 240, 0.45);
  position: relative;
}

.terrasse__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.terrasse__address,
.terrasse__city {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
}

.terrasse__address { font-size: 1.5rem; }
.terrasse__city {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  font-family: var(--font-sans);
  color: var(--ink-soft);
}

/* ---------- Assiettes ---------- */
.assiettes {
  padding: clamp(4rem, 10vh, 7rem) 1.25rem 4rem;
  background: var(--limestone-0);
}

.section-head {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head__lead {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--ink-soft);
}

.assiettes__lead {
  margin: 0 auto;
  max-width: 72rem;
}
.assiettes__lead picture {
  display: block;
  overflow: hidden;
}

.assiettes__lead img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: scale(calc(1 + 0.04 * var(--zoom, 0))) translate3d(0, calc(var(--py, 0) * 1px), 0);
  will-change: transform;
}

.assiettes__lead figcaption {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Menu note ---------- */
.menu-note {
  margin: 0;
  padding: 2.5rem 1.25rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--limestone-0);
}

/* ---------- Infos ---------- */
.infos {
  padding: clamp(4rem, 10vh, 7rem) 1.25rem;
  background:
    linear-gradient(180deg, var(--limestone-0), var(--limestone-1));
}

.infos__rating {
  margin: 0;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.infos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto 2rem;
}

.infos__card {
  padding: 1.8rem 1.6rem;
  border-top: 1px solid var(--brass);
  background: rgba(255, 255, 255, 0.35);
}

.infos__card a { text-decoration: none; }
.infos__card a:hover { text-decoration: underline; color: var(--turquoise); }
.infos__cuisine { color: var(--ink-soft); }

.infos__status {
  min-height: 1.4em;
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours th,
.hours td {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
  text-align: start;
  font-weight: 400;
}

.hours th { width: 40%; font-weight: 500; }
.hours td { direction: ltr; unicode-bidi: isolate; text-align: start; }

.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--ink);
  font-weight: 600;
  background: rgba(198, 161, 91, 0.18);
}

.infos__map {
  max-width: 72rem;
  margin: 0 auto;
  height: min(28rem, 60svh);
  border: 1px solid var(--brass);
  background: var(--limestone-2);
}

.infos__map-link {
  max-width: 72rem;
  margin: 0.85rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Reservation CTA ---------- */
.cta {
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(92, 240, 255, calc(0.14 * var(--neon-glow))) 0%, transparent 55%),
    var(--indigo-0);
  color: var(--limestone-0);
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.cta > * { position: relative; }
.cta__lead { margin: 0 0 0.4rem; color: var(--limestone-2); }
.cta__phone:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  display: grid;
  gap: 1.5rem;
  padding: 3.5rem 1.5rem 3rem;
  background: var(--indigo-0);
  color: var(--limestone-2);
  border-top: 1px solid rgba(198, 161, 91, 0.35);
}

.footer address { font-style: normal; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--brass-light); }
.footer__brand p { margin: 0.35rem 0 0; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__note { margin: 0; font-size: 0.85rem; color: var(--limestone-3); }

/* ---------- Reveals (only after JS opts in, so content stays visible without JS) ---------- */
.js-motion .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js-motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .nav { padding: 0.4rem 2.25rem; }
  .split {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .split--reverse { grid-template-columns: 0.85fr 1.15fr; }
  .split--reverse .split__text { order: -1; }
  .split__media img { min-height: 100svh; }
  .split__text { padding: 5rem 5.5rem; }
  .infos__grid { grid-template-columns: 1fr 1fr; }
  .footer {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    padding-inline: 2.5rem;
  }
  .hero__content { padding-bottom: 6.5rem; }
  .nav { padding-inline: 2.25rem; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 799px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }
  .nav__end { grid-column: 3; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(12, 16, 40, 0.96);
    box-shadow: inset 0 -1px 0 rgba(198, 161, 91, 0.35);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(198, 161, 91, 0.2);
  }
  .nav__reserve { margin-top: 0.75rem; width: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__media img,
  .split__media img,
  .assiettes__lead img {
    transform: none !important;
    will-change: auto;
  }
  .draw-on { stroke-dashoffset: 0; }
  .crossing__layer--day { opacity: 1; }
  .crossing { height: auto; }
  .crossing__sticky { position: relative; height: auto; min-height: 70svh; }
}


/* ---------- Language: Arabic typography & RTL layout ---------- */
[dir="rtl"] body {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .eyebrow,
[dir="rtl"] .btn,
[dir="rtl"] .nav__links a,
[dir="rtl"] .menu-note,
[dir="rtl"] .hero__scroll,
[dir="rtl"] .infos__status,
[dir="rtl"] .infos__map-link,
[dir="rtl"] .infos__rating,
[dir="rtl"] .footer__brand p,
[dir="rtl"] .lang button {
  font-family: var(--font-arabic-ui);
  letter-spacing: 0;
  text-transform: none;
}

[dir="rtl"] .origine__text,
[dir="rtl"] .hero__tagline,
[dir="rtl"] .crossing__phrase,
[dir="rtl"] .assiettes__lead figcaption,
[dir="rtl"] .section-head__lead {
  font-family: var(--font-arabic);
  font-style: normal;
  letter-spacing: 0;
}

[dir="rtl"] .logo-neon {
  font-family: var(--font-script);
}

[dir="rtl"] .split__text,
[dir="rtl"] .infos__card,
[dir="rtl"] .hours th,
[dir="rtl"] .hours td,
[dir="rtl"] .footer,
[dir="rtl"] .nav__links {
  text-align: start;
}

[dir="rtl"] .nav__links {
  justify-content: flex-end;
}

@media (max-width: 799px) {
  [dir="rtl"] .nav__links {
    align-items: flex-start;
  }
}
