/* ============================================================
   TRAINOV site de production, design system "Terre et lin"
   Source de verite : outputs/brand/brand-guide-v6.html
   Regles : radius 2px, lin 70 / encre 25 / brique 5,
   bouton primaire #BC4830 partout, focus visible obligatoire.
   ============================================================ */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/plex-sans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plex-mono-500.woff2') format('woff2');
}

:root {
  --lin-50:  #FAF9F5;
  --lin-300: #EFEAE0;
  --lin-500: #D0C6B4;
  --lin-700: #A09078;
  --lin-900: #5E4E38;
  --encre-50:  #EDEEF0;
  --encre-300: #808A94;
  --encre-500: #404A56;
  --encre-700: #24303A;
  --encre-900: #161A1F;
  --brique-50:  #F7EAE6;
  --brique-300: #D47860;
  --brique-adj: #AC4028;
  --brique-700: #7A2C18;
  --btn-primary:       #BC4830;
  --btn-primary-hover: #A0392A;
  --btn-primary-text:  #FAF9F5;
  --bg:      var(--lin-300);
  --surface: var(--lin-50);
  --text:    var(--encre-900);
  --muted:   var(--encre-500);
  --border:  var(--lin-500);
  --on-dark: var(--lin-300);
  --on-dark-muted: var(--encre-50);
  --on-dark-label: rgba(239,234,224,.72);
  --ff:      'IBM Plex Sans', system-ui, sans-serif;
  --ff-mono: 'IBM Plex Mono', ui-monospace, monospace;
  /* Motif hex V3 en data URI. Opacites plafonnees par SOP Copy web TRAINOV (2026-07-06) : max .15/.08/.18 */
  --hex-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='60'%3E%3Cpolygon points='26,0 52,15 52,45 26,60 0,45 0,15' fill='none' stroke='%23D47860' stroke-opacity='.15' stroke-width='.7'/%3E%3Cpolygon points='26,8 44,19 44,41 26,52 8,41 8,19' fill='none' stroke='%23D47860' stroke-opacity='.08' stroke-width='.38'/%3E%3Ccircle cx='26' cy='30' r='1.4' fill='%23D47860' fill-opacity='.18'/%3E%3C/svg%3E");
  --hex-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='60'%3E%3Cpolygon points='26,0 52,15 52,45 26,60 0,45 0,15' fill='none' stroke='%23AC4028' stroke-opacity='.15' stroke-width='.7'/%3E%3Cpolygon points='26,8 44,19 44,41 26,52 8,41 8,19' fill='none' stroke='%23AC4028' stroke-opacity='.08' stroke-width='.38'/%3E%3Ccircle cx='26' cy='30' r='1.4' fill='%23AC4028' fill-opacity='.18'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Accessibilite */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--encre-900); color: var(--lin-50);
  padding: 12px 20px; font-weight: 600; text-decoration: none; border-radius: 2px;
}
.skip-link:focus { left: 12px; top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--encre-900); outline-offset: 2px; border-radius: 2px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible,
nav a:focus-visible, nav button:focus-visible {
  outline-color: var(--lin-300);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Typo utilitaires */
.overline {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brique-adj); display: block; margin-bottom: 14px;
}
.overline-dark { color: var(--on-dark-label); }
.h1 {
  font-weight: 700; font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12; letter-spacing: -.02em; text-wrap: balance;
}
.h2 {
  font-weight: 700; font-size: clamp(23px, 3vw, 32px);
  line-height: 1.18; letter-spacing: -.015em; text-wrap: balance;
}
.h3 { font-weight: 600; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.25; letter-spacing: -.01em; }
.lede { font-size: clamp(15.5px, 1.7vw, 17.5px); color: var(--muted); max-width: 640px; text-wrap: pretty; }
.accent { color: var(--brique-adj); font-style: normal; }
.on-dark .accent, .accent-dark { color: var(--brique-300); font-style: normal; }

/* Boutons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-primary); color: var(--btn-primary-text);
  font-family: var(--ff); font-size: 16px; font-weight: 600; line-height: 1.3;
  padding: 15px 28px; border-radius: 2px; text-decoration: none;
  border: none; cursor: pointer; text-align: center;
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--btn-primary-hover); }
.btn-primary-lg { padding: 17px 34px; font-size: 17px; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--encre-900);
  font-family: var(--ff); font-size: 15px; font-weight: 500; line-height: 1.3;
  padding: 14px 26px; border-radius: 2px; text-decoration: none;
  border: 1.5px solid var(--encre-900); cursor: pointer; text-align: center;
  transition: background .15s ease, color .15s ease;
}
.btn-secondary:hover { background: var(--encre-900); color: var(--lin-50); }
.on-dark .btn-secondary { color: var(--lin-300); border-color: var(--encre-500); }
.on-dark .btn-secondary:hover { background: var(--lin-300); color: var(--encre-900); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: 15px;
  color: var(--brique-adj); text-decoration: none;
  border-bottom: 1px solid var(--brique-adj); padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.btn-link::after { content: '→'; font-family: var(--ff-mono); }
.btn-link:hover { color: var(--brique-700); border-color: var(--brique-700); }
.on-dark .btn-link { color: var(--brique-300); border-color: var(--brique-300); }

/* Barre de navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--encre-900);
  border-bottom: 1px solid rgba(208,198,180,.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo img { width: 132px; height: 28px; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 9px 12px;
  font-size: 14px; font-weight: 500; color: var(--on-dark-muted);
  text-decoration: none; border-radius: 2px; white-space: nowrap;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--lin-50); }
.nav-links a[aria-current="page"] {
  color: var(--lin-50);
  box-shadow: inset 0 -2px 0 var(--brique-300);
}
.nav-phone {
  font-family: var(--ff-mono); font-size: 13px; color: var(--on-dark-muted);
  text-decoration: none; white-space: nowrap; padding: 9px 10px;
}
.nav-phone:hover { color: var(--lin-50); }

/* Sous-menus nav (desktop) */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; padding: 9px 12px;
  font-size: 14px; font-weight: 500; color: var(--on-dark-muted);
  border-radius: 2px; white-space: nowrap; transition: color .15s ease;
}
.nav-dd-btn:hover, .nav-dd-btn[aria-expanded="true"] { color: var(--lin-50); }
.nav-dd-btn.is-current { color: var(--lin-50); box-shadow: inset 0 -2px 0 var(--brique-300); }
.nav-dd-caret { display: inline-block; vertical-align: 1px; margin-left: 2px; transition: transform .15s ease; }
.nav-dd:hover .nav-dd-caret, .nav-dd.open .nav-dd-caret, .nav-dd:focus-within .nav-dd-caret { transform: rotate(180deg); }
@media (min-width: 1024px) {
  .nav-dd-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 210px;
    background: var(--encre-900); border: 1px solid rgba(208,198,180,.14);
    border-radius: 2px; padding: 6px; list-style: none; z-index: 60;
    box-shadow: 0 14px 34px rgba(10,12,15,.4);
  }
  .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { display: block; }
  .nav-dd-menu a { display: block; padding: 10px 12px; white-space: nowrap; }
}

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--btn-primary); color: var(--btn-primary-text);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  padding: 10px 18px; border-radius: 2px; text-decoration: none;
  transition: background .15s ease;
}
.nav-cta:hover { background: var(--btn-primary-hover); }
.nav-burger {
  display: none; background: none; border: 1.5px solid var(--encre-500);
  border-radius: 2px; padding: 9px 11px; cursor: pointer;
}
.nav-burger-bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-burger-bars::before, .nav-burger-bars::after, .nav-burger-bars span {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--lin-300); transition: transform .18s ease, opacity .18s ease;
}
.nav-burger-bars::before { top: 0; }
.nav-burger-bars span { top: 6px; }
.nav-burger-bars::after { top: 12px; }
.nav-burger[aria-expanded="true"] .nav-burger-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bars span { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--encre-900);
    border-bottom: 1px solid rgba(208,198,180,.12);
    padding: 8px 20px 20px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid rgba(208,198,180,.08); }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brique-300); padding-left: 14px; }
  .nav-links .nav-links-phone { border-bottom: none; font-family: var(--ff-mono); font-size: 15px; }
  .nav-burger { display: inline-flex; }
  .nav-phone { display: none; }
  /* Mobile : sous-menus a plat, le bouton devient un intitule de groupe */
  .nav-dd-btn { display: block; width: 100%; text-align: left; background: none; border: none; padding: 14px 8px 6px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); cursor: default; }
  .nav-dd-caret { display: none; }
  .nav-dd-menu { display: block; position: static; min-width: 0; padding: 0; margin: 0; background: none; border: none; box-shadow: none; list-style: none; }
  .nav-dd-menu a { padding-left: 18px; }
  .nav-dd-menu a[aria-current="page"] { padding-left: 24px; }
}
@media (min-width: 1024px) { .nav-links .nav-links-phone { display: none; } }
/* 1024-1219px : 7 entrees de menu, on retire le numero et on resserre pour tenir sans deborder */
@media (max-width: 1219px) and (min-width: 1024px) {
  .nav-phone { display: none; }
  .nav-links a { padding: 9px 9px; font-size: 13.5px; }
}
@media (max-width: 400px) { .nav-cta { padding: 10px 12px; font-size: 13px; } }

/* Sections */
.section { padding: 72px 0; } /* v8 : sections plus courtes, le bloc suivant affleure au fold */
.section-dark { background: var(--encre-900); color: var(--on-dark); }
.section-surface { background: var(--surface); }
.section-hex-dark { background-color: var(--encre-900); background-image: var(--hex-dark); animation: hexdrift 90s linear infinite alternate; }
.section-hex-light { background-color: var(--lin-300); background-image: var(--hex-light); animation: hexdrift 90s linear infinite alternate; }
@keyframes hexdrift { from { background-position: 0 0; } to { background-position: 156px 120px; } }
@media (prefers-reduced-motion: reduce) { .section-hex-dark, .section-hex-light { animation: none; } }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* Hero accueil : clair, centre */
.hero { padding: 48px 0 36px; text-align: center; }
.hero h1 { color: var(--encre-900); margin: 0 auto 20px; max-width: 22ch; }
.hero .overline { text-align: center; }
.hero-sub { font-size: clamp(16px, 1.8vw, 17.5px); color: var(--muted); max-width: 620px; margin: 0 auto 22px; text-wrap: pretty; }
.hero-sub strong { color: var(--encre-900); font-weight: 600; }
.hero-objection {
  margin: 0 auto 30px; padding: 13px 18px; max-width: 560px;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brique-adj);
  border-radius: 2px; text-align: left;
}
.hero-objection p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; justify-content: center; }
.hero-note { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); letter-spacing: .05em; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.hero-note a { color: inherit; }
.mt-8 { margin-top: 8px; }
@media (max-width: 640px) {
  .hero { padding: 48px 0 44px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
}

/* Cartes douleur -> mecanisme */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.leak-card {
  background: var(--surface); border-left: 3px solid var(--brique-adj);
  border-radius: 2px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .leak-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(22,26,31,.12); }
}
.leak-num { font-family: var(--ff-mono); font-size: 13px; color: var(--lin-900); }
.leak-title { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.leak-pain { font-size: 14px; color: var(--muted); flex: 1; }
.leak-cost {
  font-size: 13.5px; color: var(--brique-700); font-weight: 500;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.leak-fix { font-size: 14px; }
.leak-fix strong { font-weight: 600; }
.leak-fix .fix-label {
  display: block; font-family: var(--ff-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brique-adj); margin-bottom: 4px;
}

/* Bande preuve / stats */
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-inner.is-5 { grid-template-columns: repeat(5, 1fr); }
.stats-inner.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .stats-inner, .stats-inner.is-5, .stats-inner.is-3 { grid-template-columns: 1fr 1fr; } }
.stat-item { padding: 28px 24px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
@media (min-width: 901px) { .stats-inner.is-5 .stat-item { padding: 28px 18px; } }
@media (max-width: 900px) {
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .stats-inner.is-5 .stat-item:nth-child(-n+4) { border-bottom: 1px solid var(--border); }
  .stats-inner.is-5 .stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.stat-num { font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 6px; }
.stat-num em { color: var(--brique-adj); font-style: normal; }
.stat-label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.55; }

/* Cas client */
.case-block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0; border-radius: 2px; overflow: hidden;
  border: 1px solid var(--border);
}
@media (max-width: 800px) { .case-block { grid-template-columns: 1fr; } }
.case-id {
  background: var(--encre-900); color: var(--on-dark);
  background-image: var(--hex-dark);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
}
.case-id-tag { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-label); }
.case-id-name { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--lin-50); }
.case-id-meta { font-family: var(--ff-mono); font-size: 12px; color: var(--on-dark-muted); line-height: 1.9; }
.case-quote { background: var(--surface); padding: 34px 32px; display: flex; flex-direction: column; gap: 18px; }
.case-quote blockquote, .case-quote .case-lead {
  font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; font-weight: 500; letter-spacing: -.005em;
  border-left: 3px solid var(--brique-adj); padding-left: 20px;
}
.case-quote figcaption { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); }
.case-result {
  display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.case-result.is-row { flex-wrap: nowrap; }
@media (max-width: 640px) { .case-result.is-row { flex-wrap: wrap; } }
.case-result-item b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--brique-adj); }
.case-result-item span { font-family: var(--ff-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.nps-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); max-width: 560px; }
.market-callout { margin: 44px auto 0; max-width: 680px; text-align: center; font-family: var(--ff-mono); font-size: 13.5px; line-height: 1.8; color: var(--encre-700); border-top: 1px solid var(--border); padding-top: 22px; }

/* Timeline methode */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps, .steps-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps-3 { grid-template-columns: 1fr; } }
.step { background: var(--surface); padding: 26px 22px; }
.step-k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brique-adj); display: block; margin-bottom: 10px; }
.step-t { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; min-height: 2.6em; }
@media (max-width: 900px) { .step-t { min-height: 0; } }
.step-d { font-size: 13.5px; color: var(--muted); }

/* Offres */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-card {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brique-adj);
  border-radius: 2px; padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .offer-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(22,26,31,.14); }
}
.offer-price { min-height: 58px; }
@media (max-width: 900px) { .offer-price { min-height: 0; } }
.offer-eyebrow { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-title { font-size: 22px; font-weight: 700; letter-spacing: -.012em; line-height: 1.2; }
.offer-desc { font-size: 14px; color: var(--muted); flex: 1; }
.offer-price { font-size: 21px; font-weight: 700; color: var(--brique-adj); line-height: 1.3; }
.offer-price span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); font-family: var(--ff-mono); margin-top: 2px; }
.offer-badge {
  display: flex; align-items: center; align-self: stretch; min-height: 40px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; background: var(--brique-50); color: var(--brique-700); border-radius: 2px;
}
.offer-note {
  margin-top: 18px; padding: 16px 20px; background: var(--surface); border-left: 3px solid var(--lin-700);
  border-radius: 2px; font-size: 14px; color: var(--muted);
}
.offer-note strong { color: var(--encre-700); }

/* Tableau inclus / hors perimetre */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-card { background: var(--surface); border: 1px solid var(--border); border-radius: 2px; padding: 24px 24px; }
.scope-h { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.scope-h.in { color: #2D5A3D; }
.scope-h.out { color: var(--muted); }
.scope-card ul { list-style: none; }
.scope-card li { font-size: 14px; padding: 6px 0 6px 24px; position: relative; line-height: 1.5; }
.scope-card li::before { position: absolute; left: 2px; top: 6px; font-family: var(--ff-mono); font-size: 13px; }
.scope-card.in li::before { content: '✓'; color: #2D5A3D; }
.scope-card.out li::before { content: '✕'; color: var(--encre-300); }
.scope-card.out li { color: var(--muted); }

/* Equipe */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: 2px; padding: 30px 28px; }
.team-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.team-mono {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 2px;
  background: var(--encre-900); color: var(--lin-300); background-image: var(--hex-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 16px; font-weight: 500;
}
.team-name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.team-role { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brique-adj); margin-top: 3px; }
.team-bio { font-size: 14px; color: var(--muted); }
.team-facts { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--ff-mono); font-size: 12px; color: var(--encre-500); line-height: 1.9; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: 2px; background: var(--surface); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.4;
  list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--ff-mono); font-size: 18px; color: var(--brique-adj);
  flex-shrink: 0; transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 66ch; }

/* CTA final : sombre adouci */
.cta-final { text-align: center; background-color: var(--encre-700) !important; }
.cta-final .h2 { color: var(--lin-50); max-width: 24ch; margin: 0 auto 14px; }
.cta-final-sub { font-size: 16px; color: var(--on-dark-muted); margin-bottom: 32px; }
.scan-box {
  display: inline-block; text-align: left; margin: 0 auto 30px;
  padding: 22px 26px; max-width: 480px;
  border: 1px solid rgba(212,120,96,.30); border-left: 3px solid var(--brique-300);
  background: rgba(172,64,40,.14); border-radius: 2px;
  font-size: 14px; color: var(--on-dark-muted); line-height: 1.7;
}
.scan-box strong { color: var(--lin-50); font-weight: 600; display: block; margin-bottom: 8px; }
.scan-box ul { list-style: none; }
.scan-box li { padding: 3px 0 3px 18px; position: relative; }
.scan-box li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--brique-300); }
.cta-note { margin-top: 16px; font-family: var(--ff-mono); font-size: 12px; color: var(--on-dark-label); letter-spacing: .05em; }
.cta-note a { color: inherit; }
.cta-note.on-light { color: var(--encre-500); }
.cta-note.on-light a:hover { color: var(--encre-900); }

/* Calculateur */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px; padding: 30px;
}
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; padding: 22px 20px; } }
.calc-field { margin-bottom: 20px; }
.calc-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.calc-label-solo { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.calc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-chip {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .04em;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 2px;
  background: var(--surface); color: var(--encre-900); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.calc-chip.is-on { background: var(--encre-900); color: var(--lin-50); border-color: var(--encre-900); }
.calc-chip:not(.is-on):hover { border-color: var(--encre-500); }
.calc-field .calc-hint { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.calc-field input[type="number"], .calc-field select {
  width: 100%; padding: 12px 14px; font-family: var(--ff-mono); font-size: 15px;
  border: 1.5px solid var(--border); border-radius: 2px; background: var(--lin-50); color: var(--encre-900);
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--encre-500); }
.calc-out {
  background: var(--encre-900); background-image: var(--hex-dark); color: var(--on-dark);
  border-radius: 2px; padding: 28px 26px; display: flex; flex-direction: column; gap: 18px;
}
.calc-out-k { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-label); margin-bottom: 4px; }
.calc-out-v { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; color: var(--lin-50); line-height: 1.05; }
.calc-out-v em { color: var(--brique-300); font-style: normal; }
.calc-out-note { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.6; }
.calc-method { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 640px; }

/* Aimants */
.magnet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .magnet-grid { grid-template-columns: 1fr; } }
.magnet-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
}
.magnet-kind { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--brique-adj); }
.magnet-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.magnet-desc { font-size: 14px; color: var(--muted); flex: 1; }
.magnet-card .btn-secondary { margin-top: auto; align-self: flex-start; }

/* Reveal au scroll (progressive enhancement, contenu visible par defaut) */
@media (prefers-reduced-motion: no-preference) {
  .js .fu { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .js .fu.visible { opacity: 1; transform: none; }
  .js .fu-d1 { transition-delay: .07s; }
  .js .fu-d2 { transition-delay: .14s; }
  .js .fu-d3 { transition-delay: .21s; }
}

/* Footer */
.footer { background: var(--encre-900); color: var(--on-dark-muted); padding: 56px 0 28px; }
.footer a { text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 128px; height: 27px; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: var(--on-dark-muted); max-width: 30ch; margin-bottom: 16px; }
.footer-contact { font-family: var(--ff-mono); font-size: 13px; line-height: 2; }
.footer-contact a:hover { color: var(--lin-50); }
.footer-h { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-label); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-col a { font-size: 14px; color: var(--on-dark-muted); }
.footer-col a:hover { color: var(--lin-50); }
.footer-bottom {
  border-top: 1px solid rgba(208,198,180,.12); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 11px; color: var(--on-dark-label); letter-spacing: .04em;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--lin-50); }

/* Page header (sous-pages) : clair, centre, doux */
.page-head { padding: 64px 0 56px; text-align: center; }
.page-head h1 { color: var(--encre-900); max-width: 26ch; margin: 0 auto 16px; }
.page-head .lede { color: var(--muted); margin-left: auto; margin-right: auto; max-width: 700px; }
.page-head .overline { text-align: center; }
/* Hauteur de tete uniforme entre pages : le h1 reserve 2 lignes, la lede 3 (retour UX 2026-07-17) */
@media (min-width: 901px) {
  .page-head h1 { min-height: 2.28em; display: flex; flex-direction: column; justify-content: center; }
  .page-head .lede { min-height: 4.9em; }
}
@media (max-width: 640px) { .page-head { padding: 44px 0 40px; } }

/* Prix page (fiche tarif detaillee) */
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 800px) { .price-duo { grid-template-columns: 1fr; } }
.price-strip {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--btn-primary);
  border-radius: 2px; padding: 24px 28px;
}
.price-strip .price-main { font-size: clamp(25px, 3.2vw, 33px); font-weight: 700; letter-spacing: -.02em; color: var(--brique-adj); line-height: 1.1; }
.price-strip .price-cond { font-family: var(--ff-mono); font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* ============================================================
   V2 : semaine type, references, pack prompts, tutoriel n8n
   ============================================================ */

/* Votre semaine type : 5 jours compacts, direct */
.week-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 1023px) { .week-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .week-grid { grid-template-columns: 1fr; } }
.week-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brique-adj);
  border-radius: 2px; padding: 18px 16px 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .week-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(22,26,31,.10); }
}
.week-day { font-family: var(--ff-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brique-adj); }
.week-title { font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.008em; }
.week-sub { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.week-cost { font-size: 12.5px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--border); }
.week-cta {
  margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brique-adj);
  border-radius: 2px; padding: 18px 24px;
}
.week-cta p { font-size: 15.5px; color: var(--muted); }
.week-cta p strong { color: var(--encre-900); }

/* Journal de bord : une journee avec vos assistants */
.dayline { padding: 52px 0 56px; background-color: var(--encre-700) !important; }
.dayline-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.dayline-clock { font-family: var(--ff-mono); font-size: clamp(30px, 4vw, 44px); font-weight: 500; color: var(--brique-300); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.dayline-list { list-style: none; position: relative; padding-left: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; }
@media (max-width: 900px) { .dayline-list { grid-template-columns: 1fr; gap: 10px; } }
.dayline-list li {
  background: rgba(255,255,255,.04); border-left: 2px solid rgba(212,120,96,.35);
  border-radius: 2px; padding: 14px 16px; min-height: 96px;
  opacity: .35; transition: opacity .5s ease, border-color .5s ease, background .5s ease;
}
.dayline-list li.is-on { opacity: 1; border-left-color: var(--brique-300); background: rgba(255,255,255,.07); }
/* teinte brique eclaircie : contraste AA sur fond encre-700 */
.dl-time { display: block; font-family: var(--ff-mono); font-size: 12px; color: #E5A18E; margin-bottom: 6px; letter-spacing: .06em; }
.dl-txt { font-size: 13.5px; line-height: 1.55; color: var(--on-dark-muted); }
.dl-txt b { color: var(--lin-50); font-weight: 600; }
.dayline-list li.dl-final .dl-txt, .dayline-list li.dl-final .dl-txt b { color: var(--lin-50); }
.dayline-list li.dl-final.is-on { border-left-color: var(--brique-adj); background: rgba(172,64,40,.18); }
.dayline-note { margin-top: 18px; font-family: var(--ff-mono); font-size: 12px; color: var(--on-dark-label); letter-spacing: .05em; }
@media (prefers-reduced-motion: reduce) {
  .dayline-list li { opacity: 1; }
}

/* Bandeau references (accueil) */
.ref-band { border-top: 1px solid var(--border); padding-top: 28px; margin-top: 36px; }
.ref-band-label { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ref-band-row { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.ref-band-row b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--encre-700); white-space: nowrap; }
.ref-band-row b span { display: block; font-family: var(--ff-mono); font-size: 10px; font-weight: 400; letter-spacing: .05em; color: var(--muted); text-transform: none; white-space: normal; }
.ref-logos { display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; margin: 10px 0 4px; max-width: 860px; }
.ref-logos img { height: 44px; width: auto; mix-blend-mode: multiply; }
.ref-logos img.ref-logo-ratp { height: 76px; }
.ref-logos img[alt="BTP CFA Nouvelle-Aquitaine"] { height: 50px; }
.plain-link { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.plain-link:hover { color: var(--encre-900); }

/* Page references */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 800px) { .ref-grid { grid-template-columns: 1fr; } }

/* Carrousel assistants : 3 cartes visibles + bord des suivantes, defilement auto doux */
.asst-carousel { position: relative; }
.asst-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.asst-track:focus-visible { outline: 2px solid var(--brique-adj); outline-offset: 4px; }
.asst-card { flex: 0 0 calc((100% - 32px) / 3 - 26px); scroll-snap-align: start; }
@media (max-width: 900px) { .asst-card { flex-basis: calc(50% - 28px); } }
@media (max-width: 560px) { .asst-card { flex-basis: 82%; } }
.asst-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.asst-btn {
  width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 2px;
  background: var(--surface); color: var(--encre-900); font-size: 17px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.asst-btn:hover, .asst-btn:focus-visible { background: var(--encre-900); color: var(--lin-50); }
.ref-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .ref-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(22,26,31,.12); }
}
.ref-kind { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--brique-adj); }
.ref-name { font-size: 20px; font-weight: 700; letter-spacing: -.012em; line-height: 1.25; }
.ref-desc { font-size: 14px; color: var(--muted); flex: 1; }
.ref-facts { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }
.ref-facts b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--brique-adj); }
.ref-facts span { font-family: var(--ff-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Pack prompts : cartes avec bouton copier */
.prompt-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  padding: 26px 26px; margin-bottom: 18px;
}
.prompt-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.prompt-when { font-size: 14px; color: var(--muted); margin-bottom: 14px; max-width: 72ch; }
.prompt-pre {
  font-family: var(--ff-mono); font-size: 12.5px; line-height: 1.7;
  background: var(--encre-900); color: var(--lin-300);
  border-radius: 2px; padding: 18px 20px; white-space: pre-wrap; word-break: break-word;
  max-height: 340px; overflow-y: auto;
}
.prompt-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--encre-900); color: var(--lin-50);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em;
  padding: 10px 16px; border: none; border-radius: 2px; cursor: pointer;
  transition: background .15s ease;
}
.copy-btn:hover { background: var(--encre-700); }
.copy-btn.is-copied { background: #2D5A3D; }
.prompt-notice {
  margin-top: 14px; font-size: 13.5px; color: var(--muted);
  background: var(--lin-300); border-radius: 2px; padding: 14px 18px;
}
.prompt-notice b { font-family: var(--ff-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--brique-adj); display: block; margin-bottom: 6px; }
.prompt-notice ol { margin: 6px 0 0 18px; }
.prompt-notice li { padding: 2px 0; }

/* Tutoriel pas a pas (workflow n8n, mega-prompt) */
.tuto-steps { counter-reset: tuto; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.tuto-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  padding: 22px 24px 22px 66px; position: relative;
}
.tuto-step::before {
  counter-increment: tuto; content: counter(tuto, decimal-leading-zero);
  position: absolute; left: 22px; top: 24px;
  font-family: var(--ff-mono); font-size: 15px; font-weight: 500; color: var(--brique-adj);
}
.tuto-step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.008em; }
.tuto-step p, .tuto-step li { font-size: 14px; color: var(--muted); line-height: 1.65; }
.tuto-step ul { margin: 8px 0 0 18px; }
.tuto-step code {
  font-family: var(--ff-mono); font-size: 12.5px; background: var(--lin-300);
  padding: 2px 6px; border-radius: 2px; color: var(--encre-700);
}
.video-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--encre-900); background-image: var(--hex-dark); color: var(--on-dark-muted);
  border-radius: 2px; padding: 56px 24px; text-align: center;
}
.video-slot b { color: var(--lin-50); font-size: 16px; }
.video-slot span { font-family: var(--ff-mono); font-size: 12px; color: var(--on-dark-label); }

/* Formulaire "recevoir par email" (Brevo) */
.mail-gate {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brique-adj);
  border-radius: 2px; padding: 24px 26px; max-width: 640px;
}
.mail-gate p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.mail-gate .btn-primary { width: auto; }

/* Compteurs animes : chiffres stables pendant l'animation */
.stat-num em, .stat-num { font-variant-numeric: tabular-nums; }

/* Fondateurs : grands blocs alternes */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; padding: 36px 0; }
.founder + .founder { border-top: 1px solid var(--border); }
.founder.rev { grid-template-columns: 1fr 280px; }
.founder.rev .founder-photo { order: 2; }
@media (max-width: 800px) { .founder, .founder.rev { grid-template-columns: 1fr; gap: 20px; } .founder.rev .founder-photo { order: 0; } }
.founder-photo { text-align: center; }
.founder-photo img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; }
.founder-photo .founder-name { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.founder-photo .founder-role { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brique-adj); margin-top: 4px; }
.founder-hook { font-size: clamp(19px, 2.2vw, 24px); font-weight: 650; line-height: 1.35; letter-spacing: -.012em; margin-bottom: 14px; text-wrap: balance; }
.founder-hook em { color: var(--brique-adj); font-style: normal; }
.founder-bio { font-size: 15px; color: var(--muted); max-width: 62ch; }
.founder-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.founder-facts span {
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--brique-50); color: var(--brique-700); padding: 6px 12px; border-radius: 2px;
}


/* Avant / Apres : la meme journee, deux etats, bascule sobre */
.ba { background: var(--surface); padding: 52px 0; }
.ba-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.ba-title { font-weight: 700; font-size: clamp(24px, 3vw, 33px); line-height: 1.14; letter-spacing: -.018em; text-wrap: balance; margin-top: 4px; }
.ba-toggle { display: flex; gap: 8px; flex-shrink: 0; }
.ba-chip {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .05em;
  padding: 10px 16px; border: 1px solid var(--border); border-radius: 2px;
  background: var(--lin-50); color: var(--encre-900); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ba-chip.is-on { background: var(--encre-900); color: var(--lin-50); border-color: var(--encre-900); }
.ba-chip:not(.is-on):hover { border-color: var(--encre-500); }
.ba-list { list-style: none; max-width: 860px; }
.ba-item {
  display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: baseline;
  padding: 15px 0 15px 18px; border-left: 3px solid var(--lin-500);
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease, border-color .4s ease;
}
.ba-item.on { opacity: 1; transform: none; }
.no-js .ba-item, .ba-static .ba-item { opacity: 1; transform: none; }
.ba-time { font-family: var(--ff-mono); font-size: 15px; font-weight: 500; display: grid; }
.ba-time > span, .ba-txt > span { grid-area: 1 / 1; transition: opacity .5s ease; }
.ba-txt { display: grid; font-size: 15.5px; line-height: 1.55; }
.ba-txt b { font-weight: 650; }
/* etat AVANT (defaut) : douleur, tons assourdis, rail brique */
.ba .t-ap, .ba .v-ap { opacity: 0; pointer-events: none; }
.ba .t-av { color: var(--brique-adj); }
.ba .v-av { color: var(--muted); }
.ba-item.on { border-color: var(--brique-300); }
/* etat APRES : resolu, texte plein, rail encre */
.ba.is-apres .t-av, .ba.is-apres .v-av { opacity: 0; pointer-events: none; }
.ba.is-apres .t-ap, .ba.is-apres .v-ap { opacity: 1; pointer-events: auto; }
.ba.is-apres .t-ap { color: var(--encre-900); }
.ba.is-apres .v-ap { color: var(--text); }
.ba.is-apres .ba-item.on { border-color: var(--encre-500); }
.ba-final .ba-txt { font-size: 17px; }
@media (max-width: 640px) {
  .ba-item { grid-template-columns: 58px 1fr; gap: 12px; padding-left: 12px; }
  .ba-time { font-size: 13px; }
}

/* Lien secondaire sous les CTA */
.cta-more { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .05em; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cta-more:hover { color: var(--encre-900); }
.on-dark .cta-more:hover, .cta-note a:hover { color: var(--lin-50); }

/* utilitaires */
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-44 { margin-top: 44px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; } .mb-44 { margin-bottom: 44px; }
.center { text-align: center; }
.maxw-72 { max-width: 72ch; }

/* Alignement des debuts de texte dans les grilles de cartes (retour UX 2026-07-17) */
@media (min-width: 901px) {
  .leak-card .leak-title, .magnet-card h3, .ref-card .ref-name { min-height: 2.6em; }
  .magnet-card .btn-secondary { width: 100%; }
}

/* Formulaire aimant */
.aimant-form { margin-top: 8px; }
.aimant-form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.aimant-form-input {
  flex: 1 1 220px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color .15s;
}
.aimant-form-input:focus { border-color: var(--brique-adj); }
.aimant-form-input::placeholder { color: var(--muted); }
.aimant-form-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.aimant-form-success { margin-top: 12px; font-size: 14px; color: #2d6a4f; font-weight: 600; }
.aimant-form-error { margin-top: 12px; font-size: 14px; color: var(--brique-adj); }
