/* ------------------------------------------------------------------
   1. Thèmes
------------------------------------------------------------------ */
/* Le thème suit la préférence système. Le bouton de bascule prend le dessus,
   et ce choix explicite est mémorisé dans le navigateur. */
:root {
  --bg:        #f7f9fc;
  --bg-2:      #ffffff;
  --bg-3:      #eef2f8;
  --ink:       #101828;
  --ink-2:     #475467;
  --ink-3:     #667085;
  --line:      #dbe2ec;
  --line-2:    #c6d0de;
  --accent:    #0b5f8a;
  --accent-2:  #5b2bd9;
  --accent-ink:#ffffff;
  --accent-soft:#e4f1f8;
  --good:      #10693f;
  --warn:      #8a5300;
  --warn-soft: #fdf3e0;
  --grid:      rgba(16, 24, 40, .06);
  --shadow:    0 1px 2px rgba(16,24,40,.05), 0 12px 32px -18px rgba(16,24,40,.35);
  --radius:    16px;
}
/* Valeurs sombres, appliquées soit par choix explicite, soit par le système. */
:root[data-theme="dark"] {
  --bg:        #080c16;
  --bg-2:      #0f1524;
  --bg-3:      #161d2f;
  --ink:       #eaeff8;
  --ink-2:     #b3bed1;
  --ink-3:     #8a97ad;
  --line:      #232c40;
  --line-2:    #33405c;
  --accent:    #67d3f5;
  --accent-2:  #b39cff;
  --accent-ink:#04121a;
  --accent-soft:#10283a;
  --good:      #4ddba0;
  --warn:      #f0c274;
  --warn-soft: #2c2313;
  --grid:      rgba(255, 255, 255, .05);
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 18px 44px -20px rgba(0,0,0,.9);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #080c16;
    --bg-2:      #0f1524;
    --bg-3:      #161d2f;
    --ink:       #eaeff8;
    --ink-2:     #b3bed1;
    --ink-3:     #8a97ad;
    --line:      #232c40;
    --line-2:    #33405c;
    --accent:    #67d3f5;
    --accent-2:  #b39cff;
    --accent-ink:#04121a;
    --accent-soft:#10283a;
    --good:      #4ddba0;
    --warn:      #f0c274;
    --warn-soft: #2c2313;
    --grid:      rgba(255, 255, 255, .05);
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 18px 44px -20px rgba(0,0,0,.9);
  }
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
p  { margin: 0 0 1rem; color: var(--ink-2); }
a  { color: var(--accent); text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; color: var(--ink); }
code, .mono, .num {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: min(1120px, 100% - 1.75rem); } }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------------
   3. En-tête
------------------------------------------------------------------ */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(4px)) { .hdr { background: var(--bg); } }
.hdr-in { display: flex; align-items: center; gap: 1rem; height: 66px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.02em; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: .35rem; margin-left: auto; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 550;
  padding: .45rem .7rem; border-radius: 9px;
}
.nav a:hover { color: var(--ink); background: var(--bg-3); }
.hdr-tools { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav + .hdr-tools { margin-left: .6rem; }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 34px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2);
  color: var(--ink-2); cursor: pointer; padding: 0;
}
.icon-btn:hover { color: var(--ink); border-color: var(--accent); }
.icon-btn svg { width: 17px; height: 17px; }
/* L'icône montre la bascule disponible : lune en clair, soleil en sombre. */
.i-moon { display: block; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-moon { display: none; }
  :root:not([data-theme="light"]) .i-sun { display: block; }
}
:root[data-theme="light"] .i-moon { display: block; }
:root[data-theme="light"] .i-sun { display: none; }
@media (max-width: 860px) { .nav { display: none; } .hdr-tools { margin-left: auto; } }

/* ------------------------------------------------------------------
   4. Accroche
------------------------------------------------------------------ */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 14%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(50% 50% at 12% 0%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(to right, var(--grid) 1px, transparent 1px) 0 0 / 44px 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent);
  mask-image: linear-gradient(to bottom, #000 35%, transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { order: -1; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem;
  font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: .3rem .7rem; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero p.lede { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .74rem 1.25rem; border-radius: 11px; font-weight: 620; font-size: .97rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-1 { background: var(--accent); color: var(--accent-ink); }
.btn-1:hover { filter: brightness(1.08); }
.btn-2 { background: var(--bg-2); color: var(--ink); border-color: var(--line-2); }
.btn-2:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 16px; height: 16px; }
.hero-note { margin-top: 1.1rem; font-size: .88rem; color: var(--ink-3); }
.hero-art svg { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------------
   5. Bandeau de confiance
------------------------------------------------------------------ */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1.25rem 0;
}
.trust-in { display: flex; gap: 1rem; align-items: flex-start; }
.trust svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: .18rem; }
.trust p { margin: 0; font-size: .97rem; }


/* ------------------------------------------------------------------
   7. Titres de section
------------------------------------------------------------------ */
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head .kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin: 0 0 .6rem;
}

/* ------------------------------------------------------------------
   8. Cartes réalisations
------------------------------------------------------------------ */
.case {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1.5rem;
}
.case-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent);
}
@media (max-width: 820px) { .case-top { grid-template-columns: minmax(0, 1fr); } }
.case-num {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  color: var(--ink-3); margin-bottom: .5rem;
}
.case-top h3 { margin-bottom: .35rem; }
.case-sub { margin: 0; font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag {
  font-size: .76rem; font-weight: 600; letter-spacing: .02em;
  padding: .22rem .55rem; border-radius: 6px;
  background: var(--bg-3); color: var(--ink-2); border: 1px solid var(--line);
}
.case-art svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.case-body {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
@media (max-width: 940px) { .case-body { grid-template-columns: minmax(0, 1fr); } }
.blk { padding: clamp(1.3rem, 2.5vw, 1.8rem); border-right: 1px solid var(--line); min-width: 0; }
.blk:last-child { border-right: 0; }
@media (max-width: 940px) { .blk { border-right: 0; border-bottom: 1px solid var(--line); } .blk:last-child { border-bottom: 0; } }
.blk h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .8rem;
}
.blk p { font-size: .95rem; margin-bottom: 0; }
.blk ul li {
  position: relative; padding-left: 1.4rem; margin-bottom: .6rem;
  font-size: .95rem; color: var(--ink-2);
}
.blk ul li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent); opacity: .55;
}
.blk ul li:last-child { margin-bottom: 0; }
.blk li.hi { color: var(--ink); font-weight: 600; }
.blk li.hi::before { opacity: 1; background: var(--good); }
.case-band {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1.1rem clamp(1.3rem, 2.5vw, 1.8rem);
  border-top: 1px solid var(--line); background: var(--bg-3);
}
.case-band svg { width: 19px; height: 19px; flex: none; color: var(--good); margin-top: .22rem; }
.case-band p { margin: 0; font-size: .95rem; color: var(--ink); max-width: 78ch; }
.threshold {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1.1rem clamp(1.3rem, 2.5vw, 1.8rem);
  border-top: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.threshold svg { width: 19px; height: 19px; flex: none; color: var(--accent); margin-top: .22rem; }
.threshold .lbl {
  display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .1rem;
}
.threshold p { margin: 0; font-size: .95rem; color: var(--ink); max-width: 78ch; }
.case-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: clamp(1.2rem, 3vw, 2rem); align-items: start;
  padding: 1.4rem clamp(1.3rem, 2.5vw, 1.8rem);
  border-top: 1px solid var(--line); background: var(--bg-3);
}
@media (max-width: 820px) { .case-foot { grid-template-columns: minmax(0, 1fr); } }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; min-width: 0; }
@media (max-width: 560px) { .scope { grid-template-columns: minmax(0, 1fr); } }
.scope h5 {
  margin: 0 0 .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink-3);
}
.scope li { position: relative; padding-left: 1.05rem; margin-bottom: .3rem; font-size: .87rem; color: var(--ink-2); }
.scope li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--good);
}
.scope .out li::before { background: var(--ink-3); opacity: .5; }
.price-card {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 1.1rem 1.15rem; min-width: 0;
}
.price-card .pl { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-2); }
.price-card .pv {
  display: block; margin: .25rem 0 .45rem; font-size: 1.62rem; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink); line-height: 1.1;
}
.price-card .pn { display: block; font-size: .82rem; color: var(--ink-3); line-height: 1.45; }
.price-card .btn { margin-top: .9rem; width: 100%; justify-content: center; padding: .58rem 1rem; font-size: .9rem; }

/* ------------------------------------------------------------------
   8c. Volet RPA
------------------------------------------------------------------ */
.rpa {
  background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 20px;
  padding: clamp(1.5rem, 3.5vw, 2.4rem); margin-top: 2.5rem;
}
.rpa-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; }
@media (max-width: 780px) { .rpa-head { grid-template-columns: minmax(0, 1fr); } }
.rpa-head h3 { margin-bottom: .4rem; }
.rpa-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); margin-top: 1.8rem; }
@media (max-width: 940px) { .rpa-cols { grid-template-columns: minmax(0, 1fr); } }
.rpa-cols h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .8rem;
}
.rpa-cols li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; font-size: .93rem; color: var(--ink-2); }
.rpa-cols li::before {
  content: ""; position: absolute; left: 0; top: .56em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent-2); opacity: .6;
}
.rpa-limits li::before { background: var(--warn); opacity: .85; }
.rpa-foot {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.rpa-foot .honest { display: flex; gap: .7rem; align-items: flex-start; max-width: 66ch; min-width: 0; }
.rpa-foot .honest svg { width: 19px; height: 19px; flex: none; color: var(--warn); margin-top: .22rem; }
.rpa-foot .honest p { margin: 0; font-size: .92rem; color: var(--ink); }
.price-inline { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); }
.price-inline .todo {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .82rem; font-weight: 700;
  color: var(--warn); background: var(--warn-soft);
  border: 1px dashed var(--warn); border-radius: 8px; padding: .25rem .55rem;
}

/* ------------------------------------------------------------------
   8b. Tarifs
------------------------------------------------------------------ */
.note-box {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem;
}
.note-box svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: .2rem; }
.note-box p { margin: 0; font-size: .94rem; }
.note-box p + p { margin-top: .5rem; }
.tbl-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; min-width: 430px; font-size: .93rem; }
caption { text-align: left; padding: 1rem 1.15rem .2rem; font-weight: 650; color: var(--ink); }
th, td { text-align: left; padding: .7rem 1.15rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
thead th {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); background: var(--bg-3); border-bottom: 1px solid var(--line-2);
}
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n {
  text-align: right; white-space: nowrap;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-variant-numeric: tabular-nums;
}
tbody td:first-child { color: var(--ink); }
.tbl-note { margin: .8rem 0 0; font-size: .85rem; color: var(--ink-3); }
.cond { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
@media (max-width: 900px) { .cond { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cond { grid-template-columns: minmax(0, 1fr); } }
.cond .mcard h4 { font-size: .95rem; }

/* ------------------------------------------------------------------
   9. Méthode et livrables
------------------------------------------------------------------ */
/* Méthode puis Livrables, l'un sous l'autre : ce sont deux temps de lecture
   successifs, pas deux colonnes à comparer. */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
#livraison { padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.mcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .mcards { grid-template-columns: minmax(0, 1fr); } }
.mcard {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem 1.2rem;
}
.mcard h4 { font-size: 1rem; margin-bottom: .35rem; }
.mcard p { font-size: .9rem; margin: 0; }
.mcard .ic { display: block; width: 22px; height: 22px; color: var(--accent); margin-bottom: .7rem; }
.deliver {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.9rem); box-shadow: var(--shadow);
}
.deliver li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem;
}
.deliver li:last-child { border-bottom: 0; padding-bottom: 0; }
.deliver li svg { width: 18px; height: 18px; color: var(--good); flex: none; margin-top: .18rem; }
.deliver li span.d { color: var(--ink-3); display: block; font-size: .87rem; }
.about {
  margin-top: 1.5rem; padding: 1.1rem 1.2rem; border-left: 3px solid var(--accent);
  background: var(--bg-3); border-radius: 0 12px 12px 0;
}
.about p { margin: 0; font-size: .93rem; }

/* ------------------------------------------------------------------
   10. Contact
------------------------------------------------------------------ */
.contact-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: clamp(1.6rem, 4vw, 3rem); text-align: center;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.contact-card h2 { margin-bottom: .6rem; }
.contact-card p { max-width: 56ch; margin-inline: auto; }
.mailrow { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.6rem; }
.mail-lit {
  font-size: .92rem; color: var(--ink-3); margin-top: 1.1rem; word-break: break-word;
}
.mail-lit a { color: var(--ink-2); }

/* ------------------------------------------------------------------
   11. Pied de page
------------------------------------------------------------------ */
footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
footer p { margin: 0; font-size: .87rem; color: var(--ink-3); }
.todo-inline {
  font-family: ui-monospace, Consolas, monospace; font-size: .78rem; font-weight: 700;
  color: var(--warn); background: var(--warn-soft); border: 1px dashed var(--warn);
  border-radius: 6px; padding: .12rem .45rem;
}

/* ------------------------------------------------------------------
   12. Animations, désactivées si l'utilisateur les refuse
------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.on { opacity: 1; transform: none; }
.flow-dot { animation: travel 3.6s linear infinite; }
.flow-dot.d2 { animation-delay: 1.2s; }
.flow-dot.d3 { animation-delay: 2.4s; }
@keyframes travel {
  0%   { transform: translateX(0);    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(96px); opacity: 0; }
}
.pulse { animation: pulse 3s ease-in-out infinite; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .flow-dot, .pulse { animation: none; }
  .flow-dot { opacity: .9; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Impression : version lisible en noir sur blanc. */
@media print {
  .hdr, .hero-art, .cta-row { display: none; }
  body { background: #fff; color: #000; font-size: 12px; }
  .case, .stat, .deliver, .contact-card { box-shadow: none; border-color: #999; break-inside: avoid; }
}

/* ------------------------------------------------------------------
   13. Pages légales
------------------------------------------------------------------ */
.legal .deliver h2 {
  font-size: 1.15rem;
  margin: 2rem 0 .6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.legal .deliver h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal .deliver p { font-size: .97rem; max-width: 72ch; }
.legal .deliver p:last-child { margin-bottom: 0; }
.legal-dl { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: .6rem 1.5rem; margin: 0 0 .5rem; }
@media (max-width: 620px) { .legal-dl { grid-template-columns: minmax(0, 1fr); gap: .15rem; } }
.legal-dl dt {
  font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-3); padding-top: .18rem;
}
.legal-dl dd { margin: 0 0 .5rem; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 620px) { .legal-dl dd { margin-bottom: 1rem; } }
code {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 5px; padding: .1rem .35rem; font-size: .88em;
}
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot-nav a { font-size: .87rem; color: var(--ink-3); text-decoration: none; }
.foot-nav a:hover { color: var(--accent); text-decoration: underline; }
.tag-live {
  background: color-mix(in srgb, var(--good) 18%, transparent);
  border-color: color-mix(in srgb, var(--good) 45%, transparent);
  color: var(--good);
  text-transform: none;
  letter-spacing: 0;
  margin-left: .5rem;
  vertical-align: middle;
}

/* Contact : adresse sélectionnable, pas seulement un lien mailto. */
.mail-direct {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .6rem .9rem; margin-top: 1.4rem;
}
.mail-lbl { font-size: .87rem; color: var(--ink-3); }
.mail-addr {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .97rem; color: var(--ink); word-break: break-all;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 9px; padding: .42rem .7rem; user-select: all;
}
.btn-copy { padding: .45rem .85rem; font-size: .87rem; }
.btn-copy.ok { border-color: var(--good); color: var(--good); }

.tag-demo {
  background: var(--bg-3);
  border-color: var(--line-2);
  /* --ink-2 et non --ink-3 : à cette taille, --ink-3 tombait à 4,43 en thème clair,
     sous le seuil AA de 4,5. */
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
  margin-left: .5rem;
  vertical-align: middle;
}
.autres-lien { margin: .5rem 0 0; font-size: .95rem; }
.autres-lien a { color: var(--ink-2); }
.autres-lien a:hover { color: var(--accent); }
