/* =========================================================
   Scènes animées « effet IA » (OCR, Copilote, Novia → TTN → Kompta)
   Chaque scène : .scene[data-scene="…"] ; l'état est piloté par scenes.js
   via des classes .is-on posées sur les éléments [data-step].
   ========================================================= */
.scene {
  --glow: rgba(61, 90, 254, .45);
  position: relative; border-radius: 22px; padding: 1.25rem;
  background: linear-gradient(160deg, #0f1c3d 0%, #0b1630 60%, #0a2a33 100%);
  color: #e6ebf7; box-shadow: 0 30px 80px -30px rgba(11, 22, 48, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
  overflow: hidden; font-size: .9rem; isolation: isolate;
}
.scene::before { /* grille de fond */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent);
}
.scene__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-size: .78rem; color: #9aa9cf; }
.scene__live { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: #7cf0d3; }
.scene__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ee6b6; box-shadow: 0 0 0 0 rgba(46,230,182,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46,230,182,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,182,0); } }

[data-step] { transition: opacity .45s ease, transform .45s ease, background .3s, box-shadow .3s, color .3s; }
.hide-until { opacity: 0; transform: translateY(8px); }
.hide-until.is-on { opacity: 1; transform: none; }

/* ---------- Scène OCR ---------- */
.ocr { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; align-items: start; }
@media (max-width: 640px) { .ocr { grid-template-columns: 1fr; } }
.doc {
  position: relative; background: #fff; color: #1d2740; border-radius: 12px; padding: 1rem; font-size: .76rem;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); overflow: hidden; transform: rotate(-1.5deg);
}
.doc__head { display: flex; justify-content: space-between; margin-bottom: .8rem; }
.doc__brand { font-weight: 800; font-size: .85rem; }
.doc__lines { display: grid; gap: .3rem; margin: .7rem 0; }
.doc__line { display: flex; justify-content: space-between; color: #5a6580; }
.doc__bar { height: 6px; border-radius: 3px; background: #e7eaf2; }
.doc__totals { border-top: 1px dashed #d4d9e4; padding-top: .5rem; display: grid; gap: .2rem; }
.doc__totals div { display: flex; justify-content: space-between; }
.doc__totals b { font-size: .85rem; }
.field { position: relative; border-radius: 4px; padding: 0 .15rem; margin: 0 -.15rem; }
.field.is-on { background: rgba(61, 90, 254, .12); box-shadow: 0 0 0 1.5px #3d5afe; }
.field::after {
  content: attr(data-label); position: absolute; right: -2px; top: -1.35rem; white-space: nowrap;
  font-size: .62rem; font-weight: 700; background: #3d5afe; color: #fff; padding: .1rem .4rem; border-radius: 4px;
  opacity: 0; transform: translateY(4px); transition: .3s;
}
.field.is-on::after { opacity: 1; transform: none; }
.beam {
  position: absolute; left: 0; right: 0; top: -20%; height: 18%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(61, 90, 254, .25) 70%, rgba(110, 140, 255, .9) 96%, transparent);
  opacity: 0;
}
.scene.is-scanning .beam { opacity: 1; animation: beam 2.6s cubic-bezier(.5,0,.5,1) forwards; }
@keyframes beam { from { top: -20%; } to { top: 105%; } }

.entry { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .9rem; }
.entry__title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: .6rem; color: #fff; }
.ai-chip {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 800; padding: .2rem .55rem; border-radius: 999px;
  color: #fff; background: linear-gradient(90deg, #3d5afe, #8b5cf6, #0aa889); background-size: 200% 100%; animation: shimmer 3s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.entry table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .78rem; }
.entry th { text-align: left; font-weight: 600; color: #8f9cc0; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; padding: .3rem .25rem; }
.entry td { padding: .45rem .25rem; border-top: 1px solid rgba(255,255,255,.07); }
.entry td.num { text-align: right; }
.entry tr.hide-until.is-on td { animation: rowflash 1s ease; }
@keyframes rowflash { from { background: rgba(61, 90, 254, .35); } to { background: transparent; } }
.entry__foot { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; gap: .5rem; flex-wrap: wrap; }
.ok-chip { font-size: .72rem; font-weight: 700; color: #7cf0d3; }
.mini-btn { font-size: .75rem; font-weight: 800; padding: .4rem .9rem; border-radius: 999px; background: #fff; color: #0b1630; border: 0; }
.mini-btn.is-on { animation: press .6s ease; }
@keyframes press { 40% { transform: scale(.92); box-shadow: 0 0 0 6px rgba(255,255,255,.15); } }

/* ---------- Scène Copilote ---------- */
.chat { display: grid; gap: .8rem; min-height: 360px; align-content: start; }
.bubble { max-width: 88%; padding: .7rem .9rem; border-radius: 14px; line-height: 1.5; }
.bubble--me { justify-self: end; background: #3d5afe; color: #fff; border-bottom-right-radius: 4px; }
.bubble--ai { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.bubble__who { display: flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 800; color: #b9c4ff; margin-bottom: .35rem; }
.orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: conic-gradient(from 0deg, #3d5afe, #8b5cf6, #2ee6b6, #3d5afe); animation: spin 3s linear infinite;
  box-shadow: 0 0 12px rgba(139, 92, 246, .7);
}
@keyframes spin { to { transform: rotate(360deg); } }
.typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa9cf; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.caret::after { content: "▍"; color: #8b5cf6; animation: blink 1s steps(1) infinite; margin-left: 1px; }
.decl { margin-top: .6rem; border-radius: 10px; background: rgba(0,0,0,.25); padding: .7rem .8rem; font-variant-numeric: tabular-nums; }
.decl__row { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.decl__row:last-child { border: 0; font-weight: 800; color: #fff; font-size: .95rem; }
.alert-chip { display: inline-flex; gap: .4rem; align-items: center; margin-top: .6rem; font-size: .75rem; color: #ffc59e; }
.chat__actions { display: flex; gap: .5rem; margin-top: .7rem; }
.mini-btn--ghost { background: transparent; color: #e6ebf7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* ---------- Scène Novia → TTN → Kompta ---------- */
.novia-scene { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; align-items: center; }
@media (max-width: 640px) { .novia-scene { grid-template-columns: 1fr; } }
.inv { background: #fff; color: #1d2740; border-radius: 12px; padding: 1rem; font-size: .78rem; position: relative; }
.inv__row { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; padding: .35rem 0; border-bottom: 1px solid #eef0f5; font-variant-numeric: tabular-nums; }
.inv__total { display: flex; justify-content: space-between; margin-top: .6rem; font-weight: 800; font-size: .95rem; }
.stamp {
  position: absolute; right: 12px; bottom: 44px; transform: rotate(-12deg) scale(1.6); opacity: 0;
  border: 2.5px solid #0aa889; color: #0aa889; font-weight: 900; font-size: .8rem; padding: .25rem .55rem; border-radius: 6px; letter-spacing: .06em;
  transition: transform .35s cubic-bezier(.2, 1.6, .4, 1), opacity .2s;
}
.stamp.is-on { opacity: 1; transform: rotate(-12deg) scale(1); }
.pipe { display: grid; gap: .7rem; }
.node {
  display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); opacity: .45;
}
.node.is-on { opacity: 1; border-color: rgba(46,230,182,.6); box-shadow: 0 0 24px -6px rgba(46,230,182,.6); }
.node__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; font-size: .75rem; color: #fff; flex: none; }
.node small { display: block; color: #9aa9cf; font-size: .7rem; }
.node__check { margin-left: auto; color: #2ee6b6; font-weight: 900; opacity: 0; }
.node.is-on .node__check { opacity: 1; }
.packet {
  position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #2ee6b6; box-shadow: 0 0 14px #2ee6b6;
  opacity: 0; pointer-events: none; z-index: 3;
}

/* ---------- Hero IA : aurore + particules ---------- */
.hero--ai { background: #070d1f; color: #fff; }
.hero--ai::before { display: none; }
.hero--ai .lead, .hero--ai p { color: #b8c2dc; }
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .45; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #3d5afe; left: -15vmax; top: -25vmax; }
.aurora i:nth-child(2) { background: #8b5cf6; right: -20vmax; top: -10vmax; animation-duration: 22s; opacity: .3; }
.aurora i:nth-child(3) { background: #0aa889; left: 20vmax; bottom: -35vmax; animation-duration: 26s; opacity: .35; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
.hero--ai canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .7; }
.hero--ai > .container { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .orb, .ai-chip, .scene__live::before { animation: none; }
  .scene.is-scanning .beam { animation: none; opacity: 0; }
}

/* ---------- Barre « Demandez à Copilote » ---------- */
.ask {
  display: flex; align-items: center; gap: .75rem; max-width: 640px; margin: 2rem auto 0; padding: .55rem .55rem .55rem 1rem;
  border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px); box-shadow: 0 0 0 6px rgba(139,92,246,.08), 0 20px 60px -20px rgba(61,90,254,.6);
  text-align: left; text-decoration: none; color: #fff;
}
.ask .orb { flex: none; width: 22px; height: 22px; }
.ask__text { flex: 1; font-weight: 500; color: #dfe5f7; min-height: 1.5em; }
.ask__text::after { content: "▍"; color: #8b5cf6; animation: blink 1s steps(1) infinite; }
.ask__go { flex: none; font-size: .8rem; font-weight: 800; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: #0b1630; }

/* ---------- Sélecteur de cible ---------- */
.switcher { margin-top: 3rem; }
.switcher__tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); margin-bottom: 1.5rem; }
.switcher__tabs button {
  font: inherit; font-weight: 700; font-size: .92rem; border: 0; cursor: pointer; padding: .6rem 1.2rem; border-radius: 999px;
  background: transparent; color: #b8c2dc; transition: background .25s, color .25s;
}
.switcher__tabs button[aria-selected="true"] { background: #fff; color: #0b1630; }
.switcher__panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; text-align: left; }
.switcher__panel[hidden] { display: none; }
.switcher__panel h3 { color: #fff; font-size: 1.6rem; }
.switcher__panel .checks li { color: #c8d0e6; }
.switcher__panel .checks li::before { background: rgba(255,255,255,.1); color: #7cf0d3; }
@media (max-width: 900px) { .switcher__panel { grid-template-columns: 1fr; } }

/* ---------- Journal d'agent ---------- */
.log { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; display: grid; gap: .45rem; }
.log__line { display: flex; gap: .6rem; align-items: baseline; color: #c8d0e6; }
.log__line b { color: #7cf0d3; }
.log__line time { color: #6c7a9e; flex: none; }
.log__done { margin-top: .6rem; display: flex; justify-content: space-between; align-items: center; padding: .7rem .8rem; border-radius: 10px; background: rgba(46,230,182,.1); border: 1px solid rgba(46,230,182,.35); color: #fff; font-family: var(--font); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bento__card {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 2; padding: 1.6rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.bento__card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(61,90,254,.12), transparent 60%);
}
.bento__card:hover::before { opacity: 1; }
.bento__card--wide { grid-column: span 3; }
.bento__card--xl { grid-column: span 4; }
.bento__card--dark { background: #0b1630; color: #fff; border-color: transparent; }
.bento__card--dark p { color: #b8c2dc; }
.bento__card--dark::before { background: radial-gradient(320px circle at var(--mx) var(--my), rgba(139,92,246,.3), transparent 60%); }
.bento__tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--kompta); margin-bottom: .6rem; display: inline-block; }
.bento__tag--ai { background: linear-gradient(90deg, #3d5afe, #8b5cf6, #0aa889); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento__card h3 { font-size: 1.15rem; }
@media (max-width: 960px) { .bento__card, .bento__card--wide, .bento__card--xl { grid-column: span 3; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento__card, .bento__card--wide, .bento__card--xl { grid-column: auto; } }

/* ---------- Compteurs ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { padding: 1.4rem; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.stat span { font-size: .88rem; color: #b8c2dc; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bandeau de logos qui défile ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 60s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; height: 56px; display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.marquee__item img { height: 48px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- 4 verbes IA ---------- */
.verbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: v; }
.verb { position: relative; padding: 1.5rem; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.verb::before { counter-increment: v; content: "0" counter(v); font-weight: 800; font-size: .8rem; color: #8b5cf6; display: block; margin-bottom: .8rem; }
.verb h3 { color: #fff; }
.verb p { color: #b8c2dc; font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .verbs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .verbs { grid-template-columns: 1fr; } }

.control-note { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1.5rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #dfe5f7; }

.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .stats--3 { grid-template-columns: 1fr; } }
.badge--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #dfe5f7; }
.badge--dark strong { background: linear-gradient(90deg, #3d5afe, #8b5cf6); color: #fff; padding: .1rem .55rem; border-radius: 999px; font-size: .75rem; }
.hero--ai h1 { color: #fff; }
.hero--ai .grad { background: linear-gradient(90deg, #8ea2ff, #c4a7ff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wp-block-button.btn--ghost-dark > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.wp-block-button.btn--ghost-dark > .wp-block-button__link:hover { border-color: #fff; box-shadow: none; }
.hero--ai .eyebrow--kompta { color: #9aa9ff; }
.switcher .btn--light { background: #fff; color: #0b1630; }
.section--dark .eyebrow { color: #9aa9cf; }
.verbs--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .verbs--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .verbs--6 { grid-template-columns: 1fr; } }
.section--soft .small-note a { color: var(--ink); font-weight: 700; }

/* Les scènes s'adaptent à leur propre largeur (pas seulement à l'écran) */
.scene { container-type: inline-size; }
@container (max-width: 600px) {
  .ocr, .novia-scene { grid-template-columns: 1fr; }
  .doc { transform: none; }
}
.nav a { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 901px) { .nav a { padding: .5rem .55rem; font-size: .9rem; } }
/* Dans la conversation, une bulle non encore affichée ne prend pas de place */
.chat > .hide-until:not(.is-on) { display: none; }
.chat > .hide-until.is-on { animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.hero--ai .hero__grid h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.stamp { bottom: 52px; right: 8px; }


/* ---------- Témoignages vidéo ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }
.video { margin: 0; }
.video__play, .video iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; overflow: hidden;
  background: #0b1630 center / cover no-repeat; cursor: pointer; box-shadow: var(--shadow);
}
.video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,22,48,.55)); transition: opacity .3s; }
.video__play:hover::after { opacity: .5; }
.video__btn {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand, #e3810f), var(--brand-2, #e5521b)); box-shadow: 0 0 0 10px rgba(255,255,255,.18); transition: transform .2s;
}
.video__btn::before { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.video__play:hover .video__btn { transform: scale(1.08); }
.video figcaption { margin-top: .9rem; display: grid; gap: .2rem; }
.video figcaption strong { font-size: 1.05rem; }
.video figcaption span { font-size: .88rem; color: var(--muted); }
.section--dark .video figcaption strong { color: #fff; }
.section--dark .video figcaption span { color: #b8c2dc; }
.video--big { max-width: 900px; margin-inline: auto; }

/* ---------- Axeane Academy ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.step { padding: 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand, #e3810f), var(--brand-2, #e5521b)); color: #fff; font-weight: 800; }
.step p { margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.partner { display: grid; justify-items: center; gap: .6rem; padding: 1.25rem 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; text-align: center; max-width: 260px; }
.partner img { height: 110px; width: auto; }
.academy-visual { width: 100%; max-width: 480px; margin-inline: auto; }


/* ---------- Couleurs Axeane Kompta (reprises du logo : bleu nuit → turquoise) ---------- */
:root { --kompta: #1d3f82; --kompta-dark: #111a52; --kompta-teal: #41aaa8; --kompta-soft: #e9f5f5; }
.wp-block-button.btn--kompta > .wp-block-button__link { background: linear-gradient(90deg, var(--kompta-dark), #24608a 55%, var(--kompta-teal)); }
.eyebrow--kompta, .bento__tag, .card--kompta .card__icon { color: var(--kompta); }
.hero--ai .eyebrow--kompta, .section--dark .eyebrow--kompta { color: #7fd3d1; }
.checks--kompta li::before { background: var(--kompta-soft); color: var(--kompta-teal); }
.card--highlight { border-color: var(--kompta-teal); }
.door--kompta .door__who { color: var(--kompta); }
.door--kompta:hover { border-color: var(--kompta-teal); }
.flow__tag--kompta { color: #7fd3d1; }

/* Logo produit posé sur une pastille claire (lisible sur les fonds sombres) */
.product-logo {
  display: inline-flex; align-items: center; padding: .55rem 1rem; margin-bottom: 1.25rem; border-radius: 14px;
  background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
}
.product-logo img { height: 46px; width: auto; display: block; }


/* ---------- Page Copilote ---------- */
.copilote-hero { position: relative; display: grid; place-items: center; min-height: 360px; }
.copilote-halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,129,15,.45), rgba(139,92,246,.25) 45%, transparent 70%); filter: blur(30px); animation: halo 6s ease-in-out infinite alternate; }
@keyframes halo { to { transform: scale(1.12); opacity: .8; } }
.copilote-mascotte { position: relative; width: min(100%, 420px); height: auto; border-radius: 32px; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.orb--xl { position: relative; width: 220px; height: 220px; box-shadow: 0 0 80px rgba(139,92,246,.6); }
.hero--ai .ask { margin-left: 0; }
.prompts { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; max-width: 980px; margin-inline: auto; }
.prompt { padding: .75rem 1.1rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e6ebf7; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .copilote-halo, .copilote-mascotte { animation: none; } }

/* Logo produit au-dessus du titre */
.product-logo { width: max-content; display: flex; }
.product-logo img { height: 54px; }
.switcher__panel .product-logo img { height: 46px; }

/* Titres en dégradé sur fond sombre : couleurs claires et lisibles */
.hero--ai h1 .grad, .hero--ai h1 span.grad {
  background: linear-gradient(90deg, #a9bbff 0%, #d3b8ff 45%, #7ff0dc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* La barre « Demandez » reste centrée, sauf dans un hero en deux colonnes */
.hero--ai .ask { margin-left: auto; }
.hero--ai .hero__grid .ask { margin-left: 0; }

/* Étiquettes OCR des totaux : à gauche du montant, pour ne pas le masquer */
.doc__totals .field::after { top: 50%; right: calc(100% + 8px); transform: translate(4px, -50%); }
.doc__totals .field.is-on::after { transform: translate(0, -50%); }
