/* =====================================================================
   MIVA'KAT — « Minimalist Grid »

   Filets d'un pixel, aucun rayon, aucune ombre, beaucoup d'air, un serif
   pour les titres. La couleur d'accent n'est utilisée qu'à deux endroits :
   le prix et la page « À propos ». Tout le reste est noir sur blanc.

   Le réglage `density` agit ici pour de vrai : en « aérée », la grille
   s'entrouvre et la vignette respire ; en « compacte », les filets
   serrent et les marges se réduisent.
   ===================================================================== */

/* ── En-tête ──────────────────────────────────────────────────────────── */

.t-entete {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: var(--t-border) solid var(--t-line);
  background: color-mix(in srgb, var(--t-bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.t-entete__interieur {
  min-height: var(--t-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 30px);
}
.t-marque { min-width: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.t-marque__signe {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  border: var(--t-border) solid var(--t-line);
  border-radius: 50%;
  background: var(--t-surface);
  color: var(--t-primary);
}
.t-marque__signe img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.t-marque__initiale { font-family: var(--t-font-heading); font-size: 1.05rem; font-weight: 500; }
.t-marque__noms { min-width: 0; }
.t-marque__nom {
  display: block; overflow: hidden;
  font-family: var(--t-font-heading); font-size: 1.02rem; font-weight: 500;
  letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap;
}
.t-marque__client {
  display: block; margin-top: 1px; overflow: hidden;
  color: var(--t-muted); font-size: .68rem;
  text-overflow: ellipsis; white-space: nowrap;
}

.t-entete__nav { display: none; align-items: baseline; gap: 26px; }
.t-entete__nav a {
  position: relative;
  padding-block: 6px;
  color: var(--t-muted);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
}
.t-entete__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--t-ease, ease);
}
.t-entete__nav a:hover { color: var(--t-primary); }
.t-entete__nav a:hover::after { transform: scaleX(1); }
.t-entete__nav a[aria-current="page"] { color: var(--t-primary); }
.t-entete__nav a[aria-current="page"]::after { transform: scaleX(1); }

.t-entete__actions { display: flex; align-items: center; gap: 8px; }
.t-icone {
  border: var(--t-border) solid var(--t-line); border-radius: 50%;
  background: transparent; color: var(--t-primary); text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.t-icone:hover { border-color: var(--t-primary); background: var(--t-primary); color: var(--t-bg); }
.t-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px; border-radius: 999px;
  background: var(--t-primary); color: var(--t-surface);
  font-size: .78rem; font-weight: 600; text-decoration: none;
  transition: opacity .18s;
}
.t-contact:hover { opacity: .86; }
.t-contact svg { width: 16px; height: 16px; flex: none; }

/* Sur fond clair, la couleur de surface est le blanc : le texte du bouton
   doit être lisible, pas « la couleur du site ». Sur un modèle sombre, la
   surface est sombre, et c'est le texte principal qui est clair. */
.catalog-theme--minimal .t-contact { color: #fff; }

/* ── Titre de la page ─────────────────────────────────────────────────── */

.t-entete-titre { padding-block: clamp(28px, 6vw, 64px) clamp(20px, 4vw, 40px); max-width: 22ch; }
.t-entete-titre h1 { margin-top: 14px; }
.t-entete-titre__lead { margin-top: 14px; max-width: 46ch; color: var(--t-muted); font-size: .95rem; }

/* ── Héros ────────────────────────────────────────────────────────────── */

/*
 * « Bandeau » : un visuel large, et le texte posé **dessus**, en bas à
 * gauche, sur un voile. Un voile plutôt qu'une carte blanche : une carte
 * poserait un second rectangle sur l'image, et le minimalisme veut qu'il
 * n'y en ait qu'un.
 */
.t-heros--banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--t-radius);
  background: var(--t-surface);
}
.t-heros--banner .t-heros__item { position: relative; display: block; }
.t-heros--banner .t-heros__lien {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-decoration: none;
}
.t-heros--banner .t-heros__visuel { position: relative; display: block; }
.t-heros--banner .t-heros__visuel img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.t-heros--banner .t-heros__texte {
  position: absolute; inset: auto 0 0 0;
  display: grid; gap: 6px;
  padding: clamp(20px, 5vw, 44px);
  background: linear-gradient(0deg, rgba(12, 12, 11, .82) 0%, rgba(12, 12, 11, .45) 55%, rgba(12, 12, 11, 0) 100%);
  color: #fff;
}
.t-heros--banner .t-heros__surtitre { color: rgba(255, 255, 255, .82); }
.t-heros--banner .t-heros__nom {
  font-family: var(--t-font-heading); font-size: clamp(1.5rem, 4.4vw, 2.6rem);
  font-weight: var(--t-title-weight); line-height: 1.05; letter-spacing: var(--t-title-tracking);
}
.t-heros--banner .t-heros__resume { display: none; }
.t-heros--banner .t-heros__prix { font-size: .92rem; font-weight: 600; }

/* « Mosaïque » : la première en grand, les suivantes en bande verticale. */
.t-heros--mosaic { display: grid; gap: 2px; grid-template-columns: 1fr; border-radius: var(--t-radius); overflow: hidden; }
.t-heros--mosaic .t-heros__lien { position: relative; display: block; color: #fff; text-decoration: none; }
.t-heros--mosaic .t-heros__visuel img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.t-heros--mosaic .t-heros__texte {
  position: absolute; inset: auto 0 0 0; display: grid; gap: 4px;
  padding: 18px; background: linear-gradient(0deg, rgba(12, 12, 11, .78), rgba(12, 12, 11, 0));
}
.t-heros--mosaic .t-heros__resume { display: none; }
.t-heros--mosaic .t-heros__nom { font-family: var(--t-font-heading); font-size: 1.2rem; font-weight: 500; }

/* « Carrousel » : une diapositive à la fois, sur fond profond. */
.t-heros--carousel { position: relative; border-radius: var(--t-radius); background: var(--t-primary); color: var(--t-surface); }
.t-heros--carousel .t-heros__lien {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  padding: clamp(20px, 4vw, 38px); text-decoration: none;
}
.t-heros--carousel .t-heros__visuel { order: 2; }
.t-heros--carousel .t-heros__visuel img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.t-heros--carousel .t-heros__texte { order: 1; display: grid; gap: 8px; align-content: center; }
.t-heros--carousel .t-heros__surtitre { color: var(--t-muted); }
.t-heros--carousel .t-heros__nom {
  font-family: var(--t-font-heading); font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: var(--t-title-weight); line-height: 1.06; letter-spacing: var(--t-title-tracking);
}
.t-heros--carousel .t-heros__prix { font-size: 1rem; font-weight: 600; }
.t-heros__resume {
  display: -webkit-box; overflow: hidden; color: var(--t-muted);
  font-size: .84rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.t-heros__surtitre {
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.t-heros__prix { color: var(--t-accent-ink); }

.t-heros__commandes { display: flex; align-items: center; gap: 6px; padding: 0 clamp(20px, 4vw, 38px) clamp(18px, 3vw, 30px); }
.t-heros__commandes [data-hero-next] { margin-left: auto; }
.t-heros__bouton {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: var(--t-border) solid currentColor; border-radius: 50%;
  color: inherit; opacity: .7;
}
.t-heros__bouton:hover { opacity: 1; }
.t-heros__bouton svg { width: 15px; height: 15px; }
.t-heros__points { display: flex; align-items: center; gap: 2px; }
.t-heros__point { width: 34px; height: 44px; display: grid; place-items: center; }
.t-heros__point::before { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .38; }
.t-heros__point[aria-current="true"]::before { opacity: 1; height: 2px; }
.js .t-heros--carousel .t-heros__item[hidden] { display: none; }
.t-heros--carousel .t-heros__item:not([hidden]) { animation: t-apparition .4s ease both; }
@keyframes t-apparition { from { opacity: 0; } to { opacity: 1; } }

/* ── Onglets de catégories ────────────────────────────────────────────── */

.t-onglets {
  position: relative;
  display: flex; gap: clamp(14px, 2.4vw, 26px);
  overflow-x: auto; padding-block: 4px 2px;
  border-bottom: var(--t-border) solid var(--t-line);
  scrollbar-width: none;
}
.t-onglets::-webkit-scrollbar { display: none; }
.t-onglet {
  position: relative; flex: 0 0 auto;
  padding: 10px 0 12px;
  color: var(--t-muted); font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; white-space: nowrap; text-decoration: none;
}
.t-onglet::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--t-accent-ink);
  transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.t-onglet:hover { color: var(--t-primary); }
.t-onglet[aria-current="page"] { color: var(--t-primary); }
.t-onglet[aria-current="page"]::after { transform: scaleX(1); }

/* ── Catalogue ────────────────────────────────────────────────────────── */

.t-catalogue { padding-top: clamp(20px, 3vw, 32px); scroll-margin-top: calc(var(--t-header-h) + 16px); }
.t-catalogue__haut {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 6px 18px; margin-bottom: 18px;
}
.t-catalogue__decompte { color: var(--t-muted); font-size: .74rem; font-variant-numeric: tabular-nums; }

.t-recherche {
  position: relative; display: flex; align-items: center;
  margin-bottom: 18px;
  border-bottom: var(--t-border) solid var(--t-line);
  transition: border-color .2s;
}
.t-recherche:focus-within { border-bottom-color: var(--t-primary); }
.t-recherche input {
  width: 100%; min-height: 48px; padding: 10px 44px 10px 0;
  border: 0; background: transparent; color: var(--t-text);
  font-size: .95rem; outline: none;
}
.t-recherche input::placeholder { color: var(--t-muted); }
.t-recherche input:focus { box-shadow: none; outline: none; }
.t-recherche__effacer {
  position: absolute; right: 0; width: 40px; height: 40px;
  display: none; place-items: center; color: var(--t-muted);
}
.t-recherche__effacer.is-visible { display: grid; }
.t-recherche__effacer:hover { color: var(--t-primary); }
.t-recherche__effacer svg { width: 15px; height: 15px; }

.t-filtres { display: flex; gap: 6px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.t-filtres::-webkit-scrollbar { display: none; }
.t-filtre {
  flex: 0 0 auto; min-height: 40px; padding: 0 16px;
  border: var(--t-border) solid var(--t-line); border-radius: 999px;
  color: var(--t-muted); font-size: .78rem; font-weight: 600; white-space: nowrap;
}
.t-filtre:hover { border-color: var(--t-primary); color: var(--t-primary); }
.t-filtre[aria-pressed="true"] { border-color: var(--t-primary); background: var(--t-primary); color: var(--t-surface); }

/* La grille : pas de cartes, des **cellules** séparées par un filet. C'est
   la différence entre une grille et une liste d'images, et c'est ce qui
   donne au modèle son nom. */
.t-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: var(--t-border) solid var(--t-line);
  border-left: var(--t-border) solid var(--t-line);
}
.t-vignette {
  position: relative; min-width: 0;
  display: flex; flex-direction: column;
  padding: var(--t-pad) var(--t-pad) calc(var(--t-pad) + 4px);
  border-right: var(--t-border) solid var(--t-line);
  border-bottom: var(--t-border) solid var(--t-line);
  background: transparent;
  transition: background-color .2s;
}
.t-vignette:hover { background: color-mix(in srgb, var(--t-surface) 70%, transparent); }
.t-vignette[hidden] { display: none; }
.t-vignette__visuel { position: relative; display: block; overflow: hidden; border-radius: var(--t-radius); }
.t-vignette__visuel img { width: 100%; aspect-ratio: var(--t-ratio); object-fit: cover; transition: transform .4s; }
/* `--t-zoom` vaut `1` quand le commerçant a refusé l'agrandissement : le
   `scale(1)` qui en résulte ne fait rien, et la règle reste une seule. */
.t-vignette:hover .t-vignette__visuel img { transform: scale(var(--t-zoom)); }
.t-vignette__pastilles { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.t-vignette__collection {
  margin-top: 14px;
  color: var(--t-muted); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.t-vignette__nom { margin-top: 6px; font-size: .95rem; line-height: 1.25; }
.t-vignette__nom a { text-decoration: none; }
/* Le titre est le seul lien : l'illustration est déjà cliquable, et un
   second lien identique doublait la cible au clavier pour rien. */
.t-vignette__nom a::after { content: ""; position: absolute; inset: 0; }
.t-vignette__resume {
  display: -webkit-box; margin-top: 7px; overflow: hidden;
  color: var(--t-muted); font-size: .78rem; line-height: 1.5;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.t-vignette__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 12px; }
.t-vignette__montant { color: var(--t-accent-ink); font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.t-vignette__avant { color: var(--t-muted); font-size: .76rem; }

.t-favori {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: color-mix(in srgb, var(--t-surface) 88%, transparent);
  color: var(--t-primary);
}
.t-favori svg { width: 16px; height: 16px; }
.t-favori[aria-pressed="true"] { color: var(--t-accent-ink); }
.t-favori[aria-pressed="true"] svg { fill: currentColor; }

.t-vide {
  padding: clamp(34px, 6vw, 64px) 20px;
  border-bottom: var(--t-border) solid var(--t-line);
  text-align: center;
}
.t-vide p { max-width: 44ch; margin: 10px auto 0; color: var(--t-muted); font-size: .88rem; }

/* ── Fiche produit ────────────────────────────────────────────────────── */

.t-fiche { display: grid; gap: clamp(20px, 3vw, 34px); padding-block: clamp(18px, 3vw, 34px) 0; }
.t-retour { display: inline-flex; align-items: center; gap: 8px; color: var(--t-muted); font-size: .78rem; font-weight: 600; text-decoration: none; }
.t-retour:hover { color: var(--t-primary); }
.t-retour svg { width: 15px; height: 15px; }

.t-galerie { min-width: 0; }
.t-galerie__principale {
  position: relative; overflow: hidden;
  border-radius: var(--t-radius); background: var(--t-surface);
}
.t-galerie__principale img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.t-galerie__pastilles { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.t-galerie__vignettes { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.t-galerie__vignettes::-webkit-scrollbar { display: none; }
.t-pouce {
  width: 64px; height: 64px; flex: 0 0 auto; overflow: hidden;
  border: var(--t-border) solid var(--t-line); border-radius: 2px; background: var(--t-surface);
}
.t-pouce img { width: 100%; height: 100%; object-fit: cover; }
.t-pouce[aria-current="true"] { border-color: var(--t-primary); box-shadow: 0 0 0 1px var(--t-primary); }

.t-detail { min-width: 0; }
.t-fil { color: var(--t-muted); font-size: .74rem; }
.t-fil a { text-decoration: none; }
.t-fil a:hover { color: var(--t-primary); }
.t-detail h1 { margin-top: 12px; }
.t-detail__prix {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
  margin-top: 20px; padding-block: 18px;
  border-block: var(--t-border) solid var(--t-line);
}
.t-detail__montant { color: var(--t-accent-ink); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.t-detail__avant { color: var(--t-muted); font-size: .9rem; }
.t-detail__resume { margin-top: 20px; color: var(--t-secondary); font-size: .95rem; line-height: 1.75; white-space: pre-line; }
.t-detail__dispo { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: #1f6f45; font-size: .78rem; font-weight: 600; }
.t-detail__dispo svg { width: 16px; height: 16px; }
.t-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.t-bouton {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 26px; border: var(--t-border) solid var(--t-primary); border-radius: var(--t-radius);
  background: var(--t-primary); color: var(--t-surface);
  font-size: .86rem; font-weight: 600; text-decoration: none;
  transition: opacity .18s;
}
.t-bouton:hover { opacity: .86; }
.t-bouton svg { width: 17px; height: 17px; }
[data-bouton="outline"] .t-bouton { background: transparent; color: var(--t-primary); }
[data-bouton="pill"] .t-bouton { border-radius: 999px; }
.t-bouton--fantome { background: transparent; color: var(--t-primary); }
[data-bouton="solid"] .t-bouton--fantome { border-color: var(--t-line); color: var(--t-text); }

.t-apparentes { padding-top: clamp(38px, 6vw, 64px); }
.t-apparentes .t-grille { margin-top: 18px; }

/* ── À propos ─────────────────────────────────────────────────────────── */

.t-apropos { display: grid; gap: clamp(24px, 4vw, 44px); }
.t-apropos__tete { display: grid; gap: 14px; max-width: 40ch; padding-top: clamp(20px, 4vw, 48px); }
.t-apropos__tete h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.t-apropos__accent { color: var(--t-accent-ink); font-size: 1.05rem; line-height: 1.7; white-space: pre-line; }
.t-apropos__visuel { overflow: hidden; border-radius: var(--t-radius); }
.t-apropos__visuel img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.t-apropos__faits { display: grid; gap: 0; border-top: var(--t-border) solid var(--t-line); }
.t-fait { display: grid; gap: 4px; padding: 16px 0; border-bottom: var(--t-border) solid var(--t-line); }
.t-fait dt { color: var(--t-muted); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.t-fait dd { margin: 0; color: var(--t-primary); font-size: .95rem; }
.t-fait dd a { color: inherit; }
.t-horaires { margin-top: 18px; border-top: var(--t-border) solid var(--t-line); }
.t-horaires__ligne { display: flex; flex-wrap: wrap; gap: 2px 18px; padding: 12px 0; border-bottom: var(--t-border) solid var(--t-line); }
.t-horaires dt { flex: 1 1 12rem; font-size: .88rem; font-weight: 600; }
.t-horaires dd { margin: 0; color: var(--t-muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.t-appel { padding: clamp(26px, 5vw, 48px) 0; border-top: var(--t-border) solid var(--t-line); }
.t-appel p { max-width: 46ch; margin-top: 10px; color: var(--t-muted); }
.t-appel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ── Pied ─────────────────────────────────────────────────────────────── */

.t-pied { margin-top: clamp(48px, 8vw, 96px); border-top: var(--t-border) solid var(--t-line); background: var(--t-surface); }
.t-pied__haut { display: grid; gap: 22px; padding-block: 30px; }
.t-pied__identite { display: flex; align-items: center; gap: 12px; }
.t-pied__signe {
  width: 40px; height: 40px; display: grid; place-items: center; flex: none;
  border: var(--t-border) solid var(--t-line); border-radius: 50%;
  font-family: var(--t-font-heading); font-size: 1rem;
}
.t-pied__identite strong { font-family: var(--t-font-heading); font-size: 1rem; font-weight: 500; }
.t-pied__identite p { margin-top: 2px; font-size: .76rem; }
.t-pied__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.t-pied__nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--t-muted); font-size: .8rem; text-decoration: none; }
.t-pied__nav a:hover { color: var(--t-primary); }
.t-pied__bas {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px;
  padding-block: 16px; border-top: var(--t-border) solid var(--t-line);
  color: var(--t-muted); font-size: .72rem;
}

/* ── Barre du bas ─────────────────────────────────────────────────────── */

.t-dock {
  position: fixed; left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right));
  bottom: calc(6px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: var(--t-border) solid var(--t-line); border-radius: 18px;
  background: color-mix(in srgb, var(--t-surface) 94%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .4);
}
.t-dock__lien {
  min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 6px 2px; color: var(--t-muted); text-decoration: none;
}
.t-dock__lien svg { width: 21px; height: 21px; }
.t-dock__lien span { font-size: .58rem; font-weight: 600; line-height: 1; }
.t-dock__lien:hover { color: var(--t-primary); }
.t-dock__lien[aria-current="page"] { color: var(--t-accent-ink); }

/* ── Les trois paliers ────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  body.catalog-site { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .t-pied__haut { display: none; }
  .t-pied__bas { justify-content: center; text-align: center; border-top: 0; }
}

@media (min-width: 600px) {
  .t-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-pied__haut { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .t-apropos { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
  .t-apropos__tete { grid-row: span 2; }
  .t-heros--mosaic { grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .t-heros--mosaic .t-heros__item:first-child { grid-row: span 2; }
}

@media (min-width: 860px) {
  .t-entete__nav { display: flex; }
  .t-grille { grid-template-columns: repeat(var(--t-columns), minmax(0, 1fr)); }
  .t-fiche { grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); align-items: start; }
  .t-detail { position: sticky; top: calc(var(--t-header-h) + 24px); }
  .t-heros--banner .t-heros__lien { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .t-heros--banner .t-heros__visuel { order: 2; }
  .t-heros--banner .t-heros__texte {
    position: static; order: 1; align-content: center; padding: clamp(28px, 4vw, 56px);
    background: none; color: var(--t-primary);
  }
  .t-heros--banner .t-heros__surtitre { color: var(--t-muted); }
  .t-heros--banner .t-heros__resume { display: -webkit-box; }
  .t-heros--banner .t-heros__prix { color: var(--t-accent-ink); }
  .t-heros--carousel .t-heros__lien { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px; }
  .t-heros--carousel .t-heros__visuel { order: 2; }
  .t-heros--carousel .t-heros__texte { order: 1; }
  .t-heros--carousel .t-heros__resume { display: -webkit-box; }
  .t-heros__commandes { justify-content: flex-start; }
  .t-heros__commandes [data-hero-next] { margin-left: 0; }
}

@media (min-width: 1024px) {
  .t-dock { display: none; }
}

/* 17. V2.2 — Le choix d'une déclinaison (fiche produit).
   Un lien par déclinaison, la choisie marquée par `aria-current` : le
   sélecteur fonctionne sans JavaScript, et l'URL se partage. */
.t-declinaisons { margin-top: 18px; }
.t-declinaisons__intitule {
  margin: 0 0 10px; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--t-muted);
}
.t-declinaisons__liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-declinaison {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--t-line); border-radius: var(--t-radius);
  background: var(--t-surface); color: var(--t-text);
  font-size: .82rem; font-weight: 600; text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.t-declinaison:hover { border-color: var(--t-primary); }
.t-declinaison__prix { font-weight: 800; color: var(--t-muted); }
.t-declinaison--choisie { border-color: var(--t-primary); background: var(--t-primary); color: var(--t-surface); }
.t-declinaison--choisie .t-declinaison__prix { color: var(--t-surface); opacity: .82; }
.t-declinaison--epuise { opacity: .5; text-decoration: line-through; }
.t-declinaison__etat { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
/* ── R27 — Un selecteur par dimension ──────────────────────────────────────
   Un produit a dimensions (couleur x taille) affiche une rangee par dimension,
   avec le nom de la dimension en en-tete. La pastille indique celle qui fixe le
   prix : elle dit au visiteur que changer de valeur change le montant. */
.t-declinaison-groupe { margin: 0 0 16px; }
.t-declinaison-groupe__nom {
  margin: 0 0 8px; font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--t-muted);
}
.t-declinaison-groupe__pilote {
  display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%;
  background: var(--t-accent); vertical-align: middle;
}

/* ── R27 — Le badge de type ─────────────────────────────────────────────────
   Ni la couleur de vente ni celle de selection : un service et une offre ne
   sont ni une promotion ni une selection. */
.t-pastille--type { background: var(--t-secondary); color: var(--t-bg); }
.t-type-badge {
  margin: 0 0 10px; font-size: .64rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--t-muted);
}

/* ── R27 — La formule de tarification ────────────────────────────────────────
   Sous le prix, et non a sa place : le prix garde l'emplacement qu'il occupe
   toujours, donc un commerce qui passe de « sur devis » a « 10 000 » ne voit
   rien bouger. */
.t-ref-label { margin: -2px 0 0; font-size: .8rem; color: var(--t-muted); font-style: italic; }

/* ── R27 — Les caracteristiques nommees ──────────────────────────────────────
   Un tableau, pas une phrase : c'est ce qui permet de relire d'un coup d'oeil. */
.t-specs { margin: 22px 0 0; }
.t-specs__titre, .t-inclusions__titre {
  margin: 0 0 10px; font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--t-muted);
}
.t-specs__liste { margin: 0; display: grid; gap: 1px; background: var(--t-line); border: 1px solid var(--t-line); border-radius: 12px; overflow: hidden; }
.t-specs__ligne { display: flex; gap: 14px; padding: 10px 14px; background: var(--t-surface); }
.t-specs__ligne dt { margin: 0; min-width: 34%; font-size: .78rem; color: var(--t-muted); }
.t-specs__ligne dd { margin: 0; font-size: .86rem; font-weight: 700; }

/* ── R27 — Les caracteristiques en clair sur la vignette ─────────────────────
   C'est ce qui distingue deux references d'un meme nom (« 10 L » et « 20 L »). */
.t-vignette__specs { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.t-vignette__specs li {
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  padding: 3px 8px; border: 1px solid var(--t-line); border-radius: 999px;
  color: var(--t-muted);
}

/* ── R27 — Le contenu possible d'une offre ───────────────────────────────────
   Le titre dit « peut comprendre », jamais « contient » : la liste n'est pas un
   engagement. */
.t-inclusions { margin: 22px 0 0; }
.t-inclusions__liste { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: .88rem; }
.t-inclusions__note { margin: 9px 0 0; font-size: .75rem; color: var(--t-muted); font-style: italic; }

/* =====================================================================
   R29 - La peau « minimal » de l'entree « ma demande ».

   Le modele est sobre : une grille, des filets, aucun aplat. Le panier y est
   donc un trait de 1,6 sans fond au repos, et la pastille est un **compte
   pose** plutot qu'une bille pleine — deux formes qui se ressembleraient sinon.

   Le hover ne change pas la couleur mais le fond : sur ce modele, c'est la
   surface qui signale le survol, comme partout ailleurs.
   ===================================================================== */

.cart-entree--minimal { border-radius: 0; }
.cart-entree--minimal:hover { background: var(--t-surface); color: var(--t-text); }
.cart-entree--minimal .cart-entree__dessin { stroke-width: 1.6; width: 22px; height: 22px; }
.cart-entree--minimal .cart-entree__compteur {
  top: 4px;
  right: -2px;
  background: var(--t-text);
  color: var(--t-bg);
  font-weight: 600;
  box-shadow: none;
}