/* =========================================================
   FARAFINATIGNƐ — feuille de style unique
   Direction : éditorial « magazine », artisanat ouest-africain.
   Palette : EXTRAITE du bandeau de marque (bogolan ocre / brun / noir).
     #F8F7EE ivoire (lettrage)   #DBA54E or clair   #CC8D3D or
     #B3773F fauve   #835436 brun moyen   #6D412C brun
     #543025 brun profond        #34171A brun-noir  #1C0D0B espresso
   Typo : Fraunces (display) · Manrope (texte) · Anton (wordmark du logo).
   Principes : grille éditoriale asymétrique, type-first, angles droits
   sauf les arches, motif bogolan dessiné en SVG, aucun aplat criard.
   ========================================================= */

:root {
  /* --- surfaces claires --- */
  --paper:   #FFFFFF;
  --ivory:   #F8F7EE;
  --sand:    #F1EADC;

  /* --- bruns du bandeau --- */
  --espresso:#1C0D0B;
  --ink:     #34171A;
  --brown:   #543025;
  --brown-2: #6D412C;
  --brown-3: #835436;
  --tan:     #B3773F;

  /* --- ors --- */
  --gold:      #CC8D3D;
  --gold-light:#DBA54E;
  --gold-deep: #8A5E1C;   /* seule version lisible en petit sur fond clair */

  /* --- encres de texte --- */
  --tx-1: #34171A;
  --tx-2: #6B564C;
  --tx-3: #9A8579;
  --line:   rgba(52, 23, 26, .16);
  --line-2: rgba(52, 23, 26, .08);
  --wa: #128C4A;
  --wa-solid: #25D366;

  /* dégradé brun → noir, l'identité du bandeau */
  --dark-gradient:
    radial-gradient(1000px 620px at 12% -8%, rgba(204, 141, 61, .30) 0%, transparent 62%),
    linear-gradient(158deg, #6D412C 0%, #34171A 48%, var(--espresso) 100%);

  /* --- typo --- */
  /* "Noto Serif"/"Noto Sans" ne servent qu'aux glyphes Ɛ et ɛ, absents de
     Fraunces et Manrope : le navigateur ne bascule que sur ces deux caracteres. */
  --font-display: "Fraunces", "Noto Serif", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Anton", "Arial Narrow", Impact, sans-serif;

  /* --- métrique --- */
  --wrap: 1300px;
  --nav-h: 74px;
  --bar-h: 36px;
  --pad: clamp(20px, 5vw, 44px);
}

/* motif bogolan : chevrons + points, dessiné une fois, décliné par opacité */
.bogolan {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='42' viewBox='0 0 64 42'%3E%3Cg fill='none' stroke='%23F8F7EE' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M0 13 L10.6 3 L21.3 13 L32 3 L42.6 13 L53.3 3 L64 13'/%3E%3Cpath d='M0 29 L10.6 39 L21.3 29 L32 39 L42.6 29 L53.3 39 L64 29'/%3E%3C/g%3E%3Cg fill='%23F8F7EE'%3E%3Ccircle cx='10.6' cy='21' r='1.7'/%3E%3Ccircle cx='32' cy='21' r='1.7'/%3E%3Ccircle cx='53.3' cy='21' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 42px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Sur un ecran de 320 px, la barre fixe depassait de 2 px : le document
   lui-meme ne doit jamais defiler lateralement. */
html { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tx-1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--espresso); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.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;
}
section { padding: clamp(76px, 11vw, 148px) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--ivory { background: var(--ivory); }

/* ---------- typographie éditoriale ---------- */
.rule-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .63rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 22px;
}
.rule-label::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow {
  display: inline-block; font-size: .63rem; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.02;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  letter-spacing: -.022em;
  color: var(--ink);
}
.section-title em { font-style: italic; font-weight: 500; color: var(--brown-3); }
.section-lead {
  max-width: 620px; margin: 22px auto 0;
  color: var(--tx-2); font-size: 1rem;
}
.section-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 52px; padding: 15px 30px;
  font-size: .67rem; font-weight: 800;
  letter-spacing: .19em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .35s, color .35s, border-color .35s;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--solid { background: var(--dark-gradient); color: var(--ivory); border-color: var(--espresso); }
.btn--solid:hover { filter: brightness(1.14); border-color: var(--brown); }
.btn--gold { background: var(--gold); color: var(--espresso); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--line { color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--wa { color: var(--wa); border-color: rgba(18, 140, 74, .4); }
.btn--wa:hover { background: var(--wa-solid); color: #06210F; border-color: var(--wa-solid); }
.btn--full { width: 100%; }
.btn--sm { min-height: 44px; padding: 12px 20px; font-size: .62rem; }
.btn:disabled { opacity: .35; pointer-events: none; }
.on-dark .btn--line { color: var(--ivory); border-color: rgba(248, 247, 238, .3); }
.on-dark .btn--line:hover { border-color: var(--ivory); }

/* lien texte souligné, utilisé partout en action secondaire */
.link-u {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 10px 0; min-height: 44px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: 6px; height: 1px; width: 100%;
  background: currentColor; opacity: .28; transition: opacity .3s;
}
.link-u:hover::after { opacity: 1; }
.link-u svg { width: 14px; height: 14px; transition: transform .3s; }
.link-u:hover svg { transform: translateX(4px); }

/* =========================================================
   BANDEAU + NAVIGATION
   ========================================================= */
/* Le bandeau et la barre s'escamotent ensemble : voir `.is-hidden` plus bas. */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1);
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 28px;
  background: var(--dark-gradient); color: var(--ivory);
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden;
}
.topbar span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar span::before {
  content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none;
}

.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 55;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(248, 247, 238, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height .35s, background-color .35s, border-color .35s,
              transform .42s cubic-bezier(.16, 1, .3, 1);
}

/* Masquage au defilement vers le bas : la barre remonte au-dela du bandeau
   pour sortir completement du champ, et laisse voir la photo du hero. */
.topbar.is-hidden { transform: translateY(-100%); }
.nav.is-hidden    { transform: translateY(calc(-100% - var(--bar-h))); }
@media (prefers-reduced-motion: reduce) {
  .topbar, .nav { transition: none; }
}
.nav.scrolled {
  height: 62px; background: rgba(248, 247, 238, .97); border-bottom-color: var(--line-2);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }
.nav__logo { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); min-height: 46px; }
.nav__logo .seal { width: 54px; height: auto; flex: none; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
/* wordmark repris du logo officiel : condensee grasse, tres serree */
.wordmark { font-family: var(--font-mark); font-weight: 400; letter-spacing: .012em; }
.nav__logo-text b { font-size: 1.28rem; color: var(--ink); line-height: .96; }
.nav__logo-text i {
  font-style: normal; font-size: .46rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links > li { position: relative; }
.nav__links a, .nav__drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .67rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: var(--tx-2); padding: 8px 0; position: relative; transition: color .3s;
}
.nav__links a::after, .nav__drop-btn::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px;
  background: var(--gold-deep); transition: width .35s;
}
.nav__links a:hover, .nav__drop-btn:hover,
.nav__links a.is-current, .nav__drop-btn.is-current { color: var(--ink); }
.nav__links a:hover::after, .nav__drop-btn:hover::after,
.nav__links a.is-current::after, .nav__drop-btn.is-current::after { width: 100%; }
.nav__drop-btn svg { width: 11px; height: 11px; transition: transform .3s; }
.nav__drop:hover .nav__drop-btn svg, .nav__drop.open .nav__drop-btn svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 10px);
  width: min(720px, 86vw);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--ivory); border: 1px solid var(--line-2);
  box-shadow: 0 28px 60px rgba(52, 23, 26, .16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s, transform .3s, visibility .3s;
}
.nav__drop:hover .nav__menu, .nav__drop.open .nav__menu, .nav__menu:hover {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav__menu-col { padding: 24px 22px; border-right: 1px solid var(--line-2); }
.nav__menu-col:last-child { border-right: none; }
.nav__menu-col > a {
  font-family: var(--font-display); font-size: 1.16rem; font-weight: 700;
  letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 12px; display: block;
}
.nav__menu-col > a::after { display: none; }
.nav__menu-col ul { display: flex; flex-direction: column; }
.nav__menu-col ul a {
  font-size: .78rem; font-weight: 500; letter-spacing: .02em; text-transform: none;
  color: var(--tx-2); padding: 7px 0;
}
.nav__menu-col ul a:hover { color: var(--gold-deep); }

.nav__right { display: flex; align-items: center; gap: 12px; flex: none; }
.lang { display: flex; align-items: center; border: 1px solid var(--line); height: 42px; overflow: hidden; }
.lang button {
  padding: 0 13px; height: 100%; min-width: 42px;
  font-size: .61rem; font-weight: 800; letter-spacing: .12em;
  color: var(--tx-3); transition: background-color .3s, color .3s;
}
.lang button.is-active { background: var(--dark-gradient); color: var(--ivory); }
.lang button:not(.is-active):hover { color: var(--ink); }

.nav__cart {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: border-color .3s, color .3s;
}
.nav__cart:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.nav__cart svg { width: 18px; height: 18px; }
.nav__cart.pulse { animation: pulse .5s ease; }
@keyframes pulse { 50% { transform: scale(1.14); } }
.nav__cart-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 50%;
  background: var(--gold); color: var(--espresso);
  font-size: .6rem; font-weight: 700; line-height: 1;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s;
}
.nav__cart-count.show { transform: scale(1); }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line);
}
.nav__burger span { width: 16px; height: 1px; background: var(--ink); transition: .3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--gold-deep); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--gold-deep); }

/* menu mobile — panneau espresso à motif */
.nav-mobile {
  position: fixed; inset: 0; z-index: 54;
  background: var(--dark-gradient); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--bar-h) + var(--nav-h)) var(--pad) 36px;
  opacity: 0; pointer-events: none;
  transition: opacity .45s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto;
}
/* calque de motif réutilisable sur les surfaces sombres */
.pattern-layer { position: absolute; inset: 0; opacity: .07; pointer-events: none; z-index: 0; }
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile__links { display: flex; flex-direction: column; position: relative; z-index: 2; }
.nav-mobile__links > a {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.9rem, 9vw, 2.9rem);
  color: rgba(248, 247, 238, .74); padding: 13px 0;
  border-bottom: 1px solid rgba(248, 247, 238, .12);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s, transform .5s, color .3s;
}
.nav-mobile.open .nav-mobile__links > a { opacity: 1; transform: none; }
.nav-mobile.open .nav-mobile__links > a:nth-child(1) { transition-delay: .06s; }
.nav-mobile.open .nav-mobile__links > a:nth-child(2) { transition-delay: .12s; }
.nav-mobile.open .nav-mobile__links > a:nth-child(3) { transition-delay: .18s; }
.nav-mobile.open .nav-mobile__links > a:nth-child(4) { transition-delay: .24s; }
.nav-mobile__links a.is-current { color: var(--gold-light); }
.nav-mobile__subs { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 18px 0 4px; position: relative; z-index: 2; }
.nav-mobile__subs a {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(248, 247, 238, .62); display: inline-flex; align-items: center; min-height: 40px;
  border-bottom: 1px solid transparent;
}
.nav-mobile__subs a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.nav-mobile__foot { margin-top: 24px; display: flex; align-items: center; gap: 16px; position: relative; z-index: 2; }
.nav-mobile .lang { border-color: rgba(248, 247, 238, .26); }
.nav-mobile .lang button { color: rgba(248, 247, 238, .62); }
.nav-mobile .lang button.is-active { background: var(--gold); color: var(--espresso); }
.nav-mobile .socials a { border-color: rgba(248, 247, 238, .26); color: rgba(248, 247, 238, .82); }
.nav-mobile .socials a:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* =========================================================
   HERO — fond photo qui défile, arche qui défile
   ---------------------------------------------------------
   Deux carrousels indépendants :
     · le fond, quatre photos qui glissent horizontalement ;
     · l'arche, quatre photos qui glissent verticalement.
   Chaque piste répète sa première image en fin de course :
   le saut au recommencement devient invisible.
   Les durées diffèrent (28 s et 23 s) pour que les deux ne
   changent jamais en même temps.
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  padding-top: calc(var(--bar-h) + var(--nav-h));
  background: var(--dark-gradient);
  overflow: hidden;
}

/* ---------- fond défilant ---------- */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg-track {
  display: flex;
  width: 400%;          /* trois fonds, la dernière image répète la première */
  height: 100%;
  animation: hero-defile-h 24s infinite;
}
.hero__bg-track img {
  flex: 0 0 25%;
  width: 25%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
}
@keyframes hero-defile-h {
  0%,   22%  { transform: translateX(0); }
  33%,  55%  { transform: translateX(-25%); }
  66%,  88%  { transform: translateX(-50%); }
  100%       { transform: translateX(-75%); }
}

/* voile : sombre à gauche pour le texte, sombre en bas pour le bandeau */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(15, 8, 6, .88) 0%, rgba(15, 8, 6, .58) 34%,
                            rgba(15, 8, 6, .06) 62%, rgba(15, 8, 6, .22) 100%),
    linear-gradient(180deg, rgba(15, 8, 6, .40) 0%, rgba(15, 8, 6, 0) 30%,
                            rgba(15, 8, 6, .72) 100%);
}

.hero__grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr minmax(0, .78fr);
  gap: clamp(24px, 4vw, 60px); align-items: center;
  min-height: min(100svh, 880px);
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(96px, 12vw, 150px);
}
.hero__col { max-width: 620px; }

/* le texte passe en clair : il est désormais sur photo */
.hero__col .rule-label { color: var(--gold-light); }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .92; letter-spacing: -.035em;
  color: var(--ivory);
  text-shadow: 0 2px 30px rgba(15, 8, 6, .5);
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-light); }
/* Le titre porte le nom de la maison : il reprend le lettrage de l'enseigne,
   Anton en capitales, comme le wordmark de la barre de navigation. */
.hero__title--nom {
  font-family: var(--font-mark); font-weight: 400;
  font-size: clamp(3.2rem, 8.6vw, 7.4rem); line-height: .9; letter-spacing: .012em;
}
.hero__title--nom em { font-style: normal; }
.hero__sub {
  margin-top: 24px; max-width: 460px;
  color: rgba(248, 247, 238, .84); font-size: clamp(.96rem, 2.3vw, 1.06rem);
}
.hero__actions { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__actions .link-u { color: var(--ivory); }

.hero__index {
  margin-top: clamp(34px, 5vw, 54px); display: flex; gap: 30px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(248, 247, 238, .2);
}
.hero__index a { display: flex; flex-direction: column; gap: 3px; }
.hero__index b {
  font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--gold-light);
}
.hero__index span {
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(248, 247, 238, .78);
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: .3s;
}
.hero__index a:hover span { color: var(--ivory); border-color: var(--ivory); }

/* ---------- arche défilante ---------- */
.hero__art { position: relative; }
.hero__arch {
  position: relative; overflow: hidden;
  border-radius: 999px 999px 4px 4px;
  height: clamp(360px, calc(100svh - var(--bar-h) - var(--nav-h) - 210px), 660px);
  box-shadow: 0 34px 70px rgba(15, 8, 6, .5);
  border: 1px solid rgba(248, 247, 238, .18);
}
.hero__arch-track {
  height: 400%;         /* trois images, dont la dernière répète la première */
  animation: hero-defile-v 21s infinite;
}
.hero__arch-track img {
  width: 100%; height: 25%;
  object-fit: cover; object-position: 50% 28%;
}
/* cadre en hauteur : une photo large y perd ses bords, on decale la fenetre
   sur ce qui compte — le sujet, puis l'enseigne du musee. */
.hero__arch-track img:nth-child(2) { object-position: 50% 46%; }
.hero__arch-track img:nth-child(3) { object-position: 0% 50%; }
@keyframes hero-defile-v {
  0%,   22%  { transform: translateY(0); }
  33%,  55%  { transform: translateY(-25%); }
  66%,  88%  { transform: translateY(-50%); }
  100%       { transform: translateY(-75%); }
}

.hero__stamp {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  background: var(--gold); color: var(--espresso);
  padding: 9px 20px; font-size: .58rem; font-weight: 800;
  letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
  z-index: 2;
}
.hero__side {
  position: absolute; left: clamp(8px, 1.2vw, 16px); top: 50%;
  transform: rotate(180deg) translateY(50%); writing-mode: vertical-rl;
  font-size: .55rem; letter-spacing: .38em; text-transform: uppercase;
  color: rgba(248, 247, 238, .55); z-index: 3;
}

/* bandeau preuve au pied du hero */
.hero__band {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  background: rgba(15, 8, 6, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(248, 247, 238, .12);
  color: var(--ivory);
}
.hero__band .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: center; min-height: 92px;
}
.hero__band-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 0;
  border-left: 1px solid rgba(248, 247, 238, .14); padding-left: 24px;
}
.hero__band-item:first-child { border-left: none; padding-left: 0; }
.hero__band-item b {
  font-family: var(--font-display); font-size: 1.42rem; font-weight: 700;
  color: var(--gold-light); line-height: 1;
}
.hero__band-item span {
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(248, 247, 238, .7);
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; background: var(--sand); border-bottom: 1px solid var(--line-2); padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide 46s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.05rem, 2.8vw, 1.6rem); color: var(--brown-2); white-space: nowrap;
}
.marquee__track i { color: var(--gold); font-size: .5rem; font-style: normal; }
@keyframes slide { to { transform: translateX(-33.333%); } }

/* =========================================================
   MANIFESTE
   ========================================================= */
.manifesto__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 84px); align-items: start; }
.manifesto__lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.24; color: var(--ink); letter-spacing: -.015em;
}
.manifesto__lead em { font-style: italic; color: var(--brown-3); }
.manifesto__cols { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.manifesto__cols p { color: var(--tx-2); font-size: .93rem; }
/* largeur bornée : les portraits d'archive sont petits, on évite de les étirer */
.manifesto__aside { position: relative; max-width: 460px; margin-left: auto; }
.manifesto__aside img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.manifesto__quote {
  margin-top: 20px; padding-left: 20px; border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--brown-2);
}

/* =========================================================
   GAMMES — grille éditoriale numérotée
   ========================================================= */
.ranges { display: grid; gap: clamp(30px, 5vw, 64px); }
.range {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px);
  align-items: center; padding-bottom: clamp(30px, 5vw, 64px); border-bottom: 1px solid var(--line-2);
}
.range:last-child { border-bottom: none; padding-bottom: 0; }
.range:nth-child(even) .range__media { order: 2; }
.range__media { position: relative; }
.range__arch {
  overflow: hidden; border-radius: 999px 999px 3px 3px; aspect-ratio: 4 / 4.2; background: var(--sand);
}
.range__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.range:hover .range__arch img { transform: scale(1.05); }
.range__num {
  position: absolute; top: -18px; left: -10px;
  font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 6rem); font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(52, 23, 26, .28); line-height: 1; z-index: 2;
}
.range:nth-child(even) .range__num { left: auto; right: -10px; }
.range__body h3 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px;
}
.range__body > p { color: var(--tx-2); max-width: 460px; }
.range__subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 26px; }
.range__subs a {
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tx-2); border: 1px solid var(--line); padding: 9px 15px; min-height: 42px;
  display: inline-flex; align-items: center; transition: .3s;
}
.range__subs a:hover { border-color: var(--ink); color: var(--ink); }
.range__count { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }

/* =========================================================
   CARTES PRODUITS — sobres, la photo d'abord
   ========================================================= */
/* « 1fr » vaut « minmax(auto, 1fr) » : le minimum automatique d'une case
   est la taille intrinseque de son image, si bien qu'une photo de 900 px
   elargit sa colonne et ecrase les trois autres. « minmax(0, 1fr) » et le
   min-width sur la carte suppriment ce plancher. */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.products > * { min-width: 0; }
.card { display: flex; flex-direction: column; position: relative; min-width: 0; }
.card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand);
}
.card__media img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag {
  position: absolute; top: 0; left: 0;
  padding: 7px 13px; font-size: .54rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  background: var(--ivory); color: var(--ink);
}
.card__tag--signature { background: var(--gold); color: var(--espresso); }
.card__tag--best { background: var(--dark-gradient); color: var(--ivory); }
.card__tag--gros { background: var(--dark-gradient); color: var(--ivory); }
.card__tag--piece-speciale { background: var(--ivory); color: var(--brown-2); }
.card__tag--nouveau { background: var(--tan); color: var(--espresso); }
.card__zoom {
  position: absolute; bottom: 10px; right: 10px;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(248, 247, 238, .94); color: var(--ink);
  opacity: 0; transform: translateY(6px); transition: .3s;
}
.card:hover .card__zoom { opacity: 1; transform: none; }
.card__zoom svg { width: 16px; height: 16px; }
.card__body { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 800; }
.card__name {
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 600;
  line-height: 1.24; margin: 6px 0 7px; color: var(--ink);
}
.card__desc {
  color: var(--tx-2); font-size: .8rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 12px;
}
.card__foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.price {
  font-family: var(--font-display); font-size: 1.34rem; font-weight: 700; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.price__from, .price__unit {
  font-family: var(--font-sans); font-style: normal;
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-3); font-weight: 700;
}
.price--quote { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: var(--brown-3); }

/* --- promotions --- ------------------------------------------------
   Le prix plein reste lisible, barre, a cote du prix remise : c'est ce
   qui rend la remise credible aupres d'un acheteur en gros. */
.card__tag--promo {
  background: #A33A1E; color: var(--ivory);
}
.price--promo { flex-wrap: wrap; gap: 7px; }
.price__was {
  font-family: var(--font-display); font-size: .96rem; font-weight: 500;
  color: var(--tx-3); text-decoration: line-through; text-decoration-thickness: 1px;
}
.price__now { font-weight: 700; color: #A33A1E; }
.price__off {
  font-family: var(--font-sans); font-style: normal; font-weight: 800;
  font-size: .56rem; letter-spacing: .12em; text-transform: uppercase;
  background: #A33A1E; color: var(--ivory); padding: 3px 7px; border-radius: 999px;
  align-self: center;
}
/* =========================================================
   CADRAGE DES PHOTOS
   Les cadres editoriaux sont en portrait (0,87 a 0,91) alors que
   les photos de personnes montent jusqu'a 0,47 : centrer le
   recadrage coupait les tetes, qui se trouvent dans le haut de
   l'image. On remonte donc la fenetre de recadrage.
   Sur une photo en paysage il n'y a pas de debordement vertical :
   la valeur est alors sans effet, rien ne bouge.
   ========================================================= */
.about__media img,
.craft__media img,
.range__arch img,
.gallery img,
.lookbook__strip img,
.pdf__cover img {
  object-position: var(--cadrage, 50% 22%);
}
/* Les fiches produit : le sujet (crochet d'une boucle, col d'un
   vetement) est lui aussi vers le haut, mais moins haut qu'un visage. */
.card__media img,
.card__track img {
  object-position: var(--cadrage, 50% 38%);
}
.cart-line img { object-position: var(--cadrage, 50% 30%); }

/* --- carrousel d'assortiment ---
   La fenetre garde le format 4/5 des autres cartes : la carte d'un lot
   ne doit jamais etre plus haute ni plus large que ses voisines. */
.card__media--carousel { display: block; }
.card__track {
  display: flex; width: 100%; height: 100%;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.card__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media--carousel img { transform: none; }

/* Les fleches blanches masquaient la photo : la navigation passe par
   la bande de vignettes et le glisser du doigt. */
.card__count {
  position: absolute; bottom: 10px; left: 10px; z-index: 2;
  background: rgba(28, 13, 11, .78); color: var(--ivory);
  font-size: .58rem; font-weight: 800; letter-spacing: .12em;
  padding: 5px 9px; border-radius: 999px;
}
/* --- planche de motifs d'un assortiment --- */
.card__motifs { margin-top: 12px; }
.card__motifs-t {
  font-size: .55rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 800; display: block; margin-bottom: 7px;
}
.card__motifs-strip {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
}
.card__motifs-strip::-webkit-scrollbar { display: none; }
.card__motif {
  flex: none; width: 46px; height: 58px; padding: 0; border: 1px solid var(--line-2);
  background: var(--sand); cursor: zoom-in; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.card__motif img { width: 100%; height: 100%; object-fit: cover; }
.card__motif:hover { transform: translateY(-2px); border-color: var(--gold); }
.card__motif.is-on { border-color: var(--ink); }
.card__motif.is-on img { opacity: 1; }
.card__motif:not(.is-on) img { opacity: .62; transition: opacity .2s; }
.card__motif:hover img { opacity: 1; }

.cart-line__was {
  color: var(--tx-3); text-decoration: line-through; font-weight: 400; margin-right: 5px;
}
.card__sizes {
  margin-top: 8px; font-size: .72rem; color: var(--tx-2);
  display: flex; align-items: baseline; gap: 7px;
}
.card__sizes span {
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 800;
}
.card__ref { font-size: .56rem; letter-spacing: .14em; color: var(--tx-3); }
.card__actions { margin-top: 12px; }
.card__add {
  width: 100%; min-height: 46px; padding: 12px 14px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .3s, color .3s, border-color .3s;
}
.card__add:hover { background: var(--dark-gradient); color: var(--ivory); border-color: var(--espresso); }
.card__ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--tx-2); transition: .3s;
}
.card__ico svg { width: 15px; height: 15px; }
.card__ico:hover { color: var(--wa); border-color: rgba(18, 140, 74, .45); }
.card__ico--mail:hover { color: var(--gold-deep); border-color: rgba(138, 94, 28, .45); }
.products-more { margin-top: clamp(40px, 5vw, 62px); text-align: center; }

/* =========================================================
   LOOKBOOK — bande horizontale des nouvelles pièces
   ========================================================= */
.lookbook__strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px;
}
.lookbook__strip::-webkit-scrollbar { display: none; }
.lookbook__strip figure { scroll-snap-align: start; }
.lookbook__strip img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--sand);
  cursor: zoom-in; transition: opacity .3s;
}
.lookbook__strip img:hover { opacity: .88; }
.lookbook__strip figcaption {
  margin-top: 12px; font-size: .63rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tx-2);
}
.lookbook__hint {
  margin-top: 20px; font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tx-3);
}
@media (max-width: 760px) {
  .lookbook__strip { grid-auto-columns: minmax(200px, 68vw); }
}

/* =========================================================
   SAVOIR-FAIRE — bande sombre pleine largeur
   ========================================================= */
.craft { background-color: var(--espresso); background-image: var(--dark-gradient); color: var(--ivory); position: relative; overflow: hidden; }
.craft__pattern { position: absolute; inset: 0; opacity: .06; pointer-events: none; }
.craft .wrap { position: relative; z-index: 2; }
.craft__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.craft__media { position: relative; }
.craft__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 999px 999px 3px 3px; }
.craft__media figcaption {
  margin-top: 14px; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(248, 247, 238, .5);
}
.craft .eyebrow, .craft .rule-label { color: var(--gold-light); }
.craft .section-title { color: var(--ivory); }
.craft .section-title em { color: var(--gold-light); }
.craft p { color: rgba(248, 247, 238, .78); margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(32px, 5vw, 48px); }
.stat { padding: 20px 20px 20px 0; border-left: 1px solid rgba(248, 247, 238, .16); padding-left: 22px; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--gold-light); line-height: 1; font-weight: 700; }
.stat p { font-size: .7rem; color: rgba(248, 247, 238, .58); margin-top: 8px; line-height: 1.5; }

/* =========================================================
   CATALOGUE PDF
   ========================================================= */
.pdf__inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 76px); align-items: center;
}
.pdf__cover { position: relative; }
.pdf__cover img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transform: rotate(-2.2deg); box-shadow: 0 30px 60px rgba(52, 23, 26, .24);
}
.pdf__cover::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: -1;
}
.pdf__meta { display: flex; gap: 22px; margin: 22px 0 28px; flex-wrap: wrap; }
.pdf__meta li {
  font-size: .63rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3);
  display: flex; align-items: center; gap: 8px;
}
.pdf__meta li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* =========================================================
   PROCESSUS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); }
.step { padding-top: 22px; border-top: 2px solid var(--ink); }
.step:nth-child(2) { border-color: var(--brown-2); }
.step:nth-child(3) { border-color: var(--tan); }
.step:nth-child(4) { border-color: var(--gold); }
.step__num { font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .2em; color: var(--gold-deep); }
.step h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; margin: 10px 0 8px; }
.step p { color: var(--tx-2); font-size: .86rem; }

/* =========================================================
   PAGE BOUTIQUE / EN-TÊTES
   ========================================================= */
.page-head {
  padding: calc(var(--bar-h) + var(--nav-h) + clamp(46px, 8vw, 84px)) 0 clamp(30px, 5vw, 52px);
  position: relative; overflow: hidden; background: var(--ivory);
}
.page-head__ghost {
  position: absolute; right: -1%; top: 50%; transform: translateY(-46%);
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(4rem, 14vw, 12rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(52, 23, 26, .1);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.page-head__inner { position: relative; z-index: 2; }
.page-head__inner > * { max-width: 720px; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 7.4vw, 4.6rem); line-height: .98; letter-spacing: -.03em;
}
.page-head h1 em { font-style: italic; font-weight: 500; color: var(--brown-3); }
.page-head p { margin-top: 18px; color: var(--tx-2); max-width: 560px; }
.page-head__actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.shop { padding-top: 0; }
/* Barre de filtres fixe dans le flux : collante, elle glissait par-dessus
   les fiches au defilement. */
.filters {
  position: relative; z-index: 30;
  background: rgba(248, 247, 238, .97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 11px 0;
}
/* La rangee de filtres defile lateralement sur telephone : sans repere
   visuel, on ne devine pas qu'il reste des gammes a droite. Le masque
   estompe la derniere pastille, ce qui suffit a le faire comprendre. */
.filters__row {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 2px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.filters__row > * { scroll-snap-align: start; }
@media (max-width: 900px) {
  .filters__row {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  }
}
.filters__row::-webkit-scrollbar { display: none; }
.filters__row + .filters__row { margin-top: 8px; display: none; }
.filters__row + .filters__row.is-visible { display: flex; }
.filter {
  flex: none; min-height: 40px; padding: 9px 17px; border: 1px solid var(--line-2);
  font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--tx-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s, border-color .3s, background-color .3s;
}
.filter:hover { color: var(--ink); border-color: var(--line); }
.filter.is-active { background: var(--dark-gradient); border-color: var(--espresso); color: var(--ivory); }
.filter i { font-style: normal; font-size: .57rem; opacity: .7; }
.filter--sub { border-style: dashed; }
.filter--sub.is-active { background: transparent; border-style: solid; border-color: var(--gold-deep); color: var(--gold-deep); }

.shop__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: clamp(30px, 4vw, 46px) 0 24px; }
.shop__bar h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 600; letter-spacing: -.02em; }
.shop__count { font-size: .63rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-3); }
.shop__empty { grid-column: 1 / -1; text-align: center; color: var(--tx-3); padding: 60px 0; }
.shop__note {
  margin-top: clamp(44px, 6vw, 68px); padding: 22px 26px;
  background: var(--sand);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--tx-2);
}
.shop__note svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }

/* =========================================================
   PAGE À PROPOS
   ========================================================= */
.about__intro {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  line-height: 1.3; color: var(--ink); max-width: 950px; font-weight: 500; letter-spacing: -.015em;
}
.about__block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 76px); align-items: center; margin-top: clamp(48px, 8vw, 96px); }
.about__block:nth-child(even) .about__media { order: 2; }
.about__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 999px 999px 3px 3px; }
.about__text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.02em; }
.about__text h2 em { font-style: italic; font-weight: 500; color: var(--brown-3); }
.about__text p { margin-top: 16px; color: var(--tx-2); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; background: var(--sand); transition: opacity .3s; }
.gallery img:hover { opacity: .85; }

/* =========================================================
   SIGNATURE DE MARQUE
   La phrase du client, telle qu'elle a ete ecrite, en anglais :
   c'est la promesse commerciale de la maison, pas un texte d'interface.
   Bandeau brun pleine largeur, motif bogolan en filigrane.
   ========================================================= */
.signature { background: var(--dark-gradient); color: var(--ivory); overflow: hidden; }
.signature .wrap { position: relative; z-index: 2; text-align: center; }
.signature .rule-label { color: var(--gold-light); justify-content: center; }
.signature__line {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 4.4vw, 3.1rem); line-height: 1.14; letter-spacing: -.025em;
  max-width: 20ch; margin: 0 auto; text-wrap: balance;
}
.signature__line::before, .signature__line::after { content: "\201C"; color: var(--gold); }
.signature__line::after { content: "\201D"; }
.signature__sub {
  margin-top: 22px; color: rgba(248, 247, 238, .62);
  font-size: .92rem; max-width: 46ch; margin-inline: auto;
}

/* =========================================================
   PILIERS — savoir-faire en trois volets
   ========================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3.4vw, 44px); margin-top: clamp(32px, 5vw, 52px); }
.pillar { padding-top: 22px; border-top: 2px solid var(--ink); }
.pillar:nth-child(2) { border-color: var(--tan); }
.pillar:nth-child(3) { border-color: var(--gold); }
.pillar h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; margin-bottom: 10px; }
.pillar p { color: var(--tx-2); font-size: .88rem; }

/* =========================================================
   FICHE D'IDENTITE — adresses et contacts en colonnes
   ========================================================= */
.factlist { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); }
.fact { border-top: 1px solid var(--line); padding-top: 18px; }
.fact h3 {
  font-size: .61rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 800; margin-bottom: 8px;
}
.fact p { color: var(--tx-2); font-size: .88rem; }

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 26px; }
.contact__item { display: flex; gap: 16px; }
.contact__item svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 4px; }
.contact__item h3 { font-size: .61rem; letter-spacing: .24em; text-transform: uppercase; color: var(--tx-3); font-weight: 800; margin-bottom: 5px; }
.contact__item p, .contact__item a { color: var(--ink); }
.contact__item a:hover { color: var(--gold-deep); }
/* pastilles rondes à filet fin — seule entorse assumée aux angles droits,
   avec les deux bulles flottantes. */
.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: none; color: var(--tx-2);
  transition: border-color .3s, color .3s, transform .3s;
}
.socials a:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.form { background: var(--sand); padding: clamp(24px, 4vw, 44px); }
.form h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; margin-bottom: 22px; letter-spacing: -.02em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .57rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 7px; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); font-size: .92rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 134px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(138, 94, 28, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--tx-3); }
.form__msg { margin-top: 14px; font-size: .8rem; min-height: 20px; }
.form__msg--ok { color: var(--wa); }
.form__msg--err { color: #A33A1E; }
.form__legal { margin-top: 14px; font-size: .7rem; color: var(--tx-3); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative; overflow: hidden; padding: clamp(58px, 9vw, 96px) 0 26px;
  background-color: var(--espresso); background-image: var(--dark-gradient); color: var(--ivory);
}
.footer__pattern { position: absolute; inset: 0; opacity: .06; pointer-events: none; }
.footer__wordmark {
  position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%);
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(4rem, 16vw, 14rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(248, 247, 238, .1);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.footer__inner { position: relative; z-index: 2; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); padding-bottom: clamp(34px, 5vw, 52px); border-bottom: 1px solid rgba(248, 247, 238, .12); }
.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; color: var(--ivory); }
.footer__brand .seal { width: 68px; height: auto; }
.footer__brand b { font-size: 1.5rem; color: var(--ivory); line-height: 1; }
.footer__tag { color: rgba(248, 247, 238, .62); font-size: .87rem; max-width: 320px; }
.footer h4 { font-size: .59rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; font-weight: 800; }
.footer ul { display: flex; flex-direction: column; }
.footer ul a, .footer ul li { color: rgba(248, 247, 238, .62); font-size: .86rem; }
.footer ul a { display: inline-block; padding: 10px 0; }
.footer ul li:not(:has(a)) { padding: 10px 0; }
.footer ul a:hover { color: var(--gold-light); }
.footer .socials { margin-top: 20px; }
.footer .socials a { border-color: rgba(248, 247, 238, .24); color: rgba(248, 247, 238, .78); }
.footer .socials a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; }
.footer__bottom p { font-size: .72rem; color: rgba(248, 247, 238, .4); }
.footer__bottom a { color: rgba(248, 247, 238, .4); display: inline-flex; align-items: center; min-height: 40px; }
.footer__bottom a:hover { color: var(--gold-light); }

/* =========================================================
   DRAWER SÉLECTION
   ========================================================= */
.overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(28, 13, 11, .46);
  opacity: 0; pointer-events: none; transition: opacity .35s;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.overlay.open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 75;
  width: min(430px, 100%); background: var(--ivory);
  box-shadow: -24px 0 60px rgba(28, 13, 11, .2);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.cart.open { transform: none; }
.cart__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px var(--pad) 20px; border-bottom: 1px solid var(--line-2); }
.cart__head-eyebrow { font-size: .54rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 800; }
.cart__head h3 { font-family: var(--font-display); font-style: italic; font-size: 1.8rem; font-weight: 600; margin-top: 5px; }
.cart__close { width: 42px; height: 42px; font-size: 1.7rem; line-height: 1; color: var(--tx-3); }
.cart__close:hover { color: var(--ink); }
.cart__body { flex: 1; overflow-y: auto; padding: 8px var(--pad); }
.cart__empty { text-align: center; padding: 60px 10px; color: var(--tx-3); }
.cart__empty svg { width: 46px; height: 46px; margin: 0 auto 18px; color: var(--line); }
.cart__empty p { margin-bottom: 20px; font-size: .9rem; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); position: relative; }
.cart-line img { width: 74px; height: 74px; object-fit: cover; flex: none; background: var(--sand); }
.cart-line__body { flex: 1; min-width: 0; }
.cart-line__ref { font-size: .54rem; letter-spacing: .16em; color: var(--tx-3); }
.cart-line__body h4 { font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; margin: 3px 0 9px; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-line__price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--brown-2); }
.cart-line__rm { position: absolute; top: 8px; right: 0; width: 40px; height: 40px; font-size: 1.2rem; color: var(--tx-3); }
.cart-line__rm:hover { color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 40px; height: 40px; color: var(--tx-2); font-size: 1rem; }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 34px; text-align: center; font-size: .86rem; font-weight: 700; }
.cart__foot { padding: 20px var(--pad) 24px; border-top: 1px solid var(--line-2); background: var(--sand); }
.cart__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.cart__total span { font-size: .61rem; letter-spacing: .22em; text-transform: uppercase; color: var(--tx-3); }
.cart__total b { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.cart__moq { font-size: .72rem; margin-bottom: 12px; }
.cart__moq.is-ok { color: var(--wa); }
.cart__moq.is-ko { color: var(--gold-deep); }
.cart__note { font-size: .68rem; color: var(--tx-3); margin-bottom: 14px; }
.cart__actions { display: flex; flex-direction: column; gap: 8px; }
.cart__clear { margin-top: 12px; width: 100%; text-align: center; font-size: .57rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tx-3); min-height: 44px; }
.cart__clear:hover { color: var(--ink); }

/* =========================================================
   MODALE CATALOGUE
   ========================================================= */
/* =========================================================
   FLOTTANTS
   Retires par erreur avec la modale du catalogue : sans eux la
   notification s'affichait en plein ecran.
   ========================================================= */
.whatsapp-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 65;
  /* memes proportions que vpofficiel : glyphe blanc, aucun halo */
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa-solid); color: #fff;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.whatsapp-float.show:hover { transform: translateY(-3px); }
.whatsapp-float.show { opacity: 1; transform: none; pointer-events: auto; }
.whatsapp-float svg { width: 23px; height: 23px; fill: currentColor; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 65;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: .35s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 17px; height: 17px; }
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px); z-index: 95;
  display: flex; align-items: center; gap: 11px; padding: 14px 22px;
  background: var(--dark-gradient); color: var(--ivory); font-size: .8rem;
  opacity: 0; pointer-events: none; transition: .35s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 15px; height: 15px; color: var(--gold-light); }

/* =========================================================
   SITE FERMÉ
   Rien du site ne s'affiche : ni catalogue, ni navigation.
   Seuls le message et de quoi nous joindre restent.
   ========================================================= */
.ft-ferme, .ft-ferme body { overflow: hidden; height: 100%; }
/* tout ce qui n'est pas le message est retiré du rendu */
.ft-ferme body > *:not(#ft-etat) { display: none !important; }

.ferme {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  padding: clamp(24px, 6vw, 64px); overflow-y: auto; text-align: center;
  color: var(--ivory);
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(219, 165, 78, .30) 0%, transparent 60%),
    radial-gradient(760px 620px at 104% 22%, rgba(96, 42, 58, .42) 0%, transparent 66%),
    linear-gradient(158deg, #4A2A1D 0%, #34171A 46%, #1C0D0B 100%);
}
.ferme__pattern { position: absolute; inset: 0; opacity: .06; pointer-events: none; }
.ferme__inner { position: relative; z-index: 2; max-width: 62ch; display: grid; gap: 18px; justify-items: center; }
.ferme__mark { width: clamp(190px, 34vw, 280px); height: auto; }
.ferme h1 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.9rem, 5.2vw, 3rem); line-height: 1.08; margin: 6px 0 0;
}
.ferme p { color: rgba(248, 247, 238, .84); font-size: clamp(.95rem, 2.2vw, 1.06rem); line-height: 1.68; margin: 0; }
.ferme__quand {
  font-size: .62rem !important; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light) !important; font-weight: 800; margin-top: 4px !important;
}
.ferme__liens { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.ferme__liens .btn--line { color: var(--ivory); border-color: rgba(248, 247, 238, .34); }
.ferme__liens .btn--line:hover { background: rgba(248, 247, 238, .1); }

/* =========================================================
   FORMULAIRE DE DEMANDE DE DEVIS
   Court : de quoi rappeler l'acheteur, rien de plus. Il
   s'intercale entre le panier et WhatsApp.
   ========================================================= */
.cf {
  position: fixed; inset: 0; z-index: 96; display: grid; place-items: center;
  padding: var(--pad); background: rgba(28, 13, 11, .58);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .28s;
}
.cf.open { opacity: 1; }
.cf__boite {
  width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--paper); color: var(--ink);
  padding: clamp(22px, 4vw, 36px); position: relative;
  box-shadow: 0 30px 70px rgba(28, 13, 11, .34);
  transform: translateY(14px); transition: transform .32s cubic-bezier(.16, 1, .3, 1);
}
.cf.open .cf__boite { transform: none; }
.cf__fermer {
  position: absolute; top: 8px; right: 10px; width: 40px; height: 40px;
  font-size: 1.6rem; color: var(--tx-3); background: none; border: none; cursor: pointer;
}
.cf__fermer:hover { color: var(--ink); }
.cf__eyebrow {
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 800;
}
.cf h3 {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  margin: 6px 0 8px; letter-spacing: -.02em;
}
.cf__lead { color: var(--tx-2); font-size: .88rem; margin-bottom: 20px; }
.cf__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.cf__champ--large { grid-column: 1 / -1; }
.cf__champ label {
  display: block; font-size: .58rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tx-3); margin-bottom: 5px;
}
.cf__champ input {
  width: 100%; padding: 11px 13px; font-size: .92rem; font-family: var(--font-sans);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.cf__champ input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(204, 141, 61, .16);
}
.cf__erreur { color: #A33A1E; font-size: .84rem; font-weight: 700; margin: 14px 0 0; min-height: 1.2em; }
.cf .btn--full { width: 100%; margin-top: 6px; }

:root[data-theme="dark"] .cf__boite { background: #2A1917; }
:root[data-theme="dark"] .cf__champ input { background: rgba(28, 13, 11, .5); }

@media (max-width: 560px) {
  .cf__grille { grid-template-columns: 1fr; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 4vw;
  background: rgba(28, 13, 11, .94);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; background: var(--ivory); }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; font-size: 2rem; color: rgba(248, 247, 238, .8); }

/* =========================================================
   RÉVÉLATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.products .reveal:nth-child(2) { transition-delay: .07s; }
.products .reveal:nth-child(3) { transition-delay: .14s; }
.products .reveal:nth-child(4) { transition-delay: .21s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--last { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .nav__links, .lang--desktop { display: none; }
  .nav__burger { display: flex; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .factlist { grid-template-columns: repeat(2, 1fr); }
  .manifesto__grid, .range, .craft__grid, .pdf__inner, .about__block, .contact__grid { grid-template-columns: 1fr; }
  .range:nth-child(even) .range__media, .about__block:nth-child(even) .about__media { order: 0; }
  .range__arch, .craft__media img, .about__media img { aspect-ratio: 4 / 3.4; }
  .range__num { top: -14px; left: -4px; }
  .range:nth-child(even) .range__num { left: -4px; right: auto; }
  .pdf__cover { max-width: 320px; }
  .manifesto__aside { max-width: 420px; }

  /* hero empilé : arche puis texte, le fond couvre toute la hauteur */
  .hero__grid {
    grid-template-columns: 1fr; min-height: 0; gap: 0;
    padding-top: calc(var(--bar-h) + var(--nav-h) + 22px);
    padding-bottom: clamp(34px, 7vw, 54px);
  }
  /* le bandeau repasse dans le flux : en absolu il recouvrait l'index des gammes */
  .hero__band { position: static; }
  /* `margin:auto` sur un élément de grille annule l'étirement : sans largeur
     explicite l'arche se réduisait à la largeur intrinsèque de l'image. */
  /* Le titre porte le nom de la maison : il passe avant la photo, sinon
     l'arche le repoussait sous la ligne de flottaison. */
  .hero__art { width: min(300px, 76%); margin: 38px auto 0; }
  .hero__title--nom { font-size: clamp(2.9rem, 12.4vw, 4.2rem); }
  .hero__arch { height: auto; aspect-ratio: 3 / 4; }
  .hero__arch-track { height: 400%; }
  .hero__col { max-width: none; }
  .hero__side { display: none; }
  .hero__band .wrap { grid-template-columns: 1fr; }
  .hero__band-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(248, 247, 238, .14); }
  .hero__band-item:first-child { border-top: none; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; --bar-h: 34px; }
  .topbar { font-size: .54rem; letter-spacing: .1em; gap: 0; }
  .topbar span:nth-child(2) { display: none; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars, .factlist { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid rgba(248, 247, 238, .16); }
  .stat:first-child { border-top: none; }
  .manifesto__cols { grid-template-columns: 1fr; gap: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .card__name { font-size: 1.04rem; }
  .card__desc { -webkit-line-clamp: 2; font-size: .75rem; }
  .price { font-size: 1.16rem; }
  .card__actions { flex-wrap: wrap; }
  .card__add { flex: 1 0 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  /* Deux colonnes tenues jusqu'en bas : a une seule, la boutique
     faisait 43 000 px de haut, illisible a parcourir pour un
     acheteur en gros. */
  .card__media { aspect-ratio: 4 / 4.4; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero__index { gap: 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .whatsapp-float { width: 46px; height: 46px; left: 14px; bottom: 14px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* =========================================================
   MODE SOMBRE
   Pas de noir plat : le fond reprend le degrade du bandeau de
   marque — brun chaud qui descend vers l'espresso, avec le halo
   d'or en haut a gauche. C'est la meme matiere que les sections
   sombres du site, etendue a toute la page.

   Les jetons de surface (--paper, --sand) et d'encre (--ink,
   --tx-*) basculent ; les couleurs de marque (ivoire, espresso,
   or) ne bougent pas : elles servent aux pastilles claires
   posees sur les photos, qui restent claires dans les deux
   themes. Seul --gold-deep change : sa version foncee, choisie
   pour rester lisible sur ivoire, devient illisible sur brun.
   ========================================================= */
:root[data-theme="dark"] {
  --paper: #251614;
  --ivory-fixe: #F8F7EE;
  --sand:  #2E1C18;

  --tx-1: #F4EEE3;
  --tx-2: #CDB9AA;
  --tx-3: #A08C7D;
  --ink:  #F4EEE3;

  --line:   rgba(248, 247, 238, .16);
  --line-2: rgba(248, 247, 238, .09);

  /* l'or profond n'est lisible que sur fond clair : sur brun on
     remonte a l'or clair, qui tient 7:1 sur l'espresso */
  --gold-deep: #DBA54E;

  color-scheme: dark;
}

:root[data-theme="dark"] body {
  /* Le degrade doit se LIRE, pas seulement teinter : halo d'or franc en
     haut a gauche, prune profonde a droite, brun-noir en bas. C'est la
     matiere du pied de page, etendue a la page entiere. Fixe, pour que
     chaque ecran en montre la course complete plutot qu'une tranche. */
  background:
    radial-gradient(1500px 1000px at -6% -14%,
      rgba(219, 165, 78, .42) 0%, rgba(186, 122, 52, .20) 28%, transparent 62%),
    radial-gradient(1200px 950px at 108% 18%,
      rgba(96, 42, 58, .42) 0%, rgba(66, 30, 42, .22) 40%, transparent 68%),
    radial-gradient(900px 700px at 50% 118%,
      rgba(12, 6, 8, .55) 0%, transparent 60%),
    linear-gradient(152deg, #4A2A1D 0%, #3A2019 26%, #2C1720 58%, #1E1015 82%, #150A0E 100%);
  background-attachment: fixed;
  color: var(--tx-1);
}

/* ---- surfaces qui etaient explicitement ivoire ---- */
:root[data-theme="dark"] .section--ivory { background: rgba(255, 255, 255, .028); }
:root[data-theme="dark"] .section--sand  { background: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .nav__menu,
:root[data-theme="dark"] .cart,
:root[data-theme="dark"] .pdf-gate__box,
:root[data-theme="dark"] .lightbox img { background: #2A1917; }
:root[data-theme="dark"] .filters { background: rgba(28, 13, 11, .72); backdrop-filter: blur(8px); }
:root[data-theme="dark"] .marquee { background: rgba(255, 255, 255, .04); }
:root[data-theme="dark"] .page-head { background: rgba(255, 255, 255, .03); }

/* Le bandeau defilant et la citation etaient ecrits en brun moyen :
   lisibles sur ivoire, ils tombent a 2,2:1 sur le fond sombre. */
:root[data-theme="dark"] .marquee__track span { color: #E8D9C4; }
:root[data-theme="dark"] .manifesto__quote { color: var(--tx-1); }
/* La traduction sous la signature passait juste sous le seuil de lisibilite. */
:root[data-theme="dark"] .signature__sub { color: rgba(244, 238, 227, .78); }

/* Le vert WhatsApp foncé est calibré pour un fond clair : sur le tiroir
   sombre il tombe a 3,8:1. On prend le vert vif de la marque. */
:root[data-theme="dark"] { --wa: #25D366; }

/* Pastilles et boutons restes CLAIRS en mode sombre.
   Leur texte etait ecrit en var(--ink), qui bascule au clair : on
   obtenait du blanc sur blanc — la fleche du bouton « haut de page »
   disparaissait purement et simplement. Ces surfaces-la gardent une
   encre sombre fixe. Attention a ne pas viser .card__tag en general :
   ses variantes posent leur propre fond sombre et leur propre encre. */
:root[data-theme="dark"] .card__zoom { color: #2B1416; }

/* Le bouton de remontee devient franchement dore : sur un fond sombre
   une pastille ivoire flottante passait pour un artefact. */
:root[data-theme="dark"] .to-top {
  background: linear-gradient(135deg, #DBA54E 0%, #C07F39 100%);
  border-color: transparent;
  color: #1C0D0B;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8);
}
:root[data-theme="dark"] .to-top:hover { background: linear-gradient(135deg, #E7B665 0%, #CC8D3D 100%); }

/* Les italiques d'accent des titres sont ecrites en brun moyen : justes
   sur ivoire, elles s'eteignent sur le fond sombre. On remonte au tan
   clair, qui garde le contraste chaud sans crier. */
:root[data-theme="dark"] .section-title em,
:root[data-theme="dark"] .manifesto__lead em,
:root[data-theme="dark"] .page-head h1 em,
:root[data-theme="dark"] .about__text h2 em { color: #DFA878; }
:root[data-theme="dark"] .page-head__ghost { -webkit-text-stroke-color: rgba(248, 247, 238, .12); }
:root[data-theme="dark"] .form { background: rgba(255, 255, 255, .045); }
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .field select { background: rgba(28, 13, 11, .5); color: var(--tx-1); }

/* ---- la nav et le bandeau ---- */
:root[data-theme="dark"] .nav { background: rgba(28, 13, 11, .82); backdrop-filter: blur(10px); }
:root[data-theme="dark"] .nav__logo .seal { filter: invert(1) brightness(1.6) sepia(.35) saturate(2.2) hue-rotate(-8deg); }

/* ---- les sections deja sombres ----
   Elles portaient le degrade de marque sur un fond clair : dans le
   theme sombre elles s'y fondraient. On les detache d'un filet et
   d'un fond legerement plus dense. */
:root[data-theme="dark"] .craft,
:root[data-theme="dark"] .signature,
:root[data-theme="dark"] .footer,
:root[data-theme="dark"] .hero__band {
  background-color: rgba(10, 5, 7, .42);
  background-image: none;
  border-top: 1px solid rgba(248, 247, 238, .1);
}

/* ---- cartes produit ---- */
:root[data-theme="dark"] .card__media,
:root[data-theme="dark"] .gallery img,
:root[data-theme="dark"] .cart-line img { background: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .card__add { border-color: var(--line); color: var(--tx-1); }
:root[data-theme="dark"] .card__add:hover { background: var(--gold); color: var(--espresso); border-color: var(--gold); }
:root[data-theme="dark"] .filter { border-color: var(--line-2); color: var(--tx-2); }
:root[data-theme="dark"] .filter.is-active { background: var(--gold); color: var(--espresso); border-color: var(--gold); }
:root[data-theme="dark"] .price--quote { color: var(--gold-light); }

/* ---- boutons ---- */
:root[data-theme="dark"] .btn--ghost,
:root[data-theme="dark"] .btn--line { color: var(--tx-1); border-color: var(--line); }
:root[data-theme="dark"] .btn--solid { background: var(--gold); color: var(--espresso); border-color: var(--gold); }

/* ---- le filigrane et les motifs, trop appuyes sur fond sombre ---- */
:root[data-theme="dark"] .ghost, :root[data-theme="dark"] .section__ghost { opacity: .05; }
/* Sur fond sombre le bogolan ressortait au point de gener la lecture :
   il redevient une texture, pas un motif. */
:root[data-theme="dark"] .pattern-layer { opacity: .18; }

/* ---- l'interrupteur lui-meme ---- */
.nav__theme {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  color: var(--tx-1); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.nav__theme:hover { border-color: var(--gold); color: var(--gold-deep); }
.nav__theme svg { width: 18px; height: 18px; }
/* On montre l'icone du theme vers lequel on bascule, pas celle du theme
   courant : la lune en clair veut dire « passer en sombre ». C'est aussi
   ce que fait le back-office. */
.nav__theme-sun { display: none; }
.nav__theme-moon { display: block; }
:root[data-theme="dark"] .nav__theme-moon { display: none; }
:root[data-theme="dark"] .nav__theme-sun { display: block; }
.nav__theme--mobile {
  width: auto; height: 44px; padding: 0 18px; border-radius: 999px;
  border-color: rgba(248, 247, 238, .22); color: var(--ivory);
}
@media (max-width: 1000px) {
  /* sur telephone il reste dans la barre, entre le panier et le menu */
  .nav__theme:not(.nav__theme--mobile) { width: 38px; height: 38px; }
}

/* Le passage d'un theme a l'autre : assez lent pour etre lisible,
   assez court pour ne pas retarder la lecture. */
:root[data-theme] body,
:root[data-theme] .nav,
:root[data-theme] .card__media { transition: background-color .35s ease, color .35s ease; }

/* =========================================================
   PETITS ECRANS
   Les micro-libelles du site sont dessines a 0,54-0,61rem, soit
   8 a 10 px : lisible sur un ecran de bureau, trop juste sur un
   telephone tenu a bout de bras. On leur donne un plancher et on
   resserre le crenage pour qu'ils ne passent pas a la ligne.
   ========================================================= */
@media (max-width: 600px) {
  .card__cat, .card__ref, .card__sizes span, .card__motifs-t,
  .price__from, .price__unit, .price__off,
  .field label, .contact__item h3, .footer h4,
  .cart-line__ref, .cart__total span, .cart__head-eyebrow, .cart__clear,
  .filter i, .card__count,
  .eyebrow, .rule-label, .hero__stamp, .signature__sub,
  .hero__index span, .stat span, .footer__col a, .footer__legal,
  .step__num, .fact__label, .hero__band-item span, .topbar span {
    font-size: .72rem;
    letter-spacing: .09em;
  }
  .card__tag { font-size: .7rem; letter-spacing: .1em; padding: 6px 10px; }

  /* En deux colonnes la ligne de prix ne tient plus : « a partir de »
     et l'unite passent au-dessus et au-dessous du montant plutot que
     de se disloquer en morceaux. */
  .price { flex-wrap: wrap; gap: 2px 6px; line-height: 1.25; }
  .price__from, .price__unit { flex: 1 0 100%; }
  .price--promo .price__was, .price--promo .price__now, .price--promo .price__off { flex: 0 0 auto; }
  .card__foot { gap: 6px; }
  .card__ref { flex: 1 0 100%; }
  .card__add, .filter { font-size: .72rem; letter-spacing: .1em; }
  .topbar { font-size: .66rem; letter-spacing: .08em; }
  .section__eyebrow, .hero__eyebrow { letter-spacing: .18em; }
}

/* La barre de navigation sur telephone.
   Logo + theme + panier + menu ne tiennent pas dans 360 px : le bouton
   « menu » sortait de l'ecran et devenait inatteignable. On retire de la
   barre ce qui existe ailleurs — l'interrupteur de theme est repris dans
   le menu — et on resserre le logo. */
/* Un numero de telephone et une adresse e-mail se tapotent du pouce :
   21 px de haut, c'est sous le confort admis (~44 px). */
@media (max-width: 760px), (pointer: coarse) {
  .contact__item a, .footer__col a, .nav-mobile__subs a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
}

@media (max-width: 520px) {
  .nav__theme:not(.nav__theme--mobile) { display: none; }
  .nav__inner { gap: 10px; }
  .nav__logo { gap: 9px; }
  .nav__logo .seal { width: 44px; }
  .nav__logo-text b { font-size: 1.1rem; }
  .nav__logo-text i { font-size: .42rem; letter-spacing: .2em; }
}

@media (max-width: 380px) {
  .nav__logo-text i { display: none; }
  .nav__logo .seal { width: 38px; }
  .nav__logo-text b { font-size: 1rem; }
}

@media (max-width: 359px) {
  /* Les tres petits telephones (iPhone SE 1re generation, Galaxy A0x) :
     deux colonnes deviennent illisibles, on repasse a une. */
  .products { grid-template-columns: minmax(0, 1fr); }
  .card__media { aspect-ratio: 4 / 4; }
  :root { --pad: 16px; }
}

/* Telephone couche : la hauteur devient la ressource rare. */
@media (max-height: 460px) and (orientation: landscape) {
  .hero__grid { padding-top: calc(var(--bar-h) + var(--nav-h) + 12px); padding-bottom: 20px; }
  .hero__art { display: none; }
  .nav-mobile__links { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  /* mouvement désactivé : on fige la première photo de chaque piste */
  .hero__bg-track, .hero__arch-track { animation: none !important; transform: none !important; }
}

@media print {
  .nav, .topbar, .whatsapp-float, .to-top, .cart, .overlay, .filters { display: none !important; }
  body { background: #fff; color: #111; }
  .footer, .craft { background: #fff; color: #111; }
}
