/* =========================================================
   Meknès Traiteur — feuille de style
   ========================================================= */

:root {
  --ink: #120d0a;
  --night: #1a120d;
  --night-2: #261a12;
  --sand: #f6eee2;
  --sand-2: #eee2cf;
  --sand-3: #e0cfb5;
  --saffron: #e8960b;
  --saffron-2: #f4b54a;
  --terracotta: #b04d24;
  --text: #2a1f18;
  --muted: #76675a;
  --light: #f7efe3;
  --light-muted: rgba(247, 239, 227, .7);
  --line-dark: rgba(42, 31, 24, .14);
  --line-light: rgba(247, 239, 227, .16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Aref Ruqaa", "Amiri", serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;

  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23e8960b' stroke-width='.8'%3E%3Cpolygon points='50,4 63.5,17.5 82.5,17.5 82.5,36.5 96,50 82.5,63.5 82.5,82.5 63.5,82.5 50,96 36.5,82.5 17.5,82.5 17.5,63.5 4,50 17.5,36.5 17.5,17.5 36.5,17.5'/%3E%3Ccircle cx='50' cy='50' r='12'/%3E%3Cpath d='M0 0 L17.5 17.5 M100 0 L82.5 17.5 M0 100 L17.5 82.5 M100 100 L82.5 82.5'/%3E%3C/g%3E%3C/svg%3E");
  --arch-row: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 26'%3E%3Cpath d='M0 26 V17 Q0 6 12 3 L24 0 L36 3 Q48 6 48 17 V26 Z'/%3E%3C/svg%3E");
  --noise: 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 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--sand); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--saffron); }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.container { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }

/* Grain photo sur les sections sombres */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: var(--noise); opacity: .07; mix-blend-mode: overlay;
}
.grain > .container, .grain > .hero__inner { z-index: 2; }

/* Rangée d'arches mauresques en haut des sections sombres */
.arches-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -25px; height: 26px; z-index: 3;
  background: var(--arch-color, var(--night));
  -webkit-mask: var(--arch-row) repeat-x left bottom / 48px 26px; mask: var(--arch-row) repeat-x left bottom / 48px 26px;
}

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 1.4em;
}
.eyebrow::before { content: "✦"; font-size: 11px; letter-spacing: 0; }
.eyebrow--light { color: var(--saffron-2); }
.title {
  font-family: var(--serif); font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02;
  letter-spacing: -.01em; margin-bottom: .5em; color: var(--ink);
}
.title--light { color: var(--light); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow::after { content: "✦"; font-size: 11px; letter-spacing: 0; }
.section__sub { color: var(--muted); font-size: 18px; }

.link-arrow { color: var(--terracotta); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 18px 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease), box-shadow .4s;
}
.btn > span { position: relative; z-index: 1; display: inline-block; transition: transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--gold { background: linear-gradient(135deg, #f2ae3c, var(--saffron) 55%, #d17f06); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(232, 150, 11, .55); }
.btn--gold::before { background: var(--light); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(232, 150, 11, .7); }
.btn--ghost { border-color: rgba(247, 239, 227, .4); color: var(--light); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--light); }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--light); }
.btn--dark::before { background: var(--terracotta); }
.btn--text { background: none; border: 0; color: inherit; padding: 18px 10px; opacity: .75; }
.btn--text::before { display: none; }
.btn--text:hover { opacity: 1; }
.btn--sm { padding: 13px 22px; font-size: 14px; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: grid; place-items: center; transition: clip-path 1.1s var(--ease-in-out); clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__star { width: 84px; height: 84px; margin: 0 auto 18px; fill: none; stroke: var(--saffron); stroke-width: 1.2; }
.preloader__star polygon, .preloader__star circle { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease) forwards; }
.preloader__star circle { animation-delay: .4s; }
.preloader__word { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--light); opacity: 0; margin: 0; animation: fadeUp .8s .5s var(--ease) forwards; }
.preloader__ar { font-family: var(--arabic); font-size: 30px; color: var(--saffron); opacity: 0; margin: 0; animation: fadeUp .8s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html:not(.js) .preloader { display: none; }

/* ---------- Curseur ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary, .has-cursor input[type="range"], .has-cursor .sig { cursor: none; }
  .has-cursor input[type="text"], .has-cursor input[type="email"], .has-cursor input[type="tel"], .has-cursor input[type="date"], .has-cursor textarea, .has-cursor select { cursor: text; }
  .has-cursor .cursor { display: block; }
  .cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate3d(-100px, -100px, 0); will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--saffron); box-shadow: 0 0 12px 2px rgba(244, 181, 74, .6); }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(232, 150, 11, .7);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), opacity .3s;
  }
  .cursor__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(232, 150, 11, .14); }
  .cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--saffron); border-color: var(--saffron); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot, .cursor.is-text .cursor__dot { opacity: 0; }
  .cursor.is-text .cursor__ring { width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; background: var(--saffron); border-color: transparent; }
  .cursor.is-sig .cursor__ring { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: padding .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(18, 13, 10, .8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(244, 181, 74, .12); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: block; width: 168px; flex-shrink: 0; }
.nav__logo img { width: 100%; height: auto; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; color: var(--light); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--saffron); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--light); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav__phone-dot { width: 7px; height: 7px; border-radius: 50%; background: #5bd38a; box-shadow: 0 0 0 0 rgba(91, 211, 138, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(91, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 211, 138, 0); } }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; background: none; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--light); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: var(--zellige); background-size: 110px; pointer-events: none; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu nav { position: relative; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 44px; color: var(--light); text-decoration: none; line-height: 1.2; }
.mobile-menu nav a.mobile-menu__cta { color: var(--saffron); font-style: italic; }
.mobile-menu__contact { position: relative; margin-top: 40px; color: var(--light-muted); }
.mobile-menu__contact a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--light);
  overflow: hidden; display: flex; align-items: center; padding: 110px 0 70px;
}
.hero__bg { position: absolute; inset: -4%; z-index: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.15) brightness(.62); transform: scale(1.12); animation: kenburns 28s ease-in-out infinite alternate; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 72% 45%, rgba(18, 13, 10, .35), rgba(18, 13, 10, .92) 70%), linear-gradient(90deg, rgba(18, 13, 10, .95) 0%, rgba(18, 13, 10, .55) 55%, rgba(18, 13, 10, .3) 100%); }
@keyframes kenburns { to { transform: scale(1.22) translate(-2%, -1%); } }
.hero__pattern {
  position: absolute; inset: 0; z-index: 0; opacity: .06; background-image: var(--zellige); background-size: 120px 120px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero__dust { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px);
}
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 86px); line-height: 1; letter-spacing: -.015em; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__lead { max-width: 520px; color: var(--light-muted); font-size: 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero__trust { list-style: none; margin: 0; padding: 24px 0 0; display: flex; gap: clamp(22px, 4vw, 48px); border-top: 1px solid var(--line-light); max-width: 540px; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--saffron-2); }
.hero__trust small { font-size: .5em; }
.hero__trust span { font-size: 13px; color: var(--light-muted); margin-top: 6px; }
.js .hero__text > *:not(.hero__title) { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero__text > *:not(.hero__title) { opacity: 1; transform: none; }
.is-loaded .hero__text > .flight { transition-delay: .3s; }
.is-loaded .hero__text > .hero__lead { transition-delay: .4s; }
.is-loaded .hero__text > .hero__ctas { transition-delay: .5s; }
.is-loaded .hero__text > .hero__trust { transition-delay: .6s; }

.hero__visual { position: relative; height: min(76vh, 700px); min-height: 460px; }
.hero__arch-wrap { position: absolute; inset: 0 9% 0 13%; }
.hero__arch-line { position: absolute; left: -14px; top: -14px; width: calc(100% + 28px); height: calc(100% + 28px); fill: none; stroke: var(--saffron-2); stroke-width: 1; opacity: .55; overflow: visible; }
.js .hero__arch-line path { stroke-dasharray: 2400; stroke-dashoffset: 2400; transition: stroke-dashoffset 2.6s var(--ease-in-out) .6s; vector-effect: non-scaling-stroke; }
.is-loaded .hero__arch-line path { stroke-dashoffset: 0; }
.hero__arch {
  position: absolute; inset: 0; border-radius: 999px 999px 18px 18px; overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .85), 0 0 80px -20px rgba(232, 150, 11, .35);
}
.js .hero__arch { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); transition: clip-path 1.6s var(--ease-in-out) .15s; }
.is-loaded .hero__arch { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 2.4s var(--ease) .15s; }
.is-loaded .hero__arch img { transform: scale(1.06); }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 13, 10, .25), transparent 30%, transparent 70%, rgba(18, 13, 10, .5)); }
.steam { position: absolute; pointer-events: none; z-index: 2; }
.hero__arch-wrap .steam { left: -20%; top: -45%; width: 140%; height: 145%; }
.hero__card { position: absolute; z-index: 3; overflow: hidden; border-radius: 999px 999px 14px 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); border: 4px solid var(--ink); }
.js .hero__card { opacity: 0; transition: opacity 1s var(--ease) 1s; }
.is-loaded .hero__card { opacity: 1; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--a { width: 28%; aspect-ratio: 3/4; left: 0; bottom: 6%; }
.hero__card--b { width: 23%; aspect-ratio: 3/4; right: 0; top: 14%; }
.hero__orbit { position: absolute; z-index: 3; width: 160px; right: 2%; bottom: 0; fill: var(--saffron-2); font-size: 13.5px; letter-spacing: .26em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; }
.js .hero__orbit { opacity: 0; transition: opacity 1s 1.2s; }
.is-loaded .hero__orbit { opacity: 1; }
.hero__orbit text { animation: spin 22s linear infinite; transform-origin: 100px 100px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__arabic { position: absolute; z-index: 1; left: -6%; top: -4%; font-family: var(--arabic); font-size: clamp(80px, 10vw, 160px); color: var(--saffron); opacity: .16; line-height: 1; pointer-events: none; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-light); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--saffron); animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Lanternes suspendues */
.lanterns { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 0; pointer-events: none; }
.lantern { position: absolute; top: -8px; transform-origin: 50% 0; }
.js .lantern { opacity: 0; transition: opacity 1.5s 1.4s; }
.lantern__swing { display: block; width: 100%; height: 100%; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; }
.lantern svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); }
.lantern__glow { position: absolute; left: 50%; top: 66%; width: 300%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 80, .42), rgba(255, 150, 30, .12) 40%, transparent 70%); animation: flicker 3.2s infinite; }
.lantern--1 { left: 41%; width: 38px; height: 175px; }
.lantern--2 { left: 49%; width: 52px; height: 260px; }
.lantern--3 { left: 57%; width: 30px; height: 135px; }
.lantern--1 .lantern__swing { animation-duration: 6.5s; }
.lantern--2 .lantern__swing { animation-duration: 7.5s; animation-delay: -2s; }
.lantern--3 .lantern__swing { animation-duration: 5.5s; animation-delay: -1s; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 8% { opacity: .82; } 12% { opacity: 1; } 40% { opacity: .9; } 44% { opacity: .78; } 48% { opacity: 1; } 70% { opacity: .92; } }
.is-loaded .lantern { opacity: 1; }
.is-loaded .lantern--3 { opacity: .85; }

/* ---------- Bandeau défilant ---------- */
.ribbon { background: linear-gradient(90deg, #d17f06, var(--saffron), #f2ae3c, var(--saffron), #d17f06); color: var(--ink); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -14px; position: relative; z-index: 4; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.ribbon__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 38s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 36px); white-space: nowrap; }
.ribbon i { font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Arche ---------- */
.arch-frame { border-radius: 999px 999px 20px 20px; overflow: hidden; position: relative; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

/* ---------- Histoire ---------- */
.histoire { background: var(--sand); overflow: hidden; }
.histoire::before { content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none; background-image: var(--zellige); background-size: 90px 90px; -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%); }
.route { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: end; gap: 20px; max-width: 1080px; margin: 0 auto; }
.route__stop { margin: 0; }
.route__stop .arch-frame { aspect-ratio: 3/4; box-shadow: 0 40px 80px -40px rgba(42, 31, 24, .6); }
.route__stop--b { transform: translateY(60px); }
.route__stop figcaption { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
.route__stop figcaption strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.route__ar { display: block; font-family: var(--arabic); font-size: 30px; color: var(--terracotta); line-height: 1.3; }
.route__ar--fr { font-family: var(--serif); font-style: italic; }
.route__path { position: relative; align-self: center; height: 170px; }
.route__path svg { display: block; width: 100%; height: 120px; overflow: visible; }
.route__line { fill: none; stroke: var(--terracotta); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route__plane { position: absolute; left: 0; top: 0; color: var(--saffron); font-size: 24px; line-height: 1; translate: -50% -50%; text-shadow: 0 0 14px rgba(232, 150, 11, .6); }
.route__km { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--terracotta); margin: 0; }
.histoire__text { max-width: 880px; margin: clamp(90px, 12vw, 150px) auto 0; text-align: center; }
.lead-big { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.35; color: var(--ink); }
.lead-big em { color: var(--terracotta); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; text-align: left; }
.pillar { padding-top: 24px; border-top: 1px solid var(--line-dark); }
.pillar__icon { width: 22px; height: 22px; fill: var(--saffron); margin-bottom: 12px; }
.pillar strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; }
.pillar p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Immersion sensorielle ---------- */
.sens { position: relative; min-height: 110vh; display: flex; align-items: center; background: var(--ink); color: var(--light); overflow: hidden; padding: 140px 0; }
.sens__bg { position: absolute; inset: 0; }
.sens__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.1); }
.sens__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(18, 13, 10, .45), var(--ink) 85%); }
.steam--wide { left: 0; top: 0; width: 100%; height: 100%; }
.sens__inner { position: relative; z-index: 3; text-align: center; max-width: 1080px; }
.sens__text { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.18; margin: 0 auto; }
.sens__text .w { opacity: .14; transition: opacity .5s, color .5s; }
.sens__text .w.is-on { opacity: 1; }
.sens__text .w.is-spice { font-style: italic; color: var(--saffron-2); }
.sens__sign { font-family: var(--arabic); font-size: clamp(50px, 6vw, 84px); color: var(--saffron); margin: 40px 0 0; opacity: .85; }

/* ---------- Signatures ---------- */
.signatures { background: var(--sand-2); }
.signatures__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.signatures__head .title { margin-bottom: 0; }
.signatures__hint { color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.sig-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.sig { position: relative; display: grid; grid-template-columns: 70px 1fr auto; grid-template-areas: "num title price" "num desc price"; column-gap: 24px; align-items: center; padding: 34px 10px; border-bottom: 1px solid var(--line-dark); transition: padding .5s var(--ease); }
.sig::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.sig > * { position: relative; z-index: 1; transition: color .4s; }
.sig:hover::before { transform: scaleY(1); transform-origin: top; }
.sig:hover { padding-left: 30px; padding-right: 30px; }
.sig:hover h3, .sig:hover .sig__price { color: var(--light); }
.sig:hover p { color: var(--light-muted); }
.sig__num { grid-area: num; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--terracotta); }
.sig h3 { grid-area: title; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.05; }
.sig p { grid-area: desc; margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.sig__price { grid-area: price; font-family: var(--serif); font-size: 24px; color: var(--terracotta); white-space: nowrap; }
.sig__thumb { display: none; }
.sig-float { position: fixed; top: 0; left: 0; z-index: 50; width: 280px; aspect-ratio: 3/4; pointer-events: none; border-radius: 999px 999px 16px 16px; overflow: hidden; opacity: 0; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); transition: opacity .4s var(--ease); will-change: transform; }
.sig-float img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sig-float.is-on { opacity: 1; }

/* ---------- Prestations ---------- */
.prestations { background: var(--night); color: var(--light); }
.prestations > .container::before { content: ""; position: absolute; inset: -160px 0; opacity: .05; pointer-events: none; background-image: var(--zellige); background-size: 140px 140px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1200px; }
.card { position: relative; background: var(--night-2); border-radius: 26px; overflow: hidden; border: 1px solid var(--line-light); transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.card:hover { border-color: rgba(232, 150, 11, .5); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(244, 181, 74, .16), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover::after { opacity: 1; }
.card__img { aspect-ratio: 1/1; overflow: hidden; margin: 12px 12px 0; border-radius: 999px 999px 16px 16px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.08); }
.card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; transform: translateZ(30px); }
.card__num { font-size: 12px; letter-spacing: .2em; color: var(--saffron-2); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 34px; line-height: 1.05; margin: 8px 0 14px; }
.card p { color: var(--light-muted); font-size: 15.5px; }
.card__tags { list-style: none; padding: 0; margin: 4px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags li { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-light); border-radius: 999px; color: var(--light-muted); }
.card__link { margin-top: auto; color: var(--saffron-2); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card__link span { transition: transform .4s var(--ease); }
.card:hover .card__link span { transform: translateX(6px); }

/* ---------- Le voyage (scroll horizontal) ---------- */
.journey { position: relative; background: var(--sand); }
.journey__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.journey__track { display: flex; align-items: center; gap: clamp(30px, 5vw, 80px); padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); will-change: transform; }
.journey__intro { flex: 0 0 min(440px, 80vw); }
.journey__intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.journey__hint { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin-top: 10px; }
.journey__hint i { font-style: normal; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.step { flex: 0 0 clamp(260px, 26vw, 340px); position: relative; }
.step__num { position: absolute; top: -40px; left: -12px; z-index: 1; font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--saffron); font-style: italic; pointer-events: none; text-shadow: 0 4px 30px rgba(246, 238, 226, .8); }
.step__img { aspect-ratio: 3/4; margin-bottom: 24px; box-shadow: 0 30px 60px -30px rgba(42, 31, 24, .6); }
.step:nth-child(odd) { transform: translateY(40px); }
.step h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.journey__end { flex: 0 0 min(420px, 80vw); text-align: center; }
.journey__arabic { font-family: var(--arabic); font-size: clamp(80px, 10vw, 150px); line-height: 1.2; color: var(--terracotta); margin: 0; }
.journey__quote { font-family: var(--serif); font-size: 34px; font-style: italic; line-height: 1.2; }
.journey__quote small { font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--muted); }
.journey__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 2px; background: var(--line-dark); }
.journey__progress span { display: block; height: 100%; width: 100%; background: var(--terracotta); transform-origin: left; transform: scaleX(0); }

/* ---------- La Carte ---------- */
.carte { background: var(--sand-2); }
.tabs { position: relative; display: flex; justify-content: center; gap: 6px; margin: 0 auto 60px; padding: 6px; border: 1px solid var(--line-dark); border-radius: 999px; width: max-content; max-width: 100%; background: var(--sand); }
.tabs button { position: relative; z-index: 1; background: none; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); transition: color .4s var(--ease); }
.tabs button.is-active { color: var(--light); }
.tabs__indicator { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.carte__layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.panel.is-active .menu-list li { animation: itemIn .7s var(--ease) both; }
.panel.is-active .menu-list li:nth-child(2) { animation-delay: .06s; }
.panel.is-active .menu-list li:nth-child(3) { animation-delay: .12s; }
.panel.is-active .menu-list li:nth-child(4) { animation-delay: .18s; }
.panel.is-active .menu-list li:nth-child(5) { animation-delay: .24s; }
@keyframes itemIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 22px 0; border-bottom: 1px solid var(--line-dark); transition: padding-left .4s var(--ease); }
.menu-list li:hover { padding-left: 12px; }
.menu-list__row { display: flex; align-items: baseline; gap: 14px; }
.menu-list h4 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; }
.menu-list h4 small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.dots { flex: 1; border-bottom: 1px dotted var(--sand-3); transform: translateY(-6px); min-width: 20px; }
.price { font-family: var(--serif); font-size: 26px; color: var(--terracotta); white-space: nowrap; }
.menu-list p { margin: 4px 0 0; color: var(--muted); font-size: 15px; max-width: 560px; }
.menu-note { color: var(--muted); font-size: 15px; font-style: italic; margin: 0 0 8px; }
.carte__aside { position: sticky; top: 110px; }
.carte__visual { aspect-ratio: 3/4; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(42, 31, 24, .7); }
.carte__visual .carte__img { transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.carte__visual .carte__img.is-swapping { opacity: 0; transform: scale(1.22); }
.carte__visual .steam { left: 0; top: 0; width: 100%; height: 100%; }
.carte__cta { margin-top: 26px; text-align: center; }
.carte__cta p { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.carte__phone { display: block; font-family: var(--serif); font-size: 40px; text-decoration: none; color: var(--ink); margin: 4px 0 6px; }

/* ---------- Galerie ---------- */
.galerie { background: var(--ink); color: var(--light); --arch-color: var(--ink); }
.masonry { columns: 3; column-gap: 18px; }
.masonry__item { display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--night-2); break-inside: avoid; position: relative; }
.masonry__item img { width: 100%; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.9) brightness(.92); }
.masonry__item:hover img { transform: scale(1.06); filter: saturate(1.08) brightness(1); }
.masonry__item:nth-child(4n+2) { border-radius: 999px 999px 16px 16px; }
.galerie__note { margin-top: 20px; color: var(--light-muted); font-size: 14px; text-align: center; }
.galerie__note a { color: var(--saffron-2); }

/* ---------- Avis ---------- */
.avis { background: var(--sand); }
.avis__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.avis__big { font-family: var(--serif); font-size: clamp(100px, 13vw, 180px); line-height: .9; margin: 0; color: var(--ink); }
.avis__big small { font-size: .3em; color: var(--muted); }
.avis__stars { color: var(--saffron); font-size: 26px; letter-spacing: .14em; margin: 10px 0 0; }
.avis__count { color: var(--muted); }
.avis__quotes { display: grid; gap: 22px; }
.quote { position: relative; margin: 0; padding: 50px clamp(26px, 4vw, 54px) 40px; background: #fffaf2; border-radius: 26px; border: 1px solid var(--line-dark); }
.quote__mark { position: absolute; top: -30px; left: 30px; font-family: var(--serif); font-size: 140px; line-height: 1; color: var(--saffron); }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-style: italic; }
.quote figcaption { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.avis__ask { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px clamp(26px, 4vw, 54px); border-radius: 26px; background: var(--ink); color: var(--light); }
.avis__ask p { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.avis__ask p small { display: block; font-family: var(--sans); font-size: 14px; color: var(--light-muted); margin-top: 4px; }

/* ---------- Devis ---------- */
.devis { background: var(--night); color: var(--light); }
.devis__bg { position: absolute; inset: 0; overflow: hidden; }
.devis__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: blur(2px); }
.devis__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 18, 13, .7), rgba(26, 18, 13, .95) 60%); }
.devis__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.devis__intro > p { color: var(--light-muted); font-size: 18px; }
.recap { margin: 36px 0; padding: 24px 26px; border: 1px solid var(--line-light); border-radius: 20px; background: rgba(18, 13, 10, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.recap__title { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--saffron-2); margin-bottom: 10px; }
.recap dl { margin: 0; display: grid; gap: 8px; }
.recap dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line-light); }
.recap dt { color: var(--light-muted); }
.recap dd { margin: 0; text-align: right; font-weight: 600; transition: color .4s; }
.recap dd.is-flash { color: var(--saffron-2); }
.devis__direct { color: var(--light-muted); font-size: 15px; }
.devis__direct a { font-family: var(--serif); font-size: 32px; color: var(--light); text-decoration: none; }

.form { position: relative; background: var(--sand); color: var(--text); border-radius: 30px; padding: clamp(28px, 4vw, 52px); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8); }
.form::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(176, 77, 36, .18); border-radius: 22px; pointer-events: none; }
.form__progress { height: 3px; border-radius: 3px; background: var(--sand-3); overflow: hidden; }
.form__progress span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--terracotta), var(--saffron)); transition: width .7s var(--ease); }
.form__stepcount { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--muted); margin: 14px 0 22px; }
.form__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__step.is-active { animation: stepIn .6s var(--ease) both; }
.form__step.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.form legend { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin-bottom: 26px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 18px; border: 1px solid var(--sand-3); border-radius: 18px; background: #fffaf2; font-weight: 600; font-size: 15px; line-height: 1.3; transition: border-color .3s, background-color .3s, transform .3s var(--ease), box-shadow .3s; }
.choice i { font-style: normal; font-size: 24px; }
.choice:hover span { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(42, 31, 24, .5); }
.choice input:checked + span { border-color: var(--terracotta); background: #fff; box-shadow: 0 0 0 2px var(--terracotta) inset; }
.choice input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field label small { font-weight: 500; color: var(--muted); }
.field output { color: var(--terracotta); font-family: var(--serif); font-size: 22px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--sand-3); background: #fffaf2; font: inherit; font-size: 16px; color: var(--text); transition: border-color .3s, box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b04d24' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); background: #fff; box-shadow: 0 0 0 4px rgba(176, 77, 36, .12); }
.field .is-invalid { border-color: #c0392b !important; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12) !important; }
.field textarea { resize: vertical; min-height: 90px; }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--terracotta) var(--p, 12%), var(--sand-3) var(--p, 12%)); outline-offset: 8px; margin: 14px 0 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--terracotta); border: 5px solid #fff; box-shadow: 0 4px 14px rgba(42, 31, 24, .35); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--terracotta); border: 5px solid #fff; box-shadow: 0 4px 14px rgba(42, 31, 24, .35); }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-group--wrap { margin-bottom: 22px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sand-3); background: #fffaf2; font-size: 14px; font-weight: 600; transition: all .3s var(--ease); }
.pill:hover span { border-color: var(--terracotta); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--light); }
.pill input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.consent { display: flex; gap: 12px; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; margin-top: 6px; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--terracotta); margin-top: 1px; }
.consent a { color: var(--terracotta); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { color: #b03a2e; font-size: 14px; font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.form__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--sand-3); }
.form__nav [data-next], .form__nav [data-submit] { margin-left: auto; }
.form__nav .btn--gold::before { background: var(--ink); }
.form__nav .btn--gold:hover { color: var(--light); }
.form.is-sending [data-submit] { opacity: .6; pointer-events: none; }
.form__success { text-align: center; padding: 30px 0 10px; }
.form__success svg { width: 110px; height: 110px; margin: 0 auto 20px; fill: none; stroke: var(--terracotta); stroke-width: 2; }
.form__success svg polygon, .form__success svg path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease) forwards; }
.form__success svg path { stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; animation-delay: .5s; }
.form__success h3 { font-family: var(--serif); font-size: 40px; margin-bottom: 10px; }
.form__success p { color: var(--muted); }
.form__success .btn--ghost { color: var(--ink); border-color: var(--sand-3); margin-top: 10px; }
.form__success .btn--ghost::before { background: var(--ink); }
.form__success .btn--ghost:hover { color: var(--light); }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__grid .section__head { position: sticky; top: 120px; }
.faq__grid .section__head > p:not(.eyebrow) { color: var(--muted); }
.faq__list details { border-bottom: 1px solid var(--line-dark); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; font-family: var(--sans); font-size: 20px; color: var(--terracotta); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.faq__list details[open] summary::after { transform: rotate(135deg); background: var(--terracotta); color: var(--light); border-color: var(--terracotta); }
.faq__list details p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 620px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--light); padding: clamp(90px, 10vw, 140px) 0 40px; position: relative; --arch-color: var(--ink); }
.footer__bg { position: absolute; inset: 0; overflow: hidden; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.footer__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(18, 13, 10, .7) 50%, var(--ink)); }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer .footer__ar { font-family: var(--arabic); font-size: clamp(40px, 6vw, 80px); color: var(--saffron); margin: 0; line-height: 1.3; }
.footer .footer__big { color: var(--light); font-family: var(--serif); font-style: italic; font-size: clamp(80px, 15vw, 220px); line-height: .85; margin: 0; letter-spacing: -.02em; }
.footer__big span { color: var(--saffron); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 50px 0; }
.footer__logo { width: 170px; margin-bottom: 16px; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron-2); margin-bottom: 14px; font-weight: 700; }
.footer p { color: var(--light-muted); font-size: 15px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--saffron-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--light-muted); padding-top: 26px; border-top: 1px solid var(--line-light); }
.footer__bottom p { margin: 0; font-size: 13px; }

.mobilebar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(14, 10, 8, .95); display: grid; place-items: center; padding: 40px 70px; animation: fadeIn .4s var(--ease); }
.lightbox img { max-height: 86vh; max-width: 100%; width: auto; border-radius: 14px; animation: zoomIn .5s var(--ease); }
.lightbox button { position: absolute; background: none; border: 1px solid var(--line-light); color: var(--light); width: 52px; height: 52px; border-radius: 50%; font-size: 22px; cursor: pointer; transition: background-color .3s, color .3s; }
.lightbox button:hover { background: var(--saffron); color: var(--ink); border-color: var(--saffron); }
.lightbox__close { top: 20px; right: 20px; font-size: 28px !important; }
.lightbox__prev { left: 14px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 14px; top: 50%; margin-top: -26px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .route__stop.reveal { transform: translateY(80px); clip-path: inset(25% 0 0 0); transition: clip-path 1.5s var(--ease-in-out), opacity 1s, transform 1.5s var(--ease); }
.js .route__stop.reveal.is-in { clip-path: inset(0 0 0 0); transform: none; }
.js .route__stop--b.reveal.is-in { transform: translateY(60px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__phone { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; flex-direction: row; }
  .cards .card:last-child .card__img { flex: 0 0 42%; aspect-ratio: auto; margin: 12px 0 12px 12px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .nav .btn--sm { display: none; }
  .nav__logo { width: 140px; }
  .hero { padding-top: 96px; padding-bottom: 60px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; height: 50vh; min-height: 340px; max-height: 470px; }
  .hero__arch-wrap { inset: 0; width: min(58%, 320px); margin: 0 auto; }
  .hero__card--a { width: min(26%, 160px); left: 3%; bottom: 3%; }
  .hero__card--b { width: min(22%, 130px); right: 3%; top: 8%; }
  .hero__orbit { width: 110px; right: 0; bottom: -4%; }
  .hero__trust strong { font-size: 32px; }
  .hero__scroll { display: none; }
  .lantern--1 { left: 5%; }
  .lantern--2 { left: auto; right: 7%; width: 40px; height: 190px; }
  .lantern--3 { left: 18%; }

  .route { grid-template-columns: 1fr 1fr; gap: 16px; }
  .route__path { display: none; }
  .route__stop--b, .js .route__stop--b.reveal.is-in { transform: translateY(40px); }
  .route__stop figcaption strong { font-size: 26px; }
  .pillars { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .histoire__text { text-align: left; }

  .sens { min-height: 90vh; padding: 110px 0; }
  .sig { grid-template-columns: 1fr auto; grid-template-areas: "title price" "desc desc" "img img"; padding: 26px 0; }
  .sig:hover { padding-left: 0; padding-right: 0; }
  .sig::before { display: none; }
  .sig:hover h3 { color: var(--ink); }
  .sig:hover .sig__price { color: var(--terracotta); }
  .sig:hover p { color: var(--muted); }
  .sig__num { display: none; }
  .sig__thumb { display: block; grid-area: img; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; margin-top: 16px; }
  .sig-float { display: none; }
  .signatures__hint { display: none; }

  .carte__layout, .avis__grid, .devis__grid, .faq__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; flex-direction: column; }
  .cards .card:last-child .card__img { flex: none; aspect-ratio: 1/1; margin: 12px 12px 0; }

  .journey { height: auto !important; padding: 90px 0; }
  .journey__sticky { position: relative; height: auto; display: block; overflow: visible; }
  .journey__track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px var(--gutter) 30px; gap: 22px; scrollbar-width: none; }
  .journey__track::-webkit-scrollbar { display: none; }
  .journey__intro, .step, .journey__end { scroll-snap-align: start; }
  .step { flex-basis: 74vw; }
  .step:nth-child(odd) { transform: none; }
  .journey__progress { display: none; }
  .journey__intro { flex-basis: 84vw; }

  .carte__aside { position: static; order: -1; max-width: 420px; margin: 0 auto 10px; width: 100%; }
  .carte__visual { aspect-ratio: 4/3; }
  .carte__cta { display: none; }
  .tabs { width: auto; border-radius: 22px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex-shrink: 0; padding: 10px 16px; }
  .masonry { columns: 2; column-gap: 12px; }
  .masonry__item { margin-bottom: 12px; }
  .faq__grid .section__head { position: static; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .recap { display: none; }

  .mobilebar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 80; padding: 8px; border-radius: 999px; background: rgba(18, 13, 10, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .6s var(--ease); }
  .mobilebar.is-visible { transform: none; }
  .mobilebar a { display: grid; place-items: center; padding: 12px 6px; border-radius: 999px; color: var(--light); text-decoration: none; font-size: 14px; font-weight: 700; }
  .mobilebar .mobilebar__main { background: var(--saffron); color: var(--ink); }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .form { border-radius: 22px; padding: 24px 18px; }
  .form::before { display: none; }
  .choice span { padding: 16px 14px; font-size: 14px; }
  .form__nav .btn { padding: 16px 22px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__cta .btn { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__trust { gap: 18px; }
  .hero__trust span { font-size: 12px; }
  .lightbox { padding: 70px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; margin: 0; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sens__text .w { opacity: 1; }
}

/* =========================================================
   Thème clair & couleurs orientales
   ========================================================= */
:root {
  --majorelle: #2a4a9e;
  --majorelle-deep: #1c2f66;
  --teal: #1f6f6a;
  --clay: #7c2f16;
  --script: "Allura", cursive;
}

/* Navigation sur fond clair */
.nav__links a, .nav__phone { color: var(--ink); }
.nav__burger { border-color: var(--line-dark); }
.nav__burger span { background: var(--ink); }
.nav.is-scrolled { background: rgba(246, 238, 226, .86); box-shadow: 0 1px 0 rgba(42, 31, 24, .08), 0 10px 30px -20px rgba(42, 31, 24, .4); }
.menu-open .nav__logo img { filter: invert(1); }
.menu-open .nav__burger span { background: var(--light); }
.menu-open .nav__burger { border-color: var(--line-light); }

/* Hero clair */
.hero { background: radial-gradient(70% 80% at 78% 42%, #fbe3c2 0%, #f8ecdb 38%, var(--sand) 70%); color: var(--ink); }
.hero__pattern { opacity: .1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%232a4a9e' stroke-width='.8'%3E%3Cpolygon points='50,4 63.5,17.5 82.5,17.5 82.5,36.5 96,50 82.5,63.5 82.5,82.5 63.5,82.5 50,96 36.5,82.5 17.5,82.5 17.5,63.5 4,50 17.5,36.5 17.5,17.5 36.5,17.5'/%3E%3Ccircle cx='50' cy='50' r='12'/%3E%3Cpath d='M0 0 L17.5 17.5 M100 0 L82.5 17.5 M0 100 L17.5 82.5 M100 100 L82.5 82.5'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: radial-gradient(60% 70% at 85% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 70% at 85% 45%, #000 20%, transparent 75%); }
.hero em { color: var(--terracotta); }
.hero__lead { color: var(--muted); }
.hero__trust { border-top-color: var(--line-dark); }
.hero__trust strong { color: var(--terracotta); }
.hero__trust span { color: var(--muted); }
.hero .btn--ghost { border-color: rgba(42, 31, 24, .3); color: var(--ink); backdrop-filter: none; }
.hero .btn--ghost::before { background: var(--ink); }
.hero .btn--ghost:hover { color: var(--light); }
.hero__arch-line { stroke: var(--terracotta); opacity: .45; }
.hero__arch { box-shadow: 0 50px 100px -40px rgba(80, 40, 15, .55), 0 0 0 8px rgba(255, 255, 255, .5); }
.hero__card { border-color: var(--sand); box-shadow: 0 30px 60px -25px rgba(80, 40, 15, .55); }
.hero__orbit { fill: var(--terracotta); }
.hero__arabic { color: var(--majorelle); opacity: .12; }
.hero__scroll { border-color: var(--line-dark); }
.lantern__glow { background: radial-gradient(circle, rgba(255, 180, 60, .38), rgba(255, 150, 30, .1) 40%, transparent 70%); }
.lantern svg { filter: drop-shadow(0 10px 14px rgba(80, 40, 15, .35)); }

/* Petit vol Meknès → Périgord */
.flight { display: flex; align-items: flex-end; gap: 12px; margin: -6px 0 26px; max-width: 460px; }
.flight__city { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1; color: var(--majorelle); white-space: nowrap; padding-bottom: 2px; }
.flight__svg { flex: 1; min-width: 140px; height: 56px; overflow: visible; }
.flight__trail { fill: none; stroke: var(--terracotta); stroke-width: 1.6; stroke-dasharray: 1 7; stroke-linecap: round; opacity: .7; }
.flight__dot { fill: var(--saffron); }
.flight__plane { fill: var(--majorelle); }

/* Bandeau en bleu Majorelle */
.ribbon { background: linear-gradient(90deg, var(--majorelle-deep), var(--majorelle), var(--majorelle-deep)); color: var(--sand); }
.ribbon i { color: var(--saffron-2); }

/* Trajet de l'histoire */
.route__plane { width: 30px; height: 30px; fill: var(--majorelle); text-shadow: none; filter: drop-shadow(0 4px 8px rgba(42, 74, 158, .35)); }
.route__ar { color: var(--majorelle); }

/* Mahjouba */
.maman { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; margin-top: clamp(110px, 14vw, 170px); }
.maman__photo { position: relative; margin: 0; }
.maman__frame { aspect-ratio: 4/5; box-shadow: 0 50px 100px -45px rgba(80, 40, 15, .6); }
.maman__frame img { object-position: 50% 25%; }
.maman__photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--terracotta); border-radius: 999px 999px 24px 24px; opacity: .35; pointer-events: none; }
.maman__photo::after { content: ""; position: absolute; right: -40px; top: 12%; width: 140px; height: 140px; opacity: .25; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%232a4a9e' stroke-width='1.2'%3E%3Cpolygon points='50,4 63.5,17.5 82.5,17.5 82.5,36.5 96,50 82.5,63.5 82.5,82.5 63.5,82.5 50,96 36.5,82.5 17.5,82.5 17.5,63.5 4,50 17.5,36.5 17.5,17.5 36.5,17.5'/%3E%3Ccircle cx='50' cy='50' r='12'/%3E%3C/g%3E%3C/svg%3E"); animation: spin 40s linear infinite; z-index: -1; }
.maman__badge { position: absolute; left: -26px; bottom: 10%; width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--majorelle); color: var(--sand); font-size: 12px; line-height: 1.25; letter-spacing: .04em; box-shadow: 0 20px 40px -15px rgba(28, 47, 102, .7); animation: float 6s ease-in-out infinite; }
.maman__badge strong { display: block; font-family: var(--serif); font-size: 44px; line-height: .9; font-weight: 500; color: var(--saffron-2); }
@keyframes float { 50% { transform: translateY(-10px); } }
.maman__title { font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); line-height: 1.08; margin-bottom: 26px; color: var(--ink); }
.maman__title em { color: var(--terracotta); }
.maman__text > p:not(.eyebrow):not(.maman__sign) { color: var(--muted); font-size: 17px; }
.maman__text strong { color: var(--ink); font-weight: 700; }
.maman__quote { margin: 30px 0 6px; padding: 6px 0 6px 24px; border-left: 2px solid var(--saffron); font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: var(--ink); }
.maman__sign { font-family: var(--script); font-size: 52px; line-height: 1.1; color: var(--terracotta); margin: 0 0 26px 24px; }
.histoire .pillars { max-width: 1000px; margin: clamp(80px, 10vw, 120px) auto 0; }

/* Prestations en clair */
.prestations { background: var(--sand); color: var(--text); }
.prestations > .container::before { opacity: .045; }
.card { background: #fffaf2; border-color: var(--line-dark); box-shadow: 0 30px 60px -45px rgba(80, 40, 15, .5); }
.card:hover { border-color: rgba(176, 77, 36, .45); }
.card::after { background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(232, 150, 11, .1), transparent 45%); }
.card__num { color: var(--terracotta); }
.card h3 { color: var(--ink); }
.card p { color: var(--muted); }
.card__tags li { border-color: var(--line-dark); color: var(--muted); }
.card__link { color: var(--terracotta); }

.journey { background: var(--sand-2); }
.step__num { text-shadow: 0 4px 30px rgba(238, 226, 207, .9); }
.carte { background: var(--sand); }
.carte .tabs { background: #fffaf2; }

/* Galerie en bleu Majorelle profond */
.galerie { background: var(--majorelle-deep); --arch-color: var(--majorelle-deep); }
.galerie::before { box-shadow: none; }
.galerie > .container::before { content: ""; position: absolute; inset: -140px 0; opacity: .07; pointer-events: none; background-image: var(--zellige); background-size: 120px; }
.masonry__item { background: rgba(255, 255, 255, .06); }

/* Devis en terre cuite */
.devis { background: var(--clay); --arch-color: var(--clay); }
.devis__bg img { opacity: .25; }
.devis__bg::after { background: linear-gradient(90deg, rgba(124, 47, 22, .75), rgba(92, 32, 14, .94) 60%); }
.recap { background: rgba(60, 20, 8, .35); }

/* Icônes du formulaire */
.choice__icon { display: block; width: 34px; height: 34px; color: var(--terracotta); }
.choice__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.choice input:checked + span .choice__icon { color: var(--majorelle); }

@media (max-width: 900px) {
  .maman { grid-template-columns: 1fr; margin-top: 110px; }
  .maman__photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .maman__badge { left: -6px; width: 108px; height: 108px; }
  .maman__badge strong { font-size: 36px; }
  .maman__photo::after { right: -10px; width: 100px; height: 100px; }
  .flight { max-width: 100%; }
  .flight__city { font-size: 17px; }
}

.hero__inner { grid-template-columns: 1.2fr .9fr; }
.hero__title { font-size: clamp(42px, 5.4vw, 80px); }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

.title:not(.title--light) em, .lead-big em { color: var(--terracotta); }
@media (max-width: 900px) { .flight__svg { min-width: 0; } .flight { gap: 8px; } }
.hero__text { min-width: 0; }
.flight { width: 100%; }

/* =========================================================
   Charte Meknès Traiteur : safran, terre cuite, sable, encre (sans bleu)
   ========================================================= */
:root { --majorelle: var(--terracotta); --majorelle-deep: #8f3d1b; }
.hero__pattern { background-image: var(--zellige); opacity: .09; }
.hero__arabic { color: var(--saffron); opacity: .16; }
.flight__city { color: var(--terracotta); }
.flight__plane { fill: var(--saffron); }
.route__plane { fill: var(--saffron); filter: drop-shadow(0 4px 8px rgba(176, 77, 36, .35)); }
.route__ar { color: var(--terracotta); }
.ribbon { background: linear-gradient(90deg, #d17f06, var(--saffron), #f2ae3c, var(--saffron), #d17f06); color: var(--ink); }
.ribbon i { color: var(--terracotta); }
.maman__badge { background: var(--terracotta); color: var(--sand); box-shadow: 0 20px 40px -15px rgba(176, 77, 36, .7); }
.maman__photo::after { background-image: var(--zellige); background-size: 100% 100%; opacity: .35; }
.choice input:checked + span .choice__icon { color: var(--saffron); }
.galerie { background: var(--sand-2); color: var(--text); }
.galerie > .container::before { opacity: .05; }
.galerie__note { color: var(--muted); }
.galerie__note a { color: var(--terracotta); }
.masonry__item { background: var(--sand-3); box-shadow: 0 20px 40px -30px rgba(80, 40, 15, .5); }
