/* ==========================================================================
   UNIKA PARIS — Feuille de style principale
   Aucune dépendance, aucun build. Tout est ici.
   Sommaire :
   01. Tokens (couleurs, typo, espacements)
   02. Base & reset
   03. Utilitaires & mise en page
   04. Header / navigation
   05. Boutons & liens
   06. Hero
   07. Sections éditoriales
   08. Collection (grille, filtres, lightbox)
   09. Showroom (infos, horaires, carte)
   10. Contact (formulaire)
   11. Footer
   12. Animations d'apparition
   13. Responsive
   ========================================================================== */

/* 01. TOKENS ============================================================== */
:root {
  /* ----------------------------------------------------------------------
     GAMME BRUN — BEIGE
     Une seule famille de couleurs, du café le plus sombre au beige le plus
     clair. Chaque teinte est disponible comme variante réutilisable.
     Pour réchauffer ou refroidir toute la charte, décalez ces 12 valeurs :
     tout le site suit.
     ---------------------------------------------------------------------- */
  --brun-950:  #1C1309;   /* café — fonds sombres          */
  --brun-900:  #2A1D11;   /* moka                          */
  --brun-800:  #3B2A1A;   /* chocolat                      */
  --brun-700:  #4F3924;   /* cacao                         */
  --brun-600:  #6A4F33;   /* noisette foncée               */
  --brun-500:  #876848;   /* noisette                      */
  --brun-400:  #A5865F;   /* caramel clair                 */
  --brun-300:  #C0A481;   /* sable doré                    */
  --brun-200:  #D8C1A2;   /* lin                           */
  --brun-100:  #E8D8BF;   /* beige moyen — blocs           */
  --beige-100: #F2E7D5;   /* beige clair — fonds alternés  */
  --beige-50:  #FAF4E8;   /* crème — fond principal        */

  /* Accent cognac, la seule couleur qui sort de la gamme neutre */
  --cognac:      #A9743F; /* sur fond sombre               */
  --cognac-fonce:#8A5A2C; /* sur fond clair (contraste AA) */

  /* ----------------------------------------------------------------------
     RÔLES — c'est ce que le reste de la feuille utilise.
     Changer une teinte ci-dessus suffit : ne modifiez pas ces lignes.
     ---------------------------------------------------------------------- */
  --ink:        #241A0F;             /* texte principal        15.6:1 */
  --ink-90:     var(--brun-900);
  --ink-soft:   #584330;             /* texte secondaire        8.5:1 */
  --ink-mute:   #7E6647;             /* texte tertiaire         4.9:1 */
  --bone:       var(--beige-50);     /* fond principal                */
  --bone-2:     var(--beige-100);    /* fond alterné                  */
  --sand:       var(--brun-100);     /* blocs, cadres d'images        */
  --line:       var(--brun-200);     /* filets                        */
  --accent:     var(--cognac);
  --accent-dp:  var(--cognac-fonce);
  --white:      #FFFFFF;

  /* Typographie */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", "Futura", "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero:  clamp(2.75rem, 8.4vw, 7rem);
  --fs-h2:    clamp(2.1rem, 5.2vw, 3.9rem);
  --fs-h3:    clamp(1.45rem, 2.6vw, 2rem);
  --fs-lead:  clamp(1.05rem, 1.5vw, 1.25rem);
  --fs-body:  1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Rythme */
  --sp-section: clamp(4.5rem, 11vw, 9.5rem);
  --gutter:     clamp(1.25rem, 5vw, 4.5rem);
  --maxw:       1320px;
  --maxw-text:  62ch;

  /* Divers */
  --radius: 2px;
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:    0.55s;
  --shadow: 0 24px 60px -28px rgba(28, 19, 9, 0.34);
}

/* 02. BASE & RESET ======================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection { background: var(--ink); color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--bone);
  padding: 0.85rem 1.4rem;
  font-size: var(--fs-small);
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* 03. UTILITAIRES ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 6rem); }
.section--dark { background: var(--brun-950); color: var(--bone); }
.section--sand { background: var(--bone-2); }

.section--dark { --line: rgba(250, 244, 232, 0.16); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .lead { color: rgba(250, 244, 232, 0.74); }

.eyebrow {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-dp);
  margin-bottom: 1.5rem;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--fs-h2); }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: var(--maxw-text);
  font-weight: 300;
}

.rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 04. HEADER ============================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease), transform var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.header.is-stuck {
  background: rgba(250, 244, 232, 0.90);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line);
}

.header.is-hidden { transform: translateY(-100%); }

/* En-tête posé sur un hero sombre */
.header--over { color: var(--bone); }
.header--over.is-stuck { color: var(--ink); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: currentColor;
}
.brand__mark { width: 26px; color: currentColor; flex: none; }
.brand__mark svg { width: 100%; height: auto; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 2px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2rem); }
.nav .btn { white-space: nowrap; padding: 0.9rem 1.6rem; }

.nav__link {
  position: relative;
  white-space: nowrap;
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-block: 0.35rem;
  color: currentColor;
  opacity: 0.82;
  transition: opacity 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { opacity: 1; }

.header__actions { display: flex; align-items: center; gap: 1rem; }

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 100px;
  overflow: hidden;
  opacity: 0.78;
  transition: opacity 0.3s var(--ease);
}
.lang:hover { opacity: 1; }
.lang__btn {
  appearance: none;
  background: none;
  border: 0;
  color: currentColor;
  font-family: inherit;
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.12em;
  padding: 0.32rem 0.6rem;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
/* Fond et texte sont toujours définis ensemble : la paire ne peut jamais
   se retrouver encre sur encre, quel que soit l'état de l'en-tête. */
.lang__btn[aria-pressed="true"] { background: var(--ink); }
.lang__btn[aria-pressed="true"] span { color: var(--bone); }

/* Au-dessus du hero sombre, on inverse la paire */
.header--over:not(.is-stuck):not(.is-nav-open) .lang__btn[aria-pressed="true"] { background: var(--bone); }
.header--over:not(.is-stuck):not(.is-nav-open) .lang__btn[aria-pressed="true"] span { color: var(--ink); }

/* Burger */
.burger {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  margin-right: -0.6rem;
  cursor: pointer;
  color: currentColor;
}
.burger span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.burger span + span { margin-top: 7px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 05. BOUTONS ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bone);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  text-align: center;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-dp);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--bone); }

.btn--light { background: transparent; color: var(--bone); border-color: rgba(250,244,232,0.5); }
.btn--light:hover { color: var(--bone); border-color: var(--accent); }

.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.link-arrow:hover { gap: 1.1rem; color: var(--accent); }

/* 06. HERO ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--brun-950);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 72% 18%, rgba(169,116,63,0.40) 0%, rgba(169,116,63,0) 58%),
    radial-gradient(90% 80% at 12% 88%, rgba(216,193,162,0.20) 0%, rgba(216,193,162,0) 62%),
    linear-gradient(160deg, var(--brun-800) 0%, var(--brun-900) 48%, var(--brun-950) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

.hero__mark {
  position: absolute;
  right: -6%;
  top: 46%;
  transform: translateY(-50%);
  width: min(52vw, 620px);
  color: var(--bone);
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.hero__inner { padding-block: clamp(6.5rem, 14vh, 8.5rem) clamp(2.5rem, 6vh, 4rem); width: 100%; }

.hero__eyebrow {
  font-size: var(--fs-micro);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.62);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.92;
  letter-spacing: -0.028em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.2rem);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__lead {
  font-size: var(--fs-lead);
  color: rgba(250, 244, 232, 0.76);
  max-width: 46ch;
  margin-bottom: clamp(2rem, 4vw, 2.8rem);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.8rem;
  border-top: 1px solid rgba(250, 244, 232, 0.16);
}
.hero__meta div { min-width: 0; }
.hero__meta dt {
  font-size: var(--fs-micro);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.48);
  margin-bottom: 0.4rem;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 8vh, 5rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--fs-micro);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.5);
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(250,244,232,0.5), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.3; }
  50%      { transform: scaleY(1);    transform-origin: top; opacity: 1; }
}

/* Bandeau défilant */
.marquee {
  background: var(--brun-950);
  color: var(--bone);
  padding-block: 1.15rem;
  overflow: hidden;
  border-block: 1px solid rgba(250, 244, 232, 0.14);
  display: flex;
}
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(250, 244, 232, 0.82);
}
.marquee span::after {
  content: "·";
  margin-left: 3.5rem;
  color: var(--accent);
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* 07. SECTIONS ÉDITORIALES ================================================ */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__media { grid-column: span 6; }
.split__body  { grid-column: span 5 / -1; }
.split--rev .split__media { order: 2; }

.figure {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-radius: var(--radius);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 4 / 3; }

.figure__caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(28, 19, 9, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.85rem;
}

/* Vente en gros : conditions chiffrées */
.conditions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
}
.conditions__item {
  background: var(--bone);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.conditions__item dt {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dp);
}
.conditions__val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0;
  color: var(--ink);
}
.conditions__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Vente en gros : les trois assortiments */
.packs-head { margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.packs-head h3 { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.packs-head p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; max-width: 60ch; }

.packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.pack {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pack:hover { border-color: var(--accent); transform: translateY(-3px); }

.pack__label {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Chaque taille : la quantité en gros, le libellé dessous */
.pack__sizes { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pack__sizes li {
  flex: 1 1 0;
  min-width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.9rem 0.4rem;
  background: var(--bone-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pack__sizes b {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-dp);
}
.pack__sizes span {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pack__note { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* Services / atouts */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.card {
  border-top: 1px solid var(--line);
  padding-top: 1.7rem;
}
.card__idx {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  color: var(--accent-dp);
  display: block;
  margin-bottom: 1rem;
}
.card h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.section--dark .card p { color: rgba(250,244,232,0.68); }

/* Étapes */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.step {
  background: var(--bone);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.3rem) 0;
  align-items: start;
}
.step__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-dp);
  line-height: 1.2;
}
.step h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; max-width: 60ch; }

/* 08. COLLECTION ========================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 300;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: background 0.32s var(--ease), color 0.32s var(--ease), border-color 0.32s var(--ease);
  white-space: nowrap;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }

/* Aperçu de collection : défilement horizontal */
.carousel { position: relative; }

.carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.carousel__hint {
  margin: 0;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.carousel__nav { display: flex; gap: 0.5rem; flex: none; }
.carousel__btn {
  appearance: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.carousel__btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }

/* La piste : une seule ligne, calée pièce par pièce */
.carousel__track {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.5rem;
  /* Ni calage ni défilement adouci par défaut : ils annuleraient la dérive
     continue. Les flèches demandent explicitement un défilement adouci. */
  /* barre de défilement masquée : les flèches et le glissement suffisent */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.carousel__track > .product {
  flex: 0 0 clamp(230px, 24vw, 310px);
}

/* Dégradé sur le bord droit : indique qu'il reste des pièces */
.carousel::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(40px, 6vw, 80px);
  height: calc(100% - 56px);
  pointer-events: none;
  background: linear-gradient(to right, rgba(250,244,232,0), var(--bone));
  opacity: 1;
  transition: opacity 0.35s var(--ease);
}
/* En boucle continue il n'y a pas de fin : le dégradé reste. */

@media (prefers-reduced-motion: reduce) {
  /* Le défilement automatique est désactivé côté JavaScript. */
  .carousel__track { scroll-behavior: auto; }
}

.product { position: relative; }
.product[hidden] { display: none; }

.product__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
  border-radius: var(--radius);
  cursor: zoom-in;
  width: 100%;
  padding: 0;
  border: 0;
  appearance: none;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease), filter 0.6s var(--ease);
}
.product:hover .product__media img { transform: scale(1.045); }

.product__zoom {
  position: absolute;
  right: 0.85rem; top: 0.85rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(250, 244, 232, 0.92);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.product:hover .product__zoom, .product__media:focus-visible .product__zoom { opacity: 1; transform: translateY(0); }


.product__info { padding-top: 1.05rem; display: flex; flex-direction: column; gap: 0.28rem; }
.product__name { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.2; margin: 0; }
.product__ref {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.product__detail { font-size: 0.88rem; color: var(--ink-soft); margin: 0.15rem 0 0; }

.empty-state {
  padding: 4rem 0;
  text-align: center;
  color: var(--ink-mute);
  font-size: var(--fs-lead);
  font-family: var(--font-display);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(20, 13, 6, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem var(--gutter);
  color: rgba(250, 244, 232, 0.75);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 clamp(1rem, 8vw, 6rem);
  min-height: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8);
}

.lightbox__foot {
  padding: 1.2rem var(--gutter) 2rem;
  text-align: center;
  color: var(--bone);
}
.lightbox__title { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 0.2rem; }
.lightbox__meta { font-size: var(--fs-small); color: rgba(250,244,232,0.6); margin: 0; }

.lb-btn {
  appearance: none;
  background: rgba(250, 244, 232, 0.08);
  border: 1px solid rgba(250, 244, 232, 0.22);
  color: var(--bone);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  flex: none;
}
.lb-btn:hover { background: rgba(250, 244, 232, 0.18); border-color: var(--accent); }
.lb-btn--prev, .lb-btn--next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lb-btn--prev { left: clamp(0.5rem, 2vw, 1.6rem); }
.lb-btn--next { right: clamp(0.5rem, 2vw, 1.6rem); }

/* Panneau catalogue : QR code à scanner */
.qr {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(20, 13, 6, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.qr.is-open { opacity: 1; visibility: visible; }

.qr__panel {
  position: relative;
  width: min(100%, 460px);
  max-height: 100%;
  overflow-y: auto;
  background: var(--bone);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.6rem) clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  box-shadow: 0 40px 90px -40px rgba(20, 13, 6, 0.7);
  transform: translateY(14px);
  transition: transform 0.4s var(--ease);
}
.qr.is-open .qr__panel { transform: none; }

.qr__close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.qr__close:hover { background: var(--ink); color: var(--bone); }

.qr__title { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 0.6rem; }
.qr__lead { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.6rem; }

.qr__code {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(0.9rem, 2.5vw, 1.3rem);
  margin-bottom: 1.5rem;
  display: grid;
  place-items: center;
}
.qr__code img { width: 100%; max-width: 300px; height: auto; }

.qr__mobile { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.9rem; }
.qr__panel .btn { width: 100%; }
.qr__panel .btn[hidden] { display: none; }

.qr__alt {
  margin: 1.5rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.qr__alt a { border-bottom: 1px solid var(--line); transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.qr__alt a:hover { color: var(--accent-dp); border-color: var(--accent); }

/* 09. SHOWROOM ============================================================ */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.showroom-grid__info { grid-column: span 5; }
.showroom-grid__map  { grid-column: span 7; }

.info-block + .info-block { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.info-block h3 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-dp);
  margin-bottom: 0.9rem;
}
.info-block p, .info-block address {
  font-style: normal;
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}
.info-block a:not(.btn):not(.link-arrow) {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.info-block a:not(.btn):not(.link-arrow):hover { color: var(--accent-dp); border-color: var(--accent); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
  font-size: 0.98rem;
}
.hours th { color: var(--ink); width: 45%; }
.hours td { color: var(--ink-soft); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-dp); }
.hours tr.is-today th::after {
  content: "•";
  margin-left: 0.5rem;
  color: var(--accent);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex: none;
}
/* Trois états, en couleur sémantique : un acheteur doit savoir d'un coup
   d'œil s'il peut encore passer. C'est le seul endroit du site où la
   lisibilité de l'information prime sur la charte brun-beige. */
.status.is-open   { color: #2F6B39; border-color: #C4DCC6; background: #EDF5EC; }
.status.is-soon   { color: #8A5A12; border-color: #E6D0A0; background: #FBF1DC; }
.status.is-open   .status__dot { background: #2F6B39; box-shadow: 0 0 0 4px rgba(47,107,57,0.18); }
.status.is-soon   .status__dot { background: #8A5A12; box-shadow: 0 0 0 4px rgba(138,90,18,0.20); }
.status.is-closed { color: #9C3B2E; border-color: #E8C4BC; background: #FBEEEB; }
.status.is-closed .status__dot { background: #9C3B2E; }

.map-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  isolation: isolate;
}

/* La carte est directement déplaçable et zoomable.
   Le filtre la réchauffe pour qu'elle tienne dans la charte brun-beige. */
.map-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
  filter: sepia(0.42) saturate(0.72) hue-rotate(-8deg) contrast(0.94) brightness(1.03);
}

/* Repli : visible uniquement si la carte ne peut pas se charger */
.map-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background-color: var(--sand);
  background-image:
    linear-gradient(var(--beige-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--beige-100) 1px, transparent 1px),
    linear-gradient(115deg, transparent 47%, var(--beige-100) 47%, var(--beige-100) 53%, transparent 53%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
}
.map-placeholder__pin { width: 32px; color: var(--accent-dp); }
.map-placeholder__addr { font-size: 0.98rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

.map-frame__actions {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.map-pill {
  display: inline-block;
  appearance: none;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  background: var(--bone);
  border: 1px solid var(--line);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.map-pill:hover { background: var(--ink); color: var(--bone); }

.map-pill--fort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brun-950);
  border-color: var(--brun-950);
  color: var(--bone);
  font-weight: 400;
}
.map-pill--fort:hover { background: var(--accent-dp); border-color: var(--accent-dp); color: var(--bone); }

/* 10. CONTACT ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-grid__actions { grid-column: span 5; }
.contact-grid__aside  { grid-column: span 6 / -1; }

/* Colonne d'actions du bloc contact */
.contact-grid__actions { display: flex; flex-direction: column; gap: 1rem; }
.contact-grid__actions .btn--block { width: 100%; }

.form-note { font-size: var(--fs-micro); color: var(--ink-mute); margin: 0; }

.contact-direct { display: grid; gap: 1.4rem; }
.contact-direct__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.contact-direct__item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-direct__ico { flex: none; width: 20px; color: var(--accent-dp); margin-top: 3px; }
.contact-direct__k {
  display: block;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.25rem;
}
.contact-direct__v { font-size: 1.02rem; color: var(--ink); }
.contact-direct__v a { border-bottom: 1px solid var(--line); transition: border-color 0.3s var(--ease); }
.contact-direct__v a:hover { border-color: var(--accent); color: var(--accent-dp); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  appearance: none;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--ink);
  padding: 1.45rem 3rem 1.45rem 0;
  cursor: pointer;
  position: relative;
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.faq__q:hover { color: var(--accent-dp); }
.faq__q::after, .faq__q::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.faq__q::before { width: 15px; height: 1px; transform: translateY(-50%); }
.faq__q::after  { width: 1px; height: 15px; transform: translate(7px, -50%); }
.faq__q[aria-expanded="true"]::after { transform: translate(7px, -50%) rotate(90deg); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 72ch;
  padding-bottom: 1.6rem;
  margin: 0;
}

/* Bandeau CTA */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta-band .lead { margin-inline: auto; margin-bottom: 2.4rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* 11. FOOTER ============================================================== */
.footer {
  background: var(--brun-950);
  color: rgba(250, 244, 232, 0.7);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: 0.92rem;
}
.footer a { color: rgba(250, 244, 232, 0.7); transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--bone); }

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
}
.footer__brand .brand { color: var(--bone); margin-bottom: 1.2rem; }
.footer__brand p { max-width: 34ch; color: rgba(250, 244, 232, 0.55); font-size: 0.9rem; }

.footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 1.1rem;
}
.footer li + li { margin-top: 0.6rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(250, 244, 232, 0.14);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: rgba(250, 244, 232, 0.45);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(250, 244, 232, 0.2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.32s var(--ease), border-color 0.32s var(--ease), color 0.32s var(--ease);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bone);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: var(--accent-dp); }
.wa-float svg { width: 25px; height: 25px; }

/* 12. ANIMATIONS ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }

/* Si JS indisponible : tout reste visible */
.no-js .reveal { opacity: 1; transform: none; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* 13. RESPONSIVE ========================================================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .showroom-grid__info, .showroom-grid__map { grid-column: 1 / -1; }
  .contact-grid__actions, .contact-grid__aside { grid-column: 1 / -1; }
}

/* Navigation : on bascule sur le menu plein écran dès que la barre est serrée.
   Le seuil est plus haut que celui de la mise en page pour éviter que le
   bouton d'appel à l'action ne passe à la ligne sur les écrans intermédiaires. */
@media (max-width: 1150px) {
  html { scroll-padding-top: 76px; }
  .header__inner { min-height: 68px; }
  .burger { display: block; }

  /* Menu ouvert : le panneau est clair, l'en-tête doit rester lisible */
  .header.is-nav-open { color: var(--ink); }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    padding: 6rem var(--gutter) 3rem;
    background: var(--bone);
    color: var(--ink);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.8rem);
    letter-spacing: 0.01em;
    text-transform: none;
    opacity: 1;
    padding-block: 0.42rem;
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--accent-dp); }
  .nav .btn { margin-top: 1.6rem; font-size: var(--fs-small); align-self: flex-start; }
}

@media (max-width: 860px) {
  .split__media, .split__body { grid-column: 1 / -1; }
  .split--rev .split__media { order: 0; }

  .hero { min-height: 92svh; }
  .scroll-hint { display: none; }
  .hero__meta { gap: 1.5rem 2.5rem; }

  .step { grid-template-columns: 44px 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__foot { padding-bottom: 1.4rem; }
  .wa-float { width: 48px; height: 48px; }
}

@media (max-width: 520px) {
  .brand__name { font-size: 1.12rem; letter-spacing: 0.13em; }
  .grid-products { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .hero__cta .btn { width: 100%; }
  .lb-btn { width: 42px; height: 42px; }
}

/* Impression : version propre pour un dossier commercial */
@media print {
  .header, .wa-float, .scroll-hint, .marquee, .lightbox, .filters, form { display: none !important; }
  body { background: #fff; color: #000; }
  .section--dark, .footer, .hero { background: #fff !important; color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { text-decoration: underline; }
}
