/* ==========================================================================
   GymCompare — Comparateur de salles de sport à Paris
   Refonte conforme à la maquette « Trouvez votre salle idéale à Paris ».
   Palette : bleu roi #2563eb · orange #c94500 (CTA, AA) · marine #0e2340 · fond #f3f5f9
   ========================================================================== */

:root {
  --ink: #101828;
  --ink-soft: #475467;
  --ink-faint: #667085;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --line: #e6eaf1;
  --line-strong: #d5dce7;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #e8f1fe;
  --navy: #0e2340;
  --navy-tile: #17304f;
  --cta: #c94500;
  --cta-dark: #a83a00;
  --gold: #b45309;
  --green: #12805c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 6px 16px rgba(16, 24, 40, 0.08), 0 2px 6px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 24px 60px rgba(7, 16, 30, 0.28);
  --font-stack: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  height: 34px;
  width: auto;
  max-width: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.nav__icon svg {
  width: 100%;
  height: 100%;
}

.nav__caret {
  width: 11px;
  height: 11px;
  color: var(--ink-faint);
}

.nav__item:hover {
  color: var(--ink);
  background: #f5f7fa;
}

.nav__item--active {
  color: var(--blue);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--blue);
  border-radius: 8px 8px 0 0;
}

.account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #f2f4f8;
  flex-shrink: 0;
  transition: background 0.15s;
}

.account__icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: var(--ink-soft);
}

.account__icon svg {
  width: 100%;
  height: 100%;
}

.account:hover {
  background: #e8ecf3;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: image-set(
    url("/assets/hero-bg.avif?v=mw6f02hf") type("image/avif"),
    url("/assets/hero-bg.webp?v=mw6f02hf") type("image/webp"),
    url("/assets/hero-bg.jpg?v=mw6f02hf") type("image/jpeg")
  );
  background-size: cover;
  background-position: 72% 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 33, 0.97) 0%,
    rgba(6, 18, 33, 0.93) 34%,
    rgba(6, 18, 33, 0.62) 58%,
    rgba(6, 18, 33, 0.18) 100%
  );
}

.hero__inner {
  padding: 44px 20px 30px;
}

.hero__eyebrow {
  display: none;
}

.hero__title {
  font-size: clamp(30px, 3.75vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 800px;
  text-wrap: balance;
}

.hero__accent {
  color: #3b82f6;
}

.hero__sub {
  margin: 14px 0 0;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
}

/* Barre de recherche */

.searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: text;
}

.field + .field::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.field__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--blue);
  grid-row: 1 / span 2;
  align-self: center;
}

.field__icon svg {
  width: 100%;
  height: 100%;
}

.field__label {
  grid-column: 2;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.3;
}

.field__input,
.field__select {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 1px 0 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  appearance: none;
  outline: none;
  cursor: pointer;
}

.field__input::placeholder {
  color: #98a2b3;
  font-weight: 500;
}

.field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23667085' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px 12px;
  padding-right: 18px;
}

.field:focus-within {
  background: #f7f9fc;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.searchbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #d4510b 0%, var(--cta) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(240, 102, 26, 0.35);
  transition: filter 0.15s;
  white-space: nowrap;
}

.searchbar__btn:hover {
  filter: brightness(1.06);
}

.searchbar__btn svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Bénéfices
   ========================================================================== */

.benefits {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.benefits__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 17px 18px;
  position: relative;
}

.benefit + .benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: var(--line);
}

.benefit__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.benefit__icon svg {
  width: 100%;
  height: 100%;
}

.benefit__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.benefit__sub {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* ==========================================================================
   Contenu principal
   ========================================================================== */

.content {
  padding: 26px 0 44px;
}

.content__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  align-items: start;
}

.sectionHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.sectionHead h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.sectionHead__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.sectionHead__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sectionHead__arrow {
  font-size: 15px;
}

/* ==========================================================================
   Cartes de salles
   ========================================================================== */

.list-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr) 190px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card__media {
  position: relative;
  background: #dfe5ee;
}

.card__img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.badge {
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  z-index: 2;
}

.card__mid {
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.card__brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

/* Wordmarks : couleur de marque, comme sur la maquette (assombries pour le contraste AA à 17–18 px) */
.card__brand--basic-fit { color: #c94500; }
.card__brand--fitness-park { color: #111827; font-style: italic; }
.card__brand--keep-cool { color: #2f7d33; }
.card__brand--neoness { color: #111827; }
.card__brand--l-orange-bleue { color: #b45309; }
.card__brand--gigafit { color: #111827; }
.card__brand--vita-liberte { color: #0e7490; }
.card__brand--elancia { color: #0f766e; }
.card__brand--cercles-de-la-forme { color: #b45309; }

.card__rating {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1.5px;
  line-height: 1;
}

.card__ratingText {
  font-size: 12.5px;
  color: var(--ink-faint);
  font-weight: 500;
}

.card__ratingText strong {
  color: var(--ink);
  font-weight: 700;
}

.card__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card__bullets li {
  position: relative;
  padding-left: 19px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.card__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1;
}

.card__right {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 16px;
  border-left: 1px dashed var(--line-strong);
  justify-content: center;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2px;
}

.price__value {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price__unit {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-faint);
}

.card__metaRow {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.5;
}

.card__metaRow strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--cta);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s;
}

.cta:hover {
  background: var(--cta-dark);
}

/* ==========================================================================
   Colonne latérale
   ========================================================================== */

.side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 84px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.side-card__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Tuiles de types (carte marine) */

.types {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.types .side-card__title {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 13px;
}

.types__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.type-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 4px 9px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
}

.type-tile:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.type-tile__icon {
  display: inline-flex;
  width: 21px;
  height: 21px;
  color: #fff;
}

.type-tile__icon svg {
  width: 100%;
  height: 100%;
}

.type-tile__label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
}

/* Carte guide */

.guide {
  background: var(--blue-soft);
  border-color: #d3e4fd;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.guide__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: var(--blue);
  flex-shrink: 0;
}

.guide__icon svg {
  width: 100%;
  height: 100%;
}

.guide__title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
}

.guide__sub {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.guide__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.15s;
}

.guide__cta:hover {
  background: var(--blue-dark);
}

/* Newsletter */

.newsletter__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.newsletter__icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: var(--blue);
  flex-shrink: 0;
}

.newsletter__icon svg {
  width: 100%;
  height: 100%;
}

.newsletter__title {
  font-size: 14.5px;
  font-weight: 800;
}

.newsletter__sub {
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.45;
  margin-top: 2px;
}

.newsletter__form {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
}

.newsletter__input::placeholder {
  color: #98a2b3;
}

.newsletter__input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--blue);
}

.newsletter__btn {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.newsletter__btn:hover {
  background: var(--blue-dark);
}

/* ==========================================================================
   Pages internes
   ========================================================================== */

.page-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 24px 0 22px;
}

.page-head h1 {
  margin: 10px 0 7px;
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.028em;
  font-weight: 800;
}

.page-head__sub {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  color: var(--ink-soft);
}

.page-head__chips {
  margin-top: 15px;
}

.page-head__intro {
  margin: 12px 0 0;
  max-width: 780px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--ink-faint);
}

.crumbs a {
  color: var(--ink-faint);
}

.crumbs a:hover {
  color: var(--blue);
}

.crumbs li[aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.chip--active:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

/* Libellé d'équipement sans page de filtre dédiée : même pastille, mais non
   cliquable (le routeur redirigerait l'URL en 301 vers la page ville). */
.chip--muted {
  color: var(--muted);
  border-style: dashed;
  cursor: default;
}

.chip--muted:hover {
  border-color: var(--line-strong);
  color: var(--muted);
}

.empty {
  padding: 26px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-faint);
}

/* Fiche salle */

.gym-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 18px;
}

.gym-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.gym-hero__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gym-hero__brand {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.page-head .gym-hero__brand {
  margin: 0;
  font-size: 30px;
}

.gym-hero__title .badge {
  position: static;
  transform: none;
}

.gym-hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  font-size: 14px;
  color: var(--ink-soft);
}

.gym-hero__desc {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: 15px;
  color: var(--ink-soft);
}

.content__inner--salle,
.content__inner--article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 30px;
  align-items: start;
}

/* Colonne de contenu : min-width 0 afin que les tableaux larges (comparatif
   des enseignes, min-width 600px) défilent dans .cmp-wrap au lieu d'élargir
   la grille et de provoquer un débordement horizontal sur mobile. */
.salle-col {
  min-width: 0;
}

.salle-col h2,
.article h2 {
  margin: 30px 0 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.salle-col h2:first-child,
.article h2:first-child {
  margin-top: 0;
}

.price-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.price-box__main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.price-box__value {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-box__unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-faint);
}

.price-box__dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 9px 22px;
  margin: 14px 0 0;
  font-size: 14px;
}

.price-box__dl dt {
  color: var(--ink-faint);
  font-weight: 600;
}

.price-box__dl dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.price-box__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--ink-faint);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 800;
}

/* FAQ */

.faq {
  margin: 0 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 2px 16px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.faq:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  list-style: none;
  padding: 12px 26px 12px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2f4f8;
  color: var(--blue);
  font-weight: 800;
  transition: transform 0.18s;
}

.faq[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq p {
  margin: 0;
  padding: 0 0 13px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Guides */

.guides-section {
  margin: 34px 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.guides-section:first-of-type {
  margin-top: 0;
}

.guides-section + p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.guide-card__link {
  display: block;
  padding: 20px;
}

.guide-card h2,
.guide-card h3 {
  margin: 0 0 7px;
  font-size: 17.5px;
  letter-spacing: -0.015em;
  font-weight: 800;
  line-height: 1.3;
}

.guide-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.guide-card__meta {
  font-size: 12.5px;
  color: var(--ink-faint);
  font-weight: 600;
}

/* Article */

.article {
  max-width: 760px;
}

/* Visuel d'ouverture des guides : c'est l'image déclarée dans le balisage
   Article, elle doit donc être visible sur la page. */
.article-hero {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1392 / 470;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 22px;
  background: var(--line, #e5e7eb);
}

.article p {
  margin: 0 0 15px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.72;
}

.article ul,
.article ol {
  margin: 0 0 17px;
  padding-left: 21px;
}

.article li {
  margin-bottom: 7px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.68;
}

.article strong {
  color: var(--ink);
}

.article p a,
.article li a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Panneaux latéraux des pages internes */

.salle-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 84px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.panel__title {
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 11px;
  line-height: 1.3;
}

.panel__txt {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-faint);
}

.side-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.side-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
}

.side-links a:hover {
  color: var(--blue);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 34px 20px 26px;
}

.site-footer__brand img {
  height: 30px;
  width: auto;
}

.site-footer__about {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.55;
  max-width: 300px;
}

.site-footer__title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 10px;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.site-footer__links a {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.site-footer__links a:hover {
  color: var(--blue);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 20px 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* Bouton de réouverture du consentement, aligné sur les liens du footer. */
.site-footer__consent {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
}

.site-footer__consent:hover {
  color: var(--blue);
  text-decoration: underline;
}

.site-footer__consent:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ==========================================================================
   Bandeau de consentement (mesure d'audience)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 14px 0;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner__text {
  margin: 0;
  max-width: 860px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #e6edf7;
}

.cookie-banner__text strong {
  color: #fff;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex: none;
  gap: 10px;
}

.cookie-banner__btn {
  padding: 9px 16px;
  border: 1px solid #fff;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-banner__btn--ghost {
  /* Les deux choix ont volontairement le même poids visuel (RGPD/CNIL). */
  background: transparent;
  color: #fff;
}

.cookie-banner__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-banner__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Bouton inline « Gérer mes cookies » dans les pages légales. */
.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.linklike:hover {
  color: var(--blue-dark);
}

.linklike:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Accessibilité
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Sélection pour le comparateur
   ========================================================================== */

.compare-slot {
  margin: 0 0 20px;
}

.compare-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}

.compare-form__head {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

.compare-form__picks {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.compare-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.compare-pick:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.compare-pick input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.compare-pick--on {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.compare-form__btn {
  margin-top: 0;
}

/* ==========================================================================
   Favoris et alertes de prix
   ========================================================================== */

.gym-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.gym-action {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.gym-action--alert {
  gap: 8px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.ghost-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ghost-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.ghost-btn--on {
  border-color: var(--cta);
  background: #fdf1eb;
  color: var(--cta-dark);
}

.ghost-btn--on:hover {
  border-color: var(--cta-dark);
  color: var(--cta-dark);
}

.ghost-input {
  width: 220px;
  max-width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
}

.ghost-input::placeholder {
  color: #98a2b3;
}

.ghost-input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--blue);
}

.panel__more {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.panel__more a {
  color: var(--blue);
}

.fav-item__actions {
  margin-top: 10px;
}

.watch-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watch-list li {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.watch-list a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.watch-list a:hover {
  color: var(--blue);
}

/* ==========================================================================
   Tableau comparatif
   ========================================================================== */

.cmp-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cmp {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.cmp th,
.cmp td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cmp tbody th {
  width: 172px;
  font-weight: 700;
  color: var(--ink);
}

.cmp tbody tr:nth-child(odd) th,
.cmp tbody tr:nth-child(odd) td {
  background: #fbfcfe;
}

/* Ligne de l'enseigne décrite : mise en évidence dans le comparatif local.
   Sélecteur plus spécifique que l'alternance pair/impair ci-dessus. */
.cmp-wrap .cmp tbody tr.cmp-row--current th,
.cmp-wrap .cmp tbody tr.cmp-row--current td {
  background: var(--blue-soft);
  font-weight: 700;
}

.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td {
  border-bottom: 0;
}

.cmp thead th,
.cmp thead td {
  border-bottom: 1px solid var(--line-strong);
  background: #fbfcfe;
}

.cmp__corner {
  width: 172px;
}

.cmp-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmp-head .card__brand {
  font-size: 18px;
}

.cmp-head__cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

.cmp-sub {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-faint);
}

.cmp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmp-list li {
  position: relative;
  padding-left: 15px;
}

.cmp-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.cmp-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

/* ==========================================================================
   Blocs nationaux (villes, régions, clubs, formules, galerie)
   ========================================================================== */

.card__context {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.01em;
}

.home-block {
  margin-top: 30px;
}

/* Paragraphe d'introduction d'un bloc national */
.block-lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* Communes couvertes par une page ville (contenu propre à chaque ville) */
.communes-list {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.region-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

/* Grille de villes cliquables avec le décompte de clubs */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 10px;
}

.city-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.city-chip:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.city-chip span {
  flex-shrink: 0;
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* Liste des clubs d'une enseigne dans une ville */
.club-list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 8px;
}

.club-list li {
  position: relative;
  padding: 10px 14px 10px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.club-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--blue);
}

/* Formules d'abonnement d'une enseigne */
.formule-list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
}

.formule__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.formule__name small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
}

.formule__price {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--cta-dark);
  white-space: nowrap;
}

/* Galerie d'images d'une enseigne */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.gal-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #dfe5ee;
}

.gal-item img {
  width: 100%;
  height: 100%;
  min-height: 152px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gal-item:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 520px) {
  .formule {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .gal-grid,
  .club-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .content__inner {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .card {
    grid-template-columns: 132px minmax(0, 1fr) 176px;
  }

  .content__inner--salle,
  .content__inner--article {
    grid-template-columns: minmax(0, 1fr) 288px;
    gap: 24px;
  }

  .gym-hero {
    grid-template-columns: 250px minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .content__inner {
    grid-template-columns: 1fr;
  }

  .side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .side > * {
    flex: 1 1 280px;
  }

  .content__inner--salle,
  .content__inner--article {
    grid-template-columns: 1fr;
  }

  .salle-side {
    position: static;
  }

  .gym-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gym-hero__media {
    max-width: 460px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .account {
    margin-left: auto;
    font-size: 0;
    padding: 9px 11px;
    gap: 0;
  }

  .searchbar {
    grid-template-columns: 1fr 1fr;
  }

  .searchbar__btn {
    grid-column: 1 / -1;
  }

  .field + .field::before {
    display: none;
  }

  .benefits__inner {
    grid-template-columns: 1fr 1fr;
  }

  .benefit:nth-child(3)::before {
    display: none;
  }

  .benefit:nth-child(1),
  .benefit:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .hero__inner {
    padding: 30px 20px 24px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .card {
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-areas:
      "media mid"
      "right right";
  }

  .card__media {
    grid-area: media;
  }

  .card__img {
    min-height: 100%;
  }

  .card__mid {
    grid-area: mid;
    padding: 12px 14px;
    gap: 7px;
  }

  .card__right {
    grid-area: right;
    border-left: 0;
    border-top: 1px dashed var(--line-strong);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 11px 14px 13px;
  }

  .price {
    margin: 0;
  }

  .cta {
    margin-top: 0;
    margin-left: auto;
    padding: 9px 14px;
  }

  .card__brand {
    font-size: 18px;
  }

  .sectionHead h2 {
    font-size: 21px;
  }

  .page-head h1 {
    font-size: 24px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .types__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .searchbar {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .field {
    padding: 7px 10px;
  }

  .benefits__inner {
    grid-template-columns: 1fr;
  }

  .benefit + .benefit::before {
    display: none;
  }

  .benefit {
    border-bottom: 1px solid var(--line);
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .card__brand {
    font-size: 17px;
  }

  .gym-action--alert,
  .watch-list li .gym-action {
    width: 100%;
    flex-wrap: wrap;
  }

  .ghost-input {
    width: 100%;
  }

  .ghost-btn,
  .compare-form__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Impression
   ========================================================================== */

@media print {
  .topbar,
  .hero,
  .benefits,
  .side,
  .site-footer,
  .searchbar {
    display: none !important;
  }
}

/* ==========================================================================
   Ma sélection (/compte)
   ========================================================================== */
.sel { display: grid; gap: 28px; max-width: 980px; }
.sel h2 { margin: 0; }
.sel-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.sel-btn--cta { background: var(--cta); color: #fff; }
.sel-btn--cta:hover { background: var(--cta-dark); color: #fff; }
.sel-btn--ghost { min-height: 38px; padding: 0 14px; font-size: 14px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.sel-btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Barre de comparaison */
.sel-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--navy); color: #dbe5f3;
}
.sel-bar strong { color: #fff; }
.sel-bar--hint { background: var(--blue-soft); color: var(--ink-soft); }
.sel-bar--hint strong { color: var(--ink); }

/* Liste des salles gardées */
.sel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sel-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto; align-items: center; gap: 20px;
  padding: 12px 16px 12px 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.sel-row__img, .sel-sug__img { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg); }
.sel-row__img { width: 120px; height: 80px; }
.sel-row__img img { display: block; width: 120px; height: 80px; max-width: none; object-fit: cover; }
.sel-row__brand { font-size: 19px; font-weight: 800; color: var(--ink); text-decoration: none; }
.sel-row__brand:hover { color: var(--blue); }
.sel-row__meta { margin-top: 4px; font-size: 14px; color: var(--ink-faint); }
.sel-row__price { display: grid; justify-items: end; line-height: 1.2; }
.sel-row__price strong { font-size: 22px; color: var(--ink); }
.sel-row__price span { font-size: 13px; color: var(--ink-faint); }
.sel-row__price small { margin-top: 4px; font-size: 12.5px; color: var(--ink-soft); }
.sel-row__act { display: flex; align-items: center; gap: 8px; }
.sel-row__act form { margin: 0; }
.sel-remove {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink-faint); cursor: pointer;
}
.sel-remove svg { width: 16px; height: 16px; fill: none; }
.sel-remove:hover { border-color: #d92d20; color: #d92d20; background: #fef3f2; }

/* Sélection vide */
.sel-empty {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 40px 28px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-sm);
}
.sel-empty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fdeee6; color: var(--cta); }
.sel-empty__icon svg { width: 30px; height: 30px; fill: none; }
.sel-empty p { margin: 0; max-width: 520px; color: var(--ink-soft); }
.sel-steps {
  list-style: none; margin: 14px 0 18px; padding: 0; width: 100%; max-width: 760px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left;
}
.sel-steps li { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--bg); }
.sel-steps__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; }
.sel-steps strong { display: block; font-size: 14.5px; color: var(--ink); }
.sel-steps li span:not(.sel-steps__n) { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-faint); }

/* Suggestions */
.sel-more h2 { margin-bottom: 14px; font-size: 20px; }
.sel-sugs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.sel-sug {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 12px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.sel-sug__img { width: 64px; height: 48px; }
.sel-sug__img picture, .sel-row__img picture { display: block; width: 100%; height: 100%; }
.sel-sug__img img { display: block; width: 64px; height: 48px; max-width: none; object-fit: cover; }
.sel-sug__brand { display: block; font-weight: 800; color: var(--ink); text-decoration: none; }
.sel-sug__brand:hover { color: var(--blue); }
.sel-sug__txt span { display: block; font-size: 13px; color: var(--ink-faint); }
.sel-sug form { margin: 0; }
.sel-add {
  display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px;
  border: 1px solid #f4c7ad; border-radius: 999px; background: #fff7f2; color: var(--cta);
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.sel-add svg { width: 16px; height: 16px; fill: none; }
.sel-add:hover { background: var(--cta); border-color: var(--cta); color: #fff; }
.sel-more__all { margin: 14px 0 0; }
.sel-more__all a { font-weight: 700; }

@media (max-width: 720px) {
  .sel-steps { grid-template-columns: 1fr; }
  .sel-row { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .sel-row__img, .sel-row__img img { width: 88px; height: 66px; }
  .sel-row__price { grid-column: 2; justify-items: start; }
  .sel-row__price strong { font-size: 20px; }
  .sel-row__act { grid-column: 1 / -1; justify-content: space-between; }
  .sel-row__act .sel-btn--ghost { flex: 1; }
  .sel-bar .sel-btn { width: 100%; }
}

/* Accueil : bloc « Explorer TopGym » (maillage interne) */
.explore { padding-top: 8px; }
.explore__title { margin: 0 0 18px; font-size: 24px; }
.explore__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.explore__col { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.explore h3 { margin: 0 0 10px; font-size: 16px; color: var(--ink); }
.explore__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.explore__list a { color: var(--ink-soft); text-decoration: none; }
.explore__list a:hover { color: var(--blue); text-decoration: underline; }
.explore__list span { color: var(--ink-faint); font-size: 13px; }
.explore__more { margin: 12px 0 0; font-size: 14.5px; }
.explore__more a { font-weight: 700; }
.explore__sub { margin: 26px 0 12px !important; font-size: 18px !important; }
.explore__regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 16px; }
.explore__region { padding: 12px 14px; line-height: 1.9; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.explore__region strong { display: block; line-height: 1.4; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-faint); }
.explore__region a { display: inline-block; margin-right: 12px; color: var(--ink-soft); text-decoration: none; }
.explore__region a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 860px) { .explore__grid { grid-template-columns: 1fr; } }
