/*
  Prix Reel - site public (accueil, aide, confidentialite, conditions et mentions legales).
  Aucune ressource externe : les polices sont hebergees avec le site (licence OFL, voir fonts/).
  Theme clair par defaut, theme sombre via prefers-color-scheme. Monochrome.
*/

/* ---------- Polices ---------- */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Couleurs et mesures ---------- */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-plate: #f1f1ef;
  --ink: #111111;
  --ink-2: #444444;
  --ink-3: #6b6b6b;
  --rule: #d9d9d7;
  --rule-strong: #111111;

  --btn-bg: #111111;
  --btn-ink: #ffffff;
  --btn-hover: #3a3a3a;

  /* Pilule de navigation (verre sombre) : identique dans les deux themes */
  --pill-bg: rgba(17, 17, 17, 0.8);
  --pill-solid: #1b1b1b;
  --pill-border: rgba(255, 255, 255, 0.14);
  --pill-ink: #f5f5f4;
  --pill-ink-2: rgba(245, 245, 244, 0.8);
  --pill-hover: rgba(255, 255, 255, 0.1);

  /* Pied de page inverse */
  --foot-bg: #0e0e0e;
  --foot-ink: #f1f1ef;
  --foot-ink-3: #a3a3a1;
  --foot-rule: #2f2f2f;

  --font-display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Source Serif 4", ui-serif, Georgia, serif;

  --gutter: clamp(16px, 2.5vw, 40px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 12vw, 192px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --bg-plate: #181818;
    --ink: #f1f1ef;
    --ink-2: #c6c6c4;
    --ink-3: #9d9d9b;
    --rule: #2e2e2e;
    --rule-strong: #f1f1ef;

    --btn-bg: #f1f1ef;
    --btn-ink: #0e0e0e;
    --btn-hover: #d2d2d0;

    --pill-bg: rgba(30, 30, 30, 0.74);
    --pill-solid: #1e1e1e;
    --pill-border: rgba(255, 255, 255, 0.12);

    --foot-bg: #151515;
    --foot-rule: #2e2e2e;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 104px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Un mot trop long pour sa colonne (texte agrandi) passe a la ligne au lieu de deborder */
  overflow-wrap: break-word;
}

@media (min-width: 64em) {
  body {
    font-size: 1.125rem;
  }
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease;
}

a:hover {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--ink);
  color: var(--bg);
}

.wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.label .num {
  margin-right: 1.1em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Lien d'evitement */
.skip {
  position: absolute;
  top: 84px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 500 0.9375rem/1 var(--font-display);
  text-decoration: none;
  transform: translateY(-200px);
  transition: transform 0.2s ease;
}

.skip:focus {
  transform: none;
}

/* ---------- En-tete : pilule de verre ---------- */

.site-header {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 50;
  pointer-events: none;
}

.pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 1180px;
  min-height: 58px;
  margin-inline: auto;
  padding: 6px 6px 6px 20px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  background: var(--pill-solid);
  color: var(--pill-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 36px -16px rgba(0, 0, 0, 0.5);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pill {
    background: var(--pill-bg);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
  }
}

.pill :focus-visible {
  outline-color: var(--pill-ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 10px;
  color: var(--pill-ink);
  font: 600 1.0625rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex: none;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .brand-euro {
  fill: currentColor;
  stroke: none;
}

.nav-links {
  display: flex;
  gap: 2px;
  margin: 0 0 0 14px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--pill-ink-2);
  font: 500 0.9375rem/1 var(--font-display);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--pill-ink);
  background: var(--pill-hover);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-left: auto;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--pill-ink);
  color: #111111;
  font: 500 0.9375rem/1 var(--font-display);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.pill-btn:hover {
  background: #d9d9d7;
  text-decoration: none;
}

@media (max-width: 63.99em) {
  .nav-links li:nth-child(-n + 2) {
    display: none;
  }
}

@media (max-width: 47.49em) {
  .nav-links {
    display: none;
  }
}

/* Avec un texte agrandi (200 %), le nom se masque visuellement pour que Contact reste dans la pilule */
@media (max-width: 18em) {
  .brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .brand {
    padding-right: 4px;
  }
}

/* ---------- Ouverture (hero) ---------- */

.hero {
  padding-top: clamp(116px, 12.5vw, 176px);
}

.display {
  margin-left: -0.045em;
  padding-bottom: 0.04em;
  font-size: min(21vw, 15.5rem);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.055em;
}

@media (min-width: 47.5em) {
  .display {
    font-size: min(16.5vw, 15.5rem);
  }
}

.display--doc {
  font-size: min(11.5vw, 10.5rem);
  letter-spacing: -0.05em;
}

@media (min-width: 47.5em) {
  .display--doc {
    font-size: min(11vw, 10.5rem);
  }
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.meta-strip li {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 47.49em) {
  .meta-strip {
    flex-direction: column;
    gap: 8px;
  }
}

.hero-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: var(--gap);
  align-items: start;
  margin-top: clamp(44px, 6vw, 96px);
}

.hero-text {
  grid-column: 7 / 13;
  grid-row: 1;
  max-width: 42rem;
}

.hero-figure {
  grid-column: 1 / 7;
  grid-row: 1 / span 2;
}

.hero-body > .specs {
  grid-column: 7 / 13;
  grid-row: 2;
  align-self: start;
  max-width: 42rem;
}

.lead {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.75vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.question {
  margin-top: clamp(36px, 4.5vw, 64px);
}

.question blockquote {
  margin-top: 12px;
}

.question blockquote p {
  font-family: var(--font-text);
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  text-wrap: pretty;
}

.question-note {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 500 1rem/1.1 var(--font-display);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  border-color: var(--btn-hover);
  background: var(--btn-hover);
  text-decoration: none;
}

.btn--ghost {
  border-color: var(--ink-3);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px var(--gap);
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.specs dt {
  color: var(--ink-3);
  font: 400 0.9375rem/1.35 var(--font-display);
}

.specs dd {
  margin-top: 5px;
  font: 500 0.8125rem/1.4 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 56.24em) {
  .hero-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 64px;
  }

  .hero-text,
  .hero-figure,
  .hero-body > .specs {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-body > .specs {
    margin-top: 0;
  }
}

/* ---------- Figures ---------- */

.plate {
  padding: clamp(14px, 3.4vw, 60px);
  background: var(--bg-plate);
}

.plate img {
  width: 100%;
  margin-inline: auto;
}

/* Les captures ont des coins arrondis sur fond blanc : on les coupe en proportion */
.shot {
  max-width: 600px;
  border-radius: 3.4% / 2.3%;
}

.aerial {
  border-radius: 2.6% / 4.8%;
}

figcaption.caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 20px;
  margin-top: 14px;
  color: var(--ink-3);
  font: 400 0.9375rem/1.45 var(--font-display);
}

figcaption.caption .label {
  color: var(--ink);
  line-height: 1.65;
}

@media (max-width: 29.99em) {
  figcaption.caption {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Sections ---------- */

.section {
  padding-top: var(--section);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 22px;
  margin-bottom: clamp(48px, 7vw, 120px);
  padding-top: 16px;
  border-top: 1px solid var(--rule-strong);
}

.section-head .label {
  grid-column: 1 / 7;
}

.section-head h2 {
  grid-column: 7 / 13;
  max-width: 15em;
  margin-top: -0.1em;
  font-size: clamp(2rem, 3.8vw, 3.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

@media (max-width: 56.24em) {
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head .label,
  .section-head h2 {
    grid-column: 1;
  }
}

/* 01 Utilisation */

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

.steps li {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.step-num {
  display: block;
  margin-bottom: clamp(28px, 4.5vw, 72px);
  font: 400 clamp(3.5rem, 7vw, 6.5rem)/0.9 var(--font-display);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3125rem, 1.7vw, 1.625rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.steps p {
  max-width: 34em;
  color: var(--ink-2);
}

.note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 88px);
  color: var(--ink-2);
  font: 400 0.9375rem/1.5 var(--font-display);
}

.note::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-1px);
}

@media (max-width: 56.24em) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-num {
    margin-bottom: 20px;
  }
}

/* 02 Ce que vous voyez */

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

.split-figure {
  grid-column: 1 / 7;
  position: sticky;
  top: 104px;
}

.index {
  grid-column: 7 / 13;
}

.index li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  padding: 18px 0 34px;
  border-top: 1px solid var(--rule);
}

.index li:last-child {
  padding-bottom: 0;
}

.index-num {
  padding-top: 0.55em;
  color: var(--ink-3);
  font: 500 0.8125rem/1 var(--font-display);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.index h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3125rem, 1.9vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.index p {
  grid-column: 2;
  max-width: 36em;
  color: var(--ink-2);
}

@media (max-width: 56.24em) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 56px;
  }

  .split-figure,
  .index {
    grid-column: 1;
  }

  .split-figure {
    position: static;
  }
}

@media (max-width: 29.99em) {
  .index li {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-num {
    padding: 0 0 12px;
  }

  .index p {
    grid-column: 1;
  }
}

/* 03 Donnees */

.sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px var(--gap);
}

.sources li {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.sources h3 {
  margin: 14px 0 14px;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.sources p {
  color: var(--ink-2);
  font-size: 1rem;
}

.source-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: auto;
  padding-top: 22px;
  font: 500 0.9375rem/1.4 var(--font-display);
}

.source-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.ext::after {
  content: "";
  flex: none;
  width: 0.62em;
  height: 0.62em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 8 2M3.5 2H8v4.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 8 2M3.5 2H8v4.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.source-licence {
  margin-top: 14px;
  color: var(--ink-3);
  font: 500 0.75rem/1.4 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fine {
  max-width: 46em;
  margin-top: clamp(48px, 6vw, 80px);
  color: var(--ink-2);
  font: 400 0.9375rem/1.55 var(--font-display);
}

@media (max-width: 74.99em) {
  .sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 39.99em) {
  .sources {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
  }
}

/* 04 Limites : six cartes sur toute la largeur, le constat puis ce qu'il change (fleche),
   alignes en bas de chaque rangee ; puis le principe, sur un fond a part */

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

.limits li {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.limits h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.limits p {
  max-width: 34em;
  color: var(--ink-2);
  font-size: 1rem;
}

.limits .limit-so {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font: 500 1rem/1.45 var(--font-display);
}

.limit-so::before {
  content: "";
  flex: none;
  width: 0.9em;
  height: 1.45em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M0 5h10.5M6.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M0 5h10.5M6.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.promise {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 14px;
  align-items: baseline;
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px);
  background: var(--bg-plate);
}

.promise-title {
  grid-column: 1 / 7;
  font: 400 clamp(1.75rem, 3vw, 2.75rem)/1.05 var(--font-display);
  letter-spacing: -0.03em;
}

.promise-text {
  grid-column: 7 / 13;
  max-width: 30em;
  color: var(--ink-2);
}

@media (max-width: 63.99em) {
  .limits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 56.24em) {
  .promise {
    grid-template-columns: minmax(0, 1fr);
  }

  .promise-title,
  .promise-text {
    grid-column: 1;
  }
}

@media (max-width: 39.99em) {
  .limits {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
  }
}

/* ---------- Pages document (aide, confidentialite, conditions, mentions legales) ---------- */

.doc-lead {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(44px, 6vw, 96px);
}

.doc-lead .lead {
  grid-column: 7 / 13;
  max-width: 21em;
  margin-top: 0;
}

.doc {
  padding-top: var(--section);
}

.doc-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 18px;
  padding: 18px 0 clamp(52px, 6vw, 96px);
  border-top: 1px solid var(--rule);
}

.doc-row:first-child {
  border-top-color: var(--rule-strong);
}

.doc-row h2 {
  grid-column: 1 / 6;
  font-size: clamp(1.3125rem, 1.9vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.doc-row h2 .num {
  display: inline-block;
  margin-right: 1.4em;
  color: var(--ink-3);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.doc-body {
  grid-column: 7 / 13;
  max-width: 40rem;
}

.doc-body > * + * {
  margin-top: 1em;
}

.doc-body ul:not([role]) {
  padding-left: 1.15em;
}

.doc-body ul:not([role]) li + li {
  margin-top: 0.45em;
}

.doc-body ul:not([role]) li::marker {
  color: var(--ink-3);
}

.doc-body ol:not([role]) {
  padding-left: 1.4em;
}

.doc-body ol:not([role]) li {
  padding-left: 0.2em;
}

.doc-body ol:not([role]) li + li {
  margin-top: 0.6em;
}

.doc-body ol:not([role]) li::marker {
  color: var(--ink-3);
}

/* Questions frequentes (aide) */

.faq li {
  padding: 16px 0 18px;
  border-top: 1px solid var(--rule);
}

.faq li:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq li:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.faq p {
  margin-top: 8px;
  color: var(--ink-2);
}

.brief li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.brief li:first-child {
  border-top: 0;
  padding-top: 0;
}

.brief li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.68em;
  border-radius: 50%;
  background: var(--ink);
}

.counter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
}

.counter > div {
  padding: 14px 16px 16px;
}

.counter > div + div {
  border-left: 1px solid var(--rule);
}

.counter dt {
  color: var(--ink-3);
  font: 500 0.75rem/1.4 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.counter dd {
  margin-top: 6px;
  font: 400 1rem/1.35 var(--font-display);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 4px var(--gap);
  padding: 12px 0 14px;
  border-top: 1px solid var(--rule);
}

.facts > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.facts dt {
  padding-top: 0.25em;
  color: var(--ink-3);
  font: 500 0.75rem/1.6 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts dd {
  font-size: 1rem;
  line-height: 1.5;
}

.todo {
  display: inline-block;
  padding: 0 0.5em;
  border: 1px dashed var(--ink-3);
  border-radius: 6px;
  color: var(--ink);
  font: 500 0.875rem/1.6 var(--font-display);
}

.services li {
  padding: 16px 0 18px;
  border-top: 1px solid var(--rule);
}

.services li:last-child {
  border-bottom: 1px solid var(--rule);
}

.services h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.services .host {
  margin-top: 2px;
  color: var(--ink-3);
  font: 400 0.875rem/1.4 var(--font-display);
  overflow-wrap: anywhere;
}

.services dl {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.services dt {
  padding-top: 0.2em;
  color: var(--ink-3);
  font: 500 0.75rem/1.6 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services dd {
  color: var(--ink-2);
}

@media (max-width: 56.24em) {
  .doc-lead .lead,
  .doc-row h2,
  .doc-body {
    grid-column: 1 / 13;
  }
}

@media (max-width: 29.99em) {
  .facts > div {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .counter > div + div {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .services dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .services dd + dt {
    margin-top: 8px;
  }
}

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: var(--section);
  padding: clamp(64px, 9vw, 136px) 0 28px;
  border-top: 1px solid var(--foot-rule);
  background: var(--foot-bg);
  color: var(--foot-ink);
}

.site-footer :focus-visible {
  outline-color: var(--foot-ink);
}

.site-footer .label {
  color: var(--foot-ink-3);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 18px;
}

.footer-contact .label {
  grid-column: 1 / 7;
  padding-top: 0.9em;
}

.footer-contact-body {
  grid-column: 7 / 13;
}

.footer-mail {
  display: inline-block;
  font: 400 clamp(1.75rem, 4.3vw, 4.25rem)/1.08 var(--font-display);
  letter-spacing: -0.035em;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

.footer-contact-body p {
  max-width: 30em;
  margin-top: 18px;
  color: var(--foot-ink-3);
  font: 400 1rem/1.55 var(--font-display);
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 22px;
  margin-top: clamp(72px, 10vw, 160px);
  padding-top: 18px;
  border-top: 1px solid var(--foot-rule);
  color: var(--foot-ink-3);
  font: 400 0.875rem/1.55 var(--font-display);
}

.footer-brand {
  grid-column: 1 / 4;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--foot-ink);
  font-weight: 600;
  font-size: 1rem;
}

.footer-nav {
  grid-column: 4 / 7;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--foot-ink);
}

.footer-legal {
  grid-column: 7 / 13;
  max-width: 40em;
}

.footer-legal p + p {
  margin-top: 8px;
}

@media (max-width: 56.24em) {
  .footer-contact .label,
  .footer-contact-body {
    grid-column: 1 / 13;
  }

  .footer-contact .label {
    padding-top: 0;
  }

  .footer-brand {
    grid-column: 1 / 7;
  }

  .footer-nav {
    grid-column: 7 / 13;
  }

  .footer-legal {
    grid-column: 1 / 13;
  }
}

@media (max-width: 29.99em) {
  .footer-brand,
  .footer-nav {
    grid-column: 1 / 13;
  }
}

/* ---------- Mouvement (chargement uniquement) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: drop 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
  }

  .display {
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .meta-strip {
    animation: fade 1s ease 0.25s both;
  }

  .hero-body,
  .doc-lead {
    animation: rise-soft 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.14em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-soft {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Impression ---------- */

@media print {
  .site-header,
  .skip {
    display: none;
  }

  .site-footer {
    background: none;
    color: #000000;
  }

  .split-figure {
    position: static;
  }
}
