/* ==========================================================================
   Arkha — feuille de styles
   Palette monochrome bleu profond, un seul accent (rouge) réservé aux
   repères visuels. Typographie Cabinet Grotesk auto-hébergée.
   ========================================================================== */

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0A0F2C;
  --body: #232838;
  --muted: #6B7280;
  --line: #E5E7EB;
  --hair: rgba(10, 15, 44, 0.09);
  --surface: #F7F8FB;
  --surface-2: #FBFCFE;
  --white: #FFFFFF;
  --accent: #C0392B;
  --navy: #151C48;

  --font: 'Cabinet Grotesk', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 48px);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;

  --shadow-1: 0 1px 2px rgba(10, 15, 44, 0.05), 0 10px 26px -14px rgba(10, 15, 44, 0.20);
  --shadow-2: 0 26px 60px -30px rgba(10, 15, 44, 0.38);
  --shadow-3: 0 44px 90px -44px rgba(10, 15, 44, 0.50);

  --bar-h: 36px;
  --nav-h: calc(84px + var(--bar-h));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p, li { text-align: left; }

::selection { background: rgba(10, 15, 44, 0.12); }

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

.band-dark :focus-visible,
.callout :focus-visible,
.deduct :focus-visible { outline-color: var(--white); }

[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* --- Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
  font-weight: 500;
}
.skip-link:focus { left: 0; }

/* --- Typographie ---------------------------------------------------------- */
.display {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.section-lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 62ch;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.075rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 56ch;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.link-inline {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(10, 15, 44, 0.25);
  transition: text-decoration-color 0.2s var(--ease);
}
.link-inline:hover { text-decoration-color: var(--ink); }

.link-arrow {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(10, 15, 44, 0.25);
  transition: text-decoration-color 0.2s var(--ease);
}
.link-arrow:hover { text-decoration-color: var(--ink); }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 15px 26px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover {
  background: #141A42;
}

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

.btn--onDark {
  background: var(--white);
  color: var(--ink);
}
.btn--onDark:hover { background: #E6E8F0; }

.mail-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.2s var(--ease);
}
.mail-link:hover { border-bottom-color: var(--ink); }

/* ==========================================================================
   Bandeau de lancement
   ========================================================================== */
.launch-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 510;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.launch-bar p { display: flex; align-items: center; gap: 10px; text-align: center; }
.launch-bar .lb-short { display: none; }
@media (max-width: 1080px) {
  .launch-bar .lb-long { display: none; }
  .launch-bar .lb-short { display: inline; }
  .launch-bar { font-size: 0.8rem; }
}
@media (max-width: 520px) {
  :root { --bar-h: 50px; }
  .launch-bar { font-size: 0.78rem; line-height: 1.3; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav-wrap {
  position: fixed;
  top: calc(var(--bar-h) + 12px);
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  pointer-events: none;
}

.nav-glass {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  width: 100%;
  max-width: calc(var(--maxw) - 170px);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  backdrop-filter: blur(26px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow:
    0 10px 34px -18px rgba(10, 15, 44, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}
.is-scrolled .nav-glass {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px -20px rgba(10, 15, 44, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 4px 10px 4px 8px;
  text-decoration: none;
  flex-shrink: 0;
  border-radius: 10px;
}
.brand-logo {
  height: 38px;
  width: auto;
  transition: opacity 0.2s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.78; }

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(10, 15, 44, 0.075);
  border-radius: 999px;
  z-index: 1;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
}
.nav-link {
  position: relative;
  z-index: 2;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-link.is-active { font-weight: 700; }

.btn-contact {
  pointer-events: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 15px 24px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 12px 28px -14px rgba(10, 15, 44, 0.75);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn-contact:hover { background: #141A42; transform: translateY(-2px); }

/* Menu compact : un <details> natif, utilisable sans JavaScript. */
.nav-menu { display: none; position: static; z-index: 2; margin-left: auto; }
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover { background: rgba(10, 15, 44, 0.06); }
.nav-menu-icon { position: relative; width: 16px; height: 10px; flex-shrink: 0; }
.nav-menu-icon::before, .nav-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-menu-icon::before { top: 0; }
.nav-menu-icon::after { top: 8.4px; }
.nav-menu[open] .nav-menu-icon::before { top: 4.2px; transform: rotate(45deg); }
.nav-menu[open] .nav-menu-icon::after { top: 4.2px; transform: rotate(-45deg); }
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(calc(100vw - 32px), 360px);
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}
.nav-menu-panel a {
  padding: 13px 14px;
  border-radius: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.nav-menu-panel a:hover,
.nav-menu-panel a[aria-current="page"] { background: var(--surface); }
.nav-menu-panel a[aria-current="page"] { font-weight: 700; }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav-glass { max-width: none; }
  .btn-contact { padding: 13px 18px; font-size: 0.86rem; }
}
@media (max-width: 420px) {
  .nav-wrap { gap: 8px; padding: 0 10px; }
  .nav-menu-panel { width: calc(100vw - 20px); }
  .nav-glass { padding: 8px; }
  .brand { padding: 4px; }
  .brand-logo { height: 32px; }
  .nav-menu summary { padding: 10px; }
  .nav-menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .btn-contact { padding: 12px 14px; }
}

/* ==========================================================================
   Hero (accueil)
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 86px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero-title { font-size: clamp(2.35rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.036em; }
.hero-lede { margin-top: 24px; max-width: 54ch; }

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}


.hero-meta {
  margin: clamp(48px, 6vw, 76px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.hero-meta div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-meta div:first-child { padding-left: 0; border-left: 0; }
.hero-meta dt {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-meta dd {
  margin: 8px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 30ch;
}

/* --- Carte --- */
.map-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.map-frame {
  position: relative;
  aspect-ratio: 4 / 3.15;
  overflow: hidden;
}
#hero-map {
  position: absolute;
  inset: 0;
  background: var(--surface);
  filter: grayscale(1) contrast(1.06) brightness(1.03);
  pointer-events: none;
}
.map-overlay { position: absolute; inset: 0; pointer-events: none; }
.map-radius {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(10, 15, 44, 0.07);
  border: 1px solid rgba(10, 15, 44, 0.16);
}
.map-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(192, 57, 43, 0.18);
}
.map-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 26px -14px rgba(10, 15, 44, 0.6);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  z-index: 2;
}

.leaflet-control-attribution {
  font-size: 9px;
  line-height: 1.4;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}
.leaflet-control-attribution a { color: var(--muted); }

/* ==========================================================================
   Offres (accueil)
   ========================================================================== */
.section-head { max-width: 56ch; margin-bottom: clamp(36px, 4vw, 56px); }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 26px);
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.offer-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.offer-title { font-size: 1.5rem; letter-spacing: -0.025em; }
.offer-desc { color: var(--muted); font-size: 1rem; }

.offer-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.offer-price {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.offer-price small { color: var(--muted); font-size: 0.86rem; font-weight: 400; letter-spacing: 0; }

/* ==========================================================================
   Parcours (timeline)
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  gap: clamp(26px, 3vw, 34px);
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}
.timeline--five { grid-template-columns: repeat(5, 1fr); }

.tl-step { position: relative; padding-top: 30px; }
.tl-step::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.tl-step:first-child::after { background: var(--ink); }

.tl-num {
  display: block;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.tl-title { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.tl-desc { color: var(--muted); font-size: 0.95rem; }

.timeline-foot {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   Bandeaux
   ========================================================================== */
.band-soft {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-dark {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .section-lede { color: rgba(255, 255, 255, 0.82); }
.band-dark .tag { color: rgba(255, 255, 255, 0.75); }
.band-dark .rule { background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 12%, rgba(255,255,255,.16) 88%, transparent); }
.band-dark .container { position: relative; z-index: 1; }

/* ==========================================================================
   Schéma de flux (sauvegarde + connexion d'outils)
   ========================================================================== */
.flow {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(38px, 4vw, 56px);
}
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow--5 { grid-template-columns: repeat(5, 1fr); }

.flow-node {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.flow-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-1 * clamp(16px, 2vw, 22px) - 1px);
  width: clamp(16px, 2vw, 22px);
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transform-origin: left center;
  transition: background-color 0.45s var(--ease);
}
.flow-node.is-lit::after { background: rgba(255, 255, 255, 0.8); }

/* pointe de flèche en bout de connecteur */
.flow-node::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(3px - clamp(16px, 2vw, 22px));
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.45s var(--ease);
}
.flow-node:last-child::before { display: none; }
.flow-node.is-lit::before { border-color: rgba(255, 255, 255, 0.85); }
.flow-node:last-child::after { display: none; }

.flow-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  margin-bottom: 16px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.flow-title {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}
.flow-desc { font-size: 0.97rem; font-weight: 500; color: rgba(255, 255, 255, 0.8); line-height: 1.55; }

.flow-node--accent { border-color: rgba(192, 57, 43, 0.55); }
.flow-node--accent .flow-icon { background: rgba(192, 57, 43, 0.22); }

/* état actif piloté en JS (animation connexion d'outils) */
.flow-node.is-lit {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}
.flow-node.is-lit .flow-icon { background: var(--white); color: var(--ink); }
.flow-node--accent.is-lit { border-color: var(--accent); }
.flow-node--accent.is-lit .flow-icon { background: var(--accent); color: var(--white); }

.flow-legend {
  margin-top: 26px;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 70ch;
}

/* --- Démonstration : le courriel reçu et le devis préparé ----------------- */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 26px);
  margin-top: clamp(34px, 4vw, 48px);
  align-items: start;
}
.demo-card {
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 600;
}
.demo-subject { color: var(--white); font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; }
.demo-text { color: rgba(255, 255, 255, 0.8); font-size: 0.97rem; }
.doc-lines { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 20px; }
.doc-line { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.15); }
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(192, 57, 43, 0.2);
  border: 1px solid rgba(192, 57, 43, 0.55);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}
.demo-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.demo-btn { padding: 9px 15px; border-radius: 10px; font-size: 0.83rem; font-weight: 600; }
.demo-btn--main { background: var(--white); color: var(--ink); }
.demo-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.28); color: rgba(255, 255, 255, 0.75); }

.flow-replay { margin-top: clamp(24px, 3vw, 32px); }

/* ==========================================================================
   Architectures (sauvegarde)
   ========================================================================== */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 24px);
  margin-top: clamp(34px, 4vw, 48px);
}

.arch-card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.arch-card--recommended {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: linear-gradient(180deg, var(--surface-2), var(--white));
}
.arch-card h3 { font-size: 1.2rem; margin: 16px 0 10px; letter-spacing: -0.02em; }
.arch-card p { color: var(--muted); font-size: 0.97rem; }

/* Schéma de chaque architecture : une chaîne de pastilles lisible d'un coup
   d'œil, plutôt qu'un dessin abstrait. */
.arch-map {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 18px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.arch-card--recommended .arch-map { background: var(--white); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.chip svg { flex-shrink: 0; }
.chip--lock { border-color: rgba(192, 57, 43, 0.4); color: var(--accent); }
.arch-arrow { color: rgba(10, 15, 44, 0.32); flex-shrink: 0; }
.arch-dest { display: flex; flex-direction: column; gap: 7px; }
.arch-plus {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.45;
  text-align: center;
  line-height: 1;
}

.arch-plain {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

/* ==========================================================================
   Prose, listes simples, présentation
   ========================================================================== */
.prose { max-width: 68ch; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 16px; }

.plain-list {
  margin-top: clamp(26px, 3vw, 36px);
  display: grid;
  gap: 18px;
  max-width: 76ch;
}
.plain-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
}
.plain-list strong { color: var(--ink); font-weight: 700; }

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.about-text { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.about-limits {
  padding: clamp(24px, 2.8vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.about-limits h3 { font-size: 1.14rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.about-limits p { color: var(--muted); font-size: 0.97rem; }
.about-limits p + p { margin-top: 12px; }

/* ==========================================================================
   Panneau tarif
   ========================================================================== */
.price-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(28px, 3vw, 42px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
}
.price-figure {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.launch-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  max-width: 52ch;
}
.launch-note .dot { transform: translateY(-2px); }
.price-note { margin-top: 10px; color: var(--muted); font-size: 0.97rem; max-width: 48ch; }

/* ==========================================================================
   Encadré option / attestation
   ========================================================================== */
.callout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
}
.callout h2 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.callout .tag { color: rgba(255, 255, 255, 0.78); }
.callout p + p { margin-top: 14px; }

.callout--soft {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  color: var(--muted);
  box-shadow: none;
}
.callout--soft h2 { color: var(--ink); }
.callout--soft .tag { color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { margin-top: clamp(28px, 3vw, 40px); max-width: 76ch; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #141A42; }
.faq-sign {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-sign::before, .faq-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-item p { padding-bottom: 24px; color: var(--muted); max-width: 68ch; }

/* ==========================================================================
   Cas d'usage (connexion d'outils, logiciel sur mesure)
   ========================================================================== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(34px, 4vw, 48px);
}
.usecase-card {
  display: flex;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.usecase-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.usecase-card h3 { font-size: 1.06rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.usecase-card p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Étude de cas
   ========================================================================== */
.case-lede { margin-top: 20px; color: var(--muted); max-width: 72ch; }
.case-lede + .case-lede { margin-top: 14px; }

.case-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  margin-top: clamp(34px, 4vw, 48px);
}
.case-step { padding-top: 26px; border-top: 2px solid var(--accent); }
.case-when {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.case-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.case-step p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Comparaison
   ========================================================================== */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 24px);
  margin-top: clamp(30px, 3.4vw, 44px);
}
.compare-card {
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare-card--strong {
  background: var(--white);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.compare-card h3 { font-size: 1.14rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.compare-card p { color: var(--muted); font-size: 0.97rem; }
.compare-note { margin-top: clamp(28px, 3vw, 38px); color: var(--muted); max-width: 68ch; }

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(76px, 9vw, 130px) 0;
  overflow: hidden;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-claim {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.cta-lede { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.cta-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Pages secondaires : en-tête
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(38px, 6vw, 72px)) 0 clamp(30px, 4vw, 46px);
  overflow: hidden;
}
.page-title {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.034em;
  line-height: 1.06;
  max-width: 20ch;
}
.page-lede { margin-top: 22px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.15rem); max-width: 62ch; }

/* En-tête de page avec appel à l'action calé à droite */
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 52px);
  align-items: end;
}
.page-hero-cta { padding-bottom: 5px; }

/* ==========================================================================
   Formulaire de contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover { border-color: rgba(10, 15, 44, 0.28); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 15, 44, 0.1);
}
.contact-form .btn { align-self: flex-start; border: none; }
.contact-form .btn:disabled { opacity: 0.6; cursor: progress; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  color: var(--ink);
  font-weight: 500;
}
.form-status.is-error { border-left-color: var(--accent); }

.contact-aside {
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-aside h2 { font-size: 1.15rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.contact-aside p { color: var(--muted); font-size: 0.95rem; }
.contact-aside p + p { margin-top: 12px; }
.aside-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.form-optional { color: var(--muted); font-weight: 400; }
.aside-intro { margin-bottom: 16px; }
.aside-contact--solo { margin-top: 0; padding-top: 0; border-top: 0; }
.contact-aside .aside-link { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.identity .price-row { align-items: baseline; }
.identity dd a { color: inherit; }
.contact-aside .aside-note { margin-top: 4px; font-size: 0.88rem; }
.aside-steps { counter-reset: aside; display: grid; gap: 10px; }
.aside-steps li {
  counter-increment: aside;
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 0.95rem;
}
.aside-steps li::before {
  content: counter(aside);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aside-steps strong { color: var(--ink); font-weight: 600; }
.contact-aside .aside-deduct {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}
.aside-deduct .dot { transform: translateY(-2px); }

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal { padding: calc(var(--nav-h) + 48px) 0 clamp(64px, 8vw, 104px); }
.legal-content { max-width: 72ch; }
.legal-updated { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }
.legal-content h2 { font-size: 1.22rem; margin-top: 42px; letter-spacing: -0.02em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-top: 14px; color: var(--muted); }
.legal-content ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.legal-content li { position: relative; padding-left: 20px; color: var(--muted); }
.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 1.5px;
  background: var(--ink);
}
.legal-content a { color: var(--ink); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 5vw, 72px) 0 40px;
  background: var(--surface-2);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; }
.footer-logo { height: 54px; width: auto; }
.footer-meta { margin-top: 16px; color: var(--muted); font-size: 0.9rem; max-width: 44ch; line-height: 1.65; }
.footer-meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.footer-meta a:hover { color: var(--ink); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { color: var(--muted); font-size: 0.84rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--muted); font-size: 0.84rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.footer-legal a:hover { color: var(--ink); }

/* ==========================================================================
   Trois prestations (accueil)
   ========================================================================== */
.band-dark .checklist li,
.callout .checklist li { color: rgba(255, 255, 255, 0.9); }
.band-dark .checklist li::before,
.callout .checklist li::before { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); }
.band-dark .checklist li::after,
.callout .checklist li::after { border-color: var(--white); }
.link-arrow--onDark { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.4); }
.link-arrow--onDark:hover { text-decoration-color: var(--white); }

/* Prestations : la sauvegarde en tête, les autres ensuite */
.offers-grid--lead { grid-template-columns: 1fr; }
.offer-card--lead {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.offer-card--lead .offer-desc { max-width: 70ch; }
.offer-card--lead .offer-price {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.offer-card--lead .offer-price .dot { display: none; }
.offers-sub {
  margin: clamp(36px, 4vw, 52px) 0 18px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Quatre prestations : deux colonnes, un seul cadre, des filets intérieurs */
.offers-grid--4 {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.offers-grid--4 .offer-card {
  border: 0;
  border-radius: 0;
  padding: clamp(28px, 3vw, 40px);
}
.offers-grid--4 .offer-card:nth-child(even) { border-left: 1px solid var(--line); }
.offers-grid--4 .offer-card:nth-child(n+3) { border-top: 1px solid var(--line); }
.offers-grid--4 .offer-price {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.offers-grid--4 .offer-price .dot { display: none; }

.offers-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.offers-grid--3 .offer-card {
  border: 0;
  border-radius: 0;
  padding: clamp(28px, 3vw, 44px);
}
.offers-grid--3 .offer-card + .offer-card { border-left: 1px solid var(--line); }
.offers-grid--3 .offer-price {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.offers-grid--3 .offer-price .dot { display: none; }
.offers-grid--3 .offer-foot { flex-direction: column; align-items: flex-start; gap: 10px; }

/* La règle de la découverte déduite */
.deduct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 2.8vw, 34px) clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}
.deduct-main { display: flex; align-items: baseline; gap: 14px; }
.deduct-main .dot { transform: translateY(-3px); }
.deduct-title { color: var(--white); font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.deduct-note { margin-top: 6px; font-size: 0.95rem; }

/* ==========================================================================
   Grilles tarifaires
   ========================================================================== */
.pricing {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.pricing-note { margin-top: 18px; color: var(--muted); max-width: 44ch; }
.pricing .btn { margin-top: 28px; }

.price-list {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: baseline;
  padding: clamp(20px, 2.2vw, 26px) clamp(22px, 2.6vw, 32px);
}
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row h3 { font-size: 1.06rem; letter-spacing: -0.015em; }
.price-row p { margin-top: 5px; color: var(--muted); font-size: 0.93rem; }
.price-row .price-amount {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-align: right;
}
.price-row .price-amount small { font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-row--first { background: var(--surface-2); }
.price-row--first h3 { display: flex; align-items: center; gap: 10px; }

/* Délais et créneaux (accueil) */
.delays dt { color: var(--ink); font-weight: 600; font-size: 1rem; }
.delays dd { margin: 0; }
.price-row.delays-row, .delays .price-row { align-items: center; }
.delays .price-row .price-amount {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: normal;
  max-width: 30ch;
}

/* Détail d'une prestation : les mêmes lignes, sans colonne de montant */
.detail-list .price-row { grid-template-columns: 1fr; }

/* Paliers d'abonnement (sauvegarde) */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.tier-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(22px, 2.4vw, 28px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
}
.tier-volume { color: var(--muted); font-size: 0.93rem; }
.tier-price { color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.tier-price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier-card--quote { background: var(--surface); }
.tier-card--quote .tier-price { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }

/* Liste cochée */
.checklist { display: grid; gap: 14px; }
.checklist--2 { grid-template-columns: repeat(2, 1fr); gap: 14px clamp(24px, 3vw, 44px); }
.checklist li { position: relative; padding-left: 32px; color: var(--body); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 6px;
  height: 9px;
  border-right: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: rotate(45deg);
}
.included {
  margin-top: clamp(22px, 2.6vw, 30px);
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.included h3 { font-size: 1.14rem; margin-bottom: 20px; letter-spacing: -0.02em; }
.included .checklist li::before { background: var(--white); }

/* Installations (sauvegarde) */
.arch-grid--3 { grid-template-columns: repeat(3, 1fr); }
.arch-card--3 { display: flex; flex-direction: column; }
/* Dans les cartes étroites, la chaîne se lit de haut en bas */
.arch-grid--3 .arch-map {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 300px;
}
.arch-grid--3 .arch-arrow { transform: rotate(90deg); }
.arch-grid--3 .arch-dest { align-items: center; }
.arch-card .arch-price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.arch-card .arch-price small { color: var(--muted); font-size: 0.86rem; font-weight: 500; letter-spacing: 0; }

/* Deux colonnes « vous / moi » */
.compare .checklist { margin-top: 4px; }
.compare-card .checklist li { color: var(--muted); font-size: 0.97rem; }

/* ==========================================================================
   Calcul d'amortissement (connexion d'outils)
   ========================================================================== */
.calc {
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
}
.calc-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  flex-wrap: wrap;
}
.calc-fig { display: flex; flex-direction: column; gap: 4px; }
.calc-num { color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.calc-lbl { color: var(--muted); font-size: 0.93rem; }
.calc-op { color: rgba(10, 15, 44, 0.35); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; line-height: 1; padding-bottom: 22px; }
.calc-fig--accent .calc-num { color: var(--accent); }
.calc-result {
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: clamp(20px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.calc-result p:first-child { color: var(--ink); font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 700; letter-spacing: -0.02em; }
.calc-result p + p { color: var(--muted); font-size: 0.93rem; max-width: 46ch; }

/* Grilles à nombre impair : la dernière carte prend toute la largeur */
.usecase-grid > .usecase-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 900;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   En-têtes des pages de prestation : texte à gauche, scène animée à droite
   ========================================================================== */
.page-hero-grid--viz {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.page-hero-grid--viz .page-hero-cta { padding: 30px 0 0; }
.page-hero .hero-meta { margin-top: clamp(40px, 5vw, 64px); }

/* --- Scène ---------------------------------------------------------------- */
.viz {
  position: relative;
  margin: 0;
  padding: 16px 18px 18px;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 85% 0%, #222B63 0%, var(--navy) 62%);
  color: var(--white);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  isolation: isolate;
}
.viz::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.viz-stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz-caption {
  margin-top: 12px;
  min-height: 3.1em;
  font-size: 0.97rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  transition: opacity 0.22s var(--ease);
}
.viz-caption strong { color: var(--white); font-weight: 700; }
.viz-caption.is-fading { opacity: 0; }

.viz text { font-family: var(--font); fill: rgba(255, 255, 255, 0.9); font-size: 13.5px; font-weight: 600; }
.viz .viz-sub { font-size: 11px; font-weight: 500; fill: rgba(255, 255, 255, 0.7); }
.viz .viz-small { font-size: 12px; font-weight: 600; fill: rgba(255, 255, 255, 0.75); }
.viz .viz-tiny { font-size: 10.5px; font-weight: 500; fill: rgba(255, 255, 255, 0.6); }

.viz-box { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.viz-ico-bg { fill: rgba(255, 255, 255, 0.09); transition: fill 0.4s var(--ease); }
.viz-ico { color: var(--white); transition: color 0.12s linear; }
.viz-node.is-lit .viz-box { fill: rgba(255, 255, 255, 0.13); stroke: rgba(255, 255, 255, 0.75); }
.viz-node.is-lit .viz-ico-bg { fill: var(--white); }
.viz-node.is-lit .viz-ico { color: var(--ink); }
.viz-badge { opacity: 0; transition: opacity 0.3s var(--ease); }
.viz-badge circle { fill: var(--accent); }
.viz-badge-ico { color: var(--white); }
.viz-node.is-done .viz-badge { opacity: 1; }

.viz-wire { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.4; stroke-dasharray: 3 5; transition: stroke 0.4s var(--ease); }
.viz-wire.is-lit { stroke: rgba(255, 255, 255, 0.7); stroke-dasharray: none; }

.viz-hub-core { fill: #161D4C; stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.4; transition: stroke 0.4s var(--ease), fill 0.4s var(--ease); }
.viz-hub.is-lit .viz-hub-core { fill: #212A66; stroke: var(--white); }
.viz-lock .viz-ico { color: var(--white); }
.viz-ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.viz-ring.is-pulse { animation: vizRing 0.8s var(--ease); }
@keyframes vizRing { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.55); } }

.viz-packet-halo { fill: rgba(255, 255, 255, 0.16); }
.viz-packet-core { fill: none; stroke: var(--white); stroke-width: 2; transition: fill 0.2s; }
.viz[data-viz="connect"] .viz-packet-core,
.viz-packet.is-sealed .viz-packet-core { fill: var(--white); }

.viz-swap { transition: opacity 0.4s var(--ease); }
.viz-swap.is-out { opacity: 0; }

/* Automatisation : un déclencheur, puis des étapes qui s'enchaînent seules. */
.viz-trigger.is-lit .viz-box { fill: rgba(255, 255, 255, 0.1); stroke: rgba(255, 255, 255, 0.6); }
.viz-spine { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 2; }
.viz-spine-fill { fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.45s var(--ease); }
.viz-step { transition: opacity 0.3s var(--ease); }
.viz-step.is-off { opacity: 0; }
.viz-step-box { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; transition: fill 0.35s var(--ease), stroke 0.35s var(--ease); }
.viz-step-dot { fill: var(--navy); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; transition: fill 0.3s var(--ease), stroke 0.3s var(--ease); }
.viz-step-check { color: var(--ink); opacity: 0; transition: opacity 0.2s var(--ease); }
.viz .viz-step-text { font-size: 13px; fill: rgba(255, 255, 255, 0.6); transition: fill 0.3s var(--ease); }
.viz .viz-step-tag { font-size: 11px; font-weight: 600; text-anchor: end; fill: rgba(255, 255, 255, 0.6); }
.viz-step.is-run .viz-step-box,
.viz-step.is-wait .viz-step-box { fill: rgba(255, 255, 255, 0.11); stroke: rgba(255, 255, 255, 0.65); }
.viz-step.is-run .viz-step-dot { stroke: var(--white); }
.viz-step.is-run .viz-ico-bg { fill: var(--white); }
.viz-step.is-run .viz-ico { color: var(--ink); }
.viz .viz-step.is-run .viz-step-text,
.viz .viz-step.is-wait .viz-step-text,
.viz .viz-step.is-done .viz-step-text { fill: rgba(255, 255, 255, 0.92); }
.viz-step.is-done .viz-step-dot { fill: var(--white); stroke: var(--white); }
.viz-step.is-done .viz-step-check { opacity: 1; }
.viz-step.is-wait .viz-step-dot { fill: var(--accent); stroke: var(--accent); }
.viz .viz-step.is-wait .viz-step-tag { fill: #EE8A7F; }

/* Connexion d'outils : deux logiciels, un lien direct entre eux. */
.viz-win-frame { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.viz-win-sep { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.viz .viz-row-main { font-size: 12.5px; }
.viz-row rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0); stroke-width: 1; transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.viz-row.is-hot rect { fill: rgba(255, 255, 255, 0.13); stroke: rgba(255, 255, 255, 0.7); }
.viz-row.is-new rect { animation: vizNew 1s var(--ease); }
@keyframes vizNew { from { fill: rgba(255, 255, 255, 0.42); } }
.viz-cable { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 2; transition: stroke 0.4s var(--ease); }
.viz-cable.is-lit { stroke: rgba(255, 255, 255, 0.85); }
.viz-plug { fill: rgba(255, 255, 255, 0.35); }

.viz-day { fill: rgba(255, 255, 255, 0.08); transition: fill 0.25s var(--ease); }
.viz-day.is-ok { fill: rgba(255, 255, 255, 0.8); }
.viz-day.is-alert { fill: var(--accent); }
.viz-pill { opacity: 0; transition: opacity 0.45s var(--ease); }
.viz-pill.is-on { opacity: 1; }
.viz-pill rect { fill: var(--white); }
.viz-pill-dot { fill: var(--ink); }
.viz-pill-ico { color: var(--white); }
.viz .viz-pill text { fill: var(--ink); font-size: 13px; font-weight: 700; }

/* --- Scène « logiciel » : une application de suivi ------------------------ */
.app {
  border-radius: 14px;
  background: var(--white);
  color: var(--body);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
}
.app-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.app-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.app-top span { margin-left: 8px; }
.app-body { display: grid; grid-template-columns: 112px 1fr; min-height: 250px; }
.app-nav { padding: 12px 8px; border-right: 1px solid var(--line); background: var(--surface-2); display: grid; align-content: start; gap: 4px; }
.app-nav li { padding: 7px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.app-nav li.is-on { background: var(--ink); color: var(--white); }
.app-main { padding: 12px 14px; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.app-kpis div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.app-kpis b { display: block; font-size: 1.25rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.app-kpis b.is-pulse { animation: kpiPop 0.6s var(--ease); }
@keyframes kpiPop { 40% { color: var(--accent); transform: scale(1.18); } }
.app-kpis span { font-size: 0.72rem; color: var(--muted); }
.app-rows { display: grid; gap: 6px; }
.app-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(60px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.8rem;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.app-rows li.is-hot { border-color: var(--ink); background: var(--surface); }
.app-name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-progress { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.app-progress i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 4px; transition: width 0.7s var(--ease); }
.app-chip { padding: 3px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); }
.app-chip.is-run { border-color: var(--ink); color: var(--ink); }
.app-chip.is-done { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ==========================================================================
   Accueil : petits schémas animés sur les cartes de prestation
   ========================================================================== */
.mini-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.mini-flow span {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  white-space: nowrap;
}
.mini-flow i { position: relative; flex: 1; min-width: 28px; max-width: 120px; height: 1px; background: rgba(10, 15, 44, 0.2); }
.mini-flow i::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: miniDot 2.6s var(--ease) infinite;
  animation-delay: var(--md, 0s);
}
@keyframes miniDot {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

/* « Qui je suis » sur fond sombre, pour rompre la suite de sections claires */
.band-dark .about-text { color: rgba(255, 255, 255, 0.86); }
.band-dark .about-limits { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.band-dark .about-limits p { color: rgba(255, 255, 255, 0.82); }

/* Parcours : le trait de chaque étape se dessine à l'apparition */
.js .tl-step::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 250ms);
}
.js .tl-step.is-in::before { transform: scaleX(1); }

/* ==========================================================================
   Animations d'apparition (activées uniquement si JS est disponible)
   ========================================================================== */
/* On anime « translate » plutôt que « transform » : la propriété reste ainsi
   disponible pour les effets de survol et l'animation du flux. */
.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .map-card { max-width: 560px; }
  .timeline, .timeline--five { grid-template-columns: repeat(2, 1fr); }
  .flow--4, .flow--5 { grid-template-columns: repeat(2, 1fr); }
  .flow-node::after, .flow-node::before { display: none; }
  .callout { grid-template-columns: 1fr; gap: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .offers-grid--3 { grid-template-columns: 1fr; }
  .offers-grid--4 { grid-template-columns: 1fr; }
  .offers-grid--4 .offer-card:nth-child(even) { border-left: 0; }
  .offers-grid--4 .offer-card + .offer-card { border-top: 1px solid var(--line); }
  .offers-grid--3 .offer-card + .offer-card { border-left: 0; border-top: 1px solid var(--line); }
  .arch-grid--3 { grid-template-columns: 1fr; }
  .arch-grid--3 .arch-map { min-height: 0; }
  .pricing { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .checklist--2 { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .page-hero-grid--viz { grid-template-columns: 1fr; }
  .viz { max-width: 640px; }
}

@media (max-width: 520px) {
  .viz { padding: 14px 12px 14px; }
  .app-body { grid-template-columns: 1fr; }
  .app-nav { display: none; }
  .mini-flow { flex-wrap: wrap; }
}

@media (max-width: 820px) {
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero-cta { padding-bottom: 0; padding-top: 8px; }
}

@media (max-width: 780px) {
  .demo-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .case-steps { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: row; gap: 22px; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .timeline, .timeline--five, .flow--4, .flow--5 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-actions { flex-direction: column; gap: 16px; }
  .arch-map { flex-direction: column; align-items: flex-start; gap: 8px; }
  .arch-arrow { transform: rotate(90deg); margin-left: 15px; }
  .price-panel { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .usecase-card { flex-direction: column; gap: 14px; }
  .price-row { grid-template-columns: 1fr; }
  .price-row .price-amount { text-align: left; }
  .calc-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .calc-op { padding-bottom: 0; }
}

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

@media (max-width: 700px) {
  .hero-meta { grid-template-columns: 1fr; gap: 22px; }
  .hero-meta div { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--line); }
  .hero-meta div:first-child { padding-top: 0; border-top: 0; }
}

/* ==========================================================================
   Lisibilité : titres de section et texte courant
   ========================================================================== */
:root { --soft: #464D5E; }

/* Le gris de la charte reste pour les mentions secondaires ; le texte qu'on
   lit vraiment passe dans un gris plus soutenu. */
.section-lede, .lede, .page-lede, .offer-desc, .arch-card p, .compare-card .checklist li,
.about-text, .hero-meta dd, .prose p, .plain-list li, .cta-lede, .pricing-note, .price-row p,
.about-limits p, .tl-desc {
  color: var(--soft);
}

/* Chaque section s'ouvre sur un filet, le titre à gauche et son explication
   à droite : on repère d'un coup d'œil où commence un nouveau sujet. */
.section-head {
  position: relative;
  max-width: none;
  padding-top: clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--line);
}
.section-head::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}
.band-dark .section-head { border-top-color: rgba(255, 255, 255, 0.14); }
.band-dark .section-head::before { background: var(--white); }
.section-head .section-lede { margin-top: 14px; font-size: 1.1rem; line-height: 1.6; }

@media (min-width: 900px) {
  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
  .section-head > * { grid-column: 1; }
  .section-head > .section-lede { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding-top: 6px; max-width: 52ch; }
}

/* Accueil : la phrase d'accroche en encre, l'énumération en retrait. */
.hero-title-sub { display: block; margin-top: 0.45em; font-size: 0.56em; line-height: 1.2; letter-spacing: -0.02em; color: #7A8091; font-weight: 700; }

/* ==========================================================================
   Page Société
   ========================================================================== */
.soc-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 85% 0%, #222B63 0%, var(--navy) 62%);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-3);
}
.soc-card-name { font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--white); }
.soc-card-form { margin-top: 6px; font-size: 0.97rem; color: rgba(255, 255, 255, 0.75); }
.soc-card dl { margin: 22px 0 0; }
.soc-card dl div {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.soc-card dt { font-size: 0.93rem; color: rgba(255, 255, 255, 0.7); }
.soc-card dd { margin: 0; font-size: 0.98rem; font-weight: 600; line-height: 1.5; color: var(--white); }
.soc-card a { color: inherit; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }

.commit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.commit-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-1);
}
.commit-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
}
.commit-card h3 { font-size: 1.12rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.commit-card p { color: var(--soft); font-size: 0.97rem; line-height: 1.55; }

@media (max-width: 1040px) {
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soc-card { max-width: 640px; }
}
@media (max-width: 600px) {
  .commit-grid { grid-template-columns: 1fr; }
  .soc-card dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1 !important; translate: 0 0 !important; }
  /* Les scènes restent vivantes, sans aucun déplacement : seuls des fondus
     de couleur et d'opacité marquent les étapes. */
  .viz *, .viz-caption { transition-duration: 0.35s !important; }
}
