/* ==========================================================================
   FIADEX — feuille de styles unique
   Site statique, sans dépendance externe, sans cookie.
   Palette : blanc, bleu institutionnel, gris froids. Police Inter auto-hébergée.
   ========================================================================== */

/* 1. Jetons de conception
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Couleurs — bleu institutionnel, blanc, gris froid */
  --navy-950: #061326;
  --navy-900: #0a1d35;
  --navy-850: #0f2745;
  --navy-800: #143256;
  --navy-700: #1b4272;
  --navy-600: #23538e;

  --brand-700: #1c3f80;
  --brand-600: #2452a8;
  --brand-500: #2f5fd0;
  --brand-400: #4f7ae0;
  --brand-300: #8aa6ea;
  --brand-200: #c3d2f7;
  --brand-100: #e3ebfc;
  --brand-50: #f1f5fe;

  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --bg-muted: #e9eef7;
  --white: #ffffff;
  --ink: #0f1b2f;
  --ink-2: #34445c;
  --muted: #5f6f86;
  --line: #e2e8f1;
  --line-strong: #c9d4e4;
  --field-border: #8497ae;
  --line-dark: rgba(255, 255, 255, 0.14);
  --success: #0f8a6a;
  --success-soft: #e3f4ed;

  /* Typographie */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);

  /* Aucun texte ne doit descendre sous 12 px, quelle que soit la base. */
  --text-min: max(12px, 0.78rem);
  --step--1: max(12px, clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem));
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.38vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.35vw, 2.55rem);
  --step-4: clamp(2.2rem, 1.65rem + 2.3vw, 3.4rem);
  --step-5: clamp(2.45rem, 1.7rem + 3.2vw, 4.15rem);

  /* Rythme */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.25rem;
  --space-xl: 3.25rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;
  --section-y: clamp(3.75rem, 7vw, 7rem);
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.15rem, 4.5vw, 3rem);
  --header-h: 76px;

  /* Effets */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-s: 0 1px 2px rgba(15, 27, 47, 0.04),
    0 10px 24px -18px rgba(15, 27, 47, 0.22);
  --shadow-m: 0 2px 6px rgba(15, 27, 47, 0.04),
    0 26px 50px -32px rgba(15, 27, 47, 0.38);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--brand-500);
}

/* 2. Réinitialisation et base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

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

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
  color: var(--navy-900);
}

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

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-600);
  text-decoration-color: var(--brand-300);
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
  color: var(--brand-700);
  text-decoration-color: var(--brand-500);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

li + li {
  margin-top: 0.45em;
}

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

small {
  font-size: var(--step--1);
}

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

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

::selection {
  background: var(--brand-200);
  color: var(--navy-950);
}

/* 3. Utilitaires
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

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

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

.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark a {
  color: var(--brand-300);
}

.section--dark a:hover {
  color: var(--white);
}

.section--line {
  border-top: 1px solid var(--line);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 var(--space-s);
  font-family: var(--font-sans);
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--brand-500);
}

.section--dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  color: var(--brand-300);
}

.eyebrow--center {
  justify-content: center;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-m);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head > div {
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: var(--step-3);
}

.section-head--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

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

.text-center {
  text-align: center;
}

.measure {
  max-width: 68ch;
}

.mt-0 { margin-top: 0; }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }

/* 4. En-tête et navigation
   ========================================================================== */
.topbar {
  background: var(--bg-alt);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-min);
  letter-spacing: 0.01em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}

.topbar a:hover {
  color: var(--brand-600);
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.topbar-contact span {
  color: var(--line-strong);
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  transition: opacity 0.2s var(--ease);
}

.brand:hover {
  opacity: 0.82;
}

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.85rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  margin: 0;
}

.primary-nav a:not(.btn) {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: 0.87rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-decoration: none;
}

.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brand-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.primary-nav a:not(.btn):hover::after,
.primary-nav a[aria-current="page"]:not(.btn)::after {
  transform: scaleX(1);
}

.primary-nav a[aria-current="page"]:not(.btn) {
  color: var(--navy-900);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--navy-900);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 5. Boutons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.86rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-primary {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: var(--white);
}

.btn-dark {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--navy-900);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-600);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-500);
  padding-bottom: 0.15rem;
}

.btn-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.btn-link:hover::after {
  transform: translateX(4px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-l);
}

/* 6. Héros d'accueil
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(1200px 600px at 82% -10%, rgba(47, 95, 208, 0.32), transparent 62%),
    radial-gradient(900px 500px at 8% 108%, rgba(20, 50, 86, 0.55), transparent 65%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-850) 100%);
  color: rgba(255, 255, 255, 0.76);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-intro {
  max-width: 880px;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: var(--space-m);
  font-size: var(--step-5);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-300);
}

.hero-lead {
  max-width: 56ch;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.22rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.76);
}

.hero .btn-row {
  margin-top: var(--space-xl);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--text-min);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.56);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-300);
}

/* Triptyque sous le héros */
.hero-triptych {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--space-2xl) * -1);
}

.hero-triptych .grid-3 {
  gap: clamp(1rem, 2vw, 1.4rem);
  background: none;
  border: 0;
  box-shadow: none;
}

.hero-triptych .card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-m);
  background: var(--white);
}

.hero-triptych .card:hover {
  transform: translateY(-4px);
  background: var(--white);
}

/* 7. Grilles et cartes
   ========================================================================== */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

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

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

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

.grid-aside {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.card:hover {
  border-color: var(--brand-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}

.card-index {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-m);
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.card-index::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--brand-500);
}

.card h3,
.card-title {
  margin-bottom: 0.6rem;
  font-size: var(--step-2);
  font-weight: 650;
}

.card-title-sm {
  font-size: var(--step-1);
}

.h2-section {
  font-size: var(--step-3);
}

.card ul {
  padding-left: 1.1rem;
}

.card ul li::marker,
.prose ul li::marker {
  color: var(--brand-500);
}

.card p {
  color: var(--ink-2);
}

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

.card .card-link {
  margin-top: auto;
  padding-top: var(--space-m);
}

.card--dark {
  background: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
}

.card--dark h3 {
  color: var(--white);
}

.card--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.card--dark:hover {
  border-color: var(--brand-500);
  background: var(--navy-850);
}

.card--flat {
  background: transparent;
  border: 0;
  padding: 0;
}

.card--flat:hover {
  transform: none;
  box-shadow: none;
}

.card-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-600);
  margin-bottom: var(--space-s);
}

/* Liste de points forts */
.feature-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.feature-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 0.12em;
  border: 0;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-600);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transform: none;
}

.section--dark .feature-list,
.feature-list--dark {
  border-color: var(--line-dark);
}

.section--dark .feature-list li,
.feature-list--dark li {
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .feature-list li::before,
.feature-list--dark li::before {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-300);
}

.feature-list strong {
  display: block;
  color: inherit;
  margin-bottom: 0.15rem;
}

.section--dark .feature-list strong {
  color: var(--white);
}

/* 8. Sections éditoriales
   ========================================================================== */
.statement {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(47, 95, 208, 0.22), transparent 70%),
    var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.statement::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(47, 95, 208, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.statement blockquote {
  position: relative;
  z-index: 1;
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2.3vw, 3rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
}

.statement blockquote em {
  color: var(--brand-300);
  font-style: normal;
}

.statement figcaption {
  margin-top: var(--space-m);
  text-align: center;
  font-size: var(--text-min);
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-300);
}

/* Étapes numérotées */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.steps li {
  position: relative;
  margin: 0;
  padding: var(--space-l) var(--space-m) var(--space-m) 0;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: var(--space-s);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-500);
}

.steps h3 {
  margin-bottom: 0.45rem;
  font-size: var(--step-1);
}

.steps p {
  font-size: 0.93rem;
  color: var(--muted);
}

/* Encadré « L'essentiel » — lisible par les moteurs et les IA */
.answer-box {
  padding: clamp(1.4rem, 2.8vw, 2rem);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand-500);
  border-radius: var(--radius-lg);
}

.answer-box h2,
.answer-box h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-sans);
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.answer-box p {
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink-2);
}

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

.section--dark .answer-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: var(--brand-400);
}

.section--dark .answer-box p {
  color: rgba(255, 255, 255, 0.74);
}

/* 9. Médias et emplacements photo
   ========================================================================== */
.media {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }

.media-caption {
  margin-top: 0.7rem;
  font-size: var(--text-min);
  line-height: 1.45;
  color: var(--muted);
}

.media--framed {
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
}

.media--framed img {
  border-radius: var(--radius);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.photo-grid .media {
  background: var(--bg-muted);
}

.photo-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.photo-card figcaption strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
}

.photo-card figcaption span {
  font-size: var(--text-min);
  color: var(--brand-600);
  white-space: nowrap;
}

/* 10. Tableaux
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

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

caption {
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: var(--text-min);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

th,
td {
  padding: 0.95rem 1.2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--bg-alt);
  font-family: var(--font-sans);
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
  white-space: nowrap;
}

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

tbody th {
  font-weight: 600;
  color: var(--navy-900);
}

tbody tr:hover td,
tbody tr:hover th {
  background: var(--brand-50);
}

td {
  color: var(--ink-2);
}

/* 11. FAQ
   ========================================================================== */
.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 2.2rem 1.3rem 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-500);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--brand-600);
}

.faq details > div {
  padding: 0 3rem 1.5rem 0;
  color: var(--ink-2);
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

/* 12. Bandeau d'appel à l'action
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(47, 95, 208, 0.3), transparent 65%),
    var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
}

.cta-band::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(47, 95, 208, 0.6), transparent);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
}

.cta-band h2 {
  max-width: 22ch;
  margin: 0 0 0.4rem;
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--white);
}

.cta-band p {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.cta-band .btn-row {
  margin-top: 0;
  flex: none;
}

/* 13. Pages intérieures
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(47, 95, 208, 0.3), transparent 65%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 70%, var(--navy-850));
  color: rgba(255, 255, 255, 0.7);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 90% at 75% 10%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 75% 10%, #000, transparent 75%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 20ch;
  margin-bottom: var(--space-s);
  font-size: var(--step-4);
  font-weight: 700;
  color: var(--white);
}

.page-hero h1 em {
  font-style: normal;
  color: var(--brand-300);
}

.page-hero .lead {
  max-width: 58ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.page-hero-aside {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  line-height: 1.6;
}

.page-hero-aside p {
  margin-bottom: 0.8rem;
}

.page-hero-aside p:last-child {
  margin-bottom: 0;
}

.page-hero-aside strong {
  color: var(--white);
  font-weight: 600;
}

.page-hero-aside .aside-label {
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-300);
}

/* Fil d'Ariane */
.breadcrumb {
  margin-bottom: var(--space-l);
  font-size: var(--text-min);
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand-300);
}

.breadcrumb [aria-current="page"] {
  color: var(--brand-300);
}

/* Contenu éditorial */
.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.4em;
  font-size: var(--step-2);
}

.prose .eyebrow + h2,
.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: var(--step-1);
}

.prose > ul,
.prose > ol {
  margin-bottom: 1.4em;
}

.prose li {
  color: var(--ink-2);
}

.prose a {
  font-weight: 550;
}

.prose blockquote {
  margin: var(--space-l) 0;
  padding: 0 0 0 1.4rem;
  border-left: 2px solid var(--brand-500);
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--navy-800);
}

/* Sommaire de page */
.toc {
  padding: var(--space-m) var(--space-m) var(--space-m) 1.1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.toc p {
  margin-bottom: 0.7rem;
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.toc ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.toc a {
  color: var(--ink-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--brand-500);
}

/* Encadré contact latéral */
.side-panel {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-s);
}

.side-panel h2 {
  font-size: var(--step-1);
}

.side-panel p {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.side-panel .btn {
  width: 100%;
  margin-top: var(--space-s);
}

.side-panel ul {
  margin: var(--space-m) 0 0;
  padding: var(--space-m) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.86rem;
}

.side-panel li {
  margin-bottom: 0.55rem;
}

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

.side-panel a {
  text-decoration: none;
}

.side-panel a:hover {
  text-decoration: underline;
}

/* Bandeau « Le cabinet en bref » */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: var(--space-l) 0 0;
  border-top: 1px solid var(--line);
}

.fact-grid > div {
  min-width: 0;
}

.fact-grid dt {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy-900);
}

.fact-grid dd {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.fact-grid dd strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* 14. Formulaire
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.2rem;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}

.field .req {
  color: var(--brand-600);
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b979f;
}

.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(47, 95, 208, 0.16);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-hint {
  margin: 0;
  font-size: var(--text-min);
  line-height: 1.4;
  color: var(--muted);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-2);
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 0.18rem;
  flex: none;
  accent-color: var(--brand-600);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-note {
  margin-top: var(--space-s);
  font-size: var(--text-min);
  line-height: 1.5;
  color: var(--muted);
}

.form-status {
  margin-top: var(--space-s);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-500);
  background: var(--brand-50);
  font-size: 0.86rem;
  color: var(--navy-800);
}

.form-status[hidden] {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-card {
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.contact-card h2 {
  font-size: var(--step-1);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list .label {
  padding-top: 0.12rem;
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.contact-list a {
  text-decoration: none;
  font-weight: 550;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* 15. Pied de page
   ========================================================================== */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand .brand {
  margin-bottom: var(--space-m);
}

.footer-brand .brand-logo {
  height: 52px;
}

.footer-brand p {
  max-width: 34ch;
  line-height: 1.65;
}

.footer-address {
  margin-top: var(--space-s);
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.56);
}

.footer-col h2 {
  margin: 0 0 var(--space-s);
  font-family: var(--font-sans);
  font-size: var(--text-min);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-300);
}

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

.footer-col li {
  margin: 0 0 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
}

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

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  font-weight: 550;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-min);
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom li {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--brand-300);
}

/* 16. Page 404
   ========================================================================== */
.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 340px);
  padding-block: var(--space-3xl);
  text-align: center;
}

.error-code {
  margin-bottom: var(--space-s);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  color: var(--brand-500);
}

.error-page h1 {
  font-size: var(--step-3);
}

.error-page p {
  max-width: 48ch;
  margin-inline: auto;
  color: var(--ink-2);
}

.error-page .btn-row {
  justify-content: center;
}

/* 17. Réglages de défilement et de mouvement
   ========================================================================== */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line);
  }

  .hero-triptych .card:hover {
    background: var(--white);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}

/* 18. Impressions
   ========================================================================== */
@media print {
  .site-header,
  .nav-toggle,
  .cta-band,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .hero,
  .page-hero,
  .section--dark {
    background: #fff !important;
    color: #000 !important;
  }

  .hero h1,
  .page-hero h1,
  .section--dark h2,
  .section--dark h3 {
    color: #000 !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .answer-box {
    break-inside: avoid;
    border: 1px solid #ccc;
  }

  .section {
    padding-block: 1.2rem;
  }
}

/* 19. Adaptation — 1080 px
   ========================================================================== */
@media (max-width: 1080px) {
  .primary-nav {
    gap: 1rem;
  }

  .primary-nav ul {
    gap: 0.9rem;
  }

  .primary-nav a:not(.btn) {
    font-size: 0.81rem;
  }

  .nav-cta {
    padding-inline: 1rem;
    font-size: 0.8rem;
  }

  .brand-logo {
    height: 42px;
  }

  .page-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-l);
  }

  .hero h1 {
    max-width: 20ch;
  }

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

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

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

  .steps li:nth-child(2) {
    border-right: 0;
  }

  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .grid-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-l);
  }

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

  .side-panel {
    position: static;
  }
}

/* 20. Adaptation — 900 px : navigation mobile
   ========================================================================== */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: var(--space-l) var(--gutter) var(--space-2xl);
    overflow-y: auto;
    background: var(--bg);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .primary-nav li {
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:not(.btn) {
    display: block;
    padding: 1.05rem 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-900);
  }

  .primary-nav a:not(.btn)::after {
    display: none;
  }

  .primary-nav a[aria-current="page"]:not(.btn) {
    color: var(--brand-600);
  }

  .nav-cta {
    margin-top: var(--space-l);
    padding: 1rem;
    font-size: 0.95rem;
  }

  .hero-triptych {
    margin-top: var(--space-xl);
  }

  .hero-triptych .grid-3 {
    gap: var(--space-s);
  }

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

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

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

/* 21. Adaptation — 700 px
   ========================================================================== */
@media (max-width: 700px) {
  :root {
    --header-h: 68px;
  }

  .hero {
    padding-block: var(--space-2xl) var(--space-xl);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
    max-width: none;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero .btn-row,
  .btn-row {
    gap: 0.6rem;
  }

  .hero .btn-row .btn {
    flex: 1 1 100%;
  }

  .hero-triptych {
    margin-top: var(--space-l);
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .photo-grid,
  .steps,
  .form-grid,
  .fact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li {
    padding: var(--space-m) 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .section-head {
    display: block;
  }

  .section-head > div {
    margin-bottom: var(--space-m);
  }

  .section-head .btn-link {
    margin-top: var(--space-2xs);
  }

  .page-hero {
    padding-block: var(--space-xl) var(--space-l);
  }

  .page-hero h1 {
    max-width: none;
  }

  .page-hero-aside {
    display: none;
  }

  .breadcrumb {
    margin-bottom: var(--space-m);
    font-size: var(--text-min);
  }

  .cta-band-inner {
    display: block;
  }

  .cta-band h2 {
    max-width: none;
  }

  .cta-band .btn-row {
    margin-top: var(--space-m);
  }

  .cta-band .btn-row .btn {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-l);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom ul {
    margin-top: 0.7rem;
  }

  .faq summary {
    font-size: 1.05rem;
    padding-right: 2rem;
  }

  .faq details > div {
    padding-right: 0;
  }

  th,
  td {
    padding: 0.8rem 0.9rem;
  }

  .contact-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }

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

/* 22. Adaptation — 420 px
   ========================================================================== */
@media (max-width: 420px) {
  .brand-logo {
    height: 38px;
  }

  .hero-meta {
    display: grid;
    gap: 0.5rem;
  }

  .card {
    padding: 1.25rem;
  }
}
