/* ═══════════════════════════════════════════════════════════
   GIBERT CHAUSSURES — Uzès & St Ambroix
   Palette fidèle au logo : anthracite, gris enseigne, papier,
   magenta (prix & CTA). Signature : l'étiquette de prix.
   ═══════════════════════════════════════════════════════════ */

:root {
  --encre: #1C1B1F;
  --encre-2: #29282E;
  --gris: #85868A;
  --papier: #F3F1EC;
  --papier-2: #EAE7DF;
  --blanc: #FBFAF7;
  --magenta: #D6198B;
  --magenta-fonce: #A81069;
  --texte: #232227;
  --texte-doux: #5E5D63;
  --ombre: rgba(28, 27, 31, 0.14);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
  --nav-h: 72px;
  --fd: "Fraunces", Georgia, serif;
  --fc: "Karla", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fc);
  color: var(--texte);
  background: var(--papier);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grain cinéma */
body::after {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; opacity: 0.028; pointer-events: none; z-index: 9999;
}

::selection { background: var(--magenta); color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--papier-2); }
::-webkit-scrollbar-thumb { background: var(--gris); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--encre-2); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-fonce); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

.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;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 2000;
  background: var(--encre); color: var(--blanc); padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 10px; text-decoration: none; transition: top 0.25s;
}
.skip-link:focus { top: 0; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

h2 {
  font-family: var(--fd);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.6em;
}
.label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 0.9rem;
}

/* ─── Boutons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--fc); font-weight: 700; font-size: 0.95rem;
  padding: 0.72rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; transition: transform 0.22s var(--ease-smooth), box-shadow 0.22s, background 0.22s, color 0.22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--magenta); color: #fff; box-shadow: 0 6px 18px rgba(214, 25, 139, 0.3); }
.btn--primary:hover { background: var(--magenta-fonce); box-shadow: 0 10px 24px rgba(214, 25, 139, 0.38); }
.btn--outline { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn--outline:hover { background: var(--encre); color: var(--blanc); }
.btn--outline.btn--clair { color: var(--blanc); border-color: rgba(251, 250, 247, 0.6); }
.btn--outline.btn--clair:hover { background: var(--blanc); color: var(--encre); }
.btn--large { padding: 0.95rem 2.2rem; font-size: 1.05rem; }

/* ─── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav--scrolled {
  background: rgba(28, 27, 31, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.nav__inner {
  width: min(1240px, 94vw); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
}
.nav__logo {
  display: flex; flex-direction: column; line-height: 1.05;
  text-decoration: none; color: var(--blanc); white-space: nowrap;
}
.nav__logo-nom { font-family: var(--fd); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.08em; }
.nav__logo-sous { font-family: var(--fd); font-style: italic; font-size: 0.85rem; color: var(--gris); }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  color: var(--blanc); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 0.3rem 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--magenta); transition: width 0.28s var(--ease-smooth);
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__burger {
  display: none; background: none; border: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--blanc); border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile — display:none HORS media query (piège n°1) */
.nav__menu-mobile { display: none; }

/* Variante pages légales : fond sombre permanent, pas de burger */
.nav--solide { background: var(--encre); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25); }

/* Pages légales */
.legal { padding: calc(var(--nav-h) + 3rem) 0 4rem; max-width: 760px; }
.legal h1 { font-family: var(--fd); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 600; margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p, .legal ul { margin-bottom: 0.9rem; color: var(--texte); }
.legal ul { padding-left: 1.3rem; }

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav--solide .nav__links { display: flex; gap: 1rem; font-size: 0.9rem; }
  .nav__burger { display: flex; }
  .nav--solide .nav__burger { display: none; }
  .nav__menu-mobile {
    display: flex; flex-direction: column; gap: 1.4rem;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 340px);
    background: rgba(28, 27, 31, 0.96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: calc(var(--nav-h) + 1.5rem) 2rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease-out-expo), visibility 0s linear 0.5s;
    z-index: 999;
  }
  .nav__menu-mobile.ouvert {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s var(--ease-out-expo);
  }
  .nav__menu-mobile a {
    color: var(--blanc); text-decoration: none; font-size: 1.2rem; font-weight: 600;
  }
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--encre);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 42%, rgba(133, 134, 138, 0.22), transparent 70%);
  filter: blur(30px);
}
.hero__inner { position: relative; text-align: center; padding: calc(var(--nav-h) + 1.2rem) 1rem 3rem; }

/* L'enseigne suspendue : le vrai logo, accroché et qui se balance */
.hero__enseigne {
  display: inline-block;
  transform-origin: 50% -14px;
  animation: enseigne-sway 5.5s var(--ease-smooth) 2s infinite;
}
.hero__potence { display: block; width: clamp(180px, 26vw, 260px); height: auto; margin: 0 auto -6px; }
.hero__enseigne img {
  width: clamp(240px, 34vw, 380px); height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 4px 14px rgba(0, 0, 0, 0.4);
}
@keyframes enseigne-sway {
  0%, 100% { transform: rotate(-1.3deg); }
  50% { transform: rotate(1.3deg); }
}
.hero__nom {
  font-family: var(--fd); font-weight: 400; font-style: italic;
  color: var(--papier); font-size: clamp(1.1rem, 2.6vw, 1.55rem);
  margin-top: 1.6rem;
}
.hero__saison {
  color: var(--gris); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.75rem; font-weight: 700; margin-top: 0.8rem;
}

/* Apparition en deux temps : l'enseigne descend, puis le nom */
.js .hero__visual { opacity: 0; transform: translateY(90px); animation: hero-monte 1.3s var(--ease-out-expo) 0.15s forwards; }
.js .hero__nom { opacity: 0; transform: translateY(46px); animation: hero-monte 1s var(--ease-out-expo) 0.75s forwards; }
.js .hero__saison { opacity: 0; animation: hero-fade 1s ease 1.15s forwards; }
@keyframes hero-monte { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-fade { to { opacity: 1; } }

/* ─── Bande photos marquee ────────────────────────────── */
.bande { overflow: hidden; background: var(--blanc); padding: 1.6rem 0; border-bottom: 1px solid var(--papier-2); }
.bande__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.bande:hover .bande__track, .bande:focus-within .bande__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.bande__item {
  width: 190px; height: 140px; margin-right: 1rem; border-radius: 10px;
  overflow: hidden; background: var(--blanc); flex: none; border: 1px solid var(--papier-2);
}
.bande__item img { max-width: none; width: 100%; height: 100%; object-fit: cover; }

/* ─── Catégories ──────────────────────────────────────── */
.cats { padding: clamp(3.4rem, 7vw, 5.5rem) 0 1rem; }
.cats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.6rem;
}
.cats__carte {
  position: relative; border: none; border-radius: var(--radius); overflow: hidden;
  background: var(--blanc); padding: 0; text-align: left;
  box-shadow: 0 4px 16px var(--ombre);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
}
.cats__carte:hover { transform: translateY(-5px); box-shadow: 0 14px 30px var(--ombre); }
.cats__carte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s var(--ease-smooth); }
.cats__carte:hover img { transform: scale(1.06); }
.cats__nom {
  display: block; font-family: var(--fd); font-weight: 600; font-size: 1.25rem;
  padding: 0.8rem 1rem 0.1rem; color: var(--encre);
}
.cats__count { display: block; padding: 0 1rem 0.9rem; color: var(--texte-doux); font-size: 0.85rem; }

/* ─── Boutique ────────────────────────────────────────── */
.boutique { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
.boutique__intro { max-width: 640px; color: var(--texte-doux); margin-bottom: 1.8rem; }

/* ─── Bascule de collection (Été ⇄ Automne-Hiver) ─────── */
.saison {
  display: flex; align-items: center; gap: 1rem 1.2rem;
  flex-wrap: wrap; margin-bottom: 1.6rem;
}
/* Deux colonnes de largeur égale : la pilule fait exactement la moitié
   de la piste et se déplace d'une largeur. Aucune mesure JS nécessaire. */
.saison__switch {
  position: relative; display: inline-grid; isolation: isolate;
  grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--papier-2); border-radius: 999px; padding: 4px;
}
.saison__pilule {
  position: absolute; z-index: 0; top: 4px; left: 4px; bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 999px; background: var(--encre);
  box-shadow: 0 3px 12px rgba(28, 27, 31, 0.22);
  transform: translate3d(0, 0, 0);
  transition: transform 0.52s var(--ease-out-expo);
}
.saison__switch[data-actif="ete"] .saison__pilule { transform: translate3d(100%, 0, 0); }
.saison__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: none; background: none; color: var(--texte-doux);
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 0.6rem 1.35rem; border-radius: 999px; white-space: nowrap;
  transition: color 0.28s var(--ease-out-expo);
}
.saison__btn svg { transition: transform 0.5s var(--ease-out-expo), opacity 0.28s; opacity: 0.55; }
.saison__btn:hover { color: var(--texte); }
.saison__btn.actif { color: var(--blanc); }
.saison__btn.actif svg { opacity: 1; transform: rotate(45deg); }
.saison__note {
  font-size: 0.88rem; color: var(--texte-doux); margin: 0;
}
.saison__note strong { color: var(--texte); font-weight: 700; }

/* Fondu de la grille au changement de collection */
.grille, .boutique__compte { transition: opacity 0.28s var(--ease-out-expo); }
.boutique--bascule .grille, .boutique--bascule .boutique__compte { opacity: 0; }

@media (max-width: 520px) {
  .saison__switch { width: 100%; }
  .saison__btn { padding: 0.6rem 0.5rem; }
}

.boutique__barre { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.recherche {
  flex: 1 1 320px; display: flex; align-items: center; gap: 0.6rem;
  background: var(--blanc); border: 2px solid var(--papier-2); border-radius: 999px;
  padding: 0.35rem 1.1rem; transition: border-color 0.25s;
  color: var(--texte-doux);
}
.recherche:focus-within { border-color: var(--magenta); }
.recherche input {
  flex: 1; border: none; background: none; font-family: inherit; font-size: 1rem;
  padding: 0.5rem 0; color: var(--texte); min-width: 0;
}
.recherche input:focus { outline: none; }
.boutique__tri select {
  font-family: inherit; font-size: 0.92rem; font-weight: 600; color: var(--encre);
  background: var(--blanc); border: 2px solid var(--papier-2); border-radius: 999px;
  padding: 0.62rem 1rem; cursor: pointer;
}
.btn--filtres {
  background: var(--encre); color: var(--blanc); border-radius: 999px;
  border: none; padding: 0.72rem 1.4rem; font-weight: 700; font-size: 0.95rem;
  display: none; align-items: center; gap: 0.5rem;
}

.boutique__genres { display: flex; gap: 0.55rem; flex-wrap: wrap; margin: 1.3rem 0 1.8rem; }
.genre {
  border: 2px solid var(--papier-2); background: var(--blanc); color: var(--texte);
  border-radius: 999px; padding: 0.48rem 1.25rem; font-weight: 600; font-size: 0.92rem;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.genre:hover { border-color: var(--gris); }
.genre.actif { background: var(--encre); border-color: var(--encre); color: var(--blanc); }

.boutique__corps { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }

/* Filtres */
.filtres {
  background: var(--blanc); border-radius: var(--radius); padding: 1.3rem;
  box-shadow: 0 4px 16px var(--ombre); position: sticky; top: calc(var(--nav-h) + 16px);
  max-height: calc(100svh - var(--nav-h) - 32px); overflow-y: auto;
}
.filtres__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.filtres__titre { font-family: var(--fd); font-weight: 600; font-size: 1.15rem; }
.filtres__reset {
  background: none; border: none; color: var(--magenta-fonce); font-weight: 600;
  font-size: 0.82rem; text-decoration: underline;
}
.filtres__fermer { display: none; background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--texte); }
.filtres__voile { display: none; }

.filtre { border-top: 1px solid var(--papier-2); padding: 0.75rem 0; }
.filtre summary {
  font-weight: 700; font-size: 0.95rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.filtre summary::-webkit-details-marker { display: none; }
.filtre summary::after { content: '+'; font-size: 1.15rem; color: var(--gris); transition: transform 0.25s; }
.filtre[open] summary::after { transform: rotate(45deg); }
.filtre__liste { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 0.6rem; max-height: 300px; overflow-y: auto; }
.filtre__check {
  display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem;
  padding: 0.28rem 0.2rem; border-radius: 6px; cursor: pointer;
}
.filtre__check:hover { background: var(--papier); }
.filtre__check input { accent-color: var(--magenta); width: 16px; height: 16px; flex: none; }
.filtre__check .compte { margin-left: auto; color: var(--gris); font-size: 0.8rem; }

.filtre__prix { padding-top: 0.7rem; }
.filtre__prix-valeurs { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.range-double { position: relative; height: 26px; }
.range-double input[type="range"] {
  position: absolute; left: 0; right: 0; top: 0; width: 100%;
  -webkit-appearance: none; appearance: none; background: none; pointer-events: none; height: 26px;
}
.range-double::before {
  content: ''; position: absolute; top: 11px; left: 0; right: 0; height: 4px;
  background: var(--papier-2); border-radius: 2px;
}
.range-double input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 20px; height: 20px; border-radius: 50%; background: var(--magenta);
  border: 3px solid var(--blanc); box-shadow: 0 2px 6px var(--ombre); cursor: grab; margin-top: 3px;
}
.range-double input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 14px; height: 14px; border-radius: 50%;
  background: var(--magenta); border: 3px solid var(--blanc); box-shadow: 0 2px 6px var(--ombre); cursor: grab;
}
.filtre__prix .filtre__check { margin-top: 0.7rem; font-size: 0.85rem; color: var(--texte-doux); }
.filtre__pointure { padding-top: 0.7rem; }
.filtre__pointure input {
  width: 100%; padding: 0.55rem 0.9rem; border: 2px solid var(--papier-2);
  border-radius: 8px; font-family: inherit; font-size: 1rem;
}
.filtre__pointure input:focus { outline: none; border-color: var(--magenta); }
.filtre__aide { font-size: 0.78rem; color: var(--gris); margin-top: 0.45rem; }

/* Grille produits */
.boutique__compte { color: var(--texte-doux); font-size: 0.92rem; margin-bottom: 1rem; }
.grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.1rem;
}
.produit {
  position: relative; background: var(--blanc); border: none; border-radius: var(--radius);
  overflow: hidden; padding: 0 0 0.9rem; text-align: left; cursor: pointer;
  box-shadow: 0 3px 12px var(--ombre);
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s;
  display: flex; flex-direction: column;
}
.produit:hover { transform: translateY(-4px); box-shadow: 0 14px 28px var(--ombre); }
.produit__photo {
  aspect-ratio: 4 / 3; overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.produit__photo img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.45s var(--ease-smooth);
}
.produit:hover .produit__photo img { transform: scale(1.07); }
.produit__marque {
  font-family: var(--fd); font-weight: 600; font-size: 1.02rem; color: var(--encre);
  padding: 0.65rem 0.9rem 0;
}
.produit__ref { color: var(--texte-doux); font-size: 0.8rem; padding: 0 0.9rem; }
.produit__meta {
  display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  padding: 0.45rem 0.9rem 0; margin-top: auto;
}
.tag-pointure {
  font-size: 0.75rem; font-weight: 700; color: var(--texte-doux);
  background: var(--papier); border: 1px solid var(--papier-2);
  border-radius: 5px; padding: 0.14rem 0.5rem;
}

/* L'ÉTIQUETTE — la signature */
.etiquette {
  position: absolute; top: 10px; right: -4px;
  background: var(--magenta); color: #fff;
  font-family: var(--fd); font-weight: 700; font-size: 1.02rem;
  padding: 0.32rem 0.85rem 0.32rem 1.15rem;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  transform: rotate(3deg);
  box-shadow: 0 3px 10px rgba(214, 25, 139, 0.35);
  transition: transform 0.25s var(--ease-elastic);
}
.etiquette::before {
  content: ''; position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--papier);
}
.produit:hover .etiquette { transform: rotate(-2deg) scale(1.06); }
.etiquette--boutique { background: var(--encre); font-size: 0.8rem; box-shadow: 0 3px 10px var(--ombre); font-family: var(--fc); }
.etiquette--grande {
  position: static; display: inline-block; font-size: 1.6rem;
  padding: 0.45rem 1.3rem 0.45rem 1.7rem; transform: rotate(-2deg);
  margin: 0.7rem 0 1rem;
}
.etiquette--grande.etiquette--boutique { font-size: 1.05rem; }

.boutique__plus { text-align: center; margin-top: 2rem; }
.boutique__vide {
  text-align: center; padding: 3rem 1rem; background: var(--blanc);
  border-radius: var(--radius); box-shadow: 0 4px 16px var(--ombre);
}
.boutique__vide p { margin-bottom: 0.8rem; }
.boutique__rappel {
  margin-top: 3rem; text-align: center; background: var(--encre); color: var(--papier);
  border-radius: var(--radius); padding: 2.2rem 1.5rem;
}
.boutique__rappel p { font-family: var(--fd); font-style: italic; font-size: 1.25rem; margin-bottom: 1.1rem; }

/* ─── Marques ─────────────────────────────────────────── */
.marques { padding: clamp(3.4rem, 7vw, 5.5rem) 0; background: var(--blanc); }
.marques__intro { max-width: 620px; color: var(--texte-doux); margin-bottom: 1.6rem; }
.marques__nuage { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.marque-chip {
  font-family: var(--fd); font-weight: 600; font-size: clamp(1rem, 2vw, 1.3rem);
  border: 2px solid var(--papier-2); background: var(--papier); color: var(--encre);
  border-radius: 999px; padding: 0.55rem 1.4rem;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}
.marque-chip:hover { background: var(--encre); border-color: var(--encre); color: var(--blanc); transform: translateY(-2px); }
.marque-chip em { font-style: normal; font-family: var(--fc); font-size: 0.72em; color: inherit; opacity: 0.55; margin-left: 0.4em; }

/* ─── Magasins ────────────────────────────────────────── */
.magasins { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
.magasins__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.4rem; }
.magasin {
  background: var(--blanc); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: 0 4px 16px var(--ombre);
}
.magasin h3 { font-family: var(--fd); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.3rem; }
.magasin__adresse { color: var(--texte-doux); margin-bottom: 0.7rem; }
.magasin__tel {
  display: inline-block; font-family: var(--fd); font-weight: 700; font-size: 1.35rem;
  color: var(--magenta-fonce); text-decoration: none; margin-bottom: 1rem;
}
.magasin__tel:hover { text-decoration: underline; }
.magasin__horaires { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-bottom: 0.8rem; }
.magasin__horaires th { text-align: left; font-weight: 500; padding: 0.22rem 0; color: var(--texte-doux); }
.magasin__horaires td { text-align: right; padding: 0.22rem 0; }
.magasin__horaires tr.aujourdhui th, .magasin__horaires tr.aujourdhui td { font-weight: 700; color: var(--magenta-fonce); }
.magasin__note { font-size: 0.85rem; color: var(--gris); font-style: italic; margin-bottom: 1rem; }
.magasin__carte { border-radius: 10px; overflow: hidden; max-width: 100%; }
.magasin__carte iframe {
  width: 100%; aspect-ratio: 4 / 3; max-height: 260px; border: 0; display: block;
  filter: grayscale(1); transition: filter 0.4s;
}
.magasin__carte:hover iframe { filter: grayscale(0); }
.magasins__mail { text-align: center; margin-top: 2rem; color: var(--texte-doux); }

/* ─── Footer ──────────────────────────────────────────── */
.footer { background: var(--encre); color: var(--gris); padding: 1.6rem 0; font-size: 0.85rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer nav { display: flex; gap: 1.2rem; }
.footer a { color: var(--gris); text-decoration: none; }
.footer a:hover { color: var(--papier); text-decoration: underline; }
.footer__egg { background: none; border: none; color: var(--gris); opacity: 0.7; transition: color 0.3s, transform 0.3s; }
.footer__egg:hover { color: var(--magenta); transform: rotate(-8deg); }

/* Pluie d'étiquettes (easter egg) */
.egg-tag {
  position: fixed; top: -40px; z-index: 10000; pointer-events: none;
  background: var(--magenta); color: #fff; font-weight: 700; font-size: 0.7rem;
  padding: 0.15rem 0.5rem 0.15rem 0.75rem;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
  animation: egg-tombe 3.2s linear forwards;
}
@keyframes egg-tombe {
  to { transform: translateY(110vh) rotate(360deg); opacity: 0.9; }
}
.egg-message {
  position: fixed; left: 50%; bottom: 2.2rem; transform: translateX(-50%) translateY(20px);
  background: var(--encre); color: var(--papier); font-family: var(--fd); font-style: italic;
  padding: 0.8rem 1.6rem; border-radius: 999px; z-index: 10001; opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease-elastic);
}
.egg-message.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Modal produit ───────────────────────────────────── */
.produit-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0s linear 0.35s;
}
.produit-modal.ouvert {
  opacity: 1; visibility: visible;
  transition: opacity 0.35s;
}
.produit-modal__voile { position: absolute; inset: 0; background: rgba(28, 27, 31, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.produit-modal__carte {
  position: relative; background: var(--blanc); border-radius: 16px;
  width: min(880px, 100%); max-height: calc(100svh - 2rem); overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s var(--ease-out-expo);
}
.produit-modal.ouvert .produit-modal__carte { transform: translateY(0) scale(1); }
.produit-modal__fermer {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--papier); border: none; width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.5rem; line-height: 1; color: var(--texte);
  transition: background 0.2s, transform 0.2s;
}
.produit-modal__fermer:hover { background: var(--papier-2); transform: rotate(90deg); }
.produit-modal__photo { background: #fff; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.produit-modal__photo img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.produit-modal__infos { padding: 2rem 2rem 2rem 0.5rem; }
.produit-modal__marque {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--texte-doux);
}
.produit-modal__titre { font-family: var(--fd); font-weight: 600; font-size: 1.6rem; margin: 0.2rem 0 0.3rem; }
.produit-modal__details { margin: 0.4rem 0 1rem; }
.produit-modal__details div { display: flex; gap: 0.8rem; padding: 0.3rem 0; border-bottom: 1px dashed var(--papier-2); }
.produit-modal__details dt { font-weight: 700; font-size: 0.88rem; min-width: 90px; color: var(--texte-doux); }
.produit-modal__details dd { font-size: 0.95rem; }
.produit-modal__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.4rem; }
.chip-pointure {
  min-width: 42px; text-align: center; font-weight: 700; font-size: 0.9rem;
  background: var(--papier); border: 1.5px solid var(--papier-2); border-radius: 8px;
  padding: 0.35rem 0.5rem;
}
.produit-modal__dispo { font-size: 0.85rem; color: var(--texte-doux); margin-top: 0.8rem; }

/* ─── Overlay téléphone plein écran ───────────────────── */
.phone-overlay {
  position: fixed; inset: 0; z-index: 1800;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s, visibility 0s linear 0.45s;
}
.phone-overlay.ouvert {
  opacity: 1; visibility: visible;
  transition: opacity 0.45s;
}
.phone-overlay__scene { position: absolute; inset: 0; cursor: pointer; }
.phone-overlay__scene svg { width: 100%; height: 100%; display: block; }
.phone-overlay__tags { position: absolute; inset: 0; overflow: hidden; }
.po-tag {
  position: absolute; top: -60px;
  background: rgba(214, 25, 139, 0.8); color: #fff; font-weight: 700; font-size: 0.72rem;
  font-family: var(--fc);
  padding: 0.2rem 0.6rem 0.2rem 0.85rem;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  animation: po-flotte linear infinite;
  opacity: 0.5;
}
.po-tag--gris { background: rgba(133, 134, 138, 0.5); }
@keyframes po-flotte {
  to { transform: translateY(115vh) rotate(300deg); }
}
.phone-overlay__close {
  position: absolute; top: 20px; right: 24px; z-index: 3;
  background: rgba(251, 250, 247, 0.1); border: 1px solid rgba(251, 250, 247, 0.3);
  color: var(--blanc); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.7rem; line-height: 1; transition: background 0.25s, transform 0.25s;
}
.phone-overlay__close:hover { background: rgba(251, 250, 247, 0.22); transform: rotate(90deg); }
.phone-overlay__content {
  position: relative; z-index: 2; text-align: center; padding: 1.5rem;
  pointer-events: none;
}
.phone-overlay__content > *, .phone-overlay__magasins { pointer-events: auto; }
.phone-overlay__content::before {
  content: ''; position: absolute; inset: -18%;
  background: radial-gradient(ellipse at center, rgba(20, 19, 23, 0.85), transparent 72%);
  z-index: -1; pointer-events: none;
}
.phone-overlay__kicker {
  color: var(--gris); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 1.6rem;
}
.phone-overlay__magasins { display: flex; gap: clamp(1.5rem, 5vw, 4.5rem); flex-wrap: wrap; justify-content: center; }
.phone-overlay__ville { font-family: var(--fd); font-style: italic; color: var(--papier); font-size: 1.3rem; margin-bottom: 0.4rem; }
.phone-overlay__number { display: flex; gap: 0.45rem; justify-content: center; margin-bottom: 1.1rem; }
.phone-overlay__number span {
  font-family: var(--fd); font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  color: var(--blanc);
  background: linear-gradient(160deg, #fff, #cfced4);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.js .phone-overlay.ouvert .phone-overlay__number span {
  opacity: 0; transform: translateY(18px) scale(0.8);
  animation: digit-pop 0.5s var(--ease-elastic) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.08s);
}
@keyframes digit-pop { to { opacity: 1; transform: translateY(0) scale(1); } }
.phone-overlay__actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.phone-overlay__toast {
  position: absolute; left: 50%; bottom: -3.2rem; transform: translateX(-50%) translateY(8px);
  background: var(--blanc); color: var(--encre); font-weight: 700; font-size: 0.9rem;
  padding: 0.55rem 1.3rem; border-radius: 999px; opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.phone-overlay__toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

body.no-scroll { overflow: hidden; }

/* ─── Reveal on scroll (pattern html.js) ──────────────── */
.js .reveal, .js .reveal-left, .js .reveal-right {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .reveal.visible, .js .reveal-left.visible, .js .reveal-right.visible {
  opacity: 1; transform: none;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 1020px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .boutique__corps { grid-template-columns: 1fr; }
  .btn--filtres { display: inline-flex; }
  .filtres {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(84vw, 360px);
    max-height: none; border-radius: 0; z-index: 1300;
    transform: translateX(-100%); visibility: hidden;
    transition: transform 0.45s var(--ease-out-expo), visibility 0s linear 0.45s;
    overflow-y: auto; padding-bottom: 3rem;
  }
  .filtres.ouvert {
    transform: translateX(0); visibility: visible;
    transition: transform 0.45s var(--ease-out-expo);
  }
  .filtres__fermer { display: block; }
  .filtres__voile {
    display: block; position: fixed; inset: 0; z-index: 1299;
    background: rgba(28, 27, 31, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .filtres__voile.visible { opacity: 1; pointer-events: auto; }
}
@media (max-width: 760px) {
  .produit-modal__carte { grid-template-columns: 1fr; }
  .produit-modal__infos { padding: 0 1.5rem 1.8rem; }
  .produit-modal__photo { padding: 1rem; }
  .produit-modal__photo img { max-height: 280px; }
  .magasins__grid { grid-template-columns: 1fr; }
  .footer__inner { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .cats__grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .grille { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; }
  .etiquette { font-size: 0.92rem; }
  .bande__item { width: 150px; height: 112px; }
  .hero__enseigne img { width: min(76vw, 320px); }
}

/* ─── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .hero__visual, .js .hero__nom, .js .hero__saison { opacity: 1; transform: none; animation: none; }
  .hero__enseigne { animation: none; }
  .js .reveal, .js .reveal-left, .js .reveal-right { opacity: 1; transform: none; }
  .js .phone-overlay.ouvert .phone-overlay__number span { opacity: 1; transform: none; animation: none; }
  .bande__track { animation: none; }
  .po-tag, .egg-tag { display: none; }
  .saison__pilule, .saison__btn svg { transition: none; }
  .saison__btn.actif svg { transform: none; }
  .boutique--bascule .grille, .boutique--bascule .boutique__compte { opacity: 1; }
}

/* ─── Section histoire ────────────────────────────────── */
.histoire { padding: clamp(3.4rem, 7vw, 5.5rem) 0; background: var(--blanc); }
.histoire__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1rem; }
.histoire__texte p { margin-bottom: 1rem; color: var(--texte); }
.histoire__texte em { font-family: var(--fd); font-style: italic; color: var(--magenta-fonce); }
.histoire__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.histoire__photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--papier); box-shadow: 0 4px 16px var(--ombre); }
.histoire__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.5s var(--ease-smooth); }
.histoire__photo:hover img { transform: scale(1.05); }
.histoire__photo figcaption { font-size: 0.8rem; color: var(--texte-doux); padding: 0.55rem 0.8rem 0.7rem; }

/* ─── Loupe au survol des photos cliquables ───────────── */
.produit__photo, .histoire__photo { position: relative; cursor: pointer; }
.produit__photo::before, .histoire__photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(28, 27, 31, 0.28);
  opacity: 0; transition: opacity 0.28s var(--ease-smooth);
  pointer-events: none;
}
.histoire__photo::before { bottom: 2.4rem; }
.produit__photo::after, .histoire__photo::after {
  content: ''; position: absolute; z-index: 2;
  left: 50%; top: 50%; width: 74px; height: 74px;
  margin: -37px 0 0 -37px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 74'%3E%3Ccircle cx='32' cy='32' r='19' fill='rgba(28,27,31,0.35)' stroke='%23FBFAF7' stroke-width='5'/%3E%3Cpath d='M46 46 L62 62' stroke='%23FBFAF7' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M32 24 v16 M24 32 h16' stroke='%23FBFAF7' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0; transform: scale(0.45);
  transition: opacity 0.28s var(--ease-smooth), transform 0.32s var(--ease-elastic);
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.histoire__photo::after { top: calc(50% - 1.2rem); }
.produit:hover .produit__photo::before, .produit:focus-visible .produit__photo::before,
.histoire__photo:hover::before, .histoire__photo:focus-visible::before { opacity: 1; }
.produit:hover .produit__photo::after, .produit:focus-visible .produit__photo::after,
.histoire__photo:hover::after, .histoire__photo:focus-visible::after { opacity: 1; transform: scale(1); }

/* ─── Lightbox photos ─────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1700;
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  background: rgba(20, 19, 23, 0.88);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0s linear 0.4s;
}
.lightbox.ouvert {
  opacity: 1; visibility: visible;
  transition: opacity 0.4s;
}
.lightbox figure { margin: 0; max-width: min(1000px, 94vw); text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 78svh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption { color: var(--papier); font-family: var(--fd); font-style: italic; margin-top: 0.9rem; font-size: 1.05rem; }
.lightbox__fermer {
  position: absolute; top: 20px; right: 24px;
  background: rgba(251, 250, 247, 0.1); border: 1px solid rgba(251, 250, 247, 0.3);
  color: var(--blanc); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.7rem; line-height: 1; transition: background 0.25s, transform 0.25s;
}
.lightbox__fermer:hover { background: rgba(251, 250, 247, 0.22); transform: rotate(90deg); }

@media (max-width: 860px) {
  .histoire__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .produit__photo::after, .histoire__photo::after { transition: none; transform: scale(1); }
}

/* L'étiquette reste au-dessus de la photo et de la loupe */
.produit .etiquette { z-index: 3; }
