/* Layout : structure Referly (accueil centré + maquette produit flottante, bandeau d'outils, chiffres, blocs alternés, 3 étapes, sécurité, personas, FAQ, appel final, pied sombre). Charte RACYN : marine + cuivre, mode clair forcé. */
:root {
  --bg: #FFFFFF;
  --soft: #F3F5F7;
  --tint: #FBF4EE;
  --ink: #14191E;
  --muted: #5A646D;
  --line: #E1E6EA;
  --marine: #33475B;
  --marine-deep: #1E2B38;
  --copper: #B86E33;
  --copper-soft: #F2E1D2;
  --ok: #2F7D5B;
  --on-dark: #EEF2F5;
  --on-dark-muted: #9FB0BF;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--copper); transform: rotate(45deg); }
.head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 999px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: #A35F29; }
.btn-dark { background: var(--marine-deep); color: var(--on-dark); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--bg); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Navigation */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand img { display: block; width: 84px; height: auto; }
header nav { display: flex; gap: 28px; font-size: 15px; }
header nav a { text-decoration: none; color: var(--muted); }
header nav a:hover { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
header.site.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.site.open .menu-btn span:nth-child(2) { opacity: 0; }
header.site.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.head-actions { display: flex; align-items: center; gap: 10px; }
header nav a, .head-actions .btn { white-space: nowrap; }
@media (max-width: 1020px) {
  .menu-btn { display: flex; }
  header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,30,40,.08); padding: 6px 20px 12px; font-size: 17px; }
  header.site.open nav { display: flex; }
  header nav a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  header nav a:last-child { border-bottom: 0; }
}

/* Accueil */
.hero { padding-block: 88px 40px; background: radial-gradient(1200px 420px at 50% 0%, var(--tint), var(--bg) 70%); overflow: hidden; }
.hero-text { text-align: center; display: grid; justify-items: center; gap: 22px; max-width: 860px; margin: 0 auto; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; font-weight: 700; }
.hero h1 .dim { color: var(--marine); opacity: .55; }
.hero .lead { font-size: 19px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stage { position: relative; max-width: 980px; margin: 64px auto 0; }
.window { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(30,43,56,.35); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.win-body { display: grid; grid-template-columns: 200px 1fr; min-height: 360px; }
.side { background: var(--marine-deep); color: var(--on-dark-muted); padding: 18px 14px; font-size: 13px; display: grid; align-content: start; gap: 6px; }
.side b { color: var(--on-dark); font-family: var(--font-display); font-size: 14px; margin-bottom: 8px; }
.side span { padding: 4px 8px; border-radius: 6px; }
.side span.on { background: rgba(255,255,255,.1); color: var(--on-dark); }
.chat { padding: 22px 24px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.av { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 500; background: var(--soft); color: var(--marine); }
.bot .av { background: var(--copper); color: #fff; }
.who { font-weight: 600; font-size: 14px; }
.who small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.msg p { font-size: 14.5px; }
.mini { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.mini table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mini th, .mini td { padding: 7px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.mini th { font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 500; background: var(--soft); }
.mini tr:last-child td { border-bottom: 0; }
.mini .n { text-align: right; }
.mini .up { color: var(--ok); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 8px; font-size: 13px; font-weight: 500; box-shadow: 0 12px 30px -14px rgba(30,43,56,.35); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; color: #fff; background: var(--marine); }
.chip .ic.c { background: var(--copper); }
.chip .ic.g { background: var(--ok); }
.chip.a { top: 70px; left: -70px; }
.chip.b { top: 190px; right: -80px; animation-delay: -2s; }
.chip.c { bottom: 60px; left: -40px; animation-delay: -4s; }
.chip.d { top: -18px; right: 90px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.illus { display: block; text-align: center; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 1100px) { .chip.a, .chip.c { left: 10px; } .chip.b { right: 10px; } }
@media (max-width: 720px) { .win-body { grid-template-columns: 1fr; } .side { display: none; } .chip { position: static; animation: none; } .chips-m { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; } }
@media (min-width: 721px) { .chips-m { display: contents; } }

/* Bandeau d'outils */
.tools { padding-block: 40px 64px; }
.tools p { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.tool-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.tool-row span { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #9AA5AF; letter-spacing: -0.01em; }

/* Chiffres */
.stats { background: var(--soft); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--bg); border-radius: var(--radius); padding: 32px; display: grid; gap: 10px; }
.stat strong { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--copper); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); }
@media (max-width: 820px) { .stat-grid { grid-template-columns: 1fr; } }

/* Blocs alternés */
.rows { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row:nth-child(even) .row-text { order: 2; }
.row-text { display: grid; gap: 16px; min-width: 0; }
.row-text h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.row-text ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.row-text li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--muted); }
.row-text li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; background: var(--copper); transform: rotate(45deg); }
.visual { background: var(--tint); border-radius: 20px; padding: 32px; min-width: 0; display: grid; gap: 12px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.src { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.src b { font-family: var(--font-display); font-weight: 600; }
.src small { color: var(--muted); display: block; font-size: 12.5px; }
.pill { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: #E3F1EA; color: var(--ok); white-space: nowrap; }
.pill.wait { background: var(--copper-soft); color: var(--copper); }
.rule { font-family: var(--font-mono); font-size: 13px; line-height: 1.8; }
.rule .k { color: var(--copper); }
.rule .m { color: var(--muted); }
.diff { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.diff dt { color: var(--muted); }
.diff dd { margin: 0; }
.diff s { color: var(--muted); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: 32px; } .row:nth-child(even) .row-text { order: 0; } }

/* 3 étapes */
.steps-sec { background: var(--marine-deep); color: var(--on-dark); }
.steps-sec .lead { color: var(--on-dark-muted); }
.steps-sec .eyebrow { color: #E2A877; }
.steps-sec .eyebrow::before { background: #E2A877; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; }
.step .n { font-family: var(--font-mono); font-size: 13px; color: #E2A877; }
.step h3 { font-size: 21px; line-height: 1.2; }
.step p { color: var(--on-dark-muted); font-size: 15px; }
.step .art { margin-top: 8px; display: grid; gap: 8px; }
.conn { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.06); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; }
.conn em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: #7FD1A8; }
.hub { position: relative; height: 170px; }
.hub svg { width: 100%; height: 100%; display: block; }
.feed { display: grid; gap: 8px; }
.feed-list > div { display: grid; grid-template-columns: 60px 1fr; gap: 10px; font-size: 13.5px; background: rgba(255,255,255,.06); border-radius: 10px; padding: 9px 12px; }
.feed b { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; color: #E2A877; padding-top: 2px; }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } }

/* Assistant + agents */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel h3 { font-size: 24px; }
.panel p { color: var(--muted); }
.panel .demo { background: var(--soft); border-radius: 14px; padding: 18px; display: grid; gap: 10px; margin-top: 8px; }
.flow { display: grid; gap: 0; }
.flow .card { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; }
.flow .card i { font-style: normal; width: 26px; height: 26px; border-radius: 7px; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; }
.flow .link { width: 2px; height: 14px; background: var(--line); margin-left: 28px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* Sécurité */
.secu { background: var(--soft); }
.secu-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.secu-top .head { margin-bottom: 0; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { background: var(--bg); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.feat .sym { width: 40px; height: 40px; border-radius: 10px; background: var(--marine); display: grid; place-items: center; }
.feat .sym svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 18px; }
.feat p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .four { grid-template-columns: 1fr; } }

/* Pour qui */
.personas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.persona { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.facet { width: 64px; height: 64px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); background: var(--marine); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.persona:nth-child(2) .facet { background: var(--copper); }
.persona:nth-child(3) .facet { background: #5E7487; }
.persona:nth-child(4) .facet { background: #8C5A35; }
.persona:nth-child(5) .facet { background: var(--ok); }
.persona h3 { font-size: 20px; }
.persona q { color: var(--muted); font-size: 15px; quotes: "« " " »"; }
@media (max-width: 1100px) { .personas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .personas { grid-template-columns: 1fr 1fr; } }

/* Support client */
.sup-sec { background: var(--tint); }
.sup-sec .visual { background: var(--bg); border: 1px solid var(--line); }
.sup-step { animation: supin 12s ease-in-out infinite; }
.sup-step:nth-child(2) { animation-delay: .8s; } .sup-step:nth-child(3) { animation-delay: 1.8s; } .sup-step:nth-child(4) { animation-delay: 3.2s; }
@keyframes supin { 0% { opacity: 0; transform: translateY(10px); } 6%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sup-time { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.sup-msg q { display: block; margin-top: 4px; color: var(--ink, inherit); quotes: "« " " »"; }
.sup-ok { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sup-ok .btn-v { font-family: var(--font-mono); font-size: 11px; padding: 5px 12px; border-radius: 999px; background: var(--marine); color: #fff; animation: popin 12s infinite; animation-delay: 3.2s; }
.chans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.chan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.chan h3 { font-size: 18px; }
.chan p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .chans { grid-template-columns: 1fr; margin-top: 40px; } }

/* Témoignages */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
.testi { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 22px; align-content: space-between; background: var(--bg); }
.testi blockquote { margin: 0; font-size: 17px; line-height: 1.6; quotes: "« " " »"; }
.testi blockquote::before { content: open-quote; } .testi blockquote::after { content: close-quote; }
.testi figcaption { display: flex; align-items: center; gap: 14px; }
.testi .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--marine); color: #fff; font-family: var(--font-display); font-weight: 700; }
.testi .co-logo { display: block; height: 26px; width: auto; }
.testi .co-mark { display: flex; align-items: center; gap: 10px; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -.2px; color: #1C2A47; }
.testi .co-mark img { height: 34px; width: auto; padding: 3px 5px; background: #1C2A47; border-radius: 7px; box-sizing: content-box; }
.testi figcaption b { display: block; font-family: var(--font-display); }
.testi figcaption small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } .testi { padding: 24px; } }
@media (max-width: 560px) { .personas { grid-template-columns: 1fr; } }

/* Pourquoi RACYN (bandeau court après les chiffres) */
.why-sec { padding-block: 56px 8px; }
.why { display: flex; gap: 24px; align-items: center; max-width: 820px; margin-inline: auto; padding: 28px 32px; border-radius: 20px; background: var(--tint); border: 1px solid var(--copper-soft); }
.why img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.why p { margin: 8px 0; font-size: 17px; color: var(--ink); }
.why a { color: var(--copper); font-weight: 600; text-decoration: none; font-size: 15px; }
.why a:hover { text-decoration: underline; }
@media (max-width: 560px) { .why { flex-direction: column; text-align: center; padding: 24px 20px; } }

/* Fondateur */
.founder-sec { background: var(--tint); }
.founder { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.portrait { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 6px solid var(--bg); box-shadow: 0 20px 50px -24px rgba(30,43,56,.45); }
.founder-text { display: grid; gap: 16px; min-width: 0; }
.founder-text p { color: var(--muted); max-width: 64ch; }
.founder-text .ctas { justify-content: flex-start; }
@media (max-width: 720px) { .founder-text .ctas { justify-content: center; } }
.contact-line a { color: inherit; user-select: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; justify-items: center; text-align: center; } .portrait { width: 160px; height: 160px; } .facts { justify-content: center; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-grid .head { margin-bottom: 0; position: sticky; top: 100px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--copper); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } .faq-grid .head { position: static; } }

/* Appel final */
.final { padding-block: 40px 104px; }
.final-box { background: var(--marine-deep); color: var(--on-dark); border-radius: 28px; padding: 72px 32px; text-align: center; display: grid; justify-items: center; gap: 20px; position: relative; overflow: hidden; }
.final-box::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: var(--copper); opacity: .18; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.final-box .kick { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #E2A877; }
.final-box h2 { max-width: 18ch; }
.final-box .lead { color: var(--on-dark-muted); }
.final-box .btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.25); }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; font-family: var(--font-mono); font-size: 13px; color: var(--on-dark-muted); user-select: all; }

/* Pied de page */
footer.site { background: var(--marine-deep); color: var(--on-dark-muted); padding-block: 64px 32px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; }
.foot img { width: 84px; filter: brightness(0) invert(1); opacity: .9; }
.foot .tagline { margin-top: 16px; max-width: 34ch; }
.foot h4 { margin: 0 0 14px; font-family: var(--font-display); color: var(--on-dark); font-size: 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-dark); }
.bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- Mouvement ---------- */
/* Fond de l'accueil : deux halos qui dérivent */
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
.blob { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite; }
.blob.one { background: var(--copper-soft); top: -220px; left: -160px; }
.blob.two { background: #DCE5EE; top: 160px; right: -200px; animation-delay: -9s; }
@keyframes drift { 50% { transform: translate(70px, 50px) scale(1.12); } }

/* Conversation qui se rejoue */
.chat { min-height: 330px; }
.pop { animation: pop .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.typing { display: inline-flex; gap: 4px; padding: 10px 12px; background: var(--soft); border-radius: 10px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.brief { margin: 8px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }
.done { display: inline-flex; margin-top: 8px; }
.side span.on { transition: background .3s; }

/* Pastilles : apparition échelonnée + onde sur l'icône */
.chip .ic { position: relative; }
.chip .ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; color: var(--copper); opacity: 0; animation: ring 3s ease-out infinite; }
.chip.b .ic::after { animation-delay: .8s; } .chip.c .ic::after { animation-delay: 1.6s; } .chip.d .ic::after { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.8); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.chip { animation: float 6s ease-in-out infinite, chipin .6s cubic-bezier(.2,.8,.2,1) both; }
.chip.a { animation-delay: -1s, .3s; } .chip.b { animation-delay: -2s, .6s; } .chip.c { animation-delay: -4s, .9s; } .chip.d { animation-delay: -3s, 1.2s; }
@keyframes chipin { from { opacity: 0; transform: scale(.85) translateY(10px); } }

/* Bandeau d'outils qui défile */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .tool-row { flex-wrap: nowrap; width: max-content; gap: 56px; padding-right: 56px; animation: slide 32s linear infinite; }
.marquee:hover .tool-row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tool-row span { white-space: nowrap; transition: color .2s; }
.tool-row span:hover { color: var(--marine); }

/* Chiffres : barre qui se remplit */
.stat .bar { height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-top: 6px; }
.stat .bar i { display: block; height: 100%; width: var(--w, 100%); background: var(--copper); border-radius: 4px; transform-origin: left; }
.stat.go .bar i { animation: fill 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fill { from { transform: scaleX(0); } }

/* Brancher : synchronisation en boucle */
.sync { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 6px; animation: beat 2.4s ease-in-out infinite; }
.visual .card:nth-child(2) .sync { animation-delay: .4s; } .visual .card:nth-child(3) .sync { animation-delay: .8s; }
@keyframes beat { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,125,91,.45); } 50% { box-shadow: 0 0 0 6px rgba(47,125,91,0); } }
.swap { position: relative; display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap .pill.wait { animation: sw-a 7s infinite; }
.swap .pill:not(.wait) { animation: sw-b 7s infinite; }
@keyframes sw-a { 0%, 55% { opacity: 1; } 60%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sw-b { 0%, 55% { opacity: 0; transform: scale(.8); } 62%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.spin { display: inline-block; width: 9px; height: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; margin-right: 6px; vertical-align: -1px; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.scan { position: relative; overflow: hidden; }
.scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(184,110,51,.12) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.5s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }

/* Croiser : les demandes arrivent, le verdict tombe */
.req { animation: req 8s ease-in-out infinite; }
.req + .req { animation-delay: 1.4s; }
@keyframes req { 0% { opacity: 0; transform: translateX(-14px); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.req .pill { animation: stamp 8s ease-in-out infinite; }
.req + .req .pill { animation-delay: 1.4s; }
@keyframes stamp { 0%, 14% { opacity: 0; transform: scale(1.8) rotate(-8deg); } 20%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.rule .line { display: block; animation: hl 8s infinite; }
.rule .line:nth-child(3) { animation-delay: .3s; } .rule .line:nth-child(4) { animation-delay: 1.7s; }
@keyframes hl { 0%, 10%, 30%, 100% { background: transparent; } 14%, 26% { background: var(--copper-soft); } }

/* Agir : message tapé puis champs qui se mettent à jour */
.typed { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 100%; vertical-align: bottom; border-right: 2px solid var(--copper); animation: type 7s steps(60) infinite, caret .7s step-end infinite; }
@keyframes type { 0% { width: 0; } 35%, 100% { width: 100%; } }
@keyframes caret { 50% { border-color: transparent; } }
.diff dd { border-radius: 4px; padding: 0 4px; margin-left: -4px; animation: upd 7s infinite; }
.diff dd:nth-of-type(1) { animation-delay: 0s; } .diff dd:nth-of-type(2) { animation-delay: .35s; } .diff dd:nth-of-type(3) { animation-delay: .7s; }
@keyframes upd { 0%, 40% { background: transparent; } 45%, 60% { background: #E3F1EA; } 75%, 100% { background: transparent; } }
.agir-pill { animation: popin 7s infinite; }
@keyframes popin { 0%, 50% { transform: scale(1); } 56% { transform: scale(1.18); } 62%, 100% { transform: scale(1); } }
@media (max-width: 560px) { .typed { white-space: normal; border-right: 0; animation: none; } }

/* Étapes */
.conn em { display: inline-flex; align-items: center; gap: 6px; }
.conn em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7FD1A8; animation: beat2 2s infinite; }
.conn:nth-child(2) em::before { animation-delay: .5s; } .conn:nth-child(3) em::before { animation-delay: 1s; }
@keyframes beat2 { 50% { box-shadow: 0 0 0 5px rgba(127,209,168,0); } 0% { box-shadow: 0 0 0 0 rgba(127,209,168,.6); } }
.hub .core { transform-origin: 150px 85px; animation: corepulse 2.4s ease-in-out infinite; }
@keyframes corepulse { 50% { transform: scale(1.08); } }
.feed { height: 132px; overflow: hidden; position: relative; }
.feed-list { display: grid; gap: 8px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.feed-list.shift { transform: translateY(-44px); }

/* Agents : l'étape active avance */
.flow .card { transition: border-color .3s, box-shadow .3s; animation: act 4.8s infinite; }
.flow .card:nth-child(1) { animation-delay: 0s; } .flow .card:nth-child(3) { animation-delay: 1.2s; } .flow .card:nth-child(5) { animation-delay: 2.4s; } .flow .card:nth-child(7) { animation-delay: 3.6s; }
@keyframes act { 0%, 25% { border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-soft); } 30%, 100% { border-color: var(--line); box-shadow: none; } }
.flow .link { position: relative; overflow: hidden; }
.flow .link::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: var(--copper); animation: drop 1.2s linear infinite; }
@keyframes drop { from { top: -6px; } to { top: 14px; } }
.ask { animation: askin 9s infinite; }
.ask:nth-child(2) { animation-delay: 3s; } .ask:nth-child(3) { animation-delay: 6s; }
@keyframes askin { 0%, 30%, 100% { border-color: var(--line); transform: none; } 4%, 26% { border-color: var(--copper); transform: translateX(6px); } }

/* Cartes : survol */
.feat, .persona, .stat, .panel { transition: transform .25s ease, box-shadow .25s ease; }
.feat:hover, .persona:hover, .stat:hover, .panel:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(30,43,56,.35); }
.persona .facet { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.persona:hover .facet { transform: rotate(72deg); }
.feat .sym { transition: transform .3s; }
.feat:hover .sym { transform: rotate(-8deg) scale(1.08); }

/* Appel final : facette qui tourne lentement */
.final-box::after { animation: turn 40s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.final-box::before { content: ""; position: absolute; width: 180px; height: 180px; left: -60px; bottom: -70px; background: #E2A877; opacity: .12; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); animation: turn 30s linear infinite reverse; }
.final-box > * { position: relative; z-index: 1; }

/* Apparition au défilement (seulement pour ce qui est hors écran au chargement) */
.rv { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.pre { opacity: 0; transform: translateY(28px); }
/* Signature fondateur dans l'accueil */
.by { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 14px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.by b { color: var(--ink); font-weight: 600; }
.by:hover { border-color: var(--copper); }

@media (max-width: 560px) { .hero .eyebrow { font-size: 10.5px; letter-spacing: .04em; } }

/* Offre */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offre { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; align-content: start; background: var(--bg); }
.offre.une { border: 2px solid var(--copper); box-shadow: 0 24px 60px -32px rgba(184,110,51,.45); }
.o-top { display: flex; justify-content: space-between; align-items: center; }
.o-n { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.badge { font-family: var(--font-display); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--copper); color: #fff; }
.badge.alt { background: var(--soft); color: var(--marine); }
.offre h3 { font-size: 22px; }
.offre p { color: var(--muted); }
.offre ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.offre li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; }
.offre li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--copper); transform: rotate(45deg); }
.offre .btn { justify-self: start; margin-top: 4px; }
.offre .o-link { font-size: 14.5px; color: var(--copper); font-weight: 600; text-decoration: none; }
.offre .o-link:hover { text-decoration: underline; }
.note-ex { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 36px; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 44px; align-items: center; scroll-margin-top: 96px; }
.note-ex > div { display: grid; gap: 14px; }
.note-ex h3 { font-size: 26px; }
.note-ex p { color: var(--muted); margin: 0; }
.note-img { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(20,30,40,.35); transform: rotate(-1.5deg); transition: transform .25s; }
.note-img:hover { transform: rotate(0) scale(1.02); }
.note-img img { display: block; width: 100%; height: auto; }
.note-chiffres { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note-chiffres li { border-left: 3px solid var(--copper); padding-left: 14px; display: grid; gap: 2px; }
.note-chiffres b { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.note-chiffres span { font-size: 14.5px; color: var(--muted); }
.note-mention { font-size: 13.5px; }
.note-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 860px) { .note-ex { grid-template-columns: 1fr; padding: 24px; gap: 28px; } .note-img { max-width: 260px; margin-inline: auto; } .note-chiffres { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .offres { grid-template-columns: 1fr; } }

/* Calculateur */
.calc-sec { background: var(--soft); }
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.calc-in, .calc-out { border-radius: var(--radius); padding: 32px; display: grid; gap: 26px; align-content: start; }
.calc-in { background: var(--bg); }
.calc-out { background: var(--marine-deep); color: var(--on-dark); }
.field { display: grid; gap: 10px; }
.field label { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
.field output { font-family: var(--font-display); font-weight: 700; color: var(--copper); font-variant-numeric: tabular-nums; white-space: nowrap; }
.field small { color: var(--muted); font-size: 13px; }
.field input[type=range] { width: 100%; accent-color: var(--copper); }
.big { display: grid; gap: 6px; }
.big strong { font-family: var(--font-display); font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -0.03em; color: #E2A877; font-variant-numeric: tabular-nums; }
.big span { color: var(--on-dark-muted); }
.calc-out .split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.calc-out .split b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.calc-out .split span { color: var(--on-dark-muted); font-size: 14px; }
.calc-out .note { color: var(--on-dark-muted); font-size: 13px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 24px; } }

/* Proposition accueil court */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--bg); }
.trio h3 { font-size: 21px; line-height: 1.2; }
.trio p { color: var(--muted); margin: 0; }
.suite { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.suite p { margin: 0; color: var(--muted); max-width: 60ch; }
.lien { color: var(--copper); font-weight: 600; text-decoration: none; }
.lien:hover { text-decoration: underline; }
.confiance { margin-top: 28px; padding: 18px 24px; border-radius: var(--radius); background: var(--soft); display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: 15px; }
.confiance span { display: inline-flex; align-items: center; gap: 9px; }
.confiance span::before { content: ""; width: 7px; height: 7px; background: var(--copper); transform: rotate(45deg); }
.confiance .lien { margin-left: auto; }
.sub main > section:first-child { padding-top: 72px; }
.sub h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; font-weight: 700; }
header nav a[aria-current] { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } .confiance .lien { margin-left: 0; } }

/* Pages par cas d'usage */
.uc-top { padding-bottom: 72px; }
.uc-ctas { justify-content: flex-start; margin-top: 8px; }
.uc-top .trio h3 { font-size: 19px; }
.uc-sec { background: var(--soft); }
.uc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.uc-steps li { background: var(--bg); border-radius: var(--radius); padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.uc-n { font-family: var(--font-mono); font-size: 13px; color: var(--copper); padding-top: 4px; }
.uc-steps h3 { font-size: 19px; margin-bottom: 8px; }
.uc-steps p { color: var(--muted); margin: 0; }
.uc-ex { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.uc-ex > div { display: grid; gap: 16px; }
.uc-ex h2 { font-size: clamp(24px, 3vw, 32px); }
.uc-ex p { color: var(--muted); margin: 0; }
.uc-dem h3 { font-size: 19px; }
.uc-dem ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.uc-dem li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.uc-dem li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; background: var(--copper); transform: rotate(45deg); }
.faq details p a { color: var(--copper); font-weight: 600; text-decoration: none; }
.usages a { text-decoration: none; color: inherit; display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); transition: transform .25s ease, box-shadow .25s ease; }
.usages a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(30,43,56,.35); }
.usages p { color: var(--muted); margin: 0; }
.usages .lien { font-size: 15px; }
@media (max-width: 860px) { .uc-steps, .uc-ex { grid-template-columns: 1fr; } .uc-ex { padding: 24px; gap: 28px; } }

/* Envoi du calcul par mail */
.calc-mail { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.calc-mail label { font-weight: 600; font-size: 15px; }
.cm-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-row input { flex: 1 1 200px; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--on-dark); font: inherit; }
.cm-row input::placeholder { color: var(--on-dark-muted); }
.cm-row input:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
.calc-out .cm-row .btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.25); cursor: pointer; font: inherit; font-weight: 600; }
.calc-mail .note a { color: inherit; }
.calc-mail .note.ok { color: #9FD8B4; }
.calc-mail .note.err { color: #F2B8A6; }
.cm-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Profondeur (21/11/2026) : liens par outil et par métier, glossaire */
.foot-plus { margin-top: 36px; display: grid; gap: 10px; font-size: 14px; }
.foot-plus p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-plus b { color: var(--on-dark); font-weight: 600; min-width: 84px; }
.uc-note { margin: 20px 0 0; color: var(--muted); }
.uc-dem .lien { margin-right: 14px; }
.liens-plus { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; color: var(--muted); }
.gloss { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gloss > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg); scroll-margin-top: 100px; }
.gloss dt { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.gloss dd { margin: 0; display: grid; gap: 10px; }
.gloss p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .gloss { grid-template-columns: 1fr; } }
.foot-plus a { text-decoration: none; }
.foot-plus a:hover { color: var(--on-dark); }

/* Deux entrées : équipe commerciale et service client (22/11/2026) */
.portes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.portes > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--bg); display: grid; gap: 14px; align-content: start; }
.portes h3 { font-size: 24px; line-height: 1.2; }
.portes p { color: var(--muted); margin: 0; }
.portes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.portes-note { text-align: center; color: var(--muted); margin: 24px auto 0; max-width: 70ch; }
.foot h4 a { color: inherit; }
.uc-dem ul + h3 { margin-top: 8px; }
@media (max-width: 860px) { .portes { grid-template-columns: 1fr; } .portes > div { padding: 24px; } }

/* Menu ouvrant (22/11/2026) */
.mm { position: static; display: flex; }
.mm-btn { font: inherit; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.mm-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.mm-btn:hover, .mm.open .mm-btn, .mm-btn.on { color: var(--ink); }
.mm-btn.on { font-weight: 600; }
.mm.open .mm-btn::after { transform: translateY(1px) rotate(225deg); }
.mm-panel { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(960px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(30,43,56,.35); padding: 28px; margin-top: 10px; }
.mm-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mm.open .mm-panel { display: block; }
#mm-produit { width: min(960px, calc(100vw - 48px)); }
.mm-cols { display: grid; gap: 28px; }
.mm-2 { grid-template-columns: 1fr 1fr; } .mm-3 { grid-template-columns: repeat(3, 1fr); } .mm-4 { grid-template-columns: repeat(4, 1fr); }
#mm-solutions { width: min(1080px, calc(100vw - 48px)); }
.mm-t { margin: 0 0 12px; padding-left: 10px; border-left: 3px solid var(--copper); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
header nav .mm-t a { color: var(--ink); }
header nav .mm-t a:hover { color: var(--copper); }
.mm-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
header nav .mm-panel li a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-size: 15.5px; white-space: normal; }
header nav .mm-panel li a:hover { background: var(--soft); }
.mm-panel li a::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--copper); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
header nav a.mm-band { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; white-space: normal; }
.mm-band b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 15.5px; }
.mm-go { color: var(--copper); font-weight: 600; white-space: nowrap; }
@media (max-width: 1020px) {
  .mm { display: block; border-bottom: 1px solid var(--line); }
  .mm-btn { width: 100%; justify-content: space-between; padding: 13px 0; color: var(--ink); }
  .mm-btn.on { font-weight: inherit; }
  .mm-panel, #mm-produit, #mm-solutions { position: static; transform: none; width: auto; border: 0; box-shadow: none; padding: 0 0 12px; margin: 0; border-radius: 0; }
  .mm-panel::before { display: none; }
  .mm-cols, .mm-2, .mm-3, .mm-4 { grid-template-columns: 1fr; gap: 16px; }
  header nav .mm-t a, header nav .mm-panel li a { border-bottom: 0; }
  header nav .mm-t a { padding: 0; }
  header nav .mm-panel li a { padding: 8px 4px; font-size: 16px; }
  header nav a.mm-band { display: none; }
  header nav { max-height: calc(100vh - 68px); overflow-y: auto; }
}
.i-chat { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v11H10l-5 4v-4H4z%22/%3E%3C/svg%3E"); }
.i-layers { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l9 5-9 5-9-5z M3 13l9 5 9-5%22/%3E%3C/svg%3E"); }
.i-flag { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 21V4 M5 4h13l-3 4 3 4H5%22/%3E%3C/svg%3E"); }
.i-link { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 15l6-6 M11 6l1.5-1.5a4.2 4.2 0 0 1 6 6L17 12 M13 18l-1.5 1.5a4.2 4.2 0 0 1-6-6L7 12%22/%3E%3C/svg%3E"); }
.i-chart { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4v16h16 M8 16v-4 M12 16V8 M16 16v-6%22/%3E%3C/svg%3E"); }
.i-table { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v14H4z M4 10h16 M10 10v9%22/%3E%3C/svg%3E"); }
.i-cal { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6h16v14H4z M4 10h16 M8 3v4 M16 3v4%22/%3E%3C/svg%3E"); }
.i-casque { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 14a8 8 0 0 1 16 0 M4 13h3v6H4z M17 13h3v6h-3z%22/%3E%3C/svg%3E"); }
.i-user { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8z M4 21a8 8 0 0 1 16 0%22/%3E%3C/svg%3E"); }
.i-liste { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6h11 M4 12h11 M4 18h6 M15 17l2 2 4-5%22/%3E%3C/svg%3E"); }
.i-boucle { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 11a8 8 0 0 0-14.5-4L4 9 M4 4v5h5 M4 13a8 8 0 0 0 14.5 4L20 15 M20 20v-5h-5%22/%3E%3C/svg%3E"); }
.i-doc { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h9l4 4v14H6z M9 12h7 M9 16h7%22/%3E%3C/svg%3E"); }
.i-immeuble { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 21V4h9v17 M14 10h5v11 M3 21h18 M8 8h3 M8 12h3 M8 16h3%22/%3E%3C/svg%3E"); }
.i-cible { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16z M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z%22/%3E%3C/svg%3E"); }
.i-users { --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8z M2 21a7 7 0 0 1 14 0 M16 4.5a4 4 0 0 1 0 7 M18 14.5a7 7 0 0 1 4 6.5%22/%3E%3C/svg%3E"); }
@media (min-width: 1021px) { header nav { align-self: stretch; align-items: center; } .mm { align-self: stretch; align-items: center; } }

/* Vidéo avant / après (accueil) */
.video-sec { padding-top: 24px; }
.video { display: block; width: 100%; max-width: 960px; height: auto; aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 18px; background: #1E2B38; box-shadow: 0 30px 60px -34px rgba(30,43,56,.55); }

/* Agents par rôle (accueil) */
.agents-sec { padding-top: 0; }
.equipes { display: grid; gap: 88px; }
.equipe { display: grid; gap: 32px; }
.equipe-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.equipe-head .eyebrow { flex-basis: 100%; }
.equipe-head h3 { font-size: 30px; line-height: 1.15; }
.equipe-n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.equipe-head .lien { margin-left: auto; }
.agents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.agents li { display: grid; }
.agent { position: relative; display: grid; gap: 20px; align-content: start; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a.agent:hover { border-color: var(--copper); box-shadow: 0 14px 34px rgba(30,43,56,.08); transform: translateY(-2px); }
.agent-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; }
.agent-tx { display: grid; gap: 10px; }
.agent-tx b { font-family: var(--font-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.agent-tx span { color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 44ch; }
.agent-tx small { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--marine); font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.agent-tx small::before { content: "✓"; color: var(--ok); }
.agent-go { position: absolute; top: 36px; right: 36px; color: var(--copper); font-weight: 600; font-size: 20px; opacity: .35; transition: opacity .2s ease, transform .2s ease; }
a.agent:hover .agent-go { opacity: 1; transform: translateX(3px); }
.agent-mesure { border-style: dashed; background: var(--tint); }
.agent-mesure .agent-ic { background: var(--bg); }
.agents-sec .portes-note { margin-top: 56px; }
@media (max-width: 860px) { .agents { grid-template-columns: 1fr; gap: 16px; } .equipes { gap: 64px; } .agent { padding: 28px; } .agent-go { top: 28px; right: 28px; } .equipe-head h3 { font-size: 25px; } .equipe-head .lien { margin-left: 0; flex-basis: 100%; } }
/* Section éducative « Comprendre » (accueil) */
.niveaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.niveau { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: grid; gap: 14px; align-content: start; background: var(--bg); }
.jauge { display: flex; gap: 6px; margin-bottom: 10px; }
.jauge i { width: 34px; height: 6px; border-radius: 99px; background: var(--line); }
.jauge i.on { background: var(--copper); }
.niveau-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.niveau h3 { font-size: 24px; line-height: 1.2; }
.niveau p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.niveau p.dit { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.35; }
.niveau-1 { background: var(--soft); border-color: transparent; }
.niveau-3 { background: var(--marine-deep); border-color: transparent; }
.niveau-3 h3, .niveau-3 p.dit { color: var(--on-dark); }
.niveau-3 p, .niveau-3 .niveau-n { color: var(--on-dark-muted); }
.niveau-3 .jauge i.on { background: #E2A877; }
.journee { position: relative; margin-top: 88px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; background: var(--tint); border: 1px solid var(--copper-soft); border-radius: 20px; padding: 56px; }
.journee-tx { display: grid; gap: 18px; align-content: start; }
.journee-tx h3 { font-size: 30px; line-height: 1.15; }
.journee-tx p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.journee-fil { list-style: none; margin: 0; padding: 0; display: grid; }
.journee-fil li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 20px 0; align-items: baseline; }
.journee-fil li + li { border-top: 1px solid var(--copper-soft); }
.journee-fil li:first-child { padding-top: 0; }
.journee-fil time { font-family: var(--font-mono); font-size: 14px; color: var(--copper); font-weight: 600; }
.journee-fil span { display: grid; gap: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.journee-fil b { color: var(--ink); font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; }
.journee-ex { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; margin-top: -24px; }
@media (max-width: 960px) { .niveaux { grid-template-columns: 1fr; gap: 16px; } .journee { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; margin-top: 56px; } .journee-tx h3 { font-size: 25px; } .niveau { padding: 28px; } .journee-ex { margin-top: 0; text-align: left; } }

/* Visuel des pages agents : aperçu de ce que l'agent produit (04/12/2026) */
.uc-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; margin-bottom: 56px; }
.uc-hero .head { margin-bottom: 0; }
.uc-hero .mock-zone { display: grid; gap: 10px; justify-items: center; }
.agav { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--marine); color: var(--marine); position: relative; }
.agav.b { background: var(--copper); color: var(--copper); } .agav.c { background: var(--ok); color: var(--ok); } .agav.d { background: #6E5A8A; color: #6E5A8A; }
.agav::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: #3DBE7B; border: 2px solid var(--bg); }
.mock { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px -34px rgba(30,43,56,.38); overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-who { display: flex; align-items: center; gap: 12px; }
.mock-who b { display: block; font-family: var(--font-display); font-size: 16px; }
.mock-who span:not(.agav):not(.mock-st) { display: block; font-size: 13px; color: var(--muted); }
.mock-st { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.mock-st::before { content: "● "; }
.mock-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.mock-card > b { font-family: var(--font-display); font-size: 17px; }
.mock-card > span { font-size: 13.5px; color: var(--muted); }
.mock-card dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.mock-card dt { color: var(--muted); }
.mock-card dd { margin: 0; font-weight: 500; }
.mock-ok { color: var(--ok); font-weight: 600; }
.mock-ok::before { content: "✓ "; }
.mock-mail { background: var(--tint); border: 1px dashed var(--copper-soft); border-radius: 14px; padding: 14px 18px; display: grid; gap: 6px; }
.mock-mail span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--copper); }
.mock-mail p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.mock-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.mock-o { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mock-btn { font-size: 14px; font-weight: 600; color: #fff; background: var(--marine-deep); border-radius: 99px; padding: 9px 16px; }
.mock-zone .illus, .mock-ex { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .uc-hero { grid-template-columns: 1fr; gap: 36px; } }
.mock-l { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.mock-l li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-l b { font-size: 14.5px; font-weight: 600; }
.mock-l span { grid-column: 1; font-size: 13px; color: var(--muted); }
.mock-l em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--marine); background: var(--soft); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }

/* Schéma « Comment travaille l'agent » */
.sch-sec { padding-block: 24px 96px; }
.sch { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1.25fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr); align-items: stretch; }
.sch-col { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--bg); display: grid; gap: 12px; align-content: start; }
.sch-t { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sch ul, .sch ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sch-src li { font-size: 14.5px; font-weight: 600; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.sch-src li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--marine); margin-right: 9px; vertical-align: 1px; }
.sch-fl { position: relative; }
.sch-fl::before { content: ""; position: absolute; left: 6px; right: 10px; top: 50%; border-top: 2px dashed var(--copper); }
.sch-fl::after { content: ""; position: absolute; right: 4px; top: calc(50% - 5px); border: 6px solid transparent; border-left: 8px solid var(--copper); border-right: 0; }
.sch-agent { background: var(--marine-deep); border-color: var(--marine-deep); color: var(--on-dark); }
.sch-a-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.sch-a-h b { display: block; font-family: var(--font-display); font-size: 16px; color: #fff; }
.sch-a-h span:not(.agav) { display: block; font-size: 13px; color: var(--on-dark-muted); }
.sch-agent .agav::after { border-color: var(--marine-deep); }
.sch-agent li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: #fff; }
.sch-agent u { text-decoration: none; font-family: var(--font-mono); font-size: 11px; color: #E2A877; }
.sch-out li { font-size: 14.5px; font-weight: 600; padding: 11px 12px; border-radius: 10px; background: var(--tint); border: 1px solid var(--copper-soft); }
.sch-hum { background: var(--tint); border-color: var(--copper-soft); }
.sch-hum b { font-family: var(--font-display); font-size: 18px; }
.sch-hum span { color: var(--muted); font-size: 14.5px; }
.sch-hum em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); }
.sch-hum em::before { content: "✓ "; }
@media (max-width: 960px) {
  .sch { grid-template-columns: 1fr; }
  .sch-fl { height: 34px; }
  .sch-fl::before { left: 50%; right: auto; top: 4px; bottom: 10px; border-top: 0; border-left: 2px dashed var(--copper); }
  .sch-fl::after { right: auto; left: calc(50% - 5px); top: auto; bottom: 2px; border: 6px solid transparent; border-top: 8px solid var(--copper); border-bottom: 0; }
}
