/* ==========================================================
   VAILS Agents — Site marketing styles
   ========================================================== */

/* tokens.css et les polices (Inter, JetBrains Mono, Material Icons Outlined)
   sont chargés via <link> dans le <head> de chaque page. */

/* ==========================================================
   Task demo (Hyperviseur)
   ========================================================== */
.task-demo {
  max-width: 920px;
  margin: 0 auto;
  background: #0f1530;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 80px -24px rgba(15, 21, 48, 0.55), 0 8px 24px rgba(106, 76, 224, 0.18);
  border: 1px solid rgba(123, 224, 240, 0.12);
}
.task-demo__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(180deg, #1a2147, #141b3a);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.task-demo__dots { display: flex; gap: 6px; }
.task-demo__dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.task-demo__dots span:first-child { background: #ff6058; }
.task-demo__dots span:nth-child(2) { background: #ffbd2d; }
.task-demo__dots span:nth-child(3) { background: #28c93f; }
.task-demo__title {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
}
.task-demo__meter {
  display: flex; align-items: center; gap: 6px;
  color: #7be0f0;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.task-demo__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7be0f0;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.task-demo__body {
  padding: 24px;
  min-height: 520px;
  max-height: 640px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.task-demo__body::-webkit-scrollbar { width: 6px; }
.task-demo__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.td-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: fade-up 0.4s ease-out both;
}
.td-row--user { justify-content: flex-end; }
.td-avatar {
  width: 36px; height: 36px;
  image-rendering: pixelated;
  flex-shrink: 0;
  background: rgba(123, 224, 240, 0.08);
  border-radius: 8px;
  padding: 2px;
}
.td-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.92);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 80%;
}
.td-bubble--user {
  background: var(--pixel-purple);
  border-color: transparent;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.td-bubble--think {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-size: 13px;
}
.td-bubble--run {
  display: flex; align-items: center; gap: 10px;
  background: rgba(123, 224, 240, 0.08);
  border-color: rgba(123, 224, 240, 0.25);
  color: #7be0f0;
  font-weight: 600;
}
.td-bubble--result {
  background: rgba(134, 239, 172, 0.06);
  border-color: rgba(134, 239, 172, 0.2);
}

.td-spinner {
  width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #7be0f0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.td-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #7be0f0;
  box-shadow: 0 0 0 0 #7be0f0;
  animation: pulse-glow 1.2s ease-out infinite;
}
.td-caret {
  display: inline-block;
  animation: blink 1s steps(2) infinite;
  color: rgba(255,255,255,0.7);
  margin-left: 2px;
}

.td-label {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.td-agents { display: flex; flex-wrap: wrap; gap: 8px; }
.td-agent-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(106, 76, 224, 0.18);
  border: 1px solid rgba(106, 76, 224, 0.4);
  color: #c4b5fd;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  animation: fade-up 0.4s ease-out both;
}
.td-agent-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7be0f0;
}
.td-config {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.td-config li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-family);
  font-weight: 500;
  line-height: 1.45;
  animation: fade-up 0.4s ease-out both;
}
.td-check {
  color: #86efac;
  font-weight: 700;
  flex-shrink: 0;
}
.td-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.td-result-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  animation: fade-up 0.4s ease-out both;
}
.td-result-label {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.td-result-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.task-demo__input {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  background: #0a0f24;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.task-demo__input input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-family);
  font-size: 14px;
  outline: none;
}
.task-demo__input button {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 10px;
  opacity: 0.6;
}

/* Examples grid */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.example-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 20px;
  box-shadow: 0 4px 0 rgba(106, 76, 224, 0.18);
}
.example-card__quote {
  position: absolute;
  top: 8px; left: 18px;
  font-family: 'Georgia', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--pixel-purple);
  opacity: 0.25;
  line-height: 1;
}
.example-card p {
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 16px;
}
.example-card__foot {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pixel-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.example-card__foot .material-icons-outlined { font-size: 16px; }

/* Animations */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(123,224,240,0.6); }
  100% { box-shadow: 0 0 0 14px rgba(123,224,240,0); }
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-family);
  color: var(--fg-1);
  background: var(--bg);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----- Brand variables for marketing site ----- */
:root {
  --ink: #161e3a;
  --ink-2: #2a3560;
  --paper: #fbfbfd;
  --paper-2: #f3f5fb;
  --line: #e3e7f2;
  --grad-hero: radial-gradient(1200px 600px at 80% 0%, rgba(167, 139, 250, 0.28), transparent 60%),
               radial-gradient(900px 600px at 10% 30%, rgba(196, 181, 253, 0.22), transparent 55%),
               linear-gradient(180deg, #f3eeff 0%, #e8e1ff 100%);
  --pixel-purple: #6a4ce0;
  --pixel-purple-dark: #4a2fb0;
  --grad-dark: linear-gradient(180deg, #0f1530 0%, #1a2347 100%);
  --site-max: 1240px;
}

/* ----- Layout primitives ----- */
.container {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--grad-dark);
  color: #fff;
}
.section--dark .ds-eyebrow { color: var(--accent); }
.section--dark .muted { color: rgba(255,255,255,0.7); }

/* ----- Type ----- */
.eyebrow {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pixel-purple);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(106, 76, 224, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
}
.eyebrow::before {
  content: "▸";
  color: var(--pixel-purple);
  display: inline-block;
}
.display {
  font-family: var(--font-family);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  text-shadow: 3px 3px 0 rgba(106, 76, 224, 0.12);
}
.display em {
  font-style: normal;
  color: var(--pixel-purple);
}
.display em::after {
  content: "";
  display: inline-block;
  width: 0.55em; height: 0.1em;
  background: var(--pixel-purple);
  margin-left: -0.55em;
  vertical-align: -0.1em;
  opacity: 0;
}
.h1 {
  font-family: var(--font-family);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h1 span[style*="primary"] { color: var(--pixel-purple) !important; }
.h2 {
  font-family: var(--font-family);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 12px;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  font-weight: 500;
  max-width: 640px;
  text-wrap: pretty;
}
.muted { color: var(--fg-2); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.1px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--pixel-purple);
  color: #fff;
  box-shadow: 0 4px 0 var(--pixel-purple-dark), 0 8px 22px rgba(74, 47, 176, 0.32);
}
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pixel-purple-dark); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(58,90,158,0.38); }
.btn--ghost {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { transform: translateY(-2px); }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn .material-icons-outlined { font-size: 18px; }

/* ----- Top nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(220, 226, 240, 0.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 0 var(--pixel-purple-dark);
  border: 2px solid var(--pixel-purple);
  overflow: hidden;
  image-rendering: pixelated;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__mark::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 11px;
  background: linear-gradient(135deg, #7be0f0, transparent 60%);
  z-index: -1;
  opacity: .35;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--fg-2);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: 6px;
  margin-left: 24px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  transition: background .15s, color .15s;
}
.nav__link:hover { background: rgba(91, 124, 199, 0.08); color: var(--ink); }
.nav__link.is-active { background: rgba(106, 76, 224, 0.12); color: var(--pixel-purple); }
.nav__spacer { flex: 1; }
.nav__lang {
  display: inline-flex;
  background: rgba(91,124,199,0.08);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 700;
}
.nav__lang button {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--fg-2);
}
.nav__lang button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(42,53,96,0.1); }

/* ----- Hero ----- */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 80px 0 0;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 1.05fr; gap: 40px; }
}
.hero__copy { max-width: 620px; }
.hero__copy .display { margin-top: 18px; }
.hero__copy .lede { margin-top: 22px; }
.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__sub {
  margin-top: 28px;
  font-size: 13px;
  color: var(--fg-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
.hero__sub b { color: var(--ink); font-weight: 700; }
.hero__sub i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hero__sub i::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(79,207,137,0.2);
}
.hero__visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 24px 48px rgba(106, 76, 224, 0.18));
  animation: float-y 6s ease-in-out infinite;
}

/* ----- Page sections ----- */
.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head .lede {
  margin: 18px auto 0;
  font-size: 19px;
}

/* ----- Why split ----- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.why-card--bad {
  background: var(--paper-2);
  border-style: dashed;
}
.why-card--bad .why-card__title { color: var(--fg-2); }
.why-card--bad ul li::before { background: var(--fg-3); }
.why-card__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.4px;
}
.why-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.why-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.why-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: var(--primary);
}
.why-card--good li::before {
  background: linear-gradient(135deg, #5b7cc7, #7be0f0);
  box-shadow: 0 2px 6px rgba(91,124,199,0.3);
}

/* ----- Feature grid ----- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 32px rgba(42,53,96,0.08);
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-2);
  color: var(--primary);
  margin-bottom: 18px;
}
.feature__icon .material-icons-outlined { font-size: 24px; }
.feature h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.feature p {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
}
.feature--accent .feature__icon { background: var(--accent-2); color: #1a8aa0; }
.feature--green .feature__icon { background: var(--green-2); color: #2a9863; }
.feature--yellow .feature__icon { background: var(--yellow-2); color: #b67d00; }
.feature--red .feature__icon { background: var(--red-2); color: #b83a2c; }
.feature--blue .feature__icon { background: var(--blue-2); color: #2c6ed6; }

/* ----- Differences ----- */
.diff-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.diff-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.diff-item:first-child { border-top: none; }
.diff-num {
  font-family: var(--font-family);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  letter-spacing: 0;
  color: var(--pixel-purple);
  line-height: 1;
}
.diff-item h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.diff-item p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.5; }

/* ----- Solutions cards ----- */
.solutions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .solutions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .solutions { grid-template-columns: repeat(3, 1fr); } }
.solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.solution:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 14px 32px rgba(42,53,96,0.1);
}
.solution__cover {
  aspect-ratio: 3/2;
  background: hsl(var(--hue, 220) 70% 92%);
  position: relative;
  overflow: hidden;
}
.solution__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
}
.solution__body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.solution__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.solution__tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: var(--primary-2);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.solution__desc { font-size: 14px; color: var(--fg-2); line-height: 1.5; margin: 0; flex: 1; }

/* ----- Pricing ----- */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.plan--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 40px rgba(91,124,199,0.18);
  transform: translateY(-4px);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan__name { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg-2); }
.plan__price { font-size: 48px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; color: var(--ink); }
.plan__price small { font-size: 16px; color: var(--fg-2); font-weight: 600; letter-spacing: 0; }
.plan__desc { color: var(--fg-2); font-size: 14.5px; min-height: 42px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.plan li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.45;
}
.plan li::before {
  content: "check";
  font-family: 'Material Icons Outlined';
  position: absolute;
  left: 0; top: 0;
  font-size: 18px;
  color: var(--green);
}

/* ----- Footer ----- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer a { color: rgba(255,255,255,0.65); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer__brand p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  max-width: 280px;
  margin: 16px 0 0;
}
.footer__col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__bot {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px 20px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.footer__legal a { color: rgba(255,255,255,0.6); }
.footer__legal a:hover { color: #fff; }

/* ----- Pages légales (prose) ----- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal__meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 40px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 26px 0 10px;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--pixel-purple); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { font-weight: 700; color: var(--ink); }
.legal__card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 20px;
}
.legal__card p { margin: 0; }
.legal__card p + p { margin-top: 6px; }

/* ----- Stat band (gages de confiance) ----- */
.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 800px) { .statband { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
.statband__num {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(135deg, #5b7cc7, #7be0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.statband__cap {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* ----- Versus (sans l'usine à gaz enterprise) ----- */
.versus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) { .versus { grid-template-columns: 1fr 1fr; gap: 28px; } }
.versus__card {
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--line);
}
.versus__card--them { background: var(--paper-2); border-style: dashed; }
.versus__card--us {
  background: var(--ink);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.versus__tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.versus__card--them .versus__tag { background: #fff; color: var(--fg-2); border: 1px solid var(--line); }
.versus__card--us .versus__tag { background: rgba(255,255,255,0.14); color: #fff; }
.versus__title { font-size: 21px; font-weight: 800; margin: 0 0 18px; letter-spacing: -0.4px; }
.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.versus li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.versus__card--them li { color: var(--ink-2); }
.versus__card--us li { color: rgba(255,255,255,0.9); }
.versus li .material-icons-outlined { position: absolute; left: 0; top: 0; font-size: 19px; }
.versus__card--them li .material-icons-outlined { color: var(--fg-3); }
.versus__card--us li .material-icons-outlined { color: #7be0f0; }
.versus__cta { margin-top: 26px; }

/* ----- ODESA (extensibilité) ----- */
.od-grid2 { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .od-grid2 { grid-template-columns: 1fr 1fr; gap: 48px; } }
/* Sans ça, la colonne refuse de rétrécir sous la largeur du <pre> -> débordement
   horizontal de toute la page sur mobile. */
.od-grid2 > * { min-width: 0; }
.code {
  background: var(--ink);
  color: #e6ebff;
  border-radius: 16px;
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.08);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.code .c { color: #7e8bbf; }
.code .k { color: #7be0f0; }
.code .s { color: #b9f5c8; }
.code__cap { color: var(--muted); font-size: 13px; margin-top: 12px; }
/* Mobile : code un peu plus compact (le retour-à-la-ligne est déjà global). */
@media (max-width: 600px) {
  .code { font-size: 12px; padding: 16px; }
}
.od-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.od-flow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-top: 18px;
}
.od-flow b { color: var(--ink); font-weight: 700; }
.od-flow .material-icons-outlined { font-size: 16px; color: var(--primary); }

/* ----- Final CTA ----- */
.final-cta {
  background: var(--grad-dark);
  color: #fff;
  border-radius: 28px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: -20% -20% 60% -20%;
  background: radial-gradient(closest-side, rgba(123,224,240,0.35), transparent 70%);
  pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.final-cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 18px;
  line-height: 1.05;
  color: #fff;
}
.final-cta p { color: rgba(255,255,255,0.75); font-size: 18px; margin: 0 0 32px; }

/* ----- Use cases table ----- */
.usecases {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.usecase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.usecase:first-child { border-top: none; }
.usecase__who {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
}
.usecase__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-2);
  color: var(--primary);
  display: grid; place-items: center;
}
.usecase__what { color: var(--fg-2); font-size: 14.5px; }
@media (max-width: 700px) {
  .usecase { grid-template-columns: 1fr; }
}

/* ----- Tweaks toggle ----- */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(42,53,96,0.18);
  padding: 16px;
  z-index: 200;
  min-width: 220px;
}

/* ----- Hero KPIs / chips ----- */
.hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-chip {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}
.hero-chip .material-icons-outlined { font-size: 14px; color: var(--pixel-purple); }

/* ----- Splash for product tour preview ----- */
.frame {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(42,53,96,0.18);
  background: #fff;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
}
.frame__bar i:nth-child(1) { background: #ed6a5e; }
.frame__bar i:nth-child(2) { background: #f5be4f; }
.frame__bar i:nth-child(3) { background: #62c554; }
.frame__url {
  margin-left: 12px;
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--fg-2);
  font-family: var(--font-mono);
}

/* ----- Tour scroll narrative ----- */
.tour {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1000px) {
  .tour { grid-template-columns: 380px 1fr; gap: 64px; }
}
.tour__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 1000px) {
  .tour__steps {
    position: sticky;
    top: 96px;
    height: fit-content;
  }
}
.tour__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 18px 18px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s;
  text-align: left;
  width: 100%;
  border-left: 3px solid transparent;
}
.tour__step:hover { background: rgba(91,124,199,0.05); }
.tour__step.is-active {
  background: rgba(91,124,199,0.08);
  border-left-color: var(--primary);
}
.tour__step-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 13px;
  display: grid; place-items: center;
  color: var(--fg-2);
}
.tour__step.is-active .tour__step-num {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
}
.tour__step h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.tour__step p { margin: 0; font-size: 13.5px; color: var(--fg-2); line-height: 1.45; }
.tour__panels {
  position: relative;
  display: grid;
}
.tour__panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.tour__panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ----- Logo strip ----- */
.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(100%);
}
.logos span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--fg-2);
}

/* ----- Hyperviseur card ----- */
.hyper-card {
  background: linear-gradient(140deg, #0f1530 0%, #2a3560 100%);
  border-radius: 24px;
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .hyper-card { grid-template-columns: 1fr 1fr; } }
.hyper-card::after {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(123,224,240,0.3), transparent);
  pointer-events: none;
}
.hyper-card h2 { color: #fff; margin: 16px 0; }
.hyper-card p { color: rgba(255,255,255,0.7); margin: 0; font-size: 16px; line-height: 1.55; }
.hyper-meter {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* ----- Pixel-art accents ----- */
.pixel-corner {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent);
  image-rendering: pixelated;
}

/* ----- Anim helpers ----- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@keyframes shimmer {
  0% { background-position: -300px 0; }
  100% { background-position: 300px 0; }
}
@keyframes blink {
  0%, 90% { opacity: 1; }
  95% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* ==========================================================
   Statique 2026 — classes remplaçant les styles inline JSX,
   nav mobile, utilitaires, responsive
   ========================================================== */

/* ----- Utilitaires ----- */
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mb-12 { margin-bottom: 12px; display: inline-flex; }
.mb-40 { margin-bottom: 40px; }
.pt-0 { padding-top: 0; }
.tint { color: var(--pixel-purple); }

/* ----- Variantes de sections / eyebrow ----- */
.section--paper { background: var(--paper-2); }
.section--hero-grad { background: var(--grad-hero); padding-top: 80px; }
.section--hero-tight { padding-bottom: 56px; }
.eyebrow--red { color: var(--red); background: rgba(231, 76, 60, 0.08); }
.eyebrow--red::before { color: var(--red); }
.eyebrow--cyan { color: #7be0f0; background: rgba(123, 224, 240, 0.12); }
.eyebrow--cyan::before { color: #7be0f0; }
.eyebrow--cyan-soft { color: #7be0f0; background: rgba(123,224,240,0.15); }
.eyebrow--cyan-soft::before { color: #7be0f0; }
.display--md { font-size: clamp(36px, 5vw, 64px); }

/* ----- Nav : CTA + burger ----- */
.nav__cta { padding: 10px 18px; font-size: 14px; }
.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  place-items: center;
  color: var(--ink);
}
.nav__burger:hover { background: rgba(91,124,199,0.08); }

/* ----- Hero logos strip ----- */
.hero__logos { padding-top: 64px; padding-bottom: 48px; }
.hero__logos-kicker {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #9aaec8;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ----- Brand ----- */
.brand__mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  display: block;
}
.brand--light { color: #fff; }

/* ----- Cartes agents (accueil) ----- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.agent-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 0 hsl(var(--hue) 50% 70%);
}
.agent-card__tile {
  width: 140px; height: 140px;
  margin: 0 auto 16px;
  background: hsl(var(--hue) 70% 94%);
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 2px solid hsl(var(--hue) 60% 85%);
}
.agent-card__tile img {
  width: 85%; height: 85%;
  object-fit: contain;
  image-rendering: pixelated;
}
.agent-card__role {
  font-size: 11px;
  font-weight: 800;
  color: hsl(var(--hue) 60% 45%);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.agent-card__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.agent-card p { font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.45; }

/* ----- Solutions : tags + lien ----- */
.solution__tag--app { background: var(--primary-2); color: var(--primary); }
.solution__tag--agent { background: var(--accent-2); color: #1a8aa0; }
.link-more {
  color: var(--pixel-purple);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-more .material-icons-outlined { font-size: 16px; }
.section__head-btns {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Tarifs ----- */
.btn--center { justify-content: center; }
.plan__price--custom { font-size: 32px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.faq-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--ink); }
.faq-card p { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.55; }

/* ----- Final CTA ----- */
.final-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--ghost-dark {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,0.16); }

/* ----- Tour (statique) ----- */
.tour__panel-block {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 48px;
}
.h1--tour { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.lede--tour { margin-bottom: 24px; max-width: 600px; }
.frame img { width: 100%; height: auto; display: block; }

/* ----- Hyperviseur : carte facturation ----- */
.hyper-card__copy { position: relative; z-index: 1; }
.hyper-card__copy h2 { font-size: clamp(28px, 3vw, 40px); }
.td-label--done { color: #86efac; }
.hyper-meter__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.hyper-meter__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hyper-meter__active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7be0f0;
  font-weight: 700;
}
.hyper-meter__pulse {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: #7be0f0;
  display: inline-block;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
.hyper-meter__time {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  color: #fff;
}
.hyper-meter__rate { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,0.55); }
.hyper-meter__stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hyper-meter__stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 4px;
}
.hyper-meter__stat-val { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: #fff; }
.hyper-meter__stat-val--cyan { color: #7be0f0; }
.hyper-meter__bar {
  margin-top: 20px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.hyper-meter__bar-fill {
  width: 23%; height: 100%;
  background: linear-gradient(90deg, #6a4ce0, #7be0f0);
  border-radius: 3px;
}

/* ==========================================================
   Responsive mobile
   ========================================================== */
@media (max-width: 920px) {
  .nav__inner { gap: 12px; height: 64px; }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 16px;
    gap: 4px;
    box-shadow: 0 16px 32px rgba(42,53,96,0.12);
    margin-left: 0;
  }
  .nav--open .nav__links { display: flex; }
  .nav__link { padding: 12px 14px; font-size: 16px; }
  .nav__burger { display: grid; }
}
@media (max-width: 600px) {
  .nav__cta { display: none; }
}
@media (max-width: 700px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .section--hero-grad { padding-top: 48px; }
  .hero { padding-top: 48px; }
  .hero__visual { min-height: 0; }
  .hero__logos { padding-top: 40px; padding-bottom: 24px; }
  .section__head { margin-bottom: 36px; }
  .lede { font-size: 17px; }
  .diff-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 20px; }
  .diff-num { font-size: 32px; }
  .final-cta { padding: 48px 22px; border-radius: 20px; }
  .hyper-card { padding: 28px 22px; }
  .task-demo__body { min-height: 0; max-height: 480px; padding: 16px; }
  .td-bubble { max-width: 92%; }
  .logos { gap: 24px 32px; }
  .tour__panel-block { min-height: 0; margin-bottom: 56px; justify-content: flex-start; }
  .footer { padding: 48px 0 24px; }
}
@media (max-width: 999px) {
  .tour__steps { display: none; }
}

/* ----- Accessibilité : mouvement réduit ----- */
@media (prefers-reduced-motion: reduce) {
  .hero-img, .task-demo__dot, .hyper-meter__pulse, .td-spinner, .td-pulse { animation: none; }
  .td-row { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Page "Vos experts" + monogrammes (v3)
   ========================================================== */

/* Monogramme (pas encore d'avatar dédié) */
.agent-card__mono {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  color: hsl(var(--hue) 55% 42%);
  font-family: var(--font-family);
}
.agent-card__tile--sm { width: 92px; height: 92px; margin-bottom: 12px; }
.agent-card__tile--sm .agent-card__mono { font-size: 34px; }
.agents-grid--nine {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.agents-grid--nine .agent-card { padding: 20px 16px; }
.agents-grid--nine .agent-card__name { font-size: 18px; }
.agents-grid--nine + .section__head-btns { margin-top: 36px; }

/* Cartes expert détaillées */
.xp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
  margin-top: 20px;
}
.xp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 0 hsl(var(--hue) 50% 78%);
}
.xp-card--featured {
  border: 2px solid hsl(var(--hue) 50% 70%);
  background: linear-gradient(180deg, hsl(var(--hue) 70% 98%), #fff 40%);
}
.xp-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.xp-card__tile {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: hsl(var(--hue) 70% 94%);
  border: 2px solid hsl(var(--hue) 60% 85%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.xp-card__tile .agent-card__mono { font-size: 26px; letter-spacing: -1px; }
.xp-card__tile img {
  width: 100%; height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.xp-card__job {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: hsl(var(--hue) 60% 45%);
}
.xp-card__name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 2px 0 0;
  line-height: 1.1;
}
.xp-card__badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  background: hsl(var(--hue) 55% 52%);
  padding: 6px 12px;
  border-radius: 999px;
}
.xp-card__mission {
  font-size: 15.5px;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 14px;
}
.xp-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.xp-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
}
.xp-card__list li::before {
  content: "check";
  font-family: 'Material Icons Outlined';
  position: absolute;
  left: 0; top: 0;
  font-size: 18px;
  color: hsl(var(--hue) 55% 48%);
}
.xp-card--featured .xp-card__list { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 700px) {
  .xp-card--featured .xp-card__list { grid-template-columns: 1fr; }
  .xp-card { padding: 22px 18px; }
  .xp-card__badge { margin-left: 0; }
}

/* Étapes (comment ça marche) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.step-card__num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.step-card p { margin: 0; font-size: 14px; color: var(--fg-2); line-height: 1.55; }

/* ==========================================================
   Modale "Audit gratuit" (v5)
   ========================================================== */
.audit-modal { position: fixed; inset: 0; z-index: 500; }
.audit-modal[hidden] { display: none; }
.audit-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 21, 48, 0.55);
  backdrop-filter: blur(4px);
}
.audit-modal__dialog {
  position: relative;
  max-width: 640px;
  margin: 6vh auto 0;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 36px 36px 28px;
  box-shadow: 0 32px 80px rgba(15,21,48,0.35);
  animation: fade-up 0.25s ease-out both;
}
.audit-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--fg-2);
}
.audit-modal__close:hover { background: var(--paper-2); color: var(--ink); }
.audit-modal__progress { display: flex; gap: 6px; margin-bottom: 20px; }
.audit-modal__progress i {
  height: 5px; flex: 1;
  border-radius: 3px;
  background: var(--line);
  transition: background .2s;
}
.audit-modal__progress i.is-active { background: var(--pixel-purple); }

.audit-step { display: none; }
.audit-step.is-active { display: block; }
.audit-step h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.audit-step__sub { margin: 0 0 22px; font-size: 14.5px; color: var(--fg-2); }

.audit-field { margin-bottom: 18px; }
.audit-field__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.audit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.audit-chips button {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
  text-align: left;
}
.audit-chips button:hover { border-color: var(--primary-light); }
.audit-chips button.is-active {
  background: rgba(106, 76, 224, 0.1);
  border-color: var(--pixel-purple);
  color: var(--pixel-purple);
}
.audit-chips--col { flex-direction: column; align-items: stretch; }
.audit-chips--col button { border-radius: 12px; }

.audit-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.audit-nav .btn { padding: 12px 20px; font-size: 14px; }
.audit-err { color: var(--red); font-size: 13px; font-weight: 600; margin-right: auto; }

.audit-result__figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.audit-result__fig {
  background: linear-gradient(180deg, rgba(106,76,224,0.07), rgba(123,224,240,0.06));
  border: 1px solid rgba(106,76,224,0.18);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.audit-result__num {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--pixel-purple);
  line-height: 1.1;
}
.audit-result__cap { font-size: 12.5px; color: var(--fg-2); font-weight: 600; margin-top: 6px; }
.audit-result__experts { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.audit-result__experts strong { color: var(--pixel-purple); }
.audit-result__note { font-size: 12.5px; color: var(--fg-3); margin: 0 0 18px; }

#audit-form { display: grid; gap: 10px; }
#audit-form input {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-family);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
}
#audit-form input:focus { border-color: var(--pixel-purple); box-shadow: var(--shadow-focus); }
#audit-form .audit-nav { margin-top: 10px; }

.audit-done {
  text-align: center;
  padding: 18px 0 8px;
}
.audit-done .material-icons-outlined { font-size: 44px; color: var(--green); }
.audit-done p { font-size: 15.5px; font-weight: 600; color: var(--ink-2); margin: 10px 0 0; }

@media (max-width: 700px) {
  .audit-modal__dialog {
    margin: 0;
    max-width: none;
    min-height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 28px 20px 24px;
  }
  .audit-result__figures { grid-template-columns: 1fr; }
}

/* ----- Modale "Clef de licence ODESA" (réutilise .audit-modal/.audit-step) ----- */
#lic-modal form { display: grid; gap: 10px; }
#lic-modal input, #lic-modal select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-family);
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
#lic-modal select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%), linear-gradient(135deg, var(--fg-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
#lic-modal input:focus, #lic-modal select:focus { border-color: var(--pixel-purple); box-shadow: var(--shadow-focus); }
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 540px) { .lic-grid { grid-template-columns: 1fr; } }
.lic-sub { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--fg-3); margin: 16px 0 2px; }
.lic-price { font-size: 32px; font-weight: 800; color: var(--ink); margin: 6px 0 2px; }
.lic-price small { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.lic-partner {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 13px; font-weight: 700;
  color: var(--green); background: var(--green-2);
  border-radius: 999px; padding: 5px 12px;
}
.lic-partner[hidden] { display: none; }
.lic-partner .material-icons-outlined { font-size: 17px; }
.lic-note { font-size: 12.5px; color: var(--fg-2); margin: 14px 0 0; line-height: 1.55; }
.lic-done { text-align: center; padding: 4px 0 2px; }
.lic-done .material-icons-outlined { font-size: 46px; color: var(--green); }
.lic-key {
  font-family: var(--font-mono);
  font-size: clamp(19px, 4.5vw, 28px);
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  background: var(--ink);
  color: #7be0f0;
  border-radius: 14px;
  padding: 22px 16px;
  margin: 16px 0;
  user-select: all;
  word-break: break-word;
}

/* ==========================================================
   Carrousel des métiers (hero, v6) — défilement infini CSS
   ========================================================== */
.metiers-carousel {
  overflow: hidden;
  padding: 4px 0 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.metiers-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: metiers-scroll 45s linear infinite;
}
.metiers-carousel:hover .metiers-track { animation-play-state: paused; }
.metier-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.metier-chip .material-icons-outlined {
  font-size: 18px;
  color: var(--pixel-purple);
}
@keyframes metiers-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .metiers-carousel { padding-bottom: 28px; }
  .metiers-track { animation-duration: 30s; }
  .metier-chip { padding: 7px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .metiers-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 18px; }
  .metiers-track .metier-chip[aria-hidden="true"] { display: none; }
  .metiers-carousel { mask-image: none; -webkit-mask-image: none; }
}

/* ==========================================================
   Page produit : onglets exploitation / configuration (v7)
   ========================================================== */
.ptabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
}
.ptabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ptabs__tab:hover { border-color: var(--primary-light); transform: translateY(-1px); }
.ptabs__tab .material-icons-outlined {
  font-size: 26px;
  color: var(--fg-2);
}
.ptabs__tab-label { display: flex; flex-direction: column; line-height: 1.2; }
.ptabs__tab-label strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.ptabs__tab-label small { font-size: 12px; color: var(--fg-2); font-weight: 600; }
.ptabs__tab.is-active {
  border-color: var(--pixel-purple);
  background: rgba(106, 76, 224, 0.06);
  box-shadow: 0 4px 0 rgba(106, 76, 224, 0.25);
}
.ptabs__tab.is-active .material-icons-outlined,
.ptabs__tab.is-active .ptabs__tab-label strong { color: var(--pixel-purple); }

.ptab-intro {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-2);
  font-weight: 500;
}

@media (max-width: 700px) {
  .ptabs { gap: 8px; }
  .ptabs__tab { padding: 12px 16px; flex: 1; min-width: 0; }
  .ptabs__tab-label strong { font-size: 14px; }
  .ptabs__tab-label small { font-size: 11px; }
  .ptab-intro { margin-bottom: 28px; font-size: 15px; }
}

/* ==========================================================
   Bandeau "Inclus d'office" (FE 2026 + Audit Orientis, v8)
   ========================================================== */
.plus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.plus-card {
  position: relative;
  background: linear-gradient(180deg, rgba(106,76,224,0.06), #fff 55%);
  border: 1.5px solid rgba(106, 76, 224, 0.35);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 0 rgba(106, 76, 224, 0.18);
}
.plus-card--gold {
  background: linear-gradient(180deg, rgba(255,191,60,0.10), #fff 55%);
  border-color: rgba(182, 125, 0, 0.35);
  box-shadow: 0 4px 0 rgba(182, 125, 0, 0.18);
}
.plus-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pixel-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.plus-card--gold .plus-card__badge { background: #b67d00; }
.plus-card__badge .material-icons-outlined { font-size: 15px; }
.plus-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.plus-card p { margin: 0; font-size: 15px; color: var(--fg-2); line-height: 1.55; }

/* ==========================================================
   Page tarifs ExpertOS (v9)
   ========================================================== */
.container--narrow { max-width: 880px; }
.price-byline {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-2);
}
.pblock { margin-bottom: 56px; }
.pblock__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 18px;
}
.pblock__kicker span:first-child {
  color: var(--pixel-purple);
  font-size: 14px;
}
.pblock__kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.pblock__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.pblock__title--center { text-align: center; margin-bottom: 18px; }
.pblock__sub { margin: 0 0 24px; font-size: 15px; color: var(--fg-2); line-height: 1.55; max-width: 640px; }

.price-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.price-duo .plan { gap: 10px; padding-top: 36px; }
.plan__tag--ghost {
  background: #fff;
  color: var(--fg-2);
  border: 1.5px solid var(--line);
}
.plan__desc--unit { min-height: 0; font-weight: 600; }

.infra-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.infra-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.infra-row:first-child { border-top: none; }
.infra-row strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.infra-row strong small { font-size: 12px; font-weight: 600; color: var(--fg-2); }
.infra-row--total {
  background: rgba(106, 76, 224, 0.06);
  font-weight: 800;
  letter-spacing: 0.6px;
}
.infra-row--total strong { color: var(--pixel-purple); font-size: 20px; }
.infra-row--opt span { display: flex; flex-direction: column; gap: 3px; }
.infra-row--opt span small { font-size: 12.5px; color: var(--fg-2); font-weight: 500; }

.synth-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.synth-table th, .synth-table td {
  text-align: left;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.synth-table thead th {
  border-top: none;
  background: var(--paper-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--fg-2);
}
.synth-table td:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.synth-table td:last-child span { font-weight: 600; font-size: 12px; color: var(--fg-2); }

@media (max-width: 700px) {
  .pblock { margin-bottom: 40px; }
  .infra-row { padding: 14px 16px; flex-wrap: wrap; }
  .synth-table th, .synth-table td { padding: 12px 14px; }
  .synth-table td:last-child { white-space: normal; }
}

/* ==========================================================
   Configurations : carte ExpertOS + note tarifs (v10)
   ========================================================== */
.solution--flagship {
  border: 2px solid var(--pixel-purple);
  box-shadow: 0 4px 0 rgba(106, 76, 224, 0.3);
}
.solution__cover--brand {
  display: grid;
  place-items: center;
  background:
    radial-gradient(420px 200px at 80% 0%, rgba(123,224,240,0.35), transparent 60%),
    linear-gradient(135deg, #6a4ce0, #2a3560);
}
.solution__cover--brand span {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.solution__tag--flagship {
  background: var(--pixel-purple);
  color: #fff;
}
.price-note {
  margin: 16px auto 0;
  font-size: 14px;
  color: var(--fg-2);
  max-width: 560px;
}
.price-note strong { color: var(--ink-2); }
.price-note a { color: var(--pixel-purple); font-weight: 700; text-decoration: underline; }

/* ==========================================================
   Page "Documentation" (v1)
   ========================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* --- Sommaire latéral collant --- */
.docs-toc {
  position: sticky;
  top: 104px;
  align-self: start;
}
.docs-toc__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.docs-toc nav { display: flex; flex-direction: column; gap: 2px; }
.docs-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  border-left: 2px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.docs-toc a:hover { background: var(--paper-2); color: var(--ink-2); }
.docs-toc a .material-icons-outlined { font-size: 18px; color: var(--pixel-purple); }
.docs-toc a.is-active {
  background: #fff;
  color: var(--pixel-purple);
  border-left-color: var(--pixel-purple);
  box-shadow: var(--shadow);
}

/* --- Corps documentation --- */
.docs-main { min-width: 0; }
.doc-section { scroll-margin-top: 104px; padding-bottom: 56px; }
.doc-section + .doc-section { border-top: 1px solid var(--line); padding-top: 48px; }
.doc-section__head { margin-bottom: 28px; }
.doc-section__head .eyebrow { color: var(--pixel-purple); }
.doc-section__head h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 8px 0 0;
}
.doc-section__head p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 70ch;
}

/* --- Cartes de fonctionnalités --- */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.doc-card__ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #efeaff, #e3dbff);
  color: var(--pixel-purple);
  margin-bottom: 14px;
}
.doc-card__ico .material-icons-outlined { font-size: 22px; }
.doc-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-2);
  margin: 0 0 6px;
}
.doc-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.doc-card__benefit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
}
.doc-card__benefit .material-icons-outlined { font-size: 16px; }

/* --- Encart / bandeau intra-section --- */
.doc-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--blue-2);
  border: 1px solid #d4e7ff;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 20px;
}
.doc-callout .material-icons-outlined { color: var(--blue); flex-shrink: 0; }
.doc-callout p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.doc-callout strong { color: var(--ink); }

/* --- Liste de mini-fonctionnalités (chips) --- */
.doc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow);
}
.doc-chip .material-icons-outlined { font-size: 17px; color: var(--pixel-purple); }

@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-toc {
    position: static;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 14px;
  }
  .docs-toc nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
