:root {
  --bg: #0b0b0a;
  --bg-2: #121211;
  --ink: #f2ede4;
  --muted: #8f897e;
  --gold: #f0a93b;
  --gold-2: #ffc46b;
  --line: rgba(242, 237, 228, .14);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg) url("assets/img/texture.webp") repeat;
  background-size: 520px;
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}
.display em { font-style: normal; color: var(--gold); }

.glyph { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.4; flex: none; }
.glyph--lg { width: 40px; height: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px; border-radius: 999px;
  font: 600 13px/1 var(--sans); letter-spacing: .02em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn--sm { padding: 11px 22px; font-size: 12px; }
.btn--gold { background: var(--gold); color: #1a1209; }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 10px 40px -10px rgba(240, 169, 59, .7); transform: translateY(-2px); }
.btn--light { background: var(--ink); color: #111; }
.btn--light:hover { transform: translateY(-2px); }

.play { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.play__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: #111;
  transition: transform .4s var(--ease);
  position: relative;
}
.play__icon svg { width: 20px; fill: currentColor; margin-left: 3px; }
.play__icon::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  animation: pulse 2.4s var(--ease) infinite;
}
.play:hover .play__icon { transform: scale(1.08); }
.play__label { font-size: 12px; color: var(--muted); line-height: 1.4; }
.play--big .play__icon { width: 92px; height: 92px; }
.play--big .play__icon svg { width: 30px; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Logo / Nav ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1.1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.logo__mark { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(240,169,59,.35)); }

.nav {
  position: absolute; z-index: 5; inset: 0 0 auto 0;
  display: flex; align-items: center; gap: 40px;
  padding: 28px var(--pad);
}
.nav .logo { margin-right: auto; }
.nav__links { display: flex; gap: 34px; list-style: none; font-size: 13px; }
.nav__links a { opacity: .8; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav__burger { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 7px; }
.nav__burger span { height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% center; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,10,0) 30%, rgba(11,11,10,.55) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,11,10,0) 35%);
}
.rail {
  position: absolute; z-index: 4; left: var(--pad); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.rail a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, color .2s; }
.rail a:hover { border-color: var(--gold); color: var(--gold); }
.rail svg, .footer__social svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.rail__line { width: 1px; height: 70px; background: var(--line); }

.hero__content .play { align-self: flex-end; }
.hero__content {
  position: absolute; right: var(--pad); bottom: 14vh;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6vh;
  max-width: 640px;
}
.hero__title { font-size: clamp(54px, 7.4vw, 118px); }
.hero__note { position: absolute; left: var(--pad); bottom: 7vh; max-width: 260px; font-size: 12px; color: var(--muted); }
.hero__scroll { position: absolute; left: 50%; bottom: 4vh; width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 12px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Sanctuary ---------- */
.sanctuary {
  position: relative; padding: 18vh var(--pad) 14vh;
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 40px;
}
.cutout {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.sanctuary__title { grid-column: 1 / 3; grid-row: 1; font-size: clamp(38px, 4.6vw, 74px); position: relative; z-index: 2; }
.sanctuary__title .indent { padding-left: 34%; }
.sanctuary__title .indent2 { padding-left: 44%; }
.sanctuary__scarab {
  grid-column: 2; grid-row: 2; align-self: start; justify-self: center;
  width: min(460px, 100%); margin-top: -6vh;
  filter: drop-shadow(0 30px 60px rgba(240, 169, 59, .25));
}
.sanctuary__anubis { grid-column: 3; grid-row: 1; justify-self: end; width: min(220px, 60%); }
.sanctuary__col { display: flex; flex-direction: column; gap: 16px; max-width: 260px; font-size: 12px; color: var(--muted); align-self: end; }
.sanctuary__col--left { grid-column: 1; grid-row: 2; }
.sanctuary__col--right { grid-column: 3; grid-row: 2; justify-self: end; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-16px); } }

/* ---------- Torn edges ---------- */
.torn {
  --tear: polygon(0 3%, 6% 1.2%, 11% 2.8%, 18% .6%, 24% 2.4%, 31% 1%, 38% 3%, 45% .4%, 52% 2.2%, 60% .8%, 67% 2.9%, 74% 1.1%, 81% 2.6%, 88% .5%, 94% 2.3%, 100% 1%,
                  100% 97%, 95% 99.4%, 89% 97.6%, 82% 99.2%, 75% 97.2%, 68% 99.6%, 61% 97.8%, 54% 99.1%, 46% 97.3%, 39% 99.5%, 31% 97.6%, 23% 99.3%, 16% 97.1%, 9% 99.4%, 4% 97.8%, 0 99%);
  clip-path: var(--tear);
}

/* ---------- Temple ---------- */
.temple {
  position: relative; min-height: 92vh; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px;
  padding: 14vh var(--pad);
}
.temple__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.temple__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,.05) 20%, rgba(0,0,0,.65) 100%); }
.temple__copy { align-self: start; max-width: 300px; }
.temple__copy h3 { font-size: clamp(26px, 2.6vw, 40px); margin-bottom: 12px; }
.temple__copy p { font-size: 12px; color: rgba(242,237,228,.7); }
.temple__copy--right { justify-self: end; }

/* ---------- Guides ---------- */
.guides { padding: 16vh var(--pad) 12vh; }
.guides__head { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 70px; }
.guides__intro { max-width: 280px; font-size: 12px; color: var(--muted); }
/* ---------- Carrousel des figures ---------- */
.carousel { position: relative; margin: 0 calc(var(--pad) * -1); }
.carousel__track {
  --card: clamp(200px, 19vw, 280px);
  --card-active: clamp(280px, 30vw, 440px);
  display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 32px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 90px calc(100% - var(--card-active) - var(--pad)) 40px var(--pad);
  scroll-padding-left: var(--pad);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-dragging .guide { pointer-events: none; }

.guide { position: relative; flex: 0 0 var(--card); scroll-snap-align: start; transition: flex-basis .7s var(--ease), opacity .6s var(--ease); opacity: .55; }
.guide.is-active { flex-basis: var(--card-active); opacity: 1; }
.guide:hover { opacity: 1; }
.guide__frame { display: block; border-radius: 12px; overflow: hidden; }
.guide img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; user-select: none;
  filter: brightness(.85) saturate(.9); transition: filter .6s var(--ease), transform 1s var(--ease);
}
.guide.is-active img { aspect-ratio: 4/5; filter: none; }
.guide:hover img { filter: brightness(1.05); transform: scale(1.08); }

.guide figcaption {
  position: absolute; bottom: calc(100% + 14px); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; line-height: 1.2; transition: font-size .5s var(--ease);
}
.guide figcaption span { color: var(--muted); font-size: 11px; }
.guide.is-active figcaption { font: 400 26px/1.05 var(--serif); letter-spacing: -.02em; }
.guide.is-active figcaption span { font-family: var(--sans); font-size: 12px; letter-spacing: 0; color: var(--gold); }

.guide__dot {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), bottom .4s var(--ease), background .3s, border-color .3s, box-shadow .4s;
}
.guide__dot svg { width: 16px; fill: none; stroke: #1a1209; stroke-width: 2.4; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.guide:hover .guide__dot, .guide.is-active .guide__dot {
  width: 40px; height: 40px; bottom: -20px; background: var(--gold); border-color: var(--gold);
  box-shadow: 0 8px 30px -6px rgba(240,169,59,.8);
}
.guide:hover .guide__dot svg, .guide.is-active .guide__dot svg { opacity: 1; transform: none; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 30px; }
.carousel__arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.carousel__arrow svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: stroke .3s; }
.carousel__arrow:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.carousel__arrow:hover svg { stroke: #1a1209; }
.carousel__dots { display: flex; gap: 10px; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .5s var(--ease), background .3s; }
.carousel__dots button[aria-selected="true"] { width: 30px; background: var(--gold); }

@media (max-width: 960px) {
  .carousel__track { --card: 46vw; --card-active: 66vw; padding-top: 80px; }
  .guide.is-active figcaption { font-size: 22px; }
}

/* ---------- Legacy ---------- */
.legacy {
  position: relative; min-height: 110vh; padding: 16vh var(--pad);
  display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; overflow: hidden;
}
.legacy__text { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 420px; }
.legacy__text h2 { font-size: clamp(40px, 4.6vw, 72px); }
.legacy__text p { font-size: 12px; color: var(--muted); max-width: 260px; }
.legacy__pyramids {
  width: min(380px, 100%); margin: -10px 0 0 -30px;
  filter: drop-shadow(0 40px 60px rgba(240,169,59,.18));
}
.legacy__pharaoh {
  position: absolute; z-index: 1; right: 0; top: 0; height: 100%; width: 58%;
  object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

/* ---------- Hall ---------- */
.hall { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hall__media { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.hall__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,.15) 50%, rgba(0,0,0,.6)); }
.hall__content { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; transform: translateX(8%); }
.hall__content h2 { font-size: clamp(40px, 5vw, 80px); }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; padding: 20vh var(--pad) 16vh; }
.cta h2 { font-size: clamp(38px, 4.4vw, 70px); }
.cta__side { display: flex; flex-direction: column; gap: 42px; padding-top: 8px; }
.cta__row { display: flex; gap: 22px; }
.cta__row p { font-size: 12px; color: var(--muted); max-width: 320px; }
.cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 50px;
  padding: 50px var(--pad) 60px; border-top: 1px solid var(--line);
}
.footer .logo .display { font-size: 22px; text-transform: none; letter-spacing: -.02em; line-height: .95; }
.footer .logo__mark { width: 64px; height: 64px; }
.footer__text { font-size: 12px; color: var(--muted); max-width: 340px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, color .2s; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__contact { display: flex; flex-direction: column; align-items: flex-end; }
.footer__contact a { font-size: clamp(24px, 2.4vw, 36px); }
.footer__contact span { font-size: 11px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0,0,0,.92); padding: 4vw; }
.lightbox[hidden] { display: none; }
.lightbox video { width: min(1200px, 100%); border-radius: 8px; }
.lightbox__close { position: absolute; top: 20px; right: 28px; font-size: 40px; line-height: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .play__icon::after, .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav .btn { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open { position: fixed; background: rgba(11,11,10,.96); flex-wrap: wrap; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; width: 100%; order: 3; gap: 20px; font-size: 22px; padding: 30px 0; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .rail { display: none; }
  .hero__media { object-position: 30% center; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 5%, rgba(11,11,10,.3) 55%, rgba(11,11,10,.2)); }
  .hero__content { left: var(--pad); right: var(--pad); bottom: 18vh; gap: 28px; }
  .hero__content .play { order: 2; }
  .hero__note { bottom: 6vh; }
  .hero__scroll { display: none; }

  .sanctuary { grid-template-columns: 1fr 1fr; padding-top: 12vh; }
  .sanctuary__title { grid-column: 1 / -1; }
  .sanctuary__title .indent, .sanctuary__title .indent2 { padding-left: 0; }
  .sanctuary__scarab { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .sanctuary__anubis { display: none; }
  .sanctuary__col--left, .sanctuary__col--right { grid-column: auto; grid-row: auto; justify-self: start; }

  .temple { grid-template-columns: 1fr; text-align: left; min-height: 80vh; }
  .temple .play--big { justify-self: center; order: -1; }

  .guides__head { flex-wrap: wrap; }
  .guides__head .glyph--lg { display: none; }

  .legacy { grid-template-columns: 1fr; min-height: auto; padding-bottom: 0; }
  .legacy__pyramids { width: 80%; margin: 0 0 0 -20px; }
  .legacy__pharaoh { position: relative; width: 100%; height: auto; -webkit-mask-image: linear-gradient(0deg, #000 60%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%); }

  .hall { min-height: 80vh; }
  .hall__content { transform: none; padding: 0 var(--pad); }

  .cta { grid-template-columns: 1fr; gap: 40px; padding-top: 14vh; }
  .footer { grid-template-columns: 1fr; gap: 28px; }
  .footer__contact { align-items: flex-start; }
}

/* =========================================================
   PAGE VIDÉOS
   ========================================================= */
.page-videos .nav { position: relative; }
.nav__links a[aria-current="page"] { color: var(--gold); opacity: 1; }
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.tag { display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.vhead { padding: 10vh var(--pad) 8vh; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 60px; }
.vhead .eyebrow { grid-column: 1 / -1; }
.vhead__title { font-size: clamp(54px, 8vw, 128px); }
.vhead__intro { max-width: 340px; font-size: 13px; color: var(--muted); justify-self: end; }

/* Vidéo à la une */
.feature { margin: 0 var(--pad); display: grid; grid-template-columns: 1.8fr 1fr; gap: 50px; align-items: end; }
.feature__media { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; }
.feature__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature__media:hover video { transform: scale(1.04); }
.feature__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.55)); }
.feature__media .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.feature__info { display: flex; flex-direction: column; gap: 18px; padding-bottom: 10px; }
.feature__info h2 { font-size: clamp(40px, 4.4vw, 70px); }
.feature__info p { font-size: 13px; color: var(--muted); max-width: 340px; }
.meta { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* Galerie */
.gallery { padding: 16vh var(--pad) 4vh; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.chip { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #1a1209; }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px clamp(20px, 2.4vw, 40px); }
.vcard { display: flex; flex-direction: column; gap: 12px; }
.vcard[hidden] { display: none; }
.vcard__media { position: relative; display: block; width: 100%; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--bg-2); margin-bottom: 8px; }
.vcard__media video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); transition: transform .8s var(--ease), filter .5s; }
.vcard:hover .vcard__media video { transform: scale(1.05); filter: none; }
.vcard__play {
  position: absolute; left: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #111;
  transition: transform .4s var(--ease), background .3s;
}
.vcard__play svg { width: 16px; fill: currentColor; margin-left: 2px; }
.vcard:hover .vcard__play { background: var(--gold); transform: scale(1.1); }
.vcard__dur { position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); font-size: 11px; }
.vcard h3 { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.05; }
.vcard p { font-size: 12px; color: var(--muted); max-width: 340px; }
.gallery__empty { color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .vhead { grid-template-columns: 1fr; padding-top: 6vh; }
  .vhead__intro { justify-self: start; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .vgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .vgrid { grid-template-columns: 1fr; gap: 44px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .chip { flex: none; }
}

/* =========================================================
   PAGE HISTOIRE
   ========================================================= */
.hero--page { min-height: 88svh; }
.hero--page .hero__media { object-position: center; }
.hero--page .hero__shade { background: linear-gradient(0deg, var(--bg) 2%, rgba(11,11,10,.35) 50%, rgba(11,11,10,.55)); }
.phero { position: absolute; left: var(--pad); right: var(--pad); bottom: 14vh; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 60px; }
.phero .eyebrow { grid-column: 1 / -1; }
.phero__title { font-size: clamp(58px, 9vw, 150px); }
.phero__intro { max-width: 320px; font-size: 13px; color: rgba(242,237,228,.75); }

.hname { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; padding: 18vh var(--pad) 12vh; }
.hname__glyph { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; max-width: 420px; width: 100%; border: 1px solid var(--line); border-radius: 50%; justify-self: center; position: relative; }
.hname__glyph::before { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(240,169,59,.35); border-radius: 50%; }
.hname__scarab { width: 46%; margin-bottom: 14px; filter: drop-shadow(0 18px 40px rgba(240,169,59,.35)); }
.hname__kmt { font: 400 clamp(44px, 5vw, 72px)/1 var(--serif); color: var(--gold); letter-spacing: -.03em; }
.hname__sub { margin-top: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hname__text { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.hname__text h2 { font-size: clamp(40px, 4.4vw, 70px); }
.hname__text p, .tl__body p, .concept p { font-size: 14px; color: #b5afa4; line-height: 1.75; }
.hname__text strong, .tl__body strong { color: var(--ink); font-weight: 600; }
.hname__text em { color: var(--gold); font-style: italic; }

.timeline { padding: 8vh var(--pad) 12vh; }
.timeline__title { font-size: clamp(40px, 5vw, 80px); margin-bottom: 12vh; text-align: center; }
.tl { list-style: none; position: relative; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--gold), var(--line) 15%, var(--line) 85%, transparent); }
.tl__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 110px; align-items: center; margin-bottom: 16vh; }
.tl__item::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(240,169,59,.15), 0 0 30px rgba(240,169,59,.6); }
.tl__item:nth-child(even) .tl__media { order: 2; }
.tl__media { border-radius: 12px; overflow: hidden; }
.tl__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
.tl__item:hover .tl__media img { transform: scale(1.05); }
.tl__body { display: flex; flex-direction: column; gap: 16px; max-width: 470px; }
.tl__item:nth-child(even) .tl__body { justify-self: end; }
.tl__date { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tl__body h3 { font-size: clamp(30px, 3vw, 46px); line-height: 1.02; }

.concepts { padding: 14vh var(--pad); border-top: 1px solid var(--line); }
.concepts__head { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 70px; }
.concepts__head h2 { font-size: clamp(40px, 4.6vw, 74px); }
.concepts__img { width: min(220px, 30vw); }
.concepts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.concept { display: flex; flex-direction: column; gap: 16px; padding: 34px 28px 38px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,18,17,.7); transition: border-color .4s, transform .5s var(--ease); }
.concept:hover { border-color: rgba(240,169,59,.55); transform: translateY(-6px); }
.concept__n { font: 400 14px/1 var(--serif); color: var(--gold); }
.concept h3 { font-size: 34px; }

@media (max-width: 960px) {
  .phero { grid-template-columns: 1fr; bottom: 10vh; }
  .hname { grid-template-columns: 1fr; gap: 50px; padding-top: 10vh; }
  .hname__glyph { max-width: 280px; }
  .tl::before { left: 6px; }
  .tl__item { grid-template-columns: 1fr; gap: 24px; padding-left: 36px; margin-bottom: 10vh; }
  .tl__item::before { left: 6px; top: 10px; }
  .tl__item:nth-child(even) .tl__media { order: 0; }
  .tl__item:nth-child(even) .tl__body { justify-self: start; }
  .timeline__title { text-align: left; margin-bottom: 8vh; }
  .concepts__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .concepts__grid { grid-template-columns: 1fr; }
  .concepts__img { display: none; }
}

/* =========================================================
   PAGE CARAÏBES
   ========================================================= */
.carib__intro-img { border-radius: 14px; overflow: hidden; }
.carib__intro-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.carib-community { padding: 14vh var(--pad); display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px 80px; align-items: center; }
.carib-community__media { grid-row: span 2; border-radius: 14px; overflow: hidden; }
.carib-community__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.carib-community__head { display: flex; flex-direction: column; gap: 20px; }
.carib-community__head h2 { font-size: clamp(40px, 4.6vw, 74px); }
.carib-community__head p:last-child { font-size: 14px; color: #b5afa4; line-height: 1.75; max-width: 440px; }
.islands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: start; }
.island { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,18,17,.7); transition: border-color .4s, transform .5s var(--ease); }
.island:hover { border-color: rgba(240,169,59,.55); transform: translateY(-4px); }
.island h3 { font-size: 26px; }
.island p { font-size: 12px; color: var(--muted); }
.island__meta { margin-top: auto; padding-top: 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

@media (max-width: 960px) {
  .carib-community { grid-template-columns: 1fr; }
  .carib-community__media { grid-row: auto; }
  .carib-community__media img, .carib__intro-img img { aspect-ratio: 4/3; }
}

/* Menu : plus de liens → burger dès 1180px */
.nav__links { gap: 28px; }
@media (max-width: 1180px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open { position: fixed; background: rgba(11,11,10,.96); flex-wrap: wrap; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; width: 100%; order: 3; gap: 20px; font-size: 22px; padding: 30px 0; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}


@media (max-width: 600px) {
  .carousel__controls { gap: 14px; }
  .carousel__arrow { width: 44px; height: 44px; flex: none; }
  .carousel__dots { flex-wrap: wrap; justify-content: center; gap: 6px; max-width: calc(100vw - 150px); }
  .carousel__dots button { width: 6px; height: 6px; }
  .carousel__dots button[aria-selected="true"] { width: 18px; }
}

/* =========================================================
   FICHE EXPLICATIVE
   ========================================================= */
[data-fiche] { cursor: pointer; }
[data-fiche]:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 12px; }
.fiche {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 4vh 4vw;
  background: rgba(5,5,4,.82); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.fiche[hidden] { display: none; }
.fiche.is-open { opacity: 1; }
.fiche__panel {
  position: relative; width: min(1100px, 100%); max-height: 92vh; overflow-y: auto;
  display: grid; grid-template-columns: .9fr 1.1fr;
  background: #0f0f0e url("assets/img/texture.webp") repeat; background-size: 420px;
  border: 1px solid rgba(240,169,59,.35); border-radius: 18px;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 80px -30px rgba(240,169,59,.35);
  transform: translateY(30px) scale(.97); transition: transform .5s var(--ease);
}
.fiche.is-open .fiche__panel { transform: none; }
.fiche__media { position: relative; min-height: 100%; }
.fiche__media img { width: 100%; height: 100%; object-fit: cover; }
.fiche__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #0f0f0e); }
.fiche__body { display: flex; flex-direction: column; gap: 18px; padding: 54px 50px 50px 30px; }
.fiche__title { font-size: clamp(40px, 4.4vw, 68px); }
.fiche__subtitle { font: 400 20px/1.2 var(--serif); color: var(--gold); margin-top: -8px; }
.fiche__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fiche__facts dt { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fiche__facts dd { font-size: 13px; color: var(--ink); }
.fiche__text { display: flex; flex-direction: column; gap: 14px; }
.fiche__text p { font-size: 14px; line-height: 1.75; color: #b5afa4; }
.fiche__text strong { color: var(--ink); font-weight: 600; }
.fiche__points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 6px; }
.fiche__points li { position: relative; padding-left: 20px; font-size: 12px; color: var(--ink); line-height: 1.5; }
.fiche__points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(240,169,59,.7); }
.fiche__close {
  position: absolute; z-index: 2; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; line-height: 1;
  background: rgba(0,0,0,.5); border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s;
}
.fiche__close:hover { background: var(--gold); color: #1a1209; border-color: var(--gold); }

@media (max-width: 860px) {
  .fiche { padding: 0; place-items: end center; }
  .fiche__panel { grid-template-columns: 1fr; max-height: 94vh; border-radius: 18px 18px 0 0; }
  .fiche__media img { aspect-ratio: 4/3; height: auto; object-position: top; }
  .fiche__media::after { background: linear-gradient(0deg, #0f0f0e, transparent 50%); }
  .fiche__body { padding: 0 24px 40px; }
  .fiche__facts { grid-template-columns: 1fr 1fr; }
  .fiche__points { grid-template-columns: 1fr; }
}

/* =========================================================
   CARAÏBES — HISTOIRE DES ÎLES
   ========================================================= */
.isles { padding: 12vh var(--pad); border-top: 1px solid var(--line); }
.isles__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 60px; }
.isles__head h2 { font-size: clamp(40px, 5vw, 80px); }
.isles__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.isles__tab { padding: 14px 28px; border: 1px solid var(--line); border-radius: 999px; font: 400 20px/1 var(--serif); transition: background .3s, color .3s, border-color .3s; }
.isles__tab:hover { border-color: var(--gold); color: var(--gold); }
.isles__tab.is-active { background: var(--gold); border-color: var(--gold); color: #1a1209; }

.isle[hidden] { display: none; }
.isle.is-active { animation: isleIn .7s var(--ease); }
@keyframes isleIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.isle__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.isle__media { border-radius: 14px; overflow: hidden; }
.isle__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.isle__text { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.isle__text h3 { font-size: clamp(44px, 5vw, 80px); }
.isle__text p { font-size: 14px; line-height: 1.75; color: #b5afa4; }
.isle__text strong { color: var(--ink); font-weight: 600; }

.dates { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; position: relative; }
.dates li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.dates__y { font: 400 22px/1.15 var(--serif); color: var(--gold); }
.dates p { font-size: 13px; line-height: 1.7; color: #b5afa4; }
.dates strong { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .isle__intro { grid-template-columns: 1fr; gap: 30px; }
  .dates { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .isles__tab { padding: 12px 20px; font-size: 17px; }
  .dates li { grid-template-columns: 1fr; gap: 6px; }
}

/* =========================================================
   ARTICLE (page Histoire)
   ========================================================= */
.story { padding: 14vh var(--pad); border-top: 1px solid var(--line); }
.story__head { max-width: 900px; display: flex; flex-direction: column; gap: 22px; margin-bottom: 60px; }
.story__title { font-size: clamp(44px, 6vw, 96px); }
.story__lead { font: 400 clamp(19px, 1.6vw, 24px)/1.5 var(--serif); color: rgba(242,237,228,.85); max-width: 760px; }
.story__hero { border-radius: 16px; overflow: hidden; margin-bottom: 80px; }
.story__hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

.story__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: start; }
.story__body { max-width: 720px; }
.story__body h3 { font-size: clamp(28px, 2.6vw, 40px); margin: 52px 0 16px; }
.story__body h3:first-child { margin-top: 0; }
.story__body p { font-size: 15px; line-height: 1.85; color: #b5afa4; }
.story__body strong { color: var(--ink); font-weight: 600; }
.story__body em { font-style: italic; }
.story__inline { margin: 50px 0 10px; }
.story__inline img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.story__inline figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }

.story__aside { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,18,17,.75); }
.story__aside-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.story__aside h4 { margin-top: 6px; }
.story__dates { list-style: none; display: flex; flex-direction: column; }
.story__dates li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; color: #b5afa4; }
.story__dates span { font: 400 18px/1.2 var(--serif); color: var(--gold); }
.story__people { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.story__people li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }

@media (max-width: 1100px) {
  .story__layout { grid-template-columns: 1fr; gap: 50px; }
  .story__aside { position: static; }
}
@media (max-width: 600px) {
  .story__hero img { aspect-ratio: 4/3; }
  .story__hero { margin-bottom: 50px; }
}

/* ---------- Cartes d'articles ---------- */
.articles { padding: 14vh var(--pad); border-top: 1px solid var(--line); }
.articles__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 60px; }
.articles__head h2 { font-size: clamp(40px, 4.6vw, 74px); }
.articles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.acard {
  display: flex; flex-direction: column; text-align: left; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(18,18,17,.7);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.acard:hover { border-color: rgba(240,169,59,.55); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(240,169,59,.35); }
.acard:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.acard__media { display: block; overflow: hidden; }
.acard__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: brightness(.85); transition: transform 1s var(--ease), filter .6s; }
.acard:hover .acard__media img { transform: scale(1.06); filter: none; }
.acard__body { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 32px; }
.acard__n { font: 400 14px/1 var(--serif); color: var(--gold); }
.acard__meta { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.acard__title { font-size: 34px; line-height: 1.02; }
.acard__text { font-size: 14px; line-height: 1.75; color: #b5afa4; }
.acard__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--gold); }
.acard__more svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.acard:hover .acard__more svg { transform: translateX(6px); }

/* ---------- Lecteur plein écran ---------- */
.reader {
  position: fixed; inset: 0; z-index: 70;
  background: var(--bg) url("assets/img/texture.webp") repeat; background-size: 520px;
  opacity: 0; transform: translateY(40px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.reader[hidden] { display: none; }
.reader.is-open { opacity: 1; transform: none; }
.reader__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.reader .story { border-top: 0; padding-top: 12vh; }
.reader__close {
  position: fixed; z-index: 2; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; line-height: 1;
  background: rgba(0,0,0,.6); border: 1px solid var(--line); backdrop-filter: blur(6px);
  transition: background .3s, color .3s, border-color .3s;
}
.reader__close:hover { background: var(--gold); color: #1a1209; border-color: var(--gold); }

/* ---------- Article « Les héros » ---------- */
.heroes { display: flex; flex-direction: column; gap: 80px; max-width: 1100px; }
.heroes__group h3 { display: flex; align-items: baseline; gap: 18px; font-size: clamp(30px, 3.2vw, 48px); margin-bottom: 10px; }
.heroes__gn { font: 400 16px/1 var(--serif); color: var(--gold); }
.heroes__gs { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.hero-item { display: grid; grid-template-columns: 180px 1fr; gap: 34px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.hero-item__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.hero-item__body { display: flex; flex-direction: column; gap: 8px; }
.hero-item__dates { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero-item h4 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; }
.hero-item__sub { font: 400 17px/1.3 var(--serif); color: rgba(242,237,228,.8); font-style: italic; }
.hero-item p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: #b5afa4; max-width: 720px; }
.hero-item strong { color: var(--ink); font-weight: 600; }
.heroes__note { margin-top: 70px; max-width: 760px; font-size: 12px; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }
.heroes__note a { color: var(--gold); text-decoration: underline; }
@media (max-width: 600px) {
  .hero-item { grid-template-columns: 96px 1fr; gap: 18px; }
}

/* ---------- Tags des articles ---------- */
.articles__filters { margin-bottom: 40px; }
.articles__filters .chip span { margin-left: 4px; font-size: 10px; opacity: .6; }
.acard[hidden] { display: none; }
.acard__tags, .story__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.acard__tags span, .story__tags button {
  padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(240,169,59,.35);
  font-size: 10px; letter-spacing: .06em; color: var(--gold); background: rgba(240,169,59,.06);
}
.story__tags { list-style: none; margin-top: 4px; }
.story__tags button { font-size: 11px; padding: 7px 14px; transition: background .3s, color .3s; }
.story__tags button:hover { background: var(--gold); color: #1a1209; }

/* =========================================================
   SCARABÉE ANIMÉ (Khepri)
   ========================================================= */
.scarab-anim { position: relative; perspective: 1100px; }
.scarab-anim__tilt { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.scarab-anim__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.scarab-anim__base { position: relative; visibility: hidden; display: block; width: 100%; }
.scarab-anim__body { clip-path: inset(0 35% 0 35%); z-index: 2; }
.scarab-anim__wing--l { clip-path: inset(0 63% 0 0); transform-origin: 37% 45%; animation: wingL 4.8s ease-in-out infinite; z-index: 1; }
.scarab-anim__wing--r { clip-path: inset(0 0 0 63%); transform-origin: 63% 45%; animation: wingR 4.8s ease-in-out infinite; z-index: 1; }
@keyframes wingL { 0%,100% { transform: rotateY(0) } 50% { transform: rotateY(16deg) rotateZ(-2deg) } }
@keyframes wingR { 0%,100% { transform: rotateY(0) } 50% { transform: rotateY(-16deg) rotateZ(2deg) } }

/* soleil : rayons qui tournent + halo qui pulse */
.scarab-anim__rays, .scarab-anim__glow { position: absolute; left: 50%; top: 11%; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); }
.scarab-anim__rays {
  width: 70%; aspect-ratio: 1; z-index: 0; opacity: .55; filter: blur(2px);
  background: repeating-conic-gradient(from 0deg, rgba(255,200,90,.55) 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%); mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  animation: raysSpin 40s linear infinite;
}
.scarab-anim__glow {
  width: 30%; aspect-ratio: 1; z-index: 3; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,236,170,.95) 0%, rgba(255,180,60,.55) 35%, transparent 70%);
  animation: sunPulse 3.6s ease-in-out infinite;
}
@keyframes raysSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sunPulse { 0%,100% { opacity: .55; transform: translate(-50%, -50%) scale(.9); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); } }

/* reflet doré qui balaie le métal */
.scarab-anim__shine {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 40%, rgba(255,240,200,.28) 49%, rgba(255,214,120,.14) 52%, transparent 60%);
  background-size: 300% 100%; background-repeat: no-repeat;
  -webkit-mask: url("assets/img/scarab.webp") center / contain no-repeat; mask: url("assets/img/scarab.webp") center / contain no-repeat;
  animation: shineSweep 7s ease-in-out infinite;
}
@keyframes shineSweep { 0% { background-position: 120% 0; } 45%, 100% { background-position: -20% 0; } }

/* particules d'or */
.scarab-anim__dust { position: absolute; z-index: 5; width: 4px; height: 4px; border-radius: 50%; pointer-events: none;
  background: #ffd98a; box-shadow: 0 0 8px 2px rgba(255,190,80,.8); opacity: 0; animation: dustRise var(--d, 6s) ease-in var(--delay, 0s) infinite; }
@keyframes dustRise { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 10px), -140px) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .scarab-anim__wing--l, .scarab-anim__wing--r, .scarab-anim__rays, .scarab-anim__glow, .scarab-anim__shine, .scarab-anim__dust { animation: none; }
  .scarab-anim__dust { display: none; }
}

/* =========================================================
   ÉCRAN DE CHARGEMENT
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, rgba(240,169,59,.10), transparent 60%), var(--bg) url("assets/img/texture.webp") repeat;
  background-size: auto, 520px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; transition: transform .8s var(--ease); }
.loader.is-done .loader__inner { transform: scale(1.08); }
.loader__stage { position: relative; width: min(240px, 56vw); aspect-ratio: 1; display: grid; place-items: center; }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ringSpin 2.4s linear infinite; }
.loader__ring circle { fill: none; stroke-linecap: round; }
.loader__ring .track { stroke: rgba(240,169,59,.12); stroke-width: 1.5; }
.loader__ring .arc { stroke: url(#loaderGold); stroke-width: 2.5; stroke-dasharray: 90 400; animation: arcGrow 2.4s ease-in-out infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes arcGrow { 0%,100% { stroke-dasharray: 40 400; } 50% { stroke-dasharray: 190 400; } }
.loader .scarab-anim { width: 70%; }
.loader .scarab-anim__rays, .loader .scarab-anim__glow { top: 12.5%; }
.loader .scarab-anim__shine { -webkit-mask-image: url("assets/img/logo-large.webp"); mask-image: url("assets/img/logo-large.webp"); }
.loader .scarab-anim__wing--l, .loader .scarab-anim__wing--r { animation-duration: 1.6s; }
.loader__name {
  font: 400 clamp(22px, 3vw, 30px)/1.35 var(--serif); letter-spacing: .06em; text-align: center; padding-top: .15em;
  background: linear-gradient(100deg, #8f6a2a 0%, #f0a93b 35%, #fff1c9 50%, #f0a93b 65%, #8f6a2a 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: nameShine 2.6s linear infinite;
}
.loader__sub { font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
@keyframes nameShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) {
  .loader__ring, .loader__ring .arc, .loader__name { animation: none; }
}

/* =========================================================
   PAGE AFRIQUE
   ========================================================= */
.page-afrique .hero__shade { background: linear-gradient(90deg, rgba(11,11,10,.92) 0%, rgba(11,11,10,.55) 45%, rgba(11,11,10,.1) 75%), linear-gradient(0deg, var(--bg) 2%, transparent 40%); }
.phero--afrique { grid-template-columns: 1fr; max-width: 640px; right: auto; bottom: 16vh; }
.phero--afrique .phero__title { font-size: clamp(50px, 6.6vw, 104px); }
.phero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.phero__side .phero__intro { max-width: 420px; font-size: 15px; }
.concepts__grid--5 { grid-template-columns: repeat(5, 1fr); }

.crafts { padding: 14vh var(--pad); border-top: 1px solid var(--line); }
.crafts__head { display: flex; flex-direction: column; gap: 18px; max-width: 720px; margin-bottom: 60px; }
.crafts__head h2 { font-size: clamp(40px, 5vw, 80px); }
.crafts__head p:last-child { font-size: 14px; color: #b5afa4; line-height: 1.75; }
.crafts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.craft { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(18,18,17,.7); transition: border-color .4s, transform .5s var(--ease); }
.craft:hover { border-color: rgba(240,169,59,.55); transform: translateY(-6px); }
.craft img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1s var(--ease); }
.craft:hover img { transform: scale(1.05); }
.craft__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 30px; }
.craft h3 { font-size: 32px; }
.craft p { font-size: 13px; line-height: 1.75; color: #b5afa4; }

.adinkra { margin-top: 90px; padding: 46px; border: 1px solid rgba(240,169,59,.3); border-radius: 18px; background: radial-gradient(ellipse at top left, rgba(240,169,59,.08), transparent 60%); }
.adinkra h3 { font-size: clamp(32px, 3.4vw, 52px); margin-bottom: 12px; }
.adinkra > p { font-size: 14px; color: #b5afa4; max-width: 620px; margin-bottom: 36px; }
.adinkra__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.adinkra__list li { display: flex; flex-direction: column; gap: 8px; }
.adinkra__sign { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(240,169,59,.4); margin-bottom: 8px; }
.adinkra__sign svg { width: 36px; height: 36px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.adinkra__list strong { font: 400 22px/1.1 var(--serif); }
.adinkra__list span:last-child { font-size: 13px; color: #b5afa4; line-height: 1.65; }

.page-afrique .isle__intro { margin-bottom: 60px; }
.afr-wide { margin-top: 70px; }
.afr-wide img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 14px; }
.afr-wide figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }

@media (max-width: 1100px) {
  .concepts__grid--5 { grid-template-columns: repeat(2, 1fr); }
  .crafts__grid { grid-template-columns: 1fr 1fr; }
  .adinkra__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .concepts__grid--5, .crafts__grid, .adinkra__list { grid-template-columns: 1fr; }
  .adinkra { padding: 28px 22px; }
  .afr-wide img { aspect-ratio: 4/3; }
  .page-afrique .hero__shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(11,11,10,.55) 60%, rgba(11,11,10,.35)); }
}
.adinkra__letter { font: 400 30px/1 var(--serif); color: var(--gold); }

.origins .dates__y { font-size: 19px; }
.origins__note { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; margin-top: 70px; padding: 40px; border: 1px solid rgba(240,169,59,.3); border-radius: 18px; background: radial-gradient(ellipse at top right, rgba(240,169,59,.08), transparent 60%); }
.origins__note img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.origins__note h3 { font-size: clamp(30px, 3vw, 46px); margin-bottom: 16px; }
.origins__note p { font-size: 14px; line-height: 1.8; color: #b5afa4; margin-bottom: 12px; }
.origins__note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .origins__note { grid-template-columns: 1fr; padding: 26px 22px; gap: 26px; } }

/* Héros des pages intérieures : contenu dans le flux, jamais sous le logo */
.hero--page { display: flex; flex-direction: column; justify-content: flex-end; padding: 130px var(--pad) 14vh; }
.hero--page .phero, .phero--afrique { position: relative; left: auto; right: auto; bottom: auto; }
@media (max-width: 960px) { .hero--page { padding: 110px var(--pad) 10vh; } }

/* Lucy */
.lucy { padding: 12vh var(--pad); border-top: 1px solid var(--line); }
.lucy__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.lucy__media { position: sticky; top: 40px; border-radius: 16px; overflow: hidden; }
.lucy__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.lucy__text { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.lucy__text h2 { font-size: clamp(42px, 5vw, 80px); }
.lucy__lead { font: 400 clamp(18px, 1.5vw, 22px)/1.5 var(--serif); color: rgba(242,237,228,.85); margin-bottom: 10px; }
.lucy__text h3 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 22px; }
.lucy__text p:not(.lucy__lead):not(.eyebrow) { font-size: 14px; line-height: 1.85; color: #b5afa4; }
.lucy__text strong { color: var(--ink); font-weight: 600; }
.text-link { text-decoration: underline; text-decoration-color: rgba(240,169,59,.6); text-underline-offset: 3px; }
@media (max-width: 960px) { .lucy__grid { grid-template-columns: 1fr; gap: 36px; } .lucy__media { position: static; } .lucy__media img { aspect-ratio: 4/3; } }

/* Cuisine africaine */
.cuisine__grid { grid-template-columns: repeat(4, 1fr); }
.cuisine__grid .craft h3 { font-size: 28px; }
.cuisine__more { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; margin-top: 70px; }
.cuisine__dishes, .cuisine__voyage { padding: 40px; border-radius: 18px; border: 1px solid var(--line); background: rgba(18,18,17,.7); }
.cuisine__voyage { border-color: rgba(240,169,59,.3); background: radial-gradient(ellipse at top right, rgba(240,169,59,.08), transparent 60%), rgba(18,18,17,.7); }
.cuisine__dishes h3, .cuisine__voyage h3 { font-size: clamp(28px, 2.8vw, 42px); margin-bottom: 22px; }
.cuisine__dishes ul { list-style: none; }
.cuisine__dishes li { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.cuisine__dishes li strong { font: 400 19px/1.2 var(--serif); color: var(--gold); }
.cuisine__dishes li span, .cuisine__voyage p, .cuisine__voyage li { font-size: 13px; line-height: 1.75; color: #b5afa4; }
.cuisine__voyage p { margin-bottom: 14px; }
.cuisine__voyage ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cuisine__voyage li { position: relative; padding-left: 20px; }
.cuisine__voyage li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.cuisine__voyage strong, .cuisine__dishes strong { color: var(--ink); }
.cuisine__dishes li strong { color: var(--gold); }
@media (max-width: 1100px) { .cuisine__grid { grid-template-columns: 1fr 1fr; } .cuisine__more { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cuisine__grid { grid-template-columns: 1fr; } .cuisine__dishes, .cuisine__voyage { padding: 26px 22px; } .cuisine__dishes li { grid-template-columns: 1fr; gap: 6px; } }

/* =========================================================
   MAILLAGE INTERNE
   ========================================================= */
.story__link, .isle__links a, .afr-links a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(240,169,59,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.story__link:hover, .isle__links a:hover, .afr-links a:hover { text-decoration-color: var(--gold); }
.story__link strong, .story__body .story__link { color: var(--gold); }

.story__related { margin-top: 90px; padding-top: 50px; border-top: 1px solid var(--line); }
.story__related h3 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 30px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(18,18,17,.6); transition: border-color .3s, transform .4s var(--ease); }
.related:hover { border-color: rgba(240,169,59,.55); transform: translateY(-4px); }
.related img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: brightness(.85); }
.related__meta { padding: 0 20px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.related__title { padding: 0 20px; font-size: 24px; line-height: 1.15; }
@media (max-width: 860px) { .related__grid { grid-template-columns: 1fr; } }

.hero-item__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--gold); }
.hero-item__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.hero-item__link:hover svg { transform: translateX(4px); }

.isle__links, .afr-links { margin-top: 30px; font-size: 14px; line-height: 1.9; color: #b5afa4; }
.isle__links strong, .afr-links strong { color: var(--ink); font-weight: 600; margin-right: 6px; }
.fiche__link { margin-top: 22px; align-self: flex-start; }

/* =========================================================
   PAGE À PROPOS
   ========================================================= */
.concepts__grid--3 { grid-template-columns: repeat(3, 1fr); }
.about-actions a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(240,169,59,.35); text-underline-offset: 3px; }
.about-actions a:hover { text-decoration-color: var(--gold); }
.faq { padding: 14vh var(--pad); display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.faq__head h2 { font-size: clamp(38px, 4.2vw, 66px); margin-top: 14px; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font: 400 clamp(20px, 1.8vw, 26px)/1.25 var(--serif); transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 300 20px/1 var(--sans, sans-serif); color: var(--gold); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--gold); }
.faq__item p { padding: 0 50px 26px 0; font-size: 15px; line-height: 1.8; color: #b5afa4; }
.faq__item a { color: var(--gold); }
@media (max-width: 900px) {
  .concepts__grid--3 { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
}

/* =========================================================
   PAGE CULTURE
   ========================================================= */
.culture-list .dates__y { white-space: normal; }
.culture-books { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.culture-books li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.culture-books strong { font: 400 19px/1.3 var(--serif); color: var(--ink); }
.culture-books span { font-size: 12px; color: var(--muted); text-align: right; flex: none; max-width: 48%; }
.culture-books a, .concept a, .dates a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(240,169,59,.35); text-underline-offset: 3px; }
@media (max-width: 600px) { .culture-books li { flex-direction: column; gap: 4px; } .culture-books span { text-align: left; max-width: none; } }
.story__tags .story__tag { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(240,169,59,.35); font-size: 11px; letter-spacing: .06em; color: var(--gold); background: rgba(240,169,59,.06); }

/* =========================================================
   FOOTER « FAISCEAU ET GRAND NOM » (adapté de BeamWordmarkFooter)
   ========================================================= */
.bwf {
  --bwf-bg: #0b0b0a; --bwf-bg-rgb: 11, 11, 10; --bwf-ink: #f2ede4; --bwf-ink-rgb: 242, 237, 228;
  --bwf-muted: #8f897e; --bwf-acc: 240, 169, 59; --bwf-lit: 255, 205, 120;
  --bwf-wt: #a8711f; --bwf-wf: #140d04; --bwf-sans: var(--sans); --bwf-word-font: var(--serif); --bwf-ww: 400;
  --bwf-ang: 118deg; --bwf-b: 58%; --bwf-px: 50%; --bwf-py: 50%; --bwf-g: 0; --bwf-top: 0px; --bwf-bot: 100%;
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  background: var(--bwf-bg); color: var(--bwf-ink); font-family: var(--bwf-sans); -webkit-font-smoothing: antialiased; touch-action: pan-y;
}
:where(.bwf) a { color: inherit; text-decoration: none; }
:where(.bwf) ul { list-style: none; margin: 0; padding: 0; }
:where(.bwf) p { margin: 0; }
.bwf svg { max-width: none; display: block; }
.bwf .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bwf-rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, rgba(var(--bwf-acc),.15), rgba(var(--bwf-acc),.55) var(--bwf-b), rgba(var(--bwf-acc),.15)); }
.bwf-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bwf-wash { position: absolute; inset: 0; background: radial-gradient(120% 90% at 8% 0%, rgba(var(--bwf-acc),.14), transparent 55%), radial-gradient(90% 70% at 92% 8%, rgba(var(--bwf-acc),.10), transparent 60%), linear-gradient(180deg, rgba(var(--bwf-acc),.05), transparent 70%); }
.bwf-bands { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(var(--bwf-acc),.04) 0 1.6cqw, transparent 1.6cqw 4.2cqw); -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%); mask-image: linear-gradient(100deg, #000 0%, transparent 55%); opacity: .9; }
.bwf-beam { position: absolute; inset: 0; filter: blur(calc(1px + 1.6cqw)); background: linear-gradient(var(--bwf-ang), transparent calc(var(--bwf-b) - 11%), rgba(var(--bwf-acc),.08) calc(var(--bwf-b) - 5%), rgba(var(--bwf-acc),.26) var(--bwf-b), rgba(var(--bwf-acc),.06) calc(var(--bwf-b) + 4%), transparent calc(var(--bwf-b) + 9%)), linear-gradient(var(--bwf-ang), transparent calc(var(--bwf-b) - 34%), rgba(var(--bwf-acc),.08) calc(var(--bwf-b) - 27%), transparent calc(var(--bwf-b) - 20%)); }
.bwf-glow { position: absolute; inset: 0; opacity: var(--bwf-g); background: radial-gradient(circle 26cqw at var(--bwf-px) var(--bwf-py), rgba(var(--bwf-acc),.13), transparent 70%); }
.bwf-grain { position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.bwf-inner { position: relative; z-index: 2; box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: clamp(48px,8.5cqw,104px) clamp(20px,6cqw,88px) 0; display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,.8fr)); column-gap: clamp(24px,4cqw,48px); row-gap: 44px; }
.bwf-label { font-size: 12px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--bwf-acc)); padding-bottom: 13px; position: relative; display: block; }
.bwf-label::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(var(--bwf-acc),.55), rgba(var(--bwf-acc),.2)); transform-origin: 0 50%; transform: scaleX(var(--bwf-line,1)); transition: transform 1.1s cubic-bezier(.2,.7,.1,1) var(--bwf-d,0ms); }
.bwf[data-in='false'] .bwf-label::after { --bwf-line: 0; }
.bwf-col { min-width: 0; }
.bwf-col:nth-child(1) { max-width: 420px; }
.bwf-brand { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.bwf-brand img { width: 58px; height: 58px; filter: drop-shadow(0 10px 24px rgba(240,169,59,.3)); }
.bwf-brand span { font: 400 22px/.95 var(--serif); letter-spacing: -.02em; }
.bwf-fade { transition: opacity .9s ease var(--bwf-d,0ms), translate .9s cubic-bezier(.2,.7,.1,1) var(--bwf-d,0ms); }
.bwf[data-in='false'] .bwf-fade { opacity: 0; translate: 0 14px; }
.bwf-socials { display: flex; gap: 16px; margin-top: 22px; }
.bwf-soc { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: rgba(var(--bwf-ink-rgb),.62); background: linear-gradient(180deg, rgba(var(--bwf-ink-rgb),.09), rgba(var(--bwf-ink-rgb),.025)); box-shadow: inset 0 0 0 1px rgba(var(--bwf-ink-rgb),.16), inset 0 1px 0 rgba(var(--bwf-ink-rgb),.14), 0 6px 14px -8px rgba(0,0,0,.8); transition: color .25s, box-shadow .35s, translate .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.bwf-soc svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bwf-soc:hover, .bwf-soc:focus-visible { color: var(--bwf-ink); translate: 0 -2px; outline: none; background: linear-gradient(180deg, rgba(var(--bwf-acc),.32), rgba(var(--bwf-acc),.08)); box-shadow: inset 0 0 0 1px rgba(var(--bwf-acc),.75), inset 0 1px 0 rgba(var(--bwf-ink-rgb),.3), 0 10px 26px -8px rgba(var(--bwf-acc),.75); }
.bwf-tip { position: absolute; z-index: 5; left: 50%; top: calc(100% + 9px); translate: -50% -4px; white-space: nowrap; font-size: 11px; line-height: 1; padding: 6px 8px; border-radius: 4px; background: rgba(var(--bwf-acc),.95); color: #1a1209; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s; }
.bwf-tip::after { content: ''; position: absolute; left: 50%; bottom: 100%; margin-left: -4px; border: 4px solid transparent; border-bottom-color: rgba(var(--bwf-acc),.95); }
.bwf-soc:hover .bwf-tip, .bwf-soc:focus-visible .bwf-tip { opacity: 1; translate: -50% 0; }
.bwf-credits { margin-top: 22px; font-size: 14px; line-height: 1.6; color: var(--bwf-muted); }
.bwf-credits p + p { margin-top: 6px; }
.bwf-credits a { color: var(--bwf-ink); background: linear-gradient(rgb(var(--bwf-acc)), rgb(var(--bwf-acc))) 0 100%/0 1px no-repeat; transition: background-size .35s cubic-bezier(.2,.8,.2,1), color .25s; }
.bwf-credits a:hover, .bwf-credits a:focus-visible { background-size: 100% 1px; color: #fff; outline: none; }
.bwf-links { margin-top: 13px; display: flex; flex-direction: column; }
.bwf-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14.5px; line-height: 21px; color: rgba(var(--bwf-ink-rgb),.78); transition: color .25s; }
.bwf-link-t { display: inline-block; transition: translate .35s cubic-bezier(.2,.8,.2,1); }
.bwf-link::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: rgb(var(--bwf-acc)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.bwf-link svg { width: 12px; height: 12px; opacity: 0; translate: -6px 0; color: rgb(var(--bwf-acc)); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s, translate .35s cubic-bezier(.2,.8,.2,1); }
.bwf-link:hover, .bwf-link:focus-visible { color: #fff; outline: none; }
.bwf-link:hover::before, .bwf-link:focus-visible::before { transform: scaleX(1); }
.bwf-link:hover .bwf-link-t, .bwf-link:focus-visible .bwf-link-t { translate: 12px 0; }
.bwf-link:hover svg, .bwf-link:focus-visible svg { opacity: 1; translate: 10px 0; }
.bwf-link:focus-visible .bwf-link-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(var(--bwf-acc),.8); }
.bwf-word { position: relative; z-index: 1; overflow: hidden; margin-top: clamp(28px,7cqw,96px); height: 22cqw; }
.bwf-word-box { padding: 0 clamp(20px,6cqw,88px); max-width: 1240px; margin: 0 auto; box-sizing: border-box; }
.bwf-word-in { display: inline-flex; white-space: nowrap; font-family: var(--bwf-word-font); font-weight: var(--bwf-ww); line-height: 1; letter-spacing: -.03em; user-select: none; -webkit-user-select: none; }
.bwf-lw { display: inline-block; translate: 0 0; transition: translate 1.25s cubic-bezier(.16,.84,.2,1) var(--bwf-d,0ms); }
.bwf[data-in='false'] .bwf-lw { translate: 0 85%; }
.bwf-l { display: inline-block; cursor: pointer; color: transparent; -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat; background-size: var(--bwf-rw) var(--bwf-rh); background-position: calc(var(--bwf-x) * -1) calc(var(--bwf-y) * -1);
  background-image: radial-gradient(circle 22cqw at var(--bwf-px) var(--bwf-py), rgba(var(--bwf-lit), calc(var(--bwf-g) * .85)), transparent 70%),
    linear-gradient(var(--bwf-ang), transparent calc(var(--bwf-b) - 9%), rgba(var(--bwf-lit),.55) calc(var(--bwf-b) - 1.5%), rgba(var(--bwf-lit),.7) var(--bwf-b), rgba(var(--bwf-lit),.2) calc(var(--bwf-b) + 3.5%), transparent calc(var(--bwf-b) + 8%)),
    linear-gradient(180deg, var(--bwf-wt) var(--bwf-top), var(--bwf-wf) var(--bwf-bot));
  transition: transform .5s cubic-bezier(.2,.9,.25,1.2), filter .4s; transform-origin: 50% 100%; }
.bwf-l:hover { transform: translateY(-.045em); filter: brightness(1.35) saturate(1.1); }
.bwf-l.is-hop { animation: bwf-hop .75s cubic-bezier(.2,.8,.2,1); }
@keyframes bwf-hop { 0% { transform: translateY(0) scale(1,1); } 18% { transform: translateY(.02em) scale(1.06,.9); } 45% { transform: translateY(-.14em) scale(.97,1.05); } 70% { transform: translateY(.01em) scale(1.02,.97); } 100% { transform: translateY(-.045em) scale(1,1); } }
.bwf-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(var(--bwf-bg-rgb),.55) 55%, var(--bwf-bg)); }
@container (max-width: 900px) { .bwf-inner { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 40px; } .bwf-col:nth-child(1) { grid-column: 1 / -1; max-width: none; } }
@container (max-width: 560px) { .bwf-inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .bwf .bwf-lw, .bwf .bwf-fade, .bwf .bwf-label::after, .bwf .bwf-l, .bwf .bwf-soc, .bwf .bwf-link-t, .bwf .bwf-link svg { transition: none !important; animation: none !important; } .bwf[data-in='false'] .bwf-lw, .bwf[data-in='false'] .bwf-fade { translate: none; opacity: 1; } .bwf[data-in='false'] .bwf-label::after { --bwf-line: 1; } }
.bwf-l { padding-top: .25em; margin-top: -.25em; }

/* =========================================================
   MENU PRINCIPAL (adapté de Navbar1, shadcnblocks)
   ========================================================= */
.knav { gap: 28px; }
.knav svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.knav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.knav__link, .knav__trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px;
  font: 500 13px/1 var(--sans); color: rgba(242,237,228,.82); background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.knav__link:hover, .knav__trigger:hover, .knav__item.is-open .knav__trigger { color: var(--ink); background: rgba(242,237,228,.08); }
.knav__link[aria-current="page"], .knav__item.is-current .knav__trigger { color: var(--gold); }
.knav__link:focus-visible, .knav__trigger:focus-visible, .knav__sub:focus-visible, .knav__all:focus-visible, .knav__burger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.knav__chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.knav__item { position: relative; }
.knav__item.is-open .knav__chev { transform: rotate(180deg); }
.knav__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; z-index: 30; width: 380px; padding: 10px;
  background: rgba(16,15,13,.97); border: 1px solid rgba(240,169,59,.22); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: knav-in .22s var(--ease);
}
.knav__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* pont pour la souris */
.knav__panel[hidden] { display: none; }
@keyframes knav-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.knav__panel ul { list-style: none; margin: 0; padding: 0; }
.knav__sub { display: flex; gap: 14px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; transition: background .2s; }
.knav__sub:hover { background: rgba(240,169,59,.09); }
.knav__sub strong { display: block; font: 600 14px/1.3 var(--sans); color: var(--ink); }
.knav__sub small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.knav__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--gold); background: rgba(240,169,59,.1); border: 1px solid rgba(240,169,59,.2); }
.knav__ico svg { width: 18px; height: 18px; }
.knav__sub:hover .knav__ico { background: rgba(240,169,59,.2); }
.knav__all { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--gold); }
.knav__all svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.knav__all:hover svg { transform: translateX(4px); }
.knav__actions { display: flex; gap: 10px; }
.knav__burger { display: none; width: 42px; height: 42px; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); background: rgba(11,11,10,.35); cursor: pointer; }
.knav__burger svg { width: 20px; height: 20px; }

/* Panneau latéral (mobile) */
.knav-sheet { position: fixed; inset: 0; z-index: 200; }
.knav-sheet[hidden] { display: none; }
.knav-sheet__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.7); opacity: 0; transition: opacity .35s; }
.knav-sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 86vw); display: flex; flex-direction: column; background: #100f0d; border-left: 1px solid rgba(240,169,59,.25); box-shadow: -30px 0 60px rgba(0,0,0,.6); transform: translateX(100%); transition: transform .35s var(--ease); }
.knav-sheet.is-open .knav-sheet__overlay { opacity: 1; }
.knav-sheet.is-open .knav-sheet__panel { transform: none; }
.knav-sheet svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.knav-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.knav-sheet__head .logo__mark { width: 44px; height: 44px; }
.knav-sheet__close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); color: var(--ink); background: none; cursor: pointer; }
.knav-sheet__close svg { width: 18px; height: 18px; }
.knav-sheet__body { flex: 1; overflow-y: auto; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 22px; }
.knav-sheet__menu { display: flex; flex-direction: column; }
.knav-sheet__link, .knav-sheet__group summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font: 400 22px/1.1 var(--serif); color: var(--ink); cursor: pointer; list-style: none; }
.knav-sheet__group summary::-webkit-details-marker { display: none; }
.knav-sheet__link[aria-current="page"] { color: var(--gold); }
.knav-sheet__group summary .knav__chev { width: 18px; height: 18px; color: var(--gold); }
.knav-sheet__group[open] summary .knav__chev { transform: rotate(180deg); }
.knav-sheet__group ul { list-style: none; margin: 0; padding: 8px 0 10px; }
.knav-sheet__group .knav__sub { padding: 10px 6px; }
.knav-sheet__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding-top: 6px; }
.knav-sheet__extra a { padding: 9px 4px; font-size: 13.5px; color: var(--muted); transition: color .2s; }
.knav-sheet__extra a:hover { color: var(--gold); }
.knav-sheet__btns { display: flex; flex-direction: column; gap: 10px; }
.knav-sheet__btns .btn { justify-content: center; text-align: center; }

@media (max-width: 1300px) {
  .knav__menu, .knav__actions { display: none; }
  .knav__burger { display: grid; }
}
.knav__link, .knav__trigger, .knav__actions .btn { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .knav__panel { animation: none; }
  .knav-sheet__panel, .knav-sheet__overlay { transition: none; }
}

/* Articles : 3 colonnes sur ordinateur, 2 sur tablette, 1 sur mobile */
.articles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .articles__grid { grid-template-columns: 1fr; } }

/* Discographie et bibliographie dans un article */
.story__disco { margin-top: 6px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,18,17,.6); }
.story__disco h4 { margin: 18px 0 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.story__disco h4:first-child { margin-top: 0; }
.story__disco ul { list-style: none; margin: 0; padding: 0; }
.story__disco li { display: grid; grid-template-columns: 86px 1fr; column-gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.story__disco li:last-child { border-bottom: 0; }
.story__disco li span { grid-row: span 2; font: 400 17px/1.3 var(--serif); color: var(--gold); }
.story__disco li strong { color: var(--ink); font-weight: 600; }
.story__disco li em { font-style: normal; font-size: 13px; color: var(--muted); }
.story__biblio li { grid-template-columns: 1fr; }
.story__biblio a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(240,169,59,.35); text-underline-offset: 3px; font-weight: 600; }
.story__note { margin-top: 14px; font-size: 12.5px !important; color: var(--muted) !important; font-style: italic; }
.heroes__biblio { max-width: 760px; margin: 70px auto 0; }

/* Réseaux sociaux : « bientôt » */
.bwf-soc.is-soon, .rail a.is-soon { cursor: default; }
.bwf-soc.is-soon { opacity: .75; }
.bwf-soon { align-self: center; padding: 6px 10px; border-radius: 999px; border: 1px dashed rgba(var(--bwf-ink-rgb),.35); font-size: 10.5px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: rgba(var(--bwf-ink-rgb),.7); }
.rail__soon { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* =========================================================
   BANDEAU RGPD / COOKIES
   ========================================================= */
.consent {
  position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(560px, calc(100vw - 48px));
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; padding: 22px 22px 20px;
  background: rgba(18,18,17,.96); color: var(--ink); border: 1px solid rgba(240,169,59,.3); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.75); backdrop-filter: blur(10px);
  opacity: 0; translate: 0 20px; transition: opacity .4s var(--ease), translate .4s var(--ease);
}
.consent.is-in { opacity: 1; translate: 0 0; }
.consent[hidden] { display: none; }
.consent__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(240,169,59,.12); color: var(--gold); }
.consent__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.consent__title { font: 500 19px/1.2 var(--serif); margin: 2px 0 6px; }
.consent__text { font-size: 13.5px; line-height: 1.6; color: rgba(242,237,228,.75); }
.consent__text strong { color: var(--ink); font-weight: 600; }
.consent__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.consent__btns { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }
.consent__btn { font: 600 13px/1 var(--sans); padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.consent__btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.consent__btn--ghost:hover { border-color: var(--ink); }
.consent__btn--main { background: var(--gold); color: #14110b; border: 1px solid var(--gold); }
.consent__btn--main:hover { background: var(--gold-2); }
.consent__btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; grid-template-columns: 1fr; }
  .consent__icon { display: none; }
  .consent__btns { justify-content: stretch; }
  .consent__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* Lien « Gérer les cookies » du pied de page */
.bwf-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 12.5px; }
.bwf-legal a, .bwf-legal button { color: rgba(var(--bwf-ink-rgb),.6); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bwf-legal a:hover, .bwf-legal button:hover { color: var(--bwf-ink); }

/* Page Confidentialité */
.legal { max-width: 820px; margin: 0 auto; padding: 12vh var(--pad) 14vh; }
.legal h2 { font-size: clamp(26px, 3vw, 38px); margin: 56px 0 18px; }
.legal h2:first-of-type { margin-top: 20px; }
.legal p { line-height: 1.8; color: rgba(242,237,228,.8); margin-bottom: 14px; }
.legal a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal__maj { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; }
.legal__bref { list-style: none; padding: 0; display: grid; gap: 10px; }
.legal__bref li { padding: 16px 20px 16px 48px; position: relative; border: 1px solid var(--line); border-radius: 14px; line-height: 1.6; }
.legal__bref li::before { content: "✓"; position: absolute; left: 20px; top: 15px; color: var(--gold); font-weight: 700; }
.legal__dl { display: grid; grid-template-columns: 220px 1fr; gap: 14px 24px; }
.legal__dl dt { font-weight: 600; color: var(--ink); }
.legal__dl dd { margin: 0; color: rgba(242,237,228,.8); line-height: 1.6; }
@media (max-width: 700px) { .legal__dl { grid-template-columns: 1fr; gap: 4px; } .legal__dl dd { margin-bottom: 12px; } }
.bwf-legal .bwf-rights { flex-basis: 100%; color: rgba(var(--bwf-ink-rgb),.75); }
.legal .legal__rights { font-weight: 600; color: var(--ink); }

/* Bouton « Nous rejoindre » : bientôt */
.btn.is-soon { position: relative; cursor: default; }
.soon-badge { display: inline-block; margin-left: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.18); font-size: 10px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }
.btn--sm .soon-badge { position: absolute; top: -9px; right: -8px; margin: 0; padding: 3px 7px; font-size: 9px; background: #14110b; color: var(--gold); border: 1px solid var(--gold); }
.bwf-link.is-soon { cursor: default; }
.bwf-soonbadge { margin-left: 8px; padding: 3px 7px; border-radius: 999px; border: 1px dashed rgba(var(--bwf-ink-rgb),.4); font-size: 9.5px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--bwf-ink-rgb),.7); align-self: center; }
.btn--light .soon-badge { background: rgba(0,0,0,.08); }
.dvbtn.is-soon { cursor: default; }
.bwf-link.is-soon .bwf-link-t { white-space: nowrap; }

/* =========================================================
   RESPONSIVE — correctifs petits écrans
   ========================================================= */
.islands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .carib-community { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .islands { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .concepts__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .concepts__head h2 { overflow-wrap: break-word; max-width: 100%; }
}
.concepts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.concepts__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.concepts__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .concepts__grid:not(.concepts__grid--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .concepts__grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .concepts__grid, .concepts__grid--5 { grid-template-columns: minmax(0, 1fr) !important; } }

/* Page Plan du site */
.smap { padding: 12vh var(--pad) 14vh; }
.smap__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1240px; margin: 0 auto; }
.smap__item { padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(18,18,17,.7); }
.smap__title { font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--serif); margin-bottom: 10px; }
.smap__title a { color: var(--ink); transition: color .2s; }
.smap__title a:hover { color: var(--gold); }
.smap__desc { font-size: 13.5px; line-height: 1.65; color: rgba(242,237,228,.65); margin-bottom: 16px; }
.smap__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.smap__list a { font-size: 14px; color: rgba(242,237,228,.85); display: inline-flex; gap: 8px; }
.smap__list a::before { content: "→"; color: var(--gold); }
.smap__list a:hover { color: var(--gold); }
.smap__arts { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.smap__arts summary { cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.smap__list--arts { margin-top: 12px; }
@media (max-width: 1000px) { .smap__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .smap__grid { grid-template-columns: minmax(0, 1fr); } }
.smap__grid { align-items: start; }

/* Écran de chargement masqué après la première page vue (voir main.js) */
.no-loader .loader { display: none; }
