/* Anon by DIGIT - palette tirée du logo Digit : noir encre + point jaune ambré */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1d1d1d;
  --amber: #f2b94b;
  --amber-strong: #e0a22c;
  --amber-soft: #fdf1d6;

  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-2: #f4f3ef;
  --line: #e5e3dc;
  --line-strong: #cfcdc4;
  --text: #1d1d1d;
  --muted: #5f5e58;
  --danger: #b3261e;
  --danger-soft: #fdecea;
  --ok: #2f7d4f;
  --focus: #1d1d1d;
  --mark: #fbe3a8;
  --btn-bg: #1d1d1d;
  --btn-fg: #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(29, 29, 29, 0.04), 0 8px 28px rgba(29, 29, 29, 0.06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131312;
    --surface: #1c1c1a;
    --surface-2: #242421;
    --line: #2f2f2b;
    --line-strong: #44443e;
    --text: #f2f1ec;
    --muted: #a5a39a;
    --danger: #ff8a80;
    --danger-soft: #3a1f1d;
    --ok: #6fcf97;
    --focus: #f2b94b;
    --mark: #5a4513;
    --amber-soft: #2e2512;
    --btn-bg: #f2b94b;
    --btn-fg: #1d1d1d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* Le point jaune : signature de la marque */
.dot { color: var(--amber); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__digit { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.brand__sep { width: 1px; height: 22px; background: var(--line-strong); }
.brand__by { font-weight: 700; font-size: 12px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }

.status { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.status[data-state="ok"] .status__dot { background: var(--ok); }
.status[data-state="busy"] .status__dot { background: var(--amber); animation: pulse 1.6s ease-in-out infinite; }
.status[data-state="down"] .status__dot { background: var(--danger); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 185, 75, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(242, 185, 75, 0); } }

/* ---------- Hero ---------- */
.hero { padding-top: 56px; padding-bottom: 36px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; max-width: 820px; font-size: clamp(32px, 5.4vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.lead { margin: 20px 0 0; max-width: 680px; font-size: 18px; color: var(--muted); }
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust li { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--muted); }
.trust strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 15px; }

/* ---------- Cartes ---------- */
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
h2[tabindex]:focus { outline: none; }
h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.limits { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Champs ---------- */
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field__label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; font-size: 15px; padding: 0; }
.req, .opt { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.req { background: var(--amber-soft); color: var(--text); border: 1px solid var(--amber); }
.opt { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

textarea {
  width: 100%; resize: vertical; padding: 14px 16px; font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea::placeholder { color: var(--muted); opacity: 0.8; }
textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242, 185, 75, 0.45); }
@media (prefers-color-scheme: dark) { textarea:focus { border-color: var(--amber); } }
.field[data-invalid="true"] textarea,
.field[data-invalid="true"] .drop { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.field__meta { display: flex; justify-content: flex-end; margin-top: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.help { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.error { margin: 10px 0 0; padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--danger); background: var(--danger-soft); border-radius: var(--radius-sm); }

/* ---------- Onglets ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 14px; background: var(--surface-2); border-radius: 11px; }
.tab { font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: transparent; border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

/* ---------- Dépôt de fichier ---------- */
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 210px; padding: 24px; text-align: center; cursor: pointer; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-2); transition: border-color 0.15s, background 0.15s; }
.drop:hover, .drop[data-over="true"] { border-color: var(--amber-strong); background: var(--amber-soft); }
.drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.drop__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }
.drop__title { font-weight: 700; }
.drop__hint { font-size: 13px; color: var(--muted); }
.picked { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.picked__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.picked__size { color: var(--muted); font-variant-numeric: tabular-nums; }
.link { font: inherit; font-size: 14px; font-weight: 700; color: var(--text); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Options ---------- */
.options { margin: 4px 0 22px; padding: 14px 16px 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.options > summary { cursor: pointer; font-weight: 700; font-size: 15px; padding-bottom: 12px; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.options > summary::-webkit-details-marker { display: none; }
.options > summary::after { content: "+"; font-size: 22px; font-weight: 600; line-height: 1; color: var(--muted); }
.options[open] > summary::after { content: "\2212"; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg__item { position: relative; display: block; cursor: pointer; }
.seg__item input { position: absolute; opacity: 0; }
.seg__item > span { display: block; height: 100%; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.seg__item strong { display: block; font-size: 14px; }
.seg__item small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.35; }
.seg__item input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--amber-soft); }
@media (prefers-color-scheme: dark) { .seg__item input:checked + span { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); } }
.seg__item input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 7px 13px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; user-select: none; transition: all 0.12s; }
.chip input:checked + span { color: var(--text); background: var(--amber-soft); border-color: var(--amber-strong); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1px; font: inherit; font-size: 15px; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.08s, background 0.15s, opacity 0.15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { opacity: 0.88; }
.btn--primary .dot { color: var(--amber); font-size: 1.15em; line-height: 0.6; }
@media (prefers-color-scheme: dark) { .btn--primary .dot { color: var(--ink); } }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--small { padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Résultat ---------- */
.card--result { min-height: 340px; }
.idle { padding: 28px 22px; text-align: center; color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.idle__title { margin: 0 0 6px; font-weight: 800; color: var(--text); font-size: 17px; }
.idle p { margin: 0; font-size: 14px; }

.progress { padding: 26px 22px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.progress__title { margin: 0; font-weight: 800; font-size: 18px; }
.progress__text { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.bar__fill { height: 100%; width: 0; background: var(--amber); border-radius: 999px; transition: width 0.3s ease; }
.bar[data-wait="true"] .bar__fill { width: 35%; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

.failure { padding: 18px 20px; background: var(--danger-soft); border: 1px solid var(--danger); border-radius: var(--radius); color: var(--text); }
.failure__title { margin: 0 0 4px; font-weight: 800; color: var(--danger); }
.failure p:last-child { margin: 0; font-size: 14px; }

.summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pill { display: inline-flex; gap: 6px; align-items: baseline; padding: 5px 11px; font-size: 13px; font-weight: 600; background: var(--amber-soft); border: 1px solid var(--amber); border-radius: 999px; }
.pill b { font-weight: 800; font-variant-numeric: tabular-nums; }
.pill--none { background: var(--surface-2); border-color: var(--line-strong); color: var(--muted); }

.out { margin: 0; padding: 16px; max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.out .tok { padding: 1px 4px; font-weight: 700; background: var(--mark); border-radius: 4px; }
.out mark { background: var(--mark); color: inherit; padding: 1px 2px; border-radius: 3px; cursor: help; }
.note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Comment ça marche ---------- */
.how { padding-top: 40px; padding-bottom: 56px; }
.how h2 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-weight: 800; font-size: 14px; }
.steps p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.steps a { color: var(--text); text-underline-offset: 3px; }
.fine { margin: 20px 0 0; font-size: 13px; color: var(--muted); max-width: 760px; }

.foot { border-top: 1px solid var(--line); padding: 22px 0 30px; color: var(--muted); font-size: 13px; }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot .brand__digit { font-size: 20px; color: var(--text); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .panel-grid { grid-template-columns: 1fr; }
  .trust, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .card { padding: 18px; }
  .seg { grid-template-columns: 1fr; }
  .status { font-size: 12px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ================= Accueil simplifié, entreprises, contact ================= */
.brand__digit .dot { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link, .nav__btn { font: inherit; font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; background: none; border: 0; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.nav__link:hover, .nav__btn:hover { background: var(--surface-2); }
.nav .status { margin-left: 6px; }

.trust li { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.trust strong { margin: 0; font-size: 17px; }
.trust li > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.5; }
.trust__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 12px; background: var(--amber-soft); border: 1px solid var(--amber); color: var(--text); }
code { font-family: var(--mono); font-size: 0.92em; padding: 1px 5px; border-radius: 5px; background: var(--mark); }

.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 36px; margin-bottom: 56px; border-radius: 20px; background: var(--ink); color: #f2f1ec; }
.biz .eyebrow { color: var(--amber); }
.biz h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -0.03em; }
.biz__lead { margin: 14px 0 22px; color: #cfcdc4; }
.biz .btn--primary { background: var(--amber); color: var(--ink); }
.biz .btn--primary .dot { color: var(--ink); }
.biz__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.biz__list li { padding: 14px 16px 14px 44px; position: relative; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 14.5px; color: #cfcdc4; }
.biz__list li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }
.biz__list strong { color: #fff; }

input[type="text"], input[type="email"] { width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color 0.15s, box-shadow 0.15s; }
input[type="text"]:focus, input[type="email"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242, 185, 75, 0.45); }
@media (prefers-color-scheme: dark) { input[type="text"]:focus, input[type="email"]:focus { border-color: var(--amber); } }
.cfield[data-invalid="true"] input, .cfield[data-invalid="true"] textarea { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }

dialog.contact { width: min(900px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overflow: hidden; }
dialog.contact[open] { display: grid; grid-template-columns: 300px 1fr; }
dialog.contact::backdrop { background: rgba(20, 20, 18, 0.55); backdrop-filter: blur(3px); }
.contact__side { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 30px 26px; background: var(--ink); color: #f2f1ec; }
.contact__side .brand__digit { font-size: 24px; color: #fff; }
.contact__side .brand__by { color: #a5a39a; font-size: 11px; }
.contact__side h2 { font-size: 24px; line-height: 1.15; color: #fff; }
.contact__side p { margin: 12px 0 0; color: #cfcdc4; font-size: 14.5px; }
.contact__steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: #cfcdc4; }
.contact__steps li::marker { color: var(--amber); font-weight: 800; }
.contact__site { color: var(--amber); font-weight: 700; text-decoration: none; font-size: 14px; }
.contact__form { padding: 28px 30px 24px; overflow: auto; max-height: calc(100vh - 24px); }
.cfield { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.cduo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cchips { display: flex; flex-wrap: wrap; gap: 8px; }
.cchips label { position: relative; }
.cchips input { position: absolute; opacity: 0; }
.cchips span { display: inline-block; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; user-select: none; }
.cchips input:checked + span { color: var(--text); background: var(--amber-soft); border-color: var(--amber-strong); }
.cchips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.cfield[data-invalid="true"] .cchips span { border-color: var(--danger); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact__foot { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 8px; }
.contact__x { position: absolute; top: 10px; right: 14px; width: 36px; height: 36px; font-size: 26px; line-height: 1; color: var(--muted); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.contact__x:hover { background: var(--surface-2); color: var(--text); }
.contact__thanks { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding: 56px 30px; text-align: center; }
.contact__thanks[hidden] { display: none; }
.contact__thanks p { max-width: 46ch; margin: 0; color: var(--muted); }
.contact__thanks h2:focus { outline: none; }
.check { width: 64px; height: 64px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#contactAlert a { color: inherit; font-weight: 800; }

@media (max-width: 900px) {
  .biz { grid-template-columns: 1fr; padding: 26px; }
  dialog.contact[open] { grid-template-columns: 1fr; overflow: auto; }
  .contact__side { padding: 22px; gap: 14px; }
  .contact__steps, .contact__site { display: none; }
  .contact__form { max-height: none; }
}
@media (max-width: 640px) {
  .nav__link { display: none; }
  .cduo { grid-template-columns: 1fr; }
  .nav .status { display: none; }
}

/* ---------- Les trois engagements ---------- */
.trust { gap: 18px; align-items: stretch; margin-top: 36px; }
.trust > li.pillar { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 28px 26px 26px; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.trust > li.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--amber); }
.trust > li.pillar:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(29, 29, 29, 0.05), 0 18px 40px rgba(29, 29, 29, 0.12); }
.pillar__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 16px; background: var(--amber); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(224, 162, 44, 0.9); }
.pillar__title { margin: 0 0 8px; font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: var(--text); }
.pillar__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.pillar__tags { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.pillar__tags li { padding: 5px 11px; font-size: 12.5px; font-weight: 700; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.pillar__stat { margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); }
.pillar__stat span { display: inline-block; margin-right: 6px; font-size: 52px; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; vertical-align: -6px; }

/* La promesse centrale : carte sombre, un cran au-dessus des autres */
.trust > li.pillar--main { background: var(--ink); border-color: var(--ink); transform: translateY(-10px); box-shadow: 0 24px 50px -16px rgba(29, 29, 29, 0.55); }
.trust > li.pillar--main:hover { transform: translateY(-14px); }
.pillar--main .pillar__title { color: #fff; }
.pillar--main .pillar__text { color: #cfcdc4; }
.pillar--main .pillar__tags li { color: #f2f1ec; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
@media (prefers-color-scheme: dark) {
  .trust > li.pillar--main { background: var(--amber); border-color: var(--amber); }
  .pillar--main .pillar__icon { background: var(--ink); color: var(--amber); box-shadow: none; }
  .pillar--main .pillar__stat { color: var(--ink); }
  .pillar--main .pillar__title { color: var(--ink); }
  .pillar--main .pillar__text { color: #3a3a37; }
  .pillar--main .pillar__tags li { color: var(--ink); background: rgba(29, 29, 29, 0.1); border-color: rgba(29, 29, 29, 0.25); }
  .trust > li.pillar--main::before { background: var(--ink); }
}
@media (max-width: 900px) {
  .trust > li.pillar--main, .trust > li.pillar--main:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .trust > li.pillar, .trust > li.pillar:hover { transform: none !important; } }

/* ================= Page en trois actes ================= */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero, .act, #essai, #entreprises, #principe { scroll-margin-top: 76px; }
.hero { padding-bottom: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__cta .btn { text-decoration: none; }

.act { padding-top: 64px; padding-bottom: 8px; }
.act--try { padding-bottom: 0; }
.act__head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 30px; }
.act__n { flex: none; font-size: 72px; font-weight: 800; line-height: 0.82; letter-spacing: -0.06em; color: var(--amber); }
.act__head .eyebrow { margin-bottom: 8px; }
.act__head h2 { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.08; letter-spacing: -0.035em; }
.act__lead { max-width: 62ch; margin: 12px 0 0; font-size: 17px; color: var(--muted); }
.act__sub { margin: 48px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.act .trust { margin-top: 20px; }

/* Avant / pendant / après */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: none; }
.flow__step { position: relative; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -27px; width: 20px; height: 20px; margin-top: -10px; border-top: 3px solid var(--amber); border-right: 3px solid var(--amber); transform: rotate(45deg); }
.flow__label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.flow__label span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-size: 13px; letter-spacing: 0; }
.flow__text { margin: 0; font-size: 16px; line-height: 1.65; }
.flow mark { padding: 1px 5px; border-radius: 5px; background: var(--mark); color: inherit; font-weight: 700; }
.flow .tok { padding: 1px 7px; border-radius: 6px; background: var(--amber); color: var(--ink); font-family: var(--mono); font-size: 0.88em; font-weight: 700; white-space: nowrap; }
.flow__step--ai { background: var(--ink); border-color: var(--ink); color: #f2f1ec; }
.flow__step--ai .flow__label { color: #cfcdc4; }
.flow__step--ai .flow__label span { background: var(--amber); color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .flow__step--ai { background: var(--amber-soft); border-color: var(--amber); color: var(--text); }
  .flow__step--ai .flow__label { color: var(--muted); }
}

/* Essai */
.field__meta { justify-content: space-between; align-items: center; }
.fine--try { max-width: 1120px; margin: 4px auto 0; padding: 0 20px; }

/* Déploiement */
.timeline { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline__step { position: relative; padding: 24px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.timeline__step:not(:last-child)::after { content: ""; position: absolute; top: 42px; right: -19px; width: 20px; height: 3px; background: var(--amber); }
.timeline__n { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 17px; font-weight: 800; }
.timeline__step h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.timeline__step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.biz__title { margin: 0; font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; color: #fff; }

@media (max-width: 900px) {
  .flow, .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline { gap: 16px; }
  .flow__step:not(:last-child)::after { top: auto; bottom: -22px; right: auto; left: 50%; margin: 0 0 0 -10px; transform: rotate(135deg); }
  .timeline__step:not(:last-child)::after { display: none; }
  .act__n { font-size: 48px; }
  .act__head { gap: 14px; }
}

/* ---------- Questions fréquentes et pied de page ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 8px; }
.faq__item { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq__item h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; }
.faq__item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.foot__link { color: var(--text); text-underline-offset: 3px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.foot__inner { row-gap: 14px; }
.foot .link { font-size: 13px; color: var(--text); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Contraste : le jaune seul est trop clair sur fond clair pour de gros chiffres (WCAG 3:1) */
.act__n { color: #a56f08; }
@media (prefers-color-scheme: dark) { .act__n { color: var(--amber); } }
