/* ==========================================================================
   MAROC EN SAC À DOS — styles.css
   Direction artistique : éditorial marocain contemporain · exploration · jeu
   Mobile-first. Les ajustements de mise en page sont dans responsive.css
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Palette */
  --ink-900: #041F2A;
  --ink-800: #06303F;
  --ink-700: #0A3D4D;
  --ink-600: #114B5C;
  --atlas: #006898;
  --orange: #F89428;
  --orange-600: #E07F16;
  --terra: #D06818;
  --terra-700: #A8540C;
  --red: #D02818;
  --ivory: #FBF6EC;
  --paper: #F6EEDF;
  --ivory-100: #F5EEDF;
  --sand: #EDE1C8;
  --sand-300: #E2D2B2;
  --palm: #307828;

  --text: #0A2530;
  --text-body: #274550;
  --text-muted: #51666D;
  --on-dark: #FBF7EE;
  --on-dark-muted: rgba(251, 247, 238, .72);

  /* Typographie */
  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
  --fs-h3: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
  --fs-h2: clamp(2.15rem, 1.4rem + 3.1vw, 4.25rem);
  --fs-hero: clamp(2.85rem, 1.2rem + 6.4vw, 6.4rem);

  /* Rayons */
  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;
  --r-btn: 12px;

  /* Espacements */
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 7rem + 4vw, 176px);
  --container: 1320px;
  --header-h: 84px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(4, 31, 42, .06), 0 4px 14px rgba(4, 31, 42, .06);
  --shadow-md: 0 2px 6px rgba(4, 31, 42, .06), 0 18px 40px -12px rgba(4, 31, 42, .22);
  --shadow-lg: 0 40px 80px -30px rgba(4, 31, 42, .45);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* grain papier (très léger) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); font-weight: 750; letter-spacing: -.025em; line-height: 1.05; }
input { font: inherit; }
em { font-style: normal; }

::selection { background: var(--orange); color: var(--ink-900); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; border-radius: var(--r-btn);
  background: var(--ink-800); color: var(--ivory); font-weight: 700;
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }

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

.section { padding-block: var(--section-y); position: relative; }

/* États d'animation : masqués seulement si JS actif, révélés par GSAP */
.js:not(.anim-fallback) [data-reveal],
.js:not(.anim-fallback) [data-hero] { opacity: 0; }
.js:not(.anim-fallback) [data-split],
.js:not(.anim-fallback) [data-split-scroll] { visibility: hidden; }
.anim-fallback [data-split], .anim-fallback [data-split-scroll] { visibility: visible; }
.js:not(.anim-fallback) .hero__visual { visibility: hidden; }

/* -------------------------------------------------------------------------
   3. Typographie éditoriale
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra-700);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px;
}
.eyebrow--light { color: var(--orange); }
.eyebrow[data-chapter]::before {
  content: attr(data-chapter); width: auto; height: auto; background: none; border-radius: 0;
  font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.9em; letter-spacing: 0; line-height: .8;
  padding-right: 12px; margin-right: 2px; border-right: 1.5px solid currentColor;
}
.eyebrow__dot { display: none; }

.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.035em; max-width: 18ch; text-wrap: balance; }
.h2--light { color: var(--on-dark); }
.hl-text, .hl { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.hl-text { color: var(--terra); font-size: 1.08em; line-height: .9; }
.h2--light .hl-text, .final-cta .hl-text { color: var(--orange); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text); font-weight: 500; text-wrap: pretty; }

.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lead { margin-top: 20px; max-width: 56ch; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .h2 { max-width: 22ch; }
.section-head--split { display: grid; gap: 24px; align-items: end; }
.section-head__aside { max-width: 40ch; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.5; }

/* SplitText : masques de mots */
.split-mask { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* -------------------------------------------------------------------------
   4. Boutons
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ivory); --btn-fg: var(--ink-800); --btn-bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-btn); border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: var(--fs-sm); letter-spacing: .01em; line-height: 1.2;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn::after { /* reflet au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn__icon { transition: transform .35s var(--ease-out); flex: none; }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn--primary { --btn-bg: var(--orange); --btn-fg: var(--ink-900); box-shadow: 0 10px 24px -10px rgba(224, 127, 22, .8); }
.btn--primary:hover { --btn-bg: #FFA23E; box-shadow: 0 16px 30px -10px rgba(224, 127, 22, .9); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-800); --btn-bd: rgba(6, 48, 63, .22); }
.btn--ghost:hover { --btn-bd: var(--ink-800); --btn-bg: rgba(6, 48, 63, .04); }
.btn--ghost:hover .btn__icon { transform: translateY(3px); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink-800); --btn-bd: var(--ink-800); }
.btn--outline:hover { --btn-bg: var(--ink-800); --btn-fg: var(--ivory); }
.btn--dark { --btn-bg: var(--ink-800); --btn-fg: var(--ivory); }
.btn--dark:hover { --btn-bg: var(--ink-600); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--ink-800); }
.btn--light:hover { --btn-bg: var(--orange); --btn-fg: var(--ink-900); }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.btn--lg { min-height: 56px; padding: 16px 26px; font-size: 1rem; }
.btn--xl { min-height: 64px; padding: 18px 34px; font-size: 1.0625rem; border-radius: 14px; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------------------
   5. Header
   ------------------------------------------------------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--red)); transform-origin: 0 50%; transform: scaleX(0); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: height .4s var(--ease-out), background-color .4s, box-shadow .4s, transform .45s var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 247, 238, .82);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  opacity: 0; transition: opacity .4s;
  border-bottom: 1px solid rgba(6, 48, 63, .08);
}
.site-header.is-scrolled { height: 68px; box-shadow: 0 10px 30px -20px rgba(4, 31, 42, .35); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 78px; width: auto; transition: height .4s var(--ease-out), transform .6s var(--ease-spring); filter: drop-shadow(0 4px 8px rgba(4, 31, 42, .12)); }
.site-header.is-scrolled .brand__logo { height: 58px; }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.04); }
.brand__mark { width: 44px; height: 44px; transition: transform .6s var(--ease-spring); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1;
  color: var(--ink-800); text-transform: uppercase; letter-spacing: .04em;
}
.brand__text strong { font-weight: 800; color: var(--terra); }

.nav { display: none; position: relative; margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative; z-index: 1; display: block;
  padding: 10px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 700; color: var(--ink-700);
  transition: color .25s;
}
.nav__link:hover { color: var(--terra-700); }
.nav__link.is-active { color: var(--ink-900); }
.nav__indicator {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; z-index: 0;
  border-radius: 999px; background: rgba(248, 148, 40, .2);
  opacity: 0; pointer-events: none;
}
.site-header__cta { display: none; margin-left: 8px; }

/* Burger animé */
.burger {
  margin-left: auto; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-content: center; gap: 5px;
  background: var(--ink-800); position: relative; z-index: 110;
  transition: background-color .3s;
}
.burger__line { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ivory); transition: transform .45s var(--ease-out), opacity .3s, width .35s var(--ease-out); }
.burger__line:nth-child(2) { width: 14px; margin-left: 6px; }
.burger:hover .burger__line:nth-child(2) { width: 20px; margin-left: 0; }
.burger[aria-expanded="true"] { background: var(--orange); }
.burger[aria-expanded="true"] .burger__line { background: var(--ink-900); }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--ink-800); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 42px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu__bg { position: absolute; inset: 0; pointer-events: none; }
.mobile-menu__bg svg { width: 100%; height: 100%; }
.mobile-menu__list { position: relative; display: grid; gap: 4px; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 8px 0;
  font-family: var(--font-display); font-weight: 750; letter-spacing: -.03em;
  font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.05; color: var(--ivory);
  border-bottom: 1px solid rgba(251, 247, 238, .1);
}
.mobile-menu__list a:hover, .mobile-menu__list a:focus-visible { color: var(--orange); }
.mobile-menu__num { font-family: var(--font-body); font-size: .8rem; font-weight: 800; color: var(--orange); letter-spacing: .1em; }
.mobile-menu__foot { position: relative; display: grid; gap: 16px; margin-top: 32px; }
.mobile-menu__contact { display: inline-flex; align-items: center; gap: 10px; justify-content: center; color: var(--on-dark-muted); font-weight: 700; }

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: clip;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px));
  padding-bottom: clamp(56px, 6vw, 96px);
  background:
    radial-gradient(60% 50% at 88% 30%, rgba(248, 148, 40, .14), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(0, 104, 152, .07), transparent 70%),
    var(--paper);
}
.hero__decor { position: absolute; inset: 0; color: var(--sand-300); opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); }
.hero__pattern { width: 100%; height: 100%; }

.hero__inner { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }

.hero__eyebrow { padding: 8px 14px 8px 12px; background: rgba(208, 104, 24, .1); border-radius: 999px; }
.hero__eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(208, 40, 24, .18); animation: blink 2.4s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(208, 40, 24, 0); } }

.hero__title {
  font-size: var(--fs-hero); line-height: .96; letter-spacing: -.038em; font-weight: 800;
  color: var(--ink-800);
  font-variation-settings: "opsz" 96;
}
.hero__line { display: block; }
.hl { position: relative; color: var(--terra); white-space: nowrap; display: inline-block; font-size: 1.1em; line-height: .9; padding-right: .06em; }
.hl__scribble { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .22em; color: var(--orange); overflow: visible; }

.hero__lead { margin-top: 28px; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-body); font-weight: 500; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-700); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { color: var(--terra); }

/* Composition : photo en arche */
.hero__visual { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 560 / 640; }
.hero-arch {
  position: absolute; inset: 0 4% 6% 16%; margin: 0;
  border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand);
  outline: 10px solid var(--ivory); outline-offset: -1px;
}
.hero-arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 31, 42, .45)); pointer-events: none; }
.hero-arch__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-arch__tag {
  position: absolute; left: 0; right: 0; margin-inline: auto; width: max-content; top: 11%; z-index: 1; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px;
  background: rgba(251, 246, 236, .92); color: var(--ink-800);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.hero-arch__tag svg { color: var(--red); }
.hero-stamp { position: absolute; top: -2%; right: -3%; z-index: 5; width: 24%; filter: drop-shadow(0 16px 24px rgba(4, 31, 42, .3)); }
.hero-stamp__ring { transform-origin: 100px 100px; animation: spin 26s linear infinite; }

.hero-phone { position: absolute; left: 0; bottom: 0; z-index: 3; filter: drop-shadow(0 30px 40px rgba(4, 31, 42, .35)); }
.hero-bag { position: absolute; right: -3%; bottom: -2%; width: 27%; z-index: 4; filter: drop-shadow(0 24px 24px rgba(4, 31, 42, .28)); }

.float-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--ivory); color: var(--ink-800);
  font-size: clamp(.7rem, .6rem + .3vw, .875rem); font-weight: 800; white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.float-chip--points { top: 26%; left: 4%; background: var(--ink-800); color: var(--orange); }
.float-chip--riddle { top: 48%; right: -4%; }
.float-chip__check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--palm); color: #fff; }
.float-chip--badge { top: 72%; left: 38%; display: none; }

/* Plan stylisé de la médina (section L'aventure) */
.medina-map { position: absolute; overflow: hidden; border-radius: var(--r-xl); background: var(--sand); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(6, 48, 63, .06); }
.medina-map__svg { width: 100%; height: 100%; }
.map-pin__pulse { transform-box: fill-box; transform-origin: center; animation: pinPulse 2.6s var(--ease-out) infinite; }
@keyframes pinPulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }
.map-label {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -190%);
  padding: 4px 9px; border-radius: 8px;
  background: var(--ivory); color: var(--ink-800);
  font-size: clamp(.6rem, .5rem + .3vw, .76rem); font-weight: 800; letter-spacing: .02em;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.map-label--main { background: var(--ink-800); color: var(--ivory); }
.map-coords { position: absolute; left: 50%; transform: translateX(-50%); top: 12px; white-space: nowrap; font-size: .62rem; font-weight: 800; letter-spacing: .12em; color: #6B5E48; font-variant-numeric: tabular-nums; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(6, 48, 63, .3);
  display: none;
}
.hero__scroll-wheel { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--terra); animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* -------------------------------------------------------------------------
   7. Téléphone (maquette) — tout est en em pour une mise à l'échelle fluide
   ------------------------------------------------------------------------- */
.phone { --pw: 240px; width: var(--pw); font-size: calc(var(--pw) / 26); flex: none; }
.phone--sm { --pw: clamp(112px, 31vw, 150px); }
.hero-phone .phone--sm { --pw: clamp(112px, 31vw, 150px); }
.phone--lg { --pw: clamp(236px, 64vw, 330px); }
.phone__frame {
  position: relative; padding: .55em; border-radius: 3.6em;
  background: linear-gradient(145deg, #1B3A44, #07161C 60%);
  box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .12), inset 0 0 0 .5em #040E12;
}
.phone__btn { position: absolute; right: -.25em; width: .3em; border-radius: .2em; background: #0B222A; }
.phone__btn--a { top: 22%; height: 9%; }
.phone__btn--b { top: 34%; height: 6%; }
.phone__screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 9 / 19.5; border-radius: 3.1em;
  background: var(--ivory); color: var(--ink-800);
  font-family: var(--font-body); line-height: 1.35;
}
.phone__island { position: absolute; top: .9em; left: 50%; z-index: 20; width: 34%; height: 2.2em; margin-left: -17%; border-radius: 2em; background: #050E12; }

.screen { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; }
.screen.is-active, .phone--sm .screen { opacity: 1; visibility: visible; }

.scr-status { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 1.3em 2.2em 0; font-size: 1em; font-weight: 800; height: 3.6em; }
.scr-status__icons { display: flex; gap: .3em; }
.scr-status__icons i { width: .5em; height: .9em; border-radius: .15em; background: currentColor; }
.scr-status__icons i:nth-child(2) { height: .7em; align-self: flex-end; }
.scr-status__icons i:nth-child(3) { width: 1.6em; }

.scr-pad { padding: 1em 1.6em 1.6em; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.scr-pad--center { align-items: center; text-align: center; justify-content: center; gap: .5em; }
.scr-kicker { font-size: .95em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-700); }
.scr-h { font-family: var(--font-display); font-weight: 800; font-size: 2.1em; letter-spacing: -.03em; line-height: 1.05; margin-top: .25em; color: var(--ink-800); }
.scr-row { display: flex; justify-content: space-between; align-items: center; }
.scr-btn { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 1.1em 1.4em; border-radius: 1.2em; background: var(--orange); color: var(--ink-900); font-weight: 800; font-size: 1.05em; }

.scr-chips { display: flex; gap: .5em; margin: 1.1em 0 1em; }
.scr-chips span { padding: .45em .9em; border-radius: 2em; border: .1em solid var(--sand-300); font-size: .95em; font-weight: 700; }
.scr-chips .is-on { background: var(--ink-800); border-color: var(--ink-800); color: var(--ivory); }
.scr-list { display: grid; gap: .6em; margin-bottom: 1em; }
.scr-dest { display: flex; align-items: center; gap: .9em; padding: .7em; border-radius: 1.2em; background: #fff; box-shadow: 0 .1em .4em rgba(4, 31, 42, .06); border: .12em solid transparent; }
.scr-dest.is-selected { border-color: var(--orange); }
.scr-thumb { width: 3.4em; height: 3.4em; border-radius: .9em; display: grid; place-items: center; flex: none; }
.scr-thumb svg { width: 1.8em; height: 1.8em; }
.scr-dest__txt { display: grid; flex: 1; min-width: 0; }
.scr-dest__txt b { font-size: 1.2em; }
.scr-dest__txt small { font-size: .9em; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-radio { width: 1.5em; height: 1.5em; border-radius: 50%; border: .15em solid var(--sand-300); flex: none; }
.is-selected .scr-radio { border: .45em solid var(--orange); }

.screen--gps { background: #F3E8D3; }
.scr-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.scr-pulse { transform-box: fill-box; transform-origin: center; animation: pinPulse 2s var(--ease-out) infinite; }
.scr-pill { position: relative; z-index: 5; align-self: center; margin-top: .6em; display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border-radius: 2em; background: var(--ink-800); color: var(--ivory); font-weight: 800; font-size: .95em; }
.scr-pill svg { width: 1.2em; height: 1.2em; }
.scr-sheet { position: absolute; left: .8em; right: .8em; bottom: .8em; z-index: 5; padding: .8em 1.4em 1.4em; border-radius: 2em; background: var(--ivory); box-shadow: 0 -.4em 2em rgba(4, 31, 42, .18); }
.scr-sheet__grip { width: 3.4em; height: .35em; border-radius: 1em; background: var(--sand-300); margin: 0 auto .8em; }
.scr-sheet__row { display: flex; justify-content: space-between; align-items: baseline; }
.scr-dist { font-family: var(--font-display); font-size: 2em; color: var(--red); letter-spacing: -.03em; }
.scr-clue { margin: .5em 0 1em; font-size: 1.12em; font-weight: 700; line-height: 1.35; color: var(--ink-800); }
.scr-progress { height: .55em; border-radius: 1em; background: var(--sand); overflow: hidden; }
.scr-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--red)); }

.scr-timer { display: inline-flex; align-items: center; gap: .3em; padding: .35em .7em; border-radius: 2em; background: var(--ink-800); color: var(--ivory); font-size: .9em; font-weight: 800; }
.scr-timer svg { width: 1.1em; height: 1.1em; }
.scr-riddle-art { margin: 1em 0; border-radius: 1.4em; overflow: hidden; }
.scr-q { font-family: var(--font-display); font-weight: 750; font-size: 1.55em; line-height: 1.15; letter-spacing: -.02em; color: var(--ink-800); }
.scr-answers { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; margin: 1.2em 0; }
.scr-answers span { padding: .9em; border-radius: 1em; background: #fff; text-align: center; font-weight: 800; font-size: 1.25em; box-shadow: 0 .1em .4em rgba(4, 31, 42, .06); }
.scr-answers .is-right { background: var(--palm); color: #fff; }
.scr-hint { margin-top: auto; display: flex; align-items: center; gap: .5em; justify-content: center; padding: .9em; border-radius: 1em; border: .12em dashed var(--sand-300); font-weight: 700; font-size: .95em; }
.scr-hint svg { width: 1.3em; height: 1.3em; color: var(--terra); }

.screen--reward { background: radial-gradient(80% 50% at 50% 35%, #FFE3BD, var(--ivory) 70%); }
.scr-medal { width: 11em; margin: .6em 0 .2em; filter: drop-shadow(0 .8em 1.2em rgba(208, 104, 24, .4)); }
.scr-points { font-family: var(--font-display); font-weight: 800; font-size: 2.6em; color: var(--terra); letter-spacing: -.03em; }
.scr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; width: 100%; margin: .8em 0 1.2em; }
.scr-stats span { display: grid; padding: .7em .2em; border-radius: 1em; background: #fff; font-size: .9em; color: var(--text-muted); }
.scr-stats b { font-size: 1.5em; color: var(--ink-800); }
.screen--reward .scr-btn { width: 100%; }
.scr-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.screen--reward .scr-pad { position: relative; z-index: 1; }
.scr-tip { display: flex; gap: .7em; align-items: center; padding: .9em 1em; border-radius: 1.2em; background: var(--ink-800); color: var(--ivory); font-size: .95em; font-weight: 600; line-height: 1.3; }
.scr-tip b { color: var(--orange); }
.scr-tip svg { width: 1.6em; height: 1.6em; flex: none; color: var(--orange); }
.scr-next { width: 100%; display: flex; align-items: center; gap: .7em; padding: .8em 1em; border-radius: 1.1em; border: .12em dashed var(--sand-300); font-size: .95em; text-align: left; }
.scr-next svg { width: 1.5em; height: 1.5em; color: var(--atlas); flex: none; }
.scr-confetti i {
  position: absolute; top: 18%; left: calc(8% + var(--i) * 6.2%);
  width: .7em; height: 1.2em; border-radius: .2em;
  background: var(--orange);
  transform: rotate(calc(var(--i) * 37deg));
}
.scr-confetti i:nth-child(3n) { background: var(--red); }
.scr-confetti i:nth-child(3n+1) { background: var(--atlas); }
.scr-confetti i:nth-child(4n) { top: 30%; }
.scr-confetti i:nth-child(5n) { top: 8%; }

/* -------------------------------------------------------------------------
   8. Bandeau de valeur
   ------------------------------------------------------------------------- */
.values {
  position: relative; z-index: 2;
  background: var(--ink-800); color: var(--ivory);
  padding-block: clamp(22px, 2.6vw, 34px);
  overflow: hidden;
}
.values__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.values__list { display: flex; width: max-content; }
.values__item {
  display: inline-flex; align-items: center; gap: 16px; padding-right: 40px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.25rem, 1rem + 1.3vw, 2.1rem); white-space: nowrap;
}
.values__item > svg:first-child { color: var(--orange); flex: none; }
.values__sep { color: var(--terra); margin-left: 24px; }

/* -------------------------------------------------------------------------
   9. L'aventure
   ------------------------------------------------------------------------- */
.adventure { overflow: clip; }
.adventure__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.adventure__copy > p:not(.eyebrow) { margin-top: 22px; max-width: 58ch; }
.adventure__copy .lead { margin-top: 28px; }
.adventure__features { margin-top: 36px; display: grid; gap: 14px; }
.adventure__features li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-md);
  background: var(--ivory-100); border: 1px solid rgba(6, 48, 63, .06);
  transition: transform .4s var(--ease-out), background-color .3s, box-shadow .4s;
}
.adventure__features li:hover { transform: translateX(6px); background: #fff; box-shadow: var(--shadow-sm); }
.adventure__features strong { display: block; color: var(--ink-800); font-size: 1.02rem; }
.adventure__features span { font-size: var(--fs-sm); color: var(--text-muted); }
.feature-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--ink-800); color: var(--orange); }

.adventure__art { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 1 / 1.02; }
.adv-piece { position: absolute; }
.adventure__art .medina-map { inset: 9% 5% 11% 9%; transform: rotate(-2deg); }
.polaroid {
  margin: 0; padding: 10px 10px 0; background: #fff; border-radius: 6px;
  box-shadow: 0 24px 40px -16px rgba(4, 31, 42, .45);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { padding: 10px 4px 14px; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--ink-800); }
.polaroid::before { /* ruban adhésif */
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 26px; margin-left: -42px;
  background: rgba(248, 148, 40, .55); transform: rotate(-4deg); border-radius: 2px;
}
.polaroid--1 { width: 27%; left: -3%; top: -3%; transform: rotate(-6deg); }
.polaroid--2 { width: 25%; left: -2%; bottom: -5%; transform: rotate(5deg); }
.adv-bag { width: 26%; right: 4%; bottom: -2%; filter: drop-shadow(0 26px 26px rgba(4, 31, 42, .3)); }
.adv-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px;
  font-size: .8rem; font-weight: 800; white-space: nowrap; box-shadow: var(--shadow-md);
}
.adv-tag--1 { left: 40%; bottom: 3%; background: var(--ink-800); color: var(--ivory); }
.adv-tag--1 svg { color: var(--orange); }

/* -------------------------------------------------------------------------
   10. Journey (route d'aventure)
   ------------------------------------------------------------------------- */
.journey {
  position: relative; color: var(--on-dark);
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(0, 104, 152, .35), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(208, 104, 24, .22), transparent 70%),
    var(--ink-800);
}
.journey__pin { padding-top: var(--section-y); padding-bottom: clamp(64px, 8vw, 120px); }
.journey__head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.journey__meter { display: none; align-items: center; gap: 14px; font-size: var(--fs-sm); font-weight: 700; color: var(--on-dark-muted); }
.journey__meter-bar { width: 180px; height: 6px; border-radius: 6px; background: rgba(251, 247, 238, .14); overflow: hidden; }
.journey__meter-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--red)); transform-origin: 0 50%; transform: scaleX(0); }
.journey__meter-points { min-width: 72px; color: var(--ivory); }
.journey__meter-points b { font-family: var(--font-display); font-size: 1.4rem; color: var(--orange); font-variant-numeric: tabular-nums; }

.journey__viewport { position: relative; margin-top: clamp(40px, 5vw, 64px); }

/* Mode vertical (mobile / tablette / mouvement réduit) */
.journey__track { position: relative; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.journey__route, .journey__marker { display: none; }
.journey__steps { position: relative; display: grid; gap: 28px; padding-left: 44px; }
.journey__steps::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, rgba(251, 247, 238, .25) 0 6px, transparent 6px 14px); }
.journey__steps::after { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--orange); transform-origin: 50% 0; transform: scaleY(var(--progress, 0)); }
.jstep { position: relative; }
.jstep__pin { position: absolute; left: -44px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-800); border: 2px solid var(--c); display: grid; place-items: center; z-index: 1; }
.jstep__pin span { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.jstep__card {
  position: relative; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg);
  background: rgba(251, 247, 238, .06); border: 1px solid rgba(251, 247, 238, .12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .4s, background-color .4s, transform .5s var(--ease-out);
}
.jstep.is-active .jstep__card, .jstep__card:hover { border-color: var(--c); background: rgba(251, 247, 238, .1); }
.jstep__photo { margin: -8px -8px 18px; border-radius: 16px 16px 12px 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.jstep__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.jstep__card:hover .jstep__photo img { transform: scale(1.06); }
.jstep__head { display: flex; align-items: center; gap: 16px; }
.jstep__num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--c); letter-spacing: -.04em; }
.jstep__city { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); color: var(--ivory); }
.jstep__coords { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.jstep__title { margin-top: 18px; font-weight: 800; color: var(--orange); font-size: 1.05rem; }
.jstep__text { margin-top: 8px; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.jstep__challenge { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(4, 31, 42, .5); font-size: var(--fs-sm); color: var(--ivory); }
.jstep__challenge svg { flex: none; margin-top: 3px; color: var(--c); }
.jstep__foot { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.jstep__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: var(--c); color: var(--ivory); font-size: .8rem; font-weight: 800; }
.jstep__badge svg { color: var(--ivory); }
.jstep__points { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ivory); }
.journey__finish { display: flex; align-items: center; gap: 14px; margin: 28px 0 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--orange); }
.journey__finish svg { width: 56px; height: 56px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
   11. Application
   ------------------------------------------------------------------------- */
.app { background: var(--ivory); overflow: clip; }
.app__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.app__phone-col { position: relative; display: flex; justify-content: center; }
.app__phone-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.app__halo { position: absolute; top: 8%; left: 50%; width: 150%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(248, 148, 40, .3), rgba(248, 148, 40, 0) 62%); z-index: -1; }
.app__phone-wrap .phone { filter: drop-shadow(0 40px 50px rgba(4, 31, 42, .35)); }
.app__disclaimer { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-align: center; }
.app__copy .lead { margin-top: 24px; max-width: 52ch; }
.app__steps { margin-top: 36px; display: grid; gap: 10px; }
.app-step__btn {
  width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px;
  padding: 20px 22px; border-radius: var(--r-md);
  border: 1px solid rgba(6, 48, 63, .1); background: transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease-out);
}
.app-step__btn:hover { background: var(--ivory-100); }
.app-step__num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--text-muted); padding-top: 2px; transition: color .3s; }
.app-step__title { display: block; font-family: var(--font-display); font-weight: 750; font-size: var(--fs-h3); color: var(--ink-800); letter-spacing: -.02em; line-height: 1.15; }
.app-step__text { display: block; margin-top: 6px; color: var(--text-muted); font-size: var(--fs-sm); max-width: 48ch; }
.app-step__bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(6, 48, 63, .08); overflow: hidden; margin-top: 10px; opacity: 0; transition: opacity .3s; }
.app-step__bar span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.app-step.is-active .app-step__btn { background: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.app-step.is-active .app-step__num { color: var(--terra); }
.app-step.is-active .app-step__bar { opacity: 1; }

/* -------------------------------------------------------------------------
   12. Comment ça marche
   ------------------------------------------------------------------------- */
.how { background: #A94A1C; color: var(--ivory); }
.how .h2 { color: var(--ivory); }
.how .eyebrow { color: #FFD3A1; }
.how::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(251, 246, 236, .14) 1.2px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); pointer-events: none; }
.how .container { position: relative; }
.how__grid { display: grid; gap: 18px; counter-reset: how; }
.how-card {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: var(--ivory); border: 1px solid rgba(6, 48, 63, .07);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.how-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-md); }
.how-card__art { aspect-ratio: 200 / 160; margin: -6px -6px 18px; border-radius: 999px 999px var(--r-md) var(--r-md); background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.how-card__art svg { width: 86%; height: auto; overflow: visible; }
.how-card__num { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ivory); background: var(--ink-800); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.how-card__title { font-size: var(--fs-h3); line-height: 1.12; }
.how-card__text { margin-top: 10px; font-size: var(--fs-sm); color: var(--text-muted); }

/* micro-animations des illustrations */
.art-pin, .art-letter, .art-seal, .art-needle, .art-piece, .art-trophy, .art-spark use { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease-spring); }
.how-card:hover .art-pin--1 { transform: translateY(-6px); transition-delay: 0s; }
.how-card:hover .art-pin--2 { transform: translateY(-9px); transition-delay: .06s; }
.how-card:hover .art-pin--3 { transform: translateY(-12px) scale(1.1); transition-delay: .12s; }
.how-card:hover .art-letter { transform: translateY(-18px); }
.how-card:hover .art-seal { transform: scale(1.18) rotate(20deg); transform-origin: center; }
.art-needle { transform-origin: 50% 50%; }
.how-card:hover .art-needle { transform: rotate(200deg); }
.how-card:hover .art-piece--l { transform: translateX(4px); }
.how-card:hover .art-piece--r { transform: translateX(-4px) translateY(-2px); }
.how-card:hover .art-trophy { transform: translateY(-6px) rotate(8deg); }
.art-spark use { transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.art-spark use + use { animation-delay: 1.1s; }

.twinkle { animation: twinkle 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 50% { opacity: .3; } }

/* -------------------------------------------------------------------------
   14. Pour qui ? (onglets)
   ------------------------------------------------------------------------- */
.audience { background: var(--ivory); }
.tabs__list {
  position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%;
  margin: 0 auto clamp(32px, 4vw, 56px); padding: 6px; border-radius: 16px;
  background: var(--ivory-100); border: 1px solid rgba(6, 48, 63, .08);
  overflow-x: auto; scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { position: relative; z-index: 1; padding: 12px 20px; border-radius: 11px; font-weight: 800; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-700); white-space: nowrap; transition: color .3s; }
.tabs__tab[aria-selected="true"] { color: var(--ivory); }
.tabs__tab:hover:not([aria-selected="true"]) { color: var(--terra-700); }
.tabs__indicator { position: absolute; top: 6px; left: 0; width: 0; height: 0; border-radius: 11px; background: var(--ink-800); box-shadow: var(--shadow-sm); z-index: 0; }
.tabs__panels { position: relative; }
.tabs__panel:focus-visible { outline-offset: 8px; border-radius: var(--r-xl); }
.aud { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--ivory-100); border: 1px solid rgba(6, 48, 63, .06); }
.aud__art { max-width: 420px; width: 100%; margin-inline: auto; }
.aud__art svg { width: 100%; height: auto; overflow: visible; }
.aud__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; }
.aud__text { margin-top: 18px; max-width: 52ch; }
.aud__reco { margin: 22px 0 28px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(208, 104, 24, .1); color: var(--terra-700); font-weight: 800; font-size: var(--fs-sm); }

/* -------------------------------------------------------------------------
   15. Tarifs
   ------------------------------------------------------------------------- */
.pricing { background: var(--ivory-100); overflow: clip; }
.pricing__grid { display: grid; gap: 18px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 26px; border-radius: var(--r-lg);
  background: var(--ivory); border: 1px solid rgba(6, 48, 63, .09);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.price-card--featured { background: #fff; border: 2px solid var(--orange); box-shadow: 0 30px 60px -30px rgba(208, 104, 24, .55); }
.price-card--dark { background: var(--ink-800); color: var(--on-dark-muted); border-color: transparent; }
.price-card--dark .price-card__name, .price-card--dark .price-card__amount { color: var(--ivory); }
.price-card--dark .price-card__features li { color: var(--ivory); }
.price-card--dark .price-card__features svg { color: var(--orange); }
.price-card__ticket { position: absolute; top: 18px; right: 22px; font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--text-muted); }
.price-card--dark .price-card__ticket { color: var(--on-dark-muted); }
.price-card--featured .price-card__ticket { top: 24px; }
.price-card__features { position: relative; }
.price-card__features::before, .price-card__features::after { /* perforations du billet */
  content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--ivory-100);
}
.price-card__features::before { left: -40px; }
.price-card__features::after { right: -40px; }
.price-card__ribbon { position: absolute; top: -14px; left: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--ink-900); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-card__name { font-size: .9rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-700); }
.price-card__price { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-card__from { width: 100%; font-size: .85rem; font-weight: 700; }
.price-card__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem); line-height: 1; letter-spacing: -.04em; color: var(--ink-800); }
.price-card__unit { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--terra); }
.price-card--dark .price-card__unit { color: var(--orange); }
.price-card__note { margin-top: 6px; font-size: var(--fs-sm); }
.price-card__features { margin: 24px 0 28px; display: grid; gap: 10px; padding-top: 22px; border-top: 2px dashed rgba(6, 48, 63, .18); }
.price-card--dark .price-card__features { border-color: rgba(251, 247, 238, .18); }
.price-card__features li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-700); font-weight: 600; }
.price-card__features svg { flex: none; margin-top: 3px; color: var(--palm); }
.price-card .btn { margin-top: auto; }
.pricing__ctas { margin-top: clamp(48px, 6vw, 96px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* -------------------------------------------------------------------------
   16. Galerie + lightbox
   ------------------------------------------------------------------------- */
.gallery { background: var(--ink-800); color: var(--on-dark); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; border-radius: var(--r-md); overflow: hidden; }
.g-item--big { grid-column: span 2; grid-row: span 2; }
.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: var(--ink-700); }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; }
.g-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 31, 42, .75)); transition: opacity .4s; }
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.07); }
.g-cap { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-family: var(--font-display); font-weight: 750; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); color: var(--ivory); }
.g-zoom { position: absolute; right: 12px; top: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ivory); color: var(--ink-800); opacity: 0; transform: scale(.7); transition: opacity .35s, transform .45s var(--ease-spring); }
.g-btn:hover .g-zoom, .g-btn:focus-visible .g-zoom { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 72px 16px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(4, 31, 42, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox__figure { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1100px, 100%); }
.lightbox__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 190px); width: auto; object-fit: contain; background: var(--ink-700); }
.lightbox__caption { display: flex; gap: 16px; align-items: baseline; color: var(--ivory); }
.lightbox__title { font-family: var(--font-display); font-weight: 750; font-size: 1.3rem; }
.lightbox__caption { flex-wrap: wrap; justify-content: center; }
.lightbox__credit { width: 100%; text-align: center; font-size: .75rem; color: var(--on-dark-muted); }
.lightbox__credit a { text-decoration: underline; text-underline-offset: 2px; }
.lightbox__count { font-size: .85rem; font-weight: 700; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.lightbox__btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(251, 247, 238, .1); color: var(--ivory); border: 1px solid rgba(251, 247, 238, .18); transition: background-color .3s, transform .3s var(--ease-out); }
.lightbox__btn:hover { background: var(--orange); color: var(--ink-900); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }

/* -------------------------------------------------------------------------
   17. Témoignages
   ------------------------------------------------------------------------- */
.testimonials { background: var(--ivory); }
.testimonials__demo { margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--text-muted); padding: 4px 10px; border-radius: 999px; border: 1px dashed rgba(6, 48, 63, .25); }
.testimonials__demo[hidden] { display: none; }
.testi__grid { display: grid; gap: 18px; }
.testi figure { height: 100%; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--ivory-100); border: 1px solid rgba(6, 48, 63, .07); position: relative; transition: transform .5s var(--ease-out), box-shadow .5s; }
.testi figure:hover { transform: translateY(-6px) rotate(.4deg); box-shadow: var(--shadow-md); }
.testi figure { background: #FFFCF6 !important; }
.testi__stamp { position: absolute; top: 16px; right: 16px; width: 58px; height: 66px; display: grid; place-items: center; align-content: center; gap: 2px; border: 2px dashed rgba(208, 104, 24, .55); border-radius: 6px; color: var(--terra); transform: rotate(6deg); }
.testi__stamp small { font-size: .55rem; font-weight: 800; letter-spacing: .14em; }
.testi__quote p { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.35; font-weight: 400; color: var(--ink-800); }
.testi__stars { display: flex; gap: 2px; color: var(--sand-300); }
.testi__stars .on { color: var(--orange); }
.testi__quote { margin-top: 52px; flex: 1; }
.testi__quote p { font-size: 1.05rem; line-height: 1.6; color: var(--ink-700); font-weight: 500; }
.testi__who { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.testi__who b { display: block; color: var(--ink-800); }
.testi__who small { display: block; font-size: .82rem; color: var(--text-muted); }
.testi__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--ivory); font-weight: 800; font-family: var(--font-display); object-fit: cover; }

/* -------------------------------------------------------------------------
   18. CTA final
   ------------------------------------------------------------------------- */
.final-cta {
  position: relative; overflow: clip; isolation: isolate;
  padding-block: clamp(120px, 14vw, 220px);
  background:
    radial-gradient(70% 80% at 50% 110%, rgba(248, 148, 40, .5), transparent 70%),
    radial-gradient(40% 50% at 100% 0%, rgba(208, 40, 24, .35), transparent 70%),
    var(--ink-800);
  color: var(--on-dark); text-align: center;
}
.final-cta__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-cta__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta__pattern { position: absolute; inset: 0; color: rgba(251, 247, 238, .06); opacity: .45; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); }
.final-cta__bag { position: absolute; right: -6%; bottom: -12%; width: min(46vw, 460px); opacity: .22; transform: rotate(-12deg); }
.final-cta__inner { display: flex; flex-direction: column; align-items: center; }
.final-cta__title { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 6.6rem); line-height: .98; letter-spacing: -.045em; color: var(--ivory); max-width: 14ch; text-wrap: balance; }
.final-cta__text { margin-top: 26px; font-size: var(--fs-lead); color: var(--on-dark-muted); font-weight: 600; }
.final-cta__actions { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta__wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--on-dark-muted); transition: color .3s; }
.final-cta__wa:hover { color: var(--ivory); }
.final-cta__wa svg { color: #3BD16F; }

/* -------------------------------------------------------------------------
   19. Footer
   ------------------------------------------------------------------------- */
.footer { position: relative; overflow: clip; background: var(--ink-900); color: var(--on-dark-muted); padding-top: clamp(72px, 8vw, 120px); }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--orange); }
.footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(251, 247, 238, .1); }
.footer__brand img { width: 150px; height: auto; background: var(--ivory); border-radius: 24px; padding: 12px; }
.footer__brand p { margin-top: 20px; max-width: 34ch; }
.footer__title { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); margin-bottom: 18px; }
.footer__news p { max-width: 44ch; }
.newsletter { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.newsletter input {
  flex: 1 1 220px; min-height: 52px; padding: 12px 18px; border-radius: var(--r-btn);
  border: 1.5px solid rgba(251, 247, 238, .2); background: rgba(251, 247, 238, .06); color: var(--ivory);
  transition: border-color .3s, background-color .3s;
}
.newsletter input::placeholder { color: rgba(251, 247, 238, .5); }
.newsletter input:focus { outline: none; border-color: var(--orange); background: rgba(251, 247, 238, .1); }
.newsletter input[aria-invalid="true"] { border-color: #FF7A66; }
.newsletter .btn { min-height: 52px; }
.newsletter__msg { width: 100%; min-height: 1.5em; font-size: var(--fs-sm); font-weight: 700; color: var(--orange); }
.newsletter__msg.is-error { color: #FF9C8C; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; padding-block: 48px; }
.footer__cols ul { display: grid; gap: 10px; font-size: var(--fs-sm); }
.footer__cols > :last-child { grid-column: 1 / -1; }
.footer__contact a, .footer__city { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact svg { color: var(--orange); flex: none; }
.footer__bottom { display: flex; flex-direction: column; gap: 14px; padding-block: 24px; border-top: 1px solid rgba(251, 247, 238, .1); font-size: .85rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__giant {
  margin: 0; padding: 0 var(--gutter); white-space: nowrap; text-align: center;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(3rem, 11.5vw, 12rem);
  color: transparent; -webkit-text-stroke: 1px rgba(251, 247, 238, .14);
  transform: translateY(18%);
  user-select: none;
}

/* -------------------------------------------------------------------------
   20. Pages internes (destinations, légales…)
   ------------------------------------------------------------------------- */
.page-hero { position: relative; overflow: clip; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(56px, 7vw, 110px); background: radial-gradient(60% 60% at 90% 10%, rgba(248, 148, 40, .18), transparent 70%), var(--paper); }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.page-hero .lead { margin-top: 22px; max-width: 52ch; }
.page-hero__art { border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; max-width: 520px; width: 100%; justify-self: center; outline: 10px solid var(--ivory); }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--terra-700); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose a { color: var(--terra-700); text-decoration: underline; text-underline-offset: 3px; }
.prose .placeholder { background: rgba(248, 148, 40, .18); padding: 0 4px; border-radius: 4px; }
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 36px 0; }
.facts li { padding: 20px; border-radius: var(--r-md); background: var(--ivory-100); border: 1px solid rgba(6, 48, 63, .07); }
.facts b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-800); }
.facts span { font-size: var(--fs-sm); color: var(--text-muted); }
.card-links { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-links a { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--ivory-100); border: 1px solid rgba(6, 48, 63, .07); transition: transform .45s var(--ease-out), box-shadow .45s; }
.card-links a:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-links img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-links span { display: block; padding: 18px 20px; font-family: var(--font-display); font-weight: 750; font-size: 1.3rem; color: var(--ink-800); }
.card-links small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--text-muted); margin-top: 4px; }
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 32px; }
.contact-cards a { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--ivory-100); border: 1px solid rgba(6, 48, 63, .07); transition: transform .4s var(--ease-out), box-shadow .4s; }
.contact-cards a:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-cards svg { color: var(--terra); }
.contact-cards b { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-800); }

/* -------------------------------------------------------------------------
   21. Mouvement réduit
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  html:not(.lenis) { scroll-behavior: auto; }
  .js [data-reveal], .js [data-hero] { opacity: 1 !important; }
  .js [data-split], .js [data-split-scroll], .js .hero__visual { visibility: visible !important; }
  .hero-stamp__ring { animation: none !important; }
  .values__list { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; }
  .values__item[aria-hidden] { display: none; }
  .values__marquee { -webkit-mask-image: none; mask-image: none; }
}
