/* =========================================================
   WeFitTogether — feuille de style unique
   Une seule teinte de marque, thème clair uniquement, typo système.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Marque */
  --brand: #087a55;
  --brand-strong: #066747;
  --brand-fg: #ffffff;
  --brand-wash: #e7f5ef;
  --brand-line: #bfe0d3;

  /* Neutres */
  --bg: #ffffff;
  --bg-grouped: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --label: #111214;
  --label-2: #4a4d55;
  --label-3: #74777f;
  --separator: #e3e5e9;
  --separator-strong: #d3d6dc;
  --shadow: 0 1px 2px rgba(16, 20, 26, 0.05), 0 12px 32px -18px rgba(16, 20, 26, 0.28);
  --shadow-lift: 0 2px 4px rgba(16, 20, 26, 0.06), 0 28px 60px -28px rgba(16, 20, 26, 0.4);

  /* Rythme */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --max: 1120px;
  --gut: 24px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand);
  text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.021em;
  margin: 0 0 0.5em;
  font-weight: 640;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.6rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem);
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.02rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

ul,
ol {
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.4em;
}

hr {
  border: 0;
  border-top: 1px solid var(--separator);
  margin: 2.5rem 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--bg-grouped);
  padding: 0.15em 0.4em;
  border-radius: 6px;
}

/* ---------- Utilitaires de mise en page ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wrap--narrow {
  max-width: 780px;
}

.section {
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.section--grouped {
  background: var(--bg-grouped);
}

.section__head {
  max-width: 660px;
  margin-bottom: 2.75rem;
}

.section__head p {
  color: var(--label-2);
  font-size: 1.06rem;
  margin-bottom: 0;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 660;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.22rem);
  color: var(--label-2);
  line-height: 1.55;
}

.muted {
  color: var(--label-3);
  font-size: 0.92rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--brand-fg);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 100;
  font-weight: 600;
}

.skip:focus {
  left: 0;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--separator);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 680;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--label);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: 10px;
  color: var(--label-2);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 520;
}

.nav a:hover {
  color: var(--label);
  background: var(--bg-grouped);
}

.nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 620;
}

/* Sur petit écran, la navigation devient une seule rangée défilante
   au lieu de repousser le contenu sur trois lignes. */
@media (max-width: 800px) {
  .site-header__inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-block: 6px;
    min-height: 56px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    /* Fondu à droite : indique que la navigation continue. */
    mask-image: linear-gradient(to left, transparent, #000 22px);
    -webkit-mask-image: linear-gradient(to left, transparent, #000 22px);
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding-inline: 0.6rem;
    font-size: 0.92rem;
  }

}

/* ---------- Badges & pastilles ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

.pill--neutral {
  background: var(--bg-grouped);
  border-color: var(--separator);
  color: var(--label-2);
}

a.pill {
  text-decoration: none;
  min-height: 44px;
  padding-inline: 1rem;
}

a.pill:hover {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border-color: var(--brand);
}

a.pill--neutral:hover {
  background: var(--separator);
  border-color: var(--separator-strong);
  color: var(--label);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-row li {
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 1.5rem + 6vw, 6rem) clamp(3rem, 2rem + 5vw, 5.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 30% 40% -20%;
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--brand) 14%, transparent),
    transparent
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero__lede {
  max-width: 34ch;
}

.hero__meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--label-3);
  font-size: 0.9rem;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Maquette téléphone ---------- */
.device {
  position: relative;
  width: min(300px, 100%);
  margin-inline: auto;
  aspect-ratio: 300 / 610;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(
    170deg,
    color-mix(in srgb, var(--label) 22%, var(--bg)),
    color-mix(in srgb, var(--label) 8%, var(--bg))
  );
  box-shadow: var(--shadow-lift);
}

.device__screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.device__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--label) 88%, transparent);
  z-index: 3;
}

/* Carte stylisée */
.map {
  position: relative;
  flex: 1;
  background: var(--bg-grouped);
  overflow: hidden;
}

.map__grid {
  position: absolute;
  inset: -10%;
  background-image: linear-gradient(
      color-mix(in srgb, var(--label) 7%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--label) 7%, transparent) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  transform: rotate(-7deg);
}

.map__road {
  position: absolute;
  background: color-mix(in srgb, var(--label) 9%, transparent);
  border-radius: 999px;
}

.map__road--a {
  inset: 34% -12% auto -12%;
  height: 16px;
  transform: rotate(-7deg);
}

.map__road--b {
  inset: -12% auto -12% 46%;
  width: 13px;
  transform: rotate(5deg);
}

.map__park {
  position: absolute;
  width: 46%;
  height: 22%;
  top: 8%;
  right: -6%;
  border-radius: 40% 30% 45% 35%;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
}

.pin {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--brand);
  border: 2px solid var(--surface);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
}

.pin span {
  transform: rotate(45deg);
  font-size: 12px;
  line-height: 1;
  color: var(--brand-fg);
  font-weight: 700;
}

.pin--pro {
  background: var(--surface);
  border-color: var(--brand);
}

.pin--pro span {
  color: var(--brand);
}

.pin--lg {
  width: 38px;
  height: 38px;
}

.pin--a {
  top: 26%;
  left: 14%;
}
.pin--b {
  top: 34%;
  right: 18%;
}
.pin--c {
  top: 46%;
  left: 40%;
}

.device__chips {
  position: absolute;
  top: 46px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
  overflow: hidden;
}

.chip {
  flex: 0 0 auto;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 620;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--separator);
  color: var(--label-2);
  white-space: nowrap;
}

.chip--on {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-fg);
}

/* Feuille inférieure */
.sheet {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-top: 1px solid var(--separator);
  border-radius: 20px 20px 0 0;
  margin-top: -18px;
  padding: 10px 14px 16px;
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, 0.35);
}

.sheet__grabber {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: var(--separator-strong);
  margin: 0 auto 12px;
}

.sheet__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.sheet__title {
  font-size: 15px;
  font-weight: 660;
  letter-spacing: -0.01em;
  margin: 0;
}

.sheet__tag {
  font-size: 10px;
  font-weight: 660;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  white-space: nowrap;
}

.sheet__meta {
  font-size: 12px;
  color: var(--label-3);
  margin: 0 0 10px;
  line-height: 1.45;
}

.sheet__cta {
  display: block;
  text-align: center;
  background: var(--brand);
  color: var(--brand-fg);
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
  font-weight: 640;
}

.sheet__avatars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-grouped);
  border: 1.5px solid var(--surface);
  margin-left: -8px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--label-3);
}

.avatar:first-child {
  margin-left: 0;
}

.sheet__avatars small {
  font-size: 11px;
  color: var(--label-3);
  margin-left: 2px;
}

.device__tabs {
  display: flex;
  justify-content: space-around;
  padding: 8px 0 14px;
  background: var(--surface);
  border-top: 1px solid var(--separator);
  font-size: 9.5px;
  color: var(--label-3);
}

.device__tabs span {
  display: grid;
  gap: 3px;
  justify-items: center;
  font-weight: 560;
}

.device__tabs .on {
  color: var(--brand);
}

.tab-dot {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: currentColor;
  opacity: 0.85;
}

/* ---------- Grilles de contenu ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  padding: 1.6rem;
}

.card h3 {
  margin-bottom: 0.45rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  color: var(--label-2);
  font-size: 0.98rem;
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 21px;
  height: 21px;
}

/* Étapes numérotées */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps li {
  position: relative;
  margin: 0;
  padding-top: 3.2rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--brand-fg);
  font-weight: 700;
  font-size: 1rem;
}

.steps h3 {
  margin-bottom: 0.35rem;
}

.steps p {
  color: var(--label-2);
  font-size: 0.98rem;
  margin: 0;
}

/* Split membre / pro */
.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.panel {
  border: 1px solid var(--separator);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.panel--accent {
  background: var(--brand-wash);
  border-color: var(--brand-line);
}

.panel > :last-child {
  margin-bottom: 0;
}

/* Liste à coches */
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.7rem;
}

.checks li {
  position: relative;
  padding-left: 1.9rem;
  margin: 0;
  color: var(--label-2);
  font-size: 0.99rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-wash);
  border: 1px solid var(--brand-line);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.6em;
  width: 0.32rem;
  height: 0.6rem;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.checks strong {
  color: var(--label);
  font-weight: 620;
}

/* Liste des exclusions */
.checks--out li::after {
  left: 0.38rem;
  top: 0.72em;
  width: 0.42rem;
  height: 0;
  border-width: 0 0 2px 0;
  border-color: var(--label-3);
  transform: none;
}

.checks--out li::before {
  background: var(--bg-grouped);
  border-color: var(--separator-strong);
}

/* ---------- Tarifs ---------- */
.plans {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.plan {
  border: 1px solid var(--separator);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: clamp(1.6rem, 1rem + 2vw, 2.2rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.plan__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.plan h3 {
  margin: 0;
  font-size: 1.25rem;
}

.plan__price {
  margin: 1rem 0 0.25rem;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.plan__price small {
  font-size: 0.92rem;
  font-weight: 520;
  color: var(--label-3);
  letter-spacing: 0;
}

.plan__alt {
  color: var(--label-2);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.plan .checks {
  margin-top: 0.5rem;
}

.note {
  border-left: 3px solid var(--brand-line);
  padding: 0.25rem 0 0.25rem 1rem;
  color: var(--label-2);
  font-size: 0.95rem;
  margin: 1.75rem 0 0;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 800px;
}

.faq details {
  border: 1px solid var(--separator);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 600;
  position: relative;
  min-height: 44px;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 1.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border: solid var(--label-3);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 1.75rem;
}

.faq details[open] summary {
  color: var(--brand);
}

.faq__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--label-2);
  font-size: 0.99rem;
}

.faq__body > :last-child {
  margin-bottom: 0;
}

/* ---------- Tableaux ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--separator);
  border-radius: var(--r-md);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  min-width: 560px;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--separator);
  vertical-align: top;
}

thead th {
  background: var(--bg-grouped);
  font-weight: 620;
  font-size: 0.88rem;
  color: var(--label-2);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Appel à l'action ---------- */

/* ---------- Pages de contenu long ---------- */
.doc {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.doc h2 {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--separator);
  font-size: 1.5rem;
}

.doc h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.doc h3 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}

.doc p,
.doc li {
  color: var(--label-2);
}

.doc strong {
  color: var(--label);
}

.toc {
  background: var(--bg-grouped);
  border: 1px solid var(--separator);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.toc h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--label-3);
  margin: 0 0 0.75rem;
  border: 0;
  padding: 0;
}

.toc ol {
  margin: 0;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.95rem;
}

@media (max-width: 620px) {
  .toc ol {
    columns: 1;
  }
}

.toc li {
  break-inside: avoid;
}

/* ---------- Contact / support ---------- */
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.contact-card .card__icon {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.contact-card h3 {
  margin-bottom: 0.3rem;
}

.contact-card p {
  color: var(--label-2);
  font-size: 0.97rem;
  margin-bottom: 0.5rem;
}

.contact-card > div > :last-child {
  margin-bottom: 0;
}

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--separator);
  background: var(--bg-grouped);
  padding-block: 3rem 2.5rem;
  margin-top: 0;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
  }
}

.site-footer h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--label-3);
  margin-bottom: 0.9rem;
  font-weight: 640;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: var(--label-2);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.site-footer__about p {
  color: var(--label-3);
  font-size: 0.94rem;
  max-width: 38ch;
}

.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--separator-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--label-3);
  font-size: 0.88rem;
}

/* ---------- Mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Impression ---------- */
@media print {
  .site-header,
  .site-footer,
  .skip {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
