:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --line: #2a2a2e;
  --text: #f2f2f0;
  --muted: #a3a3a8;
  --neon: #e6ff00;
  --c-jaune: #e6ff00;
  --c-rose: #ff2e9a;
  --c-rouge: #ff3b2f;
  --c-klein: #002fa7;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wrap: min(1180px, 100% - 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; text-transform: uppercase; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--accent, var(--neon)); font-size: .95rem; margin: 0 0 .6rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
section { padding: clamp(64px, 10vw, 120px) 0; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem;
  padding: .8em 1.5em; border: 2px solid var(--neon); border-radius: 0;
  background: var(--neon); color: #000; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { border-color: var(--neon); color: var(--neon); }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }

/* En-tête */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(11 11 12 / .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav .btn { padding: .45em 1em; font-size: 1rem; color: #000; }
.nav .lang { border: 1px solid var(--line); padding: .3em .6em; line-height: 1; }
.nav .lang:hover { border-color: var(--text); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; padding: 0; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .1) 30%, rgb(11 11 12 / .95)); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--neon); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; margin: 1.2rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bandeau d'arguments */
.facts { padding: 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.facts li { padding: 28px 20px; border-right: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--text); text-transform: uppercase; margin-bottom: 4px; }

/* Cartes planches */
.boards-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 48px; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Slogan « Weight is key » posé sur les trois planches, comme sur leur site */
.wik { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: #000; padding-top: 48px; overflow: hidden; }
.wik a { display: grid; place-items: center; }
.wik img { height: clamp(240px, 42vw, 560px); width: auto; transition: transform .4s; }
.wik a:hover img { transform: translateY(-10px) rotate(-3deg); }
.wik__slogan {
  position: absolute; inset: auto 0 18%; margin: 0; text-align: center;
  font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 6.4vw, 5.6rem); letter-spacing: .2em; padding-left: .2em; line-height: 1;
  color: #fff; text-shadow: 0 4px 30px rgb(0 0 0 / .6); pointer-events: none;
}
.wik + .boards .board { border-top: 0; }
.board {
  position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, transform .2s;
}
.board:hover { border-color: var(--accent, var(--neon)); transform: translateY(-4px); }
.board__img { background: #000; display: grid; place-items: center; padding: 32px 0; }
.board__img img { height: 340px; width: auto; transition: transform .4s; }
.board:hover .board__img img { transform: rotate(-4deg) scale(1.03); }
.board__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.board h3 { font-size: 2.6rem; }
.board__tag { color: var(--accent, var(--neon)); font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin: -8px 0 0; }
.board__meta { color: var(--muted); font-size: .95rem; margin: 0; }
.board__more { margin-top: auto; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

/* Profil de performance */
.perf { display: grid; gap: 10px; margin: 0; }
.perf div { display: grid; grid-template-columns: 7.5em 1fr 3em; align-items: center; gap: 10px; font-size: .85rem; }
.perf dt { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.perf dd { margin: 0; display: contents; }
.bar { position: relative; height: 8px; background: var(--line); overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--accent, var(--neon)); transform-origin: left; }
.perf span { text-align: right; font-variant-numeric: tabular-nums; }

/* Fabrication */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 8px; border-left: 3px solid var(--accent, var(--neon)); border-bottom: 3px solid var(--accent, var(--neon)); transform: rotate(-45deg); }
.diagram { background: #fff; padding: 24px; }
.swatches { display: flex; gap: 10px; margin-top: 2rem; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .95rem; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .2); }

/* Galerie */
.gallery { padding: 0; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 4px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; height: clamp(280px, 42vw, 620px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }

/* Reprises */
.trade { background: var(--neon); color: #000; }
.trade .eyebrow { color: #000; opacity: .6; }
.trade .lead { color: #000; opacity: .8; }
.trade ol { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.trade li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; font-weight: 500; }
.trade li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.contact-card { display: block; padding: 28px; border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; transition: border-color .2s; }
.contact-card:hover { border-color: var(--neon); }
.contact-card small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 6px; }
.contact-card span { font-family: var(--display); font-size: 1.6rem; font-weight: 700; word-break: break-word; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Fiche produit */
.crumbs { font-size: .9rem; color: var(--muted); padding: 20px 0 0; }
.crumbs a { text-decoration: none; }
.product { padding-top: 32px; }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.product__media { position: sticky; top: 88px; background: #000; display: grid; place-items: center; padding: 40px 0; border: 1px solid var(--line); }
.product__media img { max-height: 72vh; width: auto; }
.product h1 { font-size: clamp(4rem, 10vw, 7rem); }
.product .board__tag { margin: .4rem 0 1rem; font-size: 1.3rem; }
.price { font-family: var(--display); font-size: 1.8rem; font-weight: 700; margin: 1.5rem 0; }
.price small { font-family: system-ui, sans-serif; font-size: .9rem; color: var(--muted); font-weight: 400; display: block; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; padding: .6em 1em; border: 1px solid var(--line); cursor: pointer; transition: border-color .15s; font-variant-numeric: tabular-nums; }
.opt input:checked + span { border-color: var(--neon); box-shadow: inset 0 0 0 1px var(--neon); }
.opt input:focus-visible + span { outline: 3px solid var(--neon); outline-offset: 2px; }
.opt--color span { display: flex; align-items: center; gap: 8px; }
.opt--color i { width: 16px; height: 16px; border-radius: 50%; }
.specs { width: 100%; border-collapse: collapse; margin-top: 8px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 400; width: 40%; }
.block { margin-top: 56px; }
.block h2 { font-size: 2.2rem; margin-bottom: 20px; }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.others a { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); text-decoration: none; }
.others a:hover { border-color: var(--neon); }
.others img { height: 110px; width: auto; }
.others strong { font-family: var(--display); font-size: 1.8rem; text-transform: uppercase; display: block; line-height: 1; }

@media (max-width: 760px) {
  .nav a:not(.btn, .lang) { display: none; }
  .nav { gap: 10px; }
  .header .wrap { gap: 12px; }
  .nav .btn { padding: .45em .7em; }
  .brand { white-space: nowrap; font-size: 1.15rem; }
}
@media (max-width: 400px) {
  .brand { font-size: 1rem; letter-spacing: .02em; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .nav .btn, .nav .lang { font-size: .85rem; }
  .facts li { border-right: 0; border-bottom: 1px solid var(--line); }
  .boards { grid-template-columns: 1fr; }
  .wik { gap: 8px; padding-top: 24px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure { height: 260px; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .product__grid { grid-template-columns: 1fr; }
  .product__media { position: static; padding: 24px 0; }
  .product__media img { max-height: 420px; }
  .board__img img { height: 280px; }
  .others { grid-template-columns: 1fr; }
}

/* ---------- Animations (désactivées si l'utilisateur réduit les animations) ---------- */
/* Passage d'une page à l'autre en fondu, la planche cliquée « vole » jusqu'à sa fiche */
.wik a:nth-child(1) img, .board-origin { view-transition-name: board-origin; }
.wik a:nth-child(2) img, .board-pop-fish { view-transition-name: board-pop-fish; }
.wik a:nth-child(3) img, .board-nova { view-transition-name: board-nova; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }

  @keyframes up { from { opacity: 0; transform: translateY(32px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes zoom-out { from { transform: scale(1.12); } }
  @keyframes draw { from { stroke-dashoffset: 1; } }
  @keyframes grow { from { transform: scaleX(0); } }
  @keyframes rise { from { opacity: 0; transform: translateY(80px) rotate(-6deg); } }
  @keyframes spread { from { opacity: 0; letter-spacing: .7em; } }

  /* Au chargement : logo qui se dessine, photo qui recule, textes qui montent un par un */
  .brand path:first-child { stroke-dasharray: 1; animation: draw 1.1s .1s cubic-bezier(.6, 0, .2, 1) both; }
  .brand path:last-child { animation: up .7s .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero picture img { animation: zoom-out 2.2s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .wrap > * { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .wrap > :nth-child(1) { animation-delay: .2s; }
  .hero .wrap > :nth-child(2) { animation-delay: .35s; }
  .hero .wrap > :nth-child(3) { animation-delay: .5s; }
  .hero .wrap > :nth-child(4) { animation-delay: .65s; }
  .product__media img { animation: rise 1s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .product__grid > div:last-child > * { animation: up .8s cubic-bezier(.2, .7, .2, 1) both; }
  .product__grid > div:last-child > :nth-child(2) { animation-delay: .08s; }
  .product__grid > div:last-child > :nth-child(3) { animation-delay: .16s; }
  .product__grid > div:last-child > :nth-child(n+4) { animation-delay: .24s; }

  /* Au défilement : chaque bloc apparaît quand il entre à l'écran (navigateurs récents ; sinon tout est visible) */
  @supports (animation-timeline: view()) {
    .boards-head > *, .board, .split > *, .checks li, .trade li, .gallery figure,
    .contact-card, #contact h2, #contact .lead, .block, .facts li {
      animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    .bar::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 40% cover 35%; }
    .wik a { animation: rise linear both; animation-timeline: view(); }
    .wik a:nth-child(1) { animation-range: entry 0% cover 30%; }
    .wik a:nth-child(2) { animation-range: entry 10% cover 35%; }
    .wik a:nth-child(3) { animation-range: entry 20% cover 40%; }
    .wik__slogan { animation: spread linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}