/* Clefdoc — feuille de style unique du site clefdoc.com.
   Aucune ressource externe : polices du système, couleurs de l'application (icône #4f8cff -> #2f5fe0,
   fond #0f1115), thème clair automatique, mobile d'abord. Contrastes vérifiés AA. */

/* ------------------------------------------------------------------ jetons */

:root {
  color-scheme: dark light;

  --bg: #0f1115;
  --bg-alt: #13161d;
  --surface: #181b22;
  --surface-2: #222633;
  --border: #2c3140;

  --text: #f2f4f8;
  --text-dim: #a3acba;

  --brand-1: #4f8cff;
  --brand-2: #2f5fe0;
  --link: #7aa7ff;
  --link-hover: #a5c3ff;
  --btn: #2f5fe0;
  --btn-hover: #2650c4;
  --on-btn: #ffffff;
  --focus: #8db4ff;
  --ok: #3ddc97;
  --glow: rgba(79, 140, 255, .22);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --wrap-narrow: 46rem;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(3.5rem, 9vw, 6.5rem);
  --header-h: 64px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --bg-alt: #eef1f6;
    --surface: #ffffff;
    --surface-2: #eceff4;
    --border: #d8dde6;

    --text: #11151c;
    --text-dim: #4f5968;

    --link: #2f5fe0;
    --link-hover: #1f47b8;
    --btn: #2f5fe0;
    --btn-hover: #2149bd;
    --focus: #2f5fe0;
    --ok: #0f8f5f;
    --glow: rgba(79, 140, 255, .16);

    --shadow: 0 10px 34px rgba(17, 21, 28, .10);
  }
}

/* ------------------------------------------------------------ remise à zéro */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}

p, li, dd {
  text-wrap: pretty;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

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

main:focus {
  outline: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: calc(var(--wrap-narrow) + 2 * var(--gutter));
}

/* ------------------------------------------------------- lien d'évitement */

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--btn);
  color: var(--on-btn);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: var(--on-btn);
}

/* ---------------------------------------------------------------- en-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1rem;
  min-height: var(--header-h);
  padding-block: .5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .7rem;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: .97rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

/* Sélecteur de langue : <details>, sans JavaScript. */
.lang-menu {
  position: relative;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .4rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.lang-menu summary:hover {
  background: var(--surface-2);
}

.lang-menu summary svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.lang-menu summary .chevron {
  width: 12px;
  height: 12px;
  transition: transform .15s ease;
}

.lang-menu[open] summary .chevron {
  transform: rotate(180deg);
}

.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 12rem;
  margin: 0;
  padding: .4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
  list-style: none;
}

.lang-menu li a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.lang-menu li a:hover {
  background: var(--surface-2);
}

.lang-menu li a[aria-current="true"] {
  font-weight: 700;
}

.lang-menu li a[aria-current="true"]::after {
  content: "\2713";
  color: var(--link);
}

@media (max-width: 559px) {
  .site-nav {
    order: 3;
    width: 100%;
    margin-inline: -.7rem;
  }

  /* Mots composés allemands : coupure avec trait d'union plutôt qu'au hasard (les h1 portent aussi des &shy;). */
  :lang(de) h1,
  :lang(de) h2,
  :lang(de) h3 {
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

/* ---------------------------------------------------------------- boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn--primary {
  background: var(--btn);
  color: var(--on-btn);
  box-shadow: 0 6px 22px var(--glow);
}

.btn--primary:hover {
  background: var(--btn-hover);
  color: var(--on-btn);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ------------------------------------------------------------------ accueil */

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

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4.2vw, 2.4rem);
}

.section__lead {
  max-width: 44rem;
  margin: 0 0 2.5rem;
  color: var(--text-dim);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--link);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: min(70rem, 140vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 880px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.3rem, 7vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.hero h1 .accent {
  background: linear-gradient(120deg, #2f6fe4, #2149bd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  .hero h1 .accent {
    background: linear-gradient(120deg, #8db4ff, #4f8cff);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

@media (forced-colors: active) {
  .hero h1 .accent {
    color: CanvasText;
    background: none;
  }
}

.lead {
  margin: 0 0 2rem;
  color: var(--text-dim);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.cta__note {
  margin: 0;
  color: var(--text-dim);
  font-size: .95rem;
}

.soon {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.soon__pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border: 1px dashed var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: .95rem;
  font-weight: 600;
}

.soon__pill svg {
  width: 18px;
  height: 18px;
}

.hero__art {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(300px, 72vw);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35));
}

.phone .ph-body { fill: #1b1f2a; stroke: #2f3546; stroke-width: 2; }
.phone .ph-screen { fill: #0b0d12; }
.phone .ph-island { fill: #000; }
.phone .ph-view { fill: url(#ph-view-grad); }
.phone .ph-paper { fill: #fbfcff; }
.phone .ph-lines { fill: none; stroke: #c6cedc; stroke-width: 6; stroke-linecap: round; }
.phone .ph-detect { fill: rgba(79, 140, 255, .12); stroke: #4f8cff; stroke-width: 3; stroke-linejoin: round; }
.phone .ph-handle { fill: #fff; stroke: #4f8cff; stroke-width: 3; }
.phone .ph-scan-glow { fill: rgba(31, 205, 255, .35); }
.phone .ph-scan-line { fill: #7be8ff; }
.phone .ph-ring { fill: none; stroke: #fff; stroke-width: 4; }
.phone .ph-shutter { fill: #fff; }
.phone .ph-thumb { fill: #fbfcff; stroke: #4f8cff; stroke-width: 2; }
.phone .ph-done { fill: #2f5fe0; }
.phone .ph-check { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .phone .ph-scan {
    animation: ph-scan 4.5s cubic-bezier(.45, 0, .55, 1) infinite alternate;
  }
}

@keyframes ph-scan {
  from { transform: translateY(0); }
  to { transform: translateY(250px); }
}

/* Points forts */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature h3 {
  margin: 1rem 0 .5rem;
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: var(--text-dim);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

/* Comment ça marche */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--on-btn);
  font-weight: 800;
}

.step h3 {
  margin: 1rem 0 .4rem;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--text-dim);
}

/* Confidentialité */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.flow__card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.flow__card--main {
  border-color: color-mix(in srgb, var(--brand-1) 55%, var(--border));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--brand-1) 12%, transparent), transparent 60%),
    var(--surface);
}

.flow__card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .6rem;
  font-size: 1.15rem;
}

.flow__card h3 svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--link);
}

.flow__card p {
  margin: 0;
  color: var(--text-dim);
}

.note {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.note h3 {
  margin: 0 0 .75rem;
  font-size: 1.1rem;
}

.note ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-dim);
}

.note li + li {
  margin-top: .45rem;
}

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

/* Prix */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan h3 {
  margin: 0 0 .75rem;
  color: var(--text-dim);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan__price {
  margin: 0 0 .75rem;
  color: var(--text-dim);
}

.plan__amount {
  display: block;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.plan p:last-child {
  margin: 0;
  color: var(--text-dim);
}

.fine {
  color: var(--text-dim);
  font-size: .95rem;
}

.more {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

/* Éditeur */
.publisher p {
  color: var(--text-dim);
}

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

/* ---------------------------------------------------------- FAQ (details) */

.faq {
  display: grid;
  gap: .6rem;
}

.faq details,
.prose details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.faq summary,
.prose summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after,
.prose summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .15s ease;
}

.faq details[open] > summary::after,
.prose details[open] > summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq summary:hover,
.prose summary:hover {
  color: var(--link);
}

.faq details > :not(summary),
.prose details > :not(summary) {
  margin-inline: 1.2rem;
}

.faq details > :last-child,
.prose details > :last-child {
  margin-bottom: 1.2rem;
}

.faq details > p:first-of-type,
.prose details > summary + * {
  margin-top: 0;
}

.faq details p,
.faq details li {
  color: var(--text-dim);
}

/* ------------------------------------------------- pages de texte (prose) */

.main--page {
  padding-block: clamp(2rem, 6vw, 4rem) var(--section);
}

.prose {
  max-width: calc(var(--wrap-narrow) + 2 * var(--gutter));
}

.prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.prose h2 {
  margin: 2.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: clamp(1.4rem, 3.4vw, 1.75rem);
}

.prose h3 {
  margin: 1.75rem 0 .6rem;
  font-size: 1.2rem;
}

.prose h4 {
  margin: 1.4rem 0 .5rem;
  font-size: 1.05rem;
}

.prose p,
.prose ul,
.prose ol,
.prose dl,
.prose .table-scroll {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li + li {
  margin-top: .35rem;
}

.prose li > ul,
.prose li > ol {
  margin-top: .35rem;
  margin-bottom: 0;
}

.prose dt {
  font-weight: 650;
}

.prose dd {
  margin: 0 0 .75rem;
  color: var(--text-dim);
}

.prose .lead {
  margin-bottom: 2rem;
}

.prose .faq {
  margin-bottom: 1rem;
}

.prose details {
  margin-bottom: .6rem;
}

.prose .faq details {
  margin-bottom: 0;
}

.prose details h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

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

.prose blockquote {
  margin: 0 0 1rem;
  padding: .25rem 0 .25rem 1rem;
  border-left: 4px solid var(--border);
  color: var(--text-dim);
}

.prose address {
  margin: 0 0 1rem;
  font-style: normal;
}

.prose code {
  padding: .1em .35em;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: .92em;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.prose table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .97rem;
}

.prose caption {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 650;
}

.prose th,
.prose td {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.prose thead th {
  background: var(--surface-2);
  font-weight: 650;
}

.prose tbody tr:last-child > * {
  border-bottom: 0;
}

.prose .updated,
.prose .meta {
  color: var(--text-dim);
  font-size: .95rem;
}

.toc {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.toc ul,
.toc ol {
  margin: 0;
}

/* Avis : page non traduite ou en préparation. */
.notice-wrap {
  padding-top: 1.5rem;
}

.notice-wrap .notice {
  margin-bottom: 0;
}

.notice {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

/* -------------------------------------------------------- pied de page */

.site-footer {
  margin-top: auto;
  padding-block: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-dim);
  font-size: .95rem;
}

.site-footer__top {
  display: grid;
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
}

@media (min-width: 760px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.site-footer .brand {
  margin-bottom: .6rem;
  font-size: 1.1rem;
}

.site-footer .brand img {
  width: 28px;
  height: 28px;
}

.site-footer__tagline {
  margin: 0;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer nav a {
  display: inline-block;
  padding-block: .2rem;
  color: var(--text);
  text-decoration: none;
}

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

.site-footer p {
  margin: 0 0 .6rem;
}

.site-footer__fine {
  font-size: .85rem;
}

/* --------------------------------------------- page racine (choix de langue) */

.root-picker {
  display: grid;
  place-items: center;
  flex: 1;
  padding: 3rem var(--gutter);
  text-align: center;
}

.root-picker__inner {
  width: 100%;
  max-width: 34rem;
}

.root-picker img {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
}

.root-picker h1 {
  margin: 0 0 .5rem;
  font-size: 2.2rem;
}

.root-picker > div > p {
  margin: 0 0 2rem;
  color: var(--text-dim);
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.lang-grid a {
  display: block;
  height: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.lang-grid a:hover {
  border-color: var(--brand-1);
}

.lang-grid strong {
  display: block;
  font-size: 1.1rem;
}

.lang-grid span {
  color: var(--text-dim);
  font-size: .93rem;
}

/* -------------------------------------------------------------- 404 */

.not-found .home-links {
  padding-left: 1.2rem;
}

/* ---------------------------------------------------------- mouvement */

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

/* ---------------------------------------------------------- impression */

@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --bg-alt: #fff;
    --surface: #fff;
    --surface-2: #f2f2f2;
    --border: #ccc;
    --text: #000;
    --text-dim: #333;
    --link: #000;
  }

  .site-header,
  .skip-link,
  .lang-menu,
  .site-footer nav,
  .hero__art {
    display: none !important;
  }

  .section--alt {
    border: 0;
  }

  .prose details > :not(summary) {
    display: block;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: .85em;
  }
}
