/* DSB IT Consulting — feuille de style commune, version 2 (06/11/2026)
   Méthode : unslop de Damir Sokolovsky (@heydamir, CC BY 4.0), inspirations Metomic et Saatify.
   Fond clair, bandes sombres bleu pétrole, boutons orange vif. Sombre automatique selon l'appareil.
   Grille de 4 px, graisses 400 à 600, une seule courbe d'animation. */

:root {
  color-scheme: light;
  --bg: #f4f6f6;
  --surface: #ffffff;
  --raised: #eaeff0;
  --fg: #0f1a1e;
  --fg-2: #45545a;
  --muted: #5b6a70;
  --line: rgba(15, 26, 30, .09);
  --line-strong: rgba(15, 26, 30, .16);
  --brand-text: #1f5c6e;
  --brand-soft: rgba(31, 92, 110, .07);
  --cta: #ff7a3d;
  --cta-hover: #ff6826;
  --cta-ink: #0f1a1e;
  --band: #0c1c21;
  --band-2: #10262d;
  --band-surface: #13272d;
  --band-raised: #1b333a;
  --band-line: rgba(234, 241, 242, .09);
  --band-line-strong: rgba(234, 241, 242, .16);
  --band-fg: #eaf1f2;
  --band-fg-2: #a8b8bd;
  --band-muted: #8a9ca2;
  --band-accent: #7cc4d6;
  --head: rgba(244, 246, 246, .88);
  --shadow-sm: 0 1px 2px rgba(15, 26, 30, .05);
  --shadow-float: 0 24px 48px -24px rgba(12, 28, 33, .35);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1113; --surface: #111a1d; --raised: #182326; --fg: #ecf1f2; --fg-2: #a6b3b7; --muted: #8a979b;
  --line: rgba(236, 241, 242, .08); --line-strong: rgba(236, 241, 242, .14);
  --brand-text: #7cc4d6; --brand-soft: rgba(124, 196, 214, .07);
  --band: #0e2228; --band-2: #122c33; --band-surface: #153038; --band-raised: #1d3a42;
  --head: rgba(10, 17, 19, .88); --shadow-sm: none; --shadow-float: 0 24px 48px -24px rgba(0, 0, 0, .6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a1113;
    --surface: #111a1d;
    --raised: #182326;
    --fg: #ecf1f2;
    --fg-2: #a6b3b7;
    --muted: #8a979b;
    --line: rgba(236, 241, 242, .08);
    --line-strong: rgba(236, 241, 242, .14);
    --brand-text: #7cc4d6;
    --brand-soft: rgba(124, 196, 214, .07);
    --band: #0e2228;
    --band-2: #122c33;
    --band-surface: #153038;
    --band-raised: #1d3a42;
    --head: rgba(10, 17, 19, .88);
    --shadow-sm: none;
    --shadow-float: 0 24px 48px -24px rgba(0, 0, 0, .6);
  }
}

/* Polices hébergées sur le site (aucun appel à Google Fonts) : fichiers variables, jeu de caractères latin */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/instrument-sans.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono.woff2") format("woff2"); }

* { box-sizing: border-box; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 80; padding: 12px 16px; border-radius: 8px; background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); font-weight: 600; text-decoration: none; transition: top .15s var(--ease); }
.skip:focus { top: 12px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--brand-text); }
section { scroll-margin-top: 64px; }
.link { color: var(--brand-text); text-underline-offset: 3px; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.top.scrolled { background: var(--head); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top .wrap { height: 72px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-tile { width: 36px; height: 36px; border-radius: 10px; background: #ffffff; box-shadow: inset 0 0 0 1px rgba(15, 26, 30, .1); display: grid; place-items: center; flex: none; overflow: hidden; transition: transform .2s var(--ease); }
.brand-tile img { width: 27px; height: auto; }
.brand:hover .brand-tile { transform: rotate(-6deg); }
.brand > span:last-child { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--fg-2); text-decoration: none; transition: color .15s var(--ease); }
.nav a:hover { color: var(--fg); }
.top-cta { margin-left: auto; }
/* Menu sur téléphone et tablette : bouton à trois traits qui ouvre la navigation sous l'en-tête */
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--fg); cursor: pointer; place-items: center; flex: none; }
.menu-btn span { display: block; width: 18px; height: 12px; position: relative; }
.menu-btn span::before, .menu-btn span::after, .menu-btn span i { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .2s var(--ease), opacity .15s var(--ease); }
.menu-btn span::before { top: 0; }
.menu-btn span i { top: 5.25px; }
.menu-btn span::after { bottom: 0; }
.top.open .menu-btn span::before { transform: translateY(5.25px) rotate(45deg); }
.top.open .menu-btn span i { opacity: 0; }
.top.open .menu-btn span::after { transform: translateY(-5.25px) rotate(-45deg); }
@media (max-width: 900px) {
  .top .wrap { gap: 12px; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; padding: 8px max(24px, env(safe-area-inset-right, 0px)) 16px max(24px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line-strong); box-shadow: var(--shadow-float); font-size: 18px; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav a { display: flex; align-items: center; min-height: 52px; color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .top.open { background: var(--bg); border-bottom-color: var(--line); }
  .top.open .nav { display: flex; }
}
@media (max-width: 720px) { .menu-btn { margin-left: auto; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 10px; font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-main { background: var(--cta); color: var(--cta-ink); border: 0; }
.btn-main:hover { background: var(--cta-hover); }
.btn-ghost { background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn .arrow { transition: transform .15s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Ouverture centrée ---------- */
.hero { position: relative; padding-top: 72px; text-align: center; }
.hero > .wrap { position: relative; z-index: 1; }

/* Fond « réseau » : le pont entre le besoin et le talent (canvas dessiné par site.js) */
.hero-net { position: absolute; left: 0; right: 0; top: -72px; height: 860px; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.hero-net canvas { display: block; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 42% 38% at 50% 46%, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .45) 55%, #000 100%);
          mask-image: radial-gradient(ellipse 42% 38% at 50% 46%, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .45) 55%, #000 100%); }
/* Téléphone : le pont Besoin → Talent passe entre les boutons et le panneau (placé par site.js), pas sur le texte */
@media (max-width: 720px) {
  .hero-net { height: 1100px; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
  .hero-net canvas { -webkit-mask-image: none; mask-image: none; opacity: .8; }
  .hero .panel { margin-top: 72px; }
}

/* Promesse sous le slogan, avec l'horloge des 48 heures */
.promise { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px auto 0; font-size: 26px; line-height: 34px; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
.promise strong { font-weight: 600; color: var(--brand-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock { flex: none; width: 56px; height: 56px; }
.clock svg { display: block; width: 100%; height: 100%; overflow: visible; }
.clock .c-face { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.clock .c-track { fill: none; stroke: var(--line); stroke-width: 3; }
.clock .c-ring { fill: none; stroke: var(--cta); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 32px 32px; }
.clock .c-tick { stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.clock .c-tick.minor { stroke: var(--line-strong); stroke-width: 1; }
.clock .c-hand { stroke: var(--fg); stroke-width: 2; stroke-linecap: round; transform-origin: 32px 32px; }
.clock .c-pin { fill: var(--cta); }
@media (max-width: 720px) {
  .promise { gap: 12px; font-size: 20px; line-height: 28px; text-align: left; max-width: 26rem; }
  .clock { width: 44px; height: 44px; }
}
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--fg-2); box-shadow: var(--shadow-sm); }
.pill .dot { flex: none; width: 6px; height: 6px; border-radius: 3px; background: var(--cta); }
@media (max-width: 480px) { .pill { height: auto; min-height: 32px; padding: 6px 12px; line-height: 20px; } }
.crumb { font-size: 14px; line-height: 20px; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); text-underline-offset: 3px; }
.hero h1 { margin: 28px auto 0; max-width: 1100px; font-size: 68px; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .accent { color: var(--brand-text); }
.hero .lead { margin: 24px auto 0; max-width: 40rem; font-size: 20px; line-height: 30px; color: var(--fg-2); }
.hero .lead-intro { max-width: 44rem; font-size: 17px; line-height: 27px; text-wrap: pretty; }
.lead-short { display: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 1080px) { .hero h1 { font-size: 56px; } }
@media (max-width: 720px) {
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 40px; line-height: 1.06; letter-spacing: -0.025em; max-width: none; }
  .hero .lead { font-size: 18px; line-height: 28px; }
  .hero .lead-intro { font-size: 16px; line-height: 25px; }
  .lead-long { display: none; }
  .lead-short { display: inline; }
}

/* Grand panneau sombre sous le titre */
.panel { position: relative; margin-top: 64px; border-radius: 20px; background: linear-gradient(165deg, var(--band-2), var(--band)); color: var(--band-fg); padding: 28px; text-align: left; box-shadow: var(--shadow-float); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4px 20px; font-family: var(--mono); font-size: 13px; line-height: 16px; color: var(--band-accent); }
.panel-head span:last-child { color: var(--band-muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: 14px; background: var(--band-surface); border: 1px solid var(--band-line); text-decoration: none; color: inherit; transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
a.card:hover { transform: translateY(-4px); border-color: var(--band-line-strong); background: var(--band-raised); }
.card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--band-raised); border: 1px solid var(--band-line); display: grid; place-items: center; color: var(--band-accent); }
.card h3 { margin-top: 8px; font-size: 19px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.card p { font-size: 15px; line-height: 22px; color: var(--band-fg-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--band-fg-2); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--band-line-strong); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--band-accent); }
.card .more svg { width: 16px; height: 16px; transition: transform .15s var(--ease); }
a.card:hover .more svg { transform: translateX(3px); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } .panel { padding: 16px; border-radius: 16px; } .panel-head { padding: 4px 4px 16px; } .panel-head span:last-child { display: none; } }

/* Bandeau de technologies qui défile */
.ticker { padding: 56px 0 8px; text-align: center; }
.ticker p { font-size: 14px; color: var(--muted); }
.track { margin-top: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track ul { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.track li { display: flex; align-items: center; gap: 24px; padding-right: 24px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--fg-2); white-space: nowrap; }
.track li::after { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--line-strong); }

/* Chiffres vrais */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.stat { padding: 28px 24px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong { font-size: 56px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat strong small { font-size: 28px; letter-spacing: -0.01em; color: var(--fg-2); margin-left: 4px; }
.stat > span { font-size: 15px; line-height: 22px; color: var(--fg-2); max-width: 16rem; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 460px) { .stat strong { font-size: 44px; } .stat + .stat { padding-left: 16px; } .stat { padding-right: 8px; } }

/* ---------- Sections ---------- */
/* Fonds animés des sections (canvas dessinés par site.js) : signal et réseau en alternance, ligne directe au contact */
.sec, .band, .contact { position: relative; }
.sec > .wrap, .band > .wrap, .contact > .wrap { position: relative; z-index: 1; }
.sec-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent); }
.sec-bg canvas { display: block; width: 100%; height: 100%; }
.sec-bg[data-bg="signal"] canvas { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.sec-bg[data-bg="reseau"] canvas { -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 90%); mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 40%, transparent 90%); }
.sec-bg[data-bg="direct"] canvas { -webkit-mask-image: radial-gradient(ellipse 95% 90% at 45% 55%, #000 50%, transparent 95%); mask-image: radial-gradient(ellipse 95% 90% at 45% 55%, #000 50%, transparent 95%); }
.sec .wrap { padding-block: 112px; }
.sec + .sec .wrap { padding-top: 0; }
.sec-head { display: grid; gap: 12px; max-width: 42rem; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec h2, .contact h2, .band h2 { font-size: 48px; line-height: 1.06; letter-spacing: -0.03em; }
.sec-head p { color: var(--fg-2); font-size: 18px; line-height: 28px; }
@media (max-width: 640px) { .sec .wrap { padding-block: 72px; } .sec h2, .contact h2, .band h2 { font-size: 34px; } .sec-head { margin-bottom: 32px; } }

/* Comparatif */
.cmp-wrap { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 20px 24px; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; padding-block: 16px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--muted); }
.cmp thead th.us { color: var(--brand-text); }
.cmp tbody th { font-weight: 600; width: 24%; }
.cmp td.them { color: var(--muted); width: 36%; }
.cmp td.us { background: var(--brand-soft); font-weight: 500; }
.cmp td.us::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 3px; background: var(--cta); margin: 0 10px 2px 0; }
@media (max-width: 720px) {
  .cmp-wrap { border: 0; background: transparent; border-radius: 0; box-shadow: none; }
  .cmp thead { display: none; }
  .cmp tbody tr { display: grid; gap: 8px; padding: 20px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .cmp tbody th, .cmp td { padding: 0; border: 0; width: auto !important; background: transparent !important; }
  .cmp td::before { display: block !important; width: auto !important; height: auto !important; background: none !important; margin: 0 0 4px !important; font-size: 13px; line-height: 16px; font-weight: 500; color: var(--muted); }
  .cmp td.them::before { content: "ESN classique"; }
  .cmp td.us::before { content: "DSB IT Consulting"; color: var(--brand-text); }
}

/* Offres : la régie d'abord, plus large */
.offers { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
@media (max-width: 860px) { .offers { grid-template-columns: minmax(0, 1fr); } }
.tile { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 32px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-sm); }
.tile .eyebrow { color: var(--muted); }
.tile.main { border-color: var(--line-strong); }
.tile.main .eyebrow { color: var(--brand-text); }
.tile h3 { font-size: 26px; line-height: 32px; letter-spacing: -0.02em; }
.tile > p { color: var(--fg-2); }
.facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts b { font-weight: 600; color: var(--fg); }
.facts span { color: var(--fg-2); }
.tile .btn { justify-self: start; margin-top: 12px; }
@media (max-width: 460px) { .facts li { grid-template-columns: minmax(0, 1fr); gap: 4px; } .tile { padding: 24px; } }

/* Autres expertises (pages métiers) */
.exp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.exp a { display: grid; gap: 8px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.exp a:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.exp strong { font-size: 19px; line-height: 24px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.exp strong svg { color: var(--muted); transition: color .15s var(--ease), transform .15s var(--ease); }
.exp a:hover strong svg { color: var(--brand-text); transform: translateX(3px); }
.exp span { color: var(--fg-2); font-size: 15px; line-height: 22px; }
@media (max-width: 860px) { .exp { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bande sombre : méthode et déroulé ---------- */
.band { background: linear-gradient(170deg, var(--band-2), var(--band)); color: var(--band-fg); }
.band .wrap { padding-block: 112px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.band .eyebrow { color: var(--band-accent); }
.band .sec-head { margin-bottom: 40px; }
.band .sec-head p { color: var(--band-fg-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--band-line-strong); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--band-line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 13px; line-height: 24px; color: var(--band-accent); }
.steps h3 { font-size: 18px; line-height: 24px; font-weight: 600; }
.steps p { color: var(--band-fg-2); font-size: 15px; line-height: 22px; }
.steps .key { color: var(--band-fg); font-weight: 500; }
@media (max-width: 960px) { .band .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 640px) { .band .wrap { padding-block: 72px; } }

/* Déroulé horodaté (dans la bande sombre) */
.timeline { margin: 0; border-radius: 16px; background: var(--band-surface); border: 1px solid var(--band-line-strong); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5); }
.tl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--band-line); }
.tl-head .tl-kicker { display: block; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--band-muted); }
.tl-role { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.tl-total { text-align: right; flex: none; }
.tl-total strong { display: block; font-family: var(--mono); font-size: 28px; line-height: 32px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--cta); }
.tl-total span { font-size: 12px; line-height: 16px; color: var(--band-muted); }
.tl-steps { list-style: none; margin: 0; padding: 20px 24px 24px; display: grid; gap: 20px; }
.tl-steps li { --rail: 93px; display: grid; grid-template-columns: 76px 12px minmax(0, 1fr); gap: 12px; align-items: start; position: relative; }
.tl-steps li:not(:last-child)::before, .tl-steps li:not(:last-child)::after { content: ""; position: absolute; left: var(--rail); top: 11px; bottom: -31px; width: 1px; background: var(--band-line-strong); }
.tl-steps li:not(:last-child)::after { background: var(--band-accent); transform-origin: top; }
.tl-steps time { font-family: var(--mono); font-size: 12px; line-height: 20px; color: var(--band-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin: 6px 0 0 1px; border-radius: 50%; background: var(--band-accent); border: 1.5px solid var(--band-accent); box-shadow: 0 0 0 3px var(--band-surface); }
.tl-steps li:last-child .tl-dot { background: var(--cta); border-color: var(--cta); }
.tl-steps strong { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.tl-steps span { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--band-fg-2); }
@media (max-width: 460px) {
  .tl-head, .tl-steps { padding-left: 16px; padding-right: 16px; }
  .tl-steps li { --rail: 77px; grid-template-columns: 64px 12px minmax(0, 1fr); gap: 8px; }
  .tl-total strong { font-size: 24px; line-height: 28px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); max-width: 50rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 18px; line-height: 26px; font-weight: 500; transition: color .15s var(--ease); }
.faq summary:hover { color: var(--brand-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--cta); }
.faq .ans { padding: 0 48px 24px 0; color: var(--fg-2); font-size: 16px; line-height: 26px; }
@media (max-width: 460px) { .faq .ans { padding-right: 0; } }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact .wrap { padding-block: 112px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 5fr); gap: 32px; column-gap: 56px; align-items: start; }
.portrait { margin: 0; }
.portrait .frame { border-radius: 20px; overflow: hidden; background: var(--raised); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.portrait:hover img { transform: scale(1.02); }
.portrait figcaption { margin-top: 16px; display: grid; gap: 4px; }
.portrait strong { font-size: 19px; line-height: 24px; font-weight: 600; }
.portrait span { font-size: 15px; line-height: 22px; color: var(--fg-2); }
.side { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.side li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; }
.side b { font-weight: 500; font-size: 13px; line-height: 16px; color: var(--muted); }
.side a { text-decoration: none; overflow-wrap: anywhere; }
.side a:hover { text-decoration: underline; text-underline-offset: 3px; }
.side span { color: var(--fg-2); }
.num-row { display: flex; align-items: center; gap: 12px; }
.side .tel { font-family: var(--mono); font-size: 24px; line-height: 32px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--fg); }
.copy { margin-left: auto; height: 32px; padding: 0 12px; font-family: var(--mono); font-size: 12px; color: var(--fg-2); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; cursor: pointer; transition: color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
.copy:hover { color: var(--fg); border-color: var(--fg-2); }
.copy:active { transform: scale(.97); }
.form { border-radius: 20px; background: var(--surface); border: 1px solid var(--line-strong); padding: 28px; box-shadow: var(--shadow-float); }
.form form { display: grid; gap: 16px; }
.form h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.form .hint { color: var(--fg-2); font-size: 15px; line-height: 24px; margin-top: -8px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field input { width: 100%; height: 44px; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 12px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(255, 122, 61, .18); }
.form .btn { width: 100%; }
.legal { font-size: 12px; line-height: 18px; color: var(--muted); }
.form-done { display: grid; gap: 8px; }
.form-done strong { font-size: 18px; font-weight: 600; }
.form-done p { color: var(--fg-2); font-size: 15px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Page consultants : candidature ---------- */
.hero.compact { padding-bottom: 16px; }
.hero.compact .hero-net { height: calc(100% + 72px); }
@media (max-width: 720px) { .hero.compact { padding-bottom: 72px; } .hero.compact .hero-net { -webkit-mask-image: none; mask-image: none; } }
/* Page introuvable */
.notfound { padding: 96px 0 120px; text-align: center; }
.notfound h1 { font-size: 48px; line-height: 1.06; letter-spacing: -0.03em; }
.notfound p { margin: 16px auto 0; max-width: 34rem; color: var(--fg-2); font-size: 18px; line-height: 28px; }
.notfound .actions { margin-top: 32px; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perk { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.perk h3 { font-size: 19px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.perk p { color: var(--fg-2); font-size: 15px; line-height: 22px; }
@media (max-width: 860px) { .perks { grid-template-columns: minmax(0, 1fr); } }
.cand-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .cand-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.sec .steps { border-top-color: var(--line-strong); }
.sec .steps li { border-bottom-color: var(--line); }
.sec .steps li::before { color: var(--brand-text); }
.sec .steps p { color: var(--fg-2); }
.side.direct { margin-top: 32px; }
.side.direct .tel { font-size: 20px; line-height: 28px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field .opt { font-weight: 400; color: var(--muted); }
.field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field select { height: 44px; padding-block: 0; }
.field textarea { min-height: 88px; resize: vertical; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(255, 122, 61, .18); }
.field input[type="file"] { height: auto; padding: 8px; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 12px; height: 32px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--fg); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--fg-2); cursor: pointer; }
.check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--cta); }
.field.bad input, .field.bad select, .check.bad { border-color: #d64545; }
.check.bad span { color: #d64545; }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .contact-grid .form { grid-column: 1 / -1; } }
@media (max-width: 640px) { .contact .wrap { padding-block: 72px; } .contact-grid { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 320px; } .form { padding: 20px; } }

/* ---------- Pied de page ---------- */
.foot { background: var(--band); color: var(--band-fg); }
.foot .wrap { padding-block: 56px 32px; display: grid; gap: 32px; }
.foot-brand { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--band-line); }
.foot-brand .brand-tile { width: 56px; height: 56px; border-radius: 14px; }
.foot-brand .brand-tile img { width: 42px; }
.foot-brand .brand > span:last-child { font-size: 22px; }
.foot-brand p { font-size: 15px; color: var(--band-fg-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.foot nav a { text-decoration: none; color: var(--band-fg-2); transition: color .15s var(--ease); }
.foot nav a:hover { color: var(--band-fg); }
.foot .mono { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--band-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--head); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar .btn { height: 48px; padding: 0 12px; font-size: 15px; }
  .foot .wrap { padding-bottom: 104px; }
  .top-cta { display: none; }
}

/* ---------- Notification ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-float); font-size: 14px; color: var(--fg); pointer-events: none; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.toast svg { color: var(--cta); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) { .toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

[hidden] { display: none !important; }

/* ---------- Page légale ---------- */
.legal-page { max-width: 50rem; }
.legal-page h1 { font-size: 44px; line-height: 1.08; letter-spacing: -0.03em; margin: 8px 0; }
.legal-page h1 + h2 { margin-top: 32px; }
.legal-page #confidentialite { margin-top: 80px; scroll-margin-top: 96px; }
.legal-page h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 32px 0 8px; }
.legal-page p { color: var(--fg-2); font-size: 16px; line-height: 26px; margin-bottom: 12px; }
.legal-page a { color: var(--brand-text); text-underline-offset: 3px; }
.legal-date { margin-top: 40px; font-family: var(--mono); font-size: 12px !important; color: var(--muted) !important; }
@media (max-width: 640px) { .legal-page h1 { font-size: 34px; } }

/* =========================================================
   Animations : actives seulement si le visiteur ne demande pas
   à réduire les mouvements (classe .motion posée par site.js)
   ========================================================= */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.8) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes trace { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes reach { from { opacity: .25; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(720deg); } }
@keyframes fillRing { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Logo : la tuile apparaît, puis le monogramme se dévoile de gauche à droite */
.motion .top .brand-tile { animation: pop .5s var(--ease) both; }
.motion .top .brand-tile img { animation: wipe .9s var(--ease) .25s both; }
.motion .foot-brand.in .brand-tile { animation: pop .5s var(--ease) both; }
.motion .foot-brand.in .brand-tile img { animation: wipe .9s var(--ease) .25s both; }
.motion .foot-brand:not(.in) .brand-tile img { clip-path: inset(0 100% 0 0); }

/* Ouverture : pastille, titre ligne par ligne, texte, boutons, puis le panneau */
.motion .hero .pill, .motion .hero .crumb { animation: rise .6s var(--ease) both; }
.motion .hero h1 .line > span { animation: lineUp .8s var(--ease) both; }
.motion .hero h1 .line:nth-child(1) > span { animation-delay: .1s; }
.motion .hero h1 .line:nth-child(2) > span { animation-delay: .2s; }
.motion .hero .promise { animation: rise .7s var(--ease) .3s both; }
.motion .hero .clock .c-hand { animation: spin 2.2s cubic-bezier(.33, 0, .2, 1) .6s both; }
.motion .hero .clock .c-ring { animation: fillRing 2.2s cubic-bezier(.33, 0, .2, 1) .6s both; }
.motion .hero .lead { animation: rise .7s var(--ease) .4s both; }
.motion .hero .actions { animation: rise .7s var(--ease) .5s both; }
.motion .hero-net { animation: fadeIn 1.6s var(--ease) both; }
.motion .panel { animation: rise .9s var(--ease) .55s both; }
.motion .panel .card { animation: rise .7s var(--ease) both; }
.motion .panel .card:nth-child(1) { animation-delay: .75s; }
.motion .panel .card:nth-child(2) { animation-delay: .83s; }
.motion .panel .card:nth-child(3) { animation-delay: .91s; }
.motion .panel .card:nth-child(4) { animation-delay: .99s; }

/* Bandeau qui défile, en pause au survol */
.motion .track ul { animation: scroll 48s linear infinite; }
.track:hover ul { animation-play-state: paused; }

/* Apparition au défilement, une seule fois */
.motion [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* Déroulé : la ligne se trace quand il arrive à l'écran */
.motion .timeline:not(.in) .tl-steps li::after { transform: scaleY(0); }
.motion .timeline:not(.in) .tl-dot { opacity: .25; }
.motion .timeline.in .tl-steps li::after { animation: trace .4s linear both; }
.motion .timeline.in .tl-dot { animation: reach .3s var(--ease) both; }
.motion .timeline.in li:nth-child(1) .tl-dot { animation-delay: .3s; }
.motion .timeline.in li:nth-child(1)::after { animation-delay: .4s; }
.motion .timeline.in li:nth-child(2) .tl-dot { animation-delay: .8s; }
.motion .timeline.in li:nth-child(2)::after { animation-delay: .9s; }
.motion .timeline.in li:nth-child(3) .tl-dot { animation-delay: 1.3s; }
.motion .timeline.in li:nth-child(3)::after { animation-delay: 1.4s; }
.motion .timeline.in li:nth-child(4) .tl-dot { animation-delay: 1.8s; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .toast { transition: opacity .2s; } .brand-tile, .card, .exp a, .portrait img { transition: none; } }
