: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);
  /* 1 % de la hauteur d'écran, mesuré une fois par la page (voir construire.mjs, hauteurStable) : les unités vh/svh suivent
     les barres du navigateur qui se réduisent au défilement sur téléphone, et faisaient « sauter » toute la mise en page */
  --h: 1svh;
}

* { 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 "Barlow", 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, .h3 { font-family: var(--display); font-weight: 800; line-height: .95; text-transform: uppercase; margin: 0; letter-spacing: .01em; }
/* même taille pour tous les titres de section ; elle suit aussi la hauteur d’écran pour que les blocs tiennent */
h2 { font-size: clamp(1.9rem, min(4.6vw, calc(var(--h) * 5.6)), 3.6rem); }
h1 em, h2 em { font-style: normal; color: var(--neon); }
.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(56px, 7vw, 96px) 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);
}
/* écran tactile : pas de flou sous l'en-tête (recalculé à chaque image pendant le défilement, vidéos comprises : saccades dans
   Firefox sur iPhone, 23/11/2026) ; fond presque opaque, même rendu */
@media (hover: none) { .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(11 11 12 / .97); } }
.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: clamp(14px, 1.8vw, 26px); align-items: center; }
.nav a { text-decoration: none; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; font-size: .95rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav .btn { padding: .45em 1em; font-size: .95rem; color: #000; }
.nav .lang { border: 1px solid var(--line); padding: .3em .6em; line-height: 1; position: relative; }
/* zone de toucher de 44 px autour du petit bouton de langue, sans changer son aspect (audit du 24/11/2026 : 32 × 24 px) */
.nav .lang::after { content: ""; position: absolute; inset: -10px -6px; }
.nav .lang:hover { border-color: var(--text); }

/* Hero */
/* le hero laisse voir le bandeau des points forts dans le premier écran (maquette du client) */
.hero { --facts-h: 158px; position: relative; min-height: clamp(420px, calc(calc(var(--h) * 100) - 64px - var(--facts-h)), 820px); display: grid; align-items: start; 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-block: clamp(24px, calc(var(--h) * 6), 80px) clamp(32px, calc(var(--h) * 6), 64px); }
.hero h1 { font-size: clamp(2.8rem, min(7.5vw, calc(var(--h) * 12)), 7rem); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 54ch; margin: 1rem 0 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bandeau d'arguments */
.facts { padding: 0; border-block: 1px solid var(--line); background: var(--bg-2); }
/* toute la largeur, cases égales (maquette du client) */
.facts ul { width: 100%; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); } /* --cols : selon le nombre (construire.mjs) */
.facts li { padding: 22px 20px; border-right: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.45; }
.facts li:last-child { border-right: 0; }
.facts ul { margin-bottom: -1px; } .facts li { border-bottom: 1px solid var(--line); } /* deux rangées (7 points forts et plus) : un trait entre elles */
.facts strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; color: var(--text); text-transform: uppercase; margin-bottom: 4px; }

/* Cartes planches */
.boards-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(32px, 5vw, 72px); margin-bottom: 32px; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#planches { padding-block: clamp(20px, calc(var(--h) * 3), 40px) clamp(56px, 7vw, 96px); }
#planches .boards-head { margin-bottom: clamp(16px, calc(var(--h) * 2.5), 32px); }
/* ordinateur : plus d'air entre « Performance. » et les onglets des planches (demande du 20/11/2026) */
@media (min-width: 761px) { #planches .boards-head { margin-bottom: clamp(48px, calc(var(--h) * 7), 88px); } }

.boards-head > div:last-child { max-width: 36rem; }
.boards-head .lead { color: var(--text); font-size: 1.05rem; margin: 0; }
.slogan { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .04em; margin: .6rem 0 0; }
.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: clamp(12px, calc(var(--h) * 2), 24px) 0; border-bottom: 1px solid var(--line); }
.board__titre { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board__coloris { display: flex; gap: 6px; flex: none; }
.board__coloris i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); }
.board__img img { height: clamp(300px, calc(var(--h) * 100) - 560px, 420px); width: auto; transition: transform .4s; }
.board:hover .board__img img { transform: rotate(-4deg) scale(1.03); }
.board__body { padding: 16px 22px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.board h3 { font-size: 2rem; }
.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: .92rem; line-height: 1.45; 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: 6px; 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 strong { color: var(--text); }
.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: #000; padding: 24px; }
.swatches { display: flex; gap: 10px; margin-top: 2rem; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.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; }

/* Notre histoire */
.story { background: #000; }
.story .split { align-items: start; }
/* ordinateur : le texte commence à la hauteur de la photo, à côté d’elle (titre au-dessus, à gauche) */
@media (min-width: 761px) {
  .story .split { grid-template-columns: min(calc(var(--h) * 44), 460px) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 80px); row-gap: 0; }
  .story .split > div:first-child { display: contents; }
  .story .split > div:first-child > :not(.diapo) { grid-column: 1; }
  .story .eyebrow { grid-row: 1; align-self: end; }
  .story h2 { grid-row: 2; }
  .story .diapo { grid-column: 1; grid-row: 3; }
  .story__texte { grid-column: 2; grid-row: 3; margin-top: calc(clamp(20px, calc(var(--h) * 3), 36px) - .45em); } /* -.45em : le haut des lettres s’aligne sur le haut de la photo */
  /* la vidéo suit la hauteur du texte (paragraphes ajoutés dans l'atelier), sans descendre sous le format 4/5 */
  .story .diapo { width: 100%; aspect-ratio: auto; align-self: stretch; min-height: calc(min(calc(var(--h) * 44), 460px) * 1.25); }
  .story__texte p:last-child { margin-bottom: 0; }
}
/* diaporama de l’atelier sous le titre (la maquette laisse cette colonne vide) ; hauteur limitée pour que la section tienne à l’écran */
.diapo { position: relative; margin-top: clamp(20px, calc(var(--h) * 3), 36px); width: min(100%, calc(var(--h) * 44), 460px); aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; }
.diapo > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.diapo > .actif { opacity: 1; }
.story__texte p { font-size: clamp(1.05rem, min(1.6vw, calc(var(--h) * 2.4)), 1.25rem); line-height: 1.55; margin: 0 0 1.4em; max-width: 58ch; }

/* 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; padding-block: 14px; } /* lien en ligne : zone de toucher plus haute, mise en page inchangée */
.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: calc(var(--h) * 72); 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; }
.commande__note { margin: 10px 0 0; font-size: .9rem; color: var(--muted); } /* paiement Stripe, sous « Commander » (25/11/2026) */
.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; }
  .boards { grid-template-columns: 1fr; }
  .header .wrap { gap: 12px; }
  .nav .btn { padding: .45em .7em; }
  .brand { white-space: nowrap; font-size: 1.15rem; }
  .hero { --facts-h: 130px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 16px; font-size: .85rem; border-bottom: 1px solid var(--line); }
  .facts li:nth-child(even) { border-right: 0; }
  /* nombre impair : la dernière prend toute la largeur ; pair (6 avec « NFC », 23/11/2026) : deux par ligne jusqu'au bout */
  .facts li:last-child { border-bottom: 0; }
  .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .facts li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .diapo { width: 100%; aspect-ratio: 3 / 4; } /* « From riders to shapers » : vertical, plus de matière (TNT, 22/11/2026) */
  /* cartes des planches : photo à gauche, infos à droite, pour en voir plus d’un coup */
  .board { flex-direction: row; }
  .board__img { flex: 0 0 34%; padding: 16px 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .board__img img { height: 260px; width: auto; max-width: 85%; object-fit: contain; }
  .board__body { padding: 16px; gap: 8px; min-width: 0; }
  .board h3 { font-size: 1.8rem; }
  .board .board__tag { font-size: .8rem; letter-spacing: .08em; margin: -4px 0 0; }
  .board .board__meta { font-size: .85rem; }
  .board .perf { gap: 6px; }
  .board .perf div { grid-template-columns: 5.6em 1fr 2.8em; gap: 6px; font-size: .72rem; }
}
@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; }
  .boards { grid-template-columns: 1fr; }
  .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; }
  .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 */
.board-origin { view-transition-name: board-origin; }
.board-pop-fish { view-transition-name: board-pop-fish; }
.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 glisse { from { transform: translateY(16px); } }
  @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); } }

  /* 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; }
  /* le titre est visible dès le premier rendu (audit du 24/11/2026 : complet à 1,25 s avant) ; il glisse juste en place */
  .hero .wrap > h1 { animation: glisse .6s cubic-bezier(.2, .7, .2, 1) both; }
  .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%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
/* Accueil : lien vers la page atelier, reels « Sur l'eau » (vidéos verticales arrondies, qui dépassent des deux côtés) */
.plus { margin: 18px 0 0; }
#fabrication .plus { margin-top: 36px; } /* « Inside the workshop » un peu plus loin du texte (24/11/2026) */
.plus a { color: var(--neon); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.plus a:hover { text-decoration: underline; text-underline-offset: .3em; }
.plus a.btn { color: #000; letter-spacing: .08em; } /* « Inside the workshop » en bouton, comme « View the board » (22/11/2026) */
.plus a.btn:hover { text-decoration: none; }
.eau h2 { margin-bottom: 8px; }
/* « Aerolight Tech » rapprochée des vidéos : moins de vide entre les deux sections (24/11/2026) */
.eau { padding-bottom: clamp(28px, 3.5vw, 48px); }
.eau + #fabrication { padding-top: clamp(40px, 5vw, 64px); }
.reels { display: flex; gap: 10px; margin-top: 32px; padding: 0 max(16px, (100% - 1180px) / 2); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.reels::-webkit-scrollbar { display: none; }
.reels video { flex: 0 0 auto; width: clamp(200px, 22vw, 300px); min-width: 0; aspect-ratio: var(--reels-ratio-t, 9 / 16); object-fit: cover; border-radius: 12px; background: var(--bg-2); scroll-snap-align: start; }

/* Page atelier : la résine en premier écran */
.at-ouverture { position: relative; min-height: calc(var(--h) * 88); display: grid; align-items: end; padding: 0 0 clamp(40px, calc(var(--h) * 8), 88px); overflow: hidden; }
.at-ouverture__medias { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.at-ouverture__medias > * { width: 100%; height: 100%; object-fit: cover; }
.at-ouverture__medias picture > img { display: block; width: 100%; height: 100%; object-fit: cover; } /* photo dans <picture> (source vide sur téléphone, 26/11/2026) */
/* téléphone : la vidéo seule, en plein écran vertical (son format d'origine) */
@media (max-width: 760px) { .at-ouverture__medias > :not(video) { display: none; } }
/* Téléphone : le texte en haut de l'écran, le dégradé part du haut (20/11/2026) ; en bas de la vidéo, le sommaire des
   quatre étapes (liens vers chacune, 21/11/2026), sur un second dégradé. Sur ordinateur, pas de sommaire. */
.at-sommaire { display: none; }
@media (max-width: 760px) {
  .at-ouverture { align-items: start; padding: 28px 0 0; }
  .at-ouverture::after { background: linear-gradient(rgb(0 0 0 / .78), rgb(0 0 0 / .1) 45%, rgb(0 0 0 / .1) 58%, rgb(0 0 0 / .85)); }
  .at-sommaire { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgb(255 255 255 / .25); }
  .at-sommaire a { display: grid; gap: 4px; padding: 14px 0 12px; text-decoration: none; font: 700 1.05rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--text); border-bottom: 1px solid rgb(255 255 255 / .25); }
  .at-sommaire a:nth-child(odd) { padding-right: 12px; border-right: 1px solid rgb(255 255 255 / .25); }
  .at-sommaire a:nth-child(even) { padding-left: 14px; }
  .at-sommaire span { font: 800 .8rem/1 var(--display); letter-spacing: .12em; color: var(--neon); }
  .etape { scroll-margin-top: 72px; }
}
/* Vidéos d'ambiance : jamais le lecteur du navigateur (lecture, volume, plein écran), même un instant au chargement. */
video::-webkit-media-controls, video::-webkit-media-controls-panel, video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
video { pointer-events: none; }
/* Une vidéo reste cachée (son image d'attente en fond du bloc) jusqu'à ce qu'elle joue : iOS montre parfois son lecteur
   au démarrage, ou un bouton lecture quand la lecture automatique est coupée (mode économie d'énergie). */
video.attente { opacity: 0 !important; }
.at-ouverture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .78), rgb(0 0 0 / .1) 60%); }
.at-ouverture .wrap { position: relative; z-index: 1; }
.at-ouverture h1 { font-size: clamp(3rem, 8vw, 6.5rem); max-width: 12ch; }
.at-ouverture .lead { color: rgb(242 242 240 / .86); margin-top: 16px; }

/* Les étapes : photo arrondie et texte en alternance */
.at-etapes .wrap { display: grid; gap: clamp(64px, calc(var(--h) * 10), 120px); }
.etape { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.etape:nth-child(even) .etape__visuel { order: 2; }
.etape__visuel { margin: 0; }
.etape__media { position: relative; aspect-ratio: var(--forme, 4 / 5); border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.etape__media > img, .etape__media > video { width: 100%; height: 100%; object-fit: cover; }
/* forme par écran choisie dans l'Atelier (25/11/2026) : sur téléphone la sienne, sinon celle de l'ordinateur */
@media (max-width: 760px) { .etape__media { aspect-ratio: var(--forme-t, var(--forme, 4 / 5)); } }
.etape__num { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--neon); letter-spacing: .1em; }
.etape h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin-top: 8px; }
.etape p { color: var(--muted); font-size: 1.15rem; max-width: 30em; margin: 16px 0 0; }
.etape__note { color: var(--muted); font-size: .95rem; margin-top: 12px; } /* légende sous l'image (22/11/2026) */

/* La page atelier : le schéma de la construction, comme sur l'accueil */
.at-schema { max-width: 760px; margin-top: 32px; }
.coupe .wrap:first-child { text-align: center; }
.coupe .lead { margin: 12px auto 0; }
.at-retour { text-align: center; padding: 24px 0 96px; }

@media (max-width: 760px) {
  .etape { grid-template-columns: 1fr; }
  /* téléphone (retour TNT du 23/11/2026) : numéro, titre et texte d'abord, puis l'image et sa légende */
  .etape .etape__visuel, .etape:nth-child(even) .etape__visuel { order: 2; }
}

/* Accueil : « Notre histoire » juste avant le pied de page, collée à lui (comme la maquette collage) */
.story--fin { padding-bottom: clamp(64px, calc(var(--h) * 10), 120px); }


/* Accueil, « Faites main, pas en série » : le schéma de TNT, des numéros sur chaque zone, l'explication au survol */
.schema { margin: 0; }
.schema__cadre { position: relative; }
.schema__img { width: 100%; height: auto; border-radius: 4px; }
.schema__num { position: absolute; z-index: 1; width: 32px; height: 32px; translate: -50% -50%; border-radius: 50%; border: 2px solid #000; background: var(--neon); color: #000;
  font: 800 1rem/1 var(--display); cursor: pointer; transition: transform .2s; }
.schema__num:hover, .schema__num.actif { transform: scale(1.15); }
.schema__num:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.schema__bulle { position: absolute; z-index: 2; width: min(280px, 78vw); padding: 14px 16px; background: var(--text); color: #111; border-radius: 12px; font-size: .92rem; line-height: 1.45;
  opacity: 0; transform: translateY(6px) scale(.97); pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .2, 1); }
.schema__bulle strong { display: block; font: 800 1.2rem/1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.schema__bulle.visible { opacity: 1; transform: none; }
.schema figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .schema__num, .schema__bulle { transition: none; } }

/* Reels sur ordinateur (22/11/2026) : bandeau sur toute la largeur de l'écran, --reels-n vidéos visibles au format --reels-ratio
   (réglés dans l'atelier, 3 en 3:4 par défaut), qui défile tout seul (script, classe reels--defile). Sur téléphone, la piste ne change rien. */
.reels__piste { display: contents; }
@media (min-width: 761px) {
  /* 3 vidéos ou moins : rangée immobile alignée sur le titre ; 4 : défile dans la colonne du texte (reels--defile) ;
     5 et plus : bandeau bord à bord qui défile (reels--plein). Largeur des vidéos qui défilent : --reels-l, posée par le script. */
  .reels { width: var(--wrap); margin-inline: auto; margin-top: 52px; padding: 0; scroll-snap-type: none; } /* de la place pour la vidéo agrandie au survol (+40 px en haut et en bas) */
  .reels .reels__piste { display: flex; gap: 10px; }
  /* 3 vidéos ou moins : elles remplissent la colonne du texte, à la même taille qu'avec 4 (retour TNT du 23/11/2026 : « plus grandes ») */
  .reels:not(.reels--defile) video { flex: 1 1 0; width: auto; min-width: 0; max-width: calc(var(--h) * 60 * var(--reels-ratio, 3 / 4)); }
  .reels:not(.reels--defile) .reels__piste { width: 100%; }
  /* coupé sur les côtés seulement : la vidéo qui grossit au survol dépasse en haut et en bas sans être rognée */
  .reels:not(.reels--defile) { overflow: visible; }
  .reels--defile { overflow-x: clip; overflow-y: visible; }
  .reels--plein { width: auto; }
  .reels--defile .reels__piste { width: max-content; will-change: transform; }
  .reels video { width: calc(100vw / (var(--reels-n, 3) + 2)); aspect-ratio: var(--reels-ratio, 3 / 4); max-height: calc(var(--h) * 60); } /* plus petit (retour du 23/11/2026 : « pas tout l’écran ») */
  .reels--defile video { width: var(--reels-l); }
  .reels ~ .credit--reels { margin-top: 48px; } /* sous la vidéo agrandie au survol, pas dessous */
  /* survol (la rangée s'arrête de défiler pendant ce temps) : agrandissement calculé par le script de la page (+30 px de chaque
     côté, voisines qui reculent d'autant) ; ici seulement l'animation et les coins arrondis, gardés même agrandie */
  @media (hover: hover) {
    .reels video { pointer-events: auto; position: relative; border-radius: 12px; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, filter .45s; } /* le survol doit atteindre la vidéo (ailleurs, les vidéos ignorent la souris) */
    /* la vidéo survolée passe au premier plan (retour du 23/11/2026, « plus joli ») : ombre portée et liseré clair ; les autres s'assombrissent */
    .reels video[data-zoom] { box-shadow: 0 30px 60px -14px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .14); }
    .reels:has(video[data-zoom]) video:not([data-zoom]) { filter: brightness(.5) saturate(.7); }
  }
}

/* Menu sur téléphone : bouton à deux traits, liste des liens qui se déplie sous l'en-tête (sur ordinateur, les liens restent dans la barre) */
.nav__liens { display: contents; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav__liens { display: none; }
  .menu-btn { display: grid; place-content: center; gap: 6px; width: 40px; height: 40px; padding: 0; background: none; border: 1px solid var(--line); cursor: pointer; }
  .menu-btn i { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .25s; }
  .menu-ouvert .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-ouvert .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-ouvert .nav__liens { display: grid; position: absolute; top: 64px; left: 0; right: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu-ouvert .nav__liens a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; color: var(--text); }
}
/* « Mon compte » (passeport) : icône seule sur ordinateur, texte dans le menu du téléphone (23/11/2026) */
.nav__compte { display: inline-flex; align-items: center; }
@media (min-width: 761px) { .nav__compte span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (max-width: 760px) { .nav__compte svg { display: none; } }

/* Reels sur téléphone : une grande vidéo par écran, le bord de la suivante dépasse pour inviter à glisser (retour TNT du 23/11/2026 :
   « trop petites » ; avant, deux par écran) */
@media (max-width: 760px) {
  .reels { gap: 10px; padding: 0 16px; scroll-padding-inline: 16px; }
  .reels video { width: 72vw; }
}
/* moins de vide entre les planches et « Sur l'eau » (retour du 20/11/2026) ; les autres écarts entre sections restent */
#planches { padding-bottom: clamp(24px, 3vw, 40px); }
#eau { padding-top: clamp(32px, 4vw, 56px); }
/* très petits téléphones : l'en-tête (logo, langue, Commander, Menu) tient en largeur */
@media (max-width: 360px) {
  .header .wrap { gap: 6px; }
  .nav { gap: 6px; }
  .brand { font-size: .88rem; gap: 6px; }
  .brand svg { width: 22px; height: 22px; }
  .nav .btn { padding: .45em .5em; font-size: .78rem; letter-spacing: .04em; }
  .nav .lang { padding: .3em .4em; }
  .menu-btn { width: 34px; height: 34px; }
}

/* Téléphone : la vidéo du saut en fond du premier écran (?accueil=photo pour l'ancienne photo, ?accueil=videos pour les trois) */
.hero__videos { display: none; }
@media (max-width: 760px) {
  :root .hero__videos { display: block; position: absolute; inset: 0; overflow: hidden; }
  .hero__videos video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
  .hero__videos video.actif { opacity: 1; }
  :root .hero picture { visibility: hidden; }
  :root .hero { min-height: calc(var(--h) * 100 - 64px); }
  /* boutons du premier écran 20 % plus petits (1,1 rem → 0,88 rem ; les marges en em suivent) */
  .hero .actions .btn { font-size: .88rem; }

  /* titre en haut, texte et boutons collés en bas : entre les deux, l'espace où passe le rider */
  :root .hero .wrap { display: flex; flex-direction: column; min-height: calc(var(--h) * 100 - 64px); padding-block: 31px 84px; }
  :root .hero .wrap > p:not(.eyebrow) { margin-top: auto; }
}

/* « Nos planches » sur téléphone : la photo du rider en tête, recadrée serré sur lui (21/11/2026), le titre sur la colline.
   Sous la planche, la photo se fond dans le noir par un dégradé qui part de l'eau : la description, en blanc, est posée
   sur ce noir, qui rejoint le fond de la suite. Sur ordinateur, pas de photo. */
.boards-head__photo { display: none; }
@media (max-width: 760px) {
  #planches .boards-head:has(.boards-head__photo) { position: relative; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: space-between;
    margin: 0 -16px 24px; padding: 28px 16px 24px; overflow: hidden; background: #0b0b0c;
    /* titre en haut ; la description commence 48 px sous la planche du rider (qui s'arrête à 57 % de la hauteur de la photo),
       là où la photo est déjà fondue dans le noir */
    display: grid; grid-template-rows: calc(100vw * 705 / 665 * .57 + 48px - 28px) auto; align-content: start; gap: 0; }
  #planches .boards-head:has(.boards-head__photo)::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(rgb(11 11 12 / .5), transparent 22%); } /* assombrit le haut, sous le titre */
  .boards-head__photo { display: block; position: absolute; inset: 0 0 auto; width: 100%; height: auto; z-index: -1;
    /* 24/11/2026 : la photo couvre tout le bloc et son fondu est progressif ; 25/11 : un cran plus noir derrière la description (Mathieu) */
    height: 100%; object-fit: cover; object-position: 50% 0;
    -webkit-mask-image: linear-gradient(#000 50%, rgb(0 0 0 / .55) 60%, rgb(0 0 0 / .3) 72%, rgb(0 0 0 / .16) 84%, transparent 96%); mask-image: linear-gradient(#000 50%, rgb(0 0 0 / .55) 60%, rgb(0 0 0 / .3) 72%, rgb(0 0 0 / .16) 84%, transparent 96%); }
  #planches .boards-head:has(.boards-head__photo) { isolation: isolate; }
}

/* ---------- Crédits en petit sur les images (21/11/2026) : vidéos @_pedro_m05, photo à la planche rouge @lenduiramos.
   Très discrets : juste le @compte, petit, blanc atténué, dans un coin (tout en bas à droite du premier écran). ---------- */
.credit { margin: 0; font: 400 .56rem/1 "Barlow", system-ui, sans-serif; letter-spacing: .04em; color: rgb(255 255 255 / .72); } /* plus petit et plus discret (21/11/2026) */
.credit a { color: inherit; text-decoration: none; }
.credit a:hover { color: var(--neon); }
.hero .credit { position: absolute; z-index: 2; right: 8px; bottom: 3px; max-width: none; font-size: .56rem; } /* deux tailles de plus (24/11/2026) */ /* sinon la taille des paragraphes du haut de page (22/11/2026) */
.hero .credit--video { display: none; }
.boards-head > .credit { display: none; }
.credit--reels { width: var(--wrap); margin: 8px auto 0; text-align: right; font-size: .56rem; } /* tout petit (22/11/2026) */
.credit--reels a + a { margin-left: .4em; }
@media (max-width: 760px) {
  :root .hero .credit--photo { display: none; }
  :root .hero .credit--video { display: block; }
  .hero .credit--video { font-size: .48rem; letter-spacing: .03em; } /* sur la vidéo d'accueil, encore plus petit (21/11/2026) */
  .boards-head > .credit { display: block; position: absolute; z-index: 1; right: 10px; top: calc(100vw * 705 / 665 * .5); }
  .credit--reels { margin-right: 16px; }
}

/* ---------- Mentions légales ---------- */
.mentions .wrap { max-width: 720px; padding-block: clamp(40px, calc(var(--h) * 8), 96px) 24px; }
.mentions h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); margin-bottom: 32px; }
.mentions section { border-top: 1px solid var(--line); padding: 20px 0; }
.mentions h2 { font-size: 1.3rem; letter-spacing: .04em; margin-bottom: 10px; }
.mentions p, .mentions ul { margin: 0; color: var(--muted); }
.mentions ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.mentions a { color: var(--text); }

/* Page « fait main ou série » (22/11/2026) : tableau critère par critère (colonne TNT en accent), « pour qui », FAQ dépliable */
.compare > .wrap:first-child { padding-block: clamp(40px, calc(var(--h) * 8), 96px) 8px; }
.compare h1 { font-size: clamp(2.6rem, 8vw, 5rem); margin-bottom: 20px; }
.compare section { padding: clamp(40px, 5vw, 64px) 0 0; }
.compare h2 { margin-bottom: 24px; }
.compare__defile { overflow-x: auto; }
.compare__table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare__table th, .compare__table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare__table thead th { font: 700 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.compare__table tbody th { font: 600 1.05rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); width: 18%; }
.compare__table td { color: var(--muted); }
.compare__table thead th { color: var(--muted); font-size: 1rem; }
.compare__table tbody th { width: 22%; }
.compare__table tr.compare__tnt { background: var(--bg-2); }
.compare__table tr.compare__tnt th { color: var(--neon); }
.compare__table tr.compare__tnt td { color: var(--text); font-weight: 500; }
.compare__table td:nth-child(2) { white-space: nowrap; }
.compare__table td:nth-child(3), .compare__table td:nth-child(4) { white-space: nowrap; color: var(--text); }
.compare__note { margin: 14px 0 0; color: var(--muted); font-size: .9rem; max-width: 70ch; }
/* Page « Notre pad » (22/11/2026) : texte et bouton d'achat à gauche, la planche vue de dessus et ses repères à droite */
.pad__haut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(24px, calc(var(--h) * 4), 48px) 24px; }
.pad h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 20px; }
.pad__prix { font: 800 2.2rem/1 var(--display); color: var(--neon); margin: 24px 0 0; }
.pad__achat { margin: 24px 0 0; }
.pad__note { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.pad__visuel { position: relative; margin: 0 auto; width: min(100%, 440px); }
/* le noir au-dessus et au-dessous de la planche (≈ 15 % de la hauteur du cadre 9/16) ne compte pas dans la hauteur de la rangée :
   moins de vide entre l'en-tête et le titre et avant « Why it changes everything » (27/11/2026). Ordinateur seulement :
   sur téléphone, le cadre passerait sur le texte au-dessus. */
@media (min-width: 761px) { .pad__visuel { margin-block: calc(min(100%, 440px) * -.24); } }
.pad__cadre { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #000;
  /* bords fondus dans le fond du site (photo sur fond noir) */
  --fondu: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: var(--fondu); -webkit-mask-composite: source-in; mask-image: var(--fondu); mask-composite: intersect; }
.pad__cadre > :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; }
/* comme la vidéo de TNT : la planche avance doucement vers nous et un reflet la balaie (le fond noir reste noir : mode overlay) */
.pad__cadre > img { animation: pad-camera 9s ease-in-out infinite alternate; }
.pad__reflet { position: absolute; inset: -20% 0; background: linear-gradient(170deg, transparent 38%, rgb(255 255 255 / .55) 50%, transparent 62%); mix-blend-mode: overlay; animation: pad-reflet 4.5s cubic-bezier(.45, 0, .25, 1) infinite; pointer-events: none; }
@keyframes pad-camera { from { transform: scale(1); } to { transform: scale(1.04) translateY(-1%); } }
@keyframes pad-reflet { 0% { transform: translateY(60%); } 70%, 100% { transform: translateY(-60%); } }
@media (prefers-reduced-motion: reduce) { .pad__cadre > img, .pad__reflet { animation: none; } .pad__reflet { display: none; } }
/* repère : un trait du bord de l'image jusqu'au point, le texte posé dessus (comme la vidéo de TNT) */
.pad__repere { position: absolute; top: var(--y); margin: 0; padding-bottom: 6px; border-bottom: 1px solid var(--text); font: 600 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; transform: translateY(-100%); }
.pad__repere--g { left: 0; width: var(--x); padding-right: 20px; }
.pad__repere--d { right: 0; left: var(--x); text-align: right; padding-left: 20px; }
.pad__repere::after { content: ""; position: absolute; bottom: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--neon); }
/* comme la vidéo de TNT : chaque repère arrive l'un après l'autre, le trait se tire depuis le point puis le texte apparaît */
.pad__visuel .pad__repere { border-bottom-color: transparent; color: transparent; transition: color .5s calc(var(--i) * .9s + .6s); }
.pad__visuel .pad__repere::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--text); transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .9s); }
.pad__repere--g::before { transform-origin: right; }
.pad__repere--d::before { transform-origin: left; }
.pad__visuel .pad__repere::after { transform: scale(0); transition: transform .3s calc(var(--i) * .9s); }
.pad__visuel.vu .pad__repere { color: var(--text); }
.pad__visuel.vu .pad__repere::before { transform: none; }
.pad__visuel.vu .pad__repere::after { transform: none; }
@media (prefers-reduced-motion: reduce) { .pad__visuel .pad__repere, .pad__visuel .pad__repere::before, .pad__visuel .pad__repere::after { transition: none; } }
.pad__repere--g::after { right: -4px; }
.pad__repere--d::after { left: -4px; }
.pad__points { padding: clamp(32px, 4vw, 48px) 0 0; }
.pad__points h2 { margin-bottom: 24px; }
.pad__points ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .pad__points ul { grid-template-columns: 1fr; } }
.pad__points li { border: 1px solid var(--line); padding: 24px; }
.pad__points h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--neon); }
.pad__points p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .pad__haut { grid-template-columns: 1fr; }
  .pad__repere { font-size: .72rem; }
}
.compare__qui { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.compare__qui > div { border: 1px solid var(--line); padding: 24px; }
.compare__qui > div:last-child { border-color: var(--neon); }
.compare__qui h3 { font-size: 1.5rem; margin-bottom: 10px; }
.compare__qui p { margin: 0; color: var(--muted); }
.compare__faq { border-top: 1px solid var(--line); max-width: 820px; }
.compare__faq:last-of-type { border-bottom: 1px solid var(--line); }
.compare__faq summary { padding: 18px 0; font: 600 1.25rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.compare__faq p { margin: 0 0 18px; color: var(--muted); max-width: 65ch; }
/* téléphone : une fiche par critère (le nom de la colonne au-dessus de chaque valeur), plus de tableau qui défile de côté */
@media (max-width: 760px) {
  .compare__table { min-width: 0; }
  .compare__table thead { display: none; }
  .compare__table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .compare__table th, .compare__table td { border: 0; padding: 6px 10px; }
  .compare__table tbody th { grid-column: 1 / -1; width: auto; padding-inline: 0; }
  .compare__table td::before { content: attr(data-col); display: block; font: 600 .8rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
  .compare__table td:is(:nth-child(2), :nth-child(3), :nth-child(4)) { white-space: normal; }
  .compare__table td:last-child { grid-column: 1 / -1; }
  .compare__table tr.compare__tnt { padding-inline: 10px; }
}
.at-comparaison { text-align: center; margin: -72px 0 0; padding-bottom: 96px; }

/* ---------- Cadrage choisi dans l'Atelier (25/11/2026) : point gardé en vue et zoom, chaque écran à part (vide : cadrage d'origine).
   Le parent coupe ce qui dépasse quand on zoome. ---------- */
@media (min-width: 761px) { [data-cadre-o] { object-position: var(--xo) var(--yo) !important; scale: var(--zo); transform-origin: var(--xo) var(--yo); } }
@media (max-width: 760px) { [data-cadre-t] { object-position: var(--xt) var(--yt) !important; scale: var(--zt); transform-origin: var(--xt) var(--yt); } }
:has(> [data-cadre-o], > [data-cadre-t]) { overflow: clip; }

/* Avis clients (01/12/2026) : note relevée sur Trustpilot à gauche, avis recopiés en cartes à droite ; sur téléphone, les cartes défilent. */
.avis__grille { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.avis__note { display: flex; align-items: baseline; margin: 1.2rem 0 .3rem; font-family: var(--display); font-size: 1.4rem; color: var(--muted); }
.avis__note strong { font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; color: var(--text); }
.avis__source { color: var(--muted); margin: 0 0 1.6rem; }
.etoiles { --t: 18px; display: inline-block; flex: none; width: calc(var(--t) * 5); height: var(--t);
  background: linear-gradient(90deg, var(--neon) calc(var(--n) * 20%), rgb(255 255 255 / .22) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.2 6.9 7.5.8-5.6 5.1 1.6 7.4L12 17.9l-6.7 3.8 1.6-7.4L1.3 9.2l7.5-.8z'/%3E%3C/svg%3E") 0 0 / var(--t) var(--t) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.2 6.9 7.5.8-5.6 5.1 1.6 7.4L12 17.9l-6.7 3.8 1.6-7.4L1.3 9.2l7.5-.8z'/%3E%3C/svg%3E") 0 0 / var(--t) var(--t) repeat-x; }
.avis__note > span:not(.etoiles) { margin-left: 4px; } /* « /5 » petit, posé sur la ligne du chiffre (comme Lifone) */
.avis__note .etoiles { --t: 24px; margin-left: 16px; align-self: center; }
.avis__cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
/* nombre impair d'avis : la première carte prend la largeur, pas de carte seule en bas */
.avis__carte:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.avis__carte { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); }
.avis__theme { align-self: flex-start; margin: 0; padding: 4px 10px; border: 1px solid var(--line); color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.avis__carte blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.avis__auteur { margin: auto 0 0; }
.avis__auteur span { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.avis__mention { color: var(--muted); font-size: .85rem; margin-top: 28px; }
@media (max-width: 760px) {
  .avis__grille { grid-template-columns: 1fr; }
  .avis__cartes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 16px); margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); scrollbar-width: none; }
  .avis__carte { scroll-snap-align: start; }
  .avis__carte:first-child:nth-last-child(odd) { grid-column: auto; }
}
/* fiche d'une planche : le bloc d'avis suit la fiche, sans doubler la marge du haut */
main + .avis { padding-top: clamp(16px, 2vw, 32px); }
