/* =========================================================
   Finition « SaaS moderne » (inspiration Linear, Vercel, Stripe)
   Chargée en dernier : typographie, bordures fines, cartes en verre,
   cadres d'application, rythme vertical plus généreux.
   ========================================================= */
:root {
  --font: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --line: rgba(11, 22, 48, .09);
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 2px rgba(11,22,48,.05), 0 8px 24px -12px rgba(11,22,48,.18);
  --shadow-lg: 0 2px 4px rgba(11,22,48,.04), 0 24px 64px -24px rgba(11,22,48,.35);
}

/* ---------- Typographie ---------- */
body {
  font-family: var(--font); font-size: 16px; color: var(--ink);
  font-feature-settings: "cv11", "ss01", "ss03"; text-rendering: optimizeLegibility;
}
.wp-site-blocks :is(h1, h2, h3, h4).wp-block-heading, h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; }
h1, .wp-site-blocks h1.wp-block-heading { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.045em; }
h2, .wp-site-blocks h2.wp-block-heading { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; }
h3, .wp-site-blocks h3.wp-block-heading { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.3; }
.lead, .wp-site-blocks p.lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); max-width: 660px; }
.hero--ai .lead, .hero--ai p.lead { color: #aab4cf; }
p { color: var(--ink-2); }

/* ---------- Sur-titres en pastille ---------- */
.wp-site-blocks p.eyebrow, .eyebrow {
  display: inline-flex; gap: .45rem; align-items: center; padding: .32rem .75rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: none;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,22,48,.04);
}
.eyebrow::before { width: 6px; height: 6px; }
.hero--ai .eyebrow, .section--dark .eyebrow, .cta-band .eyebrow {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none;
}

/* ---------- En-tête : verre dépoli, ligne fine ---------- */
.header { background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.header__inner { height: 64px; }
.header .nav-main .wp-block-navigation-item__content { font-weight: 500; font-size: .92rem; color: #4b5671; border-radius: 999px; padding: .42rem .85rem; }
.header .nav-main .wp-block-navigation-item__content:hover,
.header .nav-main .wp-block-navigation-item__content[aria-current="page"] { color: var(--ink); background: rgba(11,22,48,.05); }

/* ---------- Boutons ---------- */
.wp-block-button.btn > .wp-block-button__link {
  font-weight: 600; font-size: .93rem; padding: .78rem 1.3rem; letter-spacing: -.01em;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 1px 2px rgba(11,22,48,.2), 0 8px 20px -10px rgba(11,22,48,.45);
}
.wp-block-button.btn--ghost > .wp-block-button__link { box-shadow: 0 1px 2px rgba(11,22,48,.05); border-width: 1px; }
.wp-block-button.btn--ghost-dark > .wp-block-button__link { box-shadow: none; border-width: 1px; background: rgba(255,255,255,.04); }
.wp-block-button.btn--light > .wp-block-button__link { box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 10px 30px -10px rgba(0,0,0,.5); }
.wp-block-button.btn > .wp-block-button__link:hover { transform: translateY(-1px); }

/* ---------- Sections : plus d'air, fonds subtils ---------- */
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section--tight { padding: 3.5rem 0; }
.section-head { margin-bottom: 3.5rem; }
.section--soft {
  background:
    radial-gradient(rgba(11,22,48,.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, #f7f8fb, #f3f5f9);
  border-block: 1px solid var(--line);
}
.section--dark { background: radial-gradient(80% 60% at 50% 0%, #17224a 0%, #0b1630 55%, #070d1f 100%); }

/* ---------- Cartes : bordure fine, halo au survol ---------- */
.card, .bento__card, .step, .plan, .partner, .door {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 2px rgba(11,22,48,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .bento__card:not(.bento__card--dark):hover, .step:hover, .plan:hover {
  transform: translateY(-3px); border-color: rgba(11,22,48,.16); box-shadow: var(--shadow-lg);
}
.bento__card--dark { background: linear-gradient(160deg, #142352, #0b1630); border-color: rgba(255,255,255,.06); }
.card__icon, p.card__icon {
  width: 40px; height: 40px; border-radius: 10px; font-size: 1.1rem;
  background: linear-gradient(180deg, #fff, #f3f5f9); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,22,48,.06);
}
.section--dark .verb, .section--dark .stat, .section--dark .flow__step {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(6px);
}
.plan--featured { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--novia), #7ff0dc, var(--novia)) border-box; }

/* ---------- Cadres d'application autour des démos ---------- */
.scene { border-radius: 18px; padding: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, var(--shadow-lg), 0 40px 120px -40px rgba(61,90,254,.45); }
.scene__top {
  margin: 0; padding: .7rem 1rem; border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03); position: relative; padding-left: 4.4rem;
}
.scene__top::before {
  content: ""; position: absolute; left: 1rem; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: #ff5f57; box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840;
}
.scene > :not(.scene__top) { padding: 1.1rem; }
.scene > .beam { padding: 0; }
.mock { border-radius: 16px; box-shadow: var(--shadow-lg); }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band {
  border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(60% 120% at 0% 0%, rgba(227,129,15,.35), transparent 60%),
              radial-gradient(60% 120% at 100% 100%, rgba(65,170,168,.35), transparent 60%), #0b1630;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, var(--shadow-lg);
}

/* ---------- Divers ---------- */
.badge, p.badge { font-weight: 500; font-size: .82rem; }
.logo-slot, .marquee__item img { filter: grayscale(1) contrast(.9); }
.faq details, .faq .wp-block-details { border-color: var(--line); }
.faq summary { font-weight: 600; }
.footer { background: #070d1f; border-top: 1px solid rgba(255,255,255,.06); }
.footer h4 { font-weight: 600; font-size: .85rem; letter-spacing: .02em; color: #fff; }
.video__play, .video iframe { border-radius: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.ask { border-radius: 14px; }
.ask__go { border-radius: 10px; }
.switcher__tabs { border-radius: 14px; }
.switcher__tabs button { border-radius: 10px; font-weight: 600; }

/* ---------- Apparition au défilement plus douce ---------- */
.reveal { transform: translateY(12px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

/* ---------- En-tête : tient sur une ligne à toutes les largeurs ---------- */
@media (max-width: 1180px) and (min-width: 600px) {
  .header__inner { gap: .6rem; }
  .header .nav-main { gap: 0; }
  .header .nav-main .wp-block-navigation-item__content { padding: .4rem .5rem; font-size: .86rem; }
  .header .nav-cta .wp-block-button__link { padding: .55rem .9rem; font-size: .84rem; }
  .logo img { height: 32px; }
}
@media (max-width: 860px) and (min-width: 600px) {
  .header .nav-cta { display: none; }
}
html, body { overflow-x: clip; }

.wp-site-blocks .hero--ai p.eyebrow, .wp-site-blocks .section--dark p.eyebrow, .wp-site-blocks .cta-band p.eyebrow {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none;
}


/* ---------- Mascotte Axeane Copilote ---------- */
.bubble__who .avatar { width: 22px; height: 22px; border-radius: 7px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.copilote-mini {
  display: block; width: 112px; height: 112px; border-radius: 26px; margin-bottom: 1.25rem; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(11,22,48,.08), 0 18px 40px -16px rgba(227,129,15,.55); animation: float 5s ease-in-out infinite;
}
.copilote-mascotte { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px -30px rgba(227,129,15,.6); }
@media (prefers-reduced-motion: reduce) { .copilote-mini { animation: none; } }


/* ---------- Chiffres clés : le nombre reste grand ---------- */
.stat b span { font-size: inherit; color: inherit; display: inline; }
.stat b { display: flex; align-items: baseline; gap: .15em; font-size: clamp(2.4rem, 4.5vw, 3.4rem); letter-spacing: -.04em; }
.stat > span { display: block; margin-top: .4rem; }

/* ---------- Pastille d'audience (page Kompta) ---------- */
.wp-site-blocks p.audience {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; padding: .6rem 1.1rem .6rem .7rem; border-radius: 999px;
  font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 600; color: #fff; letter-spacing: -.01em;
  background: linear-gradient(90deg, rgba(65,170,168,.35), rgba(29,63,130,.45));
  border: 1px solid rgba(127,211,209,.45); box-shadow: 0 10px 30px -12px rgba(65,170,168,.6);
}
.wp-site-blocks p.audience span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; font-size: .95rem; }


/* =========================================================
   Schémas : comptabilité en temps réel + de la facture au bilan
   ========================================================= */
.schema-wrap { position: relative; max-width: 1060px; margin-inline: auto; }
.schema--wide { width: 100%; height: auto; display: block; overflow: visible; }
.schema--tall { display: none; }
.sch-path { fill: none; stroke-width: 1.6; stroke-opacity: .35; stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.sch-flow { font: 600 12.5px var(--font); letter-spacing: .01em; }
.sch-kicker { font: 700 11px var(--font); letter-spacing: .12em; }
.sch-title { font: 700 21px var(--font); fill: #fff; letter-spacing: -.02em; }
.sch-title--s { font-size: 16px; }
.sch-sub { font: 500 12.5px var(--font); fill: #aab4cf; }
.sch-chip { font: 600 11.5px var(--font); fill: #e6ebf7; }
.sch-hub-k { font: 800 12px var(--font); fill: #fff; letter-spacing: .14em; }
.sch-hub-t { font: 800 24px var(--font); fill: #fff; letter-spacing: -.02em; }
.sch-hub-s { font: 600 14px var(--font); fill: #d9ccff; }
.sch-ring { transform-origin: 500px 280px; animation: ring 3.2s ease-out infinite; }
.sch-ring--2 { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
.sch-live { animation: blink 1.4s infinite; }

@media (max-width: 760px) {
  .schema--wide { display: none; }
  .schema--tall { display: grid; gap: .6rem; }
  .schm__live { justify-self: center; font-size: .8rem; font-weight: 600; color: #bff7e8; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(46,230,182,.5); background: rgba(46,230,182,.1); }
  .schm__node { padding: 1rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: rgba(255,255,255,.05); display: grid; gap: .15rem; }
  .schm__node small { color: var(--c); font-weight: 700; letter-spacing: .1em; font-size: .7rem; }
  .schm__node b { color: #fff; font-size: 1.1rem; }
  .schm__node em { color: #aab4cf; font-style: normal; font-size: .85rem; }
  .schm__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
  .schm__chips span { font-size: .75rem; color: #e6ebf7; padding: .2rem .6rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 14%, transparent); }
  .schm__hub { justify-self: center; text-align: center; padding: 1.1rem 1.5rem; border-radius: 20px; background: radial-gradient(circle at 50% 30%, #3d5afe, #5b3fd1 60%, #0b1630); color: #fff; display: grid; gap: .1rem; }
  .schm__hub b { font-size: .75rem; letter-spacing: .14em; } .schm__hub span { font-size: 1.2rem; font-weight: 800; } .schm__hub small { font-size: .72rem; color: #d9ccff; }
  .schm__arrow { display: flex; align-items: center; gap: .6rem; padding-left: 1.2rem; color: var(--c); font-size: .8rem; font-weight: 600; }
  .schm__arrow i { width: 2px; height: 34px; background: linear-gradient(var(--c), transparent); position: relative; }
  .schm__arrow i::after { content: ""; position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); animation: drop 1.4s linear infinite; }
  .schm__arrow--up i::after { animation-direction: reverse; }
  @keyframes drop { from { top: 0; } to { top: 30px; } }
}

/* ----- Chaîne de la facture au bilan ----- */
.pipeline { --n: 7; --cycle: calc(var(--n) * 1.6s); list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: .8rem; }
.pipeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; height: 2px;
  background: linear-gradient(90deg, rgba(11,22,48,.08), rgba(11,22,48,.08)); }
.pipeline::after { content: ""; position: absolute; left: 4%; top: 31px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--novia), var(--kompta-teal, #41aaa8), var(--brand, #e3810f)); animation: fill var(--cycle) linear infinite; }
@keyframes fill { 0% { width: 0; opacity: 1; } 92% { width: 92%; opacity: 1; } 100% { width: 92%; opacity: 0; } }
.pipe-step { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: .35rem; }
.pipe-step__ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,22,48,.06); animation: lit var(--cycle) ease-in-out infinite;
  animation-delay: calc(var(--i) * 1.6s * .92); }
@keyframes lit {
  0%, 12% { transform: translateY(-4px) scale(1.06); border-color: transparent; box-shadow: 0 0 0 2px var(--kompta-teal, #41aaa8), 0 14px 30px -10px rgba(65,170,168,.7); }
  22%, 100% { transform: none; box-shadow: 0 1px 2px rgba(11,22,48,.06); }
}
.pipe-step b { font-size: .95rem; letter-spacing: -.01em; }
.pipe-step > span:last-child { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.section--dark .pipe-step__ico { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section--dark .pipe-step b { color: #fff; }
.section--dark .pipe-step > span:last-child { color: #aab4cf; }
.section--dark .pipeline::before { background: rgba(255,255,255,.1); }
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr; gap: 1rem; }
  .pipeline::before, .pipeline::after { left: 31px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pipeline::after { animation: none; height: 100%; opacity: .5; }
  .pipe-step { grid-template-columns: 64px 1fr; justify-items: start; text-align: left; column-gap: 1rem; }
  .pipe-step__ico { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .sch-path, .sch-ring, .pipe-step__ico, .pipeline::after, .schm__arrow i::after { animation: none; }
  .schema--wide animateMotion { display: none; }
}

.wp-site-blocks .section--dark p.lead, .wp-site-blocks .cta-band p.lead, .wp-site-blocks .section--dark .section-head p { color: #aab4cf; }
.wp-site-blocks .section--dark h2.wp-block-heading { color: #fff; }


/* =========================================================
   Icônes au trait + chaîne « facture → bilan » modernisée
   ========================================================= */
.ico { width: 22px; height: 22px; display: block; }
.card__icon, p.card__icon { color: var(--kompta); display: grid; place-items: center; }
.card__icon .ico { width: 20px; height: 20px; }
.card--novia .card__icon { color: var(--novia); }
.section--dark .card__icon { color: #7fd3d1; }
.wp-site-blocks p.audience span .ico { width: 16px; height: 16px; color: var(--kompta-dark, #111a52); }
.control-note .ico { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }

.chain-wrap { position: relative; }
.chain { --n: 7; --cycle: calc(var(--n) * 1.5s); list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: .9rem; position: relative; z-index: 1; }
.chain-flow { position: absolute; left: 6%; right: 6%; top: 74px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(10,168,137,.25), rgba(139,92,246,.25), rgba(65,170,168,.25), rgba(227,129,15,.25)); }
.chain-flow i { position: absolute; top: -3px; left: 0; width: 80px; height: 8px; border-radius: 8px; filter: blur(2px);
  background: linear-gradient(90deg, transparent, #8b5cf6, #41aaa8, transparent); animation: travel var(--cycle, 10.5s) linear infinite; }
@keyframes travel { from { left: -6%; } to { left: 100%; } }
.pstep {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding: 1.1rem 1rem 1.2rem;
  border-radius: 16px; background: rgba(255,255,255,.75); backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,22,48,.04);
  animation: pstep var(--cycle) ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s);
}
@keyframes pstep {
  0%, 9% { border-color: rgba(139,92,246,.55); box-shadow: 0 0 0 4px rgba(139,92,246,.1), 0 18px 40px -18px rgba(91,63,209,.55); transform: translateY(-4px); }
  16%, 100% { border-color: var(--line); box-shadow: 0 1px 2px rgba(11,22,48,.04); transform: none; }
}
.pstep__n { font: 600 .7rem/1 var(--font); color: var(--muted); letter-spacing: .08em; }
.pstep__ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin: .15rem 0 .35rem;
  background: linear-gradient(140deg, #1d3f82, #41aaa8); box-shadow: 0 8px 20px -8px rgba(29,63,130,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.pstep--ia .pstep__ico { background: linear-gradient(140deg, #3d5afe, #8b5cf6); box-shadow: 0 8px 20px -8px rgba(91,63,209,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.pstep--c .pstep__ico { background: linear-gradient(140deg, #0b8a72, #2ee6b6); }
.pstep--a .pstep__ico { background: linear-gradient(140deg, #e3810f, #e5521b); }
.pstep b { font-size: .95rem; letter-spacing: -.015em; line-height: 1.25; }
.pstep__d { font-size: .8rem; line-height: 1.45; color: var(--muted); flex: 1; }
.pstep__tag { font-size: .68rem; font-weight: 600; padding: .18rem .55rem; border-radius: 999px; color: #1d3f82; background: rgba(65,170,168,.12); border: 1px solid rgba(65,170,168,.3); }
.pstep--ia .pstep__tag { color: #5b3fd1; background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.3); }
.pstep--a .pstep__tag { color: #b3530c; background: rgba(227,129,15,.1); border-color: rgba(227,129,15,.3); }
.pstep--c .pstep__tag { color: #0b7a66; background: rgba(46,230,182,.12); border-color: rgba(46,230,182,.35); }
.section--dark .pstep { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .pstep b { color: #fff; } .section--dark .pstep__d { color: #aab4cf; }
@media (max-width: 1100px) { .chain { grid-template-columns: repeat(4, minmax(0, 1fr)); } .chain-flow { display: none; } }
@media (max-width: 640px) { .chain { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .chain { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pstep, .chain-flow i { animation: none; } }


/* ---------- Formules Novia ---------- */
.plan__ico { width: 64px; height: 64px; padding: 12px; border-radius: 18px; margin-bottom: .9rem; object-fit: contain;
  background: linear-gradient(180deg, #f3faf8, #e3f4ef); border: 1px solid rgba(10,168,137,.2); }
.wp-site-blocks .plan p.plan__desc { margin: .1rem 0 .6rem; font-size: .82rem; font-weight: 600; color: var(--novia); text-transform: none; }
.plan .checks li.no { color: #9aa3b8; text-decoration: line-through; }
.plan .checks li.no::before { content: "–"; background: #f1f3f7; color: #9aa3b8; }
.product-logo--dark { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); box-shadow: none; backdrop-filter: blur(8px); }
.product-logo--dark img { height: 44px; }

/* ---------- Flux entre les étapes : connecteurs fléchés animés ---------- */
.chain-flow { display: none; }
.chain { gap: 2.2rem; }
.pstep { overflow: visible; }
.pstep:not(:last-child)::after {           /* trait lumineux dans l'espace entre deux cartes */
  content: ""; position: absolute; z-index: 2; top: 62px; right: -2.2rem; width: 2.2rem; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(139,92,246,.25) 0%, #8b5cf6 40%, #41aaa8 60%, rgba(65,170,168,.25) 100%);
  background-size: 200% 100%; animation: flowline 1.4s linear infinite;
}
.pstep:not(:last-child)::before {          /* pastille flèche au milieu du trait */
  content: ""; position: absolute; z-index: 3; top: 52px; right: calc(-1.1rem - 11px); width: 22px; height: 22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b3fd1' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 0 0 1px rgba(139,92,246,.35), 0 4px 12px -2px rgba(91,63,209,.45);
}
@keyframes flowline { from { background-position: 100% 0; } to { background-position: -100% 0; } }
/* l'étape active éclaire aussi son connecteur */
.pstep { --glow: 0; }
@media (max-width: 1100px) {
  .chain { gap: 1rem; }
  .pstep::after, .pstep::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pstep::after { animation: none; } }


/* =========================================================
   Frise verticale « De la facture au bilan »
   ========================================================= */
.vtl { --fill: 0; position: relative; max-width: 1020px; margin-inline: auto; }
.vtl__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: rgba(11,22,48,.08); overflow: hidden; }
.vtl__rail i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--fill) * 100%);
  background: linear-gradient(180deg, #2ee6b6, #8b5cf6 35%, #41aaa8 65%, #e3810f); box-shadow: 0 0 14px rgba(139,92,246,.6); transition: height .15s linear; }
.vtl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2rem; }
.vtl__step { position: relative; display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; }
.vtl__node {
  grid-column: 2; justify-self: center; z-index: 1; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  color: #9aa3b8; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,22,48,.06);
  transition: color .4s, background .4s, box-shadow .4s, transform .4s;
}
.vtl__node .ico { width: 24px; height: 24px; }
.vtl__card {
  grid-row: 1; grid-column: 1; text-align: right; padding: 1.4rem 1.5rem; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,22,48,.04);
  opacity: .55; transform: translateX(-10px); transition: opacity .5s, transform .5s, box-shadow .5s, border-color .5s;
}
.vtl__step:nth-child(even) .vtl__card { grid-column: 3; text-align: left; transform: translateX(10px); }
.vtl__head { display: flex; gap: .6rem; align-items: center; justify-content: flex-end; margin-bottom: .55rem; }
.vtl__step:nth-child(even) .vtl__head { justify-content: flex-start; }
.vtl__n { font: 600 .72rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vtl__tag { font-size: .7rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; color: #1d3f82; background: rgba(65,170,168,.12); border: 1px solid rgba(65,170,168,.3); }
.vtl__card h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.vtl__card p { margin: 0 0 .9rem; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.vtl__chips { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.vtl__step:nth-child(even) .vtl__chips { justify-content: flex-start; }
.vtl__chips span { font-size: .75rem; font-weight: 500; padding: .25rem .65rem; border-radius: 8px; background: #f3f5f9; border: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* étape atteinte */
.vtl__step.is-on .vtl__card { opacity: 1; transform: none; box-shadow: var(--shadow-lg); border-color: rgba(11,22,48,.12); }
.vtl__step.is-on .vtl__node { color: #fff; transform: scale(1.06); background: linear-gradient(140deg, #1d3f82, #41aaa8); border-color: transparent; box-shadow: 0 0 0 6px rgba(65,170,168,.15), 0 12px 28px -10px rgba(29,63,130,.7); }
.vtl__step--ia.is-on .vtl__node { background: linear-gradient(140deg, #3d5afe, #8b5cf6); box-shadow: 0 0 0 6px rgba(139,92,246,.15), 0 12px 28px -10px rgba(91,63,209,.7); }
.vtl__step--c.is-on .vtl__node { background: linear-gradient(140deg, #0b8a72, #2ee6b6); box-shadow: 0 0 0 6px rgba(46,230,182,.15), 0 12px 28px -10px rgba(11,138,114,.7); }
.vtl__step--a.is-on .vtl__node { background: linear-gradient(140deg, #e3810f, #e5521b); box-shadow: 0 0 0 6px rgba(227,129,15,.15), 0 12px 28px -10px rgba(229,82,27,.7); }
.vtl__step--ia .vtl__tag { color: #5b3fd1; background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.3); }
.vtl__step--a .vtl__tag { color: #b3530c; background: rgba(227,129,15,.1); border-color: rgba(227,129,15,.3); }
.vtl__step--c .vtl__tag { color: #0b7a66; background: rgba(46,230,182,.12); border-color: rgba(46,230,182,.35); }

@media (max-width: 760px) {
  .vtl__rail { left: 26px; }
  .vtl__step { grid-template-columns: 52px 1fr; column-gap: 1rem; align-items: start; }
  .vtl__node { grid-column: 1; }
  .vtl__card, .vtl__step:nth-child(even) .vtl__card { grid-column: 2; text-align: left; transform: none; }
  .vtl__head, .vtl__step:nth-child(even) .vtl__head, .vtl__chips, .vtl__step:nth-child(even) .vtl__chips { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .vtl__card, .vtl__node { transition: none; }
}


/* ---------- Automatique / action humaine ---------- */
.vtl__mode { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; padding: .25rem .65rem .25rem .5rem;
  border-radius: 999px; margin-bottom: .7rem; }
.vtl__mode .ico { width: 14px; height: 14px; }
.vtl__mode--auto { color: #5b3fd1; background: linear-gradient(90deg, rgba(61,90,254,.1), rgba(139,92,246,.14)); border: 1px solid rgba(139,92,246,.35); }
.vtl__mode--humain { color: #8a4a0c; background: rgba(227,129,15,.1); border: 1px solid rgba(227,129,15,.35); }
.vtl__legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .7rem; margin: -1.5rem auto 2.5rem; }
.vtl__legend .vtl__mode { margin: 0; font-size: .82rem; padding: .35rem .8rem .35rem .6rem; }
.vtl__ratio { font-size: .9rem; color: var(--muted); }
.vtl__ratio b { color: var(--ink); }
/* une étape humaine se repère aussi par son point sur la frise */
.vtl__step:has(.vtl__mode--humain) .vtl__node { border-style: dashed; border-color: rgba(227,129,15,.6); }


/* ---------- Serif éditoriale (Instrument Serif) ---------- */
.serif, h1 .grad.serif, h2 em.serif {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
h1 .grad.serif { font-size: 1.08em; padding-right: .06em; }
h2 em.serif { font-size: 1.1em; }
.section--dark h2 em.serif { background: linear-gradient(90deg, #ffb46b, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Kompta dans Claude ---------- */
.wp-site-blocks p.badge-new {
  display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1rem; padding: .3rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: #ffd2a8; background: rgba(227,129,15,.14); border: 1px solid rgba(255,154,61,.45);
}
.wp-site-blocks p.badge-new::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff9a3d; box-shadow: 0 0 10px #ff9a3d; }
.section--claude { background: radial-gradient(60% 70% at 85% 30%, rgba(217,119,87,.22), transparent 70%), radial-gradient(80% 60% at 50% 0%, #17224a 0%, #0b1630 55%, #070d1f 100%); }
.section--claude .split { margin-bottom: 3rem; }
.claude-teaser { margin-bottom: 0 !important; }
.claude-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block;
  background: conic-gradient(from 0deg, #d97757, #f0a37c, #d97757); box-shadow: 0 0 10px rgba(217,119,87,.7); }
.scene--claude { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, var(--shadow-lg), 0 40px 120px -40px rgba(217,119,87,.5); }
.scene--claude .bubble--me { background: #d97757; }
.claude-steps { list-style: none; counter-reset: c; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.claude-steps li { counter-increment: c; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: .25rem; }
.claude-steps li::before { content: counter(c); position: absolute; left: 1rem; top: 1rem; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #d97757, #e3810f); }
.claude-steps b { color: #fff; } .claude-steps span { color: #aab4cf; font-size: .92rem; }
.claude-bento .bento__card:not(.bento__card--dark) { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.claude-bento .bento__card:not(.bento__card--dark) h3 { color: #fff; }
.claude-bento .bento__card:not(.bento__card--dark) p { color: #aab4cf; }
.claude-bento { margin-bottom: 2rem; }

/* ---------- Bulle flottante Copilote ---------- */
.copilote-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: .7rem; padding: .45rem 1rem .45rem .45rem;
  border-radius: 999px; text-decoration: none; color: #fff; background: rgba(11,22,48,.88); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 40px -12px rgba(227,129,15,.55); transition: transform .25s, box-shadow .25s;
  animation: fabin .6s .8s both cubic-bezier(.2,.8,.2,1);
}
.copilote-fab:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 24px 50px -12px rgba(227,129,15,.7); }
.copilote-fab img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; animation: float 4s ease-in-out infinite; }
.copilote-fab span { display: grid; line-height: 1.2; }
.copilote-fab b { font-size: .9rem; } .copilote-fab small { font-size: .72rem; color: #aab4cf; }
@keyframes fabin { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@media (max-width: 600px) { .copilote-fab span { display: none; } .copilote-fab { padding: .4rem; } }
@media (prefers-reduced-motion: reduce) { .copilote-fab, .copilote-fab img { animation: none; } }


/* =========================================================
   Charte Axeane Novia : vert sapin #194848, émeraude #358f74,
   pétrole #226d68, ocre #d6955b (reprise de axeanenovia.com)
   ========================================================= */
:root {
  --novia: #358f74; --novia-dark: #194848; --novia-2: #226d68; --novia-ochre: #d6955b;
  --novia-soft: #eaf4f0; --novia-light: #7fcfae;
}
/* boutons */
.wp-block-button.btn--novia > .wp-block-button__link { background: linear-gradient(90deg, #194848, #226d68 50%, #358f74); color: #fff; }
.plan--featured .wp-block-button.btn--novia > .wp-block-button__link,
.novia-cta .wp-block-button__link { background: linear-gradient(90deg, #d6955b, #c97b3c); }
/* textes, puces, étiquettes */
.eyebrow--novia, .card--novia .card__icon, .door--novia .door__who { color: var(--novia); }
.hero--ai .eyebrow--novia, .section--dark .eyebrow--novia { color: var(--novia-light); }
.checks--novia li::before { background: var(--novia-soft); color: var(--novia); }
.flow__tag--novia { color: var(--novia-light); }
.door--novia:hover { border-color: var(--novia); }
.scene__live--novia { color: var(--novia-light); }
.scene__live--novia::before { background: var(--novia-light); }
/* scène de facture : tampon TTN, étapes validées */
.stamp { border-color: #358f74; color: #358f74; }
.novia-scene .node.is-on { border-color: rgba(127,207,174,.6); box-shadow: 0 0 24px -6px rgba(53,143,116,.7); }
.novia-scene .node__check { color: var(--novia-light); }
/* formules */
.plan__ico { background: linear-gradient(180deg, #f2f8f5, #e2f0ea); border-color: rgba(53,143,116,.25); }
.wp-site-blocks .plan p.plan__desc { color: var(--novia); }
.plan--featured { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #194848, #358f74, #d6955b) border-box; }
.plan--featured::before { background: #d6955b; }
.plan:last-child .plan__ico { background: linear-gradient(180deg, #fbf1e7, #f5e2cf); border-color: rgba(214,149,91,.35); }
/* frise et chaîne : étapes « client » aux couleurs Novia */
.vtl__step--c.is-on .vtl__node { background: linear-gradient(140deg, #194848, #358f74); box-shadow: 0 0 0 6px rgba(53,143,116,.15), 0 12px 28px -10px rgba(25,72,72,.7); }
.vtl__step--c .vtl__tag, .pstep--c .pstep__tag { color: #226d68; background: rgba(53,143,116,.1); border-color: rgba(53,143,116,.35); }
.pstep--c .pstep__ico { background: linear-gradient(140deg, #194848, #358f74); }
.vtl__rail i { background: linear-gradient(180deg, #358f74, #8b5cf6 35%, #41aaa8 65%, #e3810f); }
/* page Novia : fond du haut de page teinté vert sapin */
.hero--brand-novia { background: radial-gradient(70% 60% at 20% 0%, rgba(53,143,116,.35), transparent 70%), #071a1c; }
.hero--brand-novia .aurora i:nth-child(1) { background: #226d68; }
.hero--brand-novia .aurora i:nth-child(2) { background: #194848; }
.hero--brand-novia .aurora i:nth-child(3) { background: #d6955b; opacity: .22; }
.hero--brand-novia h1 .grad { background: linear-gradient(90deg, #9fe0c4, #7fcfae 45%, #f0c08f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Page Novia : sections sombres en vert sapin, accents ocre */
.site-main:has(.hero--brand-novia) .section--dark { background: radial-gradient(70% 60% at 50% 0%, #1f5a57 0%, #194848 45%, #0b2324 100%); }
.site-main:has(.hero--brand-novia) .section--dark .verb::before { color: #d6955b; }
.site-main:has(.hero--brand-novia) .section--dark .eyebrow--accent { color: #f0b47c; }
.site-main:has(.hero--brand-novia) .cta-band { background: radial-gradient(60% 120% at 0% 0%, rgba(214,149,91,.4), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(53,143,116,.45), transparent 60%), #0f2f30; }
.site-main:has(.hero--brand-novia) .bento__card--dark { background: linear-gradient(160deg, #1f5a57, #194848); }

.site-main:has(.hero--brand-novia) .bento__tag:not(.bento__tag--ai) { color: #358f74; }
.site-main:has(.hero--brand-novia) .bento__card--dark .bento__tag { color: #f0b47c; }
.site-main:has(.hero--brand-novia) .bento__card:hover::before { background: radial-gradient(320px circle at var(--mx) var(--my), rgba(53,143,116,.14), transparent 60%); }


/* =========================================================
   Charte Axeane Kompta : bleu nuit #111c53, turquoise #46afa9,
   turquoise clair #7ebec5 (reprise de axeanekompta.com)
   ========================================================= */
:root { --kompta: #111c53; --kompta-dark: #111c53; --kompta-teal: #46afa9; --kompta-light: #7ebec5; --kompta-soft: #e8f5f4; }
.wp-block-button.btn--kompta > .wp-block-button__link { background: linear-gradient(90deg, #111c53, #1e3f73 55%, #46afa9); color: #fff; }
.eyebrow--kompta, .bento__tag, .card--kompta .card__icon, .door--kompta .door__who { color: #2f8f8a; }
.hero--ai .eyebrow--kompta, .section--dark .eyebrow--kompta { color: #8fd6d1; }
.checks--kompta li::before { background: var(--kompta-soft); color: #2f8f8a; }
.card__icon, p.card__icon { color: #111c53; }
/* page Kompta : fonds bleu nuit, halos turquoise */
.hero--brand-kompta { background: radial-gradient(70% 60% at 15% 0%, rgba(70,175,169,.32), transparent 70%), #0a1140; }
.hero--brand-kompta .aurora i:nth-child(1) { background: #46afa9; opacity: .35; }
.hero--brand-kompta .aurora i:nth-child(2) { background: #1e3f73; }
.hero--brand-kompta .aurora i:nth-child(3) { background: #7ebec5; opacity: .2; }
.hero--brand-kompta h1 .grad { background: linear-gradient(90deg, #9fe3dd, #46afa9 50%, #7ebec5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-main:has(.hero--brand-kompta) .section--dark:not(.section--claude) { background: radial-gradient(70% 60% at 50% 0%, #1a2a73 0%, #111c53 45%, #0a1038 100%); }
.site-main:has(.hero--brand-kompta) .section--dark .verb::before { color: #46afa9; }
.site-main:has(.hero--brand-kompta) .section--dark .eyebrow--accent { color: #8fd6d1; }
.site-main:has(.hero--brand-kompta) .bento__card--dark { background: linear-gradient(160deg, #1a2a73, #111c53); }
.site-main:has(.hero--brand-kompta) .cta-band { background: radial-gradient(60% 120% at 0% 0%, rgba(70,175,169,.4), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(126,190,197,.3), transparent 60%), #111c53; }
.site-main:has(.hero--brand-kompta) .stat b, .site-main:has(.hero--brand-kompta) .verb h3 { color: #fff; }
.site-main:has(.hero--brand-kompta) .scene { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, var(--shadow-lg), 0 40px 120px -40px rgba(70,175,169,.5); }

/* Les colonnes peuvent rétrécir : aucun contenu ne pousse la page hors de l'écran */
.split > *, .hero__grid > *, .switcher__panel > *, .grid > *, .bento > * { min-width: 0; }
.wp-site-blocks p, .wp-site-blocks li { overflow-wrap: anywhere; }

/* Formulaire : les champs prennent la largeur disponible */
.form input, .form select, .form textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.form label, .form__row > * { min-width: 0; }
.card--form { min-width: 0; padding: 1.25rem; }
@media (max-width: 560px) { .form .btn { width: 100%; } }

/* =========================================================
   Animations Kompta (scan OCR, conversation Copilote) aux couleurs
   de Kompta : bleu nuit #111c53, turquoise #46afa9, clair #7ebec5
   ========================================================= */
.scene[data-scene="ocr"], .scene[data-scene="copilote"]:not(.scene--claude), .scene[data-scene="agent"] {
  background: linear-gradient(160deg, #16246a 0%, #111c53 55%, #0c2f3d 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, var(--shadow-lg), 0 40px 120px -40px rgba(70,175,169,.5);
}
/* scan OCR */
.scene[data-scene="ocr"] .beam { background: linear-gradient(180deg, transparent, rgba(70,175,169,.22) 70%, rgba(126,190,197,.95) 96%, transparent); }
.scene[data-scene="ocr"] .field.is-on { background: rgba(70,175,169,.14); box-shadow: 0 0 0 1.5px #46afa9; }
.scene[data-scene="ocr"] .field::after { background: #111c53; color: #9fe3dd; box-shadow: 0 0 0 1px #46afa9; }
.scene[data-scene="ocr"] .ai-chip { background: linear-gradient(90deg, #111c53, #46afa9, #7ebec5, #111c53); background-size: 200% 100%; }
.scene[data-scene="ocr"] .entry tr.hide-until.is-on td { animation-name: rowflash-k; }
@keyframes rowflash-k { from { background: rgba(70,175,169,.35); } to { background: transparent; } }
.scene[data-scene="ocr"] .ok-chip, .scene[data-scene="ocr"] .scene__live { color: #9fe3dd; }
.scene[data-scene="ocr"] .scene__live::before { background: #46afa9; }
/* conversation Copilote */
.scene[data-scene="copilote"]:not(.scene--claude) .bubble--me { background: linear-gradient(135deg, #1e3f73, #46afa9); }
.scene[data-scene="copilote"]:not(.scene--claude) .bubble__who { color: #9fe3dd; }
.scene[data-scene="copilote"]:not(.scene--claude) .caret::after { color: #46afa9; }
.scene[data-scene="copilote"]:not(.scene--claude) .decl { background: rgba(17,28,83,.55); border: 1px solid rgba(70,175,169,.25); }
.scene[data-scene="copilote"]:not(.scene--claude) .decl__row:last-child { color: #9fe3dd; }
.scene[data-scene="copilote"]:not(.scene--claude) .scene__live { color: #9fe3dd; }
.scene[data-scene="copilote"]:not(.scene--claude) .scene__live::before { background: #46afa9; }
/* journal de fin de mois */
.scene[data-scene="agent"] .log__line b { color: #46afa9; }
.scene[data-scene="agent"] .log__done { background: rgba(70,175,169,.12); border-color: rgba(70,175,169,.45); }
