/*
 * Page d'accueil de ProjectLead (visiteur sans session sur « / »).
 * Visuel « Trait net » commun aux apps Lead : angles vifs, aucune ombre, Archivo seule, tout est cellule.
 * Couleur d'action de ProjectLead : ocre #9a6a00 (foncé #7a5400, pâle #fbf4e4). Texte ocre sur le fond gris :
 * toujours la teinte foncée (#7a5400), l'ocre ne passe 4,5:1 que sur blanc.
 */
:root {
  --bg: #eceae7; --panel: #ffffff; --muted: #f2f0ee; --head: #f7f5f3;
  --line-strong: #cfcac4; --line: #e7e4e0; --line-soft: #eeebe7;
  --ink: #1b1a19; --ink-2: #44403c; --ink-3: #57534e; --ink-muted: #6f6a64;
  --accent: #9a6a00; --accent-dark: #7a5400; --accent-pale: #fbf4e4; --on-accent: #ffffff; --accent-text: #7a5400;
  --ok: #16a34a; --ok-bg: #dcfce7; --ok-fg: #15803d;
  --warm: #ea580c; --warm-bg: #ffedd5; --warm-fg: #c2410c;
  --sl: #2563eb; --cl: #0f6e70; --il: #7a2e67; --gl: #c2185b; --vl: #c2410c; --ca: #a3401c; --el: #4338ca;
  --bezel: #1b1a19; --video: #1b1a19;
  --font: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --top: 56px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141413; --panel: #1c1b1a; --muted: #252422; --head: #211f1e;
    --line-strong: #3d3a37; --line: #2e2c2a; --line-soft: #292725;
    --ink: #f2efeb; --ink-2: #d6d1cb; --ink-3: #bdb6ae; --ink-muted: #a39c94;
    --accent: #e0ad45; --accent-dark: #f0c56a; --accent-pale: #2b2416; --on-accent: #141413; --accent-text: #e9b955;
    --ok-bg: #12321f; --ok-fg: #6fdc96; --warm-bg: #3a2010; --warm-fg: #fdab72;
    --bezel: #3d3a37; --video: #000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141413; --panel: #1c1b1a; --muted: #252422; --head: #211f1e;
  --line-strong: #3d3a37; --line: #2e2c2a; --line-soft: #292725;
  --ink: #f2efeb; --ink-2: #d6d1cb; --ink-3: #bdb6ae; --ink-muted: #a39c94;
  --accent: #e0ad45; --accent-dark: #f0c56a; --accent-pale: #2b2416; --on-accent: #141413; --accent-text: #e9b955;
  --ok-bg: #12321f; --ok-fg: #6fdc96; --warm-bg: #3a2010; --warm-fg: #fdab72;
  --bezel: #3d3a37; --video: #000;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; box-shadow: none; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.04; font-stretch: 86%; }
h3 { font-size: 20px; line-height: 1.2; }
p { margin: 0; }
ul.plain, ul.dash { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
.meta { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }

.sq { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .02em; }
.sq-pl { background: var(--accent); color: var(--on-accent); }
.sq-el { background: var(--el); }
.sq-s { width: 20px; height: 20px; font-size: 9px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--accent); cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-fill { background: var(--accent); color: var(--on-accent); }
.btn-fill:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-line { background: var(--panel); color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--accent); background: var(--accent-pale); }
.ico { width: 14px; height: 14px; fill: currentColor; }

.tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-left: 3px solid; line-height: 1.4; white-space: nowrap; }
.tag-ok { background: var(--ok-bg); color: var(--ok-fg); border-color: var(--ok); }
.tag-warm { background: var(--warm-bg); color: var(--warm-fg); border-color: var(--warm); vertical-align: 3px; margin-left: 6px; }

/* ------------------------------------------------------------ en-tête en cellules */
header.top { position: sticky; top: 0; z-index: 20; background: var(--panel); border-bottom: 1px solid var(--line-strong); padding-top: env(safe-area-inset-top, 0px); }
.cells { display: flex; align-items: stretch; min-height: var(--top); max-width: 1180px; margin: 0 auto; border-inline: 1px solid var(--line); }
.cells-nav { display: flex; align-items: stretch; }
.cell { display: flex; align-items: center; padding: 0 18px; border-right: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
a.cell:hover { background: var(--muted); color: var(--ink); }
.cell.is-on { color: var(--accent-text); font-weight: 800; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; }
.brand { gap: 10px; font-size: 16px; font-weight: 800; color: var(--ink); }
.brand .sq { background: var(--accent); color: var(--on-accent); width: 26px; height: 26px; }
.grow { flex: 1; border-right: 1px solid var(--line); }
.util { gap: 10px; border-left: 1px solid var(--line-strong); border-right: 0; padding: 0 12px; }
.util .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
/* L'en-tête tient sur une ligne dès 300 px. Jusqu'à 1000 px, les liens du menu sont plus serrés. Jusqu'à 580 px,
   « Se connecter » quitte l'en-tête : il reste dans le pied de chaque page. */
@media (max-width: 1000px) { .navlink { padding: 0 12px; } }
@media (max-width: 900px) { .cells-nav, .grow { display: none; } .cells { justify-content: space-between; } }
@media (max-width: 580px) { .util .login { display: none; } }
@media (max-width: 480px) { .cell.brand { padding: 0 12px; } .util { padding: 0 10px; } }
@media (max-width: 340px) { .cell.brand { gap: 8px; padding: 0 8px; } .util { padding: 0 8px; } }

/* ------------------------------------------------------------ héros */
.hero { padding-block: clamp(40px, 6vw, 72px) 24px; display: grid; gap: 22px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 98px); line-height: .93; font-weight: 900; font-stretch: 76%; letter-spacing: -.035em; max-width: 17ch; }
.hero-row { display: grid; gap: 20px; }
.hero-act { display: grid; gap: 14px; align-content: start; }
@media (min-width: 1000px) {
  .hero-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
  .hero-act { justify-items: start; }
}
.hero h1 span { display: block; color: var(--accent); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 62ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--ink-3); max-width: 70ch; }

.stage { position: relative; margin: clamp(28px, 5vw, 56px) 0 0; --py: 0; }
.frame { background: var(--panel); border: 1px solid var(--line-strong); }
.frame-bar { display: flex; align-items: stretch; height: 34px; border-bottom: 1px solid var(--line-strong); background: var(--head); font-size: 12px; color: var(--ink-3); }
.frame-bar > * { display: flex; align-items: center; }
.frame-bar .sq { align-self: center; margin: 0 10px; background: var(--accent); color: var(--on-accent); }
.frame-bar .url { padding: 0 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-bar .bar-fill { flex: 1; }
.frame picture, .frame img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .frame-hero img { aspect-ratio: 430 / 600; } }

.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line-strong); font-size: 13px; color: var(--ink-3); line-height: 1.35; transform: translateY(calc(var(--py) * var(--k, 0) * 1px)); }
.chip b { display: block; color: var(--ink); font-weight: 800; font-size: 14px; }
.chip::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--c, var(--accent)); }
.chip-crm { --c: var(--cl); --k: -.10; top: 16%; left: -32px; }
.chip-stage { --c: var(--ok); --k: -.16; top: 40%; right: -36px; }
.chip-timer { --k: -.06; top: -26px; right: 9%; }
.chip-il { --c: var(--il); --k: -.12; bottom: 9%; left: 7%; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.cap { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 1240px) { .chip-crm { left: 12px; } .chip-stage { right: 12px; } }
@media (max-width: 900px) {
  .stage { display: grid; grid-template-columns: 1fr 1fr; }
  .stage .frame-hero, .stage .cap { grid-column: 1 / -1; }
  .chip { position: relative; inset: auto; transform: none; border-top: 0; margin: 0; padding: 12px; }
  .chip:nth-of-type(odd) { border-right: 0; }
  .chip::before { display: none; }
  .chip-crm { order: 2; } .chip-stage { order: 3; } .chip-timer { order: 4; } .chip-il { order: 5; } .cap { order: 6; }
}
@media (max-width: 480px) { .stage { grid-template-columns: 1fr; } .chip:nth-of-type(odd) { border-right: 1px solid var(--line-strong); } .chip { gap: 10px; } }

/* ------------------------------------------------------------ chiffres */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--panel); margin-block: 40px 8px; }
.stat { padding: 22px 20px; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.stat:last-child { border-right: 0; }
.stat b { font-size: clamp(40px, 5vw, 60px); font-weight: 900; font-stretch: 76%; color: var(--accent-text); line-height: .95; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ------------------------------------------------------------ sections */
.sec { padding-block: clamp(48px, 7vw, 80px); }
.sec-head { display: grid; gap: 12px; margin-bottom: 28px; max-width: 780px; }
.sec-head p:not(.meta) { font-size: 18px; color: var(--ink-2); }

/* ------------------------------------------------------------ film */
.film { border: 1px solid var(--line-strong); background: var(--panel); }
.film-box { position: relative; aspect-ratio: 16 / 9; background: var(--video); overflow: hidden; }
.film-box video { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; background: rgba(20, 19, 18, .28); cursor: pointer; color: #fff; transition: background .2s, opacity .3s; }
.film-play:hover { background: rgba(20, 19, 18, .12); }
.film-play-sq { display: grid; place-items: center; width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); background: #9a6a00; transition: transform .2s var(--ease), background .2s; }
.film-play:hover .film-play-sq { transform: scale(1.06); background: #7a5400; }
.film-play-sq svg { width: 38%; height: 38%; fill: #fff; margin-left: 6%; }
.film-play-txt { font-weight: 800; font-size: 15px; background: #1b1a19; padding: 6px 12px; }
.film.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-bar { display: flex; align-items: stretch; border-top: 1px solid var(--line-strong); min-height: 46px; font-size: 14px; }
.fbtn { border: 0; border-right: 1px solid var(--line); background: transparent; padding: 0 18px; font-weight: 700; cursor: pointer; color: var(--ink); white-space: nowrap; }
.fbtn:hover:not(:disabled) { background: var(--muted); }
.fbtn[aria-pressed="true"] { color: var(--accent-text); background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; }
.fbtn:disabled { color: var(--ink-muted); cursor: default; }
.film-progress { flex: 1; align-self: center; height: 4px; margin: 0 18px; background: var(--line); position: relative; }
.film-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); }
.film-dur { display: flex; align-items: center; padding: 0 18px; border-left: 1px solid var(--line); color: var(--ink-3); white-space: nowrap; }
.film-texte { border-top: 1px solid var(--line); }
.film-texte summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.film-texte summary::-webkit-details-marker { display: none; }
.film-texte summary::after { content: "+"; font-weight: 800; color: var(--ink-muted); }
.film-texte[open] summary::after { content: "\2212"; }
.film-texte summary:hover { background: var(--muted); }
.film-texte ul { padding: 0 18px 18px; display: grid; gap: 6px; columns: 2; font-size: 15px; }
@media (max-width: 640px) { .film-dur { display: none; } .film-texte ul { columns: 1; } .fbtn { padding: 0 14px; } .film-progress { margin: 0 14px; } }

/* ------------------------------------------------------------ le relais */
.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--panel); }
.link { position: relative; padding: 20px 20px 24px; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.link:last-child { border-right: 0; }
.link::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; }
/* Au moins 2,5 s par maillon (retours du 14.11.2026, C3) : 3 maillons, un cycle de 7,5 s. */
.chain.in .link::before { animation: fill 7.5s infinite; animation-delay: calc(var(--i) * 2.5s); }
@keyframes fill { 0% { transform: scaleX(0); } 14%, 78% { transform: scaleX(1); opacity: 1; } 92%, 100% { transform: scaleX(1); opacity: 0; } }
.link .who { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); font-size: 14px; }
.link .verb { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; font-stretch: 78%; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.link-pl .verb { color: var(--accent-text); }
.link .doc { font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line-soft); padding-top: 10px; font-variant-numeric: tabular-nums; }
.link .doc b { display: block; color: var(--ink); font-weight: 700; }
.chain-foot { padding: 12px 20px; border: 1px solid var(--line-strong); border-top: 0; background: var(--head); font-size: 13px; color: var(--ink-3); }
@media (max-width: 820px) {
  .chain { grid-template-columns: 1fr; }
  .link { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 130px 1fr; align-items: center; gap: 8px 16px; }
  .link:last-child { border-bottom: 0; }
  .link .doc { grid-column: 1 / -1; }
  .link::before { bottom: 0; right: auto; width: 4px; height: auto; transform: scaleY(0); transform-origin: top; }
  .chain.in .link::before { animation-name: fillv; }
}
@keyframes fillv { 0% { transform: scaleY(0); } 14%, 78% { transform: scaleY(1); opacity: 1; } 92%, 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 400px) { .link { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ visite des fonctions */
.tour { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 0 44px; }
/* L'étape lue porte le trait ocre ; les autres restent lisibles (contraste AA), seulement plus discrètes. */
.step { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px 0 32px 24px; border-left: 3px solid var(--line-strong); transition: border-color .5s var(--ease); }
.step h3 { color: var(--ink-3); transition: color .5s var(--ease); }
.step.is-on { border-left-color: var(--accent); }
.step.is-on h3 { color: var(--ink); }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; font-stretch: 90%; }
.step > p:not(.meta) { font-size: 17px; }
.step .meta { color: var(--accent-text); }
ul.dash { display: grid; gap: 8px; font-size: 15px; }
ul.dash li { padding-left: 18px; position: relative; }
ul.dash li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 2px; background: var(--accent); }
.step-img { display: none; }
.tour-view { position: relative; }
.tour-sticky { position: sticky; top: calc(var(--top) + max(24px, (100vh - var(--top) - 520px) / 2)); }
.tour-shots { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; background: var(--bg); }
.tour-zoom { position: absolute; inset: 0; transform-origin: calc(var(--ox, 50) * 1%) calc(var(--oy, 50) * 1%); transform: scale(var(--zs, 1)); transition: transform 1.1s var(--ease), transform-origin 1.1s var(--ease); }
.shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.shot.is-on { opacity: 1; transform: none; }
.hl { position: absolute; left: calc(var(--x, 0) * 1%); top: calc(var(--y, 0) * 1%); width: calc(var(--w, 0) * 1%); height: calc(var(--h, 0) * 1%); border: 2px solid var(--accent); background: rgba(154, 106, 0, .07); opacity: 0; transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .4s; pointer-events: none; }
.hl.is-on { opacity: 1; }
.tour-dots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-top: 0; background: var(--panel); }
.tour-dots span { padding: 10px 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-align: center; border-right: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s, background-size .4s; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; }
.tour-dots span:last-child { border-right: 0; }
.tour-dots span.is-on { color: var(--accent-text); background-size: 100% 2px; }
@media (max-width: 1000px) {
  .tour { grid-template-columns: 1fr; }
  .tour-view { display: none; }
  .step { min-height: 0; padding: 0 0 48px; border-left: 0; }
  .step h3 { color: var(--ink); }
  .step-img { display: block; margin-top: 8px; border: 1px solid var(--line-strong); background: var(--panel); }
}
@media (max-width: 600px) {
  /* Au téléphone, l'écran entier serait illisible : on montre la zone qui compte, agrandie. */
  .step-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
  .step-img img { position: absolute; max-width: none; width: calc(var(--s) * 100%);
    left: clamp(calc((1 - var(--s)) * 100%), calc(50% - var(--cx) * var(--s) * 1%), 0%);
    top: clamp(calc((1 - var(--s) * .8333) * 100%), calc(50% - var(--cy) * var(--s) * .8333%), 0%); }
}

/* ------------------------------------------------------------ suivi client */
.client { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.points { display: grid; border: 1px solid var(--line-strong); background: var(--panel); }
.point { padding: 20px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.point:last-child { border-bottom: 0; }
.point h3 { font-size: 18px; }
.point p { font-size: 15px; }
.phones { display: flex; justify-content: center; gap: clamp(16px, 3vw, 36px); }
.phone { margin: 0; width: min(46%, 270px); display: grid; gap: 10px; }
.phone-b { margin-top: 56px; }
.phone-screen { position: relative; aspect-ratio: 430 / 932; overflow: hidden; border: 9px solid var(--bezel); border-top-width: 22px; border-bottom-width: 22px; background: var(--panel); }
.phone-screen img { width: 100%; height: auto; }
.phone figcaption { font-size: 13px; font-weight: 700; color: var(--ink-3); text-align: center; }
.phone-track { will-change: transform; }
.phones.in .phone-scroll .phone-track { animation: scrollphone 16s ease-in-out 1s infinite alternate; }
.phone-scroll:hover .phone-track { animation-play-state: paused; }
/* --end : jusqu'au bas de la capture du portail de la langue (site/build.mjs, phone.end). */
@keyframes scrollphone { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--end, -61.7%)); } }
@media (max-width: 860px) { .client { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ avec les applications Lead */
.flows { display: grid; border: 1px solid var(--line-strong); background: var(--panel); }
.flow { display: grid; grid-template-columns: minmax(0, 180px) 48px minmax(0, 210px) minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.flow:last-child { border-bottom: 0; }
.flow .who { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.flow .who .sq { width: 24px; height: 24px; font-size: 10px; }
.flow .who.apps { display: grid; grid-template-columns: repeat(7, 24px); gap: 4px; }
.flow .arrow { height: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.flow .arrow::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); }
.flows.in .flow .arrow::after { animation: run 2.4s var(--ease) infinite; }
.flows.in .flow:nth-child(2) .arrow::after { animation-delay: .4s; }
.flows.in .flow:nth-child(3) .arrow::after { animation-delay: .8s; }
@keyframes run { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (max-width: 820px) { .flow { grid-template-columns: auto 32px auto; } .flow p { grid-column: 1 / -1; } }
/* Les 7 carrés des applications : une ligne au-dessus de 480 px, 4 puis 3 entre 401 et 480 px. */
@media (max-width: 480px) { .flow .who.apps { grid-template-columns: repeat(4, 24px); } }
/* Jusqu'à 400 px, les deux côtés de chaque passage s'empilent, reliés par une flèche verticale. Les 7 carrés tiennent
   alors sur une ligne. */
@media (max-width: 400px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .flow .arrow { width: 2px; height: 18px; margin-left: 11px; }
  .flow .arrow::after { transform: translateY(-100%); }
  .flows.in .flow .arrow::after { animation-name: runv; }
  .flow .who.apps { grid-template-columns: repeat(7, 24px); }
}
@keyframes runv { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.more { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--panel); }
.more-item { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; background: var(--panel); }
.more-item:nth-child(4n) { border-right: 0; }
.more-item:nth-last-child(-n+4) { border-bottom: 0; }
.more-item h3 { font-size: 17px; }
.more-item p { font-size: 14.5px; }
@media (max-width: 980px) {
  .more { grid-template-columns: 1fr 1fr; }
  .more-item:nth-child(4n) { border-right: 1px solid var(--line); }
  .more-item:nth-child(2n) { border-right: 0; }
  .more-item:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .more-item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .more { grid-template-columns: 1fr; }
  .more-item { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .more-item:last-child { border-bottom: 0 !important; }
}

/* ------------------------------------------------------------ comment démarrer (étape 3, 08.11.2026) : 3 étapes et la ligne de visite */
.start { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--panel); }
.start-item { padding: 22px 20px 24px; border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.start-item:last-child { border-right: 0; }
.start-n { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: var(--on-accent); font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums; }
.start-item h3 { font-size: 20px; }
.start-item p { font-size: 15px; }
.start-tour { margin-top: 16px; }
@media (max-width: 820px) {
  .start { grid-template-columns: 1fr; }
  .start-item { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; }
  .start-item:last-child { border-bottom: 0; }
  .start-item .start-n { grid-row: span 2; }
}

/* ------------------------------------------------------------ tableau avant / avec */
.tablebox { overflow-x: auto; border: 1px solid var(--line-strong); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
thead th { background: var(--head); text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); padding: 12px 16px; border-bottom: 1px solid var(--line-strong); border-right: 1px solid var(--line); }
tbody th, td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); vertical-align: top; text-align: left; }
tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
th:last-child, td:last-child { border-right: 0; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
td.with { color: var(--ink); background: linear-gradient(90deg, var(--accent-pale), transparent 70%); }

/* ------------------------------------------------------------ tarifs */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--panel); }
.plan { position: relative; padding: 26px 24px; border-right: 1px solid var(--line); display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; min-width: 0; background: var(--panel); }
.plan:last-child { border-right: 0; }
.plan-free { background: var(--accent-pale); grid-template-rows: auto auto 1fr auto; }
.plan-free::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 4px; background: var(--accent); }
.plan-name { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.plan-free .plan-name { color: var(--accent-text); }
.plan-big { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; font-stretch: 80%; color: var(--ink); letter-spacing: -.02em; line-height: 1.05; }
.plan-big b { font-weight: 900; }
.plan .btn { width: 100%; }
/* Un seul prix mis en avant, de taille modérée, et le montant annuel juste dessous (C6). */
.plan-price { display: grid; gap: 2px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.plan-from { font-size: 15px; color: var(--ink-3); }
.plan-from b { font-size: 22px; font-weight: 900; font-stretch: 80%; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-billed { font-size: 13px; color: var(--ink-3); }
.plans-more { margin-top: 14px; border: 1px solid var(--line-strong); background: var(--panel); max-width: 80ch; }
.plans-more summary { cursor: pointer; list-style: none; min-height: 44px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 15px; color: var(--ink); }
.plans-more summary::-webkit-details-marker { display: none; }
.plans-more summary::after { content: "+"; font-weight: 800; color: var(--ink-muted); }
.plans-more[open] summary::after { content: "\2212"; }
.plans-more summary:hover { background: var(--muted); }
.plans-more p { padding: 0 16px 14px; font-size: 14px; color: var(--ink); }
.plans-foot { margin-top: 14px; font-size: 14px; color: var(--ink-3); max-width: 80ch; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line); } .plan:last-child { border-bottom: 0; } }

/* ------------------------------------------------------------ questions */
.faq { border: 1px solid var(--line-strong); background: var(--panel); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--ink-muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--muted); }
.faq details p { padding: 0 20px 20px; max-width: 72ch; }

/* ------------------------------------------------------------ appel final */
.final { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border: 1px solid var(--line-strong); background: var(--panel); }
.final > div { padding: 40px 32px; display: grid; gap: 18px; align-content: center; }
.final > div + div { border-left: 1px solid var(--line); }
.final h2 { font-size: clamp(34px, 5vw, 62px); font-weight: 900; font-stretch: 76%; line-height: .95; }
.final .fine { color: var(--ink-muted); }
.gantt-art { position: relative; display: grid; gap: 10px; padding: 14px 0; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--line) calc(20% - 1px) 20%); border-block: 1px solid var(--line); }
.gantt-art span { display: block; height: 22px; margin-left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); transition-delay: calc(var(--r) * 140ms + 200ms); }
.gantt-art span:nth-child(-n+2) { background: var(--ok); }
.final.in .gantt-art span { transform: none; }
@media (max-width: 760px) { .final { grid-template-columns: minmax(0, 1fr); } .final > div + div { border-left: 0; border-top: 1px solid var(--line); } .final > div { padding: 28px 20px; } }
/* Jusqu'à 400 px, un long libellé (« Kostenloses Konto erstellen ») passe à la ligne au lieu de sortir de l'écran. */
@media (max-width: 400px) { .ctas .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; } }

footer { border-top: 1px solid var(--line-strong); background: var(--panel); margin-top: 24px; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------ mouvements (seulement avec JS, jamais imposés) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .frame-hero { opacity: 0; transform: perspective(1800px) rotateX(9deg) translateY(36px) scale(.965); transform-origin: 50% 0; transition: opacity 1s var(--ease), transform 1.3s var(--ease); }
.js .stage.ready .frame-hero { opacity: 1; transform: none; }
@media (min-width: 901px) {
  .js .chip { opacity: 0; translate: 0 18px; transition: opacity .6s var(--ease), translate .7s var(--ease); }
  .js .stage.ready .chip { opacity: 1; translate: 0 0; }
  .js .stage.ready .chip-crm { transition-delay: .55s; }
  .js .stage.ready .chip-timer { transition-delay: .8s; }
  .js .stage.ready .chip-stage { transition-delay: 1.05s; }
  .js .stage.ready .chip-il { transition-delay: 1.3s; }
}
/* Cartes de même taille (fonctions, formules, guides ; retours du 14.11.2026, C4) : à la souris seulement, sur ordinateur,
   la carte survolée grandit un peu et passe devant ses voisines. Rien au doigt ni au défilement ; coupé par
   « réduire les animations » (bloc suivant). */
@media (hover: hover) and (pointer: fine) and (min-width: 1001px) {
  .more-item, .plan, .guide { position: relative; transition: transform .18s ease, box-shadow .18s ease; }
  .more-item:hover, .plan:hover, .plan:focus-within, .guide:hover, .guide:focus-visible { transform: scale(1.035); z-index: 2; outline: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(27, 26, 25, .22); }
}
@media (prefers-reduced-motion: reduce) {
  .more-item:hover, .plan:hover, .plan:focus-within, .guide:hover, .guide:focus-visible { transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .frame-hero, .js .chip { opacity: 1 !important; transform: none !important; translate: none !important; }
  .chain .link::before { transform: none; }
  .gantt-art span { transform: none; }
}

/* ============================================================ site public : langues, pages mots-clés, pied de page */
.langs { gap: 2px; padding: 0 10px; }
.lang { display: inline-grid; place-items: center; min-width: 30px; height: 30px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-decoration: none; color: var(--ink-3); }
a.lang:hover { background: var(--muted); color: var(--ink); }
.lang.is-on { color: var(--accent-text); background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; }
@media (max-width: 640px) { .langs { padding: 0 4px; } .lang { min-width: 26px; } }
/* Cinq langues dans l'en-tête (08.11.2026) : quand la place manque, sélecteur, liens et boutons resserrés, sans défilement de côté. */
@media (max-width: 1080px) { .langs { gap: 0; padding: 0 4px; } .lang { min-width: 26px; } }
@media (min-width: 901px) and (max-width: 1000px) { .navlink { padding: 0 8px; } .cell.brand { padding: 0 12px; } .util { padding: 0 10px; gap: 8px; } .util .btn { padding: 0 14px; } }
@media (max-width: 700px) { .langs { padding: 0 2px; } .lang { min-width: 22px; letter-spacing: 0; } .util { padding: 0 10px; } }
@media (max-width: 620px) { .util .btn-fill { padding: 0 12px; } }
@media (max-width: 480px) { .langs { display: none; } }
@media (max-width: 420px) { .util .btn-fill { padding: 0 10px; font-size: 12px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.art-hero h1 { font-size: clamp(36px, 5.6vw, 72px); line-height: .98; font-weight: 900; font-stretch: 78%; letter-spacing: -.03em; max-width: 22ch; overflow-wrap: anywhere; }
/* Sur un petit téléphone, le titre rapetisse pour qu'un long mot allemand (« Projektzeiterfassung ») tienne sur la
   ligne au lieu d'élargir la page. */
@media (max-width: 360px) { .art-hero h1 { font-size: 31px; } }
.art-figure { margin: clamp(20px, 4vw, 40px) 0 0; }
.art-sec { padding-block: clamp(28px, 4.5vw, 52px); }
.art-sec + .art-sec { border-top: 1px solid var(--line-strong); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.art-grid.art-solo { grid-template-columns: minmax(0, 780px); }
.prose { display: grid; gap: 16px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 38px); }
.prose p { font-size: 17px; max-width: 70ch; }
.prose a, .step a { color: var(--accent-text); font-weight: 700; text-underline-offset: 3px; }
.prose ul.dash { font-size: 16px; }
.art-shot { position: sticky; top: calc(var(--top) + 24px); }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr; gap: 24px; } .art-shot { position: static; } }
.phone-solo { margin: 0 auto; width: min(70%, 300px); }
.phone-solo .phone-screen { max-height: 560px; }

.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border: 1px solid var(--line-strong); background: var(--panel); }
.guide { display: grid; gap: 6px; align-content: start; padding: 20px; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; background: var(--panel); min-width: 0; }
.guide b { font-size: 18px; color: var(--ink); line-height: 1.2; }
.guide span:not(.meta) { font-size: 14.5px; color: var(--ink-3); }
.guide .meta { color: var(--accent-text); }
.guide:hover { background: var(--accent-pale); }
.guide:hover b { text-decoration: underline; text-underline-offset: 3px; }

.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; padding-block: 36px 8px; }
.foot-title { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.foot-list a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.foot-list a:hover { color: var(--ink); text-decoration: underline; }
/* Le bloc « La suite Lead » (data-lead-suite), le même sur les 8 sites : pastille, nom, phrase ; une ligne = un lien. */
.foot-apps .app-row { display: grid; grid-template-columns: 24px 104px minmax(0, 1fr); gap: 2px 12px; align-items: baseline; }
.foot-apps a.app-row { font-weight: 400; }
.foot-apps a.app-row:hover { text-decoration: none; }
.foot-apps a.app-row:hover b { color: var(--ink); text-decoration: underline; }
.foot-apps .sq { width: 24px; height: 24px; font-size: 10px; }
.foot-apps .app-row b { color: var(--ink-2); font-weight: 600; }
.foot-apps .app-line { color: var(--ink-3); }
.foot-apps .here-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.foot-apps .here-name b { color: var(--ink); font-weight: 800; }
.foot-apps .here-name small { font-size: 12px; font-weight: 700; color: var(--accent-text); }
.foot-today { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-today a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot-today a:hover { color: var(--ink); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 13px; }
.foot-langs a { color: var(--ink-3); font-weight: 600; text-decoration: none; }
.foot-langs a:hover { color: var(--ink); text-decoration: underline; }
footer .foot { border-top: 1px solid var(--line); margin-top: 20px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-suite { grid-column: 1 / -1; order: -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .foot-apps .app-row { grid-template-columns: 24px minmax(0, 1fr); } .foot-apps .app-line { grid-column: 2; } }

.nf { display: grid; gap: 18px; min-height: 60vh; align-content: center; }
.nf h1 { font-size: clamp(42px, 7vw, 88px); font-weight: 900; font-stretch: 76%; line-height: .95; }
