/* ============================================================
   AFRICAN TRAVEL SERVICE — SITE v3
   Maison de voyage depuis 1964 · éditorial, sable, encre et or
   Propriétés logiques partout : le même fichier sert le français
   et l'arabe (dir="rtl").
   ============================================================ */

:root {
  --encre: #15120e;
  --encre-2: #1f1a14;
  --encre-3: #2b241b;
  --ivoire: #f7f2e8;
  --papier: #efe7d8;
  --sable: #e3d3b5;
  --or: #d4a943;
  --or-clair: #f1d27a;
  --or-fonce: #9c7424;
  --terre: #b4532a;
  --or-texte: #7d5c1a;   /* or lisible pour le petit texte sur fond clair */
  --terre-texte: #9a4522;
  --texte: #2a241c;
  --texte-doux: #6b6153;
  --ligne: rgba(42, 36, 28, .14);
  --ligne-claire: rgba(247, 242, 232, .16);
  --degrade-or: linear-gradient(135deg, #fbe38a 0%, #e5b94a 45%, #b98a2c 100%);
  --wa: #1a7a4b;

  --police-titre: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --police-texte: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-sceau: "Cinzel", "Cormorant Garamond", serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --rayon: 18px;
  --rayon-petit: 10px;
  --gouttiere: clamp(16px, 4vw, 56px);
  --largeur: 1320px;
  --entete-h: 76px;
  --barre-h: 64px;
  --ombre: 0 30px 60px -30px rgba(21, 18, 14, .45);
}

html[lang="ar"] {
  --police-titre: "Amiri", "Times New Roman", serif;
  --police-texte: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --police-sceau: "Amiri", serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--entete-h); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html[lang="ar"] body { font-size: 17px; line-height: 1.85; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--or); color: var(--encre); }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
/* Zones sombres : le contour reprend l'or pour rester visible. */
.entete :focus-visible, .hero :focus-visible, .menu-mobile :focus-visible, .visionneuse :focus-visible,
.fc-couverture :focus-visible, .fc-prog-tete :focus-visible, .prechargeur :focus-visible, .univers :focus-visible,
.algerie-media :focus-visible, .departs :focus-visible, .galerie :focus-visible, .contact-carte :focus-visible,
.pied :focus-visible, .fc-cta :focus-visible, .fc-voisine:focus-visible, .fc-voisine :focus-visible, .bandeau :focus-visible,
.fiche:not(.est-defilee):not(.est-vide) .fiche-barre :focus-visible { outline-color: var(--or); }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
/* Doublon réservé aux lecteurs d'écran (decouperMots) : exclu de la copie. */
.hero-titre > .visuellement-cache,
.manifeste-texte > .visuellement-cache { -webkit-user-select: none; user-select: none; }
.evitement {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 300;
  padding: 10px 18px; border-radius: 999px; background: var(--or); color: var(--encre); font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.evitement:focus { transform: none; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ---------- Typographie commune ---------- */
.surtitre {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--police-texte); font-size: .74rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--or-texte);
  margin-block-end: 18px;
}
.surtitre::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.surtitre-clair { color: var(--or-clair); }
html[lang="ar"] .surtitre { letter-spacing: 0; font-size: .92rem; font-weight: 500; }

.titre-section {
  font-family: var(--police-titre); font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em;
  color: inherit; text-wrap: balance;
}
.intro-section { margin-block-start: 20px; max-width: 58ch; color: var(--texte-doux); font-size: 1.06rem; }
html[lang="ar"] .titre-section { line-height: 1.35; letter-spacing: 0; font-weight: 700; font-size: clamp(2rem, 4vw, 3.5rem); }

.tete-section { margin-block-end: clamp(32px, 5vw, 64px); }
.tete-section-ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after { /* reflet qui traverse le bouton au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
[dir="rtl"] .btn::after { transform: translateX(120%); }
[dir="rtl"] .btn:hover::after { transform: translateX(-120%); }
.btn > span { position: relative; }
.btn-petit { min-height: 40px; padding: 0 18px; font-size: .84rem; }
.btn-grand { min-height: 56px; padding: 0 32px; font-size: .98rem; }
.btn-or { background: var(--degrade-or); color: var(--encre); box-shadow: 0 10px 30px -12px rgba(212, 169, 67, .7); }
.btn-or:hover { box-shadow: 0 16px 40px -12px rgba(212, 169, 67, .9); }
.btn-verre { background: rgba(247, 242, 232, .1); color: var(--ivoire); border-color: rgba(247, 242, 232, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-verre:hover { background: rgba(247, 242, 232, .2); border-color: rgba(247, 242, 232, .6); }
.btn-encre { background: var(--encre); color: var(--ivoire); }
.btn-encre:hover { background: var(--encre-3); }
.btn-ligne { border-color: var(--texte); color: var(--texte); }
.btn-ligne:hover { background: var(--texte); color: var(--ivoire); }
.btn-ligne-clair { border-color: rgba(247, 242, 232, .45); color: var(--ivoire); }
.btn-ligne-clair:hover { background: var(--ivoire); color: var(--encre); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #14633d; }
.btn-whatsapp svg { fill: currentColor; }
.btn[disabled] { opacity: .5; pointer-events: none; }
html[lang="ar"] .btn { letter-spacing: 0; }

.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }

.lien-bouton { color: var(--or-texte); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.lien-fleche::after {
  content: ""; width: 26px; height: 1px; background: currentColor;
  transition: width .5s var(--ease);
}
.lien-fleche:hover::after { width: 44px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(21, 18, 14, .72); color: var(--ivoire); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge-or { background: var(--degrade-or); color: var(--encre); }
.badge-ligne { background: transparent; border: 1px solid currentColor; }
.badge-visa { background: rgba(180, 83, 42, .92); color: #fff; }
html[lang="ar"] .badge { letter-spacing: 0; font-size: .78rem; }

.puce {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--ligne); background: transparent; color: var(--texte);
  font-size: .88rem; font-weight: 600;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.puce:hover { border-color: var(--texte); }
.puce[aria-pressed="true"] { background: var(--encre); color: var(--ivoire); border-color: var(--encre); }
.puce-petite { min-height: 36px; padding: 0 14px; font-size: .8rem; font-weight: 500; }
.puce-petite[aria-pressed="true"] { background: var(--or); color: var(--encre); border-color: var(--or); }
.puce .compte { font-size: .72rem; opacity: .8; font-weight: 500; }

/* ---------- Préchargement ---------- */
.prechargeur {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: var(--encre); color: var(--or);
}
html:not(.js) .prechargeur, .deja-vu .prechargeur, .pret .prechargeur { display: none; }
.prechargeur-sceau { position: relative; width: min(58vw, 300px); aspect-ratio: 1; }
.sceau-svg { width: 100%; height: 100%; overflow: visible; }
.sceau-anneau { transform-origin: 200px 200px; animation: tourne 22s linear infinite; }
.prechargeur-annee {
  position: absolute; inset-inline: 0; inset-block-end: -64px; text-align: center;
  font-family: var(--police-sceau); font-size: 1.4rem; letter-spacing: .5em; color: var(--or-clair);
  padding-inline-start: .5em;
}
.prechargeur-rideau { position: absolute; inset: 0; background: var(--ivoire); transform: scaleY(0); transform-origin: bottom; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- Curseur personnalisé (souris uniquement) ---------- */
.curseur { display: none; }
html.curseur-actif .curseur { display: block; }
html.curseur-actif, html.curseur-actif a, html.curseur-actif button, html.curseur-actif label, html.curseur-actif summary { cursor: none; }
html.curseur-actif input, html.curseur-actif textarea, html.curseur-actif select { cursor: auto; }
.curseur-point, .curseur-anneau {
  position: fixed; inset-block-start: 0; left: 0; z-index: 400; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.curseur-point { width: 6px; height: 6px; background: var(--or); }
.curseur-anneau {
  width: 38px; height: 38px; border: 1px solid rgba(212, 169, 67, .8);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), opacity .3s;
}
.curseur-texte { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); opacity: 0; transition: opacity .3s; }
.curseur.est-survol .curseur-anneau { width: 64px; height: 64px; background: rgba(212, 169, 67, .15); }
.curseur.est-texte .curseur-anneau { width: 92px; height: 92px; background: var(--or); border-color: var(--or); }
.curseur.est-texte .curseur-texte { opacity: 1; }
.curseur.est-texte .curseur-point { opacity: 0; }
.curseur.est-cache .curseur-point, .curseur.est-cache .curseur-anneau { opacity: 0; }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 90;
  height: var(--entete-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gouttiere); color: var(--ivoire);
  transition: transform .6s var(--ease), background-color .5s var(--ease), height .5s var(--ease), box-shadow .5s;
}
.entete::before { /* voile doux au-dessus du héros */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(21, 18, 14, .55), transparent);
  transition: opacity .5s;
}
.entete.est-plein { background: rgba(21, 18, 14, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); height: 64px; box-shadow: 0 1px 0 var(--ligne-claire); }
.entete.est-plein::before { opacity: 0; }
.entete.est-cache { transform: translateY(calc(-100% - 40px)); }
.entete-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.entete-chameau { width: auto; height: 46px; transition: height .5s var(--ease); }
.entete-nom { width: auto; height: 40px; transition: height .5s var(--ease); }
.entete.est-plein .entete-chameau { height: 40px; }
.entete.est-plein .entete-nom { height: 34px; }
.entete-nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.entete-nav a { position: relative; font-size: .86rem; font-weight: 500; letter-spacing: .03em; padding-block: 6px; opacity: .88; transition: opacity .3s; }
.entete-nav a::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; background: var(--or);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
[dir="rtl"] .entete-nav a::after { transform-origin: left; }
.entete-nav a:hover, .entete-nav a.est-active { opacity: 1; }
.entete-nav a:hover::after, .entete-nav a.est-active::after { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .entete-nav a:hover::after, [dir="rtl"] .entete-nav a.est-active::after { transform-origin: right; }
.entete-actions { display: flex; align-items: center; gap: 14px; }
.langues { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--ligne-claire); }
.langues a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; opacity: .7;
  transition: background-color .3s, color .3s, opacity .3s;
}
.langues a[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: .9rem; letter-spacing: 0; }
.langues a:hover { opacity: 1; }
.langues a[aria-current="true"] { background: var(--ivoire); color: var(--encre); opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ligne-claire); position: relative; }
.burger > span:not(.visuellement-cache) {
  position: absolute; inset-inline-start: 13px; width: 18px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger > span:nth-child(1) { top: 17px; }
.burger > span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] > span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] > span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .entete-nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 720px) {
  :root { --entete-h: 64px; }
  .entete-actions .langues, .entete-actions .btn { display: none; }
  .entete-chameau, .entete.est-plein .entete-chameau { height: 36px; }
  .entete-nom, .entete.est-plein .entete-nom { height: 30px; }
}

/* ---------- Menu mobile ---------- */
.menu-mobile {
  position: fixed; inset: 0; z-index: 85; background: var(--encre); color: var(--ivoire);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--entete-h) + 24px) var(--gouttiere) 32px;
  overflow-y: auto;
}
.menu-mobile nav { display: flex; flex-direction: column; }
.menu-mobile nav a {
  font-family: var(--police-titre); font-size: clamp(2.1rem, 9vw, 3.6rem); line-height: 1.2;
  padding-block: 4px; border-block-end: 1px solid var(--ligne-claire);
}
.menu-mobile-pied { display: grid; gap: 22px; margin-block-start: 32px; }
.langues-grandes { flex-wrap: wrap; border: 0; padding: 0; gap: 8px; }
.langues-grandes a { height: 40px; padding: 0 16px; border: 1px solid var(--ligne-claire); font-size: .86rem; letter-spacing: 0; }
.menu-mobile-tel { color: var(--or-clair); font-size: 1.1rem; }

/* ---------- Héros ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 620px);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--encre); color: var(--ivoire);
  isolation: isolate;
}
.hero-videos { position: absolute; inset: 0; z-index: -3; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.4s var(--ease), transform 9s linear;
}
.hero-video.est-active { opacity: 1; transform: scale(1); }
.hero-voile {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to top, rgba(21, 18, 14, .92) 0%, rgba(21, 18, 14, .45) 38%, rgba(21, 18, 14, .08) 65%, rgba(21, 18, 14, .35) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(21, 18, 14, .55), transparent 60%);
}
[dir="rtl"] .hero-voile {
  background:
    linear-gradient(to top, rgba(21, 18, 14, .92) 0%, rgba(21, 18, 14, .45) 38%, rgba(21, 18, 14, .08) 65%, rgba(21, 18, 14, .35) 100%),
    radial-gradient(120% 80% at 85% 100%, rgba(21, 18, 14, .55), transparent 60%);
}
.hero-grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.hero-contenu {
  width: 100%; max-width: var(--largeur); margin-inline: auto;
  padding: calc(var(--entete-h) + 40px) var(--gouttiere) clamp(120px, 16vh, 170px);
}
.hero-surtitre { margin-block-end: 22px; }
.hero-titre {
  font-family: var(--police-titre); font-weight: 500;
  font-size: clamp(2.8rem, 8.2vw, 8.2rem); line-height: .94; letter-spacing: -.02em;
  max-width: 13ch; text-wrap: balance;
}
.hero-titre .mot { display: inline-block; }
html[lang="ar"] .hero-titre { line-height: 1.3; letter-spacing: 0; font-weight: 700; max-width: 16ch; font-size: clamp(2.5rem, 7vw, 6.6rem); }
.hero-sous { margin-block-start: 26px; max-width: 50ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(247, 242, 232, .86); }
.hero-cap {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-block-start: 26px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--or-clair);
}
html[lang="ar"] .hero-cap { letter-spacing: 0; font-size: 1rem; }
.hero-mot {
  display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  font-family: var(--police-titre); font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: 0; text-transform: none; color: var(--ivoire); line-height: 1.15;
  border-block-end: 1px solid rgba(212, 169, 67, .6); padding-block-end: 2px;
}
html[lang="ar"] .hero-mot { font-style: normal; }
.hero-mot-texte { display: inline-block; }
.hero-mot svg { width: 22px; height: 22px; fill: none; stroke: var(--or); stroke-width: 1.6; transition: transform .5s var(--ease); }
.hero-mot:hover svg { transform: translateX(6px); }
[dir="rtl"] .hero-mot svg, [dir="rtl"] .fleche svg, [dir="rtl"] .fc-voisine svg, [dir="rtl"] .carte-fiche-fleche svg, [dir="rtl"] .visionneuse-nav svg { transform: scaleX(-1); }
[dir="rtl"] .hero-mot:hover svg { transform: scaleX(-1) translateX(6px); }
.hero-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 36px; }

/* inset-inline-end : laisse la place à la bulle WhatsApp (22 + 58 px) qui recouvrait la dernière piste. */
.hero-commandes {
  position: absolute; inset-block-end: 34px; inset-inline-end: 104px;
  display: flex; align-items: center; gap: 18px;
}
.hero-pistes { display: flex; gap: 14px; }
.hero-pause {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(247, 242, 232, .35); color: var(--ivoire); background: rgba(21, 18, 14, .25);
  transition: background-color .3s, border-color .3s;
}
.hero-pause:hover { background: rgba(21, 18, 14, .5); border-color: var(--or); }
.hero-pause svg { width: 14px; height: 14px; }
.hero-pause .ico-pause { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.hero-pause .ico-lecture { fill: currentColor; display: none; }
.hero-pause[aria-pressed="true"] .ico-pause { display: none; }
.hero-pause[aria-pressed="true"] .ico-lecture { display: block; }
.animations-en-pause .bandeau-piste, .animations-en-pause .defilant-piste, .animations-en-pause .hero-defiler i::after, .animations-en-pause .bulle-whatsapp::before, .animations-en-pause .hero-grain { animation-play-state: paused; }
.piste { display: grid; gap: 8px; min-width: clamp(56px, 6vw, 96px); max-width: 132px; text-align: start; padding-block: 6px; opacity: .6; transition: opacity .3s; }
.piste:hover, .piste[aria-selected="true"] { opacity: 1; }
.piste-nom { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .piste-nom { letter-spacing: 0; font-size: .8rem; }
.piste-barre { height: 2px; background: rgba(247, 242, 232, .25); overflow: hidden; border-radius: 2px; }
.piste-barre i { display: block; height: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .piste-barre i { transform-origin: right; }
.hero-defiler {
  position: absolute; inset-block-end: 30px; inset-inline-start: var(--gouttiere);
  display: flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(247, 242, 232, .7);
}
html[lang="ar"] .hero-defiler { letter-spacing: 0; font-size: .8rem; }
.hero-defiler i { position: relative; width: 1px; height: 44px; background: rgba(247, 242, 232, .25); overflow: hidden; }
.hero-defiler i::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 40%; background: var(--or); animation: defile 2.2s var(--ease-io) infinite; }
@keyframes defile { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Seize pistes : seule la piste en cours montre son nom, les autres sont des barres qui se partagent la place. */
@media (min-width: 1101px) {
  .hero-commandes { inset-inline-start: calc(var(--gouttiere) + 190px); }
  .hero-pistes { flex: 1; justify-content: flex-end; gap: 10px; }
  .piste { flex: 1 1 0; min-width: 0; max-width: 64px; }
  .piste[aria-selected="true"] { flex: 0 0 auto; max-width: 190px; }
  .piste:not([aria-selected="true"]) .piste-nom { opacity: 0; }
}

/* Sous 1100 px, « Défiler » disparaît et les pistes deviennent de simples barres. */
@media (max-width: 1100px) {
  .hero-commandes { inset-inline: var(--gouttiere) 94px; inset-block-end: 24px; gap: 12px; }
  .hero-pistes { flex: 1; gap: 5px; }
  .piste { flex: 1; width: auto; min-width: 0; max-width: none; }
  .piste-nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .hero-defiler { display: none; }
  .hero-contenu { padding-block-end: 88px; }
}

/* ---------- Bandeau défilant ---------- */
.bandeau { background: var(--encre); color: var(--or); overflow: hidden; border-block: 1px solid rgba(212, 169, 67, .18); }
.bandeau-piste { display: flex; width: max-content; animation: defilant 70s linear infinite; }
.bandeau-item {
  display: inline-flex; align-items: center; gap: 30px; padding: 18px 15px;
  font-family: var(--police-titre); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.9rem); white-space: nowrap;
}
html[lang="ar"] .bandeau-item { font-style: normal; }
.bandeau-item::after { content: "✦"; font-style: normal; font-size: .7em; color: var(--or-fonce); }
@keyframes defilant { to { transform: translateX(-50%); } }
@keyframes defilant-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .bandeau-piste, [dir="rtl"] .defilant-piste { animation-name: defilant-rtl; }

/* ---------- Manifeste ---------- */
.manifeste { padding-block: clamp(96px, 14vw, 180px) clamp(80px, 10vw, 140px); text-align: center; }
.manifeste .surtitre { justify-content: center; }
.manifeste .surtitre::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.manifeste-texte {
  max-width: 24ch; margin-inline: auto;
  font-family: var(--police-titre); font-size: clamp(1.9rem, 4.1vw, 3.7rem); line-height: 1.14; font-weight: 500; color: var(--texte);
  text-wrap: balance;
}
html[lang="ar"] .manifeste-texte { line-height: 1.6; max-width: 30ch; font-size: clamp(1.6rem, 3.2vw, 2.8rem); }
.manifeste-texte .mot { display: inline; }
.chiffres {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 1100px; margin: clamp(56px, 8vw, 100px) auto 0; border-block: 1px solid var(--ligne);
}
.chiffre { padding: 30px 18px; display: grid; gap: 6px; align-content: start; }
.chiffre + .chiffre { border-inline-start: 1px solid var(--ligne); }
.chiffre-valeur {
  font-family: var(--police-titre); font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1; font-weight: 500;
  background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: lining-nums tabular-nums;
}
.chiffre-texte { font-size: .86rem; color: var(--texte-doux); }
@media (max-width: 760px) {
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffre:nth-child(3) { border-inline-start: 0; }
  .chiffre:nth-child(n+3) { border-block-start: 1px solid var(--ligne); }
}

/* ---------- Cinq univers ---------- */
.univers { background: var(--encre); color: var(--ivoire); overflow: hidden; }
.univers-epingle { padding-block: clamp(80px, 10vw, 120px); }
.univers-tete .intro-section { color: rgba(247, 242, 232, .7); }
.univers-tete .surtitre { color: var(--or-clair); }
.univers-piste {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: var(--gouttiere); margin-block-start: clamp(36px, 5vw, 56px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.univers-piste::-webkit-scrollbar { display: none; }
.carte-univers {
  position: relative; flex: none; width: min(80vw, 520px); height: min(68vh, 620px); min-height: 420px;
  border-radius: var(--rayon); overflow: hidden; scroll-snap-align: center; isolation: isolate;
  background: var(--encre-3);
}
.carte-univers-media, .carte-univers-media video, .carte-univers-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.4s var(--ease);
}
.carte-univers:hover .carte-univers-media video, .carte-univers:hover .carte-univers-media img { transform: scale(1.06); }
/* Cadre 20 % plus large que la carte : la parallaxe (±8 %) ne découvre jamais le fond */
.js .univers.est-epinglee .carte-univers-media { inset: 0 -10%; width: auto; transition: none; }
.carte-univers-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21, 18, 14, .92) 5%, rgba(21, 18, 14, .2) 55%, rgba(21, 18, 14, .35)); }
.carte-univers-corps { position: absolute; inset: auto 0 0; padding: clamp(22px, 3vw, 36px); display: grid; gap: 12px; }
.carte-univers-num { font-family: var(--police-sceau); font-size: .8rem; letter-spacing: .3em; color: var(--or-clair); }
.carte-univers-nom { font-family: var(--police-titre); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1; }
html[lang="ar"] .carte-univers-nom { line-height: 1.35; font-weight: 700; }
.carte-univers-texte { color: rgba(247, 242, 232, .78); font-size: .95rem; max-width: 42ch; }
.carte-univers-lien { margin-block-start: 6px; color: var(--or-clair); font-size: .88rem; }
.carte-univers-lien .compte { opacity: .7; font-weight: 500; }
.univers-piste::after { content: ""; flex: none; width: 1px; }
@media (min-width: 900px) {
  .js .univers.est-epinglee .univers-epingle { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--entete-h) + 12px) 40px; }
  .js .univers.est-epinglee .univers-piste { overflow: visible; scroll-snap-type: none; }
  .js .univers.est-epinglee .carte-univers { height: min(58vh, 600px); width: min(44vw, 560px); }
}

/* ---------- L'Algérie ---------- */
.algerie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--papier); }
.algerie-media { position: relative; min-height: 70vh; overflow: hidden; background: var(--encre); }
.algerie-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.algerie-media-legende {
  position: absolute; inset-block-end: 22px; inset-inline-start: 22px;
  padding: 7px 14px; border-radius: 999px; background: rgba(21, 18, 14, .6); color: var(--ivoire);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px);
}
html[lang="ar"] .algerie-media-legende { letter-spacing: 0; font-size: .85rem; }
.algerie-texte { padding: clamp(64px, 8vw, 120px) clamp(20px, 6vw, 96px); }
.algerie-points { counter-reset: point; display: grid; gap: 22px; margin-block-start: 40px; }
.algerie-points li { counter-increment: point; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; }
.algerie-points li::before {
  content: counter(point, decimal-leading-zero); grid-row: span 2;
  font-family: var(--police-sceau); font-size: .86rem; color: var(--or-texte); padding-block-start: 4px;
  border-block-start: 1px solid var(--or);
}
.algerie-points h3 { font-family: var(--police-titre); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
html[lang="ar"] .algerie-points h3 { font-size: 1.3rem; font-weight: 700; }
.algerie-points p { color: var(--texte-doux); font-size: .95rem; }
.unesco { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 30px; }
.unesco li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(156, 116, 36, .35); font-size: .78rem; color: var(--or-texte); font-weight: 600; }
@media (min-width: 1000px) {
  .algerie-media { position: sticky; inset-block-start: 0; height: 100vh; min-height: 0; }
}
@media (max-width: 999px) {
  .algerie { grid-template-columns: 1fr; }
  .algerie-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Catalogue ---------- */
.catalogue { padding-block: clamp(90px, 11vw, 150px); }
.filtres { display: grid; gap: 18px; margin-block-end: 36px; }
.filtres-univers { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.recherche {
  display: flex; align-items: center; gap: 10px; flex: 1 1 240px; max-width: 360px;
  min-height: 46px; padding-inline: 16px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne);
  transition: border-color .3s, box-shadow .3s;
}
.recherche:focus-within { border-color: var(--or); box-shadow: 0 0 0 4px rgba(212, 169, 67, .18); }
.recherche:has(input:focus-visible) { outline: 2px solid var(--encre); outline-offset: 2px; }
.recherche svg { width: 18px; height: 18px; fill: none; stroke: var(--texte-doux); stroke-width: 1.8; flex: none; }
.recherche input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 44px; }
.filtres-themes { display: flex; flex-wrap: wrap; gap: 6px; }
.filtres-compte { font-size: .84rem; color: var(--texte-doux); }
.grille-fiches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.carte-fiche {
  position: relative; display: block; border-radius: var(--rayon); overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; background: var(--encre-3); color: var(--ivoire);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.carte-fiche:hover { box-shadow: var(--ombre); }
.carte-fiche-media { position: absolute; inset: 0; z-index: -2; }
.carte-fiche-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte-fiche:hover .carte-fiche-media img { transform: scale(1.07); }
.carte-fiche::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21, 18, 14, .9) 8%, rgba(21, 18, 14, .15) 55%, rgba(21, 18, 14, .25)); }
.carte-fiche-badges { position: absolute; inset-block-start: 14px; inset-inline: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.carte-fiche-corps { position: absolute; inset: auto 0 0; padding: 22px; display: grid; gap: 4px; }
.carte-fiche-univers { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--or-clair); }
html[lang="ar"] .carte-fiche-univers { letter-spacing: 0; font-size: .8rem; }
.carte-fiche-titre { font-family: var(--police-titre); font-weight: 500; font-size: clamp(1.9rem, 2.4vw, 2.3rem); line-height: 1.05; }
html[lang="ar"] .carte-fiche-titre { line-height: 1.4; font-weight: 700; font-size: 1.7rem; }
.carte-fiche-sous { font-size: .86rem; color: rgba(247, 242, 232, .78); }
.carte-fiche-duree { font-size: .76rem; color: rgba(247, 242, 232, .6); margin-block-start: 6px; }
.carte-fiche-fleche {
  position: absolute; inset-block-end: 22px; inset-inline-end: 22px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--or); color: var(--encre);
  transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.carte-fiche-fleche svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.carte-fiche:hover .carte-fiche-fleche, .carte-fiche:focus-visible .carte-fiche-fleche { transform: scale(1); opacity: 1; }
.carte-fiche:hover .carte-fiche-corps { padding-inline-end: 76px; }
.grille-vide { display: grid; justify-items: start; gap: 10px; padding: 40px 0; color: var(--texte-doux); }

.media-vide {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 30% 20%, #3a2f22, var(--encre) 70%);
  display: grid; place-items: center;
}
.media-vide::after { content: ""; width: 34%; aspect-ratio: 148 / 200; background: url("../assets/logo/web/chameau-or.webp") center / contain no-repeat; opacity: .22; }

/* ---------- Départs ---------- */
.departs { background: var(--encre); color: var(--ivoire); padding-block: clamp(90px, 11vw, 150px); overflow: hidden; }
.departs .intro-section { color: rgba(247, 242, 232, .7); }
.rail-fleches { display: flex; gap: 10px; }
.fleche {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ligne-claire); display: grid; place-items: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fleche:hover { background: var(--or); border-color: var(--or); color: var(--encre); }
.departs-rail {
  display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2 + var(--gouttiere)));
  scroll-padding-inline: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2 + var(--gouttiere)));
  scrollbar-width: none; padding-block-end: 8px;
}
.departs-rail::-webkit-scrollbar { display: none; }
.carte-depart { flex: none; width: min(84vw, 420px); scroll-snap-align: start; }
.carte-depart > a { display: grid; gap: 18px; }
.carte-depart-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; background: var(--encre-3); }
.carte-depart-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte-depart:hover .carte-depart-media img { transform: scale(1.06); }
.carte-depart-media .badge { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; }
.carte-depart-lieu { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--or-clair); }
html[lang="ar"] .carte-depart-lieu { letter-spacing: 0; font-size: .82rem; }
.carte-depart h3 { font-family: var(--police-titre); font-weight: 500; font-size: clamp(1.7rem, 2.3vw, 2.1rem); line-height: 1.1; margin-block: 6px 12px; }
html[lang="ar"] .carte-depart h3 { line-height: 1.45; font-weight: 700; font-size: 1.6rem; }
.carte-depart-infos { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: rgba(247, 242, 232, .7); margin-block-end: 14px; }
.carte-depart-infos li { display: flex; align-items: center; gap: 8px; }
.carte-depart-infos li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--or); }
.carte-depart .lien-fleche { color: var(--or-clair); font-size: .9rem; }

/* ---------- Histoire ---------- */
.histoire { position: relative; overflow: hidden; background: var(--papier); padding-block: clamp(90px, 12vw, 170px); }
.histoire-fond {
  position: absolute; inset-block-start: 4%; inset-inline-end: -4vw; pointer-events: none; user-select: none;
  font-family: var(--police-titre); font-size: clamp(9rem, 32vw, 30rem); line-height: .8; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px rgba(156, 116, 36, .28);
}
.histoire .conteneur { position: relative; }
.frise { position: relative; max-width: 1040px; margin-inline: auto; }
.frise-ligne { position: absolute; inset-block: 8px; inset-inline-start: 11px; width: 1px; background: var(--ligne); }
.frise-ligne span { position: absolute; inset: 0; background: linear-gradient(var(--or-clair), var(--or-fonce)); transform: scaleY(0); transform-origin: top; }
.frise ol { display: grid; gap: clamp(36px, 5vw, 64px); }
.frise-item { position: relative; padding-inline-start: 56px; }
.frise-point {
  position: absolute; inset-inline-start: 4px; inset-block-start: 8px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--papier); border: 1px solid var(--or-fonce);
}
.frise-point::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--or); transform: scale(0); transition: transform .6s var(--ease); }
.frise-item.est-atteint .frise-point::after { transform: scale(1); }
.frise-annee { font-family: var(--police-sceau); font-size: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--or-texte); letter-spacing: .06em; line-height: 1.1; }
html[lang="ar"] .frise-annee { font-family: var(--police-titre); letter-spacing: 0; }
.frise-item h3 { font-family: var(--police-titre); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.15; margin-block: 8px 6px; }
html[lang="ar"] .frise-item h3 { line-height: 1.5; font-weight: 700; }
.frise-item p { color: var(--texte-doux); max-width: 46ch; }
@media (min-width: 900px) {
  .frise-ligne { inset-inline-start: 50%; }
  .frise-item { width: 50%; padding-inline-start: 0; padding-inline-end: 64px; text-align: end; }
  .frise-item p { margin-inline-start: auto; }
  .frise-item .frise-point { inset-inline-start: auto; inset-inline-end: -8px; }
  .frise-item:nth-child(even) { margin-inline-start: 50%; padding-inline-end: 0; padding-inline-start: 64px; text-align: start; }
  .frise-item:nth-child(even) p { margin-inline-start: 0; }
  .frise-item:nth-child(even) .frise-point { inset-inline-end: auto; inset-inline-start: -7px; }
}

/* ---------- Raisons ---------- */
.raisons { padding-block: clamp(90px, 11vw, 150px); }
.raisons-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block-start: 1px solid var(--ligne); }
.raison {
  position: relative; padding: clamp(28px, 3vw, 42px) clamp(18px, 2.4vw, 34px) clamp(32px, 3vw, 44px);
  border-block-end: 1px solid var(--ligne); display: grid; gap: 10px; align-content: start;
  transition: background-color .5s var(--ease);
}
.raison:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--ligne); }
.raison::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 0; height: 2px; width: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
[dir="rtl"] .raison::before { transform-origin: right; }
.raison:hover { background: var(--papier); }
.raison:hover::before { transform: scaleX(1); }
.raison-icone { width: 44px; height: 44px; color: var(--or-fonce); }
.raison-icone svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.raison-num { position: absolute; inset-block-start: clamp(28px, 3vw, 42px); inset-inline-end: clamp(18px, 2.4vw, 34px); font-family: var(--police-sceau); font-size: .8rem; color: var(--texte-doux); letter-spacing: .2em; }
.raison h3 { font-family: var(--police-titre); font-size: 1.7rem; font-weight: 600; line-height: 1.15; margin-block-start: 12px; }
html[lang="ar"] .raison h3 { font-size: 1.4rem; line-height: 1.5; font-weight: 700; }
.raison p { color: var(--texte-doux); font-size: .95rem; }
@media (max-width: 900px) {
  .raisons-grille { grid-template-columns: 1fr 1fr; }
  .raison:not(:nth-child(3n + 1)) { border-inline-start: 0; }
  .raison:nth-child(even) { border-inline-start: 1px solid var(--ligne); }
}
@media (max-width: 600px) {
  .raisons-grille { grid-template-columns: 1fr; }
  .raison:nth-child(even) { border-inline-start: 0; }
}

/* ---------- Galerie ---------- */
.galerie { padding-block: clamp(90px, 11vw, 150px); background: var(--encre); color: var(--ivoire); }
.galerie .surtitre { color: var(--or-clair); }
.galerie-filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.galerie .puce { border-color: var(--ligne-claire); color: var(--ivoire); }
.galerie .puce:hover { border-color: var(--ivoire); }
.galerie .puce[aria-pressed="true"] { background: var(--ivoire); color: var(--encre); border-color: var(--ivoire); }
.mosaique { columns: 4 240px; column-gap: 14px; }
.tuile {
  position: relative; display: block; width: 100%; margin-block-end: 14px; break-inside: avoid;
  border-radius: 14px; overflow: hidden; background: var(--encre-3); isolation: isolate;
}
.tuile img, .tuile video { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.tuile video { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.tuile.est-lecture video { opacity: 1; }
.tuile:hover img { transform: scale(1.05); }
.tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 18, 14, .75), transparent 45%); opacity: 0; transition: opacity .5s; }
.tuile:hover::after, .tuile:focus-visible::after { opacity: 1; }
.tuile-legende {
  position: absolute; inset: auto 0 0; z-index: 1; padding: 14px 16px; text-align: start;
  font-size: .82rem; font-weight: 500; transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.tuile:hover .tuile-legende, .tuile:focus-visible .tuile-legende { transform: none; opacity: 1; }
.tuile-lecture {
  position: absolute; inset-block-start: 12px; inset-inline-end: 12px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(21, 18, 14, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tuile-lecture svg { width: 14px; height: 14px; fill: var(--ivoire); margin-inline-start: 2px; }
.tuile-ats { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; z-index: 1; }
.galerie-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-block-start: 24px; }
.galerie-credits { font-size: .82rem; color: rgba(247, 242, 232, .6); }
.galerie-credits a { text-decoration: underline; text-underline-offset: 3px; }
.galerie-plus { margin-inline: auto; }

/* ---------- Avis ---------- */
.avis { padding-block: clamp(90px, 11vw, 150px) clamp(60px, 8vw, 100px); overflow: hidden; }
.avis-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-block-end: 44px; }
.avis-note { background: var(--degrade-or); -webkit-background-clip: text; background-clip: text; color: transparent; }
.avis-etoiles { font-size: 1.6rem; letter-spacing: .2em; color: var(--or); }
.defilant { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defilant-piste { display: flex; width: max-content; gap: 18px; animation: defilant 80s linear infinite; padding-block: 6px; }
.defilant:hover .defilant-piste { animation-play-state: paused; }
.defilant-inverse .defilant-piste { animation-direction: reverse; }
.carte-avis {
  width: min(82vw, 380px); flex: none; padding: 28px; border-radius: var(--rayon);
  background: #fff; border: 1px solid var(--ligne); display: grid; gap: 14px; align-content: start;
}
.carte-avis-etoiles { color: var(--or); letter-spacing: .15em; font-size: .9rem; }
.carte-avis-texte { font-family: var(--police-titre); font-size: 1.24rem; line-height: 1.4; color: var(--texte); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.carte-avis-nom { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; }
.carte-avis-nom::before {
  content: attr(data-initiale); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--papier); color: var(--or-texte); font-family: var(--police-titre); font-size: 1.1rem; font-weight: 600;
}
.carte-avis-g { margin-inline-start: auto; font-size: .72rem; color: var(--texte-doux); font-weight: 500; }
.avis-lien { margin-block-start: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.avis-lien small { color: var(--texte-doux); }

/* ---------- Partenaires ---------- */
.partenaires { padding-block: 20px clamp(80px, 10vw, 130px); overflow: hidden; }
.partenaires .surtitre { margin-block: 30px 18px; }
.logo-partenaire {
  flex: none; height: 84px; min-width: 170px; padding: 18px 26px; border-radius: 14px; background: #fff;
  border: 1px solid var(--ligne); display: grid; place-items: center;
}
.logo-partenaire img { max-height: 46px; max-width: 132px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .5s, opacity .5s; }
.logo-partenaire:hover img { filter: none; opacity: 1; }

/* ---------- Devis & contact ---------- */
.devis { padding-block: clamp(90px, 11vw, 150px); background: var(--papier); }
.devis-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.devis form { display: grid; gap: 18px; margin-block-start: 36px; }
.champ-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ-ligne-3 { grid-template-columns: 1fr 1fr 1.4fr; }
.champ { display: grid; gap: 6px; }
.champ > span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
html[lang="ar"] .champ > span { letter-spacing: 0; font-size: .86rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--ligne); outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.champ textarea { resize: vertical; min-height: 110px; }
.champ select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6153' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; }
[dir="rtl"] .champ select { background-position: left 14px center; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--or); box-shadow: 0 0 0 4px rgba(212, 169, 67, .18); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.champ.est-erreur input { border-color: var(--terre); }
.devis-erreur { color: var(--terre-texte); font-weight: 600; font-size: .92rem; }
.devis .groupe-boutons { margin-block-start: 8px; }
.devis-mention { font-size: .8rem; color: var(--texte-doux); }
.devis-contact { position: sticky; inset-block-start: calc(var(--entete-h) + 24px); }
.contact-carte {
  position: relative; overflow: hidden; padding: clamp(28px, 3.5vw, 44px); border-radius: 24px;
  background: var(--encre); color: var(--ivoire);
}
.contact-carte::before { content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 169, 67, .22), transparent 70%); }
.contact-sceau { width: 52px; height: auto; margin-block-end: 18px; }
.contact-carte h3 { font-family: var(--police-titre); font-size: 2rem; font-weight: 500; margin-block-end: 18px; }
.contact-liste { display: grid; gap: 16px; position: relative; }
.contact-liste li { display: grid; gap: 2px; padding-block-end: 14px; border-block-end: 1px solid var(--ligne-claire); }
.contact-liste span { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-clair); }
html[lang="ar"] .contact-liste span { letter-spacing: 0; font-size: .82rem; }
.contact-liste a, .contact-liste p { font-size: 1rem; color: var(--ivoire); overflow-wrap: anywhere; }
.contact-liste a[href^="tel"], .contact-liste a[href^="viber"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .contact-liste a[href^="tel"], [dir="rtl"] .contact-liste a[href^="viber"] { text-align: right; }
.contact-liste a:hover { color: var(--or-clair); }
.reseaux { display: flex; gap: 10px; margin-block-start: 24px; position: relative; }
.reseaux a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ligne-claire); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.reseaux svg { width: 19px; height: 19px; fill: currentColor; }
.reseaux a:hover { background: var(--or); color: var(--encre); border-color: var(--or); }
@media (max-width: 980px) {
  .devis-grille { grid-template-columns: 1fr; }
  .devis-contact { position: static; }
}
@media (max-width: 560px) {
  .champ-ligne, .champ-ligne-3 { grid-template-columns: 1fr; }
  .champ-ligne-3 { grid-template-columns: 1fr 1fr; }
  .champ-ligne-3 .champ:last-child { grid-column: 1 / -1; }
  .devis .btn { width: 100%; }
}

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: rgba(247, 242, 232, .8); padding-block: clamp(70px, 9vw, 110px) 30px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block-end: 50px; border-block-end: 1px solid var(--ligne-claire); }
.pied-marque { display: grid; gap: 16px; justify-items: start; }
.pied-chameau { width: 46px; height: auto; }
.pied-nom { width: 220px; height: auto; }
.pied-marque p { max-width: 40ch; font-size: .92rem; }
.pied-liens { display: grid; gap: 8px; align-content: start; }
.pied-liens a:hover, .pied-contact a:hover { color: var(--or-clair); }
.pied-contact { display: grid; gap: 8px; align-content: start; font-size: .92rem; }
.pied-contact a[href^="tel"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .pied-contact a[href^="tel"] { text-align: right; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block-start: 26px; font-size: .8rem; color: rgba(247, 242, 232, .55); }
.pied-bas a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .pied-grille { grid-template-columns: 1fr; } }

/* ---------- Bulle WhatsApp & toast ---------- */
.bulle-whatsapp {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(26, 122, 75, .7);
  transition: transform .5s var(--ease), opacity .4s;
}
.bulle-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }
.bulle-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.6s var(--ease) infinite; }
.bulle-whatsapp:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.fiche-ouverte .bulle-whatsapp, .menu-ouvert .bulle-whatsapp { opacity: 0; pointer-events: none; }

.toast {
  position: fixed; inset-block-end: 28px; left: 50%; z-index: 600;
  padding: 12px 22px; border-radius: 999px; background: var(--encre); color: var(--ivoire); font-size: .9rem; font-weight: 600;
  box-shadow: var(--ombre); transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s;
}
.toast.est-visible { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   FICHE DESTINATION (plein écran, « page produit »)
   ============================================================ */
.fiche { position: fixed; inset: 0; z-index: 200; background: var(--ivoire); color: var(--texte); overflow: hidden; }
.fiche-barre {
  position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 5; height: var(--barre-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--gouttiere);
  color: var(--ivoire); transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s;
}
.fiche-barre::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(to bottom, rgba(21, 18, 14, .6), transparent); transition: opacity .4s; pointer-events: none; }
.fiche.est-defilee .fiche-barre, .fiche.est-vide .fiche-barre { background: rgba(247, 242, 232, .92); color: var(--texte); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--ligne); }
.fiche.est-defilee .fiche-barre::before, .fiche.est-vide .fiche-barre::before { opacity: 0; }
.fiche.est-defilee .btn-ligne-clair, .fiche.est-vide .btn-ligne-clair { border-color: var(--ligne); color: var(--texte); }
.fiche.est-defilee .btn-ligne-clair:hover { background: var(--texte); color: var(--ivoire); }
.fiche-fermer { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid currentColor; font-size: .86rem; font-weight: 600; border-color: rgba(128, 128, 128, .4); transition: background-color .3s; }
.fiche-fermer:hover { background: rgba(128, 128, 128, .15); }
.fiche-fermer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fiche-fil { flex: 1; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .fiche-fil { letter-spacing: 0; font-size: .9rem; }
.fiche.est-defilee .fiche-fil { opacity: .8; }
.fiche-barre-actions { display: flex; gap: 8px; }
.fiche-barre-actions svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.fiche-defil { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; outline: 0; }
.fiche-barre-mobile { display: none; }
@media (max-width: 720px) {
  .fiche-fil { display: none; }
  .fiche-barre-actions .btn-or { display: none; }
  .fiche-barre-actions .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .fiche-barre-actions .btn { width: 42px; padding: 0; }
  .fiche-fermer span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .fiche-fermer { width: 42px; padding: 0; justify-content: center; }
  .fiche-barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 5;
    padding: 12px var(--gouttiere) calc(12px + env(safe-area-inset-bottom));
    background: rgba(247, 242, 232, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--ligne);
  }
  .fiche-barre-mobile .btn { min-height: 48px; padding: 0 12px; font-size: .86rem; }
  .fiche-contenu { padding-block-end: 80px; }
}

/* Couverture */
.fc-couverture { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: var(--ivoire); background: var(--encre); overflow: hidden; isolation: isolate; }
.fc-couverture-media { position: absolute; inset: 0; z-index: -2; }
.fc-couverture-media img { width: 100%; height: 100%; object-fit: cover; }
.fc-couverture::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21, 18, 14, .92) 0%, rgba(21, 18, 14, .4) 45%, rgba(21, 18, 14, .15) 70%, rgba(21, 18, 14, .45) 100%); }
.fc-couverture-corps { width: 100%; max-width: var(--largeur); margin-inline: auto; padding: 120px var(--gouttiere) clamp(44px, 7vw, 80px); }
.fc-fil { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--or-clair); margin-block-end: 14px; }
html[lang="ar"] .fc-fil { letter-spacing: 0; font-size: .9rem; }
.fc-titre { font-family: var(--police-titre); font-weight: 500; font-size: clamp(3.2rem, 10vw, 9.5rem); line-height: .92; letter-spacing: -.02em; }
html[lang="ar"] .fc-titre { line-height: 1.3; letter-spacing: 0; font-weight: 700; font-size: clamp(2.8rem, 8vw, 7rem); }
.fc-titre .lettre { display: inline-block; }
.fc-sous { margin-block-start: 14px; font-family: var(--police-sceau); font-size: clamp(.86rem, 1.2vw, 1.05rem); letter-spacing: .14em; color: rgba(247, 242, 232, .85); }
html[lang="ar"] .fc-sous { letter-spacing: 0; font-size: 1.15rem; }
.fc-accroche { margin-block-start: 18px; max-width: 46ch; font-family: var(--police-titre); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.3; color: var(--ivoire); }
html[lang="ar"] .fc-accroche { font-style: normal; line-height: 1.7; }
.fc-faits { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-block-start: 30px; padding-block-start: 22px; border-block-start: 1px solid var(--ligne-claire); }
.fc-faits li { display: grid; gap: 2px; }
.fc-faits span { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--or-clair); }
html[lang="ar"] .fc-faits span { letter-spacing: 0; font-size: .8rem; }
.fc-faits strong { font-weight: 500; font-size: .98rem; }
.fc-couverture .badge-visa { margin-block-start: 22px; }
.credit { font-size: .68rem; color: rgba(247, 242, 232, .55); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.fc-couverture .credit { position: absolute; inset-block-end: 12px; inset-inline-end: var(--gouttiere); }

/* Sous-navigation collante */
.fc-sousnav {
  position: sticky; inset-block-start: var(--barre-h); z-index: 4;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px var(--gouttiere); background: rgba(247, 242, 232, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--ligne);
}
.fc-sousnav::-webkit-scrollbar { display: none; }
.fc-sousnav a {
  flex: none; padding: 8px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--texte-doux);
  transition: background-color .3s, color .3s;
}
.fc-sousnav a:hover { color: var(--texte); }
.fc-sousnav a.est-active { background: var(--encre); color: var(--ivoire); }
@media (min-width: 1000px) { .fc-sousnav { justify-content: center; } }

.fc-section { width: 100%; max-width: 1180px; margin-inline: auto; padding: clamp(64px, 8vw, 110px) var(--gouttiere) 0; scroll-margin-top: calc(var(--barre-h) + 60px); }
.fc-titre-section { font-family: var(--police-titre); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.05; margin-block-end: 28px; }
html[lang="ar"] .fc-titre-section { line-height: 1.4; font-weight: 700; }

/* Aperçu */
.fc-apercu-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fc-intro-texte { font-family: var(--police-titre); font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.45; color: var(--texte); }
html[lang="ar"] .fc-intro-texte { line-height: 1.9; font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.fc-intro-texte::first-letter { font-size: 3.2em; float: left; line-height: .85; padding: 6px 10px 0 0; color: var(--or-fonce); }
[dir="rtl"] .fc-intro-texte::first-letter { font-size: 1em; float: none; padding: 0; color: inherit; }
.fc-encart { padding: 28px; border-radius: var(--rayon); background: var(--papier); display: grid; gap: 16px; }
.fc-encart div { display: grid; gap: 2px; padding-block-end: 14px; border-block-end: 1px solid var(--ligne); }
.fc-encart div:last-child { border: 0; padding: 0; }
.fc-encart dt { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); }
html[lang="ar"] .fc-encart dt { letter-spacing: 0; font-size: .82rem; }
.fc-encart dd { font-size: .98rem; }
.fc-incontournables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-block-start: 44px; }
.fc-incontournables li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding-block: 14px; border-block-start: 1px solid var(--ligne); }
.fc-incontournables li::before { content: "✦"; color: var(--or); font-size: .9rem; line-height: 1.8; }
.fc-sous-titre { font-family: var(--police-titre); font-size: 1.6rem; font-weight: 600; margin-block: 56px 4px; }
html[lang="ar"] .fc-sous-titre { font-weight: 700; font-size: 1.4rem; }
@media (max-width: 820px) {
  .fc-apercu-grille { grid-template-columns: 1fr; }
  .fc-incontournables { grid-template-columns: 1fr; }
}

/* Étapes */
.fc-etapes { display: grid; gap: clamp(40px, 6vw, 80px); }
.fc-etape { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.fc-etape:nth-child(even) .fc-etape-media { order: 2; }
.fc-etape-media { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 3 / 2; background: var(--encre-3); }
.fc-etape-media img { width: 100%; height: 100%; object-fit: cover; }
.fc-etape-media figcaption { position: absolute; inset-block-end: 8px; inset-inline-end: 12px; }
.fc-etape-num { font-family: var(--police-sceau); font-size: .82rem; letter-spacing: .24em; color: var(--or-texte); }
.fc-etape h3 { font-family: var(--police-titre); font-weight: 500; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.05; margin-block: 8px 14px; }
html[lang="ar"] .fc-etape h3 { line-height: 1.4; font-weight: 700; }
.fc-etape p { color: var(--texte-doux); font-size: 1.02rem; }
.fc-etape.sans-media { grid-template-columns: 1fr; padding-inline-start: 24px; border-inline-start: 2px solid var(--or); }
@media (max-width: 760px) {
  .fc-etape { grid-template-columns: 1fr; }
  .fc-etape:nth-child(even) .fc-etape-media { order: 0; }
}

/* Programmes */
.fc-onglets { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-block-end: 30px; padding-block-end: 4px; }
.fc-onglets::-webkit-scrollbar { display: none; }
.fc-onglet {
  flex: none; display: grid; gap: 2px; text-align: start; padding: 14px 20px; border-radius: 14px;
  border: 1px solid var(--ligne); background: #fff; min-width: 200px; max-width: 320px;
  transition: border-color .3s, background-color .3s, color .3s;
}
.fc-onglet-type { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); }
html[lang="ar"] .fc-onglet-type { letter-spacing: 0; font-size: .8rem; }
.fc-onglet-titre { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.fc-onglet:hover { border-color: var(--texte); }
.fc-onglet[aria-selected="true"] { background: var(--encre); color: var(--ivoire); border-color: var(--encre); }
.fc-onglet[aria-selected="true"] .fc-onglet-type { color: var(--or-clair); }
.fc-programme { display: grid; gap: 28px; }
.fc-prog-tete { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--encre); color: var(--ivoire); position: relative; overflow: hidden; }
.fc-prog-tete::after { content: ""; position: absolute; inset-block-start: -50%; inset-inline-end: -10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 169, 67, .2), transparent 70%); pointer-events: none; }
.fc-prog-tete .badge { justify-self: start; }
.fc-prog-titre { font-family: var(--police-titre); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; }
html[lang="ar"] .fc-prog-titre { line-height: 1.45; font-weight: 700; }
.fc-prog-faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px 28px; margin-block-start: 8px; position: relative; z-index: 1; }
.fc-prog-faits div { display: grid; gap: 2px; padding-block-start: 12px; border-block-start: 1px solid var(--ligne-claire); }
.fc-prog-faits dt { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-clair); }
html[lang="ar"] .fc-prog-faits dt { letter-spacing: 0; font-size: .8rem; }
.fc-prog-faits dd { font-size: .98rem; white-space: pre-line; }
.fc-prog-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: var(--papier); color: var(--texte-doux); font-size: .95rem; }
.fc-prog-note::before { content: "✦"; color: var(--or-fonce); }
.fc-jours-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.fc-jours { position: relative; display: grid; gap: 10px; }
.fc-jours::before { content: ""; position: absolute; inset-block: 26px; inset-inline-start: 27px; width: 1px; background: var(--ligne); }
.fc-jour { position: relative; border-radius: 16px; background: #fff; border: 1px solid var(--ligne); transition: border-color .3s, box-shadow .4s; }
.fc-jour[open] { border-color: rgba(212, 169, 67, .6); box-shadow: 0 18px 40px -28px rgba(21, 18, 14, .5); }
.fc-jour summary {
  list-style: none; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px;
  padding: 16px 20px 16px 0; cursor: pointer;
}
[dir="rtl"] .fc-jour summary { padding: 16px 0 16px 20px; }
.fc-jour summary::-webkit-details-marker { display: none; }
.fc-jour-num {
  justify-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--papier); color: var(--or-texte); font-family: var(--police-sceau); font-size: .82rem; font-weight: 600;
  transition: background-color .3s, color .3s;
}
.fc-jour[open] .fc-jour-num { background: var(--degrade-or); color: var(--encre); }
.fc-jour-titre { display: grid; gap: 2px; }
.fc-jour-titre small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
html[lang="ar"] .fc-jour-titre small { letter-spacing: 0; font-size: .8rem; }
.fc-jour-titre strong { font-family: var(--police-titre); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
html[lang="ar"] .fc-jour-titre strong { font-size: 1.2rem; line-height: 1.6; font-weight: 700; }
.fc-jour-plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ligne); position: relative; flex: none; }
.fc-jour-plus::before, .fc-jour-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--texte); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.fc-jour-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.fc-jour[open] .fc-jour-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.fc-jour-corps { padding: 0 24px 22px 70px; color: var(--texte-doux); display: grid; gap: 10px; }
[dir="rtl"] .fc-jour-corps { padding: 0 70px 22px 24px; }
.fc-jour-repas { display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--or-texte); font-weight: 600; }
.fc-jour-repas::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.fc-inclus-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fc-liste { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--ligne); }
.fc-liste h4 { font-family: var(--police-titre); font-size: 1.5rem; font-weight: 600; margin-block-end: 12px; }
html[lang="ar"] .fc-liste h4 { font-weight: 700; font-size: 1.3rem; }
.fc-liste li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding-block: 8px; font-size: .95rem; border-block-end: 1px dashed var(--ligne); }
.fc-liste li:last-child { border: 0; }
.fc-liste-oui li::before { content: "✓"; color: var(--wa); font-weight: 700; }
.fc-liste-non li::before { content: "✕"; color: var(--terre); font-weight: 700; }
.fc-prog-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) {
  .fc-inclus-grille { grid-template-columns: 1fr; }
  .fc-jour summary { grid-template-columns: 48px 1fr auto; gap: 10px; padding-inline-end: 14px; }
  [dir="rtl"] .fc-jour summary { padding-inline-end: 14px; }
  .fc-jours::before { inset-inline-start: 23px; }
  .fc-jour-corps, [dir="rtl"] .fc-jour-corps { padding: 0 18px 18px 58px; }
  [dir="rtl"] .fc-jour-corps { padding: 0 58px 18px 18px; }
  .fc-prog-actions .btn { width: 100%; }
}

/* Infos pratiques */
.fc-infos-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.fc-info { padding: 26px; border-radius: 18px; background: var(--papier); display: grid; gap: 8px; align-content: start; }
.fc-info h3 { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); }
html[lang="ar"] .fc-info h3 { letter-spacing: 0; font-size: .9rem; }
.fc-info p { font-size: .98rem; }
.fc-info-alerte { background: rgba(180, 83, 42, .09); box-shadow: inset 0 0 0 1px rgba(180, 83, 42, .35); }
.fc-info-alerte h3 { color: var(--terre-texte); }
.fc-info-alerte p { font-weight: 600; }

/* Galerie de la fiche */
.fc-galerie-grille { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 12px; }
.fc-photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--encre-3); grid-column: span 4; grid-row: span 2; }
.fc-photo:nth-child(5n + 1) { grid-column: span 8; grid-row: span 3; }
.fc-photo:nth-child(5n + 2) { grid-row: span 3; }
.fc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fc-photo:hover img { transform: scale(1.05); }
@media (max-width: 720px) {
  .fc-galerie-grille { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .fc-photo, .fc-photo:nth-child(5n + 2) { grid-column: span 1; grid-row: span 1; }
  .fc-photo:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
}

/* Appel à l'action, destinations voisines, cas vide */
.fc-cta {
  position: relative; overflow: hidden; margin: clamp(70px, 9vw, 120px) auto 0; max-width: 1180px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 70px); border-radius: 28px; background: var(--encre); color: var(--ivoire);
  display: grid; gap: 16px; justify-items: start;
}
.fc-cta-cadre { padding-inline: var(--gouttiere); }
.fc-cta::after { content: ""; position: absolute; inset-block-end: -60%; inset-inline-end: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 169, 67, .25), transparent 70%); pointer-events: none; }
.fc-cta h2 { font-family: var(--police-titre); font-weight: 500; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1; }
html[lang="ar"] .fc-cta h2 { line-height: 1.4; font-weight: 700; }
.fc-cta p { color: rgba(247, 242, 232, .75); max-width: 48ch; }
.fc-cta .groupe-boutons { margin-block-start: 12px; position: relative; z-index: 1; }
.fc-voisines { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1180px; margin: 24px auto clamp(60px, 8vw, 100px); padding-inline: var(--gouttiere); }
.fc-voisine {
  position: relative; overflow: hidden; isolation: isolate; min-height: 150px; border-radius: 20px; padding: 24px;
  display: grid; align-content: end; gap: 4px; color: var(--ivoire); background: var(--encre-3);
}
.fc-voisine img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fc-voisine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21, 18, 14, .85), rgba(21, 18, 14, .3)); }
.fc-voisine:hover img { transform: scale(1.06); }
.fc-voisine-label { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-clair); }
html[lang="ar"] .fc-voisine-label { letter-spacing: 0; font-size: .8rem; }
.fc-voisine svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fc-voisine-nom { font-family: var(--police-titre); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
html[lang="ar"] .fc-voisine-nom { line-height: 1.5; font-weight: 700; }
.fc-voisine-suiv { text-align: end; justify-items: end; }
@media (max-width: 600px) { .fc-voisines { grid-template-columns: 1fr; } }
.fc-vide { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 100px var(--gouttiere); }
.fc-vide p { font-family: var(--police-titre); font-size: 1.8rem; max-width: 24ch; }

/* ---------- Visionneuse ---------- */
.visionneuse {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: 1fr auto; place-items: center;
  background: rgba(12, 10, 8, .96); color: var(--ivoire); padding: 70px 80px 24px;
}
.visionneuse-cadre { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.visionneuse-cadre img, .visionneuse-cadre video { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 10px; object-fit: contain; box-shadow: 0 40px 80px -30px #000; }
.visionneuse-legende { padding-block-start: 16px; text-align: center; font-size: .9rem; color: rgba(247, 242, 232, .8); max-width: 80ch; }
.visionneuse-legende .credit { display: block; margin-block-start: 4px; }
.visionneuse-fermer, .visionneuse-nav {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--ligne-claire); background: rgba(21, 18, 14, .5); transition: background-color .3s, color .3s;
}
.visionneuse-fermer:hover, .visionneuse-nav:hover { background: var(--or); color: var(--encre); }
.visionneuse svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.visionneuse-fermer { inset-block-start: 16px; inset-inline-end: 16px; }
.visionneuse-nav { top: 50%; transform: translateY(-50%); }
.visionneuse-prec { inset-inline-start: 16px; }
.visionneuse-suiv { inset-inline-end: 16px; }
@media (max-width: 720px) {
  .visionneuse { padding: 70px 12px 90px; }
  .visionneuse-nav { top: auto; bottom: 20px; transform: none; }
  .visionneuse-prec { inset-inline-start: calc(50% - 64px); }
  .visionneuse-suiv { inset-inline-end: calc(50% - 64px); }
}

/* ---------- Page crédits ---------- */
.page-credits { background: var(--ivoire); }
.page-credits .entete { position: sticky; background: var(--encre); }
.credits-corps { padding-block: 60px 100px; }
.credits-corps h1 { font-family: var(--police-titre); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; margin-block-end: 18px; }
.credits-corps > p { max-width: 70ch; color: var(--texte-doux); margin-block-end: 10px; }
.credits-groupe { margin-block-start: 48px; }
.credits-groupe h2 { font-family: var(--police-titre); font-size: 1.9rem; font-weight: 600; margin-block-end: 16px; }
.credits-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.credits-liste li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--ligne); font-size: .84rem; }
.credits-liste img { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; }
.credits-liste a { text-decoration: underline; text-underline-offset: 2px; color: var(--or-texte); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .bandeau-piste, .defilant-piste { animation: none !important; }
  .defilant, .bandeau { overflow-x: auto; }
  .hero-grain { display: none; }
}

/* ---------- Raccords avec js/site.js ---------- */
html.fiche-ouverte, html.menu-ouvert, html.visionneuse-ouverte { overflow: hidden; }
.fc-titre .fc-mot { display: inline-block; white-space: nowrap; }
.visionneuse-compte { display: block; margin-block-start: 6px; font-size: .75rem; letter-spacing: .08em; opacity: .6; }
.fc-photo-etape { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }

/* Le titre et les pistes du hero entrent avec l'animation ; filet de secours si le script tarde. */
.js .hero-contenu, .js .hero-commandes { opacity: 0; animation: ats-secours .6s 3s forwards; }
.js.hero-pret .hero-contenu, .js.hero-pret .hero-commandes { opacity: 1; animation: none; }
@keyframes ats-secours { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-contenu, .js .hero-commandes { opacity: 1; animation: none; }
}

/* Pictos à trait injectés par js/site.js (flèche des univers, téléchargement PDF) */
.carte-univers-lien { display: inline-flex; align-items: center; gap: 8px; }
.carte-univers-lien svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.carte-univers:hover .carte-univers-lien svg { transform: translateX(6px); }
[dir="rtl"] .carte-univers-lien svg { transform: scaleX(-1); }
[dir="rtl"] .carte-univers:hover .carte-univers-lien svg { transform: scaleX(-1) translateX(6px); }
.btn:not(.btn-whatsapp) svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) {
  .page-credits .entete-actions .langues { display: flex; }
}
