/*
 * Krov.fr, feuille de style unique.
 *
 * Le site reprend le parti pris de l'application : une page de carnet
 * d'entrainement. Tout est cale a gauche, la hierarchie se fait par la taille
 * et par des filets, jamais par des blocs centres. L'or #F5B32A est un signal
 * (action, progression) et n'est jamais un aplat de fond.
 *
 * Deux themes : « nocturne » (par defaut, l'identite de l'app) et « papier ».
 * Le theme suit le systeme, et se force a la main via le bouton de l'en-tete
 * (attribut data-theme sur <html>, memorise en localStorage).
 */

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

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ Jetons */

:root {
  --bg: #0b0b16;
  --surface: #15162a;
  --surface-alt: #1e2038;
  --border: #262a48;
  --border-strong: #363c66;
  --text: #f1f1f8;
  --muted: #9a9ab8;
  --faint: #63648a;
  --accent: #f5b32a;
  --accent-text: #f5b32a;
  --on-accent: #1a1403;
  --good: #2bd08a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;

  --page: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;

  color-scheme: dark;
}

:root[data-theme='light'] {
  --bg: #f6f5fa;
  --surface: #eceaf3;
  --surface-alt: #e1deec;
  --border: #dad7e6;
  --border-strong: #c4c0d8;
  --text: #14131f;
  --muted: #625f76;
  --faint: #9e9bb2;
  --accent: #f5b32a;
  --accent-text: #a9720a;
  --on-accent: #221703;
  --good: #0fa36b;
  --shadow: 0 24px 60px rgba(20, 19, 31, 0.12);

  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f6f5fa;
    --surface: #eceaf3;
    --surface-alt: #e1deec;
    --border: #dad7e6;
    --border-strong: #c4c0d8;
    --text: #14131f;
    --muted: #625f76;
    --faint: #9e9bb2;
    --accent: #f5b32a;
    --accent-text: #a9720a;
    --on-accent: #221703;
    --good: #0fa36b;
    --shadow: 0 24px 60px rgba(20, 19, 31, 0.12);

    color-scheme: light;
  }
}

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

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text);
}

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

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

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* ------------------------------------------------------------------ Trame */

.page {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

section {
  padding: clamp(56px, 9vw, 104px) 0;
  border-top: 1px solid var(--border);
}

section:first-of-type {
  border-top: 0;
}

/* --------------------------------------------------------------- Typographie */

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 8.2vw, 92px);
}

h2 {
  font-size: clamp(30px, 4.6vw, 50px);
}

h3 {
  font-size: clamp(20px, 2.4vw, 25px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h4 {
  font-size: 18px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  max-width: 62ch;
}

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

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 220px;
}

.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.tiny {
  font-size: 13px;
  line-height: 1.5;
  color: var(--faint);
}

.num {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

strong,
b {
  font-weight: 600;
  color: var(--text);
}

/* ------------------------------------------------------------------ En-tete */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .page {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

/* Les coins arrondis sont dans le PNG lui-meme (transparents), pas ici : sur un
   fond clair, un carre plein se lisait comme un bloc pose sur du blanc. */
.brand img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--text);
}

.nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.theme-btn .moon {
  display: none;
}

.theme-btn .sun {
  display: block;
}

:root[data-theme='light'] .theme-btn .sun {
  display: none;
}

:root[data-theme='light'] .theme-btn .moon {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .theme-btn .sun {
    display: none;
  }

  :root:not([data-theme='dark']) .theme-btn .moon {
    display: block;
  }
}

.nav-toggle {
  display: none;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 20px;
  }

  .nav[hidden] {
    display: none;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

  .nav a[aria-current='page'] {
    text-decoration: none;
    color: var(--accent-text);
  }
}

/* ------------------------------------------------------------------ Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  color: var(--on-accent);
  background: #ffc64a;
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* Lien de test pas encore renseigne : neutralise par krov.js. */
.btn.is-soon {
  background: var(--surface-alt);
  color: var(--faint);
  border-color: var(--border);
  cursor: not-allowed;
  transform: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ------------------------------------------------------------------ Hero */

.hero {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(48px, 8vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

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

.hero h1 span {
  color: var(--accent-text);
}

.hero .lead {
  margin-top: 26px;
}

.hero-note {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--faint);
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------- Maquette telephone */

.phone {
  --screen: #ffffff;
  --screen-ink: #14131f;
  --screen-muted: #5e5c70;
  --screen-line: #e4e2ee;
  width: min(320px, 100%);
  margin-left: auto;
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #33375c, #14141f);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .phone {
    margin: 8px 0 0;
  }
}

.phone-screen {
  height: 100%;
  border-radius: 32px;
  background: var(--screen);
  color: var(--screen-ink);
  padding: 26px 20px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--display);
}

.phone-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--screen-muted);
}

.phone-hero {
  font-size: 76px;
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  margin-top: 10px;
}

.phone-hero small {
  font-size: 20px;
  letter-spacing: 0;
  color: var(--screen-muted);
  margin-left: 6px;
}

.phone-row {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--screen-line);
}

.phone-cell {
  flex: 1;
}

.phone-cell b {
  display: block;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--screen-ink);
}

.phone-cell span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--screen-muted);
}

.phone-splits {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--screen-line);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.phone-splits div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--screen-muted);
}

.phone-splits div b {
  color: var(--screen-ink);
  font-weight: 700;
}

.phone-bar {
  margin-top: auto;
  height: 58px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.figure-note {
  margin: 14px 0 0;
  text-align: right;
  font-size: 12px;
  color: var(--faint);
}

@media (max-width: 900px) {
  .figure-note {
    text-align: left;
  }
}

/* ------------------------------------------------------------------ Chiffres */

.claims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 760px) {
  .claims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.claim {
  background: var(--bg);
  padding: 26px 22px;
}

.claim b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

.claim span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

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

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.9vw, 19px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

/* Liste numerotee : la signature du carnet. */
.entries {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.entries li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 560px) {
  .entries li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 12px;
  }
}

.entries .idx {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
  padding-top: 3px;
  letter-spacing: 0.04em;
}

.entries p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* Grille de cartes. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 16px;
}

.card .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--accent-text);
}

/* Liste « ce qu'il n'y a pas ». */
/* Trois colonnes exactement : six entrees remplissent deux rangees pleines, sans
   cellule vide qui laisserait voir le fond de la grille. */
.nots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.nots li {
  background: var(--bg);
  padding: 20px 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}

.nots svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--faint);
}

.nots b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nots span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 3px;
}

/* ------------------------------------------------------------------ Tester */

.test-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.test-card .platform {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-card .platform svg {
  width: 30px;
  height: 30px;
  color: var(--text);
}

.test-card h3 {
  margin: 0;
}

.test-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.test-card .btn {
  margin-top: auto;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 46px;
  border-left: 1px solid var(--border);
  margin-left: 13px;
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -14px;
  top: -2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
}

.steps h4 {
  margin: 0 0 4px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ------------------------------------------------------------------ Encadres */

.note {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.note p {
  font-size: 16px;
  color: var(--muted);
}

.note strong {
  color: var(--text);
}

/* ------------------------------------------------------------------ FAQ */

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}

.faq details:first-of-type {
  border-top: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.01em;
}

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

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-text);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  color: var(--muted);
  padding-bottom: 20px;
  margin: 0;
}

/* ------------------------------------------------------------------ Contenus */

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 52px 0 16px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.prose h2:first-of-type {
  margin-top: 34px;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 19px;
}

.prose p,
.prose li {
  color: var(--muted);
  max-width: 68ch;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--accent-text);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15px;
}

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

.prose th {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.prose td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.page-head {
  padding: clamp(44px, 7vw, 76px) 0 0;
}

.page-head h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.page-head .lead {
  margin-top: 22px;
}

.updated {
  font-size: 13px;
  color: var(--faint);
  margin-top: 18px;
}

/* ------------------------------------------------------------------ Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
  font-size: 16px;
}

.mail {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 26px);
  letter-spacing: -0.02em;
  color: var(--accent-text);
  word-break: break-word;
}

/* ------------------------------------------------------------------ Pied */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 44px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 34px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

.footer-grid h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 14px;
}

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

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

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

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 13px;
  color: var(--faint);
}

.footer-bottom .flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom .flag i {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    #0055a4 0 33.33%,
    #ffffff 33.33% 66.66%,
    #ef4135 66.66% 100%
  );
  border: 1px solid var(--border);
}

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

.oops {
  padding: clamp(60px, 12vw, 140px) 0;
}

.oops .code {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(80px, 20vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ Apparition */

/* Sans JavaScript, aucun contenu ne doit rester invisible : l'etat de depart
   n'est pose que si le script a marque la page. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.seen {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .btn-row,
  .phone {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
