/* Tendu : feuille du gabarit (après public/base.css et theme.css). V6 du 14/11/2026.
   Identité gardée (vert forêt, ivoire, bois des photos, Archivo) ; ce qui change, c'est la rigueur :
   - UNE grille : .tnd-wrap (= .wrap du moteur) donne la même marge à l'en-tête, au premier écran, à chaque section et
     au pied de page ; à l'intérieur, 12 colonnes ; les images peuvent aller au bord, le texte reste sur la grille ;
   - une échelle courte (theme.css) : titres de section 32 à 52 px, le très grand réservé au premier écran et à un chiffre ;
   - l'image plus grande que le texte (7 colonnes sur 12) ; un seul rythme vertical (--sec-y) ; un seul fond (ivoire),
     sauf deux ruptures voulues : le premier écran (photo) et l'histoire (vert forêt), puis le pied de page ;
   - pas de voile, pas de picto dans un rond, pas d'ombre : des filets fins et des photos.
   Les briques du moteur (achat, galerie, tiroir, avis, FAQ, pied de page) sont redessinées ici, jamais masquées. */

:root {
  --wrap: var(--maxw);
  --hdr: 4rem;
  --strip: 2rem;
  --col-gap: clamp(1rem, 2.2vw, 2rem);
  --sec-y: clamp(3.5rem, 6.5vw, 6rem);
  --stack: clamp(1.25rem, 2.4vw, 2rem);   /* entre le titre d'une section et son contenu */
}
@media (min-width: 900px) { :root { --hdr: 4.75rem; } }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 1rem); }
body { overflow-x: clip; }
img, video { max-width: 100%; }
main { display: block; }
@view-transition { navigation: none; }

/* ------------------------------------------------------------ grille */
.tnd-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.tnd-sec { max-width: var(--maxw); margin-inline: auto; padding: var(--sec-y) var(--gutter); }
.tnd-sec > .tnd-wrap { max-width: none; padding-inline: 0; }
.tnd-sec + .tnd-sec { padding-top: 0; }   /* deux sections sur le même fond : un seul intervalle entre elles */

/* ------------------------------------------------------------ bandeau d'offre (toutes les pages) */
.tnd-strip { margin: 0; min-height: var(--strip); padding: 0.375rem var(--gutter); background: var(--forest-deep); color: var(--ivory-muted); font-size: var(--t-xs); letter-spacing: 0.04em; text-align: center; line-height: 1.25rem; }
.tnd-strip strong { color: var(--ivory); font-weight: 600; }
.tnd-code { letter-spacing: 0.12em; }
@media (max-width: 29.99rem) { .tnd-strip { font-size: 0.75rem; letter-spacing: 0; white-space: nowrap; } .tnd-strip-label { display: none; } }
/* sous 375 px, l'offre passe sur deux lignes plutôt que d'être coupée (sa date de fin reste lisible) */
@media (max-width: 23.4rem) { :root { --strip: 3.25rem; } .tnd-strip { white-space: normal; } }

/* ------------------------------------------------------------ en-tête */
.tnd-header { position: sticky; top: 0; z-index: 40; color: var(--forest); background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.tnd-header-row { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.tnd-wordmark { height: 1.05rem; width: 6.73rem; display: block; }
@media (min-width: 900px) { .tnd-wordmark { height: 1.3rem; width: 8.33rem; } }
.tnd-brand { grid-column: 2; display: inline-flex; align-items: center; color: inherit; min-height: 2.75rem; }
.tnd-header-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 1.5rem; }
.tnd-header a { color: inherit; text-decoration: none; }
.tnd-nav a, .tnd-header .cart-link, .tnd-menu-btn { font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; }
.tnd-header .cart-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; }
.tnd-header .cart-count { background: var(--forest); color: var(--ivory); border-radius: 999px; min-width: 1.35rem; height: 1.35rem; display: inline-grid; place-items: center; font-size: 0.75rem; letter-spacing: 0; }
.tnd-nav { display: none; }
.tnd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.tnd-nav a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; }
.tnd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.6rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.tnd-nav a:hover::after, .tnd-nav a[aria-current="page"]::after { transform: scaleX(1); }
.tnd-menu { grid-column: 1; justify-self: start; position: static; }
.tnd-menu-btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; }
.tnd-menu-btn::-webkit-details-marker { display: none; }
.tnd-burger { display: grid; gap: 5px; width: 20px; }
.tnd-burger span { height: 1.5px; background: currentColor; transition: transform 300ms var(--ease); }
.tnd-menu[open] .tnd-burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.tnd-menu[open] .tnd-burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.tnd-menu-panel { position: absolute; left: 0; right: 0; top: var(--hdr); background: var(--forest); color: var(--ivory); padding: 1rem var(--gutter) 2rem; border-top: 1px solid var(--forest-line); }
.tnd-menu-links { list-style: none; margin: 0; padding: 0; display: grid; }
.tnd-menu-links a { display: flex; align-items: center; min-height: 3.5rem; font-size: var(--t-xl); font-weight: 320; font-stretch: 112%; letter-spacing: -0.02em; border-bottom: 1px solid var(--forest-line); }
.tnd-menu-foot { margin: 1.5rem 0 0; color: var(--ivory-muted); font-size: var(--t-s); }
.tnd-menu-foot a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 70rem) { .tnd-nav { display: block; grid-column: 1; grid-row: 1; justify-self: start; } .tnd-menu { display: none; } }
.tnd-nav a, .tnd-header .cart-link, .tnd-menu-btn { white-space: nowrap; }
/* très petit téléphone (320) : l'en-tête tient sur la largeur */
@media (max-width: 22.49rem) { .tnd-header-row { gap: 0.5rem; } .tnd-menu-btn, .tnd-header .cart-link { letter-spacing: 0.08em; } .tnd-menu-btn { gap: 0.5rem; } .tnd-wordmark { width: 5.9rem; height: 0.92rem; } }

/* accueil : bandeau et en-tête posés sur la photo du premier écran, en ivoire ; l'en-tête devient plein au défilement
   (site.js pose .is-solid) ou quand le menu est ouvert */
.page-home .tnd-strip { position: relative; z-index: 41; background: transparent; border-bottom: 1px solid var(--forest-line); }
.page-home .tnd-header:not(.is-solid) { background: transparent; color: var(--ivory); border-bottom-color: transparent; }
.page-home .tnd-header:not(.is-solid) .cart-count { background: var(--ivory); color: var(--forest); }
.page-home .tnd-header:has(.tnd-menu[open]) { background: var(--forest); color: var(--ivory); border-bottom-color: var(--forest-line); }

/* ------------------------------------------------------------ éléments communs */
.tnd-head { max-width: 40rem; margin: 0 0 var(--stack); }
.eyebrow { margin: 0 0 1rem; color: var(--muted); }
.tnd-h2 { font-size: var(--t-2xl); line-height: 1.04; margin: 0; text-wrap: balance; }
.tnd-h3 { font-size: var(--t-xl); font-weight: 360; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
.tnd-lead { font-size: var(--t-l); line-height: 1.5; color: var(--muted); margin: 1rem 0 0; max-width: 34ch; }
.tnd-small { font-size: var(--t-s); color: var(--muted); max-width: 60ch; }
.tnd-display { font-size: var(--t-3xl); font-weight: 300; font-stretch: 112%; letter-spacing: -0.04em; line-height: 0.96; margin: 0; }
.tnd-textlink { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 0.5em; text-decoration-thickness: 1px; }
.tnd-more-link { margin: 1.25rem 0 0; }
.tnd-actions { margin: var(--stack) 0 0; }
@media (max-width: 29.99rem) { .tnd-actions .btn { width: 100%; letter-spacing: 0.08em; padding-inline: 1em; } }
.tnd-ref { padding: 0 0.12em; color: inherit; text-decoration: none; font-size: 0.8em; line-height: 0; vertical-align: super; opacity: 0.75; }
.tnd-ref:hover { opacity: 1; }
.tnd-ref { position: relative; }
.tnd-ref::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%); }   /* zone de toucher de 44 px autour d'un astérisque */
.tnd-h2 .tnd-ref, .tnd-display .tnd-ref { font-size: 0.5em; font-weight: 400; }
.tnd-photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--wood-soft); }
.tnd-photo img, .tnd-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.tnd-hero-media .tnd-swap[hidden], .tnd-buy-img[hidden] { display: none; }
.tnd-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 1.5rem; }
.tnd-more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.25rem; font-weight: 600; }
.tnd-more summary::-webkit-details-marker { display: none; }
.tnd-more summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; line-height: 1; }
.tnd-more[open] summary::after { content: "−"; }
.tnd-more-body { padding: 0 0 1.25rem; color: var(--muted); max-width: 60ch; }
.tnd-more-body ul, .tnd-more-body dl { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.tnd-more-body dt { color: var(--ink); font-weight: 600; }
.tnd-more-body dd { margin: 0; }
.tnd-num { font-variant-numeric: tabular-nums lining-nums; }

/* bloc image + texte : téléphone, l'image puis le texte ; ordinateur, 7 colonnes d'image, 5 de texte (4 + une d'air) */
.tnd-pair { display: grid; gap: 1.5rem; align-items: center; }
.tnd-pair-media { aspect-ratio: 4 / 3; }
.tnd-pair-media.is-tall { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .tnd-pair { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .tnd-pair-media { grid-column: 1 / span 7; grid-row: 1; aspect-ratio: 7 / 5; }
  .tnd-pair-text { grid-column: 9 / span 4; grid-row: 1; }
  .tnd-pair.is-flip .tnd-pair-media { grid-column: 6 / span 7; }
  .tnd-pair.is-flip .tnd-pair-text { grid-column: 1 / span 4; }
  .tnd-pair-media.is-tall { grid-column: 1 / span 6; aspect-ratio: 4 / 5; }
  .tnd-pair.is-flip .tnd-pair-media.is-tall { grid-column: 7 / span 6; }
  .tnd-pair.is-flip:has(.is-tall) .tnd-pair-text { grid-column: 1 / span 5; }
}

/* tablette (744 à 899 px) : deux vraies colonnes, image 6 colonnes, texte 5 */
@media (min-width: 46.5rem) and (max-width: 899.98px) {
  .tnd-pair, .tnd-gain, .tnd-buy-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .tnd-pair-media, .tnd-pair-media.is-tall, .tnd-gain .tnd-photo, .tnd-buy-media { grid-column: 1 / span 6; grid-row: 1; }
  .tnd-pair-text, .tnd-gain > div, .tnd-buy .feature { grid-column: 8 / span 5; grid-row: 1; }
  .tnd-pair.is-flip .tnd-pair-media, .tnd-gain:nth-child(even) .tnd-photo { grid-column: 7 / span 6; }
  .tnd-pair.is-flip .tnd-pair-text, .tnd-gain:nth-child(even) > div { grid-column: 1 / span 5; }
  .tnd-pair .tnd-lead, .tnd-gain p { font-size: var(--t-m); }
}

/* ------------------------------------------------------------ premier écran : la photo plein cadre, le texte sur le mur */
/* Téléphone : photo portrait (4:5) sous le bandeau et l'en-tête, le titre posé sur le mur vert ; la phrase, le prix,
   le coloris et le bouton juste dessous, sur l'ivoire. Ordinateur : photo large plein écran, tout le texte en haut à
   gauche sur le mur, calé sur la grille, le produit en bas à droite. */
.tnd-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: calc(-1 * (var(--strip) + var(--hdr))); }
.tnd-hero-media { grid-area: 1 / 1; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--forest); }
.tnd-hero-media .tnd-swap, .tnd-hero-media picture, .tnd-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tnd-hero-media img { object-position: 50% 70%; }
.tnd-hero-media .tnd-hero-wide { display: none; }
.tnd-hero-inner, .tnd-hero-text { display: contents; }
.tnd-hero-text > h1 { grid-area: 1 / 1; align-self: start; position: relative; z-index: 1; padding: calc(var(--strip) + var(--hdr) + 1.25rem) var(--gutter) 0; color: var(--ivory); }
.tnd-hero .tnd-display { max-width: 10ch; }
.tnd-hero-sub { grid-row: 2; margin: 0; padding: 1.25rem var(--gutter) 0; font-size: var(--t-l); line-height: 1.45; color: var(--ink); max-width: 34ch; }
.tnd-hero-buy { grid-row: 3; padding: 1rem var(--gutter) 0; display: grid; gap: 0.9rem; }
.tnd-hero-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem; }
.tnd-hero-price strong { font-size: var(--t-xl); font-weight: 340; font-stretch: 112%; letter-spacing: -0.02em; }
.tnd-hero-price span { color: var(--muted); font-size: var(--t-s); }
.tnd-hero-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.tnd-colors { border: 0; margin: 0; padding: 0; display: flex; gap: 0.5rem; }
.tnd-colors legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tnd-color { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--t-s); font-weight: 500; cursor: pointer; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.tnd-color input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tnd-color:has(input:checked) { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.tnd-color:has(input:focus-visible) { outline: 2px solid var(--wood); outline-offset: 3px; }
.tnd-color .swatch { width: 0.95rem; height: 0.95rem; border-radius: 999px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.tnd-hero-cta { margin: 0; flex: 1 1 12rem; }
.tnd-hero-cta .btn { width: 100%; min-height: 3rem; padding-block: 0; }
.tnd-hero-note { color: var(--muted); font-size: var(--t-s); }
.tnd-hero-note .delivery-promise { margin: 0; }
@media (min-width: 900px) {
  .tnd-hero { height: max(100svh, 40rem); max-height: 62rem; color: var(--ivory); overflow: hidden; }
  .tnd-hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .tnd-hero-media .tnd-hero-wide { display: block; }
  .tnd-hero-media .tnd-hero-tall { display: none; }
  .tnd-hero-media .tnd-swap[hidden] { display: none; }
  .tnd-hero-media img { object-position: 100% 100%; }
  .tnd-hero { display: block; }
  .tnd-hero-inner { display: block; position: relative; z-index: 1; height: 100%; padding-top: calc(var(--strip) + var(--hdr) + clamp(1.5rem, 5vh, 3.5rem)); }
  .tnd-hero-text { display: block; }
  .tnd-hero-text > h1 { padding: 0; }
  .tnd-hero-sub, .tnd-hero-buy { padding: 0; }
  .tnd-hero .tnd-display { max-width: none; font-size: clamp(2.75rem, min(5.4vw, 9.5vh), 5.25rem); }
  .tnd-hero-sub { color: var(--ivory-muted); font-size: var(--t-l); max-width: 30ch; margin-top: 1.25rem; }
  .tnd-hero-buy { margin-top: clamp(1.5rem, 3.5vh, 2.25rem); padding-top: 0; gap: 0.85rem; max-width: 34rem; }
  .tnd-hero-price span, .tnd-hero-note { color: var(--ivory-muted); }
  .tnd-hero .tnd-color { border-color: var(--forest-line); }
  .tnd-hero .tnd-color .swatch { box-shadow: inset 0 0 0 1px rgba(244, 238, 227, 0.55); }
  /* Prix, puis coloris et bouton sur une ligne, puis la livraison dessous (Loom du 14/11 au soir : « plus équilibré »). */
  .tnd-hero-buy { grid-template-columns: minmax(0, 1fr); justify-items: start; max-width: 46rem; }
  .tnd-hero-note { margin-top: -0.2rem; }
  .tnd-hero-cta { flex: 0 0 auto; }
  .tnd-hero-cta .btn { width: auto; min-width: 14rem; padding-inline: 1.8em; }
}
.btn.tnd-btn-hero, button.tnd-btn-hero[type="submit"] { background: var(--forest); color: var(--ivory); }
@media (min-width: 900px) {
  .btn.tnd-btn-hero, button.tnd-btn-hero[type="submit"] { background: var(--ivory); color: var(--forest); }
  @media (hover: hover) { .btn.tnd-btn-hero:hover, button.tnd-btn-hero[type="submit"]:hover { background: #fff; color: var(--forest); } }
}

/* tablette en portrait (600 à 899 px) : la photo en 4:3 (le mur en haut pour le titre, le reformer entier en bas),
   le titre sur une ligne, la phrase, le prix et le bouton dessous, à largeur de lecture */
@media (min-width: 600px) and (max-width: 899.98px) {
  .tnd-hero-media { aspect-ratio: 4 / 3; }
  .tnd-hero-media img { object-position: 50% 90%; }
  .tnd-hero .tnd-display { max-width: none; font-size: clamp(2.75rem, 7vw, 4rem); }
  .tnd-hero-sub { max-width: 40ch; padding-top: 1.75rem; }
  .tnd-hero-buy { max-width: 40rem; padding-bottom: 0.5rem; }
  .tnd-hero-cta { flex: 0 0 auto; }
  .tnd-hero-cta .btn { width: auto; min-width: 15rem; padding-inline: 1.8em; }
}
/* écrans très larges : le premier écran garde une hauteur bornée et le reformer ne grossit plus au-delà de 1920 px */
@media (min-width: 1921px) { .tnd-hero-media img { object-position: 100% 82%; } }

/* ------------------------------------------------------------ quatre preuves : une ligne fine, sur l'ivoire */
.tnd-proofs ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--col-gap); border-bottom: 1px solid var(--line); }
.tnd-proofs li { display: grid; gap: 0.2rem; align-content: start; font-size: var(--t-s); line-height: 1.4; }
.tnd-proofs strong { font-weight: 600; font-size: var(--t-s); }
.tnd-proofs span { color: var(--muted); }
@media (min-width: 900px) {
  .tnd-proofs ul { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.5rem; }
  .tnd-proofs li + li { border-left: 1px solid var(--line); padding-left: var(--col-gap); }
}

/* ------------------------------------------------------------ le prix du poste */
.tnd-duel { margin: var(--stack) 0 0; display: grid; gap: 1rem; }
.tnd-duel div { display: grid; gap: 0.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.tnd-duel dt { font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tnd-duel dd { margin: 0; font-size: var(--t-xl); font-weight: 340; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.1; color: var(--muted); }
.tnd-duel .is-us dt { color: var(--forest); }
.tnd-duel .is-us dd { color: var(--forest); }
.tnd-duel .is-us { border-top-color: var(--forest); }

/* ------------------------------------------------------------ remboursé en 10 semaines : trois chiffres */
.tnd-figs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.tnd-figs li { display: grid; gap: 0.5rem; align-content: start; border-top: 1px solid var(--forest); padding-top: 1.1rem; }
.tnd-figs strong { font-size: var(--t-2xl); font-weight: 300; font-stretch: 112%; letter-spacing: -0.035em; line-height: 1; color: var(--forest); white-space: nowrap; }
.tnd-figs li > span { color: var(--muted); max-width: 24ch; }
.tnd-figs .tnd-ref { font-size: 0.4em; }
@media (min-width: 700px) { .tnd-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); } }

/* ------------------------------------------------------------ ce que vos élèves y gagnent : cinq images, cinq phrases */
.tnd-gains { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sec-y); }
.tnd-step { margin: 0 0 0.9rem; color: var(--muted); font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; }
.tnd-gains .tnd-h3 { max-width: 16ch; }
/* fiche produit : même bloc (product.js garde son ancienne forme) */
.tnd-gains-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sec-y); }
.tnd-gain { display: grid; gap: 1.5rem; align-items: center; }
.tnd-gain .tnd-photo { aspect-ratio: 4 / 3; }
.tnd-gain-n { display: block; margin: 0 0 0.9rem; color: var(--muted); font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; }
.tnd-gain h3 { font-size: var(--t-xl); font-weight: 360; letter-spacing: -0.025em; line-height: 1.1; margin: 0; max-width: 16ch; }
.tnd-gain p { font-size: var(--t-l); line-height: 1.5; color: var(--muted); margin: 1rem 0 0; max-width: 34ch; }
@media (min-width: 900px) {
  .tnd-gain { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .tnd-gain .tnd-photo { grid-column: 1 / span 7; aspect-ratio: 7 / 5; }
  .tnd-gain > div { grid-column: 9 / span 4; }
  .tnd-gain:nth-child(even) .tnd-photo { grid-column: 6 / span 7; grid-row: 1; }
  .tnd-gain:nth-child(even) > div { grid-column: 1 / span 4; grid-row: 1; }
}

/* ------------------------------------------------------------ les pièces (carrousel du moteur) */
.tnd-track { --carousel-item: 80%; --carousel-item-wide: calc((100% - 3 * var(--col-gap)) / 4); --carousel-gap: var(--col-gap); list-style: none; margin-block: 0; padding: 0; }
.tnd-shot figure { margin: 0; }
.tnd-shot .tnd-photo { aspect-ratio: 4 / 5; }
.tnd-shot figcaption { display: grid; gap: 0.2rem; padding-top: 0.9rem; }
.tnd-shot strong { font-weight: 600; }
.tnd-shot figcaption span { color: var(--muted); font-size: var(--t-s); }
#machine .carousel-nav { margin-top: 1.25rem; }
@media (min-width: 600px) and (max-width: 899.98px) { .tnd-track { --carousel-item: 44%; } }
@media (min-width: 900px) { #machine .carousel-nav { display: none; } }

/* ------------------------------------------------------------ crème ou noir */
.tnd-duo { display: grid; gap: var(--col-gap); }
.tnd-duo-item { margin: 0; position: relative; }
.tnd-duo-item .tnd-photo { aspect-ratio: 4 / 5; }
.tnd-duo-item figcaption { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.6rem; background: var(--paper); color: var(--ink); padding: 0.6rem 0.9rem; border-radius: var(--radius); font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; }
.tnd-duo .swatch { width: 0.9rem; height: 0.9rem; border-radius: 999px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
@media (min-width: 700px) { .tnd-duo { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ chez vous : le calcul */
.tnd-calc { text-align: center; }
.tnd-calc .eyebrow { margin-bottom: 1.25rem; }
.tnd-calc-big { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 0.18em; font-size: var(--t-num); font-weight: 250; font-stretch: 112%; letter-spacing: -0.05em; line-height: 0.95; color: var(--forest); font-variant-numeric: tabular-nums lining-nums; }
.tnd-calc-to { font-size: var(--t-xl); font-weight: 400; letter-spacing: 0; color: var(--muted); padding-inline: 0.15em; }
.tnd-calc-unit { flex: 0 0 100%; margin-top: 1.25rem; font-size: var(--t-l); font-weight: 400; font-stretch: 100%; letter-spacing: 0; line-height: 1.4; color: var(--ink); }
.tnd-calc .tnd-more-link { margin-top: 0.75rem; }

/* ------------------------------------------------------------ comparatif : le tableau, c'est tout */
.tnd-vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-m); }
.tnd-vs th, .tnd-vs td { padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tnd-vs thead th { font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); vertical-align: bottom; }
.tnd-vs th[scope="row"] { font-weight: 600; width: 18%; padding-left: 0; }
.tnd-vs .is-us { background: var(--forest); color: var(--ivory); border-bottom-color: var(--forest-line); font-weight: 600; }
.tnd-vs thead .is-us { color: var(--ivory); border-radius: var(--radius) var(--radius) 0 0; }
.tnd-vs tbody tr:last-child .is-us { border-radius: 0 0 var(--radius) var(--radius); }
.tnd-vs td { font-variant-numeric: tabular-nums; }
/* téléphone : le vrai tableau, défilant de côté ; la colonne des libellés reste en place, Tendu est la 1re machine */
@media (max-width: 47.99rem) {
  .tnd-vs-wrap { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tnd-vs-wrap::-webkit-scrollbar { display: none; }
  .tnd-vs { min-width: 40rem; font-size: var(--t-s); }
  .tnd-vs th, .tnd-vs td { padding: 0.85rem 0.75rem; }
  .tnd-vs thead th { letter-spacing: 0.06em; white-space: nowrap; }
  .tnd-vs th[scope="row"] { position: sticky; left: 0; z-index: 1; min-width: 7.5rem; padding-left: 0; background: var(--bg); }
  .tnd-vs thead td { position: sticky; left: 0; z-index: 1; background: var(--bg); }
}

/* ------------------------------------------------------------ avis : la note, trois phrases */
.tnd-avis-head { max-width: none; }
.tnd-rating { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; font-size: var(--t-l); }
.tnd-rating strong { font-weight: 600; }
.tnd-rating > span:last-child { color: var(--muted); }
.tnd-stars { color: var(--forest); letter-spacing: 0.1em; }
.tnd-saids { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.tnd-said { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.tnd-said blockquote { margin: 0; }
.tnd-said blockquote p { margin: 0; font-size: var(--t-xl); font-weight: 340; font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.tnd-said-by { margin: 0.9rem 0 0; font-size: var(--t-s); color: var(--muted); }
@media (min-width: 900px) { .tnd-saids { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); } }
/* fiche produit : la brique des avis du modèle */
.review-summary > h2 { font-size: var(--t-2xl); margin: 0 0 var(--stack); max-width: 16ch; }
.review-excerpts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.review-excerpt { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.review-excerpt-body { margin: 0; font-size: var(--t-l); line-height: 1.4; }
@media (min-width: 900px) { .review-excerpts { grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); } }
.mr-source, .review-summary .mr-source { color: var(--muted); font-size: var(--t-s); }
.review-stars { color: var(--forest); }
.mr-bar-fill { background: var(--forest); }

/* ------------------------------------------------------------ l'histoire : la seule section verte */
/* Ordinateur : une grille de 14 colonnes (marge, 12 colonnes de la page, marge) ; la photo va du bord gauche à la fin
   de la 7e colonne, le texte occupe les colonnes 9 à 12, comme partout ailleurs. */
.tnd-story { --side: calc(max(var(--gutter), (100% - var(--maxw)) / 2 + var(--gutter)) - var(--col-gap)); background: var(--forest); color: var(--ivory); }
.tnd-story-inner { display: grid; }
.tnd-story .tnd-photo { border-radius: 0; aspect-ratio: 3 / 2; background: var(--forest-deep); }
.tnd-story-text { padding: var(--sec-y) var(--gutter); align-self: center; }
.tnd-story .eyebrow { color: var(--wood); }
.tnd-story-body p { color: var(--ivory-muted); font-size: var(--t-l); line-height: 1.5; margin: 1.1rem 0 0; max-width: 36ch; }
.tnd-story a { color: var(--ivory); }
@media (min-width: 46.5rem) and (max-width: 899.98px) {
  .tnd-story-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tnd-story .tnd-photo { aspect-ratio: auto; min-height: 30rem; }
  .tnd-story-text { padding: var(--sec-y) var(--gutter) var(--sec-y) calc(var(--col-gap) * 1.5); }
}
@media (min-width: 900px) {
  .tnd-story-inner { grid-template-columns: var(--side) repeat(12, minmax(0, 1fr)) var(--side); column-gap: var(--col-gap); }
  .tnd-story .tnd-photo { grid-column: 1 / 9; grid-row: 1; aspect-ratio: auto; min-height: 36rem; }
  .tnd-story-text { grid-column: 10 / 14; grid-row: 1; padding: var(--sec-y) 0; }
}

/* ------------------------------------------------------------ questions (b.faq) */
.tnd-faq-grid { display: grid; gap: 1rem; }
@media (min-width: 1000px) {
  .tnd-faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .tnd-faq-grid > .tnd-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--hdr) + 2rem); }
  .tnd-faq-grid > .faq { grid-column: 6 / span 7; }
}
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 1.15rem 2.5rem 1.15rem 0; font-size: var(--t-l); font-weight: 500; font-stretch: 105%; letter-spacing: -0.01em; position: relative; }
.faq-item summary::before, .faq-item summary::after { content: ""; position: absolute; right: 0.25rem; top: 50%; width: 0.8rem; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease); }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-answer { padding: 0 0 1.5rem; color: var(--muted); max-width: 60ch; }
.tnd-contact { margin: 1.5rem 0 0; font-size: var(--t-s); }
.tnd-contact a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ------------------------------------------------------------ bloc d'achat : la photo posée sur la page, plus grande */
/* La photo du modèle (fond blanc) est fondue dans l'ivoire par mix-blend-mode: multiply : le blanc disparaît, l'ombre
   reste. La vignette du bloc vedette du moteur (image principale sur fond blanc) est remplacée par celle-ci. */
.tnd-buy > .tnd-wrap { border-top: 1px solid var(--line); padding-top: var(--sec-y); }
.tnd-buy-grid { display: grid; gap: 1.5rem; align-items: center; }
.tnd-buy-media { mix-blend-mode: multiply; }
.tnd-buy-img picture, .tnd-buy-img img { display: block; width: 100%; height: auto; }
.tnd-buy .feature { display: block; background: none; border: 0; padding: 0; box-shadow: none; }
.tnd-buy .feature-media { display: none; }
.tnd-buy .feature-info { display: grid; gap: 0.35rem; max-width: 30rem; }
.tnd-buy .feature-title { font-size: var(--t-xl); margin: 0; }
.tnd-buy .feature-title a { color: inherit; text-decoration: none; }
.tnd-buy .feature-sub { color: var(--muted); margin: 0 0 0.75rem; }
.tnd-buy .feature-price, .tnd-pdp .pdp-price { font-size: var(--t-xl); font-weight: 300; font-stretch: 112%; letter-spacing: -0.03em; margin: 0.5rem 0 0.35rem; line-height: 1; }
.pdp-shipping, .feature-delivery { color: var(--muted); margin: 0; }
.tnd-buy .pdp-form, .tnd-pdp .pdp-form { margin-top: 1.25rem; display: grid; gap: 1.1rem; }
.tnd-buy .feature-more a { color: var(--ink); font-size: var(--t-s); display: inline-flex; align-items: center; min-height: 2.75rem; }
.tnd-buy-pay { margin-top: var(--stack); padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
@media (min-width: 900px) {
  .tnd-buy-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .tnd-buy-media { grid-column: 1 / span 7; }
  .tnd-buy .feature { grid-column: 9 / span 4; }
}

/* ------------------------------------------------------------ notes et sources, juste au-dessus du pied de page */
.tnd-notes { padding-bottom: var(--sec-y); color: var(--muted); font-size: var(--t-s); line-height: 1.55; }
.tnd-notes-inner { border-top: 1px solid var(--line); padding-top: calc(var(--sec-y) / 2); }
.tnd-notes-title { margin: 0 0 1.25rem; font-family: var(--font-body); font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; color: var(--ink); }
.tnd-notes-list { list-style: none; margin: 0; padding: 0; }
.tnd-notes-list li { break-inside: avoid; margin: 0 0 0.9rem; scroll-margin-top: calc(var(--hdr) + 1.5rem); max-width: 68ch; }
.tnd-notes-list li:target { color: var(--ink); }
.tnd-notes-list strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .tnd-notes-list { columns: 2; column-gap: var(--col-gap); } }

/* ------------------------------------------------------------ variantes, cartes de quantité, livraison (bloc vedette et fiche) */
.variants { border: 0; padding: 0; margin: 0; }
.variants legend, .buy-choices-legend { font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; padding: 0; }
.variant-options { gap: 0.5rem; }
.variant-chip { border-radius: var(--radius); padding: 0.85rem 1.1rem; border: 1px solid var(--line); background: var(--paper); gap: 0.6rem; font-weight: 500; }
.variant-option input:checked + .variant-chip { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: var(--surface); }
.swatch { width: 1.1rem; height: 1.1rem; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.buy-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.buy-choice-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.buy-choice input:checked + .buy-choice-card { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: var(--surface); }
.buy-choice-name { font-weight: 600; }
.buy-choice-save { color: var(--forest); font-weight: 600; }
.buy-choice-badge { background: var(--forest); color: var(--ivory); border-radius: 2px; }
.pdp-delivery { background: var(--wood-soft); border-radius: var(--radius); padding: 0.9rem 1rem; font-size: var(--t-s); }
.stock-dot { background: var(--forest); }
.btn-block { width: 100%; padding-block: 1.25em; }
.buy-total { font-variant-numeric: tabular-nums; }
.buy-guarantee { margin: 0; text-align: center; font-size: var(--t-s); font-weight: 600; }

/* ------------------------------------------------------------ barre d'achat collante (accueil et fiche) */
.tnd-bar, .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--forest); color: var(--ivory); border-top: 1px solid var(--forest-line); padding-bottom: env(safe-area-inset-bottom); }
.tnd-bar[hidden] { display: none; }
.tnd-bar { transition: transform 380ms var(--ease); }
.tnd-bar.is-away { transform: translateY(110%); visibility: hidden; transition: transform 380ms var(--ease), visibility 0s linear 380ms; }
.tnd-bar-inner { padding-block: 0.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tnd-bar-text { margin: 0; display: grid; font-size: var(--t-m); line-height: 1.3; font-variant-numeric: tabular-nums; }
.tnd-bar-text span { font-size: var(--t-xs); }
.tnd-bar-text span, .sticky-buy .sticky-sub { color: var(--ivory-muted); font-variant-numeric: tabular-nums; }
.tnd-bar .btn, .sticky-buy .btn { background: var(--ivory); color: var(--forest); padding: 0.95em 1.1em; flex: none; font-stretch: 105%; letter-spacing: 0.08em; }
.sticky-buy.is-hidden { visibility: hidden; }
.sticky-sub { font-size: var(--t-xs); }
@media (max-width: 23.99rem) { .sticky-sub { font-size: 0; } .sticky-sub > [data-variant-label], .sticky-sub > :only-child { font-size: var(--t-xs); } }
.page-home .site-footer { padding-bottom: 5rem; }

/* ------------------------------------------------------------ fiche produit */
main > nav.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 1rem var(--gutter) 0; }
.breadcrumb ol { font-size: var(--t-xs); letter-spacing: 0.04em; }
@media (max-width: 47.99rem) { .breadcrumb ol { flex-wrap: wrap; row-gap: 0.25rem; } .breadcrumb li { min-width: 0; } .breadcrumb li:last-child { flex: 1 1 100%; white-space: normal; } .breadcrumb li:last-child::before { display: none; } .breadcrumb li:last-child span { overflow: visible; text-overflow: clip; } }
.tnd-pdp { max-width: var(--maxw); margin-inline: auto; padding: 1rem var(--gutter) clamp(3rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.tnd-pdp > * { min-width: 0; }
.tnd-pdp-panel { display: grid; gap: 0.5rem; align-content: start; }
.rating-line { margin: 0; font-size: var(--t-s); }
.rating-line a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); text-decoration-color: var(--line); }
.tnd-pdp-title { font-size: var(--t-xl); margin: 0; letter-spacing: -0.04em; }
.tnd-pdp-sub { color: var(--muted); margin: 0.25rem 0 0.5rem; font-size: var(--t-l); line-height: 1.4; }
.tnd-pdp .pdp-price-block { border: 0; padding: 0; margin: 0.25rem 0 0; }
.pdp-highlights { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; font-size: var(--t-s); font-weight: 500; }
.pdp-highlights .icon { color: var(--forest); }
.goes-with { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.goes-with .mini-title { display: inline-flex; align-items: center; min-height: 2.75rem; }
.goes-with h2, .goes-with h3 { font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.75rem; }
.pdp-accordions { margin-top: 1.25rem; border-top: 1px solid var(--ink); }
.pdp-acc { border-bottom: 1px solid var(--line); }
.pdp-acc > summary { min-height: 3.5rem; font-weight: 600; }
.pdp-accordions .faq { border-top: 0; }
.pdp-accordions .faq-item summary { font-size: var(--t-m); padding-block: 0.9rem; }
.gallery-track { border-radius: var(--radius); background: #fff; }
.gallery-thumbs a { border-radius: 2px; }
.gallery-thumbs a[aria-current="true"] { box-shadow: 0 0 0 1.5px var(--forest); border-color: var(--forest); }
@media (min-width: 46.5rem) and (max-width: 999.98px) {
  .tnd-pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .tnd-pdp-media { position: sticky; top: calc(var(--hdr) + 1rem); }
}
@media (min-width: 1000px) {
  .tnd-pdp { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .tnd-pdp-media { position: sticky; top: calc(var(--hdr) + 1rem); }
}
.tnd-after { display: grid; gap: 3rem; }
.pdp-section > h2, .reviews h2, .model-reviews h2 { font-size: var(--t-xl); }
.tnd-specs { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.tnd-specs th, .tnd-specs td { padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; font-weight: 400; }
.tnd-specs th { color: var(--muted); width: 34%; }

/* ------------------------------------------------------------ collection, cartes */
.tnd-coll-head { max-width: 46rem; margin-bottom: 2.5rem; }
.card { border: 0; background: none; border-radius: 0; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; border-radius: var(--radius); border: 0; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img[src*="/guide-"] { object-fit: contain; }
.card-body { padding: 0.9rem 0 0; }
.card-title { font-size: var(--t-l); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.card-link[href*="/produits/guide-"] .card-meta { display: none; }
.guide-link-title, .guide-card-title { font-weight: 600; }

/* ------------------------------------------------------------ pages de contenu, page « Pour les studios » */
.tnd-page { max-width: var(--maxw); margin-inline: auto; padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) clamp(4rem, 9vw, 7rem); display: grid; gap: 2rem; }
.tnd-page-title { font-size: var(--t-2xl); margin: 0; }
.tnd-page-body { max-width: 44rem; }
.tnd-page-body h2 { font-size: var(--t-xl); margin: 2.5rem 0 0.75rem; }
.tnd-page-body h3 { font-size: var(--t-l); margin: 1.75rem 0 0.5rem; }
@media (min-width: 1000px) { .tnd-page { grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; } .tnd-page-head { position: sticky; top: calc(var(--hdr) + 2rem); } }
.tnd-pro-hero { background: var(--forest); color: var(--ivory); display: grid; }
.tnd-pro-hero .tnd-photo { border-radius: 0; aspect-ratio: 3 / 2; background: var(--forest-deep); }
.tnd-pro-hero-text { padding: clamp(2.5rem, 7vw, 5rem) var(--gutter); align-self: center; }
.tnd-pro-hero .eyebrow { color: var(--wood); }
.tnd-pro-hero .tnd-lead { color: var(--ivory-muted); }
@media (min-width: 900px) { .tnd-pro-hero { grid-template-columns: 1fr 1.1fr; } .tnd-pro-hero .tnd-photo { aspect-ratio: auto; min-height: 30rem; } }
.tnd-split { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .tnd-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 5rem; align-items: start; } }
.tnd-split { grid-template-columns: minmax(0, 1fr); }
.tnd-split > * { min-width: 0; }
.tnd-split > div:has(> .tnd-qty) { overflow-x: auto; }
.tnd-split > .tnd-head { margin-bottom: 0; }
.tnd-split > .tnd-head h2 { font-size: var(--t-xl); margin: 0; }
.tnd-split > .tnd-head .tnd-lead { font-size: var(--t-m); }
.tnd-soft { max-width: none; background: var(--wood-soft); }
.tnd-soft > * { max-width: var(--maxw); margin-inline: auto; }
.tnd-range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.25rem 1rem; padding-block: 0.9rem; }
.tnd-range output { font-size: var(--t-l); font-weight: 600; font-variant-numeric: tabular-nums; }
.tnd-range input { grid-column: 1 / -1; width: 100%; height: 2.75rem; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; appearance: none; -webkit-appearance: none; accent-color: var(--forest); }
.tnd-range input::-webkit-slider-runnable-track { height: 2px; background: var(--forest); }
.tnd-range input::-moz-range-track { height: 2px; background: var(--forest); }
.tnd-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; margin-top: -0.7rem; border-radius: 999px; background: var(--forest); border: 3px solid var(--wood-soft); box-shadow: 0 0 0 1px var(--forest); }
.tnd-range input::-moz-range-thumb { width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--forest); border: 3px solid var(--wood-soft); }
.tnd-sim-result { display: grid; gap: 1rem 2rem; margin-top: 1.25rem; padding-block: 1.5rem; border-top: 1px solid var(--forest); border-bottom: 1px solid var(--forest); }
@media (min-width: 34rem) { .tnd-sim-result { grid-template-columns: 1fr 1fr; } }
.tnd-figure { margin: 0; display: grid; gap: 0.25rem; }
.tnd-figure strong { font-size: var(--t-2xl); font-weight: 300; font-stretch: 112%; letter-spacing: -0.04em; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.tnd-figure span { font-size: var(--t-s); color: var(--muted); }
.tnd-sim-loss { font-size: var(--t-l); font-weight: 500; margin: 1.5rem 0 0.25rem; }
.tnd-sim-solo { margin: 0; }
.tnd-fine { font-size: var(--t-s); color: var(--muted); max-width: 62ch; margin: 1.25rem 0 0; }
.tnd-ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tnd-ledger th, .tnd-ledger td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.tnd-ledger thead th { font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); vertical-align: bottom; }
.tnd-ledger tbody th { font-weight: 600; white-space: nowrap; }
@media (max-width: 26rem) { .tnd-qty { font-size: var(--t-s); } .tnd-qty th, .tnd-qty td { padding-right: 0.5rem; } }
.tnd-actions { margin: 1.5rem 0 0; }
.tnd-reach { display: grid; gap: 0.25rem; }
.tnd-reach a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--t-xl); font-weight: 340; font-stretch: 112%; letter-spacing: -0.02em; }

/* ------------------------------------------------------------ panier, tiroir, paiement */
.cart-summary { border-radius: var(--radius); }
.cart-line img { border-radius: 2px; background: #fff; }
.drawer { border-radius: 0; background: var(--paper); }
.drawer-actions a.btn { display: block; text-align: center; text-wrap: balance; }
.drawer .btn { text-transform: none; letter-spacing: 0.01em; font-stretch: 100%; font-size: var(--t-s); }
.co-header .brand .brand-logo { height: 1.25rem; }

/* ------------------------------------------------------------ pied de page */
.site-footer { background: var(--forest-deep); color: var(--ivory-muted); border: 0; margin-top: 0; padding-top: clamp(3.5rem, 8vw, 6rem); }
.site-footer a, .site-footer .link-button { color: var(--ivory); }
.site-footer .footer-title { color: var(--wood); font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer .footer-logo .brand-logo { filter: brightness(0) invert(0.94) sepia(0.1); height: 1.4rem; width: auto; }
.tnd-footer-claim { font-size: var(--t-xl); font-weight: 300; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.05; color: var(--ivory); margin: 1.5rem 0 0.5rem; }
.tnd-footer-more { list-style: none; margin: 0; padding: 0; }
.tnd-footer-more a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer .footer-note { color: var(--ivory-muted); }
.site-footer .footer-bottom { border-top: 1px solid var(--forest-line); color: var(--ivory-muted); }
.footer-law a, .footer-law .link-button { min-width: 2.75rem; }

/* ------------------------------------------------------------ mouvement (public/anim.js pose .reveal-wait puis .is-revealed) */
/* L'image du premier écran se pose (léger zoom arrière), son texte entre en cascade ; apparitions au défilement ;
   fondu au changement de coloris ; léger zoom des photos au survol. Rien sous « réduire les animations ». */
@media (prefers-reduced-motion: no-preference) {
  .reveal-wait { opacity: 0; transform: translateY(20px); }
  .is-revealed { opacity: 1; transform: none; transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
  .tnd-hero-media .tnd-swap:not([hidden]) img { animation: tnd-settle 2400ms var(--ease) both; }
  @keyframes tnd-settle { from { transform: scale(1.07); } to { transform: none; } }
  .tnd-hero-text > *, .tnd-hero-buy { animation: tnd-rise 1000ms var(--ease) both; }
  .tnd-hero-text > :nth-child(2) { animation-delay: 120ms; }
  .tnd-hero-buy { animation-delay: 240ms; }
  @keyframes tnd-rise { from { opacity: 0; transform: translateY(14px); } }
  .tnd-swap, .tnd-buy-img { animation: tnd-fade 500ms var(--ease); }
  @keyframes tnd-fade { from { opacity: 0; } }
  .tnd-photo img { transition: transform 900ms var(--ease); }
  @media (hover: hover) { .tnd-pair:hover .tnd-photo img, .tnd-gain:hover .tnd-photo img, .tnd-shot:hover .tnd-photo img, .tnd-duo-item:hover .tnd-photo img { transform: scale(1.03); } }
}

/* ------------------------------------------------------------ panier */
.tnd-cart { max-width: var(--maxw); margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) clamp(4rem, 8vw, 6rem); }
.tnd-cart-title { font-size: var(--t-2xl); margin: 0 0 2rem; }

/* ------------------------------------------------------------ échelle : les tailles du moteur ramenées aux jetons */
.delivery-note, .footer-delivery, .gallery-count, .buy-choice-save, .buy-choice-detail, .mr-count { font-size: var(--t-xs); }
.model-reviews, .reviews, .goes-with, .guides-block { font-size: var(--t-s); }
.model-reviews p, .model-reviews li, .model-reviews h3, .model-reviews h4, .model-reviews strong, .model-reviews a, .model-reviews span, .mr-average strong { font-size: inherit; }
.mr-body, .mr-source, .guide-link-desc, .review-body { max-width: 56ch; }
.carousel-dot { width: 2.75rem; }
.cart-line-title { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ------------------------------------------------------------ offre en un clic (guide PDF) : panier et tiroir */
.cart-bump { border: 1px solid var(--forest); border-radius: var(--radius); background: var(--wood-soft); padding: 1.1rem 1.1rem 1.2rem; }
.cart-bump-title { color: var(--forest); font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; }
.bump-media img { border-radius: 2px; background: #fff; }
.bump-name { color: var(--ink); font-size: var(--t-m); font-weight: 600; line-height: 1.25; text-decoration: none; }
.bump-price { font-size: var(--t-m); font-weight: 600; color: var(--forest); }
.bump-sub, .cart-bump-sub { font-size: var(--t-s); color: var(--muted); }
.bump-add { background: var(--forest); color: var(--ivory); box-shadow: none; }

/* ------------------------------------------------------------ histoire à la première personne, guides signés */
.tnd-story-sign { margin: 1.5rem 0 0; color: var(--wood); font-size: var(--t-xs); font-weight: 600; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; }
.tnd-story-body p { max-width: 38ch; }
.tnd-byline { margin: 1rem 0 0; }
.tnd-page-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--t-s); }
.tnd-page-body th, .tnd-page-body td { padding: 0.75rem 0.9rem 0.75rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tnd-page-body thead th { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.tnd-page-body { overflow-wrap: break-word; }
.tnd-page-body th, .tnd-page-body td { overflow-wrap: normal; word-break: normal; }
.tnd-page.guide .tnd-page-title { font-size: var(--t-xl); line-height: 1.08; }
@media (max-width: 40rem) { .tnd-page-body table { display: block; overflow-x: auto; } .tnd-page-body th, .tnd-page-body td { min-width: 7.5rem; } }
.tnd-page { grid-template-columns: minmax(0, 1fr); }
.tnd-page > * { min-width: 0; }
@media (min-width: 1000px) { .tnd-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
