/* =========================================================
   Studio Unicode Paris — feuille de style
   Concept : la fiche technique de mode (papier écru, encre, fil rouge)
   ========================================================= */

:root {
  --paper: #f4f4f2;
  --paper-2: #eaeae6;
  --ink: #111110;
  --ink-2: #3a3936;
  --mute: #8a867d;
  --line: rgba(17, 17, 16, 0.14);
  --red: #e2231a; /* le fil rouge */
  --dark: #121211;
  --dark-2: #1c1c1a;
  --dark-line: rgba(242, 239, 232, 0.14);

  --f-display: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
::selection {
  background: var(--red);
  color: var(--paper);
}

.mono {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
em {
  font-style: italic;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition:
    background 0.4s var(--ease),
    padding 0.4s var(--ease),
    border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(242, 239, 232, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: var(--line);
}
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-word {
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 17px;
}
.logo-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  margin-top: 4px;
  color: var(--ink-2);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 13.5px;
  position: relative;
  padding: 4px 0;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  border: 1px solid var(--ink);
  padding: 9px 16px !important;
  border-radius: 99px;
  transition:
    background 0.3s,
    color 0.3s;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: var(--ink);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
  transition-delay: 0s;
}
.burger span:first-child {
  top: 15px;
}
.burger span:last-child {
  top: 24px;
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 99px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--ink);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover {
  background: var(--red);
  border-color: var(--red);
}
.btn-line {
  background: transparent;
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-light:hover {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

.link-arrow {
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: 130px var(--gutter) 70px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at 70% 45%,
    #000 0%,
    transparent 70%
  );
  opacity: 0.6;
}
.kicker {
  color: var(--red);
  margin: 0 0 28px;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(48px, 8.2vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
}
.hero-title .line {
  display: block;
}
.hero-title em {
  color: var(--red);
}
.hero-lead {
  max-width: 540px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-2);
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-sketch {
  margin: 0;
  background: #fbfaf6;
  border: 1px solid var(--line);
  padding: 18px 18px 14px;
  box-shadow: 0 30px 60px -30px rgba(17, 17, 16, 0.25);
  transform: rotate(1.2deg);
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 8px;
  font-size: 10px;
}
.hero-sketch figcaption {
  font-size: 10px;
  color: var(--mute);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.flat {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.flat .draw * {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.flat .stitch * {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.9;
  stroke-dasharray: 3 3;
  opacity: 0.55;
}
.flat .dim line {
  stroke: var(--red);
  stroke-width: 1;
}
.flat .dim text,
.flat .callout text {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  fill: var(--red);
}
.flat .callout line {
  stroke: var(--red);
  stroke-width: 0.8;
}
.flat .callout circle {
  fill: var(--red);
}
.flat .callout text {
  fill: var(--ink);
}

.flat .draw * {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.6s var(--ease) forwards 0.5s;
}
.flat .stitch,
.flat .dim,
.flat .callout {
  opacity: 0;
  animation: fadein 1s ease forwards 2.4s;
}
.flat .stitch {
  animation-delay: 2s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadein {
  to {
    opacity: 1;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  font-size: 13px;
  animation: marquee 50s linear infinite;
}
.marquee-track i {
  color: var(--red);
  font-style: normal;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(80px, 11vw, 160px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.section.dark {
  max-width: none;
  background: var(--dark);
  color: var(--paper);
  padding-left: max(
    var(--gutter),
    calc((100vw - var(--max)) / 2 + var(--gutter))
  );
  padding-right: max(
    var(--gutter),
    calc((100vw - var(--max)) / 2 + var(--gutter))
  );
}
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  color: var(--mute);
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
}
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
}
.display em {
  color: var(--red);
}
.dark .display em {
  color: #ff5a47;
}
.section-intro {
  max-width: 460px;
  color: var(--ink-2);
  font-size: 17px;
  margin: 0;
}
.dark .section-intro,
.dark p {
  color: rgba(242, 239, 232, 0.72);
}

/* ---------- Studio ---------- */
.studio-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
}
.studio-body p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.facts {
  margin: clamp(60px, 8vw, 110px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.fact {
  padding: 28px 24px 0 0;
  border-right: 1px solid var(--line);
  margin-right: 24px;
}
.fact:last-child {
  border-right: 0;
  margin-right: 0;
}
.fact-n {
  font-family: var(--f-display);
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 1;
  margin-bottom: 14px;
}
.fact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.fact dd .mono {
  color: var(--mute);
  font-size: 10.5px;
}

/* ---------- Expertises ---------- */
.expertises .section-intro {
  margin-top: -12px;
  margin-bottom: 64px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.step {
  padding: 34px 32px 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease);
}
.step:not(:nth-child(3n)) {
  border-right: 1px solid var(--line);
  margin-right: 0;
}
.step:not(:nth-child(3n + 1)) {
  padding-left: 32px;
}
.step-n {
  color: var(--red);
  display: block;
  margin-bottom: 40px;
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 14px;
}
.step p {
  color: var(--ink-2);
  margin: 0 0 22px;
  font-size: 15px;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.6s var(--ease);
}
.step:not(:nth-child(3n + 1))::before {
  left: 0;
}
.step:hover::before {
  width: 100%;
}
.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 99px;
  font-size: 10px;
  color: var(--ink-2);
}

/* ---------- Atelier ---------- */
.section.atelier-development {
  background-color: #0b0b0b;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.82)),
    url("img/banner/usine.webp");
  background-position: center top;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
}
.atelier-grid > div > p {
  font-size: 17px;
  max-width: 520px;
  margin: 0 0 36px;
}
.team {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--dark-line);
}
.team li {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--dark-line);
}
.team li > .mono {
  color: #ff5a47;
  padding-top: 6px;
}
.team h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 4px;
}
.team p {
  margin: 0;
  font-size: 14.5px;
}
.atelier-photos {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  margin-top: clamp(60px, 8vw, 110px);
  align-items: end;
}
.photo {
  margin: 0;
}
.photo .ph,
.photo img {
  aspect-ratio: 4/5;
  width: 100%;
  display: block;
  object-fit: cover;
}
.photo.tall .ph,
.photo.tall img {
  aspect-ratio: 3/4.4;
}
.ph {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 14px,
      rgba(242, 239, 232, 0.04) 14px 15px
    ),
    var(--dark-2);
  border: 1px dashed var(--dark-line);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.ph .mono {
  color: rgba(242, 239, 232, 0.4);
  font-size: 10px;
}

/* ---------- Matières ---------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.swatch {
  background: #fbfaf6;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.swatch-tex {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.swatch-tex img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.swatch-photo::after {
  display: none;
}
.swatch-tex::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 1.2s var(--ease);
  background: inherit;
}
.swatch:hover .swatch-tex {
  filter: saturate(1.15);
}
.swatch-info {
  padding: 22px 24px 26px;
}
.swatch-info .mono {
  color: var(--red);
}
.swatch-info h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 30px;
  margin: 6px 0 8px;
}
.swatch-info p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
.swatch-tex {
  transition: transform 1s var(--ease);
}
.swatch:hover .swatch-tex {
  transform: scale(1.04);
}

/* textures en pur CSS */
.tex-denim {
  background-color: #2b3f63;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.14) 0 2px,
      transparent 2px 6px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.18) 0 1px,
      transparent 1px 5px
    ),
    radial-gradient(
      ellipse at 30% 30%,
      rgba(255, 255, 255, 0.22),
      transparent 60%
    );
}
.tex-knit {
  background-color: #d9d3c7;
  background-image:
    radial-gradient(
      ellipse 4px 7px at 5px 7px,
      rgba(0, 0, 0, 0.14) 60%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 4px 7px at 5px 7px,
      rgba(255, 255, 255, 0.5) 40%,
      transparent 42%
    );
  background-size:
    10px 12px,
    10px 12px;
  background-position:
    0 0,
    1px -1px;
}
.tex-weave {
  background-color: #1b1b1a;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0 3px,
      transparent 3px 6px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 3px,
      transparent 3px 6px
    ),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.12),
      transparent 50%,
      rgba(255, 255, 255, 0.06)
    );
}
.tex-pull {
  background-color: #a8321f;
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.2) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0, 0, 0, 0.2) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%);
  background-size: 18px 22px;
  background-position:
    9px 0,
    9px 0,
    0 0,
    0 0;
}
.tex-merino {
  background-color: #c9bfae;
  background-image:
    repeating-radial-gradient(
      circle at 20% 40%,
      rgba(255, 255, 255, 0.18) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      80deg,
      rgba(0, 0, 0, 0.05) 0 1px,
      transparent 1px 3px
    ),
    radial-gradient(
      ellipse at 70% 70%,
      rgba(255, 255, 255, 0.35),
      transparent 60%
    );
}
.swatch-cta {
  background: var(--ink);
  color: var(--paper);
  justify-content: flex-end;
  border-color: var(--ink);
}
.swatch-cta .swatch-info p {
  color: rgba(242, 239, 232, 0.7);
  margin-bottom: 20px;
}
.swatch-cta .swatch-info .mono {
  color: #ff5a47;
}

/* ---------- Production / carte ---------- */
.prod-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.prod-head .display {
  margin: 0;
}
.map-wrap {
  position: relative;
  border: 1px solid var(--ink);
  background: #fbfaf6;
}
.map {
  width: 100%;
  height: auto;
  display: block;
}
.map .dot {
  fill: rgba(17, 17, 16, 0.16);
}
.route {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.3;
  stroke-dasharray: 4 5;
  opacity: 0.45;
  transition:
    opacity 0.3s,
    stroke-width 0.3s;
}
.route.on {
  opacity: 1;
  stroke-width: 2;
  animation: flow 1.2s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -18;
  }
}
.pin {
  cursor: pointer;
}
.pin circle.core {
  fill: var(--ink);
  transition:
    fill 0.3s,
    r 0.3s;
}
.pin circle.halo {
  fill: var(--red);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.pin.on circle.core {
  fill: var(--red);
}
.pin.on circle.halo {
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(4);
  }
}
.pin text {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  fill: var(--ink);
  text-transform: uppercase;
}
.pin.hub circle.core {
  fill: var(--ink);
}
.pin.hub text {
  font-weight: 500;
}
.map-panel {
  position: absolute;
  left: 41%;
  bottom: 20px;
  width: min(360px, calc(100% - 40px));
  background: var(--ink);
  color: var(--paper);
  padding: 22px 24px;
}
.map-panel .mono {
  color: #ff5a47;
  font-size: 10.5px;
}
.map-panel h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 30px;
  margin: 4px 0 8px;
}
.map-panel p {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(242, 239, 232, 0.75);
}
.map-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.map-panel li {
  border: 1px solid var(--dark-line);
  border-radius: 99px;
  padding: 4px 9px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.country-tabs button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 14px 18px 12px 0;
  margin-right: 18px;
  color: var(--mute);
  border-top: 2px solid transparent;
  margin-top: -1px;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.country-tabs button[aria-selected="true"],
.country-tabs button:hover {
  color: var(--ink);
  border-top-color: var(--red);
}

/* ---------- Références ---------- */
.references {
  padding-bottom: clamp(40px, 6vw, 80px);
}
.ref-block {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
  margin-bottom: 56px;
}
.ref-title {
  color: var(--mute);
  font-weight: 400;
  margin: 0 0 22px;
}
.ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(22px, 3.5vw, 52px);
  row-gap: 8px;
}
.ref-list li {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition:
    color 0.3s,
    font-style 0.3s;
  cursor: default;
}
.ref-list li:hover {
  color: var(--red);
  font-style: italic;
}
.ref-clients li {
  font-size: clamp(40px, 6vw, 92px);
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ref-clients li:hover {
  font-style: normal;
}

/* ---------- Engagements ---------- */
.engagements {
  padding-top: clamp(40px, 6vw, 80px);
}
.certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert {
  border: 1px solid var(--ink);
  padding: 28px 28px 32px;
  position: relative;
  background: #fbfaf6;
}
.cert::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--red);
  background: radial-gradient(circle, var(--red) 0 3px, transparent 4px);
}
.cert-k {
  color: var(--red);
}
.cert h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 22px 0 20px;
}
.cert ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
}
.cert li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

/* ---------- Logistique / incoterms ---------- */
.inco {
  border: 1px solid var(--dark-line);
  padding: clamp(20px, 3vw, 40px);
}
.inco-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.inco-tabs button {
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 99px;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--dark-line);
  transition: all 0.3s;
}
.inco-tabs button:hover {
  border-color: var(--paper);
}
.inco-tabs button[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.inco-tabs button .star {
  color: #ff5a47;
  margin-left: 6px;
}
.inco-tabs button[aria-selected="true"] .star {
  color: var(--red);
}
.inco-chain {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  counter-reset: st;
}
.inco-chain li {
  position: relative;
  padding: 18px 16px 20px;
  min-height: 130px;
  background: rgba(242, 239, 232, 0.05);
  border-top: 3px solid rgba(242, 239, 232, 0.25);
  transition:
    background 0.5s var(--ease),
    border-color 0.5s var(--ease);
  counter-increment: st;
}
.inco-chain li::before {
  content: "0" counter(st);
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: rgba(242, 239, 232, 0.45);
  display: block;
  margin-bottom: 18px;
}
.inco-chain li strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
}
.inco-chain li span {
  display: block;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.5);
}
.inco-chain li.us {
  background: rgba(212, 42, 28, 0.2);
  border-top-color: #ff5a47;
}
.inco-chain li.us span {
  color: #ff8a7c;
}
.inco-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  color: rgba(242, 239, 232, 0.6);
  font-size: 10.5px;
}
.sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  vertical-align: -1px;
}
.sw-us {
  background: #ff5a47;
}
.sw-you {
  background: rgba(242, 239, 232, 0.3);
}
.inco-desc {
  margin: 26px 0 0;
  max-width: 760px;
  font-size: 16px;
  min-height: 3.2em;
}
.inco-desc b {
  color: var(--paper);
  font-weight: 500;
}

/* ---------- Écosystème ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  margin-top: 20px;
}
.eco {
  text-decoration: none;
  padding: 32px 32px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
  transition: background 0.4s;
}
.eco + .eco {
  padding-left: 32px;
}
.eco:last-child {
  border-right: 0;
}
.eco .mono {
  color: var(--mute);
}
.eco h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 38px;
  margin: 18px 0 6px;
}
.eco p {
  margin: 0 0 24px;
  color: var(--ink-2);
  flex: 1;
}
.eco .link-arrow {
  align-self: flex-start;
}
a.eco:hover h3 {
  color: var(--red);
  font-style: italic;
}
.eco-current .link-arrow {
  border: 0;
  color: var(--red);
}

/* ---------- Contact ---------- */
.contact {
  border-top: 1px solid var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
}
.contact-grid > div > p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 460px;
}
.coords {
  margin: 40px 0 0;
}
.coords div {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.coords dt {
  color: var(--mute);
}
.coords dd {
  margin: 0;
}
.coords a {
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

.brief {
  background: #fbfaf6;
  border: 1px solid var(--ink);
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 18px;
}
.brief-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  font-size: 10.5px;
}
.brief-head span:last-child {
  color: var(--red);
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.brief label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.brief input:not([type="checkbox"]),
.brief select,
.brief textarea {
  font: 15px/1.4 var(--f-body);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  border-radius: 0;
  transition: border-color 0.3s;
}
.brief select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23111'/%3E%3C/svg%3E")
    no-repeat right 4px center;
}
.brief textarea {
  resize: vertical;
  border: 1px solid var(--line);
  padding: 10px;
}
.brief input:focus,
.brief select:focus,
.brief textarea:focus {
  outline: none;
  border-color: var(--red);
}
.brief .invalid {
  border-color: var(--red) !important;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
  padding: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  flex-direction: row;
}
.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chips span {
  font-family: var(--f-body);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.25s;
}
.chips span:hover {
  border-color: var(--ink);
}
.chips input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chips input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.form-note {
  margin: 0;
  min-height: 1em;
  color: var(--red);
  font-size: 10.5px;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px var(--gutter) 28px;
  overflow: hidden;
}
.foot-word {
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: clamp(64px, 18vw, 300px);
  line-height: 0.85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 232, 0.3);
  margin-bottom: 40px;
  user-select: none;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(242, 239, 232, 0.55);
  font-size: 10.5px;
  border-top: 1px solid var(--dark-line);
  padding-top: 22px;
  max-width: var(--max);
  margin: 0 auto;
}
.foot-row a {
  text-decoration: none;
  color: var(--paper);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.hero .reveal {
  transition-duration: 1.2s;
}
.hero-sketch.reveal {
  transform: translateY(28px) rotate(1.2deg);
}
.hero-sketch.reveal.in {
  transform: rotate(1.2deg);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .flat .draw * {
    stroke-dashoffset: 0;
  }
  .flat .stitch,
  .flat .dim,
  .flat .callout {
    opacity: 1;
  }
  .flat .stitch {
    opacity: 0.55;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 12.5px;
  }
  .inco-chain {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 960px) {
  .burger {
    display: block;
    z-index: 2;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    font-family: var(--f-display);
    font-size: 32px;
  }
  .nav-cta {
    font-family: var(--f-body) !important;
    font-size: 15px !important;
    margin-top: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }
  .hero-sketch {
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
  .studio-grid,
  .atelier-grid,
  .contact-grid,
  .prod-head {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .fact {
    border-right: 0;
    margin-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .fact:nth-child(odd) {
    border-right: 1px solid var(--line);
    margin-right: 20px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step,
  .step:not(:nth-child(3n + 1)) {
    padding: 30px 24px 34px 0;
    border-right: 0;
  }
  .step:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .step:nth-child(even) {
    padding-left: 24px;
  }
  .swatches,
  .certs {
    grid-template-columns: 1fr 1fr;
  }
  .eco-grid {
    grid-template-columns: 1fr;
  }
  .eco,
  .eco + .eco {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .map-panel {
    position: static;
    width: auto;
  }
}
@media (max-width: 620px) {
  .facts,
  .steps,
  .swatches,
  .certs,
  .row2 {
    grid-template-columns: 1fr;
  }
  .fact:nth-child(odd) {
    border-right: 0;
    margin-right: 0;
  }
  .step,
  .step:nth-child(even),
  .step:nth-child(odd) {
    padding: 28px 0;
    border-right: 0;
  }
  .atelier-photos {
    grid-template-columns: 1fr 1fr;
  }
  .atelier-photos .photo:last-child {
    display: none;
  }
  .inco-chain {
    grid-template-columns: 1fr 1fr;
  }
  .inco-chain li {
    min-height: 110px;
  }
  .map .pin text {
    font-size: 16px;
  }
  .hero-sketch {
    transform: none;
  }
  .hero-sketch.reveal.in {
    transform: none;
  }
}
.fact-n small {
  font-size: 0.45em;
  margin: 0 0.08em;
  vertical-align: 0.35em;
  color: var(--red);
}
.fact-n-sm {
  font-size: clamp(38px, 4vw, 62px);
  white-space: nowrap;
  padding-top: clamp(6px, 1vw, 16px);
}

/* ---------- Shop pro (menu) ---------- */
.nav a.nav-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--paper);
  border: 1px solid var(--red);
  padding: 9px 18px;
  border-radius: 99px;
  font-weight: 500;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.nav a.nav-shop:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.nav-shop-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
.nav a.nav-shop::after {
  display: none;
}
.nav-cta {
  margin-left: 4px;
}
@media (max-width: 960px) {
  .nav a.nav-shop {
    font-family: var(--f-body);
    font-size: 15px;
    padding: 12px 22px;
  }
}
.shop-mobile {
  display: none;
}
@media (max-width: 960px) {
  .shop-mobile {
    display: inline-flex;
    margin-left: auto;
    margin-right: 10px;
    z-index: 2;
    background: var(--red);
    color: var(--paper);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 99px;
  }
}

/* =========================================================
   V2 — style moderne : vidéo plein écran, grotesque, arrondis
   ========================================================= */
:root {
  --radius: 18px;
  --radius-sm: 12px;
}

/* Titres : grotesque serré, l'accent passe en graisse légère rouge */
.display,
.hero-title,
.step h3,
.swatch-info h3,
.team h4,
.cert h3,
.eco h3,
.map-panel h3,
.fact-n {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.display {
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.98;
}
.display em,
.hero-title em {
  font-style: normal;
  font-weight: 400;
}
.step h3,
.swatch-info h3,
.cert h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
}
.team h4 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.eco h3 {
  font-size: 34px;
}
.fact-n {
  font-weight: 600;
}
.ref-list li {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.ref-list li:hover {
  font-style: normal;
}
a.eco:hover h3 {
  font-style: normal;
}
.logo-sub {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Header sur la vidéo */
.site-header.on-hero {
  color: #fff;
}
.site-header.on-hero .logo-sub {
  color: rgba(255, 255, 255, 0.7);
}
.site-header.on-hero .burger span {
  background: #fff;
}
@media (min-width: 961px) {
  .site-header.on-hero .nav-cta {
    border-color: rgba(255, 255, 255, 0.6);
  }
  .site-header.on-hero .nav-cta:hover {
    background: #fff;
    color: var(--ink);
  }
}
.site-header.scrolled {
  background: rgba(244, 244, 242, 0.78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}

/* Hero vidéo */
.hero {
  max-width: none;
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--gutter) 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
.hero .hero-slides {
  bottom: auto;
  height: 112%;
  will-change: transform;
}
.hero .hero-slides img {
  object-position: center top;
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      60% 80% at 80% 20%,
      rgba(226, 35, 26, 0.35),
      transparent 60%
    ),
    radial-gradient(
      50% 60% at 10% 90%,
      rgba(80, 90, 120, 0.45),
      transparent 60%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.035) 0 2px,
      transparent 2px 7px
    ),
    #0d0d0c;
  background-size:
    140% 140%,
    140% 140%,
    auto,
    auto;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    background-position:
      30% 40%,
      70% 20%,
      0 0,
      0 0;
  }
}
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(0, 0, 0, 0.25) 60%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 65%);
}
.hero-text {
  max-width: 1100px;
  padding-bottom: clamp(40px, 6vh, 80px);
}
.hero .kicker {
  color: #fff;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero .kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 35, 26, 0.25);
}
.hero-title {
  font-size: clamp(52px, 9.4vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin-bottom: 30px;
}
.hero-title em {
  color: #fff;
  opacity: 0.92;
}
.hero-title .line:nth-child(2) em {
  background: linear-gradient(90deg, #ff4b3e, #ff8a6a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
}
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: #fff;
  color: var(--ink);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0 24px;
}
.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}
.hero-stats b {
  color: #fff;
  font-weight: 500;
  margin-right: 6px;
}
.video-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 99px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 10px;
  flex-shrink: 0;
}
.video-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Cartes arrondies */
.swatch,
.cert,
.brief,
.map-wrap,
.inco,
.map-panel,
.hero-sketch,
.photo .ph,
.photo img {
  border-radius: var(--radius);
}
.swatch,
.cert,
.brief,
.map-wrap {
  border-color: var(--line);
  background: #fff;
}
.map-wrap {
  overflow: hidden;
}
.map-panel {
  border-radius: var(--radius-sm);
}
.inco-chain li {
  border-radius: var(--radius-sm);
}
.cert {
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.cert:hover,
.swatch:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.35);
}
.swatch {
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.swatch-cta {
  background: var(--ink);
}
.brief {
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.35);
}
.chips span,
.tags li {
  border-radius: 99px;
}

/* Croquis déplacé dans l'atelier */
.atelier-photos .hero-sketch {
  transform: none;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.atelier-photos .hero-sketch.reveal {
  transform: translateY(28px);
}
.atelier-photos .hero-sketch.reveal.in {
  transform: none;
}
.atelier-photos .hero-sketch .flat {
  flex: 1;
  max-height: 520px;
}

/* Marquee plus fin */
.marquee {
  background: var(--red);
  border: 0;
}
.marquee-track i {
  color: var(--ink);
}

@media (max-width: 960px) {
  .site-header.on-hero .nav a {
    color: inherit;
  }
  .nav.open a {
    color: var(--ink);
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 620px) {
  .hero {
    padding-top: 110px;
  }
  .hero-stats {
    gap: 8px 20px;
  }
  .atelier-photos {
    grid-template-columns: 1fr;
  }
  .atelier-photos .photo:last-child {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero .hero-slides {
    height: 100%;
    transform: none !important;
  }
}
.hero-sketch:not(.in) .flat *,
.hero-sketch:not(.in) .flat g {
  animation-play-state: paused;
}
.hero {
  padding-top: 110px;
}
.hero-title {
  font-size: clamp(48px, min(9.4vw, 13vh), 156px);
}
.hero-text {
  padding-bottom: clamp(28px, 4vh, 56px);
}
.hero .kicker {
  margin-bottom: 20px;
}
.hero-lead {
  margin-bottom: 28px;
}
.hero-sketch {
  color: var(--ink);
}
.dark .hero-sketch figcaption {
  color: var(--mute);
}

/* ---------- Hero : 6 expertises ---------- */
.hero-bottom {
  align-items: stretch;
  padding: 0 0 24px;
  border-top: 0;
}
.hero-exp {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.hero-exp a {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  padding: 14px 16px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s,
    transform 0.35s var(--ease);
}
.hero-exp .mono {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}
.hero-exp strong {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  padding-right: 18px;
}
.hero-exp i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-style: normal;
  transition: transform 0.35s var(--ease);
}
.hero-exp a:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}
.hero-exp a:hover .mono {
  color: #fff;
}
.hero-exp a:hover i {
  transform: translateX(4px);
}
.video-toggle {
  align-self: flex-end;
}

/* carte d'expertise ciblée par un lien */
.step {
  scroll-margin-top: 100px;
}
.step:target {
  background: #fff;
  border-radius: var(--radius-sm);
}
.step:target::before {
  width: 100%;
}
.step:target .step-n {
  font-weight: 500;
}

@media (max-width: 1100px) {
  .hero-exp {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .hero-exp {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .hero-exp a {
    gap: 10px;
    padding: 12px;
  }
  .hero-exp strong {
    font-size: 14px;
  }
}
.hero {
  align-items: stretch;
}

/* ---------- Cuir & accessoires ---------- */
.tex-leather {
  background-color: #6b3a22;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(0, 0, 0, 0.25) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      ellipse at 30% 20%,
      rgba(255, 200, 150, 0.25),
      transparent 60%
    ),
    radial-gradient(ellipse at 80% 90%, rgba(0, 0, 0, 0.35), transparent 60%);
  background-size:
    7px 7px,
    9px 9px,
    auto,
    auto;
}
.tex-belt {
  background:
    linear-gradient(transparent 38%, #1a1a19 38% 62%, transparent 62%), #d8d4cb;
  position: relative;
}
.tex-belt::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 44%;
  transform: translate(-50%, -50%);
  border: 5px solid #b9a27a;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.tex-belt::after {
  background: repeating-linear-gradient(
      90deg,
      transparent 0 22px,
      rgba(255, 255, 255, 0.25) 22px 23px
    )
    0 50% / 100% 1px no-repeat !important;
}
.swatch-cta {
  grid-column: span 2;
}

/* Carte : panneau à côté de la carte sur desktop */
.map-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  align-items: stretch;
}
.map-wrap .map {
  align-self: center;
}
.map-panel {
  position: static;
  width: auto;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 960px) {
  .map-wrap {
    grid-template-columns: 1fr;
  }
  .swatch-cta {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  .swatch-cta {
    grid-column: auto;
  }
}

/* ---------- Inclusivité ---------- */
.size-scale {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
}
.size-scale li {
  position: relative;
  text-align: center;
  padding: 18px 0 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.size-scale li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 200ms);
  z-index: -1;
  opacity: 0.9;
}
.size-scale.in li::before {
  transform: scaleY(calc(0.25 + var(--i) * 0.075));
}
.size-scale li {
  isolation: isolate;
}
.size-scale.in li {
  color: var(--ink);
}
.incl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.incl {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
}
.incl .mono {
  color: var(--red);
}
.incl h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 22px;
  line-height: 1.15;
  margin: 26px 0 10px;
}
.incl p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
@media (max-width: 1100px) {
  .incl-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .incl-grid {
    grid-template-columns: 1fr;
  }
  .size-scale {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---------- Écoresponsabilité ---------- */
.eco-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.pillar {
  background: #1f2a22;
  color: #eef1ea;
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(238, 241, 234, 0.15);
  box-shadow:
    0 0 0 18px rgba(238, 241, 234, 0.03),
    0 0 0 36px rgba(238, 241, 234, 0.02);
}
.pillar .mono {
  color: #9fd18b;
}
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 22px;
  line-height: 1.15;
  margin: 26px 0 10px;
}
.pillar p {
  margin: 0;
  color: rgba(238, 241, 234, 0.75);
  font-size: 15px;
}
.certs-title {
  color: var(--mute);
  font-weight: 400;
  margin: 0 0 20px;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
@media (max-width: 1100px) {
  .eco-pillars {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .eco-pillars {
    grid-template-columns: 1fr;
  }
}

/* ---------- Logo sur une ligne : UNICODE STUDIO | Expertise textile ---------- */
.logo {
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.logo .logo-sub {
  margin-top: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
}
.logo-tag {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid currentColor;
  line-height: 1;
  opacity: 0.85;
}
.logo-tag::first-letter {
  color: var(--red);
}
@media (max-width: 1180px) {
  .nav {
    gap: 16px;
  }
  .nav a {
    font-size: 12.5px;
  }
}
@media (max-width: 1060px) and (min-width: 961px) {
  .logo-tag {
    display: none;
  }
}
@media (max-width: 480px) {
  .logo .logo-sub {
    display: none;
  }
  .logo-tag {
    font-size: 12px;
    padding-left: 8px;
  }
}
@media (max-width: 360px) {
  .logo-tag {
    display: none;
  }
}
.logo-tag::first-letter {
  color: inherit;
}
.shop-mobile {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .logo-tag {
    display: none;
  }
  .logo .logo-sub {
    display: inline;
  }
}

/* Vidéo YouTube en fond, recadrée en "cover" */
.hero-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 0;
  pointer-events: none;
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  transform: translate(-50%, -50%) scale(1.15); /* masque le titre et le logo YouTube */
}

/* ---------- Mur de logos ---------- */
.logo-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.logo-wall-lg {
  grid-template-columns: repeat(3, 1fr);
}
.logo-wall li {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}
.logo-wall-lg li {
  aspect-ratio: 21 / 9;
}
.logo-wall li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.4);
  border-color: transparent;
}
.logo-wall span {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.05;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--ink);
}
.logo-wall-lg span {
  font-size: clamp(26px, 3.4vw, 48px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.logo-wall img {
  max-width: 100px;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.75;
  transition:
    filter 0.35s,
    opacity 0.35s;
}
.logo-wall [data-logo$="armand-thiery"] img {
  max-width: 200px;
}
.logo-wall [data-logo$="tommy-hilfiger"] img {
  max-width: 160px;
}
.logo-wall li:hover img {
  filter: none;
  opacity: 1;
}
.ref-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ref-title-row .ref-title {
  margin-bottom: 0;
}
.logo-slider-controls {
  display: flex;
  gap: 8px;
  transition: opacity 0.25s;
}
.logo-slider-controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, opacity 0.25s;
}
.logo-slider-controls button:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}
.logo-slider-controls button:disabled {
  cursor: default;
  opacity: 0.25;
}
.ref-title-row:has(+ .logo-slider:not(.is-scrollable)) .logo-slider-controls {
  visibility: hidden;
  opacity: 0;
}
.logo-slider {
  margin-top: 28px;
}
.logo-slider-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.logo-slider-viewport::-webkit-scrollbar {
  display: none;
}
.logo-slider .logo-wall-lg {
  display: flex;
  gap: 10px;
}
.logo-slider .logo-wall-lg li {
  flex: 0 0 calc((100% - 20px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 960px) {
  .logo-wall {
    grid-template-columns: repeat(4, 1fr);
  }
  .logo-slider .logo-wall-lg li {
    flex-basis: calc((100% - 10px) / 2);
  }
}
@media (max-width: 620px) {
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-wall-lg {
    grid-template-columns: 1fr;
  }
  .ref-title-row {
    align-items: flex-end;
  }
  .logo-slider-controls button {
    width: 38px;
    height: 38px;
  }
  .logo-slider .logo-wall-lg li {
    flex-basis: 100%;
  }
}
.display-md {
  font-size: clamp(34px, 4.2vw, 62px);
}

/* ---------- Hub : Studio au centre des acteurs ---------- */
.hub {
  margin-top: clamp(70px, 9vw, 130px);
}
.hub-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}
.hub-title {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: clamp(30px, 3.6vw, 52px);
  margin: 0;
}
.hub-title em {
  font-style: normal;
  font-weight: 400;
  color: var(--red);
}
.hub-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 440px;
}
.hub-core {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hub-core .mono {
  color: #ff5a47;
  font-size: 10.5px;
}
.hub-core strong {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 2.4vw, 32px);
}
.hub-nodes {
  list-style: none;
  margin: 0;
  padding: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
/* traits de liaison */
.hub-nodes::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--red);
}
.hub-nodes li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 20px 22px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.hub-nodes li::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--red);
}
.hub-nodes li::after {
  content: "";
  position: absolute;
  top: -22px;
  left: calc(50% - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.hub-nodes li:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -28px rgba(0, 0, 0, 0.4);
}
.hub-nodes .mono {
  color: var(--red);
  font-size: 10.5px;
}
.hub-nodes h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 19px;
  line-height: 1.15;
  margin: 14px 0 8px;
}
.hub-nodes p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
.hub-core::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -19px;
  width: 1px;
  height: 19px;
  background: var(--red);
}
@media (max-width: 1100px) {
  .hub-nodes {
    grid-template-columns: repeat(3, 1fr);
  }
  .hub-nodes::before,
  .hub-nodes li::before,
  .hub-nodes li::after {
    display: none;
  }
  .hub-nodes {
    padding-top: 12px;
  }
  .hub-core::after {
    display: none;
  }
}
@media (max-width: 960px) {
  .hub-head {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .hub-nodes {
    grid-template-columns: 1fr;
  }
  .hub-core {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
.hub-nodes {
  grid-template-columns: repeat(6, 1fr);
}
.hub-nodes::before {
  left: 8.33%;
  right: 8.33%;
}
@media (max-width: 1100px) {
  .hub-nodes {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .hub-nodes {
    grid-template-columns: 1fr;
  }
}

/* Titre du hero : chaque ligne tient sur une ligne en grand écran */
.hero-text {
  max-width: none;
}
.hero-lead {
  max-width: 600px;
}
@media (min-width: 1100px) {
  .hero-title .line {
    white-space: nowrap;
  }
}

/* =========================================================
   Modes de collaboration
   ========================================================= */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mode {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.mode:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.35);
}
.mode-k {
  color: var(--red);
}
.mode h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  margin: 34px 0 12px;
}
.mode p {
  color: var(--ink-2);
  margin: 0 0 24px;
  font-size: 15.5px;
  flex: 1;
}
.mode ul {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  font-size: 10.5px;
}
.mode li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.mode .link-arrow {
  margin-top: 20px;
  align-self: flex-start;
}
.mode-hl {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.mode-hl p {
  color: rgba(244, 244, 242, 0.72);
}
.mode-hl .mode-k {
  color: #ff5a47;
}
.mode-hl li {
  border-top-color: rgba(244, 244, 242, 0.14);
}
@media (max-width: 960px) {
  .modes-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Typologies : défilement horizontal épinglé
   ========================================================= */
.typos {
  position: relative;
}
.typo-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 3vh, 36px);
  padding: 90px 0 36px;
}
.typo-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.typo-head .section-label {
  margin-bottom: 22px;
}
.typo-head .display {
  margin: 0;
}
.typo-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.typo-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.typo-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}
.typo-btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.typo-count {
  color: var(--mute);
  min-width: 64px;
  text-align: center;
}
.typo-viewport {
  overflow: hidden;
  padding-left: max(
    var(--gutter),
    calc((100vw - var(--max)) / 2 + var(--gutter))
  );
}
.typo-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-right: var(--gutter);
  will-change: transform;
}
.typo-card {
  width: clamp(280px, 24vw, 360px);
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.typo-card:hover {
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}
.typo-card .sheet-head {
  font-size: 9.5px;
}
.typo-card .flat {
  height: min(40vh, 360px);
  width: 100%;
  margin: 6px 0 4px;
}
.typo-foot {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.typo-foot .mono {
  color: var(--red);
  font-size: 10px;
}
.typo-foot h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 22px;
  margin: 4px 0 8px;
}
.typo-pts {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pt;
  font-size: 13px;
  color: var(--ink-2);
}
.typo-pts li {
  counter-increment: pt;
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
}
.typo-pts li::before {
  content: counter(pt);
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font: 500 10px/17px var(--f-mono);
  text-align: center;
  transform: translateY(-1px);
}
.flat .pts {
  opacity: 0;
  animation: fadein 0.8s ease forwards 2.3s;
}
.flat .pts circle {
  fill: var(--red);
}
.flat .pts text {
  fill: #fff;
  font: 500 13px var(--f-mono);
}
.typo-card:not(.in) .flat *,
.typo-card:not(.in) .flat g {
  animation-play-state: paused;
}
.typo-progress {
  height: 2px;
  background: var(--line);
  margin: 0 auto;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  border-radius: 2px;
  overflow: hidden;
}
.typo-progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
}

/* mobile / mouvement réduit : glisser au doigt */
.typos.no-pin .typo-sticky {
  position: static;
  height: auto;
  padding: clamp(70px, 10vw, 120px) 0 60px;
}
.typos.no-pin .typo-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.typos.no-pin .typo-viewport::-webkit-scrollbar {
  display: none;
}
.typos.no-pin .typo-card {
  scroll-snap-align: start;
  scroll-margin-left: var(--gutter);
}
.typos.no-pin .typo-card .flat {
  height: 300px;
}
@media (max-width: 960px) {
  .typo-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 620px) {
  .typo-card {
    width: 82vw;
  }
}

/* =========================================================
   L'histoire d'un produit
   ========================================================= */
.story-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1.2fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.story-aside {
  position: sticky;
  top: 100px;
}
.story-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 24px 26px 22px;
  margin-top: 10px;
}
.story-card > .mono {
  color: #ff5a47;
  font-size: 10.5px;
}
.story-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 28px;
  margin: 6px 0 16px;
}
.story-card dl {
  margin: 0 0 20px;
  font-size: 10.5px;
}
.story-card dl div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(244, 244, 242, 0.14);
}
.story-card dt {
  color: rgba(244, 244, 242, 0.55);
}
.story-card dd {
  margin: 0;
}
.story-meter {
  height: 4px;
  background: rgba(244, 244, 242, 0.14);
  border-radius: 4px;
  overflow: hidden;
}
.story-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.5s var(--ease);
}
.story-now {
  margin: 12px 0 0;
  font-size: 10.5px;
  color: rgba(244, 244, 242, 0.8);
}
.story-note {
  color: var(--mute);
  font-size: 10px;
  margin-top: 14px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.story-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  counter-reset: st;
}
.story-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.story-steps li {
  position: relative;
  padding: 0 0 clamp(36px, 6vh, 64px) 64px;
  counter-increment: st;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.story-steps li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font: 500 11px var(--f-mono);
  color: var(--mute);
  transition: all 0.4s var(--ease);
}
.story-steps li.done {
  opacity: 0.75;
}
.story-steps li.done::before {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.story-steps li.active {
  opacity: 1;
}
.story-steps li.active::before {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(226, 35, 26, 0.15);
}
.st-w {
  color: var(--red);
  font-size: 10.5px;
}
.story-steps h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.05;
  margin: 6px 0 10px;
}
.story-steps p {
  margin: 0;
  color: var(--ink-2);
  max-width: 540px;
  font-size: 16px;
}
@media (max-width: 960px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-aside {
    position: static;
  }
  .story-steps li {
    opacity: 1;
  }
}
.typo-card .flat {
  height: clamp(180px, calc(100svh - 600px), 380px);
}
.typo-sticky {
  padding-top: 84px;
}
@media (max-width: 1500px) and (min-width: 961px) {
  .logo-tag {
    display: none;
  }
}

/* =========================================================
   V3 — site multi-pages bilingue
   ========================================================= */

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: 130px var(--gutter) clamp(44px, 7vh, 80px);
}
.page-hero .hero-media,
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
}
.page-hero .hero-media {
  z-index: -2;
}
.page-hero .hero-overlay {
  z-index: -1;
}
.page-hero-in {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.page-title {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  font-size: clamp(46px, min(8vw, 12vh), 128px);
  margin: 0 0 26px;
}
.page-title em {
  font-style: normal;
  font-weight: 400;
  background: linear-gradient(90deg, #ff4b3e, #ff8a6a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .hero-lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0;
}
.page-hero .kicker {
  color: #fff;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.page-hero .kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 35, 26, 0.25);
}

/* ---------- Sélecteur de langue ---------- */
.nav a.nav-lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.nav a.nav-lang::after {
  display: none;
}
.nav-lang span {
  padding: 5px 8px;
  border-radius: 99px;
  opacity: 0.55;
  transition:
    opacity 0.2s,
    background 0.2s;
}
.nav-lang span.on {
  background: currentColor;
  opacity: 1;
}
.nav-lang span.on {
  color: var(--paper);
  background: var(--ink);
}
.site-header.on-hero .nav-lang span.on {
  color: var(--ink);
  background: #fff;
}
.nav-lang:hover span {
  opacity: 1;
}
.nav .nav-cta.active {
  background: var(--ink);
  color: var(--paper);
}

/* menu : plus de liens → burger plus tôt */
@media (max-width: 1240px) {
  .burger {
    display: block;
    z-index: 2;
  }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    font-family: var(--f-display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink) !important;
  }
  .nav a.nav-cta,
  .nav a.nav-shop {
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
  }
  .nav a.nav-shop {
    color: #fff !important;
  }
  .nav a.nav-lang {
    font-size: 12px;
    color: var(--ink) !important;
  }
  .shop-mobile {
    display: inline-flex;
    margin-left: auto;
    margin-right: 10px;
    z-index: 2;
    background: var(--red);
    color: var(--paper);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 99px;
  }
  .logo-tag {
    display: inline;
  }
}
@media (min-width: 1241px) and (max-width: 1500px) {
  .logo-tag {
    display: none;
  }
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 12.5px;
  }
}
@media (max-width: 480px) {
  .logo-tag {
    display: none;
  }
}

/* ---------- Explorer le studio ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 26px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  transition-delay: 0s !important;
}
.explore-card .mono {
  color: var(--red);
}
.explore-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(28px, 2.6vw, 38px);
  margin: auto 0 8px;
  padding-top: 34px;
}
.explore-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 32ch;
  transition: color 0.3s ease;
}
.explore-card .mono {
  transition: color 0.3s ease;
}
.explore-card i {
  position: absolute;
  top: 22px;
  right: 24px;
  font-style: normal;
  font-size: 20px;
}
.explore-card:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}
.explore-card:hover p,
.explore-card:hover .mono {
  color: #fff;
}
@media (max-width: 960px) {
  .explore-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .explore-card {
    min-height: 160px;
  }
}

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(70px, 10vw, 130px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background: radial-gradient(
    50% 90% at 90% 10%,
    rgba(226, 35, 26, 0.35),
    transparent 60%
  );
}
.cta-in {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band .display {
  margin: 0;
}
.cta-band .display em {
  color: #ff5a47;
}
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Pied de page : plan du site ---------- */
.foot-nav {
  max-width: var(--max);
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.foot-nav a {
  color: rgba(244, 244, 242, 0.8);
  text-decoration: none;
  font-size: 14px;
}
.foot-nav a:hover {
  color: #fff;
}
.foot-row a {
  color: rgba(244, 244, 242, 0.8);
}

/* ---------- Sections ---------- */
.hub-section {
  padding-top: 0;
}
.hub-section .hub {
  margin-top: 0;
}
.expertises + .hub-section {
  padding-top: 0;
}
.step .link-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
}

/* ---------- Matières : fibres nobles & nouvelles textures ---------- */
.swatches-noble {
  grid-template-columns: repeat(5, 1fr);
}
.swatches-noble .swatch-tex {
  aspect-ratio: 4 / 5;
}
.swatches-noble .swatch-tex::after {
  display: none;
}
.swatches-noble .swatch-tex img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.swatch-cta-1 {
  grid-column: auto !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.88)),
    url("img/matiere/votre-matiere.webp") center / cover no-repeat;
}
@media (max-width: 1100px) {
  .swatches-noble {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .swatches-noble {
    grid-template-columns: 1fr 1fr;
  }
}

.tex-wool {
  background-color: #6d6a63;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.09) 0 2px,
      transparent 2px 4px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.14) 0 2px,
      transparent 2px 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 38px,
      rgba(255, 255, 255, 0.18) 38px 39px
    ),
    radial-gradient(
      ellipse at 30% 20%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    );
}
.tex-silk {
  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.55) 38%,
      rgba(255, 255, 255, 0) 52%,
      rgba(255, 255, 255, 0.25) 70%,
      rgba(255, 255, 255, 0) 85%
    ),
    linear-gradient(160deg, #b98a74, #7c4a3a 60%, #a86f5a);
}
.tex-cotton {
  background-color: #eeebe3;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.05) 0 1px,
      transparent 1px 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.035) 0 1px,
      transparent 1px 3px
    ),
    radial-gradient(
      ellipse at 70% 30%,
      rgba(255, 255, 255, 0.8),
      transparent 60%
    );
}
.tex-linen {
  background-color: #cbbfa6;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.07) 0 1px,
      transparent 1px 4px,
      rgba(255, 255, 255, 0.12) 4px 5px,
      transparent 5px 7px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 0 2px,
      transparent 2px 5px,
      rgba(255, 255, 255, 0.1) 5px 6px,
      transparent 6px 9px
    );
}
.tex-print {
  background-color: #f1e8da;
  background-image:
    radial-gradient(circle at 20% 25%, #e2231a 0 9%, transparent 10%),
    radial-gradient(circle at 70% 60%, #1b2a4a 0 11%, transparent 12%),
    radial-gradient(circle at 45% 85%, #d9a441 0 7%, transparent 8%),
    radial-gradient(circle at 85% 15%, #2f6b4f 0 6%, transparent 7%),
    radial-gradient(ellipse 30% 12% at 40% 45%, #e98b6d 0 60%, transparent 62%);
  background-size: 140px 140px;
}
.tex-flou {
  background:
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 0 18px,
      rgba(255, 255, 255, 0.28) 26px,
      rgba(255, 255, 255, 0) 40px
    ),
    linear-gradient(180deg, #2a2340, #463a66);
}
.tex-tailoring {
  background-color: #23252b;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 22px,
      rgba(255, 255, 255, 0.28) 22px 23px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 3px
    );
}

/* ---------- Tissus imprimés : bloc mis en avant ---------- */
.prints {
  padding-top: 0;
}
.print-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.print-visual {
  min-height: 420px;
}
.print-visual.tex-print {
  background: url("img/matiere/zebra.webp") center / cover no-repeat;
}
.print-info {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.print-info .section-label {
  margin-bottom: 24px;
}
.print-info .display {
  margin-bottom: 18px;
}
.print-info p {
  color: var(--ink-2);
  font-size: 16.5px;
  margin: 0 0 22px;
}
@media (max-width: 960px) {
  .print-feature {
    grid-template-columns: 1fr;
  }
  .print-visual {
    min-height: 240px;
  }
}

/* ---------- Carte « + Votre produit » ---------- */
.typo-cta {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  text-decoration: none;
  justify-content: flex-end;
  gap: 8px;
  padding: 26px;
  position: relative;
}
.typo-cta .typo-plus {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px dashed rgba(244, 244, 242, 0.5);
  display: grid;
  place-items: center;
  font: 300 36px/1 var(--f-display);
  color: #ff5a47;
  transition: transform 0.5s var(--ease);
}
.typo-cta:hover .typo-plus {
  transform: rotate(90deg);
}
.typo-cta .mono {
  color: #ff5a47;
  font-size: 10.5px;
}
.typo-cta h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 34px;
  margin: 0;
}
.typo-cta p {
  color: rgba(244, 244, 242, 0.72);
  font-size: 14.5px;
  margin: 0 0 12px;
}
.typo-cta .link-arrow {
  align-self: flex-start;
}
.typo-head {
  grid-template-columns: 1.5fr 1fr;
}
.typo-head .display {
  font-size: clamp(30px, 3.3vw, 50px);
}
/* menu mobile ouvert : pas de backdrop-filter (sinon le menu fixe est confiné à l'en-tête) */
.site-header.menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--paper) !important;
  color: var(--ink);
}
.site-header.menu-open .burger span {
  background: var(--ink);
}

/* ---------- Témoignages ---------- */
.testimonials {
  padding-top: 0;
}
.testi {
  position: relative;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 72px) clamp(28px, 6vw, 96px) clamp(32px, 4vw, 56px);
  overflow: hidden;
}
.testi + .testi {
  margin-top: 16px;
}
.testi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    50% 80% at 100% 0%,
    rgba(226, 35, 26, 0.3),
    transparent 60%
  );
  pointer-events: none;
}
.testi-mark {
  position: absolute;
  top: -10px;
  left: clamp(16px, 3vw, 40px);
  font: 700 clamp(120px, 14vw, 200px)/1 var(--f-display);
  color: var(--red);
  opacity: 0.9;
}
.testi blockquote {
  position: relative;
  margin: 0 0 36px;
}
.testi blockquote p {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-size: clamp(22px, 2.6vw, 38px);
  max-width: 30ch;
}
.testi figcaption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(244, 244, 242, 0.16);
  padding-top: 22px;
}
.testi-logo {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.testi-logo span {
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 20px;
}
.testi-logo img {
  max-height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}
.testi figcaption .mono {
  color: rgba(244, 244, 242, 0.6);
}
.testi.is-draft {
  outline: 2px dashed #ff5a47;
  outline-offset: 4px;
}
.draft-flag {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  background: #ff5a47;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
}
/* accueil : références juste après le studio */
.page-home .references {
  padding-top: 0;
}
.draft-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  z-index: 2;
}
.testi blockquote {
  padding-top: clamp(40px, 5vw, 64px);
}

/* ---------- Univers & styles ---------- */
.genres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: clamp(56px, 7vw, 90px);
}
.genre {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  color: #fff;
  isolation: isolate;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.genre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 1.2s var(--ease), filter 0.5s ease;
}
.genre:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.5);
}
.genre:hover::before {
  transform: scale(1.06);
}
.genre-femme::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.9)),
    url("img/atelier/femme.webp") center 30% / cover no-repeat;
}
.genre-homme::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.9)),
    url("img/atelier/homme.webp") center 30% / cover no-repeat;
}
.genre-enfant::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.9)),
    url("img/atelier/enfants.webp") center 30% / cover no-repeat;
}
.genre-n {
  opacity: 0.7;
  font-size: 10.5px;
}
.genre h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-size: clamp(52px, 6vw, 92px);
  margin: auto 0 14px;
  padding-top: 40px;
}
.genre p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  max-width: 36ch;
}
.genre ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
}
.genre li {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  padding: 5px 10px;
}

.styles-title {
  color: var(--mute);
  font-weight: 400;
  margin: 0 0 20px;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.styles-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.style-tile {
  position: relative;
  padding: 26px 26px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  cursor: default;
  background: transparent;
  transition: color 0.35s var(--ease);
}
.style-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.style-tile {
  isolation: isolate;
}
.style-tile strong {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1;
}
.style-tile span {
  color: var(--ink-2);
  font-size: 14.5px;
  transition: color 0.35s;
}
.style-tile:hover {
  color: var(--paper);
}
.style-tile:hover::before {
  transform: none;
}
.style-tile:hover span {
  color: rgba(244, 244, 242, 0.72);
}
.style-tile:hover strong {
  color: #ff5a47;
}
@media (max-width: 960px) {
  .genres {
    grid-template-columns: 1fr;
  }
  .genre {
    min-height: 280px;
  }
  .styles-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .styles-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Denim — un métier à part
   ========================================================= */
.denim {
  max-width: none;
  color: #eef2fa;
  position: relative;
  isolation: isolate;
  padding-left: max(
    var(--gutter),
    calc((100vw - var(--max)) / 2 + var(--gutter))
  );
  padding-right: max(
    var(--gutter),
    calc((100vw - var(--max)) / 2 + var(--gutter))
  );
  background-color: #0b0b0b;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0, rgba(0, 0, 0, 0.72) 620px, #0b0b0b 1050px),
    url("img/banner/denim.webp");
  background-position: center top;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.denim .section-label {
  color: rgba(238, 242, 250, 0.6);
}
.denim .display em {
  color: #ff6b5a;
}
.denim .section-intro {
  color: rgba(238, 242, 250, 0.78);
}

.denim-steps {
  list-style: none;
  margin: 0 0 clamp(56px, 7vw, 90px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.denim-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.denim-step::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #d9a441 0 6px,
    transparent 6px 10px
  );
  opacity: 0.8;
}
.denim-step > .mono {
  color: #d9a441;
  font-size: 10.5px;
}
.denim-step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: 24px;
  margin: 26px 0 10px;
}
.denim-step p {
  margin: 0 0 18px;
  color: rgba(238, 242, 250, 0.75);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.denim-step ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 9.5px;
}
.denim-step li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  padding: 4px 8px;
}

.washes-title {
  color: rgba(238, 242, 250, 0.6);
  font-weight: 400;
  margin: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 22px;
}
.washes {
  margin-bottom: clamp(56px, 7vw, 90px);
}
.wash-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}
.wash-row li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wash-row .mono {
  font-size: 10px;
  color: rgba(238, 242, 250, 0.8);
}
.wash {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.12) 0 2px,
      transparent 2px 5px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.14) 0 1px,
      transparent 1px 4px
    ),
    radial-gradient(
      ellipse 60% 45% at 50% 40%,
      rgba(255, 255, 255, var(--fade, 0.15)),
      transparent 70%
    );
  transition: transform 0.4s var(--ease);
}
.wash-row li:hover .wash {
  transform: translateY(-4px) rotate(-1deg);
}
.w-raw {
  background-color: #15203a;
  --fade: 0.02;
}
.w-rinse {
  background-color: #1e2d52;
  --fade: 0.06;
}
.w-dark {
  background-color: #2a3f6e;
  --fade: 0.14;
}
.w-mid {
  background-color: #4a67a0;
  --fade: 0.25;
}
.w-light {
  background-color: #7f9cc9;
  --fade: 0.32;
}
.w-bleach {
  background-color: #b9cbe4;
  --fade: 0.45;
}
.w-black {
  background-color: #1a1a1c;
  --fade: 0.06;
}
.w-grey {
  background-color: #6c6f76;
  --fade: 0.25;
}
.w-ecru {
  background-color: #e6dcc6;
  --fade: 0.3;
}

.dp-grid {
  list-style: none;
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s;
}
.dp-tex {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  transition:
    opacity 0.4s,
    transform 1s var(--ease);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.12) 0 2px,
      transparent 2px 6px
    ),
    linear-gradient(
      160deg,
      hsl(calc(215 + var(--i) * 2) 45% calc(22% + var(--i) * 5%)),
      #101a30
    );
}
.dp:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 164, 65, 0.7);
}
.dp:hover .dp-tex {
  opacity: 0.9;
  transform: scale(1.05);
}
.dp strong {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1;
}
.dp span:last-child {
  color: rgba(238, 242, 250, 0.78);
  font-size: 14px;
}

.denim-eco {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 22px;
}
.denim-eco .mono {
  color: #9fd18b;
}
.denim-eco p {
  margin: 0;
  color: rgba(238, 242, 250, 0.85);
  font-size: 17px;
  max-width: 760px;
}

@media (max-width: 1100px) {
  .denim-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .wash-row {
    grid-template-columns: repeat(5, 1fr);
  }
  .dp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .denim-steps {
    grid-template-columns: 1fr;
  }
  .wash-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .dp-grid {
    grid-template-columns: 1fr;
  }
  .denim-eco {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- Pied de page : le logo UNICODE se dessine ---------- */
.foot-logo {
  display: block;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 44px;
  height: auto;
  overflow: visible;
}
.foot-logo.reveal,
.foot-logo.reveal.in {
  transform: none;
  opacity: 1;
}
.foot-logo text {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 150px;
  fill: rgba(244, 244, 242, 0);
  stroke: var(--red);
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}
.foot-logo.in text {
  animation:
    footDraw 3.2s cubic-bezier(0.45, 0.05, 0.2, 1) forwards,
    footInk 1.4s ease 2.9s forwards;
}
@keyframes footDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes footInk {
  to {
    stroke: rgba(244, 244, 242, 0.55);
    fill: rgba(244, 244, 242, 0.07);
  }
}
@media (prefers-reduced-motion: reduce) {
  .foot-logo text {
    stroke-dashoffset: 0;
    stroke: rgba(244, 244, 242, 0.55);
    fill: rgba(244, 244, 242, 0.07);
  }
}

/* =========================================================
   Sélecteur de style
   ========================================================= */
.logo-serif {
  display: none;
}
.theme-switch {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(17, 17, 16, 0.88);
  color: #fff;
  padding: 4px;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  font: 500 11px/1 var(--f-body);
}
.theme-switch-label {
  padding: 0 8px 0 10px;
  opacity: 0.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 9.5px;
}
.theme-switch button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  transition:
    background 0.25s,
    color 0.25s;
}
.theme-switch button[aria-pressed="true"] {
  background: #fff;
  color: #111;
}
@media print {
  .theme-switch {
    display: none;
  }
}

/* =========================================================
   STYLE « MINIMAL » — noir & blanc, serif, esprit éditorial
   ========================================================= */
html[data-theme="minimal"] {
  --paper: #ffffff;
  --paper-2: #f3f3f3;
  --ink: #000;
  --ink-2: #3b3b3b;
  --mute: #8c8c8c;
  --line: rgba(0, 0, 0, 0.12);
  --red: #000;
  --dark: #000;
  --dark-2: #141414;
  --dark-line: rgba(255, 255, 255, 0.16);
  --f-display: "Newsreader", "Times New Roman", serif;
  --f-mono: "Instrument Sans", "Helvetica Neue", sans-serif;
  --radius: 0px;
  --radius-sm: 0px;
}
[data-theme="minimal"] body::after {
  display: none;
}
[data-theme="minimal"] .mono {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

/* Titres : serif léger, italique en accent */
[data-theme="minimal"]
  :is(
    .display,
    .hero-title,
    .page-title,
    .step h3,
    .swatch-info h3,
    .team h4,
    .cert h3,
    .eco h3,
    .map-panel h3,
    .fact-n,
    .mode h3,
    .explore-card h3,
    .hub-title,
    .hub-nodes h4,
    .hub-core strong,
    .incl h3,
    .pillar h3,
    .genre h3,
    .style-tile strong,
    .denim-step h3,
    .dp strong,
    .typo-foot h3,
    .typo-cta h3,
    .story-steps h3,
    .story-card h3,
    .testi blockquote p,
    .logo-wall span,
    .hero-exp strong,
    .print-info h2
  ) {
  font-family: var(--f-display);
  font-weight: 350;
  letter-spacing: -0.02em;
}
[data-theme="minimal"] :is(.display, .hero-title, .page-title) em,
[data-theme="minimal"] .hub-title em {
  font-style: italic;
  font-weight: 300;
  color: inherit !important;
  background: none !important;
  -webkit-text-fill-color: currentColor;
  opacity: 1;
}
[data-theme="minimal"] .hero-title {
  letter-spacing: -0.035em;
  line-height: 0.95;
}
[data-theme="minimal"] .display {
  line-height: 1.02;
}
[data-theme="minimal"] .logo-wall-lg span {
  font-family: var(--f-display);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 400;
}
[data-theme="minimal"] .fact-n small {
  color: inherit;
}

/* En-tête façon boutique de mode : blanc, fin, menu en petites capitales */
[data-theme="minimal"] .site-header,
[data-theme="minimal"] .site-header.on-hero,
[data-theme="minimal"] .site-header.scrolled {
  background: #fff;
  color: #000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
[data-theme="minimal"] .logo-word,
[data-theme="minimal"] .logo-sub,
[data-theme="minimal"] .logo-tag {
  display: none !important;
}
[data-theme="minimal"] .logo-serif {
  display: inline;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
[data-theme="minimal"] .site-header .burger span {
  background: #000;
}
@media (min-width: 1241px) {
  [data-theme="minimal"] .nav {
    flex: 1;
    justify-content: flex-end;
    gap: clamp(18px, 2.4vw, 42px);
  }
  [data-theme="minimal"] .nav a {
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  [data-theme="minimal"] .nav a:not(.nav-cta):not(.nav-shop)::after {
    height: 1px;
  }
}
[data-theme="minimal"] .nav-cta,
[data-theme="minimal"] .nav a.nav-shop {
  border-radius: 0;
  padding: 8px 14px !important;
  border: 1px solid #000;
  background: transparent;
  color: #000 !important;
}
[data-theme="minimal"] .nav a.nav-shop {
  background: #000;
  color: #fff !important;
}
[data-theme="minimal"] .nav a.nav-shop:hover {
  background: #fff;
  color: #000 !important;
  transform: none;
}
[data-theme="minimal"] .nav-shop-dot {
  display: none;
}
[data-theme="minimal"] .nav a.nav-lang {
  border: 0;
  padding: 0;
}
[data-theme="minimal"] .nav-lang span {
  border-radius: 0;
  padding: 4px 5px;
  background: none !important;
  color: #000 !important;
}
[data-theme="minimal"] .nav-lang span.on {
  text-decoration: underline;
  text-underline-offset: 4px;
}
[data-theme="minimal"] .shop-mobile {
  border-radius: 0;
  background: #000;
}

/* Boutons : rectangles fins, capitales */
[data-theme="minimal"] .btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11.5px;
  padding: 15px 24px;
}
[data-theme="minimal"] .btn:hover {
  transform: none;
}
[data-theme="minimal"] .btn-red,
[data-theme="minimal"] .btn-light {
  background: #fff;
  color: #000;
  border-color: #fff;
}
[data-theme="minimal"] .btn-red:hover,
[data-theme="minimal"] .btn-light:hover {
  background: transparent;
  color: #fff;
}
[data-theme="minimal"] .btn-glass {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: none;
}
[data-theme="minimal"] .btn-dark:hover {
  background: #fff;
  color: #000;
  border-color: #000;
}
[data-theme="minimal"] .link-arrow {
  border-bottom-width: 1px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}
[data-theme="minimal"]
  :is(.tags li, .chips span, .genre li, .denim-step li, .map-panel li) {
  border-radius: 0;
}

/* Hero : image plein écran N&B (vidéo désaturée), libellés « ↦ » */
[data-theme="minimal"] .hero-video,
[data-theme="minimal"] .hero-yt {
  filter: grayscale(1) contrast(1.05);
}
[data-theme="minimal"] .hero-fallback {
  animation: none;
  background: linear-gradient(115deg, #2b2b2b 0%, #0d0d0d 45%, #3a3a3a 100%);
}
[data-theme="minimal"] .hero-overlay {
  background: rgba(0, 0, 0, 0.55);
}
[data-theme="minimal"] .hero .kicker::before,
[data-theme="minimal"] .page-hero .kicker::before {
  display: none;
}
[data-theme="minimal"] .hero-exp {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
[data-theme="minimal"] .hero-exp a {
  background: none;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 16px 12px 16px 0;
}
[data-theme="minimal"] .hero-exp a:hover {
  background: none;
  transform: none;
}
[data-theme="minimal"] .hero-exp a::before {
  content: "↦";
  font-size: 15px;
}
[data-theme="minimal"] .hero-exp .mono,
[data-theme="minimal"] .hero-exp i {
  display: none;
}
[data-theme="minimal"] .hero-exp strong {
  font-family: var(--f-body) !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 0;
}
[data-theme="minimal"] .hero-exp a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
[data-theme="minimal"] .video-toggle {
  border-radius: 0;
}

/* Sections sombres & accents : noir pur, blanc */
[data-theme="minimal"] .dark .display em,
[data-theme="minimal"] .cta-band .display em {
  color: #fff !important;
}
[data-theme="minimal"]
  :is(
    .team li > .mono,
    .map-panel .mono,
    .swatch-cta .swatch-info .mono,
    .mode-hl .mode-k,
    .typo-cta .mono,
    .story-card > .mono,
    .hub-core .mono,
    .typo-cta .typo-plus,
    .denim-step > .mono
  ) {
  color: #fff;
}
[data-theme="minimal"] .marquee {
  background: #000;
}
[data-theme="minimal"] .marquee-track i {
  color: #fff;
  opacity: 0.5;
}
[data-theme="minimal"] .cta-band::before,
[data-theme="minimal"] .testi::before {
  display: none;
}
[data-theme="minimal"] .testi-mark {
  color: #fff;
  font-family: var(--f-display);
  font-weight: 300;
}
[data-theme="minimal"] .inco-chain li.us {
  background: rgba(255, 255, 255, 0.14);
  border-top-color: #fff;
}
[data-theme="minimal"] .inco-chain li.us span {
  color: #fff;
}
[data-theme="minimal"] .inco-tabs button {
  border-radius: 0;
}
[data-theme="minimal"] .sw-us {
  background: #fff;
}
[data-theme="minimal"] .typo-btn {
  border-radius: 0;
}
[data-theme="minimal"] .size-scale li::before {
  background: #d6d6d6;
}
[data-theme="minimal"] .story-steps li.active::before {
  box-shadow: none;
}
[data-theme="minimal"] .story-steps li::before {
  border-radius: 0;
}
[data-theme="minimal"] .typo-cta .typo-plus {
  border-radius: 0;
  border-style: solid;
}
[data-theme="minimal"] .cert::before {
  border-radius: 0;
  border-color: #000;
  background: radial-gradient(circle, #000 0 3px, transparent 4px);
}
[data-theme="minimal"] .hub-nodes li::after {
  border-radius: 0;
}
[data-theme="minimal"] .foot-logo text {
  stroke: #fff;
}
[data-theme="minimal"] .site-footer {
  background: #000;
}

/* Cartes univers, engagements, denim : camaïeu de gris */
[data-theme="minimal"] .genre-femme::before {
  filter: grayscale(1);
}
[data-theme="minimal"] .genre-homme::before {
  filter: grayscale(1);
}
[data-theme="minimal"] .genre-enfant::before {
  filter: grayscale(1);
}
[data-theme="minimal"] .genre:hover::before {
  filter: grayscale(0);
}
[data-theme="minimal"] .pillar {
  background: #000;
}
[data-theme="minimal"] .pillar .mono {
  color: #fff;
}
[data-theme="minimal"] .pillar::after {
  display: none;
}
[data-theme="minimal"] .denim {
  background-color: #0b0b0b;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0, rgba(0, 0, 0, 0.72) 620px, #0b0b0b 1050px),
    url("img/banner/denim.webp");
  background-position: center top;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
}
[data-theme="minimal"] .denim .display em {
  color: #fff;
}
[data-theme="minimal"] .denim-step {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="minimal"] .denim-step::after {
  background: #fff;
  height: 1px;
  opacity: 0.6;
}
[data-theme="minimal"] .dp-tex {
  filter: grayscale(1);
}
[data-theme="minimal"] .dp:hover {
  border-color: #fff;
}
[data-theme="minimal"] .denim-eco .mono {
  color: #fff;
}

/* Cartes et survols plus sobres */
[data-theme="minimal"]
  :is(
    .cert,
    .swatch,
    .mode,
    .explore-card,
    .incl,
    .hub-nodes li,
    .typo-card,
    .logo-wall li,
    .brief,
    .map-wrap
  ):hover {
  box-shadow: none;
}
[data-theme="minimal"] .page-hero .hero-lead,
[data-theme="minimal"] .hero-lead {
  font-weight: 400;
}
[data-theme="minimal"] .form-note {
  color: #000;
}
[data-theme="minimal"] .brief .invalid {
  border-color: #c1121f !important;
}
.theme-switch {
  left: auto;
  right: 16px;
}
[data-theme="minimal"] :is(.dark, .denim, .cta-band) .section-label::before {
  background: #fff;
}
[data-theme="minimal"] .theme-switch {
  border-radius: 0;
  background: #000;
}
[data-theme="minimal"] .theme-switch button {
  border-radius: 0;
}

/* ---------- Images de fond de la bannière ---------- */
.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.6s ease,
    transform 9s linear;
}
.hero-slides img.on {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay.has-img {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.05) 75%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0.55) 100%
    );
}
.ref-flag {
  position: absolute;
  right: 16px;
  top: 84px;
  z-index: 3;
  margin: 0;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  font-size: 9.5px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
[data-theme="minimal"] .hero-overlay.has-img {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.2) 45%,
      rgba(0, 0, 0, 0) 70%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides img {
    transition: none;
    transform: none;
  }
}

/* Témoignage — style Minimal : grands guillemets serif, noir & blanc strict */
[data-theme="minimal"] .testi {
  padding-top: clamp(40px, 5vw, 70px);
}
[data-theme="minimal"] .testi-mark {
  position: static;
  display: block;
  color: #fff;
  opacity: 1;
  font-family: var(--f-display);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(160px, 18vw, 280px);
  line-height: 0.6;
  height: 0.42em;
  margin: 0 0 8px -0.04em;
}
[data-theme="minimal"] .testi blockquote {
  padding-top: 0;
}
[data-theme="minimal"] .testi blockquote p {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300;
  max-width: 26ch;
  line-height: 1.15;
}
[data-theme="minimal"] .testi blockquote p::after {
  content: "\201D";
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.9em;
  line-height: 0;
  vertical-align: -0.42em;
  margin-left: 0.06em;
}
[data-theme="minimal"] .testi.is-draft {
  outline: 1px dashed rgba(0, 0, 0, 0.45);
}
[data-theme="minimal"] .draft-flag {
  background: #fff;
  color: #000;
  border-radius: 0;
}
[data-theme="minimal"] .site-header .nav-cta {
  border-color: #000 !important;
}

/* Minimal — sous-titres plus affirmés pour la lisibilité (sélecteur renforcé pour primer sur la règle des titres fins) */
html[data-theme="minimal"]
  body
  :is(
    .step h3,
    .swatch-info h3,
    .team h4,
    .cert h3,
    .eco h3,
    .map-panel h3,
    .mode h3,
    .explore-card h3,
    .hub-nodes h4,
    .hub-core strong,
    .incl h3,
    .pillar h3,
    .style-tile strong,
    .denim-step h3,
    .dp strong,
    .typo-foot h3,
    .typo-cta h3,
    .story-steps h3,
    .story-card h3,
    .logo-wall span,
    .hub-title,
    .print-info h2,
    .genre h3
  ) {
  font-weight: 560;
  letter-spacing: -0.015em;
}
html[data-theme="minimal"] body .hub-title em {
  font-weight: 400;
}
[data-theme="minimal"] .fact-n {
  font-weight: 400;
}
[data-theme="minimal"] .section-label {
  color: #555;
  font-weight: 600;
}
[data-theme="minimal"]
  :is(
    .section-intro,
    .studio-body p,
    .step p,
    .mode p,
    .incl p,
    .swatch-info p,
    .hub-nodes p,
    .story-steps p
  ) {
  color: #2a2a2a;
}
[data-theme="minimal"]
  :is(.ref-title, .styles-title, .certs-title, .washes-title) {
  color: #444;
  font-weight: 600;
}
[data-theme="minimal"] .dark .section-label,
[data-theme="minimal"] .denim .section-label {
  color: rgba(255, 255, 255, 0.75);
}
[data-theme="minimal"] .denim .washes-title {
  color: rgba(255, 255, 255, 0.75);
}

/* Minimal — neutralisation automatique des accents orange/rouge/doré/vert du style Atelier */
html[data-theme="minimal"] body .dark .display em {
  color: #fff !important;
}
html[data-theme="minimal"] body .team li > .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .swatch-cta .swatch-info .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .swatch-cta .swatch-info h3,
html[data-theme="minimal"] body .swatch-cta .swatch-info .link-arrow {
  color: #fff !important;
}
html[data-theme="minimal"] body .swatch-cta .swatch-info p {
  color: rgba(255, 255, 255, 0.75) !important;
}
html[data-theme="minimal"] body .map-panel .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .inco-tabs button .star {
  color: #fff !important;
}
html[data-theme="minimal"] body .inco-chain li.us {
  border-top-color: #fff !important;
}
html[data-theme="minimal"] body .inco-chain li.us span {
  color: #fff !important;
}
html[data-theme="minimal"] body .pillar .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .hub-core .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .mode-hl .mode-k {
  color: #fff !important;
}
html[data-theme="minimal"] body .mode-hl p {
  color: rgba(255, 255, 255, 0.78) !important;
}
html[data-theme="minimal"] body .story-card > .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .cta-band .display em {
  color: #fff !important;
}
html[data-theme="minimal"] body .typo-cta .typo-plus {
  color: #fff !important;
}
html[data-theme="minimal"] body .typo-cta .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .style-tile:hover strong {
  color: #fff !important;
}
html[data-theme="minimal"] body .denim .display em {
  color: #fff !important;
}
html[data-theme="minimal"] body .denim .section-intro {
  color: rgba(255, 255, 255, 0.78) !important;
}
html[data-theme="minimal"] body .denim-step > .mono {
  color: #fff !important;
}
html[data-theme="minimal"] body .denim-eco .mono {
  color: #fff !important;
}
html[data-theme="minimal"]
  body
  :is(.ref-list li:hover, a.eco:hover h3, .eco-current .link-arrow) {
  color: #000 !important;
}
html[data-theme="minimal"] body .style-tile:hover strong {
  color: #fff !important;
}
html[data-theme="minimal"] body .testi.is-draft {
  outline-color: rgba(0, 0, 0, 0.45) !important;
}

/* ---------- Bannière « Les codes universels de la mode » ---------- */
.codes-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: clamp(520px, 88vh, 900px);
  display: flex;
  align-items: flex-end;
  padding: clamp(60px, 8vw, 110px) var(--gutter);
  background: linear-gradient(115deg, #2b2b2b 0%, #0d0d0d 45%, #3a3a3a 100%);
}
.codes-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.codes-media .hero-slides img {
  object-position: 50% 35%;
}
.codes-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.05) 75%
  );
}
.codes-in {
  position: relative;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.codes-banner .kicker {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}
.codes-title {
  margin: 0 0 22px;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  font-size: clamp(48px, min(8.5vw, 13vh), 140px);
}
.codes-title em {
  font-style: normal;
  font-weight: 400;
  color: #ff5a47;
}
.codes-lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 1.3vw, 18.5px);
}
.codes-link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 4px;
}
.codes-link:hover {
  border-color: #fff;
}
.codes-banner .ref-flag {
  top: 20px;
}
.page-home .univers {
  padding-top: clamp(70px, 9vw, 120px);
}
/* Minimal */
[data-theme="minimal"] .codes-title {
  font-weight: 350;
  letter-spacing: -0.035em;
}
[data-theme="minimal"] .codes-title em {
  font-style: italic;
  font-weight: 300;
  color: #fff;
}
[data-theme="minimal"] .codes-banner .kicker::before {
  display: none;
}

/* ---------- Page L'atelier ---------- */
.explore-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }
}

.atelier-teaser {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: end;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 30px 30px 32px;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s;
}
.atelier-teaser .mono {
  color: #ff5a47;
}
.atelier-teaser h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  margin: 8px 0 4px;
}
.atelier-teaser p {
  margin: 0 0 8px;
  color: rgba(244, 244, 242, 0.72);
}
.atelier-teaser .link-arrow {
  align-self: flex-start;
}
.atelier-teaser:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(50px, 7vw, 90px);
}
.why {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.why .mono {
  color: var(--red);
}
.why h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 24px;
  margin: 18px 0 10px;
}
.why p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.ap-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  counter-reset: ap;
}
.ap-step {
  position: relative;
  padding: 30px 28px 34px 0;
  border-bottom: 1px solid var(--line);
}
.ap-step:not(:nth-child(3n)) {
  border-right: 1px solid var(--line);
}
.ap-step:not(:nth-child(3n + 1)) {
  padding-left: 28px;
}
.ap-n {
  color: var(--red);
}
.ap-who {
  float: right;
  color: var(--mute);
  font-size: 10px;
}
.ap-step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 26px;
  margin: 30px 0 10px;
}
.ap-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
.ap-end {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: baseline;
  margin-top: 40px;
}
.ap-end .mono {
  color: var(--mute);
}
.ap-end p {
  margin: 0;
  font-size: 18px;
  max-width: 700px;
}

@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px) {
  .ap-steps {
    grid-template-columns: 1fr 1fr;
  }
  .ap-step,
  .ap-step:not(:nth-child(3n + 1)) {
    padding: 26px 20px 30px 0;
    border-right: 0;
  }
  .ap-step:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .ap-step:nth-child(even) {
    padding-left: 20px;
  }
  .ap-end {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 620px) {
  .why-grid,
  .ap-steps {
    grid-template-columns: 1fr;
  }
  .ap-step:nth-child(odd),
  .ap-step:nth-child(even) {
    border-right: 0;
    padding: 24px 0;
  }
}
/* Minimal */
html[data-theme="minimal"] body :is(.why h3, .ap-step h3, .atelier-teaser h3) {
  font-family: var(--f-display);
  font-weight: 560;
  letter-spacing: -0.015em;
}
[data-theme="minimal"] .atelier-teaser .mono {
  color: #fff;
}

/* ---------- Chiffres : 5 colonnes, atelier, stockage ---------- */
.facts {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .fact:nth-child(3n) {
    border-right: 0;
  }
}
@media (max-width: 620px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

.atelier-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(50px, 7vw, 90px) 0 0;
  border-top: 1px solid var(--ink);
}
.atelier-facts div {
  padding: 24px 24px 0 0;
}
.atelier-facts div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.atelier-facts dt {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1;
  margin-bottom: 12px;
}
.atelier-facts dd {
  margin: 0;
  color: var(--ink-2);
}
.atelier-facts + .why-grid {
  margin-top: clamp(40px, 5vw, 64px);
}
@media (max-width: 620px) {
  .atelier-facts {
    grid-template-columns: 1fr;
  }
  .atelier-facts div + div {
    padding-left: 0;
    border-left: 0;
  }
}

.storage {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) 1.4fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--dark-line);
  padding-top: clamp(30px, 4vw, 48px);
}
.storage-n strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-size: clamp(56px, 7vw, 110px);
}
.storage-n .mono {
  color: rgba(244, 244, 242, 0.6);
}
.storage-txt h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 28px;
  margin: 0 0 10px;
}
.storage-txt p {
  margin: 0 0 18px;
}
.storage .tags li {
  border-color: var(--dark-line);
  color: rgba(244, 244, 242, 0.8);
}
@media (max-width: 960px) {
  .storage {
    grid-template-columns: 1fr;
  }
}
html[data-theme="minimal"] body :is(.atelier-facts dt, .storage-n strong) {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.03em;
}
html[data-theme="minimal"] body .storage-txt h3 {
  font-family: var(--f-display);
  font-weight: 560;
  letter-spacing: -0.015em;
}
.flow {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 10.5px;
  counter-reset: fl;
}
.flow li {
  display: inline-flex;
  align-items: center;
  color: rgba(244, 244, 242, 0.85);
}
.flow li + li::before {
  content: "→";
  margin: 0 12px;
  color: rgba(244, 244, 242, 0.45);
}

/* ---------- Atelier : création & direction artistique ---------- */
.idea-flow {
  list-style: none;
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.idea-flow li {
  position: relative;
  padding: 18px 16px 18px 0;
  font-size: 11.5px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.idea-flow li + li {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.idea-flow li span {
  color: var(--mute);
  font-size: 10px;
}
.idea-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--paper);
  padding: 0 2px;
  color: var(--ink);
  z-index: 1;
}
.crea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.crea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
}
.crea > .mono {
  color: var(--red);
}
.crea h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 24px;
  margin: 26px 0 10px;
}
.crea p {
  color: var(--ink-2);
  margin: 0 0 18px;
  font-size: 15px;
  flex: 1;
}
.crea-modes {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.crea-modes .mono {
  color: var(--mute);
}
.crea-modes p {
  margin: 0;
  font-size: 17px;
  max-width: 720px;
}
@media (max-width: 1100px) {
  .crea-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px) {
  .crea-modes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .idea-flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .idea-flow li:nth-child(3)::after {
    display: none;
  }
}
@media (max-width: 620px) {
  .crea-grid {
    grid-template-columns: 1fr;
  }
  .idea-flow {
    grid-template-columns: 1fr 1fr;
  }
  .idea-flow li::after {
    display: none;
  }
}
html[data-theme="minimal"] body .crea h3 {
  font-family: var(--f-display);
  font-weight: 560;
  letter-spacing: -0.015em;
}
