/* ==========================================================================
   KDB Services : direction « Bleu de travail »
   La tenue de l'artisan : bleu de chauffe, toile, écusson brodé, surpiqûre.
   Blanc pour lire, bleu pour agir, anis pour souligner. Réglages dans :root.
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Bleu de chauffe : la marque et l'action (appeler, écrire). */
  --bleu: #1c2e8c;
  --bleu-survol: #15236f;
  --bleu-fonce: #121f66;
  --bleu-pale: #e8ecfa;
  /* Anis : le surligneur. Jamais pour du texte sur fond blanc. */
  --anis: #d4f25c;
  --anis-survol: #c4e646;

  --blanc: #ffffff;
  --gris: #f2f4f8;
  --texte: #0f1838;
  --texte-2: #434b6e;
  --filet: rgba(28, 46, 140, 0.14);
  --filet-fort: rgba(28, 46, 140, 0.32);
  /* Contour des champs : contraste d'au moins 3 pour 1 sur fond blanc */
  --filet-champ: rgba(28, 46, 140, 0.55);

  --titre: "Bricolage Grotesque", "Arial Black", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --header-h: 74px;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
.sec--bleu :focus-visible, .footer :focus-visible { outline-color: var(--anis); }
::selection { background: var(--anis); color: var(--bleu-fonce); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 16px; background: var(--bleu); color: var(--blanc); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typographie ---------- */
.t1, .t2, .t3 { font-family: var(--titre); font-weight: 800; letter-spacing: -0.03em; }
.t1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 0.98; }
.t2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; }
.t3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--texte-2); max-width: 44ch; }
.muted { color: var(--texte-2); }
.small { font-size: 0.92rem; }

/* Le surligneur anis : un seul par écran, sur la phrase qui compte. */
.hl {
  color: var(--bleu-fonce);
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--anis), var(--anis)) 0 0 / 100% 100% no-repeat;
}
.hero .hl { white-space: nowrap; background-size: 0% 100%; animation: surligne 0.7s 0.55s var(--ease) forwards; }
@keyframes surligne { to { background-size: 100% 100%; } }

/* L'étiquette (comme celle cousue dans un vêtement) */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px; padding: 6px 12px;
  border-radius: var(--r-sm); background: var(--bleu-pale); color: var(--bleu);
  font-weight: 600; font-size: 0.92rem; line-height: 1.2;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bleu); }
/* Le titre principal de la page porte cette étiquette : lignes équilibrées, noms composés jamais coupés */
h1.tag { text-wrap: balance; }
.nb { white-space: nowrap; }
.sec--bleu .tag { background: rgba(255, 255, 255, 0.1); color: var(--anis); }
.sec--bleu .tag::before { background: var(--anis); }

/* Emplacements à compléter avant la mise en ligne (voir LISEZ-MOI.md) */
.todo {
  font-family: var(--sans); font-size: 0.85em; font-weight: 700;
  padding: 1px 8px; border: 1.5px dashed var(--bleu); border-radius: 4px;
  background: var(--anis); color: var(--bleu-fonce); white-space: nowrap;
}

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: var(--r-md);
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s var(--ease), box-shadow 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn--bleu { background: var(--bleu); color: var(--blanc); box-shadow: 0 3px 0 var(--bleu-fonce); }
.btn--bleu .icon { color: var(--anis); }
.btn--bleu:hover { background: var(--bleu-survol); }
.btn--ghost { border-color: var(--filet-fort); color: var(--bleu); background: var(--blanc); }
.btn--ghost:hover { border-color: var(--bleu); }
.btn--anis { background: var(--anis); color: var(--bleu-fonce); box-shadow: 0 3px 0 #9fbd2a; }
.btn--anis:hover { background: var(--anis-survol); }
.btn--lg { min-height: 60px; padding: 14px 28px; font-size: 1.08rem; }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.link {
  font-weight: 700; color: var(--bleu); text-decoration: underline;
  text-decoration-color: var(--anis); text-decoration-thickness: 3px; text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: var(--bleu); }
.sec--bleu .link { color: var(--blanc); }
.sec--bleu .link:hover { text-decoration-color: var(--blanc); }

/* ---------- En-tête ---------- */
body::before { content: ""; display: block; height: 4px; background: var(--anis); }
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--filet);
}
.header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(18, 31, 102, 0.35); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--bleu); }
.brand { gap: 16px; }
.brand img { width: auto; height: 46px; }
.brand-tag { padding-left: 16px; border-left: 1.5px solid var(--filet-fort); font-weight: 600; font-size: 0.8rem; line-height: 1.3; color: var(--texte-2); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.98rem; text-decoration: none; color: var(--texte); transition: background-color 0.18s, color 0.18s; }
.nav a:hover { background: var(--gris); }
.nav a[aria-current="page"] { color: var(--bleu); background: var(--bleu-pale); }
.header-call { display: flex; align-items: center; gap: 16px; }
.header-num { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; color: var(--bleu); white-space: nowrap; font-variant-numeric: tabular-nums; }
.header .btn { min-height: 46px; padding: 10px 18px; font-size: 0.95rem; }
.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--filet-fort); border-radius: var(--r-md); background: var(--blanc); color: var(--bleu); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(64px, 8.5vw, 112px); }
.sec--gris { background: var(--gris); }
.sec--bleu { background: var(--bleu); color: var(--blanc); }
.sec--bleu .muted, .sec--bleu .lead { color: rgba(255, 255, 255, 0.82); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.sec-head > * { margin: 0; }
.sec-head .tag { justify-self: start; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .t1 { margin-bottom: 28px; color: var(--bleu); }
.hero .lead { margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dispo { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-weight: 600; color: var(--texte-2); }
.dispo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--anis); box-shadow: 0 0 0 3px var(--bleu); flex: none; }
.hero [data-in] { opacity: 0; transform: translateY(12px); animation: rise 0.7s var(--ease) forwards; }
.hero [data-in="2"] { animation-delay: 0.06s; }
.hero [data-in="3"] { animation-delay: 0.12s; }
.hero [data-in="4"] { animation-delay: 0.18s; }
.hero [data-in="5"] { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* La toile de la veste et l'écusson (geste signature) */
.veste {
  position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center;
  border-radius: var(--r-lg); background-color: var(--bleu);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 7px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.veste::before { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255, 255, 255, 0.28); border-radius: 10px; pointer-events: none; }
.veste::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22%; height: 14px; background: repeating-linear-gradient(90deg, rgba(220, 226, 236, 0.55) 0 10px, rgba(255, 255, 255, 0.35) 10px 20px); opacity: 0.6; }
.patch { position: relative; z-index: 1; width: 74%; transform: rotate(-6deg); filter: drop-shadow(0 12px 16px rgba(9, 15, 50, 0.45)); }
.patch .couture { stroke-dasharray: 1; stroke-dashoffset: 1; animation: coud 1.6s 0.4s var(--ease) forwards; }
@keyframes coud { to { stroke-dashoffset: 0; } }

/* ---------- Bande des engagements ---------- */
.bande { background: var(--bleu-fonce); color: var(--blanc); }
.bande ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bande li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 32px 28px 32px 0; }
.bande li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.bande .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--anis); color: var(--bleu-fonce); stroke-width: 2.2; }
.bande strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.bande span { color: rgba(255, 255, 255, 0.8); font-size: 0.98rem; line-height: 1.45; }

/* ---------- Deux métiers ---------- */
.metiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.metier { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--gris); border-top: 6px solid var(--bleu); }
.metier-head { display: flex; align-items: center; gap: 16px; }
.metier-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--bleu); color: var(--anis); flex: none; }
.metier-icon .icon { width: 28px; height: 28px; stroke-width: 2; }
.metier .t3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--bleu); }
.metier-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.metier-cols h4 { font-weight: 700; font-size: 0.95rem; color: var(--bleu); margin-bottom: 10px; }
.check { list-style: none; display: grid; gap: 8px; }
.check li { position: relative; padding-left: 26px; line-height: 1.4; }
.check li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px; border-radius: 4px; background: var(--bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%23d4f25c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.metier .link { align-self: flex-start; margin-top: auto; }

/* ---------- Le bon d'intervention ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.bon { border-radius: var(--r-lg); background: var(--blanc); box-shadow: 0 1px 0 var(--filet), 0 24px 48px -28px rgba(18, 31, 102, 0.45); overflow: hidden; transform: rotate(1.2deg); }
.bon-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: var(--bleu); color: var(--blanc); }
.bon-head strong { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.bon-head img { width: 78px; height: 30px; }
.bon dl { margin: 0; padding: 8px 24px; }
.bon dl > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--filet-fort); }
.bon dt { font-weight: 700; color: var(--bleu); }
.bon dd { margin: 0; color: var(--texte-2); }
.bon-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 24px 24px; }
.bon-sign span { flex: 1; border-bottom: 1.5px solid var(--texte); padding-bottom: 6px; font-size: 0.88rem; color: var(--texte-2); }
.bon-sign em { font-style: normal; font-weight: 700; padding: 4px 10px; border-radius: var(--r-sm); background: var(--anis); color: var(--bleu-fonce); font-size: 0.9rem; }

/* ---------- Les bons réflexes ---------- */
.gestes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.geste { padding: 28px; border-radius: var(--r-lg); background: var(--blanc); border: 1px solid var(--filet); }
.sec--gris .geste { border-color: transparent; }
.geste-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.geste-head .icon { width: 40px; height: 40px; padding: 9px; border-radius: var(--r-md); background: var(--bleu-pale); color: var(--bleu); }
.geste .t3 { color: var(--bleu); }
.geste ol { list-style: none; counter-reset: g; display: grid; gap: 12px; }
.geste li { counter-increment: g; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; line-height: 1.45; font-size: 0.98rem; }
.geste li::before { content: counter(g); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu); color: var(--anis); font-weight: 700; font-size: 0.78rem; margin-top: 1px; }
.gestes-note { margin: 28px 0 0; font-weight: 600; }

/* ---------- Listes en lignes ---------- */
.rows { list-style: none; border-top: 2px solid var(--bleu); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.rows strong { font-weight: 700; }
.rows span { color: var(--texte-2); font-size: 0.95rem; text-align: right; }

/* ---------- Professionnels ---------- */
.pros { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pros .t2 { color: var(--blanc); }
.pros-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pros-points li { padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.pros-points strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.2rem; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--anis); }
.pros-points span { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; line-height: 1.5; }

/* ---------- Zones ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 10px; }
.zone { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-md); background: var(--blanc); border: 1.5px solid var(--filet); text-decoration: none; font-weight: 600; transition: border-color 0.18s, transform 0.18s var(--ease); }
.zone:hover { border-color: var(--bleu); transform: translateY(-2px); }
.zone b { display: grid; place-items: center; min-width: 44px; height: 36px; padding: 0 6px; border-radius: var(--r-sm); background: var(--bleu); color: var(--anis); font-family: var(--titre); font-weight: 800; font-size: 1.1rem; }
.zone--hors b { background: var(--anis); color: var(--bleu-fonce); }
.zones-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: 0.92rem; color: var(--texte-2); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--filet); }
.sec--gris .faq details { border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: var(--r-sm); background: var(--bleu-pale); color: var(--bleu); font-weight: 700; font-size: 1.2rem; line-height: 1; transition: transform 0.25s var(--ease), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--anis); }
.faq .faq-a { padding: 0 20px 20px; color: var(--texte-2); max-width: 64ch; }
.faq .faq-a p:last-child { margin: 0; }
.faq a { color: var(--bleu); font-weight: 600; }

/* ---------- Appel final ---------- */
.final { background: var(--anis); color: var(--bleu-fonce); padding-block: clamp(48px, 6vw, 80px); }
.final .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.final .t2 { color: var(--bleu-fonce); }
.final-num { display: inline-block; margin-top: 12px; font-family: var(--titre); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; text-decoration: none; color: var(--bleu); font-variant-numeric: tabular-nums; }
.final .link { color: var(--bleu-fonce); text-decoration-color: var(--bleu); }
.final-actions { display: grid; gap: 14px; justify-items: start; }

/* ---------- Pied de page ---------- */
.footer { background: var(--bleu-fonce); color: rgba(255, 255, 255, 0.78); padding: 64px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer .footer-titre { font-family: var(--titre); font-weight: 800; font-size: 1.05rem; color: var(--anis); margin-bottom: 14px; letter-spacing: -0.01em; }
.footer ul { list-style: none; display: grid; gap: 0; }
/* Zone à toucher de 31 px de haut pour chaque lien, sans changer l'espacement */
.footer li { padding: 6px 0; line-height: 1.2; }
.footer li > a { display: inline-block; padding: 6px 0; margin: -6px 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blanc); text-decoration: underline; text-decoration-color: var(--anis); }
.footer .brand { margin-bottom: 20px; }
.footer .brand img { height: 55px; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }

/* ---------- Barre d'appel mobile ---------- */
.callbar { display: none; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); background: var(--gris); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero .t1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 24px; color: var(--bleu); max-width: 17ch; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero-aside { padding: 28px; border-radius: var(--r-lg); background: var(--bleu); color: var(--blanc); }
.page-hero-aside p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.85); }
.page-hero-aside > :last-child { margin-bottom: 0; }
.page-hero-aside .dispo { margin: 0 0 16px; color: var(--blanc); }
.page-hero-aside .dispo .dot { box-shadow: 0 0 0 3px var(--bleu-fonce); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 0.9rem; font-weight: 600; color: var(--texte-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; color: var(--bleu); }
.crumbs a:hover { text-decoration: underline; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--titre); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--bleu); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin: 32px 0 8px; line-height: 1.3; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--bleu); font-weight: 600; }

/* Prestations détaillées : titre + explication */
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.item { padding: 24px 24px 24px 28px; border-radius: var(--r-lg); background: var(--blanc); border: 1px solid var(--filet); border-left: 5px solid var(--bleu); }
.sec--gris .item { border-color: transparent; border-left-color: var(--bleu); }
.item h3 { font-family: var(--titre); font-weight: 800; font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.015em; color: var(--bleu); margin-bottom: 8px; }
.item p { margin: 0; color: var(--texte-2); line-height: 1.55; }

/* Zones (page dédiée) */
.depts { display: grid; gap: 12px; }
.dept { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px 24px 20px 20px; border-radius: var(--r-lg); background: var(--blanc); border: 1px solid var(--filet); }
.sec--gris .dept { border-color: transparent; }
.dept-n { display: grid; place-items: center; height: 72px; border-radius: var(--r-md); background: var(--bleu); color: var(--anis); font-family: var(--titre); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; }
.dept--hors .dept-n { background: var(--anis); color: var(--bleu-fonce); }
.dept h3 { font-family: var(--titre); font-weight: 800; font-size: 1.35rem; line-height: 1.15; color: var(--bleu); margin-bottom: 4px; }
.dept p { margin: 0; color: var(--texte-2); }

/* Tableau (tarifs) */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--blanc); border: 1px solid var(--filet); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--filet); vertical-align: top; }
.table thead th { background: var(--bleu); color: var(--blanc); font-weight: 700; font-size: 0.95rem; }
.table tbody th { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; color: var(--bleu); background: var(--gris); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.table thead th:last-child { text-align: right; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: 0.98rem; }
.field .hint { font-size: 0.88rem; color: var(--texte-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: var(--r-md);
  border: 2px solid var(--filet-champ); background: var(--blanc); font-size: 1rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px var(--bleu-pale); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field .err { font-size: 0.88rem; font-weight: 600; color: #b42318; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: grid; gap: 4px; height: 100%; padding: 16px; border-radius: var(--r-md);
  border: 2px solid var(--filet-champ); background: var(--blanc); font-weight: 700; line-height: 1.25;
  transition: border-color 0.18s, background-color 0.18s, color 0.18s;
}
.choice small { font-weight: 400; font-size: 0.88rem; color: var(--texte-2); }
.choice input:checked + span { border-color: var(--bleu); background: var(--bleu); color: var(--blanc); }
.choice input:checked + span small { color: rgba(255, 255, 255, 0.82); }
.choice input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
.notice { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-md); background: var(--anis); color: var(--bleu-fonce); font-weight: 700; }
.notice[hidden] { display: none; }
.notice .btn { margin-left: auto; flex: none; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 0.92rem; font-weight: 400; color: var(--texte-2); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bleu); }
.consent a { color: var(--bleu); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 16px 20px; border-radius: var(--r-md); font-weight: 700; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--bleu-pale); color: var(--bleu); }
.form-status.ko { background: #fde4e1; color: #8a1c12; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; padding: 32px; border-radius: var(--r-lg); background: var(--bleu); color: var(--blanc); }
.aside p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.aside .t3 { color: var(--blanc); }
.aside .dispo { margin: 0; color: var(--blanc); }
.aside .dispo .dot { box-shadow: 0 0 0 3px var(--bleu-fonce); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.06s; }
.reveal[data-d="2"] { transition-delay: 0.12s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-num { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand img { height: 40px; }
  .brand-tag { display: none; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--blanc); border-bottom: 1px solid var(--filet); box-shadow: 0 16px 24px -16px rgba(18, 31, 102, 0.3); }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--filet); border-radius: 0; }
  .burger { display: inline-flex; }
  .header .btn .btn-label { display: none; }
  .header .btn { width: 46px; padding: 0; }
  .hero .wrap, .page-hero .wrap, .split, .pros, .faq-wrap, .final .wrap { grid-template-columns: minmax(0, 1fr); }
  .veste { max-width: 460px; width: 100%; margin-inline: auto; }
  .bande ul, .metiers, .gestes, .items { grid-template-columns: minmax(0, 1fr); }
  .bande li, .bande li + li { padding: 20px 0; border-left: 0; }
  .bande li + li { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .bon { transform: none; }
  .aside { position: static; }

  .callbar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--filet);
    box-shadow: 0 -8px 20px -14px rgba(18, 31, 102, 0.4);
  }
  .callbar .btn { min-height: 52px; }
  .callbar .btn--bleu { flex: 1.6; }
  .callbar .btn--ghost { flex: 1; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero { padding-top: 24px; }
  .cta-row .btn { width: 100%; }
  .metier-cols, .pros-points, .form-row, .choice { grid-template-columns: minmax(0, 1fr); }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rows span { text-align: left; }
  .bon dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .dept { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .dept-n { height: 56px; font-size: 1.5rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .table th, .table td { padding: 12px 16px; }
  .notice { flex-direction: column; align-items: flex-start; }
  .notice .btn { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero .hl { background-size: 100% 100%; }
  .patch .couture { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- En bref ---------- */
.bref { margin: 0; border-top: 2px solid var(--bleu); }
.bref > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.bref dt { font-family: var(--titre); font-weight: 800; letter-spacing: -0.01em; color: var(--bleu); }
.bref dd { margin: 0; color: var(--texte-2); line-height: 1.5; }
@media (max-width: 600px) { .bref > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- Mini-parcours WhatsApp ----------
   Quelques choix, puis WhatsApp s'ouvre avec le message déjà écrit (assets/js/main.js). */
.icon--wa { fill: currentColor; stroke: none; }
.wa {
  width: min(480px, calc(100vw - 32px)); max-height: min(86vh, 720px);
  padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--blanc); color: var(--texte);
  box-shadow: 0 30px 80px -20px rgba(9, 15, 50, 0.55); overflow: hidden;
}
.wa[open] { display: flex; flex-direction: column; }
.wa::backdrop { background: rgba(18, 31, 102, 0.6); }
.wa-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; background: var(--bleu); color: var(--blanc); }
.wa-titre { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.01em; }
.wa-close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.14); color: var(--blanc); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.wa-close:hover { background: rgba(255, 255, 255, 0.24); }
.wa :focus-visible { outline-color: var(--bleu); }
.wa-head :focus-visible { outline-color: var(--anis); }
.wa-intro { margin: 0; padding: 12px 24px; background: var(--gris); color: var(--texte-2); font-size: 0.92rem; line-height: 1.4; }
.wa-fil { flex: 1; min-height: 96px; overflow-y: auto; padding: 20px 24px 8px; display: flex; flex-direction: column; gap: 8px; }
.wa-msg { max-width: 88%; margin: 0; padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: var(--gris); font-size: 0.98rem; line-height: 1.45; align-self: flex-start; }
.wa-msg--moi { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: var(--bleu); color: var(--blanc); font-weight: 600; }
.wa-msg--conseil { background: var(--anis); color: var(--bleu-fonce); font-weight: 600; }
.wa-msg--apercu { align-self: stretch; max-width: none; border: 2px dashed var(--bleu); border-radius: var(--r-md); background: var(--bleu-pale); color: var(--bleu-fonce); font-weight: 600; }
.wa-msg .btn { margin-top: 10px; min-height: 46px; }
.wa-choix { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 24px 24px; }
.wa-chip { min-height: 46px; padding: 10px 16px; border: 2px solid var(--filet-fort); border-radius: var(--r-md); background: var(--blanc); color: var(--bleu); font-family: var(--sans); font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-align: left; cursor: pointer; transition: border-color 0.18s, background-color 0.18s; }
.wa-chip:hover { border-color: var(--bleu); background: var(--bleu-pale); }
.wa-cp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; width: 100%; }
.wa-cp input { min-height: 48px; padding: 10px 14px; border: 2px solid var(--filet-champ); border-radius: var(--r-md); background: var(--blanc); font-size: 1.05rem; }
.wa-cp input:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px var(--bleu-pale); }
.wa-err { width: 100%; margin: 0; color: #b42318; font-size: 0.88rem; font-weight: 600; }
.wa-err:empty { display: none; }
.wa-lien { min-height: 44px; padding: 8px 4px; border: 0; background: none; color: var(--texte-2); font-family: var(--sans); font-size: 0.95rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wa-lien:hover { color: var(--bleu); }
.wa-choix > .btn { width: 100%; }
@media (max-width: 600px) {
  .wa { width: 100vw; max-width: none; max-height: 90vh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .wa-fil { padding-inline: 16px; }
  .wa-choix { padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); }
  .wa-intro { padding-inline: 16px; }
  .wa-head { padding-left: 16px; }
}
