/* ==========================================================================
   Krancos — feuille de styles
   Palette : blanc + argent/graphite + bleu diagnostic -> cyan
   ========================================================================== */

/* --------------------------------------------------------------------------
   Système chromatique : blanc + argent/graphite + bleu diagnostic.

   Trois plans seulement :
     - clair    : blanc, texte encre
     - argent   : #f4f7f9, respiration entre deux blocs
     - profond  : graphite froid bleuté, texte argent

   Le dégradé de marque va du cyan au bleu (135deg). Il est identique
   partout : bouton, numéro d'étape, pastille de fonction. La variante
   --brand-gradient-deep ne sert qu'au survol.
   -------------------------------------------------------------------------- */

:root {
  /* --- Marque : bleu diagnostic -> cyan ---
     Reprend l'éclairage LED de la cabine. Les teintes vives servent aux
     aplats et aux dégradés ; --brand-ink est la version texte sur blanc. */
  --brand: #0088ff;
  --brand-bright: #00c0e8;
  --brand-deep: #0b6fd0;
  --brand-ink: #0a63a8;
  --brand-tint: #e9f4ff;   /* pastilles, icônes */
  --brand-tint-strong: #cde6ff;

  /* Le dégradé signature : balayage bleu -> cyan. */
  --brand-gradient: linear-gradient(135deg, #00c0e8 0%, #0088ff 100%);
  --brand-gradient-deep: linear-gradient(135deg, #009fc4 0%, #0b7ae6 100%);

  /* --- Plan clair --- */
  --white: #ffffff;
  --ink: #0b1114;
  --ink-soft: #3c4a52;
  --ink-muted: #6a7a84;
  --line: #e2e8ec;
  --surface-alt: #f4f7f9;         /* argent froid */

  /* --- Plan profond --- */
  --deep: #0b1014;
  --deep-raised: #141c22;
  --silver-bright: #eaf0f4;       /* titres sur graphite */
  --silver: #c3ced7;              /* corps sur graphite */
  --silver-dim: #8f9ea9;          /* mentions secondaires */
  --silver-line: rgba(195, 206, 215, 0.14);
  --silver-line-strong: rgba(195, 206, 215, 0.26);

  /* --- Dégradés : lueur froide + filet métallique --- */
  --bloom: radial-gradient(115% 85% at 50% -12%, #10283c 0%, #0a0f14 62%);
  --sheen: linear-gradient(90deg, transparent, rgba(234,240,244,.5), transparent);
  --chrome: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));

  /* --- Typographie --- */
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;

  /* --- Rythme & formes --- */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shell: 1160px;
  --gutter: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 16, 20, 0.05);
  --shadow: 0 12px 32px -12px rgba(11, 16, 20, 0.16);

  --nav-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 4rem);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

/* ==========================================================================
   Primitives de mise en page
   ========================================================================== */

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

.section {
  padding-block: clamp(72px, 10vw, 128px);
}

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

.section--flush {
  padding-top: 0;
}

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

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

.section__head--center .lede {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brand-tint);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 20px;
}

.lede {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.lede--sm {
  font-size: 0.95rem;
}

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

.link-accent {
  color: var(--ink);
  font-weight: 600;
}

.title--sm {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.title--page {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
}

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn:active {
  transform: translateY(0);
}

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

.btn--primary:hover {
  background: var(--brand-gradient-deep);
}

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

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

.btn--onDark {
  background: var(--brand-gradient);
  color: var(--white);
}

.btn--onDark:hover {
  background: var(--brand-gradient-deep);
}

/* Bouton secondaire posé sur le graphite. */
.btn--outlineLight {
  background: transparent;
  color: var(--silver-bright);
  border-color: var(--silver-line-strong);
}

.btn--outlineLight:hover {
  background: rgba(234, 240, 244, 0.07);
  border-color: var(--silver);
  color: var(--silver-bright);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  margin-right: auto;
}

/* Marque circulaire : pas de rognage carré, l'image est contenue entière. */
.nav__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__link:hover {
  color: var(--ink);
  background: var(--surface-alt);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  background: var(--brand-tint);
}

.nav__cta {
  margin-left: 8px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav__toggleBar {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggleBar + .nav__toggleBar {
  margin-top: 4px;
}

.nav__toggle[aria-expanded="true"] .nav__toggleBar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggleBar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggleBar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .nav__links[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 12px 14px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 116px) clamp(72px, 10vw, 120px);
  background: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.hero__title span {
  color: var(--ink);
}

.hero__sub {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Mention de statut sous le hero : le dispositif n'est pas encore
   commercialisé, la page ne doit pas laisser croire l'inverse. */
.status {
  margin-top: 28px;
  padding-left: 13px;
  border-left: 2px solid var(--brand);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 52ch;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.hero__point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Visuel : représentation abstraite de la cabine et du scan. */
/* Photo de la cabine, posée directement sur le blanc du hero. */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__cabin {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: auto;
}

/* Halo froid : rappelle l'éclairage LED de la cabine. */
.hero__visual::before {
  content: "";
  position: absolute;
  bottom: 8%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 150, 220, 0.22), transparent 62%);
  filter: blur(26px);
}

.hero__badge {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
}

.hero__badgeDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero__cabin {
    max-width: 320px;
  }
}

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

/* ==========================================================================
   Grilles & cartes
   ========================================================================== */

.grid {
  display: grid;
  gap: 20px;
}

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

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

@media (max-width: 620px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

.card:hover {
  border-color: rgba(0, 136, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card__title {
  margin-bottom: 10px;
}

.card__body {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--ink);
  margin-bottom: 18px;
}

/* --- Statistiques --- */

.stat {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.stat__value {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}

.stat__label {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.footnote {
  margin-top: 28px;
  font-size: 0.83rem;
  color: var(--ink-muted);
  max-width: 70ch;
}

/* ==========================================================================
   Étapes
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 620px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.step__title {
  margin-bottom: 10px;
}

.step__body {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Connecteur entre les étapes (desktop uniquement). */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -13px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  transform: rotate(45deg);
}

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

/* ==========================================================================
   Blocs en deux colonnes
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

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

.featureList {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.featureList li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}

.featureList strong {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}

.featureList span {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.specPanel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.specPanel__head {
  padding: 20px 26px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.specPanel dl {
  margin: 0;
}

.specRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 17px 26px;
  font-size: 0.95rem;
}

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

.specRow dt {
  color: var(--ink-muted);
}

.specRow dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

/* ==========================================================================
   Bandeau vert
   ========================================================================== */

.band {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  background-image: var(--bloom);
  color: var(--silver-bright);
  border: 1px solid var(--silver-line);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
}

/* Filet métallique sur l'arête haute. */
.band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--sheen);
}

.band h2 {
  max-width: 20ch;
}

.band p {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--silver);
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ==========================================================================
   Formulaires
   ========================================================================== */

.field__hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 620px) {
  .formRow {
    grid-template-columns: 1fr;
  }
}

.alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
}

.alert--warn {
  background: #fff6e5;
  color: #8a5a00;
  border: 1px solid #ffe3ad;
}

/* ==========================================================================
   Équipe
   ========================================================================== */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

@media (max-width: 900px) {
  .team {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }
}

.member {
  text-align: center;
}

/* Gabarit d'image rond — y déposer la photo du membre. */
.member__photo {
  width: min(220px, 62vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-tint);
  border: 1px solid rgba(0, 136, 255, 0.3);
  display: grid;
  place-items: center;
}

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

.member__name {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}

/* Fonction en pastille verte : texte encre sur aplat (9,5:1). */
.member__role {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Lignes de parcours sous chaque membre, précédées de leur icône. */
.member__creds {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.member__creds li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.member__creds svg {
  flex: none;
  color: var(--ink-muted);
}

/* Formation : icône mise en avant dans le vert d'accent. */
.member__creds .is-edu svg {
  color: var(--brand-ink);
}

.member__creds sup {
  font-size: 0.7em;
  line-height: 0;
}

/* Renvois des astérisques (ICP, UdS). */
.team__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  margin-top: 56px;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.team__notes sup {
  font-size: 0.8em;
  line-height: 0;
}

/* ==========================================================================
   En-tête des sous-pages
   ========================================================================== */

.pageHead {
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

/* --- Pages légales --- */

.prose {
  max-width: 760px;
}

.prose ul {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  color: var(--ink-soft);
}

.prose ul li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 14px;
  align-items: start;
}

.prose ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 11px;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  padding-block: 64px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.footer__blurb {
  margin-top: 16px;
  font-size: 0.93rem;
  color: var(--ink-muted);
  max-width: 34ch;
}

.footer__colTitle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 0.94rem;
}

.footer__list a {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.footer__list a:hover {
  color: var(--ink);
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.socials a:hover {
  color: var(--ink);
  border-color: var(--brand);
}

/* ==========================================================================
   Utilitaires
   ========================================================================== */

.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: 50%;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--brand);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Plan profond — sections graphite
   Les composants (cartes, panneaux, étapes) héritent automatiquement de leur
   variante sombre : aucun balisage spécifique en dehors de .section--dark.
   ========================================================================== */

.section--dark {
  position: relative;
  background: var(--deep);
  background-image: var(--bloom);
  color: var(--silver);
  border-block: 1px solid var(--deep-raised);
}

/* Filets métalliques sur les arêtes : la signature « argent ». */
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sheen);
}

.section--dark::before {
  top: 0;
}

.section--dark::after {
  bottom: 0;
  opacity: 0.5;
}

/* --- Typographie sur graphite --- */

.section--dark h2,
.section--dark h3,
.section--dark .stat__value,
.section--dark .member__name {
  color: var(--silver-bright);
}

.section--dark .lede,
.section--dark .card__body,
.section--dark .step__body,
.section--dark .stat__label,
.section--dark .featureList span {
  color: var(--silver);
}

.section--dark .footnote,
.section--dark .muted,
.section--dark .field__hint {
  color: var(--silver-dim);
}

/* Le vert devient enfin du texte : 8,6:1 sur graphite. */
.section--dark .eyebrow {
  color: var(--brand);
  background: rgba(0, 136, 255, 0.12);
}

.section--dark .link-accent {
  color: var(--brand);
}

/* --- Surfaces surélevées --- */

.section--dark .card,
.section--dark .step,
.section--dark .stat,
.section--dark .specPanel,
.section--dark .formCard {
  background: var(--deep-raised);
  background-image: var(--chrome);
  border-color: var(--silver-line);
}

.section--dark .card:hover {
  border-color: rgba(0, 136, 255, 0.45);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.8);
}

.section--dark .specPanel__head {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: var(--silver-line);
  color: var(--silver-dim);
}

.section--dark .specRow + .specRow {
  border-top-color: var(--silver-line);
}

.section--dark .specRow dt {
  color: var(--silver-dim);
}

.section--dark .specRow dd {
  color: var(--silver-bright);
}

/* --- Pastilles, icônes, puces --- */

.section--dark .icon,
.section--dark .check {
  background: rgba(0, 136, 255, 0.14);
  color: var(--brand);
}

.section--dark .step__num {
  background: var(--brand-gradient);
  color: var(--white);
}

.section--dark .featureList strong {
  color: var(--silver-bright);
}

/* --- Contrôles --- */

.section--dark .btn--ghost {
  background: transparent;
  color: var(--silver-bright);
  border-color: var(--silver-line-strong);
}

.section--dark .btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* --- Séparateur métallique autonome --- */

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line),
    transparent
  );
}

/* ==========================================================================
   Appel au contact (remplace les anciens formulaires)
   ========================================================================== */

.contactCTA {
  max-width: 640px;
}

.contactCTA__btn {
  margin-top: 28px;
  font-size: 1.02rem;
  padding: 15px 28px;
}

.contactCTA .field__hint,
.contactCTA__btn + .footnote {
  margin-top: 18px;
}
