/* ============================================================
   Page club : la ville, le comparatif, la preuve, le texte, les portes.

   Chargée par sections/main-collection.liquid pour une collection de club
   seulement. Le catalogue et la grille gardent sec-collection.css.

   Règles tenues ici.
   - Une grille : celle du conteneur, 12 colonnes (4 sur téléphone),
     gouttière --gap. Une échelle d'espacement : --s1 à --s7, et
     --space-section entre deux sections.
   - Aucun texte ne se pose sur une couleur de club. Sur la photo, le
     texte se pose sur le voile d'encre du bas.
   - Angles nets pour ce qui structure (photo, bandes, tuiles des autres
     clubs). « Pour qui ? » et la gamme parlent la langue de tous les
     casques (instrument.css) : capsules, feuilles par modèle, plages
     tracées, capsule et règle de la mesure.
   - Un seul bouton vert : celui de la barre d'achat mobile. Les ajouts
     des cartes restent en encre.
   ============================================================ */

.collection-page--club {
  --veil: color-mix(in srgb, var(--ink) 88%, transparent);
  --veil-strong: color-mix(in srgb, var(--ink) 92%, transparent);
  --veil-mid: color-mix(in srgb, var(--ink) 58%, transparent);
  --veil-low: color-mix(in srgb, var(--ink) 14%, transparent);
  --on-veil: var(--paper);
  --on-veil-soft: color-mix(in srgb, var(--paper) 86%, var(--ink));
  --alert: #8a2a1d;

  /* Une seule échelle d'espacement pour toute la page ; entre deux
     sections, --space-section du thème. */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  /* La grille : celle du conteneur du thème, 12 colonnes, gouttière de
     24 px. Tout ce qui suit s'y aligne, pour les trois clubs. */
  --gap: var(--s3);
}

/* ---------- Ouverture : la ville ----------

   La photo plein cadre, lumineuse. Un seul voile, dans le bas, sous le
   nom du club : papier sur encre à 72 % au pied du titre. Le fil d'Ariane,
   en haut, tient par son ombre portée. Le texte occupe les colonnes 1 à 8
   de la grille, la légende de lieu (si elle existe) les colonnes 9 à 12. */

.territory {
  --photo-veil: color-mix(in srgb, var(--ink) 74%, transparent);
  --photo-veil-mid: color-mix(in srgb, var(--ink) 38%, transparent);
  --photo-shadow: color-mix(in srgb, var(--ink) 55%, transparent);
  --photo-shadow-strong: color-mix(in srgb, var(--ink) 85%, transparent);
  position: relative;
  background: var(--paper);
}

.territory--sombre {
  --photo-veil: color-mix(in srgb, var(--ink) 84%, transparent);
  --photo-veil-mid: color-mix(in srgb, var(--ink) 50%, transparent);
}

.territory__photo {
  position: relative;
  isolation: isolate;
  height: clamp(460px, calc(100svh - 270px), 800px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.territory__city-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--city-x, 70%) var(--city-y, 50%);
}

.territory__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, var(--photo-veil-mid) 0%, transparent 18%),
    linear-gradient(to top, var(--photo-veil) 0%, var(--photo-veil-mid) 30%, transparent 58%);
  pointer-events: none;
}

.territory__over {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: var(--gap);
  height: 100%;
  padding-block: var(--s3) var(--s5);
}

.territory__crumbs {
  grid-column: 1 / -1;
  align-self: start;
  margin: 0;
  color: var(--paper);
  font-weight: 600;
  text-shadow: 0 1px 8px var(--photo-shadow);
}

.territory__crumbs a { color: inherit; }
.territory__crumbs a:hover { color: var(--paper); }

.territory__name {
  grid-column: 1 / span 8;
  align-self: end;
  display: grid;
  justify-items: start;
  gap: var(--s2);
}

/* Le blason au-dessus du titre, tel quel : ni fond, ni halo, ni brillance. */
.territory__crest {
  display: block;
  width: 48px;
  height: 64px;
}

.territory__crest img {
  object-position: left bottom;
}

.territory__title {
  max-width: 12ch;
  margin: 0;
  color: var(--paper);
  text-shadow: 0 2px 24px var(--photo-shadow);
}

/* Chaque mot reste entier : « Saint-Germain » ne se coupe jamais au trait
   d'union. */
.territory__title span { white-space: nowrap; }

.territory__line {
  max-width: 36ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 12px var(--photo-shadow);
  text-wrap: pretty;
}

.territory__legend {
  grid-column: 9 / -1;
  align-self: end;
  justify-self: end;
  margin: 0;
  color: color-mix(in srgb, var(--paper) 86%, transparent);
  font-size: .875rem;
  text-align: right;
  text-shadow: 0 1px 10px var(--photo-shadow);
}

/* Le filet du club, sous la photo, sur deux colonnes de la grille : la
   couleur du club, puis sa seconde couleur. Jamais porteur d'information. */
.territory__rule::before {
  content: "";
  display: block;
  width: calc((100% - 11 * var(--gap)) / 12 * 2 + var(--gap));
  height: 4px;
  background: linear-gradient(90deg, var(--club, var(--ink)) 50%, var(--club-2, var(--club, var(--ink))) 50%);
}

/* ---------- Pour qui ? ----------

   Les capsules de tous les casques (instrument.css) : le libellé, puis
   l'âge en précision. L'entrée choisie passe à l'encre. Elles passent à la
   ligne, jamais en défilement latéral. */
.who {
  display: grid;
  gap: 10px;
  padding-top: var(--s4);
}

/* Même voix que le libellé des filtres et de la règle. */
.who__title {
  margin: 0;
  color: var(--ink-70);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.who__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.who__chip { gap: 10px; min-height: 48px; padding: 0 18px; }
.who__chip .capsule__detail { font-size: .92rem; white-space: nowrap; }

/* Entrée : la photo se pose, le texte glisse. Le texte reste visible dès
   la première image, seule la position s'anime. */
@media (prefers-reduced-motion: no-preference) {
  .territory__city-image { animation: territory-settle var(--motion-object) both; }
  .territory__name > * { animation: territory-rise var(--motion-enter) both; }
  .territory__name > :nth-child(2) { animation-delay: var(--motion-stagger); }
  .territory__name > :nth-child(3) { animation-delay: calc(var(--motion-stagger) * 2); }

  @keyframes territory-settle { from { transform: scale(1.04); } }
  @keyframes territory-rise { from { translate: 0 var(--motion-rise); } }
}

.club-locker-slot:has(> [hidden]) { display: none; }
.club-locker-slot { padding-top: var(--s3); }

/* ---------- La gamme : un casque pour chaque âge ----------

   Le langage de tous les casques (instrument.css) : le papier teinté, une
   feuille par modèle, l'une sous l'autre, pour que les plages se lisent
   sur la même échelle. Ce qui s'achète reste franc : le nom en capitales
   condensées, le prix, le bouton d'ajout en encre. La mesure est une
   capsule qui déplie la règle du guide. */

.compare {
  margin-top: var(--s5);
  padding-block: var(--s5) var(--space-section);
}

.compare__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  margin-bottom: var(--s3);
}

.compare__title {
  flex: 1 1 22rem;
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* L'entrée vers la mesure prend toute la largeur, comme sur la fiche. */
.compare__measure { flex: 1 1 100%; width: 100%; }

.compare__measure[hidden],
.compare__panel[hidden] { display: none; }

/* La mesure dépliée : la règle à gauche, le verdict à droite. */
.compare__panel {
  display: grid;
  gap: 18px;
  margin-bottom: var(--s3);
  padding: 6px 15px 8px;
}

.compare__reading { display: grid; gap: 10px; justify-items: start; }

.compare__guide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* La consigne cadeau, sous l'en-tête, seulement pour « Un cadeau ». */
.compare__gift {
  flex: 1 1 100%;
  max-width: 70ch;
  margin: 0;
  padding-top: var(--s2);
  border-top: 1px solid var(--ink-12);
  font-size: 1.0625rem;
}

.compare__gift[hidden] { display: none; }
.compare__gift a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.compare__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  --range-ring: var(--surface);
}

/* Une feuille par modèle (.model-row dépliée) : la vue, ce qu'est le
   casque, puis l'achat. */
.compare__item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 17rem);
  align-items: center;
  gap: var(--s2) clamp(24px, 3vw, 48px);
  padding: 14px;
  scroll-margin-top: 120px;
}

.compare__item[hidden] { display: none; }
.compare__item:focus { outline: none; }
.compare__item:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Le modèle désigné par « Pour qui ? » : la feuille cerclée d'encre, comme
   le club courant d'une tuile. */
.compare__item[data-picked] { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow-2); }

/* La vue, sur le creux du papier, comme une tuile de club. */
.compare__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface-sunken);
}

.compare__image {
  width: 84%;
  height: 84%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.compare__item--sold .compare__image { opacity: .55; }

.compare__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: var(--s2);
  min-width: 0;
}

.compare__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin: 0;
  font: inherit;
}

.compare__name .model-row__age { margin-left: 0; }
.compare__link { color: inherit; }
.compare__link:hover .model-row__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Le prix, franc, en face du nom. */
.compare__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 10px;
  margin: 0;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.compare__price s { color: var(--ink-70); font-size: 1rem; font-weight: 600; }

.compare__size {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: .95rem;
}

.compare__size .model-row__range { margin-left: 0; }

/* « Convient » ou « Hors plage », écrit : la barre ne porte jamais seule
   le verdict. */
.compare__state { color: var(--ink-70); font-weight: 700; }
.compare__state::before { content: "·"; margin-right: 10px; font-weight: 400; }
.compare__item[data-fit="in"] .compare__state { color: var(--ink); }
.compare__state[hidden] { display: none; }

.compare__info .range-bar { grid-column: 1 / -1; margin-top: 14px; margin-bottom: 6px; }

.compare__buy {
  display: grid;
  gap: 4px;
  justify-items: stretch;
}

.compare__form { width: 100%; margin: 0; }
.compare__add { justify-content: center; width: 100%; }
.compare__add[aria-busy="true"] { opacity: .7; cursor: progress; }
.compare__stock { margin: 0; color: var(--alert); font-weight: 700; }

/* Grand écran : la règle dépliée prend la colonne des plages, au même
   retrait qu'elles, pour que chaque pastille se lise contre la règle ; le
   verdict se lit dans la colonne de l'achat. */
@media (min-width: 951px) {
  .compare__panel {
    grid-template-columns: 200px minmax(0, 1fr) minmax(0, 17rem);
    column-gap: clamp(24px, 3vw, 48px);
    align-items: start;
  }

  .compare__instrument { grid-column: 2; }
  .compare__reading { grid-column: 3; padding-top: 28px; }
  .compare__reading .measure-verdict__answer { font-size: 1.75rem; }
}

/* ---------- Barre d'achat, téléphone ----------

   Posée en pied d'écran, hors de l'ouverture, du bouton de la carte et du
   pied de page (collection-controls.js). Elle glisse seulement si le
   visiteur accepte le mouvement. */
.club-buybar { display: none; }

@media (max-width: 800px) {
  .club-buybar:not([hidden]) {
    position: fixed;
    inset: auto 0 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ink-12);
    background: var(--surface);
    box-shadow: var(--shadow-3);
    transform: translateY(110%);
    visibility: hidden;
  }

  .club-buybar[data-visible] { transform: none; visibility: visible; }

  .club-buybar__media { flex: none; width: 44px; height: 44px; }
  .club-buybar__media[hidden] { display: none; }
  .club-buybar__image { display: block; width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
  .club-buybar__text { display: grid; flex: 1; min-width: 0; margin: 0; line-height: 1.25; }
  .club-buybar__text strong {
    overflow: hidden;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .club-buybar__text span { color: var(--ink-70); font-size: .875rem; }
  .club-buybar__add { flex: none; }
  .club-buybar__choose { flex: 1; justify-content: center; }
  .club-buybar__text[hidden],
  .club-buybar__add[hidden],
  .club-buybar__choose[hidden] { display: none; }
}

@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  .club-buybar:not([hidden]) { transition: transform var(--motion-state), visibility 0s linear 160ms; }
  .club-buybar[data-visible] { transition: transform var(--motion-state), visibility 0s; }
}

/* ---------- En-tête de section ----------

   Le même que celui de la gamme : titre en colonnes 1 à 8, lien calé à
   droite, un filet dessous. */
.club-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--ink-12);
}

.club-head__title {
  grid-column: 1 / span 8;
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.club-head__link,
.club-proof__sheet,
.door__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.club-head__link { grid-column: 9 / -1; justify-self: end; }
.club-head__link .icon-arrow,
.club-proof__sheet .icon-arrow,
.door__cta .icon-arrow { transition: translate var(--motion-state); }
.club-head__link:hover .icon-arrow,
.club-proof__sheet:hover .icon-arrow,
.door__link:hover .door__cta .icon-arrow { translate: 3px 0; }

/* ---------- Sur la route : bande d'encre ----------

   Titre, licence et réassurance en colonnes 1 à 4, tirages en colonnes 7
   à 12. Les photos de l'ancien site ne sont publiées qu'en 240 x 320 px :
   aucun tirage ne s'affiche plus large que 240 px. */
.club-proof {
  padding-block: var(--space-section);
  background: var(--ink);
  color: var(--paper);
}

.club-proof__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}

.club-proof__text { grid-column: 1 / span 4; display: grid; gap: var(--s3); }
.club-proof--text .club-proof__text { grid-column: 1 / span 8; }

.club-proof__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.club-proof__licence {
  max-width: 34ch;
  margin: 0;
  color: color-mix(in srgb, var(--paper) 80%, var(--ink));
  font-size: 1.0625rem;
  line-height: 1.5;
}

.club-proof .reassurance__item { border-color: color-mix(in srgb, var(--paper) 16%, transparent); }

.club-proof__prints {
  grid-column: 7 / -1;
  display: flex;
  justify-content: flex-end;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-proof__print { flex: 0 1 var(--print-w, 240px); min-width: 0; }
.club-proof__print:nth-child(2) { margin-top: var(--s7); }

.club-proof__figure { margin: 0; }

.club-proof__image {
  display: block;
  width: 100%;
  height: auto;
  background: color-mix(in srgb, var(--paper) 10%, var(--ink));
}

.club-proof__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--s2);
  margin-top: var(--s2);
}

.club-proof__caption strong {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.club-proof__sheet { color: color-mix(in srgb, var(--paper) 80%, var(--ink)); font-size: .9375rem; }
.club-proof__sheet:hover { color: var(--paper); }
.club-proof a:focus-visible { outline-color: var(--accent); }

/* ---------- Texte de la page, en colonnes ---------- */
.guide { padding-block: var(--space-section); }

.guide__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5) var(--gap);
}

.guide__col { padding-top: var(--s3); border-top: 1px solid var(--ink); }

.guide__col-title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.guide__col-body { max-width: 46ch; }
.guide__col-body p { margin: var(--s3) 0 0; color: var(--ink-70); line-height: 1.65; }

/* ---------- Les autres clubs, en tuiles ---------- */
.doors {
  padding-block: var(--space-section);
  border-top: 1px solid var(--ink-12);
}

.doors__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5) var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.door__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.door__photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-sunken);
}

.door__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--city-x, 70%) var(--city-y, 50%);
}

@media (prefers-reduced-motion: no-preference) {
  .door__image { transition: transform var(--motion-object); }
  .door__link:hover .door__image { transform: scale(1.025); }
}

/* Le filet du club, en pied de photo : sa couleur, puis la seconde. */
.door__photo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--club, var(--ink)) 50%, var(--club-2, var(--club, var(--ink))) 50%);
}

.door__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--s3);
}

.door__crest { position: relative; flex: none; width: 28px; height: 32px; }
.door__crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.door__name {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.door__line { margin: 6px 0 2px; color: var(--ink-70); }
.door__cta { margin-top: auto; }
.door__link:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }

/* Tous les casques : pas de photo, un filet d'encre, le texte en pied. */
.door--all .door__link {
  justify-content: flex-end;
  padding-block: var(--s3) var(--s1);
  border-top: 1px solid var(--ink);
}
.door--all .door__cta { margin-top: 0; }

/* Les tuiles de club : le texte se pose en pied de photo, sur un voile
   limité au bas de l'image, comme l'ouverture de la page. */
.door:not(.door--all) .door__link {
  position: relative;
  isolation: isolate;
  justify-content: flex-end;
  min-height: 320px;
  padding: var(--s3) var(--s3) var(--s1);
  color: var(--paper);
}
.door:not(.door--all) .door__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  aspect-ratio: auto;
}
.door:not(.door--all) .door__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 82%, transparent) 0%, color-mix(in srgb, var(--ink) 45%, transparent) 38%, transparent 70%);
}
.door:not(.door--all) .door__photo::after { z-index: 2; }
.door:not(.door--all) .door__head { margin-top: 0; }
.door:not(.door--all) .door__line { color: color-mix(in srgb, var(--paper) 86%, transparent); }
.door:not(.door--all) .door__cta { margin-top: 0; }

/* ---------- Tablette ---------- */

@media (max-width: 1100px) {
  .club-proof__text { grid-column: 1 / span 5; }
  .club-proof__prints { grid-column: 6 / -1; }
  .guide__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door--all { grid-column: 1 / -1; }
}

/* ---------- Téléphone et petite tablette ---------- */

@media (max-width: 800px) {
  /* Sur téléphone : la photo plus haute que large, le nom du club calé
     en bas, sur la grille de 4 colonnes. */
  .collection-page--club { --gap: var(--s2); }
  .territory__photo { height: auto; aspect-ratio: 390 / 470; max-height: 78svh; }
  .territory__photo::after { background: linear-gradient(to top, var(--photo-veil) 0%, var(--photo-veil-mid) 34%, transparent 62%); }
  .territory__over { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: var(--s2) var(--s3); }
  .territory__crumbs { font-size: .8rem; }
  .territory__name { grid-column: 1 / -1; gap: var(--s1); }
  .territory__crest { width: 36px; height: 48px; margin-bottom: var(--s1); }
  .territory__title { font-size: min(var(--fs-h1), 11vw); }
  .territory__line { font-size: 1.05rem; }
  .territory__legend { display: none; }
  .territory__rule::before { width: calc((100% - 3 * var(--gap)) / 4); }
  .who { padding-top: var(--s3); }
  .who__chip { min-height: 46px; padding-inline: 16px; }

  .compare { margin-top: var(--s4); padding-top: var(--s4); }
  .compare__head { margin-bottom: var(--s2); }
  .compare__item {
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: start;
    gap: 12px 14px;
    padding: 12px;
  }
  .compare__info { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .compare__price { justify-content: flex-start; font-size: 1.35rem; }
  /* L'état se lit sous la plage, sans point de séparation en tête de ligne. */
  .compare__size { flex-direction: column; margin-top: 4px; }
  .compare__state::before { content: none; }
  .compare__info .range-bar { margin: 10px 0 4px; }
  .compare__buy {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .club-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--s1); margin-bottom: var(--s4); padding-bottom: var(--s3); }
  .club-head__title, .club-head__link { grid-column: 1; justify-self: start; }

  .club-proof__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .club-proof__text, .club-proof--text .club-proof__text { grid-column: 1 / -1; gap: var(--s2); }
  .club-proof__prints { grid-column: 1 / -1; justify-content: flex-start; margin-top: var(--s5); }
  .club-proof__print { flex: 1 1 0; max-width: 240px; }
  .club-proof__print:nth-child(2) { margin-top: var(--s5); }
  .club-proof__caption { flex-direction: column; align-items: flex-start; }

  .guide__cols { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .doors__list { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .door:not(.door--all) .door__link { min-height: 240px; padding: var(--s2) var(--s2) var(--s1); }
  .door--all .door__link { padding-top: var(--s2); }
}
