@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dm-sans-latin-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'El Messiri';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/fonts/el-messiri-arabic-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/fraunces-latin-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/fraunces-latin-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/noto-sans-arabic-arabic-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Caravane Mustapha — couleurs du désert de Zagora :
   sable, dune, terre rouge du Drâa, indigo des tenues bleues, nuit étoilée. */
:root {
  --sable: #f6ecdc;
  --sable-2: #efe0c7;
  --creme: #fbf6ee;
  --dune: #e3a35c;
  --dune-fonce: #c9813c;
  --terre: #b9512a;
  --terre-fonce: #933c1c;
  --soleil: #f4b544;
  --indigo: #24357a;
  --nuit: #141b38;
  --nuit-2: #1f2a55;
  --encre: #2b1d14;
  --encre-2: #5d4635;
  --palme: #4f6b3a;
  --wa: #1fa855;
  --wa-fonce: #168a45;
  --ligne: rgba(43, 29, 20, .12);
  --ombre: 0 18px 50px -20px rgba(70, 35, 10, .35);
  --rayon: 22px;
  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gouttiere: clamp(16px, 4vw, 40px);
  --max: 1200px;
  color-scheme: light;
}
.lang-ar {
  --f-titre: "El Messiri", "Noto Sans Arabic", Tahoma, sans-serif;
  --f-texte: "Noto Sans Arabic", "DM Sans", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--sable); color: var(--encre);
  font: 400 1.0625rem/1.65 var(--f-texte); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.lang-ar body, body.lang-ar { line-height: 1.85; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terre); text-underline-offset: 3px; }
a:hover { color: var(--terre-fonce); }
h1, h2, h3 { font-family: var(--f-titre); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.35; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--terre); }
.lang-ar h1 em, .lang-ar h2 em { font-style: normal; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 6px; }
.saut { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 100; background: var(--nuit); color: #fff; padding: 10px 14px; border-radius: 8px; transform: translateY(-160%); transition: transform .2s; }
.saut:focus { transform: none; }

/* ---------- boutons ---------- */
.btn {
  --bg: var(--terre); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .85em 1.35em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font: 600 1rem/1.1 var(--f-texte);
  text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45);
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.btn-wa { --bg: var(--wa); }
.btn-wa:hover { --bg: var(--wa-fonce); }
.btn-terre { --bg: var(--terre); }
.btn-clair { --bg: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-clair:hover { --bg: rgba(255, 255, 255, .26); }
.btn.grand { font-size: 1.08rem; padding: 1em 1.6em; }
.btn.petit { padding: .6em 1em; font-size: .92rem; }
.btn.plein { width: 100%; }
.lien-fleche { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.lien-fleche svg, .plus svg, .autres svg { width: 1.1em; height: 1.1em; transition: transform .25s; }
.lang-ar .lien-fleche svg, .lang-ar .plus svg, .lang-ar .autres svg { transform: scaleX(-1); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- en-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px var(--gouttiere); transition: background .35s, padding .35s, box-shadow .35s; color: #fff;
}
/* Le fond flouté est sur ::before et pas sur l'en-tête : un backdrop-filter sur l'en-tête enfermerait le menu
   plein écran (position: fixed) dans la hauteur de l'en-tête. C'était le bug du menu sur téléphone. */
.entete::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 27, 56, 0); transition: background .35s, box-shadow .35s; pointer-events: none; }
.entete.colle { padding-block: 9px; }
.entete.colle::before { background: rgba(20, 27, 56, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 30px -18px #000; }
.marque { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-inline-end: auto; min-width: 0; position: relative; z-index: 2; }
.marque:hover { color: inherit; }
.logo-mark { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--creme); }
.logo-mark.grand { width: 72px; height: 72px; }
.marque span { display: flex; flex-direction: column; line-height: 1.05; }
.marque b { font: 700 1.25rem var(--f-titre); letter-spacing: .01em; }
.marque i { font: 500 .72rem var(--f-texte); font-style: normal; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.lang-ar .marque i { letter-spacing: 0; text-transform: none; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.nav > a:not(.btn) { color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .92; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; inset: auto 0 -4px; height: 2px; background: var(--soleil); transform: scaleX(0); transition: transform .3s; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.langues { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.langues a { color: inherit; text-decoration: none; font-size: .82rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; opacity: .85; }
.langues-tete { position: relative; z-index: 2; flex: none; background: rgba(20, 27, 56, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.langues-tete a { min-width: 38px; min-height: 36px; padding: 4px 8px; display: grid; place-items: center; font-size: .86rem; opacity: 1; }
.langues-tete a[lang="ar"] { font-family: "Noto Sans Arabic", Tahoma, sans-serif; font-size: .92rem; }
.langues a[aria-current] { background: var(--creme); color: var(--nuit); opacity: 1; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); cursor: pointer; padding: 0; position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .entete { gap: 10px; }
  .burger { display: block; flex: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 22px;
    padding: 90px var(--gouttiere) calc(40px + env(safe-area-inset-bottom));
    background: radial-gradient(circle at 50% 120%, var(--terre) 0, var(--nuit) 60%) var(--nuit); font-size: 1.4rem;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav > a:not(.btn) { font-size: 1.5rem; font-family: var(--f-titre); padding: 4px 12px; }
  .nav .btn { margin-top: 8px; font-size: 1.05rem; padding: .9em 1.6em; }
  .nav.ouvert { opacity: 1; visibility: visible; }
  .marque i { display: none; }
  .marque b { font-size: 1.12rem; }
  .logo-mark { width: 40px; height: 40px; }
}
@media (max-width: 370px) { .marque span { display: none; } }
/* Menu ouvert : la page derrière ne bouge plus */
html.menu-ouvert, html.menu-ouvert body { overflow: hidden; }
@media (min-width: 921px) { .langues-tete { order: 3; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media, .hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-video { opacity: 0; transition: opacity 1.2s; }
.hero-video.prete { opacity: 1; }
.hero-voile { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(20, 22, 40, .62) 0, rgba(20, 22, 40, .25) 48%, transparent 75%),
  linear-gradient(180deg, rgba(20, 27, 56, .55) 0, rgba(20, 27, 56, .05) 35%, rgba(43, 20, 8, .3) 62%, rgba(20, 15, 10, .78) 100%); }
.lang-ar .hero-voile { background:
  linear-gradient(270deg, rgba(20, 22, 40, .62) 0, rgba(20, 22, 40, .25) 48%, transparent 75%),
  linear-gradient(180deg, rgba(20, 27, 56, .55) 0, rgba(20, 27, 56, .05) 35%, rgba(43, 20, 8, .3) 62%, rgba(20, 15, 10, .78) 100%); }
.hero-soleil { position: absolute; z-index: -1; width: 46vmin; height: 46vmin; border-radius: 50%; right: 8vw; top: 16vh;
  background: radial-gradient(circle, rgba(255, 210, 120, .55), rgba(255, 170, 60, .12) 45%, transparent 70%); filter: blur(4px); animation: respire 7s ease-in-out infinite; pointer-events: none; }
.lang-ar .hero-soleil { right: auto; left: 8vw; }
@keyframes respire { 50% { transform: scale(1.08); opacity: .85; } }
.hero-txt { padding: 0 var(--gouttiere) clamp(140px, 22vh, 220px); max-width: calc(var(--max) + 2 * var(--gouttiere)); width: 100%; margin: 0 auto; }
.sur-titre { display: inline-flex; gap: .6em; align-items: center; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1.2em; opacity: .95; }
.lang-ar .sur-titre { letter-spacing: 0; font-size: .95rem; }
.sur-titre::before { content: ""; width: 28px; height: 2px; background: var(--soleil); }
.hero h1, .page-hero h1 { font-size: clamp(2.8rem, 8.4vw, 6.8rem); max-width: 13ch; margin-bottom: .3em; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); font-weight: 800; }
.hero h1 em, .page-hero h1 em { color: #ffc65c; display: block; text-shadow: 0 2px 6px rgba(40, 15, 0, .55), 0 6px 40px rgba(0, 0, 0, .45); }
.lang-ar .hero h1, .lang-ar .page-hero h1 { font-size: clamp(2.5rem, 7.4vw, 6rem); max-width: 16ch; }
.hero-sous { font-size: clamp(1.08rem, 1.8vw, 1.3rem); max-width: 40ch; margin-bottom: 1.6em; opacity: .95; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dunes { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 16vw, 220px); z-index: 1; pointer-events: none; }
.hero-dunes .d1 { fill: var(--dune); opacity: .55; }
.hero-dunes .d2 { fill: var(--dune-fonce); opacity: .55; }
.hero-dunes .d3 { fill: var(--sable); }
.hero .h-anim { opacity: 0; transform: translateY(24px); animation: monte 1s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes monte { to { opacity: 1; transform: none; } }

/* ---------- bandeau qui défile ---------- */
.defile { background: var(--sable); overflow: hidden; padding: 6px 0 22px; }
.defile-in { display: flex; gap: 0; width: max-content; animation: defile 38s linear infinite; }
.lang-ar .defile-in { animation-name: defile-ar; }
.defile span { font: italic 500 clamp(1.3rem, 2.6vw, 2rem) var(--f-titre); color: var(--terre); padding: 0 .9em; white-space: nowrap; display: flex; align-items: center; gap: 1.8em; }
.lang-ar .defile span { font-style: normal; }
.defile span::after { content: "✦"; color: var(--dune); font-style: normal; font-size: .7em; }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes defile-ar { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 130px) var(--gouttiere); max-width: calc(var(--max) + 2 * var(--gouttiere)); margin: 0 auto; }
.kicker { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--terre); margin-bottom: 1em; display: inline-flex; align-items: center; gap: .7em; }
.lang-ar .kicker { letter-spacing: 0; font-size: .95rem; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.titre-section { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.titre-section .kicker { justify-content: center; }
.titre-section p:not(.kicker) { color: var(--encre-2); font-size: 1.1rem; }
.centre { text-align: center; margin-top: 36px; }
.intro-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.intro-txt { font-size: 1.15rem; color: var(--encre-2); padding-top: 2.6em; }
.intro-txt p:first-child::first-letter { font: 700 3.4em/0.8 var(--f-titre); float: left; margin: .08em .1em 0 0; color: var(--terre); }
.lang-ar .intro-txt p:first-child::first-letter { font: inherit; float: none; margin: 0; color: inherit; }
@media (max-width: 820px) { .intro-grille { grid-template-columns: 1fr; } .intro-txt { padding-top: 0; } }

/* ---------- cartes excursions ---------- */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.carte-exc a, .carte-art a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--creme); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.carte-exc a:hover, .carte-art a:hover { transform: translateY(-6px) rotate(-.3deg); color: inherit; box-shadow: 0 28px 60px -24px rgba(70, 35, 10, .5); }
.carte-img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.carte-art .carte-img { aspect-ratio: 16 / 10; }
.carte-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
a:hover .carte-img img { transform: scale(1.07); }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(251, 246, 238, .92); color: var(--encre); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }
.lang-ar .badge { left: auto; right: 14px; }
.carte-txt { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.carte-txt h3 { font-size: 1.5rem; }
.carte-txt p { color: var(--encre-2); flex: 1; }
.plus { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--terre); }
a:hover .plus svg { transform: translateX(5px); }
.lang-ar a:hover .plus svg { transform: scaleX(-1) translateX(5px); }
.cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terre); margin-bottom: .5em; }
.lang-ar .cat { letter-spacing: 0; font-size: .88rem; }
.sur-mesure { margin-top: clamp(20px, 3vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--nuit); color: #f3e8d6; border-radius: var(--rayon); padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.sur-mesure::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; bottom: -150px; background: radial-gradient(circle, var(--soleil), transparent 70%); opacity: .5; }
.sur-mesure > div { max-width: 640px; position: relative; z-index: 1; }
.sur-mesure p { color: #d9cbb4; margin: 0; }
.sur-mesure .btn { position: relative; z-index: 1; }
@media (max-width: 900px) { .cartes { grid-template-columns: 1fr; } .carte-img { aspect-ratio: 16 / 11; } }

/* ---------- journée : du jour à la nuit ---------- */
.journee { --t: 0; position: relative; color: var(--encre); overflow: hidden;
  background: linear-gradient(180deg, var(--sable) 0%, #f2c58c 12%, #d9774a 30%, #5a2f4d 52%, var(--nuit) 70%, #1b2348 88%, #3b3a63 100%); }
.journee-ciel { position: absolute; inset: 0; pointer-events: none; }
.etoiles { position: absolute; left: 0; right: 0; top: 48%; height: 45%; width: 100%; fill: #fff; }
.etoiles circle { animation: scintille 3.6s ease-in-out infinite; opacity: .25; }
@keyframes scintille { 50% { opacity: 1; } }
.astre { position: absolute; width: 120px; height: 120px; border-radius: 50%; left: 50%; top: calc(8% + var(--t) * 60%); transform: translateX(-50%);
  background: radial-gradient(circle at 40% 40%, #fff6d8, var(--soleil) 55%, #e8742a); box-shadow: 0 0 80px 30px rgba(244, 181, 68, .35); opacity: calc(1 - var(--t) * 1.6); }
.journee-in { position: relative; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 7vw, 90px); }
.etape { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: center; }
.etape:nth-child(even) .etape-img { order: 2; }
.etape-img { border-radius: var(--rayon); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); aspect-ratio: 4 / 3; }
.etape-img img { width: 100%; height: 100%; object-fit: cover; }
.etape-txt { background: rgba(251, 246, 238, .9); padding: clamp(20px, 3vw, 34px); border-radius: var(--rayon); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.etape:nth-child(n+3) .etape-txt { background: rgba(20, 27, 56, .72); color: #f3e8d6; }
.etape:nth-child(n+3) .etape-txt p { color: #d9cbb4; }
.heure { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terre); margin-bottom: .6em; }
.lang-ar .heure { letter-spacing: 0; font-size: .95rem; }
.etape:nth-child(n+3) .heure { color: var(--soleil); }
.journee .titre-section h2 { color: var(--encre); }
@media (max-width: 820px) { .etape { grid-template-columns: 1fr; } .etape:nth-child(even) .etape-img { order: 0; } }

/* ---------- vidéos ---------- */
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.vid { margin: 0; border-radius: var(--rayon); overflow: hidden; position: relative; background: var(--nuit); aspect-ratio: 9 / 16; box-shadow: var(--ombre); }
.vid:nth-child(2) { transform: translateY(40px); }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
@media (max-width: 700px) {
  .vids { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gouttiere) * -1); padding-inline: var(--gouttiere); }
  .vid { scroll-snap-align: center; } .vid:nth-child(2) { transform: none; }
}

/* ---------- guide ---------- */
.guide-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.guide-img { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); transform: rotate(-1.2deg); }
.guide-img img { aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.guide-txt p { color: var(--encre-2); font-size: 1.1rem; }
.atouts { list-style: none; padding: 0; margin: clamp(48px, 7vw, 90px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.atouts li { background: var(--creme); border-radius: var(--rayon); padding: 24px; border: 1px solid var(--ligne); }
.atouts h3 { font-size: 1.2rem; margin-top: .6em; }
.atouts p { color: var(--encre-2); margin: 0; font-size: .98rem; }
.ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sable-2); color: var(--terre); }
.ico svg { width: 30px; height: 30px; }
@media (max-width: 960px) { .guide-grille { grid-template-columns: 1fr; } .atouts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .atouts { grid-template-columns: 1fr; } }

/* ---------- carte ---------- */
.carte-section { background: none; }
.carte-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.carte { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(70, 35, 10, .2)); }
.carte .route { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 3s ease-out; }
.carte .route.piste { stroke-dasharray: 1 10; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s 2.6s; }
.reveal.in .carte .route { stroke-dashoffset: 0; }
.reveal.in .carte .route.piste { opacity: 1; }
.lieu circle { fill: var(--creme); stroke: var(--terre); stroke-width: 3; }
.lieu.fort circle { fill: var(--terre); stroke: var(--creme); }
.lieu text { font: 600 17px var(--f-texte); fill: var(--encre); paint-order: stroke; stroke: var(--sable-2); stroke-width: 5px; }
.lieu.fort text { font: 700 21px var(--f-titre); }
.riviere { font: italic 500 15px var(--f-titre); fill: #4f7d9c; }
.nord text, .legende { font: 600 14px var(--f-texte); fill: var(--encre-2); }
.carte-grille p { color: var(--encre-2); font-size: 1.08rem; }
@media (max-width: 860px) { .carte-grille { grid-template-columns: 1fr; } }

/* ---------- galerie ---------- */
.galerie { columns: 4 230px; column-gap: 14px; }
.galerie.petite { columns: 4 200px; margin: 50px 0; }
.g-item { display: block; margin-bottom: 14px; border-radius: 16px; overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.g-item:hover img { transform: scale(1.05); filter: saturate(1.12); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 15, 30, .94); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.ouvert { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 94vw; width: auto; border-radius: 12px; box-shadow: 0 30px 80px #000; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-fermer { top: 18px; right: 18px; } .lb-prec { left: 14px; top: 50%; } .lb-suiv { right: 14px; top: 50%; }

/* ---------- articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.articles:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.blog-apercu .articles { grid-template-columns: repeat(3, 1fr); }
.carte-art .carte-txt h3 { font-size: 1.3rem; }
.carte-art .carte-txt p { font-size: .97rem; }
@media (max-width: 900px) { .articles, .articles:has(> :nth-child(4)), .blog-apercu .articles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.q { background: var(--creme); border-radius: 18px; border: 1px solid var(--ligne); overflow: hidden; }
.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 600 1.12rem var(--f-titre); }
.q summary::-webkit-details-marker { display: none; }
.q summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sable-2); position: relative; transition: transform .3s, background .3s; }
.q summary i::before, .q summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--terre); }
.q summary i::after { transform: rotate(90deg); transition: transform .3s; }
.q[open] summary i { background: var(--terre); } .q[open] summary i::before, .q[open] summary i::after { background: #fff; }
.q[open] summary i::after { transform: rotate(0); }
.r { padding: 0 24px 22px; color: var(--encre-2); }

/* ---------- appel final ---------- */
.cta-final { padding: 0 var(--gouttiere) clamp(64px, 9vw, 120px); }
.cta-in { position: relative; overflow: hidden; max-width: var(--max); margin: 0 auto; text-align: center; color: #f6ead7; border-radius: 34px;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 60px); background: radial-gradient(ellipse at 50% 130%, var(--terre) 0, #6b2f3a 35%, var(--nuit) 75%); }
.cta-in .etoiles { top: 0; height: 70%; opacity: .8; }
.cta-in h2 { position: relative; color: #fff; } .cta-in h2 em { color: var(--soleil); }
.cta-in p { position: relative; color: #e2d3bd; font-size: 1.15rem; }
.cta-in .btn { position: relative; margin-top: 10px; }
.tel { font-weight: 600; letter-spacing: .04em; opacity: .85; margin-top: 14px; }

/* ---------- pages intérieures ---------- */
.page-hero { position: relative; min-height: 88svh; display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero.court { min-height: 72svh; }
.page-hero-img, .page-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.page-hero-img img { animation: zoom-lent 18s ease-out forwards; }
@keyframes zoom-lent { from { transform: scale(1.12); } }
.page-hero-txt { padding: 120px var(--gouttiere) clamp(130px, 20vh, 200px); max-width: calc(var(--max) + 2 * var(--gouttiere)); width: 100%; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.4rem, 6.6vw, 5.2rem); max-width: 18ch; }
.lang-ar .page-hero h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
.fil { font-size: .88rem; margin-bottom: 1.4em; opacity: .9; }
.fil a { color: #fff; }
.exc-grille { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.exc-aside { position: sticky; top: 90px; }
.aside-carte { background: var(--creme); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.aside-carte h2 { font-size: 1.6rem; }
.aside-carte h3 { font-size: 1.1rem; margin-top: 1.4em; }
.aside-carte dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.aside-carte dt { font-weight: 700; color: var(--encre-2); font-size: .92rem; }
.aside-carte dd { margin: 0; }
.coches { list-style: none; padding: 0; margin: 0 0 1.4em; }
.coches li { padding-left: 30px; position: relative; margin-bottom: .45em; }
.lang-ar .coches li { padding-left: 0; padding-right: 30px; }
.coches li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--palme) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lang-ar .coches li::before { left: auto; right: 0; }
.mini { font-size: .88rem; color: var(--encre-2); margin: 12px 0 0; }
.deroule { list-style: none; padding: 0; margin: 0 0 1em; border-left: 2px dashed var(--dune); }
.lang-ar .deroule { border-left: 0; border-right: 2px dashed var(--dune); }
.deroule li { position: relative; padding: 0 0 26px 30px; }
.lang-ar .deroule li { padding: 0 30px 26px 0; }
.deroule li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--terre); box-shadow: 0 0 0 5px var(--sable); }
.lang-ar .deroule li::before { left: auto; right: -9px; }
.deroule h3 { font-size: 1.25rem; margin: 0 0 .25em; }
.deroule p { margin: 0; color: var(--encre-2); }
.note { font-size: .95rem; color: var(--encre-2); font-style: italic; }
.savoir { background: var(--nuit); color: #efe2cc; border-radius: var(--rayon); padding: clamp(26px, 4vw, 44px); margin-bottom: clamp(48px, 7vw, 90px); }
.savoir h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.savoir ul { margin: 0; padding-left: 1.2em; display: grid; gap: .6em; }
.lang-ar .savoir ul { padding-left: 0; padding-right: 1.2em; }
.savoir li::marker { color: var(--soleil); }
.autres { margin: clamp(48px, 7vw, 90px) 0; text-align: center; }
.autres ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.autres a { display: inline-flex; align-items: center; gap: .5em; padding: 14px 22px; border-radius: 999px; background: var(--creme); border: 1px solid var(--ligne); text-decoration: none; font-weight: 600; color: var(--encre); }
.autres a:hover { border-color: var(--terre); color: var(--terre); }
@media (max-width: 900px) { .exc-grille { grid-template-columns: 1fr; } .exc-aside { position: static; } }

/* ---------- texte long (articles, excursions) ---------- */
.prose { font-size: 1.1rem; max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; scroll-margin-top: 100px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.lang-ar .prose ul, .lang-ar .prose ol { padding-left: 0; padding-right: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--terre); font-weight: 700; }
.fig { margin: 2em 0; }
.fig img { border-radius: var(--rayon); width: 100%; box-shadow: var(--ombre); }
.fig figcaption { font-size: .9rem; color: var(--encre-2); margin-top: .7em; }
.credit { display: block; font-size: .78rem; opacity: .85; }
.credit a { color: inherit; }
.article-grille > *, .exc-grille > *, .intro-grille > *, .guide-grille > *, .carte-grille > * { min-width: 0; } /* un tableau large ne doit pas élargir la colonne */
.article-grille { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.sommaire { position: sticky; top: 100px; background: var(--creme); border-radius: var(--rayon); padding: 22px; border: 1px solid var(--ligne); font-size: .95rem; }
.sommaire p { font-weight: 700; margin-bottom: .6em; }
.sommaire ol { padding-left: 1.1em; margin: 0 0 1.2em; display: grid; gap: .35em; }
.lang-ar .sommaire ol { padding-left: 0; padding-right: 1.1em; }
.sommaire a { color: var(--encre-2); text-decoration: none; display: inline-block; padding: 3px 0; }
.sommaire a:hover { color: var(--terre); }
.tableau { overflow-x: auto; margin: 1.5em 0; }
table { width: 100%; border-collapse: collapse; background: var(--creme); border-radius: 16px; overflow: hidden; font-size: .98rem; min-width: 520px; }
th, td { padding: 13px 16px; text-align: start; border-bottom: 1px solid var(--ligne); }
thead th { background: var(--nuit); color: #fff; font-family: var(--f-titre); }
tbody th { color: var(--terre); }
.encart { margin: 2.6em 0 1.6em; background: linear-gradient(135deg, var(--dune), var(--terre)); color: #fff; border-radius: var(--rayon); padding: clamp(24px, 4vw, 40px); }
.encart h2 { color: #fff; margin-top: 0; }
.signature { font-family: var(--f-titre); font-style: italic; color: var(--encre-2); }
.prose .faq { margin: 0; }
@media (max-width: 900px) { .article-grille { grid-template-columns: 1fr; } .sommaire { position: static; } }

/* ---------- pied de page ---------- */
.pied { background: var(--nuit); color: #d7c9b2; position: relative; margin-top: 60px; }
.caravane { position: absolute; left: 0; right: 0; top: -60px; height: 61px; color: var(--nuit); pointer-events: none; overflow: hidden; }
.caravane-dune { width: 100%; height: 61px; position: absolute; bottom: 0; }
.caravane-file { position: absolute; bottom: 14px; width: 210px; height: 50px; color: var(--nuit); animation: caravane 48s linear infinite; }
.caravane-file use { animation: pas 1.1s ease-in-out infinite; }
.caravane-file use:nth-child(2) { animation-delay: -.3s; } .caravane-file use:nth-child(3) { animation-delay: -.6s; } .caravane-file use:nth-child(4) { animation-delay: -.9s; }
@keyframes caravane { from { left: -220px; } to { left: 100%; } }
@keyframes pas { 50% { transform: translateY(-1.5px); } }
.lang-ar .caravane-file { animation-name: caravane-ar; transform: scaleX(-1); }
@keyframes caravane-ar { from { left: 100%; } to { left: -220px; } }
.pied-in { max-width: var(--max); margin: 0 auto; padding: 70px var(--gouttiere) 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.pied h2 { font: 700 1rem var(--f-texte); color: #fff; letter-spacing: .1em; text-transform: uppercase; }
.lang-ar .pied h2 { letter-spacing: 0; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.pied a:not(.btn) { color: #d7c9b2; text-decoration: none; }
.pied a:not(.btn):hover { color: var(--soleil); }
.pied-nom { font: 700 1.6rem var(--f-titre); color: #fff; margin: 14px 0 6px; }
.pied .langues { margin-top: 16px; width: max-content; }
.pied .langues a { color: #fff; }
.pied-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 22px var(--gouttiere) 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.pied-legal a { padding: 6px 0; }
.legal .prose { margin: 0 auto; }
.legal .prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.legal-autres { font-weight: 600; margin-top: 2em; }
.page-hero.mini-hero { min-height: 46svh; }
.page-hero.mini-hero .page-hero-txt { padding-bottom: clamp(90px, 14vh, 140px); }
.pied-bas { text-align: center; padding: 14px var(--gouttiere) 100px; margin: 0; font-size: .88rem; opacity: .7; }
@media (max-width: 900px) { .pied-in { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied-in { grid-template-columns: 1fr; } }

/* ---------- bouton WhatsApp flottant ---------- */
.wa-flottant { position: fixed; z-index: 40; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(10, 80, 40, .6); transform: translateY(120px); transition: transform .5s cubic-bezier(.2, .7, .2, 1), background .3s; }
.lang-ar .wa-flottant { right: auto; left: 18px; padding: 12px 14px 12px 18px; }
.wa-flottant.visible { transform: none; }
.wa-flottant:hover { background: var(--wa-fonce); color: #fff; }
.wa-flottant svg { width: 28px; height: 28px; }
.wa-flottant::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 168, 85, .6); animation: onde 2.6s infinite; }
@keyframes onde { 70% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }

/* ---------- apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
}
