/* ═══════════════════════════════════════════════════════════
   QueryVision — site v3 · feuille de style partagée
   DA : papier chaud + ink + vert signal + accents chaleureux
   ═══════════════════════════════════════════════════════════ */

/* Commit Mono auto-hébergée (souveraineté — cohérent avec le site en prod et l'app) */
@font-face {
  font-family: "Commit Mono";
  src: url("assets/fonts/commit-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Commit Mono";
  src: url("assets/fonts/commit-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Commit Mono";
  src: url("assets/fonts/commit-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Commit Mono";
  src: url("assets/fonts/commit-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #F6F5F3;
  --paper-deep: #EEECE7;
  --warm: #F5EEE2;
  --ink: #0F151C;
  --ink-soft: #1C2431;
  --ink-raised: #232E3E;
  --ink-line: #28303C;
  --green: #03CF65;
  --green-dark: #0a7c42;
  --green-deep: #04331c;
  --terra: #D96A44;
  --terra-soft: #F6E3D9;
  --sun: #E8A33D;
  --sun-soft: #F8EDD8;
  --blue: #5B8E9A;
  --purple: #8C84D8;
  --purple-dark: #5f58bb;
  --body: #444c56;
  --body-on-ink: #aeb9c7;
  --line: #DDD9D1;
  --line-strong: #C9C4BA;
  --app-line: #e6ebe8;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "Commit Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --maxw: 76rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--sans); background: var(--paper); color: var(--ink);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: var(--green-deep); }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ── Typo système ── */
.kicker {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-dark);
  display: flex; align-items: center; margin-bottom: 1.25rem;
}
.kicker.center { justify-content: center; }
.on-ink .kicker { color: var(--green); }
h1, h2, h3 { letter-spacing: -0.02em; }
h2.sec-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; font-style: italic;
  line-height: 1.06; letter-spacing: -0.025em; max-width: 46rem;
}
h2.sec-title .hl-g { color: var(--green-dark); }
.sec-lead { margin-top: 1.25rem; max-width: 40rem; color: var(--body); font-size: 1.0625rem; }
.on-ink .sec-lead { color: var(--body-on-ink); }
.center h2.sec-title, h2.sec-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.9375rem;
  padding: 0.8125rem 1.5rem; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--green); color: var(--green-deep); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.on-ink .btn-primary { background: var(--green); color: var(--green-deep); }
.on-ink .btn-primary:hover { background: #fff; color: var(--ink); }
.on-ink .btn-ghost { border-color: var(--ink-line); color: #fff; }
.on-ink .btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ── Nav ── */
header.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
header.nav.scrolled { background: rgba(246, 245, 243, 0.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.875rem 1.5rem;
  display: flex; align-items: center; gap: 2.25rem;
}
.brand { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 1.75rem; margin: 0 auto; align-items: center; }
.nav-links > a, .nav-drop > button {
  text-decoration: none; font-size: 0.9375rem; font-weight: 600; color: var(--body);
  transition: color 0.15s ease; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); display: inline-flex; align-items: center; gap: 0.3125rem;
}
.nav-links > a:hover, .nav-drop:hover > button { color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 50px -18px rgba(15, 21, 28, 0.28);
  padding: 0.5rem; min-width: 14rem; display: none; z-index: 50;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-drop-menu a {
  display: block; text-decoration: none; font-size: 0.9063rem; font-weight: 600;
  color: var(--ink); padding: 0.5625rem 0.75rem; border-radius: 8px;
}
.nav-drop-menu a small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--body); }
.nav-drop-menu a:hover { background: var(--paper); }
.nav-cta { display: flex; gap: 0.625rem; }
.nav-cta .btn { padding: 0.5625rem 1.125rem; font-size: 0.875rem; }

/* ── Burger + menu mobile ── */
.nav-burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -20px rgba(15, 21, 28, 0.2);
  padding: 0.75rem 1.5rem 1.5rem; max-height: calc(100vh - 4rem); overflow-y: auto;
}
body.menu-open .mobile-menu { display: block; }
body.menu-open header.nav { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.mobile-menu .mm-label { font-family: var(--sans); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dark); margin: 1.125rem 0 0.25rem; }
.mobile-menu a { display: block; text-decoration: none; font-size: 1.0313rem; font-weight: 600; padding: 0.5rem 0; border-bottom: 1px solid var(--paper-deep); }
.mobile-menu a.mm-solo { font-weight: 700; }
.mobile-menu a.mm-cta { margin-top: 1.25rem; border-bottom: 0; text-align: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 0.8125rem 1.5rem; font-weight: 700; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ── Hero centré + scène animée ── */
.hero { padding: 8.5rem 0 0; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 34rem at 50% -6%, rgba(3, 207, 101, 0.10), transparent 62%),
    radial-gradient(44rem 30rem at 12% 30%, rgba(232, 163, 61, 0.09), transparent 60%),
    radial-gradient(44rem 30rem at 88% 34%, rgba(140, 132, 216, 0.08), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero.centered .hero-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4375rem 1rem; border: 1px solid var(--line-strong);
  border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, 0.6);
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--body);
}
.hero h1 {
  margin-top: 1.75rem; font-size: clamp(2.75rem, 6vw, 4.7rem);
  font-weight: 800; font-style: italic; line-height: 1.02; letter-spacing: -0.032em;
  max-width: 58rem;
}
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -0.06em; right: -0.06em; bottom: 0.04em;
  height: 0.32em; background: var(--green); z-index: -1; opacity: 0.85;
  transform: skewX(-8deg);
}
.hero-sub { margin-top: 1.75rem; font-size: 1.1875rem; color: var(--body); max-width: 44rem; }
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-ctas { margin-top: 2.25rem; display: flex; gap: 0.875rem; flex-wrap: wrap; }
.hero.centered .hero-ctas { justify-content: center; }
.hero-meta {
  margin-top: 2.25rem; display: flex; gap: 2.25rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.75rem; color: var(--body); letter-spacing: 0.04em;
}
.hero.centered .hero-meta { justify-content: center; }
.hero-meta span { display: flex; gap: 0.5rem; align-items: center; }
.hero-meta .tick { color: var(--green-dark); font-weight: 700; }

/* Scène façon Pigment : carte agent centrale + cartes flottantes */
.stage { position: relative; margin-top: 4.5rem; height: 40rem; }
.stage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 9rem;
  background: linear-gradient(180deg, transparent, var(--paper) 85%);
  pointer-events: none; z-index: 6;
}
.stage .fc {
  position: absolute; border-radius: 16px; overflow: hidden;
  filter: saturate(0.96); box-shadow: 0 24px 60px -22px rgba(15, 21, 28, 0.35);
  animation: drift 9s ease-in-out infinite;
}
.stage .fc img { width: 100%; height: auto; display: block; }
.stage .fc.dim { opacity: 0.55; filter: blur(1px) saturate(0.9); box-shadow: none; }
.stage .fc:nth-child(odd) { animation-duration: 11s; animation-delay: 1.2s; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.chat-card {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(30rem, 92vw); z-index: 5;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgba(15, 21, 28, 0.4);
  padding: 1.375rem 1.375rem 1.125rem; display: flex; flex-direction: column; gap: 1rem;
}
.chat-card .cc-head { display: flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 0.9688rem; }
.chat-card .cc-head svg { width: 24px; height: 24px; }
.chat-card .cc-head .cc-role { font-family: var(--sans); font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--body); font-weight: 500; margin-left: auto; }
.cm { opacity: 0; transform: translateY(10px); }
.in .cm { animation: cmIn 0.5s ease forwards; }
.in .cm-1 { animation-delay: 0.35s; } .in .cm-2 { animation-delay: 0.95s; } .in .cm-3 { animation-delay: 1.55s; } .in .cm-4 { animation-delay: 2.05s; }
@keyframes cmIn { to { opacity: 1; transform: none; } }
.cm-user {
  align-self: flex-end; max-width: 88%; background: var(--paper-deep);
  border-radius: 14px 14px 4px 14px; padding: 0.6875rem 1rem; font-size: 0.9063rem;
}
.cm-process { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--body); font-weight: 600; }
.cm-process svg { width: 15px; height: 15px; color: var(--green-dark); }
.cm-answer { font-size: 0.9063rem; }
.cm-doc {
  display: flex; align-items: center; gap: 0.625rem;
  border: 1px solid var(--line); border-radius: 10px; padding: 0.6875rem 0.875rem;
  font-weight: 700; font-size: 0.875rem; text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cm-doc:hover { border-color: var(--green-dark); background: #f7fcf9; }
.cm-doc svg { width: 16px; height: 16px; color: var(--green-dark); flex-shrink: 0; }
.cm-doc .cd-arr { margin-left: auto; color: var(--body); }
.cc-input {
  margin-top: 0.25rem; display: flex; align-items: center; gap: 0.75rem;
  border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem;
  color: #98a0a9; font-size: 0.9063rem; background: #fff;
}
.cc-input .plus { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; font-size: 0.875rem; color: var(--body); }
@media (max-width: 900px) {
  .stage { height: auto; padding-bottom: 1rem; }
  .stage .fc { display: none; }
  .stage::after { display: none; }
  .chat-card { position: static; transform: none; margin: 0 auto; }
}

/* ── Cadre produit (iframes) ── */
.shot {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--ink-line); background: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(15, 21, 28, 0.45);
}
.shot.light { background: #fff; border-color: var(--line); }
.shot-chrome {
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; background: var(--ink-soft);
  border-bottom: 1px solid var(--ink-line);
}
.shot.light .shot-chrome { background: #fafaf8; border-bottom-color: var(--app-line); }
.shot-chrome .url {
  font-family: var(--mono); font-size: 0.6875rem;
  color: var(--body-on-ink); background: var(--ink); border: 1px solid var(--ink-line);
  padding: 0.1875rem 1.25rem; border-radius: 6px; letter-spacing: 0.03em;
}
.shot.light .shot-chrome .url { color: var(--body); background: #fff; border-color: var(--app-line); }
.shot-viewport { position: relative; overflow: hidden; }
.shot-viewport iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }

/* ── Sections ── */
section { padding: 6.5rem 0; }
section.tight { padding: 5rem 0; }

/* ── Agents (cartes home) ── */
.agents-grid { margin-top: 3.5rem; display: grid; gap: 2rem; }
.agent-card {
  border-radius: calc(var(--radius) + 6px); overflow: hidden;
  display: grid; grid-template-columns: 5fr 7fr; min-height: 30rem;
  border: 1px solid var(--line);
}
.agent-card.qv { background: linear-gradient(135deg, #eaf6ee 0%, #dcf2e4 55%, #cdeedb 100%); }
.agent-card.sv { background: linear-gradient(135deg, #edecf7 0%, #e4e2f3 55%, #d6d3ec 100%); }
.agent-copy { padding: 3rem 2.75rem; display: flex; flex-direction: column; }
.agent-tag {
  align-self: flex-start; font-family: var(--sans); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.375rem 0.75rem;
  border-radius: 999px; background: var(--ink); color: #fff;
}
.agent-card.qv .agent-tag { background: var(--green-deep); color: var(--green); }
.agent-card.sv .agent-tag { background: #2f2a55; color: #c9c4f2; }
.agent-copy h3 { margin-top: 1.5rem; font-size: 2rem; font-weight: 800; font-style: italic; letter-spacing: -0.02em; line-height: 1.1; }
.agent-copy .role { font-family: var(--sans); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body); margin-top: 0.5rem; }
.agent-copy p.desc { margin-top: 1.25rem; color: var(--body); font-size: 1rem; }
.agent-feats { margin-top: 1.5rem; list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.agent-feats li { display: flex; gap: 0.625rem; font-size: 0.9375rem; font-weight: 500; }
.agent-feats li::before { content: "■"; font-size: 0.5rem; line-height: 2.2; color: var(--green-dark); }
.agent-card.sv .agent-feats li::before { color: var(--purple-dark); }
.agent-copy .agent-cta { margin-top: auto; padding-top: 1.75rem; }
.agent-copy .agent-cta a { font-weight: 700; font-size: 0.9375rem; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.agent-card.sv .agent-cta a { border-bottom-color: var(--purple); }
.agent-visual { position: relative; padding: 3rem 0 0 0; display: flex; align-items: flex-end; }
.agent-visual .shot { width: 100%; border-radius: var(--radius) 0 0 0; border-right: 0; border-bottom: 0; box-shadow: -20px 20px 60px -20px rgba(15, 21, 28, 0.30); }
@media (max-width: 960px) {
  .agent-card { grid-template-columns: 1fr; min-height: 0; }
  .agent-visual { padding: 0 0 0 2.75rem; }
}

/* ── Onglets métiers ── */
.tabs-bar {
  margin-top: 3rem; display: inline-flex; flex-wrap: wrap; gap: 0.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.375rem;
}
.tab-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--body);
  background: none; border: 0; border-radius: 8px; padding: 0.625rem 1.125rem; cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn svg { width: 16px; height: 16px; }
.tab-btn:hover { color: var(--ink); background: var(--paper); }
.tab-btn:focus-visible { box-shadow: 0 0 0 3px rgba(3, 207, 101, 0.3); }
.tab-btn.active { background: var(--ink); color: #fff; }
.tab-pane { display: none; margin-top: 2.5rem; }
.tab-pane.active { display: grid; grid-template-columns: 4fr 7fr; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .tab-pane.active { grid-template-columns: 1fr; } }
.tab-copy h3 { font-size: 1.75rem; font-weight: 800; font-style: italic; letter-spacing: -0.02em; }
.tab-copy p.t-desc { margin-top: 1rem; color: var(--body); font-size: 1rem; }
.tab-q {
  margin-top: 1.5rem; font-family: var(--mono); font-size: 0.78rem; line-height: 1.55;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--acc, var(--green));
  padding: 0.875rem 1rem; border-radius: 6px;
}
.tab-q::before { content: "› "; color: var(--acc, var(--green-dark)); font-weight: 700; }
.tab-corpus {
  margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
  background: var(--warm); border: 1px solid #E8DFCC; border-radius: 10px; padding: 0.875rem 1.125rem;
}
.tab-corpus .tc-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--sun-soft); color: #9a6b1a; display: grid; place-items: center; flex-shrink: 0; }
.tab-corpus .tc-ico svg { width: 17px; height: 17px; }
.tab-corpus p { font-size: 0.8125rem; color: var(--body); line-height: 1.45; }
.tab-corpus p b { color: var(--ink); }
.tab-more { margin-top: 1.5rem; }
.tab-more a { font-weight: 700; font-size: 0.9375rem; text-decoration: none; border-bottom: 2px solid var(--acc, var(--green)); padding-bottom: 2px; }

/* ── Maquettes app (light) ── */
.app-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 24px 60px -24px rgba(15, 21, 28, 0.25);
  font-size: 13px;
}
.app-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--app-line); }
.app-head .ah-glyph { width: 22px; height: 22px; flex-shrink: 0; }
.app-head .ah-title { font-weight: 700; font-size: 0.9375rem; }
.app-head .ah-sub { font-family: var(--sans); font-weight: 600; font-size: 0.6563rem; color: var(--body); letter-spacing: 0.06em; }
.app-head .ah-badge {
  margin-left: auto; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem; border-radius: 999px; background: #ecf8f1; color: var(--green-dark); border: 1px solid #d6f0e1;
}
.app-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.125rem; overflow-x: auto; }
.app-sec-title { font-weight: 700; font-size: 0.8125rem; margin-bottom: 0.625rem; }
.app-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.app-table th {
  text-align: left; font-family: var(--mono); font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--body);
  padding: 0.375rem 0.625rem; border-bottom: 1px solid var(--app-line);
}
.app-table td { padding: 0.5rem 0.625rem; border-bottom: 1px solid #f0f2ef; vertical-align: top; }
.chip { display: inline-block; font-size: 0.6875rem; font-weight: 600; padding: 0.125rem 0.5625rem; border-radius: 999px; white-space: nowrap; }
.chip.red { background: #fbe9e7; color: #b53d2e; }
.chip.yellow { background: #fdf3dc; color: #96690f; }
.chip.green { background: #e3f6eb; color: var(--green-dark); }
.chip.gray { background: #f2f4f7; color: #5b6571; }
.hm { display: grid; grid-template-columns: 7.5rem repeat(5, 1fr); gap: 3px; font-size: 0.6875rem; }
.hm .hm-h { font-family: var(--mono); font-size: 0.575rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--body); text-align: center; align-self: end; padding-bottom: 2px; }
.hm .hm-r { font-weight: 600; font-size: 0.71rem; display: flex; align-items: center; }
.hm .hm-c { height: 2rem; border-radius: 4px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.625rem; font-weight: 700; }
.hm .c1 { background: #e3f6eb; color: #0a7c42; }
.hm .c2 { background: #f4eec9; color: #8a7a10; }
.hm .c3 { background: #fdf3dc; color: #96690f; }
.hm .c4 { background: #fae3d5; color: #b0592f; }
.hm .c5 { background: #fbd9d3; color: #b53d2e; }
.chat { display: flex; flex-direction: column; gap: 0.875rem; }
.chat .msg-q { align-self: flex-end; max-width: 85%; background: #f2f4f7; border-radius: 12px 12px 2px 12px; padding: 0.625rem 0.9375rem; font-size: 0.8125rem; }
.chat .msg-a { display: flex; gap: 0.625rem; max-width: 95%; }
.chat .msg-a .qv-dot { width: 24px; height: 24px; border-radius: 6px; background: #ecf8f1; display: grid; place-items: center; flex-shrink: 0; }
.chat .msg-a .qv-dot svg { width: 13px; height: 13px; }
.chat .msg-a .a-body { font-size: 0.8125rem; line-height: 1.55; }
.chat .a-body ul { margin: 0.5rem 0 0 1rem; }
.chat .a-body li { margin-bottom: 0.25rem; }
.src-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.625rem; }
.src-chips span { font-family: var(--mono); font-size: 0.625rem; color: var(--body); background: #fafaf8; border: 1px solid var(--app-line); border-radius: 6px; padding: 0.1875rem 0.5625rem; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.625rem; }
.kpi { border: 1px solid var(--app-line); border-radius: 8px; padding: 0.75rem 0.875rem; }
.kpi .k-l { font-family: var(--mono); font-size: 0.575rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body); }
.kpi .k-v { font-family: var(--mono); font-size: 1.1875rem; font-weight: 700; margin-top: 0.25rem; letter-spacing: -0.02em; }
.kpi .k-d { font-size: 0.6563rem; margin-top: 0.1875rem; }
.kpi .k-d.up { color: var(--green-dark); } .kpi .k-d.down { color: #b53d2e; }
@media (max-width: 640px) { .kpi-row { grid-template-columns: 1fr 1fr; } }

/* ── Citation ── */
.quote-band { background: var(--warm); border-top: 1px solid #E8DFCC; border-bottom: 1px solid #E8DFCC; padding: 5.5rem 0; }
.quote-inner { max-width: 54rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.quote-inner blockquote { font-size: clamp(1.375rem, 2.6vw, 1.875rem); font-weight: 700; font-style: italic; letter-spacing: -0.02em; line-height: 1.35; }
.quote-inner blockquote .qm { color: var(--terra); }
.quote-author { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.quote-author .qa-role { font-size: 0.8125rem; color: var(--body); text-align: center; }

/* ── Souveraineté (dark) ── */
.sov { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.sov::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(46rem 26rem at 90% 0%, rgba(3, 207, 101, 0.07), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,0.02) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,0.02) 47px 48px);
  pointer-events: none;
}
.sov .wrap { position: relative; }
.sov-block-title {
  margin: 4.5rem 0 1.75rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
}

.flow { margin-top: 3rem; display: grid; grid-template-columns: 1fr 3.25rem 1fr 3.25rem 1.6fr; gap: 0; align-items: stretch; }
.flow-node { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 1.5rem 1.375rem; display: flex; flex-direction: column; gap: 0.5rem; }
.flow-node .fn-step { font-family: var(--sans); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--body-on-ink); }
.flow-node .fn-ico { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 0.375rem; }
.flow-node .fn-ico svg { width: 19px; height: 19px; }
.flow-node h4 { font-size: 1.0313rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.flow-node p { font-size: 0.8125rem; color: var(--body-on-ink); line-height: 1.5; }
.flow-node p b { color: #e8edf3; font-weight: 600; }
.flow-node.src .fn-ico { background: rgba(232, 163, 61, 0.14); color: var(--sun); }
.flow-node.intake .fn-ico { background: rgba(140, 132, 216, 0.16); color: #a8a2e2; }
.fn-tagline { margin-top: auto; padding-top: 0.625rem; font-family: var(--sans); font-weight: 700; font-size: 0.6563rem; letter-spacing: 0.06em; color: #a8a2e2; }
.flow-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem; position: relative; z-index: 2; }
.flow-link svg { width: 100%; height: 14px; overflow: visible; }
.flow-link .dash { stroke: var(--green); stroke-width: 2; stroke-dasharray: 5 7; animation: flowmove 1.1s linear infinite; }
.flow-link .fl-tag {
  font-family: var(--mono); font-size: 0.575rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--body-on-ink); white-space: nowrap;
  background: var(--ink); border: 1px solid var(--ink-line); border-radius: 999px;
  padding: 0.1875rem 0.5625rem;
}
@keyframes flowmove { to { stroke-dashoffset: -12; } }
.flow-node.infra {
  background: linear-gradient(160deg, #131b25 0%, #0e1a16 100%);
  border: 1.5px solid rgba(3, 207, 101, 0.55);
  box-shadow: 0 0 0 5px rgba(3, 207, 101, 0.06), 0 24px 60px -24px rgba(0,0,0,0.6);
}
.infra-head { display: flex; align-items: center; gap: 0.625rem; }
.infra-head .flag { display: inline-flex; height: 14px; border-radius: 2.5px; overflow: hidden; border: 0.5px solid rgba(255,255,255,0.25); }
.infra-head .flag i { width: 7px; height: 14px; display: block; }
.infra-head h4 { flex: 1; }
.infra-head .lock { color: var(--green); }
.infra-head .lock svg { width: 16px; height: 16px; }
.infra-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.625rem; }
.infra-tiles span {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; color: #e8edf3;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ink-line);
  border-radius: 8px; padding: 0.5625rem 0.6875rem;
}
.infra-tiles svg { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; }
.infra-foot { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--ink-line); font-family: var(--mono); font-size: 0.6563rem; color: var(--body-on-ink); letter-spacing: 0.04em; line-height: 1.7; }
.infra-foot b { color: var(--green); font-weight: 700; }
.flow-caption { margin-top: 1.5rem; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.71rem; color: var(--body-on-ink); letter-spacing: 0.04em; }
.flow-caption .ok { color: var(--green); font-weight: 700; }
.flow-caption .no { color: #d96459; font-weight: 700; }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-link { height: 3.25rem; flex-direction: row; justify-content: center; gap: 0.75rem; }
  .flow-link svg { display: none; }
  .flow-link::before {
    content: ""; width: 2px; height: 100%;
    background: repeating-linear-gradient(180deg, var(--green) 0 5px, transparent 5px 12px);
  }
  .flow-link .fl-tag { position: static; }
}

.sov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sov-card { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 1.625rem 1.5rem; }
.sov-card .s-num { font-family: var(--sans); font-weight: 700; font-size: 0.6875rem; color: var(--green); letter-spacing: 0.14em; }
.sov-card h3 { margin-top: 0.875rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.sov-card p { margin-top: 0.5rem; font-size: 0.8438rem; color: var(--body-on-ink); }
@media (max-width: 900px) { .sov-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sov-grid { grid-template-columns: 1fr; } }

.sov-shot { display: grid; grid-template-columns: 4fr 8fr; gap: 2.5rem; align-items: center; }
.sov-shot-copy h3 { font-size: 1.5rem; font-weight: 800; font-style: italic; color: #fff; letter-spacing: -0.02em; }
.sov-shot-copy p { margin-top: 0.875rem; font-size: 0.9375rem; color: var(--body-on-ink); }
.sov-shot-copy ul { margin-top: 1rem; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.sov-shot-copy li { display: flex; gap: 0.625rem; font-size: 0.875rem; color: #e8edf3; }
.sov-shot-copy li::before { content: "■"; font-size: 0.5rem; line-height: 2.1; color: var(--green); }
@media (max-width: 960px) { .sov-shot { grid-template-columns: 1fr; } }

/* Scaleway SecNumCloud + partenaires intégrés */
.secnum-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(120deg, rgba(79, 5, 153, 0.24), rgba(28, 36, 49, 0.6) 55%);
  border: 1px solid rgba(140, 132, 216, 0.35); border-radius: var(--radius);
  padding: 2.25rem 2.25rem 2rem;
}
.sn-brand { display: flex; flex-direction: column; align-items: center; gap: 0.875rem; padding-right: 2rem; border-right: 1px solid var(--ink-line); }
.sn-brand .sn-mark { width: 64px; height: 64px; border-radius: 16px; background: #4F0599; display: grid; place-items: center; }
.sn-brand .sn-mark svg { width: 38px; height: 38px; }
.sn-brand .sn-word { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.sn-brand .sn-sub { font-family: var(--sans); font-weight: 600; font-size: 0.6563rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body-on-ink); }
.secnum-card h3 { color: #fff; font-size: 1.375rem; font-weight: 800; font-style: italic; letter-spacing: -0.02em; padding-right: 9rem; }
.secnum-card .sn-copy > p { margin-top: 0.5rem; color: var(--body-on-ink); font-size: 0.9063rem; max-width: 40rem; }
.sn-badges {
  position: absolute; top: 1.25rem; right: 1.5rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.sn-badge { display: flex; flex-direction: column; align-items: center; gap: 0.3125rem; }
.sn-badge .snb-ico {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ink-line); display: grid; place-items: center;
}
.sn-badge .snb-ico svg { width: 30px; height: 30px; }
.sn-badge .snb-cap { font-family: var(--sans); font-weight: 600; font-size: 0.5625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--body-on-ink); text-align: center; line-height: 1.3; }
@media (max-width: 860px) {
  .secnum-card { grid-template-columns: 1fr; }
  .sn-brand { flex-direction: row; border-right: 0; padding-right: 0; border-bottom: 1px solid var(--ink-line); padding-bottom: 1.25rem; }
  .secnum-card h3 { padding-right: 0; }
  .sn-badges { position: static; margin-top: 1rem; }
}
.plogo-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.75rem; }
.plogo-row.cols4 { grid-template-columns: repeat(4, 1fr); max-width: 40rem; }
.plogo-row.cols6 { grid-template-columns: repeat(6, 1fr); max-width: 60rem; }
.plogo.default-tile { border-color: rgba(3, 207, 101, 0.45); }
.plogo .pl-chip { font-family: var(--sans); font-weight: 600; font-size: 0.5938rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
@media (max-width: 760px) { .plogo-row.cols6 { grid-template-columns: repeat(3, 1fr); } }
.plogo {
  text-decoration: none;
  background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 10px;
  padding: 1rem 0.5rem 0.8125rem; display: flex; flex-direction: column; align-items: center; gap: 0.5625rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.plogo:hover { border-color: var(--ink-raised); transform: translateY(-2px); }
.plogo svg { height: 26px; width: auto; }
.plogo .pl-name { font-size: 0.71rem; font-weight: 600; color: var(--body-on-ink); }
.plogo-cat { font-family: var(--sans); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body-on-ink); margin: 1.5rem 0 0.75rem; }
@media (max-width: 960px) { .plogo-row { grid-template-columns: repeat(4, 1fr); } }

/* ── Intégrations : boîtes façon Pigment ── */
.int-layout { margin-top: 3.25rem; display: grid; grid-template-columns: 4fr 8fr; gap: 3.5rem; align-items: start; }
@media (max-width: 960px) { .int-layout { grid-template-columns: 1fr; } }
.int-side h3 { font-size: 1.5rem; font-weight: 800; font-style: italic; letter-spacing: -0.02em; }
.int-side p { margin-top: 1rem; color: var(--body); font-size: 0.9688rem; }
.int-side ul { margin-top: 1.5rem; list-style: none; display: flex; flex-direction: column; }
.int-side li { display: flex; gap: 0.75rem; font-size: 0.9375rem; font-weight: 500; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.int-side li svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--green-dark); margin-top: 2px; }
.int-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .int-boxes { grid-template-columns: 1fr; } }
.int-box { border: 1px solid var(--line-strong); border-radius: 4px; padding: 2rem 1.5rem 1.5rem; position: relative; background: rgba(255,255,255,0.4); }
.int-box .ib-label {
  position: absolute; top: -0.8125rem; left: 1.25rem;
  font-family: var(--sans); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
  background: #fff; border: 1px solid var(--line-strong); padding: 0.25rem 0.75rem; color: var(--ink);
}
.int-box .ib-tiles { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.int-item { display: flex; flex-direction: column; align-items: center; gap: 0.4375rem; text-align: center; width: 4.75rem; }
.int-item .int-tile {
  width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.int-item:hover .int-tile { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(15,21,28,0.18); }
.int-item .int-tile svg { width: 26px; height: 26px; }
.int-item .int-name { font-size: 0.6875rem; font-weight: 600; color: var(--body); line-height: 1.25; }
.int-item.soon { opacity: 0.5; }
.int-item.soon .int-tile { border-style: dashed; }

/* ── Stories ── */
.stories { background: var(--paper-deep); border-top: 1px solid var(--line); }
.stories-grid { margin-top: 3.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.875rem; display: flex; flex-direction: column;
  border-top: 3px solid var(--sc, var(--green));
}
.story-card .st-sector { font-family: var(--sans); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--body); }
.story-card .st-num { margin-top: 1.25rem; font-size: 3.2rem; font-weight: 800; font-style: italic; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.story-card .st-num .u { font-size: 1.4rem; letter-spacing: 0; }
.story-card .st-what { margin-top: 0.5rem; font-weight: 700; font-size: 0.9688rem; }
.story-card p.st-desc { margin-top: 0.875rem; font-size: 0.875rem; color: var(--body); flex: 1; }
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr; } }
.stories-note { margin-top: 1.75rem; font-size: 0.75rem; color: var(--body); opacity: 0.7; }

/* ── CTA final (light) ── */
.cta-final { background: var(--warm); color: var(--ink); border-top: 1px solid #E8DFCC; text-align: center; padding: 7rem 0; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(42rem 24rem at 50% 120%, rgba(3, 207, 101, 0.13), transparent 60%); }
.cta-final .wrap { position: relative; }
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; font-style: italic; letter-spacing: -0.03em; line-height: 1.05; }
.cta-final p { margin: 1.5rem auto 0; max-width: 34rem; color: var(--body); }
.cta-final .hero-ctas { justify-content: center; }

/* ── Footer ── */
footer { background: var(--ink); color: var(--body-on-ink); border-top: 1px solid var(--ink-line); padding: 3.5rem 0 2.5rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 0.625rem; color: #fff; font-weight: 800; font-size: 1.0625rem; }
.foot-brand svg { width: 22px; height: 22px; }
.foot-base { font-family: var(--sans); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.04em; margin-top: 1rem; }
.foot-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.foot-links div { display: flex; flex-direction: column; gap: 0.5rem; }
.foot-links b { color: #fff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.11em; font-family: var(--sans); font-weight: 700; margin-bottom: 0.25rem; }
.foot-links a { text-decoration: none; font-size: 0.875rem; }
.foot-links a:hover { color: #fff; }
.foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.75rem; }
.foot-social { margin-top: 1.25rem; }
.foot-social a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-size: 0.8125rem; font-weight: 600; color: var(--body-on-ink); border: 1px solid var(--ink-line); border-radius: 999px; padding: 0.375rem 0.875rem; transition: color 0.15s ease, border-color 0.15s ease; }
.foot-social a:hover { color: #fff; border-color: var(--green); }
.foot-social svg { width: 15px; height: 15px; }

/* ── Formulaire de contact ── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 2.5rem 2.25rem; box-shadow: 0 30px 70px -30px rgba(15, 21, 28, 0.25); }
@media (max-width: 640px) { .form-card { padding: 1.75rem 1.5rem; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4375rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.8438rem; font-weight: 700; }
.form-field label .req { color: var(--terra); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: 0.9375rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.6875rem 0.875rem; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(3, 207, 101, 0.15); background: #fff; }
.form-field textarea { min-height: 8.5rem; resize: vertical; }
.intent-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.intent-chips input { position: absolute; opacity: 0; pointer-events: none; }
.intent-chips label {
  font-size: 0.8438rem; font-weight: 600; color: var(--body); cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0.4375rem 1rem;
  transition: all 0.15s ease;
}
.intent-chips input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.intent-chips input:focus-visible + label { box-shadow: 0 0 0 3px rgba(3, 207, 101, 0.3); }
.form-foot { margin-top: 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-rgpd { font-size: 0.75rem; color: var(--body); max-width: 26rem; }
.form-rgpd a { color: var(--green-dark); font-weight: 600; }
.form-status { font-size: 0.875rem; font-weight: 600; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #b53d2e; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── Sélecteur de langue ── */
.lang-drop { position: relative; }
.lang-drop > button {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--body); background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.4375rem 0.8125rem; cursor: pointer;
}
.lang-drop > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.lang-drop-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 20px 50px -18px rgba(15, 21, 28, 0.28);
  padding: 0.375rem; min-width: 8.5rem; display: none; z-index: 60;
}
.lang-drop:hover .lang-drop-menu, .lang-drop:focus-within .lang-drop-menu { display: block; }
.lang-drop-menu a { display: block; text-decoration: none; font-size: 0.8438rem; font-weight: 600; color: var(--ink); padding: 0.4375rem 0.625rem; border-radius: 6px; }
.lang-drop-menu a:hover { background: var(--paper); }
.lang-drop-menu a.active { color: var(--green-dark); }
@media (max-width: 960px) { .nav-inner > .lang-drop { display: none; } .mobile-menu .mm-langs { display: flex; gap: 0.5rem; margin-top: 1rem; } .mobile-menu .mm-langs a { border: 1px solid var(--line); border-radius: 8px; padding: 0.375rem 0.75rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; border-bottom: 1px solid var(--line); } }

/* ── Pages métiers / agents ── */
.page-hero { padding: 9.5rem 0 4rem; position: relative; overflow: hidden; text-align: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(52rem 30rem at 50% -10%, var(--ph-glow, rgba(3, 207, 101, 0.10)), transparent 62%),
    radial-gradient(40rem 26rem at 10% 30%, rgba(232, 163, 61, 0.07), transparent 60%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.page-hero .wrap .shot { width: 100%; }
.page-hero h1 { margin-top: 1.75rem; font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 800; font-style: italic; line-height: 1.04; letter-spacing: -0.03em; max-width: 52rem; }
.page-hero h1 .hl-g { color: var(--green-dark); }
.page-hero .hero-sub { margin-left: auto; margin-right: auto; }
.page-hero-visual { margin-top: 4rem; max-width: 56rem; margin-left: auto; margin-right: auto; }
.page-hero-visual img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(15, 21, 28, 0.45); }

.feat-rows { display: flex; flex-direction: column; gap: 6rem; }
.feat { display: grid; grid-template-columns: 5fr 6fr; gap: 4rem; align-items: center; }
.feat.rev .feat-copy { order: 2; }
.feat.rev .feat-visual { order: 1; }
@media (max-width: 900px) {
  .feat, .feat.rev { grid-template-columns: 1fr; gap: 2rem; }
  .feat.rev .feat-copy { order: 1; } .feat.rev .feat-visual { order: 2; }
}
.feat-copy .f-eb { font-family: var(--sans); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc-d, var(--green-dark)); margin-bottom: 0.875rem; }
.feat-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; font-style: italic; letter-spacing: -0.022em; line-height: 1.12; }
.feat-copy p { margin-top: 1rem; color: var(--body); font-size: 1rem; }
.feat-copy ul { margin-top: 1.375rem; list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.feat-copy li { display: flex; gap: 0.625rem; font-size: 0.9375rem; font-weight: 500; }
.feat-copy li::before { content: "■"; font-size: 0.5rem; line-height: 2.2; color: var(--acc-d, var(--green-dark)); }
.feat-visual img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 70px -26px rgba(15, 21, 28, 0.4); }

.corpus-band { background: var(--warm); border-top: 1px solid #E8DFCC; border-bottom: 1px solid #E8DFCC; padding: 3.5rem 0; }
.corpus-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; display: flex; gap: 1.5rem; align-items: center; }
.corpus-inner .en-mark { flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px; background: var(--sun); color: #4a3218; display: grid; place-items: center; font-weight: 800; font-size: 1.375rem; font-style: italic; }
.corpus-inner p { font-size: 1rem; color: var(--body); max-width: 56rem; }
.corpus-inner p strong { color: var(--ink); }

/* étapes (comment ça marche) */
.steps { margin-top: 3.25rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.25rem; position: relative; }
.step .st-n { font-family: var(--sans); font-weight: 700; font-size: 0.75rem; color: var(--green-dark); letter-spacing: 0.1em; }
.step h4 { margin-top: 0.75rem; font-size: 1.0313rem; font-weight: 800; }
.step p { margin-top: 0.375rem; font-size: 0.8125rem; color: var(--body); line-height: 1.5; }

/* bandeau sécurité compact (pages agents) */
.sec-band { background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 4px); padding: 2.75rem 2.75rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .sec-band { grid-template-columns: 1fr; } }
.sec-band h3 { font-size: 1.5rem; font-weight: 800; font-style: italic; letter-spacing: -0.02em; }
.sec-band p { margin-top: 0.75rem; color: var(--body-on-ink); font-size: 0.9375rem; max-width: 40rem; }
.sec-band .sb-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.sec-band .sb-chips span { font-family: var(--sans); font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid rgba(3,207,101,0.4); color: var(--green); border-radius: 999px; padding: 0.3125rem 0.8125rem; }

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; } .rv.d2 { transition-delay: 0.16s; } .rv.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .flow-link .dash, .stage .fc { animation: none; }
  .cm { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Filet liens email ──
   Retour visuel quand le visiteur n'a pas de client mail par défaut :
   l'adresse est copiée et affichée plutôt que rien. */
.mail-toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(0.75rem);
  z-index: 1000; display: flex; align-items: center; gap: 0.5625rem;
  background: var(--ink); color: #fff;
  font-size: 0.875rem; font-weight: 500;
  padding: 0.6875rem 1.125rem; border-radius: 12px;
  border: 1px solid #2d3848;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: calc(100vw - 2rem);
}
.mail-toast.in { opacity: 1; transform: translateX(-50%) translateY(0); }
.mail-toast .mt-dot {
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--green); flex: none;
}
@media (prefers-reduced-motion: reduce) {
  .mail-toast { transition: none; }
}
