/* =====================================================================
   STYLE.CSS — design dyal site
   L'alwan kaynin f :root — bdlhom mn hna ila bghiti.
   ===================================================================== */

:root {
  --bg: #0e0d0b;            /* fond principal */
  --bg-2: #15130f;          /* fond sections alternées */
  --bg-3: #1d1a15;          /* cartes */
  --line: rgba(255, 235, 205, .10);
  --text: #f3ede3;          /* texte principal */
  --muted: #a89f90;         /* texte secondaire */
  --sand: #e6c9a0;          /* accent clair (sable) */
  --accent: #d9662c;        /* accent principal (terracotta) */
  --accent-2: #f08a4b;      /* accent hover */
  --ok: #7bc47f;
  --warn: #e8b849;
  --bad: #d75c5c;

  --font-head: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;

  --radius: 18px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }

/* ---------- Arabic / RTL ---------- */
html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .hero__title, html[dir="rtl"] .h2, html[dir="rtl"] .stat b,
html[dir="rtl"] .tour__price, html[dir="rtl"] .custom__title, html[dir="rtl"] .modal__price b,
html[dir="rtl"] .marquee__track span { font-family: var(--font-ar); font-weight: 900; letter-spacing: 0; }
html[dir="rtl"] .hero__title { font-size: clamp(44px, 7vw, 96px); line-height: 1.15; }
html[dir="rtl"] .h2 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.2; }
html[dir="rtl"] .tour__price b { font-size: 32px; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(70px, 9vw, 120px); }
.section--alt { background: var(--bg-2); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 720px; }
.kicker {
  margin: 0 0 12px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.h2 { font-family: var(--font-head); font-size: clamp(42px, 6vw, 76px); letter-spacing: .01em; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  letter-spacing: .02em; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(217, 102, 44, .7); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn--dark { background: var(--bg-3); border-color: var(--line); }
.btn--dark:hover { border-color: var(--sand); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; background: var(--bg); z-index: 200; display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader__mark { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.loader__mark:not(:has(svg)) { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.loader__mark svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 2.4s linear infinite; }
.loader__ring { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; animation: ringDraw 1.6s var(--ease) infinite alternate; }
@keyframes ringDraw { to { stroke-dashoffset: 40; } }
.loader__mark img { width: 58px; height: 58px; object-fit: contain; animation: loaderPulse 1.6s ease-in-out infinite alternate; }
@keyframes loaderPulse { from { transform: scale(.92); opacity: .75; } to { transform: scale(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 18px; transition: background .35s, padding .35s, box-shadow .35s;
}
/* le flou est sur ::before : un backdrop-filter sur .nav casserait le menu plein écran (position: fixed) */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .35s; background: rgba(14, 13, 11, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled { padding-block: 10px; }
.nav.scrolled::before { opacity: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 20px; letter-spacing: .05em; flex: none;
}
.nav__logo-mark.has-logo { background: none; }
.nav__logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav__logo-text { font-family: var(--font-head); font-size: 24px; letter-spacing: .08em; white-space: nowrap; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { font-size: 14px; font-weight: 600; color: var(--muted); position: relative; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .3s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: #fff; }
.nav__links a:hover::after, .nav__links a.active::after { right: 0; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(0,0,0,.25); }
.lang button { padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); transition: .25s; }
.lang button.active { background: var(--sand); color: #1a1408; }
.burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 22px; height: 2px; background: #fff; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 130px; }
.hero > .hero__content { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; width: min(var(--container), 100% - 40px); max-width: none; }
.hero > .hero__content > * { max-width: 780px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; transform: scale(1.08); animation: heroZoom 12s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
/* Ken Burns: tswira dyal l'banner katt7rrek b chwiya bla ma tw9ef */
.hero__img:not(.hero__video) { animation: heroZoom 1.6s var(--ease) forwards, kenburns 26s ease-in-out 1.6s infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero__img, .bigcta__img { animation: none !important; } }
.hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,13,11,.85) 0%, rgba(14,13,11,.55) 45%, rgba(14,13,11,.15) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(14,13,11,0) 40%); }
html[dir="rtl"] .hero__overlay { background:
  linear-gradient(270deg, rgba(14,13,11,.85) 0%, rgba(14,13,11,.55) 45%, rgba(14,13,11,.15) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(14,13,11,0) 40%); }
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__kicker { margin: 0 0 18px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.hero__title { font-family: var(--font-head); font-size: clamp(64px, 10vw, 140px); line-height: .92; letter-spacing: .01em; font-weight: 400; }
.hero__sub { margin: 26px 0 36px; font-size: clamp(16px, 1.5vw, 19px); color: #d9d1c4; max-width: 560px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 130px; inset-inline-end: 40px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 60px; background: linear-gradient(var(--muted), transparent); animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__stats {
  position: relative; z-index: 3; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(var(--container), 100% - 40px);
  border-top: 1px solid var(--line); padding-block: 28px; gap: 20px;
}
.stat { min-width: 0; }
.stat b { overflow-wrap: anywhere; display: block; direction: ltr; unicode-bidi: isolate; font-family: var(--font-head); font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--sand); font-weight: 400; }
.stat span { font-size: 13px; color: var(--muted); }
.stat--text b { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }

/* ---------- Marquee ---------- */
.marquee { direction: ltr; overflow: hidden; border-block: 1px solid var(--line); background: var(--accent); color: #1a0e05; padding-block: 14px; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-size: 22px; letter-spacing: .12em; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "✦"; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  transition: transform .35s var(--ease), border-color .35s, background .35s; position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(217,102,44,.14), transparent 45%); opacity: 0; transition: opacity .4s; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(230,201,160,.3); }
.pillar:hover::before { opacity: 1; }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(217,102,44,.15); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 22px; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
.pillar__num { position: absolute; top: 20px; inset-inline-end: 24px; font-family: var(--font-head); font-size: 40px; color: rgba(255,255,255,.06); }

/* ---------- Tours ---------- */
.tours { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tour {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bg-3); border: 1px solid var(--line); isolation: isolate; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tour:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.tour__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease); }
.tour:hover .tour__img { transform: scale(1.06); }
.tour__grad { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,9,7,.95) 0%, rgba(10,9,7,.55) 45%, rgba(10,9,7,.05) 100%); }
.tour__top { position: absolute; top: 20px; inset-inline: 20px; display: flex; justify-content: space-between; align-items: center; }
.badge { padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; backdrop-filter: blur(8px); background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); }
.level { display: flex; gap: 4px; align-items: center; }
.level i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.level i.on { background: var(--accent-2); }
.tour__body { padding: 30px; }
.tour__sub { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--sand); font-weight: 700; margin-bottom: 8px; }
.tour h3 { font-family: var(--font-head); font-size: clamp(38px, 4vw, 54px); letter-spacing: .02em; font-weight: 400; }
.tour__desc { color: #d5cdbf; font-size: 15px; margin: 12px 0 18px; max-width: 480px; }
.tour__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tour__tags span { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.tour__meta { display: flex; gap: 22px; color: var(--muted); font-size: 13px; margin-bottom: 20px; flex-wrap: wrap; }
.tour__meta b { color: var(--text); font-weight: 700; }
.tour__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tour__price small { display: block; font-size: 12px; color: var(--muted); }
.tour__price b { font-family: var(--font-head); font-size: 40px; line-height: 1; color: var(--sand); font-weight: 400; }
.tour__price b em { font-style: normal; font-size: 22px; }
.tour__actions { display: flex; gap: 10px; }

/* ---------- Inclusions ---------- */
.incl { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.incl__col { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.incl__col h3 { font-family: var(--font-head); font-size: 32px; font-weight: 400; letter-spacing: .04em; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.incl__col h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.incl__col--yes h3::before { background: var(--ok); }
.incl__col--no h3::before { background: var(--bad); }
.incl__col ul { display: grid; gap: 12px; }
.incl__col--yes ul { grid-template-columns: repeat(2, 1fr); }
.incl__col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #d9d1c4; }
.incl__col li::before { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; margin-top: 2px; }
.incl__col--yes li::before { content: "✓"; background: rgba(123,196,127,.15); color: var(--ok); }
.incl__col--no li::before { content: "✕"; background: rgba(215,92,92,.15); color: var(--bad); }

/* ---------- Schedule ---------- */
.sched { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.sched__head, .sched__row { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr 1.2fr auto; gap: 16px; align-items: center; padding: 18px 26px; }
.sched__head { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); font-weight: 700; }
.sched__row { border-bottom: 1px solid var(--line); transition: background .25s; }
.sched__row:last-child { border-bottom: 0; }
.sched__row:hover { background: rgba(255,255,255,.025); }
.sched__date { display: flex; flex-direction: column; line-height: 1.2; }
.sched__date b { font-family: var(--font-head); font-size: 28px; font-weight: 400; color: var(--sand); letter-spacing: .03em; }
.sched__date span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.sched__tour b { display: block; font-size: 16px; }
.sched__tour span { font-size: 13px; color: var(--muted); }
.sched__seats { font-size: 14px; }
.sched__seats b { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--open { background: rgba(123,196,127,.12); color: var(--ok); }
.pill--few { background: rgba(232,184,73,.12); color: var(--warn); }
.pill--full { background: rgba(215,92,92,.12); color: var(--bad); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 10px; width: min(1440px, 100% - 40px); margin-inline: auto;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px;
  grid-template-areas: "a a b c" "d e b f" "d g h h";
}
.gallery__item { position: relative; overflow: hidden; border-radius: 14px; cursor: zoom-in; }
.gallery__item:nth-child(1) { grid-area: a; } .gallery__item:nth-child(2) { grid-area: b; }
.gallery__item:nth-child(3) { grid-area: c; } .gallery__item:nth-child(4) { grid-area: d; }
.gallery__item:nth-child(5) { grid-area: e; } .gallery__item:nth-child(6) { grid-area: f; }
.gallery__item:nth-child(7) { grid-area: g; } .gallery__item:nth-child(8) { grid-area: h; }
.gallery__item:nth-child(n+9) { grid-area: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 50%); opacity: 0; transition: opacity .4s; }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testi__card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; position: relative; }
.testi__card::before { content: "“"; position: absolute; top: 10px; inset-inline-end: 26px; font-family: var(--font-head); font-size: 110px; color: rgba(230,201,160,.08); line-height: 1; }
.testi__stars { color: var(--warn); letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
.testi__text { font-size: 17px; line-height: 1.65; margin: 0 0 22px; color: #e6dfd3; }
.testi__who { display: flex; align-items: center; gap: 14px; }
.testi__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--sand)); display: grid; place-items: center; font-weight: 800; color: #1a0e05; }
.testi__who b { display: block; font-size: 15px; }
.testi__who span { font-size: 13px; color: var(--muted); }
/* avis Google (API): tswira dyal l'auteur + logo G, texte twil ma7dod */
.testi__avatar { position: relative; overflow: hidden; }
.testi__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testi__card--g .testi__text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.testi__g { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-inline-end: 6px; }
.testi__g svg { width: 100%; height: 100%; display: block; }

/* popup "programme PDF" (marra wa7da l kol visiteur) */
.lead { position: fixed; z-index: 60; bottom: 24px; inset-inline-start: 24px; width: min(360px, calc(100% - 48px)); background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.55); transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.lead.in { transform: none; opacity: 1; }
.lead::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--accent), var(--sand)); }
.lead__close { position: absolute; top: 10px; inset-inline-end: 12px; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); font-size: 22px; line-height: 1; }
.lead__close:hover { color: var(--text); background: rgba(255,255,255,.06); }
.lead__ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(217,102,44,.14); color: var(--accent-2); margin-bottom: 12px; }
.lead__ic .ic, .lead__ic svg { width: 22px; height: 22px; }
.lead .kicker { margin-bottom: 4px; }
.lead h3 { font-family: var(--font-head); font-size: 30px; font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0 0 8px; padding-inline-end: 24px; }
.lead p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.lead__tours { display: flex; flex-wrap: wrap; gap: 8px; }
.lead__tours button { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 600; transition: border-color .25s, background .25s; }
.lead__tours button:hover, .lead__tours button:focus-visible { border-color: var(--accent); background: rgba(217,102,44,.12); }
html[dir="rtl"] .lead h3 { font-family: var(--font-ar); font-weight: 800; font-size: 22px; line-height: 1.3; }
@media (max-width: 760px) { .lead { inset-inline-start: 12px; bottom: 84px; width: calc(100% - 24px); padding: 18px; } .lead h3 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .lead { transition: none; } }
.testi__cta { text-align: center; margin-top: 34px; }
/* ===== identité: lignes topographiques + grain de sable ===== */
body::after { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%20%200%200%200%200%20.9%20%200%200%200%200%20.8%20%200%200%200%20.55%200%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%2F%3E%3C%2Fsvg%3E"); mix-blend-mode: overlay; }
.section--alt, .routes-sec, .quiz-sec { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22600%22%20height%3D%22600%22%20viewBox%3D%220%200%20600%20600%22%20fill%3D%22none%22%20stroke%3D%22%23e6c9a0%22%20stroke-opacity%3D%22.07%22%20stroke-width%3D%221.2%22%3E%3Cpath%20d%3D%22M-20%20120c80-40%20160%2030%20240%200s150-70%20230-30%20120%2040%20170%2020%22%2F%3E%3Cpath%20d%3D%22M-20%20160c90-40%20170%2040%20250%208s140-72%20220-34%20130%2044%20170%2024%22%2F%3E%3Cpath%20d%3D%22M-20%20205c95-38%20175%2042%20255%2012s135-70%20215-32%20135%2044%20170%2026%22%2F%3E%3Cpath%20d%3D%22M-20%20250c100-36%20180%2044%20260%2016s130-66%20210-30%20140%2042%20170%2028%22%2F%3E%3Cpath%20d%3D%22M300%20330c60-40%20150-30%20170%2030s-40%20110-120%20110-150-30-150-80%2040-40%20100-60z%22%2F%3E%3Cpath%20d%3D%22M320%20350c45-28%20115-20%20128%2025s-30%2080-90%2080-112-22-112-58%2030-30%2074-47z%22%2F%3E%3Cpath%20d%3D%22M340%20372c30-16%2076-12%2086%2016s-20%2052-60%2052-74-14-74-38%2020-20%2048-30z%22%2F%3E%3Cpath%20d%3D%22M-20%20470c70-30%20150%2020%20220-6s160-60%20240-24%20120%2036%20180%2018%22%2F%3E%3Cpath%20d%3D%22M-20%20515c75-28%20155%2024%20225-2s155-58%20235-22%20125%2036%20180%2020%22%2F%3E%3Cpath%20d%3D%22M60%20330c30-30%2090-20%2090%2020s-40%2060-80%2050-40-40-10-70z%22%2F%3E%3C%2Fsvg%3E"); background-size: 600px 600px; }
.section--alt { background-color: var(--bg-2); }
@media print { body::after { display: none; } }
/* ===== prochain départ (banner) ===== */
.hero__next { margin-top: 28px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 16px 10px 14px; border-radius: 999px; background: rgba(14,13,11,.55); border: 1px solid rgba(230,201,160,.25); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .25s, background .25s; max-width: max-content; text-align: start; }
.hero__next:hover { border-color: var(--accent); background: rgba(217,102,44,.18); }
.hero__next-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(123,196,127,.7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(123,196,127,0); } 100% { box-shadow: 0 0 0 0 rgba(123,196,127,0); } }
.hero__next-label { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.hero__next-seats { color: var(--sand); font-weight: 800; }
/* ===== compteurs (jauge de moto) ===== */
.stat--gauge { position: relative; }
.gauge { display: block; width: 92px; height: auto; margin-bottom: 6px; overflow: visible; --g: 0; }
.stat--gauge { --g: 0; }
.gauge__track { stroke: rgba(255,255,255,.1); stroke-width: 6; fill: none; stroke-linecap: round; }
.gauge__fill { stroke: var(--accent); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--g) * 100); }
.gauge__tick { stroke: rgba(255,255,255,.25); stroke-width: 1.5; }
.gauge__needle { transform-origin: 50px 52px; transform: rotate(calc(-90deg + var(--g) * 180deg)); }
.gauge__needle line { stroke: var(--sand); stroke-width: 2.5; stroke-linecap: round; }
.gauge__needle circle { fill: var(--sand); }
.stat--text .gauge { width: 70px; }
.hero__next { align-self: flex-start; }
/* ===== cartes dyal les raids ===== */
.tour { transition: transform .35s var(--ease), box-shadow .35s var(--ease); transform-style: preserve-3d; will-change: transform; }
.tour::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,235,205,.10), transparent 60%); opacity: 0; transition: opacity .3s; }
.tour:hover::after { opacity: 1; }
.tour__img--alt { opacity: 0; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.tour:hover .tour__img--alt { opacity: 1; }
/* ===== carte de tous les itinéraires ===== */
.routes__hint { color: var(--muted); margin: 10px 0 0; }
.routes { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; }
.routes__map { min-height: 480px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); z-index: 0; }
.routes__list { display: grid; gap: 10px; align-content: start; }
.routes__item { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .25s, transform .25s, background .25s; }
.routes__item i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.routes__item b { display: block; font-size: 16px; }
.routes__item span { color: var(--muted); font-size: 13px; }
.routes__item em { font-style: normal; color: var(--muted); transition: transform .25s; }
.routes__item:hover, .routes__item.is-on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--bg-3)); transform: translateX(4px); }
html[dir="rtl"] .routes__item:hover, html[dir="rtl"] .routes__item.is-on { transform: translateX(-4px); }
.routes__item.is-on em { transform: translateX(4px); color: var(--c); }
.route-line { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: drawRoute 3s var(--ease) forwards; }
@keyframes drawRoute { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .routes { grid-template-columns: 1fr; } .routes__map { min-height: 360px; } }
/* ===== tableau comparatif ===== */
.cmp { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); -webkit-overflow-scrolling: touch; }
.cmp table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; }
.cmp tbody th { text-align: start; color: var(--muted); font-weight: 600; white-space: nowrap; position: sticky; inset-inline-start: 0; background: var(--bg-3); }
.cmp thead th { vertical-align: bottom; }
.cmp thead a { display: grid; gap: 8px; color: inherit; text-decoration: none; justify-items: center; }
.cmp thead img { width: 100%; max-width: 180px; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.cmp thead span { font-family: var(--font-head); font-size: 24px; letter-spacing: .02em; font-weight: 400; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp td { white-space: nowrap; }
.cmp__price { font-family: var(--font-head); font-size: 26px; color: var(--sand); font-weight: 400; }
/* ===== timeline (programme) ===== */
.itin--page { --p: 0; }
.itin--page::after { content: ""; position: absolute; top: 14px; inset-inline-start: 19px; width: 2px; height: calc((100% - 28px) * var(--p)); background: linear-gradient(var(--accent), var(--sand)); border-radius: 2px; transition: height .15s linear; }
.itin--page .itin__day { transition: background .4s, border-color .4s, color .4s, transform .4s; z-index: 2; }
.itin--page li.lit .itin__day { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.itin--page li { opacity: .55; transition: opacity .5s; }
.itin--page li.lit { opacity: 1; }
/* ===== météo ===== */
.wx { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 170px; padding: 10px 0 0; }
.wx__m { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; gap: 6px; }
.wx__m b { font-size: 12px; font-weight: 700; color: var(--muted); }
.wx__m i { align-self: end; display: block; border-radius: 6px 6px 2px 2px; min-height: 8px; background: var(--c); opacity: .9; }
.wx__m span { font-size: 11px; color: var(--muted); }
.wx__m--ideal { --c: var(--ok); } .wx__m--ok { --c: var(--warn); } .wx__m--hot { --c: var(--bad); } .wx__m--cold { --c: #6ab0f3; }
.wx__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 4px; font-size: 13px; color: var(--muted); }
.wx__k::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; background: var(--c); }
.wx__k--ideal { --c: var(--ok); } .wx__k--ok { --c: var(--warn); } .wx__k--hot { --c: var(--bad); } .wx__k--cold { --c: #6ab0f3; }
@media (max-width: 520px) { .wx { gap: 3px; } .wx__m b { font-size: 10px; } }
/* ===== barre "Réserver" lsi9a (téléphone) ===== */
.tp-bar { display: none; }
@media (max-width: 760px) {
  .tp-bar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 95; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(14,13,11,.92); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .tp-bar small { display: block; color: var(--muted); font-size: 11px; }
  .tp-bar b { font-family: var(--font-head); font-size: 28px; line-height: 1; color: var(--sand); font-weight: 400; }
  .tp-bar b em { font-style: normal; font-size: 16px; }
  body.has-tpbar .wa { bottom: 88px; }
  body.has-tpbar { padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .nav__right { gap: 6px; }
  .lang button { padding: 6px 7px; font-size: 11px; }
  .nav__logo-text { font-size: 17px; letter-spacing: .05em; }
  .nav__logo { gap: 8px; min-width: 0; }
}
@media (max-width: 360px) { .nav__logo-text { display: none; } }
.tp-card__link { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--sand); }
/* ===== grand CTA ===== */
.bigcta { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; text-align: center; }
.bigcta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.bigcta__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14,13,11,.55), rgba(14,13,11,.92)), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.bigcta__content { position: relative; z-index: 1; padding-block: 100px; display: grid; justify-items: center; }
.bigcta__title { font-family: var(--font-head); font-size: clamp(60px, 10vw, 140px); line-height: .9; font-weight: 400; letter-spacing: .01em; margin: 0 0 18px; }
.bigcta__text { color: #d9d1c4; max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.bigcta .hero__cta { justify-content: center; }
body:not([data-page="home"]) .bigcta { display: none; }
/* ===== checklist ===== */
.ck__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; padding: 14px 18px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); position: sticky; top: 84px; z-index: 5; }
.ck__btns { display: flex; gap: 8px; }
.ck__group { margin-bottom: 28px; }
.ck__item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; cursor: pointer; transition: background .2s; }
.ck__item:hover { background: rgba(255,255,255,.04); }
.ck__item input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.ck__item input:checked + span { text-decoration: line-through; color: var(--muted); }
@media print { .ck__bar .ck__btns, .nav, .footer, .wa, .tp-hero__img { display: none !important; } .ck__item { padding: 4px 0; } }
/* remises */
.sched__promo { font-style: normal; background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 800; margin-inline-start: 6px; }
.offers { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: var(--sand); font-size: 14px; font-weight: 600; }
.bk__promo b, .bk__promo span { color: var(--ok); }
/* options réservation */
.bk__opts { display: grid; gap: 10px; }
.bk__opts:empty { display: none; }
.bk__opts-title { margin: 4px 0 0; font-size: 13px; color: var(--muted); font-weight: 700; }
.form .bk__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text, #f3ede3); font-size: 14px; font-weight: 600; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.form .bk__opt small { color: var(--sand); font-weight: 700; margin-inline-start: 4px; }
.form .bk__opt input[type=number] { width: 80px; }
.form .bk__opt--check { justify-content: flex-start; cursor: pointer; }
.form .bk__opt--check input, .form .form__check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form .form__check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
/* quiz */
.quiz-sec { padding-block: clamp(50px, 7vw, 80px); }
.quiz { background: linear-gradient(135deg, rgba(217,102,44,.16), rgba(230,201,160,.06)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.quiz__intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.quiz__intro .h2 { margin: 0; }
.quiz__step { color: var(--muted); font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.quiz__bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.quiz__bar i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.quiz__q { font-size: clamp(22px, 3vw, 30px); margin: 0 0 20px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.quiz__opt { text-align: start; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: inherit; font: inherit; font-weight: 700; cursor: pointer; transition: .2s; }
.quiz__opt:hover { border-color: var(--accent); background: rgba(217,102,44,.15); transform: translateY(-2px); }
.quiz__back { margin-top: 18px; background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.quiz__best { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; color: inherit; text-decoration: none; background: rgba(0,0,0,.25); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.quiz__best img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.quiz__best h3 { font-size: 28px; margin: 0 0 4px; }
.quiz__best > div { padding: 20px 20px 20px 0; }
html[dir="rtl"] .quiz__best > div { padding: 20px 0 20px 20px; }
.quiz__meta { color: var(--sand); font-weight: 700; font-size: 14px; }
.quiz__also { margin: 16px 0 0; color: var(--muted); }
.quiz__also a { color: var(--sand); }
@media (max-width: 640px) { .quiz__best { grid-template-columns: 1fr; } .quiz__best > div, html[dir="rtl"] .quiz__best > div { padding: 0 18px 20px; } }
/* bon cadeau */
.gift-sec { padding-block: clamp(40px, 6vw, 70px); }
.gift { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--bg-3); border: 1px dashed rgba(230,201,160,.4); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.gift__icon { font-size: 56px; line-height: 1; }
.gift__txt { flex: 1; min-width: 240px; }
.gift__txt .h2 { margin: 0 0 8px; }
.gift__txt p:last-child { color: var(--muted); margin: 0; }
#footerPages { display: contents; }
/* accessibilité */
.skip { position: fixed; top: -60px; inset-inline-start: 16px; z-index: 1000; background: var(--sand); color: #1a1408; padding: 10px 16px; border-radius: 10px; font-weight: 800; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }

/* ===================== PREMIUM ===================== */
/* icônes */
.ic { display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: -.2em; color: var(--sand); }
.ic svg { width: 100%; height: 100%; }
.btn .ic { color: currentColor; }
/* typographie: italique serif */
.serif, em.serif { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; color: var(--sand); }
.hero__title .serif { font-size: 1.02em; }
.h2 .serif, .bigcta__title .serif { font-size: 1.06em; padding-inline-end: .04em; }
/* transitions entre les pages */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
::view-transition-group(tour-hero) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.tp-hero__img { view-transition-name: tour-hero; }
/* étalonnage photo (même "look" partout) */
body.graded :is(.hero__img, .tour__img, .gallery__item img, .tp-gallery__item img, .tp-hero__img, .custom__img, .bigcta__img, .team__card img, .post img, .quiz__best img, .day__card img, .live__item img) { filter: sepia(.14) saturate(.88) contrast(1.07) brightness(.97); }
/* une journée type */
.day { position: relative; background: var(--bg); }
.day__pin { padding-block: clamp(60px, 8vw, 100px) 40px; overflow: hidden; }
.day--pin .day__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 70px 30px; }
.day__head { margin-bottom: 30px; }
.day__track { display: flex; gap: 22px; padding-inline: max(20px, calc((100vw - var(--container)) / 2)); will-change: transform; }
.day:not(.day--pin) .day__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.day:not(.day--pin) .day__track::-webkit-scrollbar { display: none; }
.day__card { position: relative; flex: 0 0 min(44vw, 560px); height: min(62vh, 560px); border-radius: 22px; overflow: hidden; background: var(--bg-3); scroll-snap-align: center; isolation: isolate; }
.day__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.day__card:hover img { transform: scale(1.05); }
.day__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,9,7,.92), rgba(10,9,7,.15) 60%, rgba(10,9,7,.35)); }
.day__txt { position: absolute; inset-inline: 0; bottom: 0; padding: 30px; }
.day__time { font-family: var(--font-head); font-size: clamp(54px, 6vw, 84px); line-height: .9; color: var(--sand); display: block; }
.day__txt h3 { font-size: 24px; margin: 8px 0 6px; }
.day__txt p { color: #d9d1c4; margin: 0; max-width: 420px; }
.day__n { position: absolute; top: 22px; inset-inline-end: 24px; font-family: var(--font-head); font-size: 20px; color: rgba(255,255,255,.55); letter-spacing: .1em; }
.day__progress { display: flex; align-items: center; gap: 16px; margin-top: 26px; color: var(--muted); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; }
.day__progress::before { content: ""; flex: 1; height: 2px; background: var(--line); order: 0; }
.day__progress i { position: absolute; height: 2px; background: var(--accent); width: 0; transition: width .1s linear; }
.day__progress { position: relative; }
@media (max-width: 760px) { .day__card { flex-basis: 84vw; height: 70vh; } }
/* galerie masonry */
.gallery.masonry { display: block; columns: 4 260px; column-gap: 10px; grid-template-areas: none; }
.gallery.masonry .gallery__item { grid-area: auto !important; display: block; break-inside: avoid; margin: 0 0 10px; }
.gallery.masonry .gallery__item img { height: auto; display: block; min-height: 140px; background: var(--bg-3); }
.gallery__item figcaption { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 14px 16px; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.gallery__item:hover figcaption { opacity: 1; transform: none; }
/* lightbox */
.lightbox { padding: 30px 70px; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: grid; justify-items: center; gap: 12px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 12px; cursor: default; }
.lightbox__fig img.in { animation: up .35s var(--ease); }
.lightbox__fig figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.35); color: #fff; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background .25s, border-color .25s; z-index: 1; }
.lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__nav--prev { inset-inline-start: 14px; } .lightbox__nav--next { inset-inline-end: 14px; }
html[dir="rtl"] .lightbox__nav { transform: translateY(-50%) scaleX(-1); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 13px; letter-spacing: .15em; }
@media (max-width: 640px) { .lightbox { padding: 20px 10px; } .lightbox__nav { width: 40px; height: 40px; font-size: 24px; } }
/* footer: smiya kbira */
.footer__right { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__mark { overflow: hidden; line-height: .78; padding-top: 10px; text-align: center; user-select: none; }
.footer__mark span { display: block; font-family: var(--font-head); font-size: clamp(64px, 17.5vw, 300px); letter-spacing: .02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(230,201,160,.22); background: linear-gradient(180deg, rgba(230,201,160,.16), transparent 85%); -webkit-background-clip: text; background-clip: text; transform: translateY(14%); }
/* curseur */
.cur { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur.on { opacity: 1; }
.cur span { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(230,201,160,.75); display: grid; place-items: center; font-size: 0; font-weight: 800; color: #1a1408; letter-spacing: .05em; text-transform: uppercase; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, font-size .2s; }
.cur--link span { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(230,201,160,.12); }
.cur--view span { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--sand); border-color: var(--sand); font-size: 13px; }
/* calendrier */
.sched__views { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,0,0,.25); margin-bottom: 18px; }
.sched__views button { padding: 7px 16px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; }
.sched__views button.active { background: var(--sand); color: #1a1408; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.cal__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-inline-end: 7px; }
.cal__months { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cal__month { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.cal__month h4 { margin: 0 0 12px; font-family: var(--font-head); font-size: 24px; font-weight: 400; letter-spacing: .04em; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__grid b { font-size: 11px; color: var(--muted); padding-bottom: 4px; }
.cal__d { aspect-ratio: 1; display: grid; place-items: center; font-size: 13px; color: rgba(243,237,227,.45); border-radius: 8px; }
.cal__d--dep { background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--text); font-weight: 800; border: 1px solid var(--c); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s; }
.cal__d--dep:hover { background: var(--c); color: #1a1408; transform: scale(1.1); }
.cal__d--dep.is-full { opacity: .45; text-decoration: line-through; }
/* partenaires */
.section__head--center { margin-inline: auto; text-align: center; }
.partners { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partners__track { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.partners:hover .partners__track { animation-play-state: paused; }
.partner { display: grid; place-items: center; height: 70px; min-width: 120px; filter: grayscale(1) brightness(1.6); opacity: .6; transition: .3s; color: var(--text); text-decoration: none; }
.partner:hover { filter: none; opacity: 1; }
.partner img { max-height: 60px; max-width: 170px; object-fit: contain; }
.partner span { font-family: var(--font-head); font-size: 26px; letter-spacing: .05em; }
/* avis en vidéo */
.vrev:empty { display: none; }
.vrev { margin-bottom: 28px; }
.vrev__title { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; }
.vrev__row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.vrev__card { position: relative; flex: 0 0 200px; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); cursor: pointer; padding: 0; color: inherit; }
.vrev__card video, .vrev__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vrev__ph { background: linear-gradient(160deg, var(--bg-3), #2a2219); }
.vrev__play { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(217,102,44,.9); color: #fff; display: grid; place-items: center; transition: transform .3s; }
.vrev__play svg { width: 22px; height: 22px; margin-inline-start: 3px; }
.vrev__card:hover .vrev__play { transform: scale(1.12); }
.vrev__who { position: absolute; inset-inline: 0; bottom: 0; padding: 14px; text-align: start; background: linear-gradient(0deg, rgba(10,9,7,.9), transparent); display: grid; }
.vrev__who small { color: var(--muted); font-size: 12px; }
/* live */
.hero__next--live { border-color: rgba(215,92,92,.6); }
.hero__next-live, .live__badge { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--bad); border-radius: 999px; padding: 2px 10px 2px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; animation: livePulse 1.6s ease-in-out infinite; }
.hero__next-live .ic, .live__badge .ic { color: #fff; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 6px rgba(215,92,92,.2); } }
.live { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.live:not(:has(.live__map)) { grid-template-columns: 1fr; max-width: 760px; }
.live__map { height: 520px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: sticky; top: 100px; z-index: 0; }
.live__feed { display: grid; gap: 16px; }
.live__item { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.live__meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; text-transform: capitalize; }
.live__meta b { color: var(--sand); }
.live__item p { margin: 0 0 10px; white-space: pre-line; }
.live__item img { width: 100%; border-radius: 12px; cursor: zoom-in; }
.mapdot--now { background: var(--bad); animation: livePulse 1.6s infinite; }
@media (max-width: 900px) { .live { grid-template-columns: 1fr; } .live__map { position: relative; top: 0; height: 360px; } }
/* parrainage */
.form .bk__ref small { font-weight: 700; min-height: 1em; }
.form .bk__ref small.ok { color: var(--ok); } .form .bk__ref small.bad { color: var(--bad); }
.form .bk__ref input { text-transform: uppercase; letter-spacing: .1em; }
/* hors ligne */
.offline { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 300; background: var(--bg-3); border: 1px solid var(--warn); color: var(--text); padding: 10px 18px; border-radius: 999px; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100vw - 32px); text-align: center; }
@media (prefers-reduced-motion: reduce) { .partners__track { animation: none; } .day__card img { transition: none; } }

/* ===================== WOW ===================== */
/* ghbar dyal sable / njoum f l'banner */
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* lon 3la 7sab sa3a f l'Maghrib */
.hero__overlay::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s; pointer-events: none; }
body.tod-sunset .hero__overlay::after { opacity: 1; background: linear-gradient(200deg, rgba(240,120,50,.30), rgba(150,50,90,.18) 55%, transparent 80%); mix-blend-mode: soft-light; }
body.tod-dawn .hero__overlay::after { opacity: 1; background: linear-gradient(180deg, rgba(255,190,150,.22), transparent 60%); mix-blend-mode: soft-light; }
body.tod-night .hero__overlay::after { opacity: 1; background: linear-gradient(180deg, rgba(10,18,48,.62), rgba(10,14,30,.35) 60%, transparent); }
body.tod-night .hero__img { filter: saturate(.7) brightness(.8) hue-rotate(-8deg) !important; }
body.tod-sunset { --sand: #f0c48e; }
/* titres: kol klma kattl3 */
.w { display: inline-block; }
.reveal .w, .bigcta__content .w { opacity: 0; transform: translateY(.55em) rotate(2deg); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms + .1s); }
.reveal.in .w, .bigcta__content.in .w { opacity: 1; transform: none; }
/* stories (téléphone) */
.stories { display: none; }
@media (max-width: 760px) {
  .stories { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: -10px -20px 22px; padding: 4px 20px 8px; }
  .stories::-webkit-scrollbar { display: none; }
}
.stories__item { flex: none; display: grid; justify-items: center; gap: 6px; background: none; border: 0; color: var(--text); font: inherit; cursor: pointer; width: 74px; }
.stories__ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--accent), var(--sand), var(--accent-2), var(--accent)); }
.stories__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-2); display: block; }
.stories__item small { font-size: 11px; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.story { position: fixed; inset: 0; z-index: 400; background: #000; display: grid; }
.story[hidden] { display: none; }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: storyZoom 5s ease-out forwards; }
@keyframes storyZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 22%, transparent 70%, rgba(0,0,0,.7)); pointer-events: none; }
.story__bars { position: absolute; z-index: 3; top: calc(10px + env(safe-area-inset-top)); inset-inline: 10px; display: flex; gap: 4px; }
.story__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.story__bars b { display: block; height: 100%; width: 0; background: #fff; }
@keyframes storyBar { to { width: 100%; } }
.story__head { position: absolute; z-index: 3; top: calc(22px + env(safe-area-inset-top)); inset-inline: 12px; display: flex; align-items: center; gap: 10px; color: #fff; }
.story__head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.story__x { margin-inline-start: auto; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; padding: 0 6px; }
.story__tap { position: absolute; z-index: 2; top: 0; bottom: 0; width: 35%; background: none; border: 0; }
.story__tap--prev { inset-inline-start: 0; } .story__tap--next { inset-inline-end: 0; width: 65%; }
.story__cta { position: absolute; z-index: 3; bottom: calc(28px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); white-space: nowrap; }
/* configurateur */
.cfg { width: min(1040px, 100%); padding: 0; }
.cfg__grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.cfg__form { padding: 34px; display: grid; gap: 14px; align-content: start; }
.cfg__form .bk__title { margin-bottom: 4px; }
.form.cfg__form { padding: 34px; }
@media (max-width: 860px) { .form.cfg__form { padding: 26px 20px; } }
.cfg__row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.cfg__row b { font-family: var(--font-head); font-size: 30px; font-weight: 400; color: var(--sand); }
.cfg__range { width: 100%; accent-color: var(--accent); }
.cfg__label { font-size: 13px; color: var(--muted); font-weight: 700; margin: 4px 0 -4px; }
.cfg__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg__chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: .2s; }
.cfg__chip:hover { border-color: var(--sand); }
.cfg__chip.on { background: var(--sand); color: #1a1408; border-color: var(--sand); }
.cfg__chip.on .ic { color: #1a1408; }
.cfg__side { background: var(--bg-3); border-inline-start: 1px solid var(--line); padding: 34px 28px; display: grid; gap: 12px; align-content: start; border-radius: 0 var(--radius) var(--radius) 0; }
html[dir="rtl"] .cfg__side { border-radius: var(--radius) 0 0 var(--radius); }
.cfg__est { display: grid; gap: 2px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(217,102,44,.22), rgba(230,201,160,.06)); border: 1px solid rgba(230,201,160,.18); }
.cfg__est small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; }
.cfg__est b { font-family: var(--font-head); font-size: 52px; line-height: 1; color: var(--sand); font-weight: 400; }
.cfg__est b em { font-style: normal; font-size: 26px; } .cfg__est b small { font-size: 14px; letter-spacing: 0; text-transform: none; }
.cfg__est span { color: var(--muted); font-size: 13px; }
.cfg__map { height: 230px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); z-index: 0; }
.cfg__ex { color: var(--sand); font-weight: 700; text-decoration: none; }
.cfg__note { color: var(--muted); font-size: 12px; margin: 0; }
@media (max-width: 860px) { .cfg__grid { grid-template-columns: 1fr; } .cfg__side { border-inline-start: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); } .cfg__form { padding: 26px 20px; } .cfg__map { height: 180px; } }
/* paiement en ligne */
.bk__pay { display: grid; gap: 8px; justify-items: center; margin: -6px 0 18px; }
.bk__pay small { color: var(--muted); font-size: 12px; max-width: 360px; }
/* survol 3D */
.tp-map-wrap { position: relative; }
.tp-fly { position: absolute; z-index: 500; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(14,13,11,.72); color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .25s, background .25s; white-space: nowrap; }
.tp-fly:hover { background: var(--accent); transform: translateX(-50%) scale(1.04); }
.tp-fly__play { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.tp-fly:hover .tp-fly__play { background: #fff; color: var(--accent); }
.tp-fly__play svg { width: 15px; height: 15px; margin-inline-start: 2px; }
.fly { position: fixed; inset: 0; z-index: 1000; background: #000; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.fly.open { opacity: 1; visibility: visible; }
.fly__map, .fly .fly__map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.fly__title { position: absolute; z-index: 2; top: 22px; inset-inline-start: 24px; display: grid; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); pointer-events: none; }
.fly__title b { font-family: var(--font-head); font-size: clamp(34px, 5vw, 64px); font-weight: 400; line-height: 1; letter-spacing: .02em; }
.fly__title small { color: var(--sand); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: 12px; }
.fly__stage { position: absolute; z-index: 2; left: 50%; bottom: 90px; transform: translateX(-50%); text-align: center; color: #fff; display: grid; pointer-events: none; text-shadow: 0 2px 24px rgba(0,0,0,.8); }
.fly__stage.in { animation: up .6s var(--ease); }
.fly__stage small { color: var(--sand); font-weight: 800; letter-spacing: .25em; text-transform: uppercase; font-size: 12px; }
.fly__stage b { font-family: var(--font-head); font-size: clamp(40px, 6vw, 80px); font-weight: 400; line-height: 1; }
.fly__ctrl { position: absolute; z-index: 2; top: 22px; inset-inline-end: 24px; display: flex; gap: 8px; }
.fly__load { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; color: var(--muted); background: var(--bg); }
.fly__load[hidden] { display: none; }
.fly__pin { display: grid; justify-items: center; gap: 4px; transform: translateY(-4px); }
.fly__pin span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.fly__pin b { font-size: 12px; color: #fff; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 640px) { .fly__ctrl { top: auto; bottom: 22px; inset-inline-end: 50%; transform: translateX(50%); } .fly__stage { bottom: 80px; } .tp-fly { font-size: 12px; } }
.cur-switch { display: inline-flex; }
.cur-switch button { padding: 4px 10px; }
.tp-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tours__cur { display: flex; justify-content: flex-end; margin: -20px 0 22px; }
.tp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 40px; }
.tp-gallery__item { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; background: var(--bg-3); }
.tp-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tp-gallery__item:hover img { transform: scale(1.05); }
@media (max-width: 600px) { .tp-gallery { grid-template-columns: repeat(2, 1fr); } }
.testi__date { color: var(--muted); letter-spacing: 0; font-size: 12px; margin-inline-start: 10px; }
.rv__intro { margin: -8px 0 18px; text-align: start; }
.rv__stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 18px; }
.rv__stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv__stars label { font-size: 34px; line-height: 1; color: rgba(255,255,255,.18); cursor: pointer; transition: color .15s, transform .15s; }
.rv__stars label:hover, .rv__stars label:hover ~ label, .rv__stars input:checked ~ label { color: var(--warn); }
.rv__stars label:hover { transform: scale(1.12); }
.rv__stars input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.rv__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Custom raid ---------- */
.custom { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.custom__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.custom__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,13,11,.9), rgba(14,13,11,.4)); }
html[dir="rtl"] .custom__overlay { background: linear-gradient(270deg, rgba(14,13,11,.9), rgba(14,13,11,.4)); }
.custom__content { position: relative; z-index: 1; padding-block: 90px; max-width: 640px; }
.custom__title { font-family: var(--font-head); font-size: clamp(48px, 7vw, 92px); letter-spacing: .01em; font-weight: 400; line-height: .95; }
.custom__text { font-size: 17px; color: #e0d8cb; margin: 22px 0 34px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team__card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.team__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team__card:hover img { transform: scale(1.05); }
.team__info { position: absolute; inset-inline: 0; bottom: 0; padding: 26px; background: linear-gradient(0deg, rgba(10,9,7,.95), transparent); }
.team__info b { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 400; letter-spacing: .04em; }
.team__info span { font-size: 13px; color: var(--sand); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-3); overflow: hidden; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; text-align: start; font-weight: 700; font-size: 17px; }
.faq__q i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; position: relative; transition: transform .35s var(--ease), background .3s; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; background: var(--sand); width: 12px; height: 2px; }
.faq__q i::after { transform: rotate(90deg); transition: transform .35s; }
.faq__item.open .faq__q i { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.faq__item.open .faq__q i::before, .faq__item.open .faq__q i::after { background: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { margin: 0; padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.form { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 15px; transition: border-color .25s, box-shadow .25s; color-scheme: dark;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,102,44,.2); }
.form input.error { border-color: var(--bad); }
.form textarea { resize: vertical; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact__info { display: grid; gap: 18px; align-content: start; }
.contact__info h3 { font-family: var(--font-head); font-size: 28px; font-weight: 400; letter-spacing: .04em; }
.contact__list { display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: #d9d1c4; }
.contact__list a:hover { color: var(--sand); }
.ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line); display: grid; place-items: center; }
.ico::before { content: ""; width: 18px; height: 18px; background: var(--sand); mask: var(--m) center / contain no-repeat; -webkit-mask: var(--m) center / contain no-repeat; }
.ico--pin   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ico--phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012.1 4.2 2 2 0 014.1 2h3a2 2 0 012 1.7c.1.9.4 1.8.7 2.6a2 2 0 01-.5 2.1L8.1 9.7a16 16 0 006 6l1.3-1.3a2 2 0 012.1-.4c.8.3 1.7.6 2.6.7a2 2 0 011.7 2z'/%3E%3C/svg%3E"); }
.ico--mail  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ico--clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-3); font-size: 13px; font-weight: 700; transition: .25s; }
.socials a:hover { border-color: var(--sand); color: var(--sand); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 60px; }
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 50px; }
.newsletter__text strong { font-family: var(--font-head); font-size: 26px; letter-spacing: .06em; font-weight: 400; display: block; }
.newsletter__text p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter__row input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.newsletter__row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,102,44,.2); }
.newsletter__row input.error { border-color: var(--bad); }
.newsletter__msg { grid-column: 1 / -1; margin: -8px 0 0; font-size: 14px; color: var(--ok); }
.newsletter__msg.err { color: var(--bad); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand strong { font-family: var(--font-head); font-size: 24px; letter-spacing: .08em; font-weight: 400; }
.footer__brand p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.footer__links, .footer__legal { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.footer__links a:hover, .footer__legal a:hover { color: var(--sand); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- WhatsApp float ---------- */
.wa {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.wa:hover { transform: translateY(-3px) scale(1.03); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: none; }
.modal.open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,4,3,.8); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__box {
  position: absolute; inset: 0; margin: auto; width: min(860px, 100% - 24px); height: fit-content; max-height: calc(100% - 24px); overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; animation: up .4s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
.modal__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.5); font-size: 26px; line-height: 1; backdrop-filter: blur(6px); }
.modal__hero { position: relative; height: 300px; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero-grad { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-2), transparent 60%); }
.modal__hero-text { position: absolute; bottom: 24px; inset-inline: 34px; }
.modal__hero-text h3 { font-family: var(--font-head); font-size: clamp(40px, 6vw, 64px); font-weight: 400; letter-spacing: .02em; }
.modal__body { padding: 20px 34px 34px; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.modal__meta span { padding: 8px 14px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); font-size: 13px; }
.modal__meta span b { color: var(--sand); }
.modal__desc { color: #d9d1c4; font-size: 16px; margin: 0 0 26px; }
.modal__body h4 { font-family: var(--font-head); font-size: 26px; font-weight: 400; letter-spacing: .05em; margin-bottom: 16px; }
.itin { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 0; position: relative; }
.itin::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 19px; width: 1px; background: var(--line); }
.itin li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-block: 12px; }
.itin__day { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-size: 18px; color: var(--sand); position: relative; z-index: 1; }
.itin b { display: block; font-size: 16px; }
.itin p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.modal__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.modal__price small { display: block; font-size: 12px; color: var(--muted); }
.modal__price b { font-family: var(--font-head); font-size: 44px; color: var(--sand); font-weight: 400; line-height: 1; }

/* ---------- Booking modal ---------- */
.modal__box--sm { width: min(640px, 100% - 24px); }
.bk { padding-top: 34px; }
.bk__title { font-family: var(--font-head); font-size: clamp(36px, 5vw, 52px); font-weight: 400; letter-spacing: .02em; margin-bottom: 20px; }
.form--flat { background: none; border: 0; padding: 0; }
.bk__summary { display: grid; gap: 8px; padding: 16px 18px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line); font-size: 14px; }
.bk__summary:empty { display: none; }
.bk__summary div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.bk__summary b { color: var(--text); }
.bk__summary small { color: var(--muted); }
.bk__deposit { padding: 8px 0; border-block: 1px dashed var(--line); font-size: 16px; }
.bk__deposit b { color: var(--sand); font-size: 18px; }
.bk__submit { width: 100%; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fb659; }
.bk__done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bk__note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.bk__error { margin: 0; font-size: 14px; color: var(--bad); }
.bk__done { text-align: center; padding: 20px 0 10px; }
.bk__check { width: 64px; height: 64px; border-radius: 50%; background: rgba(123,196,127,.15); color: var(--ok); display: grid; place-items: center; font-size: 30px; font-weight: 900; margin: 0 auto 18px; }
.bk__done h3 { font-family: var(--font-head); font-size: 36px; font-weight: 400; letter-spacing: .03em; margin-bottom: 10px; }
.bk__done p { color: var(--muted); margin: 0 0 22px; }
.form__sent { margin: 0; font-size: 14px; color: var(--ok); }
html[dir="rtl"] .bk__title, html[dir="rtl"] .bk__done h3 { font-family: var(--font-ar); font-weight: 900; font-size: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(5,4,3,.92); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; animation: up .35s var(--ease); }
.lightbox__close { position: absolute; top: 20px; inset-inline-end: 24px; font-size: 40px; color: #fff; z-index: 1; }

/* ---------- Reels (courtes vidéos) ---------- */
.reels {
  display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  width: min(1440px, 100% - 40px); margin-inline: auto; padding: 10px 4px 20px;
}
.reels::-webkit-scrollbar { height: 6px; }
.reels::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.reel {
  position: relative; flex: 0 0 220px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  background: var(--bg-3); scroll-snap-align: start; cursor: pointer; display: block; color: var(--sand); text-decoration: none;
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel--embed { flex: 0 0 auto; width: 328px; aspect-ratio: auto; max-height: 600px; overflow: hidden; background: var(--bg-3); cursor: default; }
.reel--embed blockquote { margin: 0 !important; }
@media (max-width: 640px) { .reel--embed { width: 280px; } }
.reel__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.15); transition: background .3s; pointer-events: none; }
.reel__play svg { width: 44px; height: 44px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.reel:hover .reel__play { background: rgba(0,0,0,.28); }
.reel__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 16px 12px; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; }
.reel__link { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; }
.reel__link span { font-size: 26px; }
.reel__link small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.reel__badge { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(0,0,0,.5); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; padding: 4px 9px; border-radius: 99px; }
.reel__hit { position: absolute; inset: 0; z-index: 1; }
.reel iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.reel__mute { position: absolute; z-index: 2; bottom: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 15px; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(2px); }
.reel__mute:hover { background: rgba(0,0,0,.75); }
@media (max-width: 640px) { .reel { flex-basis: 150px; } }

/* ---------- Reel player (plein écran, tout reste sur le site — aucune redirection) ---------- */
.reelModal { position: fixed; inset: 0; z-index: 160; background: rgba(5,4,3,.95); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.reelModal.open { display: grid; }
.reelModal__body { max-width: min(92vw, 480px); max-height: 92vh; width: 100%; cursor: default; animation: up .35s var(--ease); }
.reelModal__body video, .reelModal__body iframe { width: 100%; height: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 14px; background: #000; display: block; }
.reelModal__body .reel__link { color: #fff; }
.reelModal--embed .reelModal__body { max-width: min(92vw, 540px); max-height: 92vh; overflow: auto; border-radius: 14px; }
.reelModal--embed .reelModal__body iframe { aspect-ratio: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }


.map__link { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-weight: 700; font-size: 14px; color: var(--sand); }
.map__link:hover { color: #fff; }

/* ---------- Hero vidéo ---------- */
.hero__img.is-hidden { opacity: 0; transition: opacity .8s; }
.hero__video { background: var(--bg); }

.h3 { font-family: var(--font-head); font-size: clamp(32px, 4vw, 44px); font-weight: 400; letter-spacing: .02em; margin: 56px 0 20px; }
html[dir="rtl"] .h3 { font-family: var(--font-ar); font-weight: 800; font-size: clamp(26px, 3vw, 34px); }

/* ---------- Motos ---------- */
.bikes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bike { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; }
.bike:hover { transform: translateY(-6px); border-color: rgba(230,201,160,.3); }
.bike__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.bike__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bike:hover .bike__img img { transform: scale(1.05); }
.bike__cc { position: absolute; top: 14px; inset-inline-start: 14px; }
.bike__body { padding: 24px 26px 28px; }
.bike h3 { font-family: var(--font-head); font-size: 34px; font-weight: 400; letter-spacing: .02em; margin-bottom: 8px; }
.bike__body > p:not(.tour__sub) { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.bike__specs { display: flex; flex-wrap: wrap; gap: 8px; }
.bike__specs li { font-size: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(217,102,44,.12); color: var(--sand); border: 1px solid rgba(217,102,44,.25); }

/* ---------- Sécurité ---------- */
.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.safe { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.safe .pillar__icon { flex: none; margin: 0; }
.safe h3 { font-size: 18px; margin-bottom: 6px; }
.safe p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Avis Google ---------- */
.greviews { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; background: #fff; color: #202124; border-radius: 16px; padding: 16px 20px; margin-bottom: 26px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.8); }
.greviews__g svg { width: 34px; height: 34px; display: block; }
.greviews__score { display: flex; align-items: center; gap: 10px; }
.greviews__score b { font-size: 30px; font-weight: 800; line-height: 1; }
.greviews__stars { color: #fbbc04; font-size: 20px; letter-spacing: 1px; }
.greviews__count { color: #5f6368; font-size: 14px; }
.greviews__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
.greviews .btn--dark { background: #f1f3f4; color: #202124; border-color: #dadce0; }
.greviews--card { margin: 18px 0 0; padding: 14px; gap: 10px; }
.greviews--card .greviews__btns { margin: 0; width: 100%; }
.greviews--card .greviews__btns .btn { flex: 1; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.posts--2 { grid-template-columns: repeat(2, 1fr); }
.post { display: flex; flex-direction: column; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.post:hover { transform: translateY(-6px); border-color: rgba(230,201,160,.3); }
.post__img { aspect-ratio: 16/10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.post h3 { font-size: 20px; line-height: 1.3; }
.post p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.post__more { color: var(--accent-2); font-weight: 700; font-size: 14px; }
.blog__more { margin-top: 34px; text-align: center; }

/* ---------- Page circuit / blog ---------- */
.tp-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; padding: 150px 0 60px; }
.tp-hero--sm { min-height: 56vh; }
.tp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-hero__content { position: relative; z-index: 2; }
.tp-back { display: inline-block; margin-bottom: 22px; font-size: 14px; font-weight: 700; color: var(--sand); }
.tp-back:hover { color: #fff; }
.tp-back--inline { margin: 0; letter-spacing: 0; text-transform: none; }
.tp-title { font-family: var(--font-head); font-size: clamp(56px, 9vw, 120px); line-height: .92; font-weight: 400; letter-spacing: .01em; }
.tp-title--sm { font-size: clamp(42px, 6vw, 80px); max-width: 980px; }
html[dir="rtl"] .tp-title { font-family: var(--font-ar); font-weight: 900; line-height: 1.2; font-size: clamp(40px, 6vw, 80px); }
.tp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.tp-main > .h3:first-child { margin-top: 0; }
.tp-lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.6; color: #e6dfd3; margin: 0 0 24px; }
.tp-map { height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); z-index: 0; }
.tp-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.mapdot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.leaflet-tooltip { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); font-family: var(--font-body); font-weight: 700; }
.leaflet-tooltip-top::before { border-top-color: var(--bg-3); }
.leaflet-container { background: #1b1b1b; font-family: var(--font-body); }
.itin--page li { padding-block: 16px; }
.itin--page b { font-size: 18px; }
.itin--page p { font-size: 15px; }
.incl--page { grid-template-columns: 1fr; }
.tp-side { position: sticky; top: 100px; }
.tp-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.tp-card small { color: var(--muted); font-size: 13px; }
.tp-card__price { font-family: var(--font-head); font-size: 58px; line-height: 1; color: var(--sand); margin: 4px 0 18px; }
.tp-card__price em { font-style: normal; font-size: 30px; }
.tp-facts { display: grid; gap: 0; margin-bottom: 20px; border-top: 1px solid var(--line); }
.tp-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tp-facts span { color: var(--muted); }
.tp-card__btn { width: 100%; margin-top: 10px; white-space: normal; text-align: center; }
.tp-empty { color: var(--muted); font-size: 16px; background: var(--bg-3); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; margin: 0; }

.prose { font-size: 17px; line-height: 1.8; color: #ddd5c8; }
.prose h2 { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 40px); font-weight: 400; letter-spacing: .02em; color: var(--text); margin: 44px 0 12px; }
html[dir="rtl"] .prose h2 { font-family: var(--font-ar); font-weight: 800; font-size: 26px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 22px; display: grid; gap: 10px; }
.prose li { position: relative; padding-inline-start: 26px; }
.prose li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cta-box { margin-top: 50px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 30px; border-radius: 22px;
  background: linear-gradient(120deg, rgba(217,102,44,.22), rgba(217,102,44,.05)); border: 1px solid rgba(217,102,44,.35); }
.cta-box h3 { font-family: var(--font-head); font-size: 34px; font-weight: 400; letter-spacing: .02em; }
.cta-box p { margin: 4px 0 0; color: var(--muted); }

@media (max-width: 1080px) {
  .bikes, .safety, .posts { grid-template-columns: repeat(2, 1fr); }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .bikes, .safety, .posts, .posts--2 { grid-template-columns: 1fr; }
  .tp-hero { min-height: 70vh; padding-bottom: 40px; }
  .tp-map { height: 340px; }
  .greviews__btns { margin-inline-start: 0; width: 100%; }
  .greviews__btns .btn { flex: 1; }
}

/* ---------- Cadrage photos (réglé dans l'admin) ---------- */
.fr { object-position: var(--px, 50%) var(--py, 50%); scale: var(--pz, 1); transform-origin: var(--px, 50%) var(--py, 50%); }
@media (max-width: 760px) {
  .fr { object-position: var(--mx, 50%) var(--my, 50%); scale: var(--mz, 1); transform-origin: var(--mx, 50%) var(--my, 50%); }
}
.nav__menu-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 90px 28px 40px;
    background: radial-gradient(120% 70% at 100% 0%, rgba(217,106,43,.22), transparent 60%), rgba(14,13,11,.98);
    opacity: 0; visibility: hidden; clip-path: circle(0 at calc(100% - 38px) 38px);
    transition: clip-path .6s var(--ease), opacity .3s, visibility 0s .6s; overflow-y: auto;
  }
  html[dir="rtl"] .nav__links { align-items: flex-start; clip-path: circle(0 at 38px 38px); }
  .nav__links.open { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 38px) 38px); transition: clip-path .7s var(--ease), opacity .2s; }
  html[dir="rtl"] .nav__links.open { clip-path: circle(150% at 38px 38px); }
  .nav__links a {
    font-family: var(--font-head); font-size: clamp(30px, 9vw, 42px); letter-spacing: .05em; color: #fff; width: 100%;
    padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px;
    opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--ease), color .25s;
  }
  .nav__links a::before { content: counter(menu, decimal-leading-zero); counter-increment: menu; font-family: var(--font-body, inherit); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
  .nav__links { counter-reset: menu; }
  .nav__links a::after { display: none; }
  .nav__links a.active { color: var(--accent); }
  .nav__links.open a { opacity: 1; transform: none; }
  .nav__links.open a:nth-child(1) { transition-delay: .15s; } .nav__links.open a:nth-child(2) { transition-delay: .2s; }
  .nav__links.open a:nth-child(3) { transition-delay: .25s; } .nav__links.open a:nth-child(4) { transition-delay: .3s; }
  .nav__links.open a:nth-child(5) { transition-delay: .35s; } .nav__links.open a:nth-child(6) { transition-delay: .4s; }
  .nav__links.open a:nth-child(7) { transition-delay: .45s; } .nav__links.open a:nth-child(8) { transition-delay: .5s; }
  .nav__links .nav__menu-cta { display: inline-flex; width: auto; margin-top: 24px; border: 0; padding: 14px 26px; font-family: inherit; font-size: 16px; letter-spacing: 0; }
  .nav__links .nav__menu-cta::before { display: none; }
  html[dir="rtl"] .nav__links a { font-family: var(--font-ar); font-size: 28px; }
  body.menu-open { overflow: hidden; }
  .nav__right .btn { display: none; }
  .burger { display: flex; }
}
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 22px; }
  .newsletter__row { flex-direction: column; }
}
@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .hero__stats { margin-top: 36px; gap: 18px; }
  .hero__scroll { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .tours { grid-template-columns: 1fr; }
  .tour { min-height: 460px; justify-content: space-between; }
  .tour__top { position: static; padding: 20px 20px 0; flex-wrap: wrap; gap: 8px; }
  .incl, .contact, .testi, .team { grid-template-columns: 1fr; }
  .incl__col--yes ul { grid-template-columns: 1fr; }
  .sched__head { display: none; }
  .sched__row { grid-template-columns: 1fr 1fr; padding: 20px; }
  .sched__row > *:first-child { grid-column: 1 / -1; }
  .sched__row .btn { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 600px) {
  .container { width: min(var(--container), 100% - 32px); }
  .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; width: 100%; padding-inline: 16px; grid-template-areas: none; }
  .gallery__item:nth-child(n) { grid-area: auto; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .incl__col { padding: 26px; }
  .tour__body { padding: 22px; }
  .modal__body { padding: 16px 20px 24px; }
  .modal__hero-text { inset-inline: 20px; }
  .nav__logo-text { font-size: 20px; }
  .wa span { display: none; }
  .wa { padding: 14px; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* =====================================================================
   UPGRADE: mode sable, compteur km, drapeaux, aperçu dyal l'programme,
   360°, profil d'altitude, carte dyal tsawer, infos pratiques, effets
   ===================================================================== */

/* ---------- bouton mode sable / nuit ---------- */
.theme-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); transition: color .25s, border-color .25s, transform .5s var(--ease); flex: none; }
.theme-btn:hover { color: var(--sand); border-color: var(--sand); transform: rotate(25deg); }
.theme-btn svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .3s, transform .5s var(--ease); }
.theme-btn__moon { opacity: 0; transform: scale(.4) rotate(-60deg); }
html[data-theme="sand"] .theme-btn__sun { opacity: 0; transform: scale(.4) rotate(60deg); }
html[data-theme="sand"] .theme-btn__moon { opacity: 1; transform: none; }
/* daira katkber mn l'bouton (View Transitions) */
html.theme-vt::view-transition-old(root) { animation: none; }
html.theme-vt::view-transition-new(root) { animation: themeReveal .75s var(--ease); }
@keyframes themeReveal { from { clip-path: circle(0 at var(--tx, 90%) var(--ty, 30px)); } to { clip-path: circle(150vmax at var(--tx, 90%) var(--ty, 30px)); } }

/* ---------- compteur km (ta7t l'menu) ---------- */
.odo { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.odo.odo--on.odo--show { opacity: 1; }
.odo__bar { position: absolute; inset-inline-start: 0; top: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--accent), var(--sand)); }
.odo__bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(14,13,11,.55) 6px 9px); }
.odo__bike { position: absolute; top: -13px; inset-inline-start: calc(var(--p, 0) * 100%); width: 30px; height: 18px; translate: -50% 0; color: var(--sand); filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
[dir="rtl"] .odo__bike { translate: 50% 0; transform: scaleX(-1); }
.odo__bike svg { width: 100%; height: 100%; }
.odo__km { position: absolute; top: 8px; inset-inline-end: 16px; font-family: var(--font-head); font-size: 13px; letter-spacing: .12em; font-weight: 400; color: var(--sand); background: rgba(14,13,11,.75); padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .odo__km { font-size: 11px; inset-inline-end: 12px; } }

/* ---------- drapeaux dyal riders ---------- */
.flags { display: flex; align-items: center; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.flags img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.flags img + img { margin-inline-start: -7px; }
.flags small { margin-inline-start: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }

/* ---------- carte dyal raid: aperçu dyal l'programme (PC) ---------- */
.tour__peek { display: none; }
@media (hover: hover) and (pointer: fine) {
  .tour__peek { display: block; position: absolute; top: 66px; inset-inline: 20px; z-index: 1; padding: 16px 18px 14px; border-radius: 16px; background: rgba(14,13,11,.72); border: 1px solid rgba(255,235,205,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; color: #f3ede3; }
  .tour:hover .tour__peek { opacity: 1; transform: none; }
  .tour:hover .tour__desc { opacity: 0; }
}
.tour__desc { transition: opacity .35s; }
.tour__peek-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tour__peek .kicker { margin: 0 0 6px; font-size: 11px; }
.tour__peek-route { width: 92px; height: 54px; flex: none; margin-top: -4px; }
.tour__peek-route path { fill: none; stroke: var(--accent-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tour:hover .tour__peek-route path { animation: drawLine 1.4s .15s var(--ease) forwards; }
.tour__peek-route circle { fill: #e6c9a0; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.tour__peek ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.tour__peek li { display: flex; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.35; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[dir="rtl"] .tour__peek li { transform: translateX(8px); }
.tour:hover .tour__peek li { opacity: 1; transform: none; }
.tour__peek li span { font-family: var(--font-head); font-size: 15px; color: var(--accent-2); width: 20px; flex: none; letter-spacing: .04em; }
.tour__peek small { display: block; margin-top: 8px; color: #a89f90; font-size: 12px; }

/* ---------- motos 360° ---------- */
.spin { cursor: grab; touch-action: pan-y; user-select: none; }
.spin.is-drag { cursor: grabbing; }
.spin img { pointer-events: none; }
.spin__hint { position: absolute; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); color: #fff; transition: opacity .3s; }
.spin__hint b { font-family: var(--font-head); font-size: 16px; font-weight: 400; color: var(--sand); letter-spacing: .05em; }
.spin.is-drag .spin__hint { opacity: 0; }

/* ---------- profil d'altitude ---------- */
.elev { margin: 6px 0 8px; padding: 22px 22px 14px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); }
.elev__load { color: var(--muted); margin: 0; padding: 40px 0; text-align: center; font-size: 14px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.elev__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.elev__stats span { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.elev__stats small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.elev__stats b { font-family: var(--font-head); font-size: 28px; font-weight: 400; letter-spacing: .03em; color: var(--sand); line-height: 1.1; }
.elev__chart { position: relative; }
.elev__chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.elev__grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.elev__ax { fill: var(--muted); font-size: 12px; font-family: var(--font-body); }
.elev__stop { stroke: rgba(230,201,160,.22); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.elev__name { fill: var(--text); font-size: 12px; font-weight: 700; font-family: var(--font-body); }
.elev__dot { fill: var(--bg-3); stroke: var(--sand); stroke-width: 2; vector-effect: non-scaling-stroke; }
.elev__area { fill: url(#elevG); opacity: 0; transition: opacity 1.2s .5s; }
.elev__line { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.elev--drawn .elev__line { animation: drawLine 2.2s var(--ease) forwards; }
.elev--drawn .elev__area { opacity: 1; }
.elev__top circle { fill: var(--accent); }
.elev__top text { fill: var(--sand); font-family: var(--font-head); font-size: 18px; letter-spacing: .05em; }
.elev__cursor line { stroke: var(--sand); stroke-width: 1; vector-effect: non-scaling-stroke; }
.elev__cursor circle { fill: var(--sand); stroke: var(--bg); stroke-width: 2; }
.elev__tip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; padding: 7px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.4); white-space: nowrap; text-align: center; }
.elev__tip b { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 400; color: var(--sand); line-height: 1; }
.elev__tip span { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .elev { padding: 16px 12px 10px; } .elev__stats { grid-template-columns: repeat(2, 1fr); } .elev__name { font-size: 10px; } .elev__ax { font-size: 10px; } .elev__top text { font-size: 14px; } }
@media (max-width: 480px) { .theme-btn { width: 30px; height: 30px; } .theme-btn svg { width: 15px; height: 15px; } }
@media (prefers-reduced-motion: reduce) { .elev__line { stroke-dasharray: none; stroke-dashoffset: 0; } .elev--drawn .elev__line { animation: none; } }

/* ---------- carte dyal tsawer (galerie) ---------- */
.gview { margin: 0 0 18px; }
.gmap { margin-bottom: 10px; }
.gmap__map { height: clamp(380px, 60vh, 620px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); z-index: 0; }
.gpin { position: relative; display: block; width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--accent), var(--sand)); box-shadow: 0 10px 24px rgba(0,0,0,.55); transition: transform .3s var(--ease); cursor: pointer; }
.gpin:hover { transform: scale(1.12); }
.gpin img, .leaflet-container .leaflet-marker-pane .gpin img { width: 58px !important; height: 58px !important; border-radius: 50%; object-fit: cover; display: block; border: 2px solid #0e0d0b; }
.gpin b { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; padding: 0 6px; font-size: 12px; background: #0e0d0b; color: var(--sand); border: 1px solid var(--sand); }

/* ---------- infos pratiques ---------- */
.travel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.travel__card { position: relative; padding: 30px; border-radius: 22px; background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; }
.travel__card .pillar__icon { margin-bottom: 18px; }
.travel__card .pillar__icon svg { width: 26px; height: 26px; }
.travel__n { position: absolute; top: 14px; inset-inline-end: 22px; font-family: var(--font-head); font-size: 64px; line-height: 1; color: rgba(230,201,160,.08); }
.travel__card .h3 { margin: 0 0 10px; }
.travel__txt p { color: var(--muted); margin: 0 0 10px; }
.travel__txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.travel__txt li { position: relative; padding-inline-start: 22px; color: var(--text); font-size: 15px; }
.travel__txt li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.cta-box__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .travel { grid-template-columns: 1fr; } .travel__card { padding: 24px; } }

/* ---------- tsawer katban b "rideau" (wipe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .bike.reveal .bike__img, .post.reveal .post__img, .team__card.reveal img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
  .bike.reveal.in .bike__img, .post.reveal.in .post__img, .team__card.reveal.in img { clip-path: inset(0 0 0 0); }
  .travel__card.reveal { clip-path: inset(0 0 100% 0 round 22px); transition: clip-path 1.1s var(--ease), opacity .8s, transform .8s; }
  .travel__card.reveal.in { clip-path: inset(0 0 0 0 round 22px); }
}
/* boutons magnétiques */
.btn.is-mag { transition: translate .15s linear, background .25s, box-shadow .25s; }

/* ---------- dunes bin l'sections ---------- */
.section--alt { position: relative; }
.section--alt::before { content: ""; position: absolute; inset-inline: 0; top: -28px; height: 30px; background: var(--bg-2); pointer-events: none; z-index: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V22C120 8 240 4 360 12s200 18 330 10 210-20 330-16 210 18 420 8V30z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V22C120 8 240 4 360 12s200 18 330 10 210-20 330-16 210 18 420 8V30z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* =====================================================================
   MODE SABLE (clair) — tokens + sections b tswira kayb9aw k7lin
   ===================================================================== */
html[data-theme="sand"] {
  --bg: #f4ece0; --bg-2: #ebe0cf; --bg-3: #fffaf2; --line: rgba(70, 48, 22, .14);
  --text: #2a1f14; --muted: #6e6152; --sand: #9a5a24; --accent: #c4561f; --accent-2: #d9662c;
  color-scheme: light;
}
html[data-theme="sand"] body { background: var(--bg); color: var(--text); }
html[data-theme="sand"] body::after { opacity: .035; mix-blend-mode: multiply; }
html[data-theme="sand"] .nav.scrolled::before { background: rgba(244, 236, 224, .88); }
html[data-theme="sand"] .nav__links a:hover, html[data-theme="sand"] .nav__links a.active { color: var(--text); }
html[data-theme="sand"] .sched__row:hover { background: rgba(70,48,22,.04); }
html[data-theme="sand"] .tour__tags span, html[data-theme="sand"] .elev__stats span { background: rgba(70,48,22,.05); border-color: var(--line); }
html[data-theme="sand"] .sched__views { background: rgba(70,48,22,.06); }
html[data-theme="sand"] .sched__views button.active { background: var(--text); color: var(--bg); }
html[data-theme="sand"] .travel__n { color: rgba(154,90,36,.12); }
html[data-theme="sand"] .gpin img { border-color: #fffaf2; }
html[data-theme="sand"] .odo__km { background: rgba(255,250,242,.85); }
html[data-theme="sand"] .odo__bike { filter: drop-shadow(0 2px 4px rgba(70,48,22,.35)); }
/* sections fo9 tswira (hero, cartes dyal raids, footer...): kayb9aw b lwan dyal l'lil */
html[data-theme="sand"] :is(.hero, .tp-hero, .tour, .bigcta, .custom, .day, .footer, .modal__hero, .story, .fly, .lightbox, .reelModal),
html[data-theme="sand"] .nav:not(.scrolled) {
  --bg: #0e0d0b; --bg-2: #15130f; --bg-3: #1d1a15; --line: rgba(255,235,205,.10); --text: #f3ede3; --muted: #a89f90; --sand: #e6c9a0; --accent: #d9662c; --accent-2: #f08a4b;
  color: var(--text);
}
html[data-theme="sand"] .tour { background: #1d1a15; }
html[data-theme="sand"] .footer { background: #15130f; }
html[data-theme="sand"] .lang { background: rgba(70,48,22,.06); }
html[data-theme="sand"] .lang button.active { background: var(--text); color: var(--bg); }
html[data-theme="sand"] .nav:not(.scrolled) .lang { background: rgba(0,0,0,.25); }
html[data-theme="sand"] .nav:not(.scrolled) .lang button.active { background: #e6c9a0; color: #1a1408; }

/* ---------- motos: modèle 3D (Sketchfab) ---------- */
.bike__3d { position: absolute; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; background: rgba(14,13,11,.7); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s, transform .25s var(--ease); }
.bike__3d b { display: grid; place-items: center; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--accent); font-family: var(--font-head); font-size: 15px; font-weight: 400; letter-spacing: .05em; }
.bike__3d:hover { background: rgba(217,102,44,.85); transform: translateY(-2px); }
.bike__img--3d .bike__sf { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #111; animation: sfIn .5s var(--ease); }
.bike__img--3d .bike__cc { z-index: 3; }
@keyframes sfIn { from { opacity: 0; } }
.bike__credit { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.bike__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- survol 3D v2: HUD, moto, vignette ---------- */
.fly__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.45) 100%), linear-gradient(180deg, rgba(0,0,0,.45), transparent 18%, transparent 75%, rgba(0,0,0,.55)); }
.fly__stage { bottom: 120px; }
.fly__hud { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 999px; background: rgba(14,13,11,.68); border: 1px solid rgba(255,235,205,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #f3ede3; }
.fly__play { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); position: relative; }
.fly__play::before { content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.fly__play.is-on::before { left: 13px; top: 13px; width: 4px; height: 14px; border: 0; background: #fff; box-shadow: 9px 0 0 #fff; }
.fly__track { position: relative; flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.15); cursor: pointer; }
.fly__track::after { content: ""; position: absolute; inset: -10px 0; }
.fly__track > i { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ffb27a); box-shadow: 0 0 12px rgba(240,138,75,.7); }
#flyTicks span { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; margin-inline-start: -5px; border-radius: 50%; background: #0e0d0b; border: 2px solid #e6c9a0; }

.fly__stats { display: flex; gap: 14px; flex: none; font-size: 12px; color: #a89f90; font-variant-numeric: tabular-nums; }
.fly__stats b { font-family: var(--font-head); font-weight: 400; font-size: 20px; letter-spacing: .04em; color: #f3ede3; }
.fly__speed { flex: none; min-width: 44px; height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #e6c9a0; font-weight: 800; font-size: 13px; }
.fly__bike { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; }
.fly__bike i { position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle, rgba(240,138,75,.9), rgba(240,138,75,0) 70%); animation: bikePulse 1.6s ease-out infinite; }
.fly__bike svg { position: relative; width: 34px; height: 22px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.8)); }
.fly__bike--3d svg { display: none; }
.fly__bike--3d i { inset: 10px; opacity: .6; }
@keyframes bikePulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 640px) { .fly__hud { bottom: 76px; gap: 10px; padding: 8px 10px; } .fly__stats span:last-child { display: none; } .fly__stage { bottom: 150px; } .fly__stage b { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .fly__bike i { animation: none; } }
.fly__bike { width: 70px; height: 52px; place-items: end center; }
.fly__bike i { inset: auto 8px -10px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(240,138,75,.85), rgba(240,138,75,0) 70%); }
.fly__bike svg { width: 58px; height: 36px; color: #fff; filter: drop-shadow(0 0 6px rgba(240,138,75,.9)) drop-shadow(0 3px 6px rgba(0,0,0,.9)); }
.fly__bike.is-left svg { transform: scaleX(-1); }

/* ---------- showroom 360° ---------- */
.sr { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 1fr 380px; background: radial-gradient(1200px 700px at 35% 40%, #2a2118, #0b0a08 70%); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; color: #f3ede3; }
.sr.open { opacity: 1; visibility: visible; }
.sr__stage { position: relative; min-height: 0; }
.sr__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sr__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px rgba(0,0,0,.55); }
.sr__load { position: absolute; inset: 0; display: grid; place-items: center; background: #0b0a08; z-index: 2; }
.sr__load span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(230,201,160,.2); border-top-color: var(--accent); animation: srSpin 1s linear infinite; }
@keyframes srSpin { to { transform: rotate(360deg); } }
.sr__tools { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(14,13,11,.72); border: 1px solid rgba(255,235,205,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sr__tools button { width: 42px; height: 42px; border-radius: 50%; color: #f3ede3; font-size: 16px; transition: background .2s, color .2s; }
.sr__tools button:hover { background: rgba(255,255,255,.1); }
.sr__tools button.is-on { background: var(--accent); color: #fff; }
.sr__tools i { width: 1px; height: 22px; background: rgba(255,255,255,.18); margin: 0 4px; }
.sr__hint { position: absolute; z-index: 3; left: 50%; bottom: 84px; transform: translateX(-50%); margin: 0; font-size: 12px; color: #a89f90; white-space: nowrap; pointer-events: none; }
.sr__side { position: relative; overflow-y: auto; padding: 64px 32px 32px; background: rgba(14,13,11,.88); border-inline-start: 1px solid rgba(255,235,205,.1); display: flex; flex-direction: column; }
.sr__close { position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; color: #a89f90; border: 1px solid rgba(255,235,205,.14); }
.sr__close:hover { color: #fff; border-color: #e6c9a0; }
.sr .kicker { margin: 0 0 6px; }
.sr__name { font-family: var(--font-head); font-weight: 400; font-size: 46px; line-height: .95; letter-spacing: .02em; margin: 0; }
.sr__type { margin: 8px 0 0; color: #e6c9a0; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; }
.sr__cc { margin: 18px 0 0; color: #a89f90; font-size: 14px; }
.sr__cc b { font-family: var(--font-head); font-size: 34px; font-weight: 400; color: #f3ede3; letter-spacing: .03em; }
.sr__desc { color: #d5cdbf; font-size: 15px; margin: 14px 0; }
.sr .bike__specs { margin: 0 0 22px; }
.sr__book { width: 100%; justify-content: center; }
.sr__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 26px; }
.sr__thumbs button { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; border: 2px solid transparent; opacity: .6; transition: opacity .25s, border-color .25s; }
.sr__thumbs button:hover, .sr__thumbs button.is-on { opacity: 1; border-color: var(--accent); }
.sr__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sr__thumbs span { position: absolute; inset: auto 0 0; padding: 14px 6px 4px; font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); text-align: start; }
.sr .bike__credit { color: #a89f90; }
@media (max-width: 900px) {
  .sr { grid-template-columns: 1fr; grid-template-rows: 58vh 1fr; }
  .sr__side { padding: 22px 18px 24px; border: 0; border-top: 1px solid rgba(255,235,205,.1); }
  .sr__close { position: fixed; top: 12px; z-index: 5; background: rgba(14,13,11,.7); }
  .sr__name { font-size: 36px; }
  .sr__tools { bottom: 14px; } .sr__tools button { width: 38px; height: 38px; } .sr__hint { display: none; }
}
.fly__ov { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.fly__ov > * { position: absolute; left: 0; top: 0; will-change: transform; }
.fly__ov .fly__bike--3d { display: none; }

/* =====================================================================
   NEXT: scroll story, marquee kbir, son, météo live, poster, espace
   client, assistant
   ===================================================================== */

/* ---------- scroll story (l'moto 3la l'trace) ---------- */
.ride { position: relative; height: calc(var(--n, 6) * 85vh + 30vh); background: #0b0a08; color: #f3ede3; }
.ride__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.ride__media { position: absolute; inset: 0; }
.ride__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1s var(--ease), transform 6s linear; }
.ride__img.on { opacity: 1; transform: scale(1.02); }
.ride__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,5,.92) 0%, rgba(8,7,5,.7) 38%, rgba(8,7,5,.15) 70%, rgba(8,7,5,.45) 100%), linear-gradient(0deg, rgba(8,7,5,.75), transparent 35%); }
html[dir="rtl"] .ride__shade { background: linear-gradient(270deg, rgba(8,7,5,.92) 0%, rgba(8,7,5,.7) 38%, rgba(8,7,5,.15) 70%, rgba(8,7,5,.45) 100%), linear-gradient(0deg, rgba(8,7,5,.75), transparent 35%); }
.ride__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ride__h { margin-bottom: 26px; }
.ride__chs { display: grid; }
.ride__ch { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; max-width: 520px; }
.ride__ch.on { opacity: 1; transform: none; pointer-events: auto; }
.ride__num { display: flex; align-items: baseline; gap: 14px; margin: 0 0 6px; color: #e6c9a0; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.ride__num b { font-family: var(--font-head); font-weight: 400; font-size: 64px; line-height: .8; letter-spacing: 0; color: transparent; -webkit-text-stroke: 1px rgba(230,201,160,.7); }
.ride__ch h3 { font-family: var(--font-head); font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); line-height: .95; letter-spacing: .02em; margin: 0 0 12px; }
html[dir="rtl"] .ride__ch h3 { font-family: var(--font-ar); font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; }
.ride__ch > p:not(.ride__num) { color: #d5cdbf; font-size: 17px; margin: 0 0 20px; }
.ride__meta { display: flex; gap: 10px; flex-wrap: wrap; }
.ride__meta span { padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,235,205,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ride__meta small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #a89f90; font-weight: 700; }
.ride__meta b { font-family: var(--font-head); font-weight: 400; font-size: 26px; line-height: 1; }
.ride__map { justify-self: end; width: min(100%, 470px); padding: 18px; border-radius: 26px; background: rgba(14,13,11,.55); border: 1px solid rgba(255,235,205,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
html[dir="rtl"] .ride__map { justify-self: start; }
.ride__map svg { display: block; width: 100%; height: auto; overflow: visible; }
.ride__base { fill: none; stroke: rgba(230,201,160,.22); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.ride__line { fill: none; stroke: var(--accent-2); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(240,138,75,.6)); }
.ride__stop circle { fill: #0e0d0b; stroke: rgba(230,201,160,.45); stroke-width: 2; transition: fill .4s, stroke .4s; }
.ride__stop text { fill: #a89f90; font: 700 11px var(--font-body); letter-spacing: .08em; text-transform: uppercase; transition: fill .4s; paint-order: stroke; stroke: rgba(14,13,11,.8); stroke-width: 3px; }
.ride__stop.on circle { fill: var(--accent); stroke: #f3ede3; }
.ride__stop.on text { fill: #f3ede3; }
.ride__bike circle { fill: #f3ede3; stroke: var(--accent); stroke-width: 3; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.ride__bike path { fill: none; stroke: #1a0e05; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ride__prog { position: absolute; z-index: 3; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.ride__prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--sand)); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .ride__prog i { transform-origin: right; }
.ride__hint { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #a89f90; transition: opacity .4s; }
.ride__hint span { display: inline-block; animation: rideHint 1.6s ease-in-out infinite; }
.ride__hint.off { opacity: 0; }
@keyframes rideHint { 50% { transform: translateY(5px); } }
@media (max-width: 860px) {
  .ride { height: calc(var(--n, 6) * 75vh + 30vh); }
  .ride__sticky { align-items: end; }
  .ride__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 70px; }
  .ride__shade { background: linear-gradient(0deg, rgba(8,7,5,.96) 0%, rgba(8,7,5,.75) 45%, rgba(8,7,5,.15) 75%, rgba(8,7,5,.5) 100%) !important; }
  .ride__map { order: -1; justify-self: start !important; width: min(100%, 300px); padding: 8px 10px; border-radius: 16px; margin-bottom: 14px; }
  .ride__text { display: grid; }
  .ride__stop text { display: none; }
  .ride__stop circle { r: 9; }
  .ride__h { font-size: 28px; margin-bottom: 14px; }
  .ride__num b { font-size: 46px; }
  .ride__ch > p:not(.ride__num) { font-size: 15px; }
  .ride__hint { bottom: 14px; }
}
@media (max-width: 860px) and (max-height: 760px) { .ride .kicker, .ride__h { display: none; } }
@media (prefers-reduced-motion: reduce) { .ride__img, .ride__ch { transition: opacity .3s; transform: none !important; } .ride__hint span { animation: none; } }

/* ---------- marquee kbir (m3a l'scroll) ---------- */
.kinetic { overflow: hidden; padding: 46px 0; background: var(--bg); direction: ltr; user-select: none; }
.kinetic__row { overflow: hidden; }
.kinetic__track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; padding-inline: 17px; }
.kinetic__track span { font-family: var(--font-head); font-size: clamp(64px, 11vw, 168px); line-height: .95; letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.kinetic__track span.o { color: transparent; -webkit-text-stroke: 1.5px var(--sand); }
.kinetic__track i { font-style: normal; color: var(--accent); font-size: clamp(24px, 3vw, 44px); }
.kinetic__row + .kinetic__row .kinetic__track span { color: transparent; -webkit-text-stroke: 1.5px rgba(243,237,227,.35); }
.kinetic__row + .kinetic__row .kinetic__track span.o { color: var(--accent); -webkit-text-stroke: 0; }
html[data-theme="sand"] .kinetic__row + .kinetic__row .kinetic__track span { -webkit-text-stroke-color: rgba(42,31,20,.35); }

/* ---------- bouton son ---------- */
.sound-btn { position: relative; }
.sound-btn svg { width: 18px; height: 18px; }
.sound-btn__w { display: none; }
.sound-btn.on { color: var(--accent-2); border-color: var(--accent); }
.sound-btn.on .sound-btn__w { display: inline; }
.sound-btn.on .sound-btn__x { display: none; }
.sound-btn__eq { position: absolute; bottom: -3px; inset-inline-end: -3px; display: none; gap: 1px; align-items: end; height: 10px; padding: 2px; border-radius: 4px; background: var(--accent); }
.sound-btn__eq i { width: 2px; background: #fff; border-radius: 1px; animation: eq .9s ease-in-out infinite; }
.sound-btn__eq i:nth-child(2) { animation-delay: -.3s; } .sound-btn__eq i:nth-child(3) { animation-delay: -.6s; }
.sound-btn.on .sound-btn__eq { display: flex; }
.theme-btn.sound-btn:hover { transform: none; }
@keyframes eq { 0%, 100% { height: 2px; } 50% { height: 6px; } }
@media (max-width: 480px) { .sound-btn { display: none; } }

/* ---------- météo l7a9i9iya ---------- */
.wxl { margin: 0 0 6px; }
.wxl__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.wxl__card { position: relative; overflow: hidden; padding: 16px; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line); }
.wxl__card::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(240,138,75,.22), transparent 70%); pointer-events: none; }
.wxl__card--rain::before, .wxl__card--storm::before, .wxl__card--snow::before { background: radial-gradient(circle, rgba(106,176,243,.22), transparent 70%); }
.wxl__card--cloud::before, .wxl__card--fog::before { background: radial-gradient(circle, rgba(200,200,200,.14), transparent 70%); }
.wxl__card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wxl__card header b { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.wxl__card header span { font-family: var(--font-head); color: var(--muted); font-size: 18px; }
.wxl__now { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; }
.wxl__ic { width: 44px; height: 44px; color: var(--sand); flex: none; }
.wxl__ic svg, .wxl__week svg { width: 100%; height: 100%; display: block; }
.wxl__card--sun .wxl__ic, .wxl__card--part .wxl__ic { color: #f2b84b; }
.wxl__card--rain .wxl__ic, .wxl__card--storm .wxl__ic { color: #6ab0f3; }
.wxl__now b { font-family: var(--font-head); font-weight: 400; font-size: 52px; line-height: .9; }
.wxl__now small { color: var(--muted); font-size: 13px; margin-inline-start: auto; }
.wxl__facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wxl__facts li { padding: 6px 9px; border-radius: 10px; background: rgba(255,255,255,.035); }
html[data-theme="sand"] .wxl__facts li { background: rgba(70,48,22,.05); }
.wxl__facts small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.wxl__facts b { font-size: 14px; }
.wxl__week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; text-align: center; }
.wxl__week span { display: grid; justify-items: center; gap: 3px; }
.wxl__week small { font-size: 10px; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.wxl__week svg { width: 20px; height: 20px; color: var(--sand); }
.wxl__week b { font-size: 12px; }

/* ---------- live: replay 3D ---------- */
.live__replayBox:empty { display: none; }
.live__replayBox { margin: -6px 0 22px; }
.live__replay { position: static; transform: none; }

/* ---------- poster dyal rider ---------- */
.poster { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: start; }
.poster__form { position: sticky; top: 100px; }
.poster__drop { display: grid !important; justify-items: center; gap: 4px; text-align: center; padding: 26px 18px; margin-bottom: 18px; border-radius: 18px; border: 1.5px dashed var(--sand); cursor: pointer; transition: background .25s, border-color .25s; }
.poster__drop:hover { background: rgba(230,201,160,.06); border-color: var(--accent-2); }
.poster__dropIc { width: 40px; height: 40px; color: var(--sand); }
.poster__dropIc .ic, .poster__dropIc svg { width: 100%; height: 100%; }
.poster__drop small { color: var(--muted); font-size: 12px; }
.poster__styles { display: flex; gap: 8px; margin: 6px 0 20px; flex-wrap: wrap; }
.poster__styles button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 13px; transition: all .2s; }
.poster__styles button.on { background: var(--sand); color: #1a0e05; border-color: var(--sand); }
.poster__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.poster__stage { position: relative; perspective: 1400px; }
.poster__stage canvas { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; border-radius: 6px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06); transform: rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.poster__stage:hover canvas { transform: none; }
@media (max-width: 860px) { .poster { grid-template-columns: 1fr; gap: 26px; } .poster__form { position: static; order: 2; } .poster__stage canvas { transform: none; } }

/* ---------- espace client ---------- */
.esp-hero { position: relative; min-height: 78vh; min-height: 78svh; display: grid; align-items: end; overflow: hidden; color: #f3ede3; }
.esp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.esp-hero__in { position: relative; z-index: 2; padding-block: 140px 56px; }
.esp-hero__trip { color: #e6c9a0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 6px 0 26px; }
.esp-cd small { display: block; color: #a89f90; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.esp-cd > div { display: flex; gap: 10px; flex-wrap: wrap; }
.esp-cd span { min-width: 92px; padding: 14px 10px 10px; border-radius: 18px; text-align: center; background: rgba(14,13,11,.55); border: 1px solid rgba(255,235,205,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.esp-cd b { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(44px, 7vw, 76px); line-height: .9; font-variant-numeric: tabular-nums; }
.esp-cd i { font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #e6c9a0; font-weight: 700; }
.esp-cd__msg { font-family: var(--font-head); font-size: clamp(32px, 5vw, 54px); line-height: 1; margin: 0; color: #e6c9a0; }
.esp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; align-items: start; }
.esp__col { display: grid; gap: 22px; }
.esp__card { padding: 24px; border-radius: 22px; background: var(--bg-3); border: 1px solid var(--line); }
.esp__card .h3 { margin: 0 0 14px; }
.esp__sub { margin: 22px 0 4px; font-size: 15px; font-weight: 800; }
.esp__st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; background: rgba(232,184,73,.15); color: var(--warn); }
.esp__st--confirmed { background: rgba(123,196,127,.15); color: var(--ok); }
.esp__st--cancelled { background: rgba(215,92,92,.15); color: var(--bad); }
.esp__pay { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.esp__pay b { font-family: var(--font-head); font-weight: 400; font-size: 30px; }
.esp__bar { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
html[data-theme="sand"] .esp__bar { background: rgba(70,48,22,.08); }
.esp__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--sand)); }
.esp__btn { width: 100%; justify-content: center; margin-top: 12px; }
.esp__ok { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; margin: 12px 0 0; }
.esp__ok .ic { width: 20px; height: 20px; }
.esp__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.esp__doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.esp__doc > div { flex: 1; min-width: 0; }
.esp__doc b { display: block; font-size: 15px; }
.esp__doc small { color: var(--muted); font-size: 12px; }
.esp__doc .btn { flex: none; }
.esp__doc label.busy { opacity: .5; pointer-events: none; }
.esp__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); flex: none; display: grid; place-items: center; }
.esp__doc.ok .esp__dot { border-color: var(--ok); background: var(--ok); }
.esp__doc.ok .esp__dot::after { content: ""; width: 9px; height: 5px; border: 2px solid #0e0d0b; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.esp__msg { margin: 10px 0 0; font-size: 14px; color: var(--sand); }
.esp__msg.bad { color: var(--bad); }
.esp__links { display: grid; gap: 4px; }
.esp__links a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-weight: 700; transition: background .2s, color .2s; }
.esp__links a:hover { background: rgba(230,201,160,.08); color: var(--sand); }
.esp__links .ic { width: 20px; height: 20px; color: var(--sand); flex: none; }
.esp__checkhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.esp__checkhead b { font-family: var(--font-head); font-weight: 400; font-size: 24px; color: var(--sand); }
.esp__check h4 { margin: 16px 0 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.esp__check label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15px; }
.esp__check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.esp__check input:checked + span { color: var(--muted); text-decoration: line-through; }
@media (max-width: 860px) { .esp { grid-template-columns: 1fr; } .esp-cd span { min-width: 0; flex: 1; padding-inline: 4px; } .esp__card { padding: 18px; } .esp__doc { flex-wrap: wrap; } }

/* ---------- assistant ---------- */
.ask { position: fixed; z-index: 95; bottom: 90px; inset-inline-end: 24px; display: grid; justify-items: end; gap: 10px; }
body.has-tpbar .ask { bottom: 154px; }
.ask__fab { display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--bg-3); color: var(--text); border: 1px solid var(--line); font-weight: 700; font-size: 14px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.6); transition: transform .3s var(--ease), border-color .25s; }
.ask__fab:hover { transform: translateY(-2px); border-color: var(--sand); }
.ask__fabIc { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.ask__fabIc svg { width: 18px; height: 18px; }
.ask.open .ask__fab b { display: none; }
.ask.open .ask__fab { padding: 10px; }
.ask__panel { width: min(370px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 200px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,.75); animation: up .35s var(--ease); order: -1; }
.ask__panel[hidden] { display: none; }
.ask__panel header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(120deg, var(--accent), #a8441a); color: #fff; }
.ask__x { color: #fff; font-size: 26px; line-height: 1; width: 32px; height: 32px; }
.ask__log { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; overscroll-behavior: contain; }
.ask__m { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.ask__m p { margin: 0 0 8px; } .ask__m p:last-child { margin: 0; }
.ask__m ul { margin: 4px 0 10px; padding-inline-start: 18px; }
.ask__m a:not(.btn):not(.ask__tour) { color: var(--sand); font-weight: 700; }
.ask__m--bot { background: var(--bg-3); border: 1px solid var(--line); border-end-start-radius: 4px; }
.ask__m--me { justify-self: end; background: var(--accent); color: #fff; border-end-end-radius: 4px; }
.ask__q { font-weight: 800; }
.ask__tour { display: flex; gap: 10px; align-items: center; padding: 6px; margin-top: 6px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .2s; }
.ask__tour:hover { border-color: var(--sand); }
.ask__tour img { width: 54px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.ask__tour b { display: block; font-size: 13px; } .ask__tour small { color: var(--muted); font-size: 12px; }
.ask__wa { font-size: 13px; }
.ask__typing { display: flex; gap: 4px; padding: 14px; }
.ask__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: askDot 1s infinite; }
.ask__typing i:nth-child(2) { animation-delay: .15s; } .ask__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes askDot { 50% { opacity: .2; transform: translateY(-3px); } }
.ask__sug { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.ask__sug[hidden] { display: none; }
.ask__sug button { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--sand); transition: background .2s; }
.ask__sug button:hover { background: rgba(230,201,160,.1); }
.ask__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.ask__form input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 14px; }
.ask__form input:focus { outline: none; border-color: var(--sand); }
@media (max-width: 600px) { .ask { bottom: 80px; inset-inline-end: 14px; } .ask__fab b { display: none; } .ask__fab { padding: 9px; } .ask__panel { max-height: calc(100vh - 170px); } }

/* =====================================================================
   PLAY: hero en direct, rmel kayttar, atar dyal pneu, compte-tours,
   places b motos, mini-jeu
   ===================================================================== */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* sarab: nskha mn tswira, ghir l'te7t (l'ofo9), kattmouj */
.hero__mirage { z-index: 0; filter: url(#mirage) !important; -webkit-mask-image: linear-gradient(to top, #000 0%, #000 22%, transparent 52%); mask-image: linear-gradient(to top, #000 0%, #000 22%, transparent 52%); pointer-events: none; }
body.graded .hero__mirage { filter: url(#mirage) sepia(.14) saturate(.88) contrast(1.07) brightness(.97) !important; }
.hero__mirage[hidden] { display: none; }
.hero-live { width: fit-content; max-width: 100%; align-self: flex-start; justify-self: start; display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #f3ede3; background: rgba(14,13,11,.45); border: 1px solid rgba(255,235,205,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .8s var(--ease); }
.hero-live[hidden] { display: none; }
.hero-live > span:first-of-type { text-transform: uppercase; letter-spacing: .18em; font-size: 10.5px; color: #e6c9a0; }
.hero-live > b { font-family: var(--font-head); font-weight: 400; font-size: 20px; line-height: 1; letter-spacing: .02em; }
.hero-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a3c; box-shadow: 0 0 0 0 rgba(255,90,60,.6); animation: livePulse 1.8s infinite; }
.hero-live__w { display: inline-flex; align-items: center; gap: 5px; color: #d5cdbf; font-weight: 600; }
.hero-live__w svg { width: 14px; height: 14px; color: #e6c9a0; }

/* calques dyal l'effets (fo9 kolchi, ma kayched walo) */
.fx-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1200; }
.fx-layer--tracks { z-index: 60; }

/* ---------- compte-tours "démarrer le moteur" ---------- */
.rev { display: grid; justify-items: center; gap: 10px; margin: 6px 0 26px; --shake: 0; }
.rev[hidden] { display: none; }
.rev__btn { width: 150px; height: 150px; border-radius: 50%; padding: 0; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform .2s; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.rev__btn:focus-visible { outline: 2px solid var(--sand); outline-offset: 6px; }
.rev__btn svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rev__face { fill: rgba(14,13,11,.82); stroke: rgba(255,235,205,.25); stroke-width: 1.5; }
.rev__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 5; stroke-linecap: round; }
.rev__arc { fill: none; stroke: var(--accent-2); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(240,138,75,.7)); }
.rev line { stroke: rgba(243,237,227,.7); stroke-width: 1.6; stroke-linecap: round; }
.rev line.red, .rev text.red { stroke: #ff5a3c; fill: #ff5a3c; }
.rev text { fill: #f3ede3; font: 400 10px var(--font-head); text-anchor: middle; }
.rev text.rev__unit { font: 700 5.5px var(--font-body); letter-spacing: .12em; fill: #a89f90; }
.rev__needle { transform-origin: 60px 60px; transform: rotate(-135deg); }
.rev__needle line { stroke: #ff5a3c; stroke-width: 2.6; }
.rev__needle circle { fill: #f3ede3; stroke: #0e0d0b; stroke-width: 2; }
.rev__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #e6c9a0; text-align: center; }
.rev.is-red .rev__arc { stroke: #ff5a3c; }
.rev.is-red .rev__label { color: #ff5a3c; }
.rev:not(.is-go) .rev__btn { animation: revShake .06s linear infinite; }
.rev.is-go .rev__btn { transform: scale(1.08); }
@keyframes revShake { 0% { transform: translate(calc(var(--shake) * 1.5px), 0); } 50% { transform: translate(calc(var(--shake) * -1.5px), calc(var(--shake) * 1px)); } 100% { transform: translate(0, calc(var(--shake) * -1px)); } }
@media (prefers-reduced-motion: reduce) { .rev:not(.is-go) .rev__btn { animation: none; } }

/* ---------- places = motos ---------- */

.seatbikes { display: flex; flex-wrap: wrap; gap: 2px; max-width: 150px; margin-top: 5px; }
.seatbikes i { width: 18px; height: 12px; color: var(--muted); opacity: .55; }
.seatbikes i.on { color: var(--accent-2); opacity: 1; }
.seatbikes svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seatbikes i.on svg circle { fill: currentColor; fill-opacity: .25; }

/* ---------- mini-jeu ---------- */
.tp-game { margin: -4px 0 26px; }
.tp-game svg { width: 14px; height: 14px; }
.game { position: fixed; inset: 0; z-index: 1100; display: none; background: #0e0d0b; touch-action: none; -webkit-user-select: none; user-select: none; }
.game.open { display: block; }
.game canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.game__hud { position: absolute; top: 16px; inset-inline-start: 16px; display: flex; gap: 10px; flex-wrap: wrap; pointer-events: none; }
.game__hud > div { padding: 8px 14px; border-radius: 14px; background: rgba(14,13,11,.72); color: #f3ede3; border: 1px solid rgba(255,235,205,.15); min-width: 92px; }
.game__hud small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #e6c9a0; font-weight: 800; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.game__hud b { font-family: var(--font-head); font-weight: 400; font-size: 30px; line-height: 1; }
.game__hud span { font-size: 12px; color: #a89f90; margin-inline-start: 4px; }
.game__x { position: absolute; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; color: #f3ede3; background: rgba(14,13,11,.72); border: 1px solid rgba(255,235,205,.2); z-index: 2; }
.game__panel { position: absolute; inset: 0; margin: auto; width: min(520px, calc(100% - 32px)); height: fit-content; padding: 28px; border-radius: 24px; text-align: center; color: #f3ede3; background: rgba(14,13,11,.86); border: 1px solid rgba(255,235,205,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: up .4s var(--ease); }
.game__panel[hidden] { display: none; }
.game__panel .h2 { margin: 4px 0 10px; }
.game__panel p { color: #d5cdbf; }
.game__help { font-size: 14px; color: #a89f90 !important; }
.game__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 600px) { .game__hud { top: 70px; inset-inline: 12px; } .game__hud > div { min-width: 0; flex: 1; padding: 6px 10px; } .game__hud b { font-size: 22px; } }

/* =====================================================================
   POLISH: accueil a9sar, onglets, raids 3 f sṭer, carrousels, badge
   Google k7el, menu d'aide, barre téléphone, espaces mtsawyin
   ===================================================================== */
/* ---------- espaces mtsawyin ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- onglets ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 22px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); }
.tabs[hidden] { display: none; }
.tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .25s, color .25s; }
.tabs button:hover { color: var(--text); }
.tabs button.active { background: var(--sand); color: #1a0e05; }
.tabs button[hidden] { display: none; }
.tabs__pane:not(.is-on), .tabs__pane[hidden] { display: none; }
.tabs__pane.is-on { animation: fade .4s var(--ease); }
.choose { margin-top: clamp(40px, 6vw, 70px); }
.choose[hidden] { display: none; }
html[data-theme="sand"] .tabs button.active { background: var(--text); color: var(--bg); }

/* ---------- raids: 3 f nfs sṭer (PC) ---------- */
@media (min-width: 1100px) {
  .tours { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tours .tour__body { padding: 24px; }
  .tours .tour__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; }
  .tours .tour h3, .tours .tour__title { font-size: clamp(30px, 2.6vw, 40px); }
}
.tours { align-items: stretch; }
.tours > * { height: 100%; }

/* ---------- scroll story + journée type: a9sar ---------- */
.ride { height: calc(var(--n, 6) * 62vh + 30vh); }
@media (max-width: 860px) { .ride { height: calc(var(--n, 6) * 58vh + 30vh); } }
.day__card { flex-basis: min(36vw, 460px); height: min(56vh, 500px); }
@media (max-width: 760px) { .day__card { flex-basis: 80vw; height: 62vh; } }

/* ---------- équipe + blog: sghar ---------- */
.team { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.team__card { aspect-ratio: 3/4; }
.post__img, .post img { aspect-ratio: 16/9; }
@media (max-width: 760px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- badge Google: k7el (nfs design) ---------- */
.greviews { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.greviews__count { color: var(--muted); }
.greviews .btn--dark { background: transparent; color: var(--text); border: 1px solid var(--line); }
.greviews .btn--dark:hover { border-color: var(--sand); color: var(--sand); }

/* ---------- carrousel (avis + vidéos) ---------- */
.rail { display: flex !important; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
#testi.rail > .testi__card { flex: 0 0 calc((100% - 36px) / 3); }
.vrev__row.rail > .vrev__card { flex: 0 0 calc((100% - 72px) / 5); min-width: 180px; }
.rail__nav { display: flex; justify-content: flex-end; gap: 8px; margin: 14px 0 6px; }
.rail__nav[hidden] { display: none; }
.rail__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-size: 26px; line-height: 1; transition: border-color .2s, color .2s, opacity .2s; }
.rail__btn:hover:not(:disabled) { border-color: var(--sand); color: var(--sand); }
.rail__btn:disabled { opacity: .3; cursor: default; }
html[dir="rtl"] .rail__btn { transform: scaleX(-1); }
@media (max-width: 1000px) { #testi.rail > .testi__card { flex-basis: calc((100% - 18px) / 2); } .vrev__row.rail > .vrev__card { flex-basis: calc((100% - 36px) / 3); } }
@media (max-width: 640px) { #testi.rail > .testi__card { flex-basis: 86%; } .vrev__row.rail > .vrev__card { flex-basis: 46%; min-width: 0; } }

/* ---------- compteur km: sghir w lsi9 b l'bike ---------- */
.odo__km { top: 6px; inset-inline-end: auto; inset-inline-start: clamp(14px, calc(var(--p, 0) * 100% + 18px), calc(100% - 130px)); font-size: 11px; padding: 1px 7px; background: rgba(14,13,11,.6); border: 0; }

/* ---------- menu d'aide (bouton wa7d: assistant + WhatsApp) ---------- */
body:has(#ask) .wa { display: none; }
.ask__menu { display: grid; gap: 6px; width: 270px; padding: 8px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); animation: up .3s var(--ease); order: -1; }
.ask__menu[hidden] { display: none; }
.ask__menu > * { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-align: start; color: var(--text); transition: background .2s; width: 100%; }
.ask__menu > *:hover { background: rgba(255,255,255,.06); }
.ask__menu b { display: block; font-size: 14px; } .ask__menu small { color: var(--muted); font-size: 12px; }
.ask__mi { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; font-style: normal; }
.ask__mi svg { width: 19px; height: 19px; }
.ask__mi--wa { background: #25d366; }
.ask { bottom: 24px; }
.ask.menu .ask__fab b { display: inline; }
html[data-theme="sand"] .ask__menu > *:hover { background: rgba(70,48,22,.06); }

/* ---------- barre téléphone ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  body.has-mbar:not(.has-tpbar) .mbar { position: fixed; z-index: 96; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr) 1.35fr; align-items: center; gap: 2px; padding: 6px; border-radius: 22px; background: rgba(21,19,15,.92); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); }
  .mbar > a, .mbar > button { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 14px; color: var(--muted); font-size: 10.5px; font-weight: 700; }
  .mbar svg { width: 21px; height: 21px; }
  .mbar > a:active, .mbar > button:active { background: rgba(255,255,255,.06); color: var(--text); }
  .mbar .mbar__book { align-self: stretch; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 13px; border-radius: 16px; }
  html[data-theme="sand"] .mbar { background: rgba(255,250,242,.94); }
  body.has-mbar:not(.has-tpbar) { padding-bottom: 84px; }
  body.has-mbar:not(.has-tpbar) .ask__fab, body.has-mbar:not(.has-tpbar) .wa { display: none !important; }
  body.has-mbar:not(.has-tpbar) .ask { bottom: 92px; inset-inline-end: 12px; }
  body.has-mbar:not(.has-tpbar) .ask__panel { max-height: calc(100vh - 190px); }
}

/* polish 2: carte f l'onglets, cartes dyal raids, compteur, story */
.routes-pane .routes__hint { margin: 0 0 14px; color: var(--muted); }
@media (min-width: 1100px) {
  .tours .tour { min-height: 560px; }
  .tours .tour__top { gap: 6px; flex-wrap: wrap; }
  .tours .badge { font-size: 11px; padding: 6px 10px; }
  .tours .tour__sub { font-size: 11px; letter-spacing: .2em; }
}
.odo__km { top: -8px; }
.ride { height: calc(var(--n, 6) * 52vh + 30vh); }
@media (max-width: 860px) { .ride { height: calc(var(--n, 6) * 52vh + 30vh); } }
.day__track.rail { padding-bottom: 10px; }
.day:not(.day--pin) .day__pin { padding-block: clamp(64px, 8vw, 104px) 20px; }
.day .rail__nav { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.day:not(.day--pin) .day__progress { display: none; }

/* =====================================================================
   DESIGN PASS (nfs l'identité): menu fo9 tsawer fat7in, khatt dyal piste
   f 3anawin, boutons b l9, cartes katche3el, galerie bento, cadeau, FAQ
   2 colonnes, page raid, téléphone b carrousels
   ===================================================================== */
/* skip link: mkhbi mzyan 7ta l'focus */
.skip { top: 0; transform: translateY(-160%); }
.skip:focus { top: 12px; transform: none; }

/* menu: dégradé k7el fo9 l'hero bach l'liens ybano 3la ay tswira */
.nav::after { content: ""; position: absolute; inset: 0 0 -40px; z-index: -3; pointer-events: none; background: linear-gradient(180deg, rgba(8,7,5,.62), rgba(8,7,5,.28) 60%, transparent); transition: opacity .35s; }
.nav.scrolled::after { opacity: 0; }
html[data-theme="sand"] .nav:not(.scrolled)::after { background: linear-gradient(180deg, rgba(8,7,5,.55), transparent); }

/* ---------- 3anawin: khatt dyal piste kayrssem m3a l'kicker ---------- */
.section__head .kicker { display: inline-flex; align-items: center; gap: 12px; }
.section__head .kicker::before { content: ""; width: 0; height: 2px; flex: none; background: repeating-linear-gradient(90deg, var(--accent) 0 7px, transparent 7px 11px); transition: width 1s var(--ease) .15s; }
.section__head.in .kicker::before, .section__head:not(.reveal) .kicker::before { width: 36px; }
.section__head--center .kicker::after { content: ""; width: 0; height: 2px; flex: none; background: repeating-linear-gradient(90deg, var(--accent) 0 7px, transparent 7px 11px); transition: width 1s var(--ease) .15s; }
.section__head--center.in .kicker::after { width: 36px; }

/* ---------- boutons: l9 kaydouz + flèche ---------- */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-18deg); transition: left .7s var(--ease); pointer-events: none; }
.btn--primary:hover::after { left: 120%; }
.btn:active { transform: translateY(0) scale(.97); }
.form__actions { align-items: center; }
.form__actions .btn { padding: 15px 28px; }

/* ---------- cartes katche3el 7da s-souris (PC) ---------- */
.glow { position: relative; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(240,138,75,.85), rgba(230,201,160,.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s; }
.glow:hover::after { opacity: 1; }
.glow.bike:hover, .glow.post:hover, .glow.safe:hover { transform: translateY(-5px); }

/* ---------- galerie: bento mrtba (PC) ---------- */
@media (min-width: 900px) {
  .gallery.masonry { display: grid; columns: auto; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px; }
  .gallery.masonry .gallery__item { margin: 0; height: 100%; }
  .gallery.masonry .gallery__item img { height: 100%; min-height: 0; }
  .gallery.masonry .gallery__item:nth-child(8n+1), .gallery.masonry .gallery__item:nth-child(8n+8) { grid-area: auto / span 2 !important; }
  .gallery.masonry .gallery__item:nth-child(8n+2), .gallery.masonry .gallery__item:nth-child(8n+4) { grid-area: span 2 / auto !important; }
}
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,7,.55), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.gallery__item:hover::after { opacity: 1; }

/* ---------- équipe + reels: ma yb9awch f jiha ---------- */
.team { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.reels { justify-content: safe center; }

/* ---------- bon cadeau: icône SVG + l9 ---------- */
.gift { position: relative; overflow: hidden; border-style: solid; border-color: rgba(230,201,160,.22); background: radial-gradient(600px 200px at 0% 50%, rgba(217,102,44,.16), transparent 70%), var(--bg-3); }
.gift::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ga, 0deg), transparent 0 70%, rgba(240,138,75,.9) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: giftSpin 6s linear infinite; pointer-events: none; }
@property --ga { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes giftSpin { to { --ga: 360deg; } }
.gift__icon { width: 92px; height: 92px; flex: none; display: grid; place-items: center; border-radius: 26px; color: #fff; background: linear-gradient(140deg, var(--accent-2), var(--accent)); box-shadow: 0 20px 40px -18px rgba(217,102,44,.9); font-size: 0; transform: rotate(-6deg); transition: transform .5s var(--ease); }
.gift__icon svg { width: 50px; height: 50px; }
.gift:hover .gift__icon { transform: rotate(4deg) scale(1.06); }

/* ---------- motos: crédit sghir ---------- */
.bike__credit { font-size: 10.5px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bike__credit a { text-decoration: none; }
.bike__credit a:hover { text-decoration: underline; }

/* ---------- FAQ: 2 colonnes + bloc d'aide ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-help { margin-top: 8px; padding: 22px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); }
.faq-help p { margin: 0 0 14px; font-weight: 700; }
.faq-help div { display: flex; gap: 10px; flex-wrap: wrap; }
.faq__item { transition: border-color .3s; }
.faq__item.open { border-color: rgba(230,201,160,.3); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- page raid: carte dyal prix mnddma ---------- */
.tp-card__btn { padding: 13px 18px; font-size: 14px; }
.tp-card .btn--wa { background: transparent; color: #3ddc84; border-color: rgba(37,211,102,.45); box-shadow: none; }
.tp-card .btn--wa:hover { background: rgba(37,211,102,.1); }
.tp-card .btn--ghost { color: var(--text); border-color: var(--line); }
.tp-card .btn--ghost:hover { border-color: var(--sand); }

/* ---------- téléphone: sections twal → carrousels b swipe ---------- */
@media (max-width: 760px) {
  .pillars, .safety, .bikes, .posts, .team { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px; }
  :is(.pillars, .safety, .bikes, .posts, .team)::-webkit-scrollbar { display: none; }
  .pillars > *, .safety > *, .posts > * { flex: 0 0 82%; scroll-snap-align: start; }
  .bikes > * { flex: 0 0 86%; scroll-snap-align: start; }
  .team > * { flex: 0 0 62%; scroll-snap-align: start; }
  .tours .tour__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tour__top { gap: 6px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .gift::before { animation: none; } .btn--primary::after { display: none; } }
@media (max-width: 900px) { .faq-side { display: contents; } .faq-help { order: 3; margin-top: 4px; } }

/* assistant: 2 boutons f jwab */
.ask__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ask__m ul { margin: 6px 0; padding-inline-start: 18px; }
.ask__m li { margin: 3px 0; }

/* signature dyal l'développeur */
.footer__dev { white-space: nowrap; }
.footer__dev a { color: var(--sand); font-weight: 700; text-decoration: none; transition: color .25s; }
.footer__dev a:hover { color: var(--accent-2); text-decoration: underline; }
