/* Polices hébergées sur le site (aucune requête vers Google). Fichiers à déposer dans site/fonts/ : voir site/LISEZ-MOI.txt.
   Si un fichier manque, le navigateur utilise la police du système : la page reste lisible. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/bricolage-grotesque-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/bricolage-grotesque-800.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/figtree-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); }

/* Mise en page : en-tête collant, hero à deux colonnes (texte à gauche, dossier vivant à droite),
   puis sections alternant pleine largeur et grilles asymétriques. Une seule audace : le dossier de démonstration du hero. */
:root {
  --bg: #F2F7F7;
  --surface: #FFFFFF;
  --surface-2: #E6EFF0;
  --ink: #0B2A31;
  --muted: #4B686E;
  --line: #CFDEE0;
  --brand: #0F5C6E;
  --brand-ink: #FFFFFF;
  --brand-soft: #D8EBEF;
  --coral: #FF7A59;
  --coral-ink: #2A0F08;
  --ok: #17734A;
  --ok-soft: #DCF1E5;
  --warn: #8A5A00;
  --warn-soft: #FBEBC8;
  --bad: #B3321B;
  --bad-soft: #FADAD3;
  --wait: #355F8C;
  --wait-soft: #DDE9F6;
  --shadow: 0 1px 2px rgba(11,42,49,.06), 0 12px 32px -12px rgba(11,42,49,.18);
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071E24; --surface: #0D2F37; --surface-2: #123A44; --ink: #E7F2F3; --muted: #9DBBC0; --line: #1E4650;
    --brand: #55B6CB; --brand-ink: #04222A; --brand-soft: #123D48; --coral: #FF8667; --coral-ink: #2A0F08;
    --ok: #6FD3A0; --ok-soft: #12382B; --warn: #F0C269; --warn-soft: #3B2E0E; --bad: #FF9A85; --bad-soft: #43201A;
    --wait: #8DB8E8; --wait-soft: #172F4A; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #071E24; --surface: #0D2F37; --surface-2: #123A44; --ink: #E7F2F3; --muted: #9DBBC0; --line: #1E4650;
  --brand: #55B6CB; --brand-ink: #04222A; --brand-soft: #123D48; --coral: #FF8667; --coral-ink: #2A0F08;
  --ok: #6FD3A0; --ok-soft: #12382B; --warn: #F0C269; --warn-soft: #3B2E0E; --bad: #FF9A85; --bad-soft: #43201A;
  --wait: #8DB8E8; --wait-soft: #172F4A; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  padding-inline: 0; margin: 0;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40rem; }
section { padding-block: clamp(56px, 8vw, 104px); }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55rem; font: 700 1rem/1 var(--f-body); padding: 1rem 1.4rem; border-radius: 12px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--coral-ink); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--brand); }

/* En-tête */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.55rem/1 var(--f-display); letter-spacing: -0.03em; text-decoration: none; color: var(--brand); }
.logo svg { width: 30px; height: 30px; }
.top nav { display: flex; gap: 26px; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top .btn { padding: .7rem 1.05rem; font-size: .92rem; }
@media (max-width: 820px) { .top nav { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 18px; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Dossier de démonstration */
.stage { position: relative; padding-bottom: 190px; }
.file { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.file-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.ref { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.file-title { font: 700 1.1rem/1.25 var(--f-display); margin-top: 2px; }
.tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); margin-top: 16px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 40%; background: var(--brand); border-radius: 99px; }
.bar-label { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.pieces { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.pieces li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: .92rem; }
.pieces small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.pill { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.wait { background: var(--wait-soft); color: var(--wait); }
.pill.todo { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.phone { position: absolute; right: -4px; bottom: -8px; width: min(200px, 44%); background: var(--surface); border: 6px solid var(--ink); border-radius: 28px; padding: 14px 12px 16px; box-shadow: var(--shadow); }
.phone b { font: 700 .85rem/1.2 var(--f-display); display: block; }
.phone p { font-size: .76rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.phone .shot { margin-top: 10px; background: var(--coral); color: var(--coral-ink); text-align: center; font-weight: 700; font-size: .78rem; padding: 9px 6px; border-radius: 9px; }
.phone .shot.alt { background: var(--surface-2); color: var(--ink); margin-top: 6px; }
@media (max-width: 560px) { .stage { padding-bottom: 0; } .phone { position: static; width: 100%; margin-top: 14px; border-width: 4px; } }

/* Avant / après */
.contrast { background: var(--surface); border-block: 1px solid var(--line); }
.contrast .head { max-width: 46rem; }
.rows { margin-top: 44px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.row + .row { border-top: 1px solid var(--line); }
.row > div { padding: 22px 24px; min-width: 0; }
.row .before { background: var(--bg); color: var(--muted); }
.row .after { background: var(--surface); }
.row .lab { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.row .after .lab { color: var(--brand); }
.rows .colhead .before, .rows .colhead .after { font: 700 .95rem/1 var(--f-display); padding-block: 14px; }
.rows .colhead .after { color: var(--brand); }
@media (max-width: 700px) { .row { grid-template-columns: minmax(0, 1fr); } .row > .before { border-bottom: 1px dashed var(--line); } .colhead { display: none; } }

/* Fonctionnalités */
.feat .head { max-width: 44rem; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; grid-column: span 2; }
.card.wide { grid-column: span 3; }
.card.big { grid-column: span 4; background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.card.big p, .card.big li { color: color-mix(in srgb, var(--brand-ink) 86%, transparent); }
.card.big .ico { background: color-mix(in srgb, var(--brand-ink) 16%, transparent); color: var(--brand-ink); }
.card p, .card li { color: var(--muted); font-size: .98rem; }
.card ul { margin: 4px 0 0; padding-left: 1.1em; display: grid; gap: 4px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .card, .card.wide, .card.big { grid-column: span 3; } .card.big { grid-column: span 6; } }
@media (max-width: 640px) { .grid { grid-template-columns: minmax(0, 1fr); } .card, .card.wide, .card.big { grid-column: auto; } }

/* Parcours */
.flow { background: var(--surface); border-block: 1px solid var(--line); }
.stages { margin-top: 40px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.stage-chip { flex: 0 0 auto; scroll-snap-align: start; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 14px 16px; min-width: 150px; }
.stage-chip b { display: block; font: 700 .98rem/1.2 var(--f-display); }
.stage-chip span { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.stage-chip.end { border-color: var(--ok); background: var(--ok-soft); }
.flow .note { margin-top: 18px; color: var(--muted); max-width: 46rem; font-size: .98rem; }

/* Client */
.client .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.client ul.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.client ul.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.tick { width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-weight: 800; font-size: .85rem; margin-top: 1px; }
.langs { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.langs h3 { margin-bottom: 6px; }
.langs p { color: var(--muted); font-size: .96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { padding: 8px 14px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.soon { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: .92rem; font-weight: 600; }
@media (max-width: 900px) { .client .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Sécurité */
.sec { background: var(--ink); color: var(--bg); }
.sec .eyebrow { color: var(--coral); }
.sec .lede { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.sec-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); }
.sec-item { padding: 26px 24px 26px 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); min-width: 0; }
.sec-item h3 { color: var(--bg); font-size: 1.1rem; }
.sec-item p { margin-top: 8px; color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: .95rem; }
.sec-item code { font-family: var(--f-mono); font-size: .82rem; color: var(--coral); }

/* Tarif */
.price .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.price .big-num { font: 800 clamp(3.4rem, 8vw, 5.5rem)/1 var(--f-display); letter-spacing: -0.04em; color: var(--brand); margin-top: 20px; font-variant-numeric: tabular-nums; }
.price .big-num small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.price li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.calc label { font-weight: 700; display: block; }
.calc output { font: 800 2.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--brand); display: block; margin-top: 4px; }
.calc input[type=range] { width: 100%; margin-top: 18px; accent-color: var(--coral); height: 28px; }
.scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.result { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.result div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.result .total { font: 800 1.7rem/1.1 var(--f-display); color: var(--ink); }
.result .sub { color: var(--muted); font-size: .92rem; }
.calc .small { margin-top: 16px; font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .price .wrap { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq .wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { font: 700 1.12rem/1.3 var(--f-display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 44rem; }

/* Appel final */
.final { background: var(--brand); color: var(--brand-ink); text-align: left; }
.final .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.final h2 { max-width: 32rem; }
.final p { margin-top: 12px; max-width: 34rem; color: color-mix(in srgb, var(--brand-ink) 84%, transparent); }
.final .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.final .btn-line { border-color: color-mix(in srgb, var(--brand-ink) 45%, transparent); color: var(--brand-ink); }

footer { padding-block: 36px; font-size: .9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Utilitaires (remplacent les attributs style, interdits par la politique de sécurité du site) */
.muted { color: var(--muted); }
.mt14 { margin-top: 14px; } .mt16 { margin-top: 16px; } .mt18 { margin-top: 18px; } .mt28 { margin-top: 28px; }
.mw38 { max-width: 38rem; } .mw40 { max-width: 40rem; }
