/* Boutique chasse, direction « Terrain » (tour 3, choisie par Alex le 19/11/2026) : l'équipement se juge sur la carte
   du territoire. Papier de carte, encre vert-noir, capitales étroites des panneaux (Antonio), texte en Sofia Sans,
   un seul orange de battue en signal (tracés de la carte, focus). Aucune ombre, rayon unique de 3 px, des filets.
   Feuille chargée après public/base.css et theme.css ; les briques du moteur gardent leurs classes, redessinées ici.
   Marges en propriétés physiques (padding-top/bottom/left/right) : le détecteur impeccable lit mal les logiques. */

:root {
  --tr-container: 85rem;
  --gutter: 64px;
  --tr-gap: 32px;
  --tr-section: 144px;
  --tr-text-xs: 0.8125rem;
  --tr-text-sm: 0.9375rem;
  --tr-text-md: 1.0625rem;
  --tr-text-lead: 1.375rem;
  --tr-text-xl: 2rem;       /* échelle de 7 tailles : 13, 15, 17, 22, 32, titres de section, titre d'accueil */
  --tr-text-2xl: 2rem;
  --tr-display: clamp(2rem, 3.2vw + 1.1rem, 4.25rem);   /* titre d'accueil : une ligne, plus petit que les photos */
  --tr-h2: clamp(2.3rem, 3vw + 1rem, 3.7rem);
  --tr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --c-champ: #f4f1e1;
  --c-bois: #bbdfb3;
  --c-bois-2: #a1cc98;
  --c-bois-ink: #314a2b;
  --c-eau: #65afd2;
  --c-eau-2: #bedded;
  --c-courbe: #b99777;
  --c-chemin: #4c473c;
}

/* ---------------------------------------------------------------- base */
html { scrollbar-color: var(--muted) var(--bg); scroll-padding-top: 96px; }
body { font-size: var(--tr-text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; font-synthesis: none; }
::selection { background: color-mix(in srgb, var(--tr-signal) 26%, transparent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--tr-signal); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
/* Titres longs des briques (cartes, panier, « Complétez votre affût », guides) : « pretty » évite le mot seul en dernière
   ligne là où « balance » le laissait (titres de recherche de 64 signes dans des colonnes étroites). */
.guide-link-title, .tr-guide__titre { text-wrap: pretty; }
.card-title { text-wrap: balance; }   /* titres de recherche des cartes : quatre lignes au plus, sans « téléphone » seul */
.cart-line-title, .mini-title { text-wrap: balance; }   /* trois lignes au plus : l'équilibre ne laisse pas « téléphone » seul */
a.cart-line-title { display: block; padding-top: 9px; padding-bottom: 9px; margin-top: -9px; margin-bottom: -9px; }   /* bloc : l'équilibre s'applique à ses lignes ; 44 px de zone de toucher sans rien déplacer */
p, li, dd, figcaption { text-wrap: pretty; }
/* <picture> est en display: contents (base.css) : ses <source> ne doivent pas devenir des cases de grille. */
picture > source { display: none; }
.wrap, .tr-wrap { width: 100%; max-width: var(--tr-container); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.tr-h1 { font-size: var(--tr-h2); line-height: 1.3; text-transform: uppercase; margin: 0 0 24px; max-width: 18ch; }
.tr-h2 { font-size: var(--tr-h2); line-height: 1.3; text-transform: uppercase; margin: 0; max-width: 16ch; }
.tr-lien { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .tr-lien:hover { text-decoration-color: var(--tr-signal); text-decoration-thickness: 2px; } }

/* boutons : un plein (encre) par écran, les autres au trait ; la vitrine de l'accueil en a un par appareil (deux choix égaux) */
.btn { border-radius: var(--radius); font: 600 var(--tr-text-md)/1 var(--font-body); min-height: 50px; padding: 0 24px; letter-spacing: 0; }
.btn-primary { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--tr-ink-2); color: var(--bg); } }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-secondary:hover { background: var(--tr-paper-2); } }
.btn:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- en-tête et logo */
.tr-entete { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.tr-entete__rang { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
/* Logo : SVG choisi dans shop.json (« logo »), dessiné à partir du nom ; même hauteur optique pour les cinq pistes. */
.brand-logo { display: block; height: 34px; width: auto; max-width: 15rem; }
.tr-nav { margin-left: 8px; }
.tr-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.tr-nav a, .tr-entete .cart-link { color: var(--tr-ink-2); text-decoration: none; font-size: var(--tr-text-sm); min-height: 44px; display: inline-flex; align-items: center; }
.tr-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tr-signal); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
@media (hover: hover) and (pointer: fine) { .tr-nav a:hover, .tr-entete .cart-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; } }
.tr-entete .cart-link { margin-left: auto; font-weight: 400; font-variant-numeric: tabular-nums; gap: 8px; min-width: 44px; justify-content: center; }
.cart-count { background: var(--ink); color: var(--bg); border-radius: var(--radius); font-weight: 600; }
.tr-menu { display: none; position: static; }
.tr-menu__bouton { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--tr-text-sm); font-weight: 600; }
.tr-menu__bouton::-webkit-details-marker { display: none; }
.tr-menu__traits { width: 18px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) top / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) bottom / 100% 2px no-repeat; }
.tr-menu:not([open]) .tr-menu__liste { display: none; }
.tr-menu__liste { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
.tr-menu__liste ul { list-style: none; margin: 0; padding: 0; display: grid; }
.tr-menu__liste a { min-height: 48px; display: flex; align-items: center; text-decoration: none; font-size: var(--tr-text-lead); border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- premier écran : les deux appareils (V3, 20/11/2026)
   Alex : « il faudrait direct le visu des deux produits : là c'est du texte, on a la flemme de lire ». Un titre court,
   puis deux tuiles côte à côte à toutes les largeurs, téléphone compris : la photo où l'appareil se reconnaît, son nom,
   son prix, à quoi il sert, le bouton vers sa fiche, et ses caractéristiques dessous (hors du premier écran). Chaque
   tuile est une sous-grille : nom, prix, phrase, bouton et caractéristiques tombent sur les mêmes rangées d'une tuile à
   l'autre. Ordinateur et tablette : la hauteur des photos suit celle de l'écran (svh), les boutons restent visibles. */
.tr-btn--fiche { justify-content: space-between; gap: 16px; min-height: 56px; }
.tr-btn__prix { font-family: var(--font-display); font-weight: 700; font-size: var(--tr-text-lead); font-variant-numeric: tabular-nums; }
.tr-prix { font-family: var(--font-display); font-size: var(--tr-text-2xl); font-weight: 700; white-space: nowrap; margin: 0; font-variant-numeric: tabular-nums; }
.tr-fiche { margin: 0; display: grid; gap: 8px; }
.tr-fiche div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; }
.tr-fiche dt { color: var(--muted); font-size: var(--tr-text-sm); padding-top: 1px; }
.tr-fiche dd { margin: 0; }

.tr-vitrine { padding-top: 40px; }
.tr-vitrine__titre { font-size: var(--tr-display); line-height: 1.1; text-transform: uppercase; margin: 0 0 32px; text-wrap: balance; }
.tr-vitrine__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--tr-gap); }
.tr-vitrine__produit { display: grid; grid-row: span 6; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; align-items: baseline; min-width: 0; }
.tr-vitrine__image { grid-column: 1 / -1; grid-row: 1; align-self: stretch; display: block; position: relative; overflow: hidden; background: var(--tr-paper-2); height: clamp(14rem, calc(100vh - 25.5rem), 35rem); height: clamp(14rem, calc(100svh - 25.5rem), 35rem); }
.tr-vitrine__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Caméra au givre (image carrée) : sur un grand écran, le panneau et la caméra entiers ; quand la photo s'aplatit
   (écran de moins de 860 px de haut), la caméra reste entière et le haut du panneau sort du cadre. */
.tr-vitrine__produit--1 .tr-vitrine__image img { object-position: 50% 40%; }
@media (max-height: 53.75rem) { .tr-vitrine__produit--1 .tr-vitrine__image img { object-position: 50% 66%; } }
.tr-vitrine__produit--2 .tr-vitrine__image img { object-position: 50% 56%; }
/* nom et prix sur une ligne (ordinateur) ; plus étroit, le bloc s'efface (display: contents) et chacun prend sa rangée */
.tr-vitrine__tete { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 20px; }
.tr-vitrine__nom { margin: 0; font-family: var(--font-body); font-size: var(--tr-text-xl); font-weight: 600; line-height: 1.2; text-wrap: balance; }
.tr-vitrine__nom a { display: block; text-decoration: none; padding-top: 9px; padding-bottom: 9px; margin-top: -9px; margin-bottom: -9px; }
@media (hover: hover) and (pointer: fine) { .tr-vitrine__nom a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; } }
.tr-vitrine__usage { grid-column: 1; grid-row: 3; align-self: stretch; display: flex; align-items: center; margin: 12px 0 0; padding: 16px 24px 0 0; border-top: 1px solid var(--line); color: var(--tr-ink-2); }
.tr-vitrine__action { grid-column: 2; grid-row: 3; align-self: stretch; margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.tr-vitrine__action .btn { white-space: nowrap; }
.tr-vitrine__fiche { grid-column: 1 / -1; grid-row: 6; align-self: start; margin-top: 40px; }
/* ---------------------------------------------------------------- sections */
.tr-section { padding-top: var(--tr-section); }
.tr-section--haut { padding-top: 48px; }
.tr-tete { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--tr-gap); align-items: end; margin-bottom: 64px; }
.tr-tete > h1, .tr-tete > h2 { grid-column: 1 / span 7; }
.tr-tete > p, .tr-tete > .tr-tete__dit { grid-column: 8 / span 5; font-size: var(--tr-text-lead); line-height: 1.5; color: var(--tr-ink-2); margin: 0; max-width: 40ch; }
.tr-tete__dit p { margin: 0; }

/* ---------------------------------------------------------------- sur un arbre, face au passage (photos de terrain) */
.tr-poser { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--tr-gap); align-items: start; }
.tr-poser__etape { display: grid; gap: 20px; align-content: start; }
.tr-poser__photo { margin: 0; position: relative; overflow: hidden; background: var(--tr-paper-2); }
.tr-poser__etape--1 .tr-poser__photo, .tr-poser__etape--3 .tr-poser__photo { aspect-ratio: 1 / 1; }
.tr-poser__etape--2 .tr-poser__photo { aspect-ratio: 3 / 2; }
.tr-poser__photo img, .tr-poser__photo picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-poser__photo img { object-fit: cover; }
.tr-poser__texte { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--ink); padding-top: 14px; }
.tr-poser__num { font-family: var(--font-display); font-size: var(--tr-text-xl); font-weight: 500; color: var(--muted); line-height: 1.1; }
.tr-poser__texte h3 { font-family: var(--font-body); font-size: var(--tr-text-md); font-weight: 700; margin: 0 0 4px; }
.tr-poser__texte p { margin: 0; color: var(--tr-ink-2); max-width: 44ch; }
.tr-poser__pied { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--tr-gap); margin-top: 40px; align-items: start; }
.tr-poser__actions { grid-column: 2 / span 2; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* ---------------------------------------------------------------- la saison */
.tr-saison { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--tr-gap); }
.tr-moment { display: grid; gap: 16px; align-content: start; }
.tr-moment img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; }
.tr-moment--1 img { object-position: 46% 40%; }
.tr-moment--3 img { object-position: 50% 45%; }
.tr-moment__quand { font-size: var(--tr-text-sm); color: var(--muted); border-top: 1px solid var(--ink); padding-top: 12px; margin: 0; }
.tr-moment__titre { font-size: var(--tr-text-xl); text-transform: uppercase; line-height: 1.18; margin: 0; }
.tr-moment__dit { color: var(--tr-ink-2); margin: 0; }

/* ---------------------------------------------------------------- comment ça marche, l'abonnement (bande) */
.tr-bande { background: var(--tr-paper-2); padding-bottom: 96px; margin-top: var(--tr-section); padding-top: 96px; }
.tr-marche { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--tr-gap); align-items: center; }
.tr-marche__dit { font-size: var(--tr-text-lead); line-height: 1.5; margin: 24px 0 0; max-width: 40ch; color: var(--tr-ink-2); }
.tr-etapes { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ink); max-width: 42rem; }
.tr-etapes li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 16px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tr-etapes__num { font-family: var(--font-display); font-size: var(--tr-text-xl); font-weight: 500; color: var(--muted); line-height: 1.2; }
.tr-etapes h3 { font-family: var(--font-body); font-size: var(--tr-text-md); font-weight: 700; margin: 0 0 4px; }
.tr-etapes p { margin: 0; color: var(--tr-ink-2); }
.tr-abo { margin-top: 40px; max-width: 42rem; background: var(--bg); padding: 28px 32px 30px; border-radius: var(--radius); }
.tr-abo__q { font-size: var(--tr-text-xl); text-transform: uppercase; line-height: 1.2; margin: 0 0 12px; }
.tr-abo__r { font-size: var(--tr-text-lead); line-height: 1.5; margin: 0; }
.tr-abo__aussi { margin: 12px 0 0; color: var(--tr-ink-2); }
.tr-marche__reseau { margin: 24px 0 0; color: var(--tr-ink-2); max-width: 60ch; }

/* ---------------------------------------------------------------- le téléphone (photo d'un piège photographique) */
.tr-telephone { margin: 0; justify-self: center; width: min(100%, 20rem); }
.tr-telephone__corps { background: var(--ink); padding: 12px; border-radius: 44px; }
.tr-telephone__ecran { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 9 / 19; background: #000; }
.tr-telephone__ecran img, .tr-telephone__ecran picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-telephone__ecran img { object-fit: cover; object-position: 50% 100%; }
.tr-telephone__tampon { position: absolute; left: 0; right: 0; top: 0; margin: 0; display: flex; justify-content: space-between; padding: 24px 22px 9px; background: var(--ink); color: #f7f7f4; font-size: var(--tr-text-sm); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.tr-telephone__note { margin-top: 16px; font-size: var(--tr-text-xs); color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- une personne vous répond (filets par l'interstice) */
.tr-service { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tr-service > div { padding-top: 24px; padding-right: 24px; padding-bottom: 8px; display: grid; gap: 8px; align-content: start; }
.tr-service > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.tr-service h3 { font-family: var(--font-body); font-size: var(--tr-text-md); font-weight: 600; margin: 0; }
.tr-service p { margin: 0; color: var(--tr-ink-2); }
.tr-service__grand { font-family: var(--font-display); font-size: var(--tr-text-2xl); font-weight: 700; color: var(--ink); line-height: 1.1; overflow-wrap: anywhere; }
.tr-service p.tr-service__grand { color: var(--ink); }
.tr-service__grand a { text-decoration: none; display: inline-block; padding-top: 5px; padding-bottom: 5px; margin-top: -5px; margin-bottom: -5px; }
.tr-service__grand--mail { font-size: var(--tr-text-xl); }
@media (hover: hover) and (pointer: fine) { .tr-service__grand a:hover { text-decoration: underline; text-decoration-thickness: 2px; } }

/* ---------------------------------------------------------------- questions et guides */
.tr-qg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--tr-gap); }
.tr-questions { padding-right: 32px; }
.tr-qg .tr-h2 { margin-bottom: 40px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; font-size: var(--tr-text-lead); font-weight: 600; }
.faq-item summary::after { content: ""; position: static; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform 220ms var(--tr-ease); }
.faq-item[open] summary::after { content: ""; transform: rotate(225deg) translateY(-3px); }
.faq-answer { color: var(--tr-ink-2); padding-bottom: 24px; max-width: 62ch; }
.faq-answer p { margin: 0 0 8px; }
.tr-guides__liste { list-style: none; margin: 0 0 16px; padding: 0; }
.tr-guide { display: grid; gap: 8px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--ink); text-decoration: none; }
.tr-guide__titre { font-family: var(--font-display); font-weight: 700; font-size: var(--tr-text-xl); text-transform: uppercase; line-height: 1.22; }
.tr-guide__dit { color: var(--tr-ink-2); }
@media (hover: hover) and (pointer: fine) { .tr-guide:hover .tr-guide__titre { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; } }
.tr-guides__liste--grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--tr-gap); }

/* ---------------------------------------------------------------- crédits et pied de page */
.tr-credits { margin-top: 96px; }
.tr-credits p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--tr-text-xs); color: var(--muted); max-width: 56ch; }
.tr-credits a { color: inherit; }
.site-footer { margin-top: 48px; background: var(--tr-paper-3); border-top: 0; padding-top: 96px; }
.footer-grid { gap: var(--tr-gap); }
@media (min-width: 60.0625rem) {
  /* Pied de page sur la grille de 12 colonnes : 6, 3, 3 (ses colonnes tombent sur celles des blocs à deux colonnes). */
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-grid > .footer-brand { grid-column: span 6; }
  .footer-grid > section:not(.footer-brand) { grid-column: span 3; }
}
.footer-logo .brand-logo { height: 52px; max-width: 20rem; }
.tr-pied__phrase { margin: 24px 0 0; max-width: 34ch; color: var(--tr-ink-2); }
.footer-title { font-family: var(--font-body); font-size: var(--tr-text-sm); font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; }
.footer-links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { text-decoration: underline; } }
.footer-note { color: var(--tr-ink-2); }
.footer-bottom { color: var(--muted); font-size: var(--tr-text-xs); }
.footer-law a, .footer-law .link-button { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
/* Briques du moteur, cibles de 44 px sans rien déplacer : téléphone et e-mail de la carte « Nos coordonnées » (20 px de
   haut) et champ du nombre de « Autre quantité » (40 px de large). Même défaut sur les trois boutiques en ligne : à
   corriger dans public/base.css sur décision d'Alex (le changer là ferait bouger Tendu, Ronronnet et Maison Sorgue). */
.contact-card a { display: inline-block; padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }
.buy-other-input { width: 2.75rem; }
.gallery-count { border-radius: var(--radius); }
.footer-note, .muted, .mini-title, .mini-price { font-size: var(--tr-text-sm); }
.buy-choice-badge { font-size: var(--tr-text-xs); }
.buy-other-btn { font-size: var(--tr-text-lead); }

/* ---------------------------------------------------------------- fiche produit */
.breadcrumb ol { padding-top: 16px; font-size: var(--tr-text-sm); }
.tr-pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--tr-gap); align-items: start; padding-top: 8px; }
.tr-pdp__achat { padding-left: 16px; }
.tr-pdp__media { min-width: 0; position: sticky; top: 24px; container-type: inline-size; }
.gallery-track { background: var(--tr-paper-2); border: 0; border-radius: 0; }
/* La photo jamais plus haute que l'écran visible (portable 1366 × 643 : l'appareil sortait du premier écran) ; carrée
   dès que la place le permet (téléphone, grand écran). */
.gallery-slide { aspect-ratio: auto; height: min(100cqw, max(18rem, calc(100svh - 11rem))); grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
/* Barre d'achat collante aussi sur ordinateur, tant que le bouton d'achat n'est pas à l'écran : sur un portable, il
   tombe sous le premier écran (cartes de quantité au-dessus). Le moteur la retire dès 900 px ; elle revient ici. */
@media (min-width: 900px) {
  .sticky-buy { display: block; }
  .page-product .site-footer { padding-bottom: 6rem; }
}
.gallery-slide img { mix-blend-mode: multiply; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--tr-gap); overflow: visible; }
.gallery-thumbs a { border-radius: 0; border-color: transparent; background: var(--tr-paper-2); width: auto; height: auto; aspect-ratio: 1 / 1; }
.gallery-thumbs a[aria-current="true"] { outline: 1px solid var(--ink); outline-offset: -1px; }
.gallery-thumbs img { mix-blend-mode: multiply; }
.tr-pdp__achat { min-width: 0; display: grid; gap: 0; }
.tr-pdp__marque { font-size: var(--tr-text-sm); color: var(--muted); margin: 0 0 8px; }
/* Titre de recherche (64 signes) et prix sur le pas de 32 px de l'échelle : 2 lignes sur ordinateur au lieu de 4, le
   bouton d'achat remonte dans le premier écran (interligne de 1,25 : l'accent du É ne touche pas la ligne du dessus). */
.tr-pdp__titre { font-size: var(--tr-text-xl); line-height: 1.25; text-transform: uppercase; margin: 0; max-width: 34ch; text-wrap: balance; }
.tr-pdp__phrase { font-size: var(--tr-text-md); line-height: 1.5; color: var(--tr-ink-2); margin: 6px 0 0; max-width: 46ch; }
.pdp-price-block { border-top: 0; margin-top: 12px; padding-top: 0; }
/* la livraison passe sous le bouton (ordre visuel seulement, la brique reste entière) */
.tr-pdp .pdp-form > .pdp-delivery { order: 1; }
.tr-pdp .pdp-form > .buy-guarantee, .tr-pdp .pdp-form > .secure-line, .tr-pdp .pdp-form > .delivery-note { order: 2; }
.pdp-price { font-family: var(--font-display); font-size: var(--tr-text-xl); font-weight: 700; line-height: 1; }
.pdp-shipping { color: var(--tr-ink-2); font-size: var(--tr-text-sm); margin-top: 8px; }
.pdp-form { gap: 10px; margin-top: 16px; }
.buy-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.buy-choices-legend { font-size: var(--tr-text-sm); color: var(--muted); margin-bottom: 8px; padding: 0; }
.buy-choices-list { display: grid; gap: 8px; padding-top: 10px; }
.buy-choice-card { border-radius: var(--radius); background: var(--bg); position: relative; }
/* « Conseillé » : une languette posée sur le filet du haut, hors du flux (10 px réservés au-dessus de la liste) ; les
   trois cartes gardent les mêmes rangées */
.buy-choice-badge { position: absolute; top: -10px; left: 12px; line-height: 18px; background: var(--ink); color: var(--bg); border-radius: var(--radius); }
/* La disposition des cartes suit la largeur de la colonne d'achat (container query), pas celle de l'écran : 530 px sur
   un grand écran, 344 px sur un iPad couché, 343 px sur un téléphone. */
.tr-pdp__achat { container: achat / inline-size; }
/* Large (26rem et plus) : trois cartes côte à côte ; nom, remise, prix et économie sur les mêmes rangées d'une carte à l'autre */
@container achat (min-width: 26rem) {
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list { row-gap: 0; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list > .buy-choice { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list .buy-choice-card { grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 2px; align-content: start; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choice-name { grid-row: 1; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choice-detail { grid-row: 2; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choice-price { grid-row: 3; margin-top: 4px; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choice-save { grid-row: 4; }
}
/* Étroit : une carte par ligne, le nombre et la remise à gauche, le prix et l'économie à droite (plus de « −10 % sur /
   chaque » ni d'économie coupée en deux dans des colonnes de 110 px) */
@container achat (max-width: 25.99rem) {
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list[data-count] { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list .buy-choice-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nom prix" "detail eco"; column-gap: 16px; row-gap: 2px; align-items: baseline; padding-top: 14px; padding-bottom: 14px; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list .buy-choice-name { grid-area: nom; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list .buy-choice-detail { grid-area: detail; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list .buy-choice-price { grid-area: prix; justify-self: end; }
  .tr-pdp .buy-choices[data-kind="quantity"] .buy-choices-list .buy-choice-save { grid-area: eco; justify-self: end; text-align: right; }
}
.buy-choice-name { font-weight: 600; }
.buy-choice-price { font-variant-numeric: tabular-nums; }
.buy-choice-save { color: var(--tr-signal-text); }
.pdp-delivery { background: transparent; border-radius: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stock-dot { background: var(--ok); }
.pdp-form .btn-primary { min-height: 56px; font-size: var(--tr-text-md); }
.buy-guarantee, .pay-logos, .secure-line { color: var(--tr-ink-2); }
.delivery-note { color: var(--muted); font-size: var(--tr-text-xs); }
.pdp-highlights { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.pdp-highlights li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; line-height: 1.35; }
.pdp-highlights .icon { flex: 0 0 auto; margin-top: 2px; color: var(--ink); }
.tr-pdp__service { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--tr-ink-2); font-size: var(--tr-text-sm); }
.tr-pdp__service li { display: flex; gap: 10px; }
.tr-pdp__service .icon { flex: 0 0 auto; margin-top: 2px; color: var(--ink); }
.goes-with { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.goes-with-title { font-family: var(--font-body); font-size: var(--tr-text-sm); font-weight: 600; color: var(--muted); margin: 0 0 12px; text-transform: none; letter-spacing: 0; }
.mini-media { background: var(--tr-paper-2); border-radius: 0; }
.mini-media img { mix-blend-mode: multiply; }
.mini-title { font-weight: 600; display: inline-block; padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }

.tr-usages { display: grid; gap: 96px; }
.tr-usage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--tr-gap); align-items: center; }
.tr-usage__texte { padding-left: 16px; }
.tr-usage--inverse .tr-usage__texte { padding-left: 0; }
.tr-usage__image { margin: 0; }
.tr-usage__image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tr-paper-2); }
.tr-usage--inverse .tr-usage__image { order: 2; }
.tr-usage__titre { font-size: var(--tr-text-2xl); text-transform: uppercase; line-height: 1.2; margin: 0 0 12px; }
.tr-usage__texte p { font-size: var(--tr-text-lead); line-height: 1.5; color: var(--tr-ink-2); margin: 0; max-width: 32ch; }
.tr-usage__image--carre img { aspect-ratio: 1 / 1; }   /* photo carrée (panneau au-dessus de la caméra) : pas de recadrage en 3:2 */
.tr-usage__image--produit { background: var(--tr-paper-2); aspect-ratio: 3 / 2; position: relative; overflow: hidden; }
.tr-usage__image--produit img { position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; aspect-ratio: auto; object-fit: contain; mix-blend-mode: multiply; background: transparent; }

.tr-savoir { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--tr-gap); align-items: start; }
.pdp-accordions { border-top: 1px solid var(--line); }
.pdp-acc { border-bottom: 1px solid var(--line); }
.pdp-acc summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: var(--tr-text-lead); font-weight: 600; cursor: pointer; list-style: none; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: ""; flex: 0 0 auto; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform 220ms var(--tr-ease); }
.pdp-acc[open] summary::after { content: ""; transform: rotate(225deg) translateY(-3px); }
.pdp-acc summary::before { content: none; }
.pdp-acc-body { padding-bottom: 24px; color: var(--tr-ink-2); }
.specs th { font-weight: 400; color: var(--muted); width: 38%; }
.specs th, .specs td { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs td { color: var(--ink); }
.guides-block { border-top: 0; padding-top: 0; }
.guides-block > h2 { font-size: var(--tr-h2); line-height: 1.3; text-transform: uppercase; margin: 0 0 40px; max-width: 16ch; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--tr-gap); }
.guide-link { display: grid; gap: 8px; padding: 24px 0; background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; }
.guide-link-title { font-family: var(--font-display); font-weight: 700; font-size: var(--tr-text-xl); text-transform: uppercase; line-height: 1.22; }
.guide-link-desc { color: var(--tr-ink-2); font-size: var(--tr-text-md); }
@media (hover: hover) and (pointer: fine) { .guide-link:hover .guide-link-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; } }

/* ---------------------------------------------------------------- cartes produit (collection, guides), panier, pages */
.product-grid, .grid { gap: var(--tr-gap); }
.grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 60.0625rem) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { border: 0; border-radius: 0; background: transparent; }
.card-media { background: var(--tr-paper-2); border-bottom: 0; }
.card-media img { mix-blend-mode: multiply; padding: 8%; }
.card-body { padding: 16px 0 0; }
.card-title { font-family: var(--font-body); font-weight: 600; font-size: var(--tr-text-lead); }
.card-price { font-family: var(--font-display); font-size: var(--tr-text-xl); font-weight: 700; }
/* Cartes produit (collection, 404, guides) couchées : la photo carrée à gauche, le nom, la phrase et le prix à droite.
   Les deux appareils et leurs prix tiennent dans le premier écran d'un portable (le prix tombait à 1 134 px sur
   1440 × 790) comme d'un téléphone ; deux colonnes dès 60rem, une en dessous. */
.grid .card-link { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--tr-gap); align-items: center; }
.grid .card-media { aspect-ratio: 1; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
.grid .card-body { padding: 0; }
.grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.tr-coll.tr-section--haut { padding-top: 24px; }
.tr-coll .tr-tete { margin-bottom: 40px; }
.tr-panier .tr-h1 { margin-bottom: 40px; }
.tr-engagements { margin-top: 64px; }
.proofs { border-top: 1px solid var(--line); padding-top: 24px; }
.proof-icon { background: transparent; color: var(--ink); border-radius: 0; }
.tr-page__tete { margin-bottom: 40px; }
.tr-page__surtitre { font-size: var(--tr-text-sm); color: var(--muted); margin: 0 0 12px; }
.tr-page__date { color: var(--muted); font-size: var(--tr-text-sm); margin: 0; }
.tr-page__corps { max-width: 46rem; }
/* Page 404 du moteur : ses titres dans les capitales étroites de la boutique, comme toutes les autres pages */
.notfound .page-title { font-size: var(--tr-h2); line-height: 1.25; text-transform: uppercase; max-width: 18ch; }
.page-404 .section-title { font-size: var(--tr-text-xl); line-height: 1.25; text-transform: uppercase; }
.tr-page__corps .prose h2 { font-size: var(--tr-text-2xl); text-transform: uppercase; line-height: 1.15; margin-top: 48px; }
.tr-page__corps .prose h3 { font-family: var(--font-body); font-weight: 600; }
.prose blockquote { border-left: 0; background: var(--tr-paper-2); padding: 16px 20px; margin: 16px 0; color: var(--tr-ink-2); }
.prose table { font-size: var(--tr-text-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }

/* ---------------------------------------------------------------- tablette et téléphone */
@media (max-width: 75rem) {
  .tr-tete > h1, .tr-tete > h2, .tr-tete > p, .tr-tete > .tr-tete__dit { grid-column: 1 / -1; }
  /* tuiles plus étroites : nom, prix, phrase et bouton l'un sous l'autre */
  .tr-vitrine__produit { grid-template-columns: minmax(0, 1fr); }
  .tr-vitrine__image { height: clamp(15rem, calc(100vh - 29.5rem), 30rem); height: clamp(15rem, calc(100svh - 29.5rem), 30rem); }
  .tr-vitrine__tete { display: contents; }
  .tr-vitrine__nom { grid-column: 1; grid-row: 2; margin-top: 20px; font-size: var(--tr-text-lead); }
  .tr-vitrine__prix { grid-column: 1; grid-row: 3; margin-top: 4px; }
  .tr-vitrine__usage { grid-row: 4; display: block; margin-top: 12px; padding: 12px 0 0; }
  .tr-vitrine__action { grid-column: 1; grid-row: 5; margin-top: 16px; padding-top: 0; border-top: 0; }
}
@media (max-width: 60rem) {
  :root { --gutter: 24px; --tr-section: 96px; --tr-gap: 24px; }
  .tr-nav { display: none; }
  .tr-menu { display: block; }
  .tr-entete__rang { gap: 16px; }
  .tr-poser, .tr-poser__pied { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-poser__etape--2 { grid-column: 1 / -1; order: -1; }
  .tr-poser__actions { grid-column: 1 / -1; }
  .tr-qg, .tr-marche, .tr-pdp, .tr-savoir, .tr-usage { grid-template-columns: minmax(0, 1fr); }
  .tr-pdp__media { position: static; }
  .tr-usage--inverse .tr-usage__image { order: 0; }
  .tr-usages { gap: 64px; }
  .tr-usage { gap: 24px; }
  .tr-usage__texte, .tr-pdp__achat { padding-left: 0; }
  .tr-questions { padding-right: 0; }
  .tr-telephone { justify-self: center; }
  .tr-saison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-service > div:nth-child(3) { border-left-style: none; padding-left: 0; }
  .tr-service > div:nth-child(n+3) { margin-top: 24px; }
  .tr-guides__liste--grille, .guide-list { grid-template-columns: minmax(0, 1fr); }
  .grid, .grid[data-count="2"] { grid-template-columns: minmax(0, 1fr); }
  .grid .card-link { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
  .tr-telephone { width: min(100%, 19rem); }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --tr-section: 72px; --tr-gap: 16px; }
  .brand-logo { height: 28px; }
  .tr-tete { margin-bottom: 40px; }
  .tr-saison, .tr-service { grid-template-columns: minmax(0, 1fr); }
  .tr-service > div, .tr-service > div + div { border-left-style: none; padding-left: 0; padding-right: 0; padding-bottom: 16px; margin-top: 0; }
  .tr-service > div + div { border-top: 1px solid var(--line); }
  .tr-poser, .tr-poser__pied { grid-template-columns: minmax(0, 1fr); }
  .tr-poser__etape--2 { order: 0; }
  .tr-abo { padding: 22px 20px 24px; }
  /* téléphone : les deux tuiles restent côte à côte, prix et bouton compris, dans le premier écran (mesuré à 360 et 390) */
  .tr-vitrine { padding-top: 24px; }
  .tr-vitrine__titre { margin-bottom: 20px; }
  /* photo en 4:5, moins haute quand l'écran visible est court (Safari sur iPhone SE : 548 px) : prix et boutons restent
     dans le premier écran (mesuré par balayage.mjs --reelles, 20/11/2026) */
  .tr-vitrine__image { aspect-ratio: auto; height: max(9rem, min(calc((100vw - 2 * var(--gutter) - var(--tr-gap)) * 0.625), calc(100svh - 24.5rem))); }
  .tr-vitrine__produit--1 .tr-vitrine__image img { object-position: 17% 50%; }
  .tr-vitrine__nom { margin-top: 12px; font-size: var(--tr-text-md); line-height: 1.25; }
  /* zone de toucher de 44 px autour du nom, sans rien déplacer (le titre est un élément de grille : pas de fusion des marges) */
  .tr-vitrine__nom a { padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }
  .tr-vitrine__prix { margin-top: 2px; font-size: var(--tr-text-lead); }
  .tr-vitrine__usage { margin-top: 8px; padding-top: 8px; font-size: var(--tr-text-sm); line-height: 1.4; }
  .tr-vitrine__action { margin-top: 12px; }
  .tr-vitrine__action .btn { width: 100%; min-height: 44px; padding: 0 8px; font-size: var(--tr-text-sm); }
  .tr-vitrine__fiche { margin-top: 32px; gap: 12px; }
  .tr-vitrine__fiche div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tr-vitrine__fiche dt { font-size: var(--tr-text-xs); }
  .tr-vitrine__fiche dd { font-size: var(--tr-text-sm); line-height: 1.4; }
  .tr-moment img { aspect-ratio: 3 / 2; }
  /* cartes produit en rangées : photo carrée de 120 px à gauche, nom, phrase et prix à droite (les titres de recherche
     tenaient sur six lignes dans des colonnes de 164 px) ; les deux appareils et le premier prix dans le premier écran */
  .grid, .grid[data-count="2"] { gap: 16px; }
  .grid .card-link { grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .grid .card-title { font-size: var(--tr-text-md); line-height: 1.3; }
  .grid .card-sub { font-size: var(--tr-text-sm); }
  .grid .card-price { font-size: var(--tr-text-lead); }
  .tr-coll .tr-tete > .tr-tete__dit { font-size: var(--tr-text-sm); }
  .tr-coll.tr-section--haut { padding-top: 16px; }
  .tr-coll .tr-tete { margin-bottom: 24px; }
  .pdp-highlights { grid-template-columns: minmax(0, 1fr); }
  .tr-bande { padding-top: 72px; padding-bottom: 72px; }
  .faq-item summary, .pdp-acc summary { font-size: var(--tr-text-md); }
  .tr-etapes li, .tr-poser__texte { grid-template-columns: 3rem minmax(0, 1fr); }
}
/* Tablette en portrait et téléphone couché (720 à 960 px) : la fiche en deux colonnes (la galerie ne prend plus tout le
   premier écran : titre, prix et cartes d'achat à côté), « Comment ça marche » et « Sur le terrain » aussi. */
@media (min-width: 45rem) and (max-width: 60rem) {
  .tr-pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tr-pdp__media { position: sticky; top: 24px; }
  .tr-usage { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .tr-usage--inverse .tr-usage__image { order: 2; }
  .tr-marche { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .tr-telephone { width: min(100%, 17rem); }
}
/* Téléphone couché (moins de 500 px de haut) : en-tête plus bas, titre plus court, chaque appareil en tuile horizontale
   (photo carrée à gauche, nom, prix, phrase et bouton à droite) : les deux boutons tiennent dans les 340 px visibles. */
@media (orientation: landscape) and (max-height: 500px) {
  .tr-entete__rang { min-height: 60px; }
  .tr-vitrine { padding-top: 16px; }
  .tr-vitrine__titre { font-size: clamp(1.75rem, 8svh, 2.5rem); margin-bottom: 16px; }
  .tr-vitrine__produit { grid-row: auto; grid-template-rows: none; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); column-gap: 16px; align-content: start; }
  .tr-vitrine__image { grid-column: 1; grid-row: 1 / span 4; height: auto; aspect-ratio: 1; align-self: start; }
  .tr-vitrine__nom { grid-column: 2; grid-row: 1; margin-top: 0; font-size: var(--tr-text-md); }
  .tr-vitrine__nom a { padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }
  .tr-vitrine__prix { grid-column: 2; grid-row: 2; margin-top: 2px; font-size: var(--tr-text-lead); }
  .tr-vitrine__usage { grid-column: 2; grid-row: 3; margin-top: 6px; padding-top: 6px; font-size: var(--tr-text-sm); line-height: 1.4; }
  .tr-vitrine__action { grid-column: 2; grid-row: 4; margin-top: 10px; }
  .tr-vitrine__action .btn { min-height: 44px; }
  .tr-vitrine__fiche { grid-column: 1 / -1; grid-row: 5; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after, .pdp-acc summary::after { transition: none; }
}
