/* ==========================================================================
   MMF BARAKA — Feuille de styles principale
   Thème sombre : noir profond / cuivre / or  ·  Dakar, Sénégal
   ========================================================================== */

/* ---------- 1. Variables & reset ---------- */
:root {
  /* Fonds */
  --noir:          #000000;   /* fond principal du site */
  --noir-2:        #0a0806;   /* sections alternées */
  --carte:         #15100d;   /* surfaces (cartes, formulaires) */
  --ligne:         rgba(255, 255, 255, 0.10);

  /* Couleurs de marque */
  --marron:        #b8562f;
  --marron-fonce:  #6b2d16;
  --terre:         #e0a179;
  --or:            #f0a640;
  --sable:         #e8d5be;
  --creme:         #faf3ee;
  --blanc:         #ffffff;

  /* Texte */
  --texte:         rgba(250, 243, 238, 0.72);
  --texte-faible:  rgba(250, 243, 238, 0.45);

  /* Typographie */
  --serif: "DM Serif Display", "Playfair Display", Georgia, serif;
  --sans:  "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rythme */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max:    1280px;
  --section-y: clamp(4.5rem, 10vw, 8rem);

  /* Mouvement */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 76px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  background: var(--noir);
}

body {
  position: relative;
  font-family: var(--sans);
  background: var(--noir);
  color: var(--creme);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain discret sur tout le site : évite l'aplat noir « plastique » */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.18;
  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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--or); color: var(--noir); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2c211b; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--marron); }

/* ---------- 2. Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--blanc);
}

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--or);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--terre); }

.section-title { font-size: clamp(2.125rem, 5.5vw, 3.5rem); }

/* Dégradé doré sur les titres de section */
.section-title--or {
  background: linear-gradient(100deg, var(--blanc) 0%, var(--sable) 35%, var(--or) 62%, var(--blanc) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineText 9s linear infinite;
}
@keyframes shineText { to { background-position: 220% center; } }

.lede { font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--texte); max-width: 56ch; }
.on-dark .lede, .lede--light { color: rgba(255, 255, 255, 0.7); }

/* ---------- 3. Utilitaires de mise en page ---------- */
.wrap {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section-y); }
.section--dark { background: var(--noir-2); }
.section--sable {
  background: var(--carte);
  border-block: 1px solid var(--ligne);
}
.stack > * + * { margin-top: 1.25rem; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Halos colorés flottants, posés derrière une section */
.glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.glow--or     { width: 420px; height: 420px; background: var(--marron); top: -120px; left: -100px; }
.glow--cuivre { width: 340px; height: 340px; background: var(--marron-fonce); bottom: -140px; right: -80px; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, -50px) scale(1.2); }
}

.section-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
/* La mesure de 40ch sert le texte courant ; les titres, bien plus courts,
   prennent toute la largeur disponible pour tenir sur une seule ligne. */
.section-head__text { max-width: min(100%, 62ch); }
.section-head__text > p { max-width: 40ch; }
/* En bloc : le titre qui suit est en ligne, il remonterait sinon à côté. */
.section-head .eyebrow { display: flex; width: fit-content; margin-bottom: 1rem; }

/* ---------- 4. Boutons ---------- */
.btn {
  --btn-bg: var(--marron);
  --btn-fg: var(--blanc);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              transform 0.35s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
/* Remplissage circulaire au survol */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--or);
  transform: translateY(101%);
  border-radius: 50% 50% 0 0;
  transition: transform 0.55s var(--ease-out), border-radius 0.55s var(--ease-out);
}
/* Éclat qui balaie le bouton */
.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 30%;
  height: 220%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg) translateX(-260%);
  transition: transform 0.75s var(--ease-out);
}
.btn:hover::after, .btn:focus-visible::after { transform: rotate(18deg) translateX(560%); }
.btn:hover::before, .btn:focus-visible::before {
  transform: translateY(0);
  border-radius: 0;
}
.btn:hover, .btn:focus-visible {
  color: var(--noir);
  border-color: var(--or);
  box-shadow: 0 10px 34px rgba(240, 166, 64, 0.28);
}
.btn:active { transform: scale(0.97); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--creme); border-color: rgba(255, 255, 255, 0.28); }
.btn--light { --btn-bg: var(--blanc); --btn-fg: var(--noir); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--blanc); border-color: rgba(255, 255, 255, 0.4); }
.btn--lg { padding: 1.15rem 2.5rem; }

/* Lien fléché avec soulignement animé */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or);
  padding-bottom: 0.35rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px; }
.link-arrow svg { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--light { color: var(--blanc); }

/* ---------- 5. Préchargement (rideau) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--noir);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.loader__logo {
  display: block;
  width: clamp(90px, 22vw, 140px);
  margin: 0 auto 1.5rem;
  color: var(--blanc);
  animation: loaderPop 0.9s var(--ease-back) both;
}
@keyframes loaderPop {
  from { opacity: 0; transform: scale(0.7) translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.loader__mark {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 6vw, 3rem);
  color: var(--blanc);
  letter-spacing: 0.05em;
  overflow: hidden;
}
.loader__mark span {
  display: inline-block;
  animation: loaderRise 0.9s var(--ease-out) both;
}
.loader__bar {
  position: absolute;
  bottom: 18%;
  left: 50%;
  translate: -50% 0;
  width: min(220px, 45vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.loader__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--marron), var(--or));
  transform-origin: left;
  animation: loaderFill 1.1s var(--ease-io) forwards;
}
.is-loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes loaderRise { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes loaderFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 6. Barre de progression ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--marron), var(--or));
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- 7. En-tête / navigation ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.45s var(--ease-out), backdrop-filter 0.45s,
              box-shadow 0.45s, transform 0.45s var(--ease-out);
}
.header.is-stuck {
  background: rgba(6, 5, 4, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--ligne);
}
.header.is-hidden { transform: translateY(-100%); }

.nav {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--blanc); }
.brand__mark {
  width: 48px;
  flex: none;
  display: block;
  color: var(--blanc);
  transition: color 0.4s var(--ease-out), transform 0.5s var(--ease-back);
}
.brand:hover .brand__mark {
  color: var(--or);
  transform: scale(1.07) rotate(-4deg);
}

/* Le sigle MMF, réutilisé dans l'en-tête, le rideau et le pied de page.
   Tracé en currentColor : il prend la couleur de son conteneur. */
.logo-mark { width: 100%; height: auto; display: block; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; letter-spacing: 0.03em; }
.brand__name small { font-size: 0.5625rem; letter-spacing: 0.34em; opacity: 0.6; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2rem); }
.nav__links a {
  position: relative;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding-block: 0.25rem;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover, .nav__links a:focus-visible, .nav__links a[aria-current="page"] { color: var(--blanc); }
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--marron);
  border-radius: 999px;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.nav__cta:hover, .nav__cta:focus-visible {
  background: var(--or);
  color: var(--noir);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 166, 64, 0.3);
}

/* Bouton hamburger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  width: 24px;
  margin-inline: auto;
  background: var(--blanc);
  transition: transform 0.4s var(--ease-out), opacity 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Panneau mobile — grille 0fr → 1fr : s'adapte au nombre de liens,
   sans hauteur magique qui rognerait le menu s'il s'allonge. */
.nav-mobile {
  background: rgba(6, 5, 4, 0.97);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-io);
}
.nav-mobile.is-open { grid-template-rows: 1fr; }
.nav-mobile > ul { overflow: hidden; min-height: 0; }
.nav-mobile ul {
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  transition: padding 0.5s var(--ease-io);
}
.nav-mobile.is-open ul { padding-block: 1rem 2rem; }
.nav-mobile a {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--ligne);
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}
.nav-mobile a:hover { color: var(--or); padding-left: 8px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
}

/* ---------- 8. Héros ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--noir);
}
.hero__media {
  position: absolute;
  inset: -8% 0 0;
  height: 116%;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  animation: heroZoom 2.4s var(--ease-out) both;
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, transparent 62%);
}
/* Texture tissée discrète */
.hero__scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(45deg, rgba(232, 213, 190, 0.5) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(232, 213, 190, 0.35) 0 1px, transparent 1px 9px);
}

/* Poussière d'or flottante */
.dust { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dust i {
  position: absolute;
  bottom: -10px;
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: var(--or);
  opacity: 0;
  box-shadow: 0 0 8px rgba(240, 166, 64, 0.8);
  animation: float var(--t, 14s) linear infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes float {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.85; }
  80%  { opacity: 0.5; }
  100% { transform: translate3d(var(--x, 40px), -104vh, 0) scale(1.1); opacity: 0; }
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header-h) + 3rem) var(--gutter) clamp(4rem, 9vw, 6.5rem);
  color: var(--blanc);
}
.hero__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.75rem;
}
.hero__title {
  font-size: clamp(2.75rem, 9.5vw, 6.5rem);
  line-height: 0.95;
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(96deg, var(--or), var(--terre) 50%, var(--or));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shineText 7s linear infinite;
}

.hero__slogan {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.6vw, 1.75rem);
  font-style: italic;
  color: var(--sable);
}
.hero__text {
  margin-top: 1.5rem;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.74);
}
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Révélation de texte masquée, ligne par ligne */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.is-loaded .reveal-line > span, .in-view .reveal-line > span { transform: translateY(0); }

/* Révélation lettre par lettre (montée + bascule) */
.split { display: inline-block; }
.split .word {
  display: inline-block;
  white-space: nowrap;
}
.split .ch {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split .ch > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(105%) rotate(6deg);
  opacity: 0;
  transition: transform 0.85s var(--ease-out), opacity 0.6s linear;
  transition-delay: var(--d, 0s);
}
.split.in-view .ch > i, .in-view .split .ch > i { transform: none; opacity: 1; }

/* Indicateur de défilement */
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 9vw, 6.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__scroll i {
  display: block;
  width: 1px; height: 54px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--or);
  animation: scrollTick 2s var(--ease-io) infinite;
}
@keyframes scrollTick {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ---------- 9. Bandeau défilant ---------- */
.marquee {
  background: linear-gradient(90deg, var(--marron-fonce), var(--marron) 55%, var(--marron-fonce));
  color: var(--blanc);
  padding-block: 0.9rem;
  overflow: hidden;
  display: flex;
  user-select: none;
  /* --skew est piloté par la vitesse de défilement (JS) */
  transform: skewY(var(--skew, 0deg));
  transition: transform 0.45s var(--ease-out);
}
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee b { color: var(--sable); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-100%); } }

.marquee--dark { background: var(--noir-2); border-block: 1px solid var(--ligne); }
.marquee--dark b { color: var(--or); }
.marquee--reverse .marquee__track { animation-direction: reverse; }

/* ---------- 10. Grille des collections ---------- */
.collections {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: 4px;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}
.card:hover {
  border-color: rgba(240, 166, 64, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.65);
}
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.7s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.07); filter: saturate(1.12) contrast(1.04); }

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 5%, rgba(0, 0, 0, 0.3) 45%, transparent 75%);
  transition: opacity 0.6s;
}
.card:hover .card__media::after { opacity: 0.88; }

/* Halo qui suit le curseur (--mx / --my posés par le JS) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(240, 166, 64, 0.22), transparent 65%);
}
.card:hover::before { opacity: 1; }

.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 4;
  padding: 0.35rem 0.8rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--or);
  border-radius: 999px;
}
.card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 1.5rem;
  color: var(--blanc);
}
.card__body h3 { font-size: 1.4rem; }
.card__body p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.35rem;
}
.card__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.card:hover .card__cta, .card:focus-visible .card__cta { opacity: 1; transform: translateY(0); }
@media (hover: none) { .card__cta { opacity: 1; transform: none; } }

/* Carte vedette sur 2 colonnes */
.card--wide { grid-column: span 2; }
.card--wide .card__media { aspect-ratio: 3 / 2.4; }
@media (max-width: 640px) { .card--wide { grid-column: span 1; } .card--wide .card__media { aspect-ratio: 3 / 4; } }

/* ---------- 11. Section « À propos » ---------- */
.about {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--or);
  border-radius: 4px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out) 0.45s;
}
.about__media.in-view::before { opacity: 0.75; }
.about__badge {
  position: absolute;
  right: -1rem; bottom: 2rem;
  padding: 1.1rem 1.5rem;
  background: var(--marron);
  color: var(--blanc);
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  animation: badgeFloat 5s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.5deg); }
}
.about__badge b { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1; }
.about__badge span { font-size: 0.5625rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; }

/* Chiffres clés */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--ligne);
  border-block: 1px solid var(--ligne);
}
.stat {
  background: var(--noir-2);
  padding: clamp(1.75rem, 4vw, 2.75rem) 1.25rem;
  text-align: center;
  transition: background 0.45s var(--ease-out);
}
.stat:hover { background: var(--carte); }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  color: var(--or);
}
.stat span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--texte-faible);
}

/* ---------- 12. Lookbook (défilement horizontal) ---------- */
.lookbook {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 1.5rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--marron) transparent;
}
.lookbook.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.lookbook::-webkit-scrollbar { height: 4px; }
.lookbook::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.07); }
.lookbook::-webkit-scrollbar-thumb { background: var(--marron); }

.look {
  flex: none;
  width: clamp(220px, 26vw, 330px);
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--ligne);
  transition: border-color 0.5s;
}
.look:hover { border-color: rgba(240, 166, 64, 0.45); }
.look img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  transition: transform 0.8s var(--ease-out), filter 0.7s var(--ease-out);
}
.look:hover img { transform: scale(1.06); filter: grayscale(0) contrast(1); }
.look figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1.1rem;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blanc);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
}
.look:nth-child(even) { margin-top: clamp(1rem, 4vw, 3rem); }

/* ---------- 13. Témoignages ---------- */
.quotes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.quote {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--ligne);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s, background 0.5s;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -1.5rem; right: 0.5rem;
  font-family: var(--serif);
  font-size: 8rem;
  color: var(--or);
  opacity: 0.08;
  transition: opacity 0.5s, transform 0.6s var(--ease-out);
}
.quote:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.6);
  border-color: rgba(240, 166, 64, 0.4);
}
.quote:hover::before { opacity: 0.18; transform: rotate(-8deg) scale(1.06); }
.quote__stars { display: flex; gap: 3px; color: var(--or); font-size: 0.8rem; }
.quote p {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--creme);
}
.quote__who { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.5rem; }
.quote__avatar {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--marron);
  color: var(--blanc);
  font-family: var(--serif);
  font-size: 1rem;
}
.quote__who b { display: block; font-size: 0.875rem; font-weight: 600; color: var(--blanc); }
.quote__who span { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--texte-faible); }

/* ---------- 14. Appel à l'action ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--noir-2);
  color: var(--blanc);
  text-align: center;
  padding-block: clamp(4.5rem, 11vw, 8rem);
  border-block: 1px solid var(--ligne);
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 16s ease-in-out infinite alternate;
}
.cta::before { width: 380px; height: 380px; background: var(--marron); top: -140px; left: -90px; }
.cta::after  { width: 320px; height: 320px; background: var(--marron-fonce); bottom: -130px; right: -70px; animation-delay: -8s; }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 6vw, 3.75rem); }
.cta .lede { margin-inline: auto; }
.cta__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ---------- 15. Pied de page ---------- */
.footer { background: var(--noir); color: var(--texte); }
.footer__top {
  border-top: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 4.5rem);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--texte-faible);
  margin-bottom: 1.25rem;
}
.footer__logo {
  display: block;
  width: 70px;
  color: var(--or);
  margin-bottom: 1.1rem;
}
.footer__brand b {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--blanc);
  letter-spacing: 0.03em;
}
.footer__brand small {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-top: 0.4rem;
}
.footer__brand p { margin-top: 1.25rem; max-width: 42ch; font-size: 0.9375rem; }
.footer__slogan {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sable);
}
.footer li + li { margin-top: 0.7rem; }
.footer li a, .footer address a {
  font-size: 0.9375rem;
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}
.footer li a:hover { color: var(--or); padding-left: 6px; }
.footer address { font-style: normal; display: grid; gap: 0.7rem; font-size: 0.9375rem; }
.footer address a:hover { color: var(--or); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: background 0.35s var(--ease-out), border-color 0.35s, transform 0.35s var(--ease-back), color 0.35s;
}
.socials a:hover {
  background: var(--or);
  border-color: var(--or);
  color: var(--noir);
  transform: translateY(-4px) rotate(-8deg);
}

.footer__bottom {
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texte-faible);
}

/* ---------- 16. Bouton WhatsApp flottant ---------- */
.whatsapp {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--marron);
  color: var(--blanc);
  box-shadow: 0 12px 32px rgba(184, 86, 47, 0.5);
  transform: scale(0);
  transition: transform 0.5s var(--ease-back), background 0.35s;
}
.whatsapp.is-visible { transform: scale(1); }
.whatsapp:hover { background: var(--or); color: var(--noir); }
.whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--marron);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(1.6); opacity: 0; }
}

/* ---------- 17. Page collections : filtres & grille ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(184, 86, 47, 0.28), transparent 70%),
    var(--noir);
  color: var(--blanc);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(232, 213, 190, 0.4) 0 1px, transparent 1px 11px);
  opacity: 0.07;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
.page-hero .lede { margin-top: 1.25rem; color: rgba(255, 255, 255, 0.7); }
.crumbs {
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--texte-faible);
  margin-bottom: 1.5rem;
}
.crumbs a:hover { color: var(--or); }

.filters {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  position: relative;
  padding: 0.6rem 1.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texte);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s, transform 0.3s var(--ease-back);
}
.filter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--marron), var(--or));
  transform: scale(0);
  border-radius: 999px;
  transition: transform 0.45s var(--ease-out);
}
.filter:hover { border-color: var(--or); color: var(--or); transform: translateY(-2px); }
.filter[aria-pressed="true"] {
  color: var(--noir);
  border-color: transparent;
  isolation: isolate;
}
.filter[aria-pressed="true"]::before { transform: scale(1); }
.filter[aria-pressed="true"]:hover { color: var(--noir); }

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.product {
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.product.is-filtered { display: none; }
/* Réapparition en cascade après un changement de filtre */
.product.is-entering { animation: popIn 0.55s var(--ease-out) both; }
@keyframes popIn {
  from { opacity: 0; transform: translateY(26px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.product__media {
  position: relative;
  overflow: hidden;
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: 4px;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  transition: border-color 0.5s, box-shadow 0.5s;
}
.product:hover .product__media {
  border-color: rgba(240, 166, 64, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}
/* Pas de désaturation par défaut : sur une boutique, la couleur du tissu
   est l'information principale. On ne renforce qu'au survol. */
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out), filter 0.6s var(--ease-out);
}
.product:hover .product__media img { transform: scale(1.06); filter: saturate(1.1) contrast(1.04); }
.product__quick {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  padding: 0.85rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--or);
  border-radius: 2px;
  transform: translateY(calc(100% + 1rem));
  transition: transform 0.5s var(--ease-out), background 0.35s;
}
.product:hover .product__quick { transform: translateY(0); }
.product__quick:hover { background: var(--blanc); }
.product__info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.product__info h3 { font-size: 1.15rem; }
.product__info span { font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--texte-faible); }
.product__price { font-family: var(--serif); font-size: 1.05rem; color: var(--or); white-space: nowrap; }
.product__cat {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terre);
}
.empty-state {
  padding: 4rem 1rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--texte-faible);
}
.empty-state[hidden] { display: none; }

/* ---------- 18. Visionneuse plein écran ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(100%, 760px);
  max-height: 82vh;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8);
  transform: scale(0.92);
  transition: transform 0.5s var(--ease-back);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__caption {
  max-width: min(100%, 560px);
  margin: 1.25rem auto 0;
  text-align: center;
  line-height: 1.7;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--or);
}
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--blanc);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.4s var(--ease-back);
}
.lightbox__close:hover { background: var(--marron); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--blanc);
  cursor: pointer;
  transition: background 0.3s, transform 0.35s var(--ease-out);
}
.lightbox__nav:hover { background: var(--marron); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--prev:hover { transform: translateX(-4px); }
.lightbox__nav--next:hover { transform: translateX(4px); }

/* ---------- 19. Page contact : formulaire ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.25rem; }
.field { position: relative; display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texte-faible);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  color: var(--creme);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(250, 243, 238, 0.3); }
.field select option { background: var(--carte); color: var(--creme); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(240, 166, 64, 0.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form__note { font-size: 0.8125rem; color: var(--texte-faible); }
.form__status {
  padding: 1rem 1.25rem;
  border-radius: 2px;
  background: rgba(240, 166, 64, 0.1);
  border: 1px solid rgba(240, 166, 64, 0.35);
  font-size: 0.9375rem;
}
.form__status[hidden] { display: none; }

.info-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--carte);
  border: 1px solid var(--ligne);
  color: var(--texte);
  border-radius: 4px;
}
.info-card h3 { color: var(--blanc); font-size: 1.5rem; margin-bottom: 1.5rem; }
.info-card dl { display: grid; gap: 1.25rem; }
.info-card dt {
  font-size: 0.5625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.3rem;
}
.info-card dd a:hover { color: var(--or); }

.hours { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ligne); }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.4rem;
  font-size: 0.875rem;
}
.hours span:last-child { color: var(--blanc); }

/* ---------- 20. Curseur personnalisé ---------- */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor {
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: opacity 0.3s, width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              background 0.35s, border-color 0.35s;
}
.cursor-dot { width: 5px; height: 5px; background: var(--blanc); }
.cursor.is-active, .cursor-dot.is-active { opacity: 1; }
.cursor.is-hover {
  width: 64px; height: 64px;
  background: rgba(255, 255, 255, 0.14);
  border-color: transparent;
}
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ---------- 21. Révélations au défilement ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* Le clip est porté par les enfants, jamais par l'élément observé :
   un élément entièrement rogné a une aire d'intersection nulle et
   IntersectionObserver ne le déclencherait jamais. */
[data-reveal="clip"] { opacity: 1; transform: none; }
[data-reveal="clip"] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal="clip"].in-view > * { clip-path: inset(0 0 0 0); }

[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].in-view { transform: scale(1); }

[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].in-view { transform: none; }

[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].in-view { transform: none; }

/* ---------- 22. Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], [data-reveal] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .reveal-line > span { transform: none !important; }
  .split .ch > i { transform: none !important; opacity: 1 !important; }
  .hero__media img { animation: none; }
  .dust, .cursor, .cursor-dot { display: none; }
  .marquee { transform: none !important; }
}

/* Focus visible cohérent */
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 2px; }
