/* ==========================================================================
   RootIT Lab — styles du site
   1. Base   2. Mise en page   3. En-tête / navigation   4. Composants
   5. Sections de l'accueil   6. Pages internes   7. Formulaires
   8. Bandeau cookies   9. Pied de page   10. Mouvement & impression
   ========================================================================== */

/* 1. Base ------------------------------------------------------------------ */
[hidden] { display: none !important; }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 220ms; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
main { flex: 1; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--color-text-strong);
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); line-height: var(--leading-snug); letter-spacing: -0.01em; }
h4 { font-size: var(--text-md); }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li + li { margin-top: var(--space-1); }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
code, kbd, pre { font-family: var(--font-mono); font-size: 0.9em; }
strong { font-weight: 600; color: var(--color-text-strong); }
hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-7) 0; }

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) ease;
}
a:hover { color: var(--color-link-hover); }

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--red-600); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

.visually-hidden {
  position: absolute !important;
  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;
  top: var(--space-2); left: var(--space-2);
  z-index: 1000;
  padding: var(--space-3) var(--space-4);
  background: var(--steel-50);
  color: var(--steel-950);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--steel-950); }

.todo {
  display: inline;
  padding: 0 0.3em;
  border: 1px dashed var(--color-warning);
  border-radius: 4px;
  color: var(--color-warning);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* 2. Mise en page ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; background: var(--color-bg); color: var(--color-text); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--surface { background: var(--color-surface); }
.section--border { border-top: 1px solid var(--color-border); }

.section-head { max-width: 44rem; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--color-muted); font-size: var(--text-md); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-link);
}
.eyebrow::before { content: "//"; opacity: 0.6; }

.lead { font-size: var(--text-md); color: var(--color-muted); max-width: 40rem; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); align-items: start; }
@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-9); }
  .split--wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

/* Motif de grille « lab » en fond */
.bg-grid { position: relative; isolation: isolate; }
.bg-grid::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* 3. En-tête / navigation -------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgb(5 6 7 / 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, background-color var(--dur) ease;
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); background: rgb(5 6 7 / 0.9); }
body { padding-top: var(--header-h); }
body.has-hero { padding-top: 0; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: 100%; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--steel-50);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 0 10px rgb(240 16 29 / 0.35)); }
.brand span b { color: var(--red-400); font-weight: 600; }

.nav-main { display: none; }
.nav-list { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--steel-200);
  font: 500 var(--text-sm) / 1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.nav-link:hover,
.nav-link[aria-expanded="true"] { color: #fff; background: rgb(255 255 255 / 0.06); }
.nav-link[aria-current="page"],
.nav-link.is-active { color: #fff; }
.nav-link[aria-current="page"]::after,
.nav-link.is-active::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red-500); box-shadow: 0 0 8px var(--red-500);
}
.nav-link .icon { transition: transform var(--dur) var(--ease-out); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  min-width: 17rem;
  padding: var(--space-3);
  background: rgb(19 21 25 / 0.97);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown--mega { width: min(44rem, 90vw); }
.dropdown ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dropdown--mega ul { grid-template-columns: 1fr 1fr; }
.dropdown li { margin: 0; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--steel-100);
  font-size: var(--text-sm);
  text-decoration: none;
}
.dropdown a:hover, .dropdown a:focus-visible { background: rgb(255 255 255 / 0.06); color: #fff; }
.dropdown a .icon { color: var(--red-400); }
.dropdown-footer {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  margin-top: var(--space-2); padding: var(--space-3) 0.75rem 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.dropdown-footer a { padding: 0; display: inline-flex; color: var(--red-400); }
.dropdown-footer a:hover { background: none; color: var(--red-300); }
.dropdown-footer span { color: var(--steel-400); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-cta { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--steel-50);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  padding: var(--space-5) var(--gutter) var(--space-8);
  background: var(--ink-0);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--color-border); }
.mobile-nav li li { border: 0; }
.mobile-nav a, .mobile-nav .sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--space-4) 0;
  border: 0; background: none;
  color: var(--steel-50);
  font: 500 var(--text-md) / 1.3 var(--font-display);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.mobile-nav .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav .sub-list { padding: 0 0 var(--space-4) var(--space-4); }
.mobile-nav .sub-list a { padding: var(--space-2) 0; font: 400 var(--text-base) / 1.4 var(--font-body); color: var(--steel-200); }
.mobile-nav .btn { margin-top: var(--space-6); width: 100%; justify-content: center; }
body.nav-open { overflow: hidden; }

@media (min-width: 68em) {
  .nav-main { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .header-cta { display: inline-flex; }
}

/* Fil d'Ariane */
.breadcrumbs { padding-top: var(--space-6); font-size: var(--text-sm); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: var(--space-2); color: var(--steel-400); }
.breadcrumbs li + li::before { content: "/"; font-family: var(--font-mono); color: var(--steel-600); }
.breadcrumbs a { color: var(--steel-300); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--steel-100); }

/* 4. Composants ------------------------------------------------------------ */
.btn {
  --_bg: var(--btn-bg);
  --_fg: var(--btn-text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.875rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--_bg);
  color: var(--_fg);
  font: 600 var(--text-sm) / 1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), color var(--dur-fast);
}
.btn:hover { color: var(--_fg); }
.btn--primary { box-shadow: 0 0 0 0 transparent; }
.btn--primary:hover { --_bg: var(--btn-bg-hover); box-shadow: var(--shadow-glow); }
.btn--ghost { --_bg: transparent; --_fg: var(--color-text-strong); border-color: var(--color-border-strong); }
.btn--ghost:hover { --_bg: rgb(127 127 127 / 0.08); border-color: currentColor; }
.btn--sm { min-height: 2.375rem; padding: 0.45rem 0.95rem; }
.btn--lg { min-height: 3.25rem; padding: 0.85rem 1.75rem; font-size: var(--text-base); }
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; text-decoration: none;
}
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) ease;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 0; }
.card p { color: var(--color-muted); margin: 0; }
.card--link:hover { border-color: rgb(240 16 29 / 0.45); transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* Survol à la souris (main.js) : halo rouge qui suit le curseur, inclinaison des cartes [data-tilt] */
@property --glow { syntax: "<number>"; inherits: false; initial-value: 0; }
.card {
  background-image: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgb(240 16 29 / calc(var(--glow) * 0.09)), transparent 70%);
  transition-property: border-color, transform, box-shadow, background-color, --glow;
}
.card:hover { --glow: 1; }
.card[data-tilt]:hover { transform: perspective(60rem) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(-3px); }
.card--link:focus-within { border-color: var(--color-border-strong); }
/* Carte entièrement cliquable : le lien du titre couvre la carte */
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { color: inherit; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.card-foot { margin-top: auto; padding-top: var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-muted); }

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgb(240 16 29 / 0.18), rgb(240 16 29 / 0.04));
  border: 1px solid rgb(240 16 29 / 0.28);
  color: var(--red-400);
}
.theme-light .icon-tile { color: var(--red-700); background: var(--red-50); border-color: var(--red-100); }

.cmd {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--steel-400);
}
.cmd::before { content: "$ "; color: var(--red-400); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 100%;
  white-space: normal; /* une étiquette trop longue passe à la ligne au lieu de déborder */
}
.badge--accent { border-color: rgb(240 16 29 / 0.4); color: var(--color-link); }
.badge-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.badge-list li { margin: 0; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li + li { margin-top: var(--space-3); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.3em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: rgb(240 16 29 / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}
.theme-light .check-list li::before { background-color: var(--red-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ad000e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

.placeholder {
  display: grid;
  place-items: center;
  min-height: 5rem;
  padding: var(--space-4);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-align: center;
}

.notice {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface-2);
}
.notice > .icon { margin-top: 0.15em; }
.notice p:last-child { margin: 0; }
.notice--success { border-color: color-mix(in srgb, var(--color-success) 50%, transparent); }
.notice--success > .icon { color: var(--color-success); }
.notice--error { border-color: color-mix(in srgb, var(--color-error) 50%, transparent); }
.notice--error > .icon { color: var(--color-error); }
.notice--info > .icon { color: var(--color-link); }

/* Bandeau d'appel à l'action */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgb(240 16 29 / 0.3);
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(240 16 29 / 0.22), transparent 55%),
    linear-gradient(160deg, var(--surface-dark-2), var(--bg-dark));
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band p { color: var(--steel-300); margin: 0; }
@media (min-width: 56em) { .cta-band { grid-template-columns: 1.5fr auto; } }

/* 5. Sections de l'accueil ------------------------------------------------- */
/* Console root du hero : un vrai terminal HTML incliné en 3D (CSS) ---------- */
.hero-console {
  perspective: 1400px;
  perspective-origin: 30% 50%;
}
.console-window {
  --rx: 4deg;
  --ry: -10deg;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(240 16 29 / 0.35);
  background:
    linear-gradient(160deg, rgb(255 255 255 / 0.05), transparent 38%),
    rgb(11 12 15 / 0.92);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 30px 80px -30px rgb(0 0 0 / 0.9),
    0 0 60px -10px rgb(240 16 29 / 0.28);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
  overflow: hidden;
}
/* lignes de balayage façon écran cathodique */
.console-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgb(255 255 255 / 0.025) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
/* reflet lumineux qui suit la souris */
.console-window::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(420px circle at var(--gx, 70%) var(--gy, 20%), rgb(255 255 255 / 0.07), transparent 60%);
  opacity: var(--glare, 0.6);
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgb(240 16 29 / 0.22);
  background: rgb(255 255 255 / 0.02);
}
.console-bar i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1px solid rgb(240 16 29 / 0.6);
}
.console-bar i:first-child { background: rgb(240 16 29 / 0.55); }
.console-bar span {
  margin-left: auto;
  margin-right: auto;
  padding-right: 2.2rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--steel-500);
}
.console-window.is-tracking { transition: none; }
.console-screen {
  margin: 0;
  padding: 1.25rem 1.4rem 1.5rem;
  min-height: calc(8 * 1.75em + 2.75rem); /* hauteur fixe : pas de saut de mise en page */
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.45rem + 0.6vw, 1.08rem);
  line-height: 1.75;
  color: var(--steel-300);
  white-space: pre;
  overflow: hidden;
  text-shadow: 0 0 12px rgb(255 255 255 / 0.12);
}
.console-screen .c-prompt { color: var(--red-400); text-shadow: 0 0 14px rgb(240 16 29 / 0.45); }
.console-screen .c-cmd { color: var(--steel-50); }
.console-screen .c-title { color: var(--red-300); letter-spacing: 0.06em; }
.console-screen .c-dim { color: var(--steel-500); }
.console-screen .c-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-left: 0.1em;
  vertical-align: -0.2em;
  background: var(--red-500);
  box-shadow: 0 0 10px rgb(240 16 29 / 0.7);
  animation: blink 1.05s steps(1) infinite;
}
@media (max-width: 51.99em) {
  /* une seule colonne : le terminal passe sous le texte, légèrement incliné */
  .hero-console { margin-top: var(--space-6); perspective-origin: 50% 50%; }
  .console-window { --rx: 0deg; --ry: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
  .console-window { transition: none; }
  .console-screen .c-cursor { animation: none; }
}

.hero {
  /* le hero tient dans la hauteur de l'écran : tout est visible sans défiler */
  min-height: min(100svh, 60rem);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vh, 3rem));
  padding-bottom: clamp(1.5rem, 5vh, 3.5rem);
}
.hero-content { max-width: 40rem; }
.hero h1 { font-size: var(--text-4xl); margin-bottom: var(--space-5); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--red-500); text-shadow: 0 0 32px rgb(240 16 29 / 0.55); }
.hero .lead { color: var(--steel-300); font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem); line-height: 1.55; margin-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero-audiences { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: clamp(1.25rem, 3.5vh, 2.5rem) 0 0; padding: 0; list-style: none; }
.hero-audiences li { margin: 0; }
.hero-audiences a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  background: rgb(10 11 13 / 0.5);
  backdrop-filter: blur(6px);
  color: var(--steel-100);
  font-size: var(--text-sm);
  text-decoration: none;
}
.hero-audiences a:hover { border-color: var(--red-500); color: #fff; }
.hero-audiences .icon { color: var(--red-400); }

.terminal-line {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgb(10 11 13 / 0.6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--steel-300);
}
.terminal-line .prompt { color: var(--red-400); }
.terminal-line .caret {
  display: inline-block;
  width: 0.55em; height: 1.1em;
  background: var(--red-500);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: var(--space-5);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-decoration: none;
}
.scroll-hint::after { content: ""; width: 1px; height: 2.5rem; background: linear-gradient(var(--red-500), transparent); }
@media (max-height: 40em) { .scroll-hint { display: none; } }

/* Proposition de valeur */
.value-grid { display: grid; gap: var(--space-5); }
@media (min-width: 48em) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-item { padding-top: var(--space-5); border-top: 1px solid var(--color-border-strong); }
.value-item .num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-link); }
.value-item h3 { margin: var(--space-3) 0 var(--space-2); }
.value-item p { color: var(--color-muted); margin: 0; }

/* Publics */
.audience-card { padding: var(--space-6); }
.audience-card .icon-tile { margin-bottom: var(--space-2); }

/* Chiffres clés */
.stats { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.stat { padding: var(--space-5) 0; border-top: 1px solid var(--color-border-strong); }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-strong);
  font-variant-numeric: tabular-nums;
}
.stat-value .unit { color: var(--color-link); }
.stat-label { display: block; margin-top: var(--space-2); color: var(--color-muted); font-size: var(--text-sm); }

/* Méthode */
.steps { counter-reset: step; display: grid; gap: var(--space-5); list-style: none; padding: 0; margin: 0; }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; margin: 0; position: relative; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-link);
}
.steps h3 { margin-bottom: var(--space-2); }
.steps p { margin: 0; color: var(--color-muted); }

/* Témoignages et logos */
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0; font-size: var(--text-md); color: var(--color-text); }
.testimonial figcaption { margin-top: auto; padding-top: var(--space-4); font-size: var(--text-sm); color: var(--color-muted); }
.logo-wall { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.logo-wall li { margin: 0; }

/* 6. Pages internes -------------------------------------------------------- */
.page-hero {
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(60% 90% at 90% 0%, rgb(240 16 29 / 0.14), transparent 70%),
    var(--bg-dark);
}
.page-hero h1 { margin-top: var(--space-6); max-width: 22ch; }
.page-hero .lead { font-size: var(--text-lg); line-height: 1.5; }
.page-hero .icon-tile { margin-top: var(--space-6); }
.page-hero .icon-tile + h1 { margin-top: var(--space-4); }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-5); color: var(--steel-300); font-size: var(--text-sm); }
.page-hero-meta span { display: inline-flex; align-items: center; gap: var(--space-2); }
.page-hero-meta .icon { color: var(--red-400); }
/* Forme 3D à droite du titre (scene.js) — masquée sur petit écran */
.page-hero-scene { display: none; }
@media (min-width: 52em) {
  .page-hero--scene .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: var(--space-8); align-items: center; }
  .page-hero-scene { display: block; position: relative; aspect-ratio: 1; margin-block: calc(var(--space-6) * -1); }
  .page-hero-scene::before {
    content: ""; position: absolute; inset: 12%; border-radius: 50%;
    background: radial-gradient(closest-side, rgb(240 16 29 / 0.16), transparent);
    filter: blur(8px);
  }
  .page-hero-scene canvas { position: relative; display: block; width: 100%; height: 100%; }
  .motion-ok .page-hero-scene { animation: scene-in 1.2s var(--ease-out) both; }
}
@keyframes scene-in { from { opacity: 0; transform: scale(0.94); } }

/* Contenu éditorial */
.prose { max-width: 44rem; font-size: 1.0625rem; }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose > :first-child { margin-top: 0; }
.prose li + li { margin-top: var(--space-2); }
.prose blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  border-left: 3px solid var(--red-500);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--color-text-strong);
}
.prose blockquote p { margin: 0; }
.prose pre {
  margin: var(--space-5) 0;
  padding: var(--space-5);
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--steel-950);
  color: var(--steel-100);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.prose :not(pre) > code { padding: 0.1em 0.35em; border-radius: 4px; background: var(--color-surface-2); border: 1px solid var(--color-border); }
.prose dl { display: grid; grid-template-columns: minmax(10rem, max-content) 1fr; gap: var(--space-2) var(--space-5); }
.prose dt { font-weight: 600; color: var(--color-text-strong); }
.prose dd { margin: 0; }
@media (max-width: 36em) { .prose dl { grid-template-columns: 1fr; gap: 0; } .prose dd { margin-bottom: var(--space-3); } }

/* Plan du site */
.sitemap-cols { columns: 16rem; column-gap: var(--space-7); }
.sitemap-cols section { break-inside: avoid; margin-bottom: var(--space-6); }

/* 404 */
.error-page { min-height: 70vh; display: grid; align-items: center; }
.error-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 2rem + 12vw, 10rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--red-500);
  text-shadow: 0 0 40px rgb(240 16 29 / 0.35);
}
.terminal {
  margin: var(--space-6) 0;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--ink-0);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--steel-300);
  overflow-x: auto;
}
.terminal p { margin: 0; white-space: pre-wrap; }
.terminal .prompt { color: var(--red-400); }
.terminal .err { color: var(--rose-300); }

/* Carte (contact) */
.map-frame { aspect-ratio: 4 / 3; width: 100%; border: 0; border-radius: var(--radius-lg); }
.map-consent { aspect-ratio: 4 / 3; display: grid; place-items: center; gap: var(--space-3); padding: var(--space-5); text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--color-border-strong); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.contact-list li { margin: 0; display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-list .icon { color: var(--color-link); margin-top: 0.2em; }

/* 7. Formulaires ------------------------------------------------------------ */
.form { display: grid; gap: var(--space-5); }
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 40em) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 500; font-size: var(--text-sm); color: var(--color-text-strong); }
.field .req { color: var(--color-link); }
.field .hint { font-size: var(--text-xs); color: var(--color-muted); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: var(--space-2); }

.input, .select, .textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text-strong);
  font: inherit;
  font-size: var(--text-base);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ea2a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
}
.textarea { min-height: 9rem; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--steel-500); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red-400); box-shadow: 0 0 0 3px rgb(240 16 29 / 0.25); }
.theme-light .input:focus, .theme-light .select:focus, .theme-light .textarea:focus { border-color: var(--red-700); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--color-error); }
.field-error { display: none; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-error); }
.field.has-error .field-error { display: flex; }

.choice-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast);
}
.choice input:hover + span { border-color: var(--steel-500); }
.choice input:checked + span { border-color: var(--red-500); background: rgb(240 16 29 / 0.12); color: var(--color-text-strong); }
.choice input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.checkbox { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); }
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: 0.2em; accent-color: var(--red-600); flex-shrink: 0; }

/* Champ piège anti-spam : invisible pour les humains */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* 8. Bandeau cookies -------------------------------------------------------- */
.consent {
  position: fixed;
  left: var(--space-4); right: var(--space-4); bottom: var(--space-4);
  z-index: 200;
  max-width: 34rem;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong);
  background: rgb(19 21 25 / 0.98);
  box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.consent p { font-size: var(--text-sm); color: var(--steel-300); }
.consent .btn-row .btn { flex: 1; }

/* 9. Pied de page ------------------------------------------------------------ */
.site-footer {
  position: relative;
  z-index: 1;
  padding-top: var(--space-9);
  background: var(--ink-0);
  border-top: 1px solid var(--color-border);
  color: var(--steel-300);
  font-size: var(--text-sm);
}
.footer-grid { display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 64em) {
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
}
.footer-brand p { margin-top: var(--space-4); color: var(--steel-400); }
.site-footer h2 {
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer a { color: var(--steel-200); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.social a { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); border: 1px solid var(--color-border-strong); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6);
  margin-top: var(--space-8);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
  color: var(--steel-400);
  font-size: var(--text-xs);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.footer-bottom li + li { margin: 0; }
.footer-bottom button { padding: 0; border: 0; background: none; color: var(--steel-200); font: inherit; cursor: pointer; }
.footer-bottom button:hover { color: #fff; text-decoration: underline; }

/* 10. Mouvement & impression ------------------------------------------------- */
/* Les états masqués ne s'appliquent que si JavaScript et le mouvement sont actifs :
   sans JS, tout le contenu reste visible. */
/* une fois révélé, l'élément retrouve ses propres transformations (survol des cartes) */
.motion-ok [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .terminal-line .caret { animation: none; }
}

@media print {
  .site-header, .site-footer, .consent, .hero-console, .btn, .filters, .skip-link { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  a { color: #000; }
}

/* Compléments ---------------------------------------------------------------- */
.page-hero .eyebrow + h1 { margin-top: var(--space-3); }
.stat { display: flex; flex-direction: column; }
.card-foot > span { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.card-foot > .cmd { white-space: normal; }
.header-actions .header-cta { display: none; }
@media (min-width: 68em) { .header-actions .header-cta { display: inline-flex; } }
.brand span { white-space: nowrap; }
@media (max-width: 56em) { .scroll-hint { display: none; } }
@media (max-width: 22.5em) { .brand img { width: 36px; } .brand { font-size: 1.05rem; } }
.card h2.card-title, .formation-card h2, .article-card h2 { font-size: var(--text-lg); line-height: var(--leading-snug); letter-spacing: -0.01em; margin: 0; }

/* Entrée des en-têtes : CSS pur, démarre dès le premier affichage (sans attendre JS) */
@keyframes enter-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter-up 0.9s var(--ease-out) both; }
  [data-enter]:nth-child(2) { animation-delay: 0.08s; }
  [data-enter]:nth-child(3) { animation-delay: 0.16s; }
  [data-enter]:nth-child(4) { animation-delay: 0.24s; }
  [data-enter]:nth-child(5) { animation-delay: 0.32s; }
  [data-enter]:nth-child(n+6) { animation-delay: 0.4s; }
}

/* Hero de l'accueil : texte à gauche, console à droite ---------------------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { display: grid; align-items: center; gap: var(--space-6); }
@media (min-width: 52em) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); }
}
.domain-card .card-foot .icon { color: var(--color-link); }
.hero h1 { font-size: clamp(2.2rem, min(1.3rem + 3vw, 7.4vh), 4.2rem); margin-bottom: clamp(1rem, 2.5vh, 1.5rem); }
@media (max-width: 40em) { .console-screen { font-size: 0.64rem; padding: 1rem; } }

/* Formulaire de contact : champs affichés selon le profil et la demande ------- */
.form-note { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.form-section { display: grid; gap: var(--space-5); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.form-section-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-link);
}
.form-section-title::before { content: "// "; opacity: 0.6; }
.form-choose {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
html:not(.js) .form-choose { display: none; }
/* Masquage piloté par JavaScript uniquement : sans JS, tous les champs restent visibles */
.js .is-off { display: none !important; }
/* Dernier champ seul sur sa ligne : il prend toute la largeur */
.js .form-grid > .field:not(.is-off):nth-last-child(1 of :not(.is-off)):nth-child(odd of :not(.is-off)) { grid-column: 1 / -1; }
.just-shown { animation: enter-up 0.35s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) { .just-shown { animation: none; } }

/* Bandeau défilant des clients ---------------------------------------------- */
.marquee {
  --visible: 5;
  --gap: clamp(0.75rem, 2vw, 1.5rem);
  container-type: inline-size;
  overflow: hidden;
  /* fondu sur les bords : les logos entrent et sortent en douceur */
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee calc(var(--count) * 3.2s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list {
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 0 var(--gap) 0 0; /* même espace entre les deux séries qu'entre deux logos */
  list-style: none;
}
.marquee-list li {
  flex: 0 0 auto;
  margin: 0;
  /* 5 logos visibles : largeur du bandeau répartie entre eux */
  width: calc((100cqi - (var(--visible) - 1) * var(--gap)) / var(--visible));
}
@keyframes marquee { to { transform: translateX(-50%); } }

.client-logo {
  display: grid;
  place-items: center;
  height: 5.5rem;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-muted);
  text-decoration: none;
}
/* Charte : logos toujours monochromes. Quelles que soient leurs couleurs d'origine,
   ils sont rendus en blanc uni (silhouette) : aucune couleur, même au survol. */
.client-logo img {
  height: 3.1rem; /* même hauteur pour tous les logos : bandeau équilibré */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--dur) ease;
}
.client-logo:hover img { opacity: 1; }
.client-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem);
  letter-spacing: 0.02em;
  color: var(--steel-200);
  text-align: center;
  opacity: 0.8;
  transition: opacity var(--dur) ease;
}
.client-logo:hover .client-name { opacity: 1; }
.client-logo--placeholder {
  border-style: dashed;
  border-color: var(--color-border-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-align: center;
}
@media (max-width: 40em) { .marquee { --visible: 3; } .client-logo { height: 4.5rem; } .client-logo img { height: 2.4rem; } }
@media (prefers-reduced-motion: reduce) {
  /* pas de défilement : les logos sont présentés en grille */
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-list[data-copy] { display: none; }
}

/* Menu mobile : le bouton « Demander un devis » garde son apparence de bouton
   (la règle générique .mobile-nav a lui retirait son fond) */
.mobile-nav a.btn {
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--_bg);
  color: var(--_fg);
  font: 600 var(--text-base) / 1.2 var(--font-body);
}
