/* Layout : bandeau bleu en dégradé 45° qui porte le titre, maquette produit qui déborde sur le blanc,
   puis sections aérées sur une grille de 1200px ; cartes réservées aux objets (formules, articles). */
:root {
  --blue: #305B9E;
  --blue-2: #378DB3;
  --cyan: #3AA4BD;
  --green: #8DBC48;
  --green-2: #ABBC48;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FA;
  --surface: #FFFFFF;
  --ink: #1D2B3F;
  --ink-2: #55657A;
  --line: #DCE4EE;
  --on-band: #FFFFFF;
  --band-from: #305B9E;
  --band-to: #378DB3;
  --chip: #E8F0FA;
  --chip-ink: #305B9E;
  --ok: #5E8F22;
  --ok-bg: #EEF6E3;
  --warn: #A86A00;
  --warn-bg: #FFF4DE;
  --shadow: 0 24px 60px -24px rgba(29, 43, 63, .35);
  --visual-bg: #EAF2FB;
  --pie-1: #305B9E; --pie-2: #3AA4BD; --pie-3: #8DBC48; --pie-4: #7FA3D6; --pie-5: #E0A33A; --pie-6: #A3B1C4;
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1724; --bg-soft: #152033; --surface: #1A273B; --ink: #E8EEF6; --ink-2: #A3B1C4;
    --line: #2A3A52; --band-from: #1F3E70; --band-to: #24617E; --chip: #20324D; --chip-ink: #9CC3F0;
    --blue: #6E9BE0; --cyan: #5CC0D6; --green: #A3D163; --ok: #A3D163; --ok-bg: #22331A;
    --warn: #F2B64C; --warn-bg: #3A2C12; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
    --pie-1: #6E9BE0; --pie-4: #A9C2EA; --pie-6: #6B7C94;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1724; --bg-soft: #152033; --surface: #1A273B; --ink: #E8EEF6; --ink-2: #A3B1C4;
  --line: #2A3A52; --band-from: #1F3E70; --band-to: #24617E; --chip: #20324D; --chip-ink: #9CC3F0;
  --blue: #6E9BE0; --cyan: #5CC0D6; --green: #A3D163; --ok: #A3D163; --ok-bg: #22331A;
  --warn: #F2B64C; --warn-bg: #3A2C12; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --pie-1: #6E9BE0; --pie-4: #A9C2EA; --pie-6: #6B7C94;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }
.eyebrow { font: 600 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(45deg, #8DBC48, #ABBC48); color: #14240A; box-shadow: 0 10px 24px -10px rgba(141, 188, 72, .8); }
.btn-dark { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-on-band { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: auto; }
.brand b { font: 700 1.35rem/1 var(--font-display); letter-spacing: .02em; }
.brand small { display: block; font-size: .72rem; color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav > a, .nav-trigger { font: 500 1rem/1 var(--font-body); color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-trigger:hover, .nav > a[aria-current="page"], .nav-trigger[aria-current="page"] { background: var(--chip); color: var(--chip-ink); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -20px; width: min(760px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.mega[hidden] { display: none; }
/* Pont invisible au-dessus du panneau : la souris ne « sort » pas du menu en traversant l'espace de 10 px. */
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; }
.mega h4 { font: 600 .75rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 4px 0 12px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega a { display: flex; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--bg-soft); }
.mega a strong { display: block; font-size: .96rem; }
.mega a small { display: block; color: var(--ink-2); font-size: .84rem; line-height: 1.4; }
.mega .ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); }
.mega .ico svg { width: 19px; height: 19px; }
.mega-side { background: var(--bg-soft); border-radius: var(--r-md); padding: 14px; }

/* Bloc sombre « L'IA analyse vos données » (page Pilotage et IA) */
.night { --night: #0E1B30; --night-2: #16284A; background: var(--night); color: #E6EEF8; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .night { --night: #0A1322; --night-2: #13223D; } }
:root[data-theme="dark"] .night { --night: #0A1322; --night-2: #13223D; }
.night[hidden] { display: none; }
.night::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(58, 164, 189, .28), transparent); pointer-events: none; }
.night .eyebrow { color: #8DBC48; }
.night h2 { color: #fff; }
.night .lead { color: #9FB2CC; }
.ai-cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-col { background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.ai-col h3 { font-family: var(--font-display); font-weight: 700; color: #fff; }
.ai-col p { color: #9FB2CC; font-size: .96rem; }
.ai-col .bubble { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px 14px; font-size: .88rem; display: grid; gap: 6px; }
.ai-col .bubble em { font-style: normal; color: #8DBC48; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ai-col .pitch { color: #fff; font-weight: 600; font-size: .92rem; }
@media (max-width: 900px) { .ai-cols { grid-template-columns: 1fr; } }

/* Menu Fonctionnalités : une colonne d'introduction, puis les six modules, chacun dans sa couleur. */
.header-inner { position: relative; }
.nav-item.wide { position: static; }
.mega-fn { left: 24px; width: min(880px, calc(100% - 48px)); grid-template-columns: 250px 1fr; gap: 24px; padding: 22px; }
.fn-intro { display: grid; gap: 12px; align-content: start; background: var(--bg-soft); border-radius: var(--r-md); padding: 20px; }
.fn-intro h4 { margin: 0; }
.fn-intro .fn-title { font: 700 1.35rem/1.15 var(--font-display); color: var(--ink); }
.fn-intro p { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.fn-intro .btn { justify-self: start; margin-top: 6px; }
.mega .fn-intro .btn { padding: 10px 16px; color: #14240A; }
.fn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.mega a.fn-tile { --c: var(--blue); align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); transition: background .15s, border-color .15s; }
.mega a.fn-tile strong { font: 700 1.05rem/1.2 var(--font-display); color: var(--c); }
.mega a.fn-tile .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; }
.mega a.fn-tile .ico svg { width: 22px; height: 22px; }
.mega a.fn-tile:hover, .mega a.fn-tile[aria-current] { background: color-mix(in srgb, var(--c) 12%, transparent); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.fn-ia { display: inline-grid; color: var(--fn-pilotage); vertical-align: middle; }
.fn-ia svg { width: 16px; height: 16px; }

/* Page d'un module (fonctionnalite.html#<id>) : bandeau dans la couleur du module, fonctionnalités en cartes. */
.fn-page { --c: var(--blue); }
.fn-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(45deg, color-mix(in srgb, var(--c) 82%, #0E1B30), var(--c)); padding-block: clamp(48px, 7vw, 88px); }
.fn-hero .crumbs { color: rgba(255, 255, 255, .85); font-size: .9rem; }
.fn-hero .crumbs a { color: #fff; }
.fn-hero-in { display: grid; gap: 18px; justify-items: start; }
.fn-hero-in > * { max-width: 760px; }
.fn-page .section-head .eyebrow { color: var(--c); }
.fn-hero .big-ico { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.fn-hero .big-ico svg { width: 32px; height: 32px; }
.fn-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.fn-hero .lead { color: rgba(255, 255, 255, .9); }
.fn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fn-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.fn-card h3 { font-size: 1.15rem; display: flex; gap: 8px; align-items: center; }
.fn-card p { color: var(--ink-2); font-size: .97rem; }
.fn-card .exp-logos { display: flex; gap: 8px; margin-top: 4px; }
.fn-card .exp-logos img { height: 30px; width: auto; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.fn-video { margin-top: 48px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.fn-video .txt { display: grid; gap: 14px; }
.fn-video .txt p { color: var(--ink-2); }
.fn-others { display: flex; flex-wrap: wrap; gap: 10px; }
.fn-others a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--c); font-weight: 600; text-decoration: none; }
.fn-others a:hover { background: color-mix(in srgb, var(--c) 12%, transparent); }
.fn-others a svg { width: 18px; height: 18px; }
/* Bulles flottantes du bandeau des pages Fonctionnalités */
.fn-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.fn-bulles { position: relative; min-height: 400px; list-style: none; margin: 0; padding: 0; }
/* Halo bleu nuit derrière les bulles, plus foncé que le fond du bandeau. */
.fn-bulles::before { content: ""; position: absolute; inset: -18% -14%; background: radial-gradient(closest-side, rgba(10, 25, 70, .38), rgba(10, 25, 70, 0)); pointer-events: none; }
/* Quadrillage blanc léger (comme le haut de l'accueil) sur tous les bandeaux Fonctionnalités et Pour qui ?. */
.fn-hero::before, .band.grille::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 40px 40px; }
.band.grille > .wrap { position: relative; }
.fn-bulle { z-index: 1; }
.fn-bulle { position: absolute; width: 82%; display: flex; gap: 12px; align-items: flex-start; background: var(--surface); color: var(--ink-2); border-radius: 18px; box-shadow: 0 22px 44px -20px rgba(8, 16, 40, .55); padding: 16px 18px; font-size: .9rem; line-height: 1.45; }
.fn-bulle strong { display: block; color: var(--ink); font: 700 1.02rem/1.25 var(--font-display); margin-bottom: 3px; }
.fn-bulle .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; }
.fn-bulle .ico svg { width: 22px; height: 22px; }
.fn-bulle:nth-child(1) { top: 0; right: 0; }
.fn-bulle:nth-child(2) { top: 35%; left: 0; }
.fn-bulle:nth-child(3) { bottom: 0; right: 6%; }
@media (prefers-reduced-motion: no-preference) {
  .fn-bulle { animation: fn-float 7s ease-in-out infinite; }
  .fn-bulle:nth-child(2) { animation-delay: -2.3s; }
  .fn-bulle:nth-child(3) { animation-delay: -4.6s; }
  @keyframes fn-float { 50% { transform: translateY(-8px); } }
}
@media (max-width: 920px) {
  .fn-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .fn-bulles { min-height: 0; display: grid; gap: 12px; }
  .fn-bulle:nth-child(n) { position: relative; inset: auto; width: auto; }
}
.fn-hero .fn-sous { font: 600 clamp(1.15rem, 2vw, 1.45rem)/1.3 var(--font-display); color: #fff; }
.mega a.fn-tile small { color: var(--ink-2); font-size: .84rem; margin-top: 2px; }
/* Bénéfices : quatre blocs rédigés, numérotés dans la couleur du module. */
.fp-ben { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fp-b { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.fp-num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font: 700 1rem var(--font-display); }
.fp-b h3 { font-size: 1.15rem; }
.fp-b p { color: var(--ink-2); font-size: .97rem; }
/* Sections alternées texte + média */
.fp-rows { display: grid; gap: clamp(56px, 8vw, 96px); }
.fp-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; scroll-margin-top: 96px; }
.fp-row > * { min-width: 0; }
.fp-row.rev > .txt { order: 2; }
.fp-row .txt { display: grid; gap: 16px; }
.fp-row .eyebrow { color: var(--c); }
.fp-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.15; }
.fp-row .txt p { color: var(--ink-2); }
.fp-row figure { margin: 0; }
.fp-row video, .fp-row .shot-frame img { display: block; width: 100%; height: auto; }
.fp-logo-card { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; padding: 40px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.fp-logo-card p { flex-basis: 100%; text-align: center; color: var(--ink-2); font-size: .95rem; }
.fp-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-pill { flex: none; height: 68px; padding: 0 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.logo-pill img { height: var(--h, 28px); width: auto; max-width: 160px; }
.logo-pill .logo-txt { margin-left: 10px; font: 700 1.05rem var(--font-display); color: #1D2B3F; }
.fp-faq-wrap .faq { max-width: 860px; }
@media (max-width: 1000px) { .fp-ben { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .fp-row { grid-template-columns: 1fr; gap: 24px; } .fp-row.rev > .txt { order: 0; } }
@media (max-width: 600px) { .fp-ben { grid-template-columns: 1fr; } .logo-pill { height: 58px; padding: 0 16px; flex: 1 1 40%; } }
:root {
  --fn-crm: #E07A1F; --fn-production: #305B9E; --fn-compta: #4F8A1E;
  --fn-sinistres: #D2453A; --fn-conformite: #7A4CC9; --fn-pilotage: #1C8FAD;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fn-crm: #F2A057; --fn-production: #7EA6E6; --fn-compta: #9CCB63;
    --fn-sinistres: #F07E74; --fn-conformite: #B394F0; --fn-pilotage: #5CC6E0;
  }
}
:root[data-theme="dark"] {
  --fn-crm: #F2A057; --fn-production: #7EA6E6; --fn-compta: #9CCB63;
  --fn-sinistres: #F07E74; --fn-conformite: #B394F0; --fn-pilotage: #5CC6E0;
}
.mega a.fn-crm, .fn-crm { --c: var(--fn-crm); } .mega a.fn-production, .fn-production { --c: var(--fn-production); }
.mega a.fn-compta, .fn-compta { --c: var(--fn-compta); } .mega a.fn-sinistres, .fn-sinistres { --c: var(--fn-sinistres); }
.mega a.fn-conformite, .fn-conformite, .mega a.fn-tarification, .fn-tarification { --c: var(--fn-conformite); }
.fn-grid .fn-tile:last-child:nth-child(odd) { grid-column: 1 / -1; } .mega a.fn-pilotage, .fn-pilotage { --c: var(--fn-pilotage); }
@media (max-width: 1100px) and (min-width: 941px) {
  .mega-fn { grid-template-columns: 1fr; }
  .fn-intro { grid-template-columns: 1fr auto; align-items: center; }
  .fn-intro h4, .fn-intro p { grid-column: 1; }
  .fn-intro .btn { grid-column: 2; grid-row: 1 / span 4; }
}
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-end .login { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 10px; }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
@media (max-width: 940px) {
  .menu-button { display: grid; place-items: center; }
  .nav { display: none; position: absolute; inset: 72px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: flex; }
  .nav-item .mega { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; margin-top: 6px; }
  .mega::before { content: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-fn { padding: 12px; gap: 12px; }
  .fn-intro { display: none; }
  .fn-grid { grid-template-columns: 1fr; gap: 6px; }
  .mega a.fn-tile { padding: 10px 12px; }
  .mega a.fn-tile .ico { width: 38px; height: 38px; }
  .nav-end { margin: 12px 0 0; flex-direction: column; align-items: stretch; }
  .nav-end .btn { justify-content: center; }
}
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Bandeau héros */
.band { position: relative; overflow: hidden; color: var(--on-band); background: linear-gradient(45deg, var(--band-from), var(--band-to)); }
.band .orbit { position: absolute; inset: auto -10% -40% auto; width: min(900px, 120vw); opacity: .9; pointer-events: none; }
.hero { padding-block: clamp(56px, 8vw, 96px) 0; }
.hero-copy { position: relative; display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 880px; margin-inline: auto; }
.hero-copy .lead { color: rgba(255, 255, 255, .86); margin-inline: auto; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: .92rem; border: 1px solid rgba(255, 255, 255, .22); }
.pill b { background: linear-gradient(45deg, #8DBC48, #ABBC48); color: #14240A; padding: 4px 10px; border-radius: 999px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.reassure { font-size: .9rem; color: rgba(255, 255, 255, .75); }
.hero-shot { position: relative; margin-top: 56px; margin-bottom: -150px; }
.after-band { padding-top: 190px; }
.page-hero { padding-block: clamp(56px, 7vw, 88px); }
.page-hero .hero-copy { justify-items: start; text-align: left; margin: 0; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: .88rem; color: rgba(255, 255, 255, .75); }
.crumbs a { color: #fff; }

/* Maquette produit SKY */
.app { background: var(--surface); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 210px 1fr; text-align: left; font-size: .88rem; }
.app-side { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 16px 12px; display: grid; align-content: start; gap: 2px; }
.app-side .brandline { display: flex; align-items: center; gap: 8px; font: 700 1rem var(--font-display); padding: 4px 8px 14px; }
.app-side .brandline img { width: 22px; }
.app-side span { padding: 8px 10px; border-radius: 9px; color: var(--ink-2); display: flex; gap: 9px; align-items: center; }
.app-side span.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 0 var(--line); }
.app-side svg.i { width: 16px; height: 16px; }
.app-main { padding: 18px 20px 22px; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.app-top h4 { font-size: 1.05rem; }
.app-top .search { margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink-2); min-width: 180px; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; overflow-x: auto; }
.col { background: var(--bg-soft); border-radius: 12px; padding: 10px; display: grid; align-content: start; gap: 8px; }
.col-h { display: flex; justify-content: space-between; font-weight: 600; font-size: .82rem; color: var(--ink-2); padding: 2px 4px 4px; }
.qt { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; display: grid; gap: 3px; }
.qt .ref { font-size: .74rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.qt strong { font-size: .86rem; }
.qt .row { display: flex; justify-content: space-between; align-items: center; font-variant-numeric: tabular-nums; }
.tag { font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.ai-bubble { position: absolute; right: -18px; bottom: 40px; width: min(330px, 70%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; display: grid; gap: 10px; text-align: left; font-size: .86rem; }
.ai-bubble .q { justify-self: end; background: var(--blue); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; max-width: 90%; }
.ai-bubble .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .8rem; color: var(--ink-2); }
.ai-bubble .who i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(45deg, #8DBC48, #3AA4BD); display: inline-block; }
.bars { display: grid; gap: 6px; }
.bars div { display: grid; grid-template-columns: 82px 1fr 64px; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.bars em { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); display: block; }
.bars span:last-child { text-align: right; }
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .ai-bubble { position: relative; right: auto; bottom: auto; width: auto; margin: -30px 16px 0; }
  .hero-shot { margin-bottom: -90px; }
  .after-band { padding-top: 130px; }
}

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-block: 1px solid var(--line); padding-block: 28px; }
.stat b { display: block; font: 700 2.4rem/1 var(--font-display); color: var(--blue); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Profils */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.profile:hover { border-color: var(--cyan); transform: translateY(-2px); }
.profile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); }
.profile p { color: var(--ink-2); }
.profile .more { color: var(--blue); font-weight: 600; margin-top: 4px; }
@media (max-width: 860px) { .profiles { grid-template-columns: 1fr; } }

/* Cycle de vie du contrat (séquence réelle) */
.cycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.cycle li { position: relative; padding: 0 16px 0 0; display: grid; gap: 10px; align-content: start; }
.cycle li::before { counter-increment: step; content: counter(step); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--font-display); color: #fff; background: linear-gradient(45deg, var(--band-from), var(--band-to)); position: relative; z-index: 1; }
.cycle li::after { content: ""; position: absolute; top: 20px; left: 42px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.cycle li:last-child::after { display: none; }
.cycle p { color: var(--ink-2); font-size: .95rem; }
.cycle small { color: var(--blue); font-weight: 600; font-size: .82rem; }
@media (max-width: 900px) {
  .cycle, .cycle[style] { grid-template-columns: 1fr !important; gap: 26px; }
  .cycle li { grid-template-columns: 42px 1fr; column-gap: 16px; padding: 0; }
  .cycle li > * { grid-column: 2; }
  .cycle li::before { grid-row: 1 / span 3; grid-column: 1; }
  .cycle li::after { top: 42px; bottom: -26px; left: 20px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* IA */
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-list { display: grid; gap: 4px; }
.ai-tab { display: grid; gap: 4px; text-align: left; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid transparent; background: none; color: var(--ink); cursor: pointer; font: inherit; }
.ai-tab strong { font: 600 1.15rem var(--font-display); }
.ai-tab span { color: var(--ink-2); font-size: .97rem; }
.ai-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(29, 43, 63, .4); }
.ai-tab[aria-selected="true"] strong { color: var(--blue); }
.ai-demo { background: linear-gradient(45deg, var(--band-from), var(--band-to)); border-radius: var(--r-lg); padding: 28px; min-height: 360px; display: grid; align-content: center; }
.chat { background: var(--surface); border-radius: 18px; padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow); font-size: .93rem; }
.chat .q { justify-self: end; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 85%; }
.chat .a { background: var(--bg-soft); padding: 12px 14px; border-radius: 16px 16px 16px 4px; max-width: 92%; display: grid; gap: 8px; }
.chat .src { font-size: .78rem; color: var(--ink-2); }
.chat .input { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--ink-2); font-size: .86rem; }
@media (max-width: 900px) { .ai-split { grid-template-columns: 1fr; gap: 28px; } }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.feature { display: grid; gap: 10px; align-content: start; }
.feature .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); }
.feature p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Intégrations */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-card { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.logo-card b { font: 700 1.15rem var(--font-display); }
.logo-card span { color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.logo-card .soon { justify-self: start; }
@media (max-width: 900px) { .logos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .logos { grid-template-columns: 1fr; } }

/* Actualités */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; }
.post:hover { transform: translateY(-3px); border-color: var(--cyan); }
.post-cover { aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-items: end start; padding: 16px; color: #fff; position: relative; overflow: hidden; }
.post-cover svg.deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-cover .tag { position: relative; background: rgba(255, 255, 255, .92); color: #1D2B3F; }
.post-body { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.post-body time { color: var(--ink-2); font-size: .85rem; }
.post-body h3 { font-size: 1.18rem; }
.post-body p { color: var(--ink-2); font-size: .95rem; }
/* Visuels Canva (carrés ou 16:9, texte jusqu'aux bords) : affichés entiers sur un fond doux.
   Captures SKY : recadrées en haut à gauche, là où se trouve l'information. */
.post-cover.has-img { background: var(--visual-bg); padding: 0; place-items: stretch; }
.post-cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.post-cover.is-capture img { object-fit: cover; object-position: left top; }
.post-cover.has-img .tag { position: absolute; left: 14px; bottom: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.article-visual { max-width: 720px; margin: 0 auto 32px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--visual-bg); }
.article-visual img { width: 100%; max-height: 560px; object-fit: contain; }
.shot-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.shot-frame .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.shot-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot-frame img { width: 100%; height: auto; }
.shot-caption { font-size: .82rem; color: var(--ink-2); margin-top: 10px; }
.cover-produit { background: linear-gradient(45deg, #305B9E, #378DB3); }
.cover-webinaire { background: linear-gradient(45deg, #2B7A8C, #3AA4BD); }
.cover-conseils { background: linear-gradient(45deg, #5E8F22, #ABBC48); }
.cover-reglementation { background: linear-gradient(45deg, #3C4A63, #5B6E8C); }
.cover-vie { background: linear-gradient(45deg, #378DB3, #8DBC48); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-featured { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
.post-featured .post-cover { aspect-ratio: auto; min-height: 280px; }
.post-featured .post-body { padding: 32px; align-content: center; }
.post-featured h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
@media (max-width: 760px) { .post-featured { grid-template-columns: 1fr; } .post-featured .post-cover { min-height: 180px; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 16px; border-radius: 999px; cursor: pointer; font: 500 .95rem var(--font-body); }
.filter[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.weekly { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between; padding: 24px 28px; border-radius: var(--r-lg); background: var(--bg-soft); margin-top: 48px; }
.weekly form { display: flex; gap: 8px; flex-wrap: wrap; }
.weekly input { padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; min-width: 0; width: 260px; max-width: 100%; }

/* Article */
.article { max-width: 720px; margin-inline: auto; }
.article p, .article ul { margin-bottom: 1.2em; }
.article h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* Tarifs */
.seg { display: inline-flex; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 5px; border-radius: 999px; gap: 4px; flex-wrap: wrap; justify-content: center; }
.seg button { border: 0; background: none; color: #fff; padding: 10px 18px; border-radius: 999px; font: 600 .95rem var(--font-body); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: #1D2B3F; }
/* Sous-grille : titres, prix, listes et boutons de toutes les cartes alignés sur les mêmes lignes. */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 18px; row-gap: 14px; margin-top: -120px; position: relative; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--green); }
.plan .badge { position: absolute; top: -12px; left: 22px; background: var(--ok-bg); border: 1px solid var(--green); }
.plan h3 { font-size: 1.35rem; }
.plan .for { color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.price { font: 700 2.6rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 8px; font: 500 .9rem var(--font-body); color: var(--ink-2); }
.price-note { color: var(--ink-2); font-size: .88rem; min-height: 2.8em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.plan li { display: flex; gap: 8px; }
.plan li svg { color: var(--ok); flex: none; margin-top: 3px; width: 17px; height: 17px; }
.plan .btn { justify-content: center; margin-top: 6px; align-self: end; }
.after-plans { padding-top: 0; }
@media (max-width: 1060px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; margin-top: -90px; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .95rem; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 600 1rem var(--font-display); background: var(--bg-soft); position: sticky; top: 0; }
.compare tr.group td { font: 600 .78rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); background: var(--bg-soft); }
.compare .y { color: var(--ok); font-weight: 700; }
.compare .n { color: var(--line); }
/* Blocs carrés de taille fixe, alignés à gauche : pas besoin de remplir toute la largeur. */
/* Cartes de même taille : rangées égales (la plus haute fixe la hauteur), au moins carrées. */
.options { display: grid; grid-template-columns: repeat(auto-fill, 280px); grid-auto-rows: 1fr; gap: 20px; }
.options .logo-card { min-height: 280px; align-content: start; gap: 10px; padding: 28px; border-radius: var(--r-lg); }
.options .logo-card b { font-size: 1.25rem; }
.options .logo-card span:not(.ico) { font-size: .97rem; }
.options .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); margin-bottom: 18px; }
.options .ico svg { width: 26px; height: 26px; }
/* Mentions légales */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; display: grid; gap: 4px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.legal-toc a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.legal-toc a:hover { background: var(--chip); color: var(--chip-ink); }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.6rem; margin: 40px 0 12px; padding-top: 8px; scroll-margin-top: 96px; } .legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); line-height: 1.65; overflow-wrap: anywhere; } .legal-body p { margin: 0 0 12px; }
.legal-body ul { margin: 0 0 12px; padding-left: 22px; }
.legal-body a { color: var(--blue); }
.legal-cookies { background: var(--chip); color: var(--chip-ink); border: 0; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal-toc { position: static; } }
.foot-legal a, .foot-legal button { color: inherit; text-decoration: none; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-legal a:hover, .foot-legal button:hover { text-decoration: underline; }
/* Bannière cookies (site.js) : carte flottante en bas à gauche ; « Personnaliser » déplie les catégories. */
.ck { position: fixed; left: 20px; bottom: 20px; z-index: 100; width: min(460px, calc(100vw - 32px)); display: grid; gap: 16px; padding: 22px; border-radius: 22px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(11, 22, 48, .45), 0 2px 6px rgba(11, 22, 48, .08); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .3s, transform .35s cubic-bezier(.2, 1.2, .4, 1); }
.ck.show { opacity: 1; transform: none; }
.ck-head { display: flex; gap: 14px; align-items: flex-start; }
.ck-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--band-from, #1F3E70), var(--band-to, #24617E)); }
.ck-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ck-ico circle { fill: currentColor; stroke: none; }
.ck h2 { font-size: 1.12rem; margin: 2px 0 6px; }
.ck p { margin: 0; color: var(--ink-2); font-size: .88rem; line-height: 1.5; } .ck p a { color: var(--blue); }
.ck-cats { display: none; gap: 8px; }
.ck.ck-detail .ck-cats { display: grid; }
.ck-cat { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); cursor: default; }
label.ck-cat { cursor: pointer; }
.ck-cat b { display: block; font-size: .9rem; } .ck-cat small { display: block; color: var(--ink-2); font-size: .78rem; line-height: 1.4; }
.ck-always { flex: none; font-size: .74rem; font-weight: 700; color: #2E8B57; }
.ck-sw { flex: none; appearance: none; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .25s; }
.ck-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s; }
.ck-sw:checked { background: var(--blue); } .ck-sw:checked::after { transform: translateX(18px); }
.ck-sw:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent); outline-offset: 2px; }
.ck-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck-b { justify-content: center; padding: 10px 14px; font-size: .88rem; }
.ck-refuse, .ck-perso, .ck-save { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.ck-refuse:hover, .ck-perso:hover, .ck-save:hover { border-color: var(--ink-2); }
.ck-perso, .ck-save { grid-column: 1 / -1; }
.ck-perso { border-color: transparent; background: none; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; padding-block: 4px; }
.ck-save { display: none; } .ck.ck-detail .ck-save { display: inline-flex; } .ck.ck-detail .ck-perso { display: none; }
@media (max-width: 520px) { .ck { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }
/* Carte lien partenaire (Inqu-AI) dans « Pour aller plus loin ». */
.options .opt-lien { color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.options .opt-lien:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.options .opt-lien .opt-more { margin-top: auto; color: var(--blue); font-weight: 600; font-size: .92rem; }


/* Solution */
.mod-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mod-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.mod-panel ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.mod-panel li { display: flex; gap: 10px; }
.mod-panel li svg { color: var(--ok); flex: none; margin-top: 4px; width: 18px; height: 18px; }
.mod-visual { background: var(--bg-soft); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); }
.mini { background: var(--surface); border-radius: 14px; border: 1px solid var(--line); padding: 16px; display: grid; gap: 10px; font-size: .88rem; }
.mini .line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.mini .line:last-child { border-bottom: 0; }
@media (max-width: 900px) { .mod-panel { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 4px 20px; }
.faq summary { cursor: pointer; font: 600 1.06rem var(--font-display); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* CTA final */
.cta-band { border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: 12px; }
.cta-band .hero-ctas { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .hero-ctas { justify-content: flex-start; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-ok { padding: 14px 16px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 500; }
.form-err { padding: 14px 16px; border-radius: 12px; background: #fef3f2; color: #b42318; font-weight: 500; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form .two { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 56px 32px; margin-top: 0; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { font: 600 .78rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--blue); }
.foot-grid p { color: var(--ink-2); margin-top: 12px; max-width: 34ch; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--ink-2); font-size: .88rem; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(4, 1fr); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Encart animé IA Requête / BI (insight.js) */
.insight { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 14px; color: var(--ink); text-align: left; font-size: .9rem; }
.insight > * { min-width: 0; }
.ins-bar-q { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 16px; min-height: 48px; box-shadow: 0 6px 20px -14px rgba(29, 43, 63, .4); }
.ins-q { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ins-spark { color: var(--cyan); font-size: 1rem; line-height: 1; }
.ins-caret { width: 2px; height: 18px; background: var(--blue); margin-left: -6px; animation: ins-blink 1s steps(1) infinite; }
.insight[data-step="chart"] .ins-caret, .insight[data-step="done"] .ins-caret { opacity: 0; animation: none; }
.ins-send { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; transition: transform .2s; }
.ins-send svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.insight[data-step="send"] .ins-send { transform: scale(.86); }
.insight:not([data-step="idle"]) .ins-caret { opacity: 0; animation: none; }
.insight[data-step="think"] .ins-send { transform: scale(.86); }
.ins-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-width: 0; }
.ins-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--ink-2); }
.ins-legend span { display: flex; align-items: center; gap: 6px; }
.ins-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
i.is-ok { background: linear-gradient(90deg, #8DBC48, #ABBC48); }
i.is-risk { background: var(--warn); }
/* Carte de réponse : camembert en anneau + légende */
.pie-card { display: grid; gap: 14px; transition: opacity .4s, transform .4s; }
.insight:is([data-step="idle"], [data-step="send"]) .pie-card { opacity: 0; transform: translateY(10px); transition: none; }
.pie-k { font: 600 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.pie-body { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; }
.pie-chart { position: relative; width: 100%; max-width: 190px; aspect-ratio: 1; }
.pie-chart svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.pie-bg { fill: none; stroke: var(--bg-soft); stroke-width: 30; }
.pie-seg { fill: none; stroke-width: 30; stroke-dasharray: var(--len) var(--c); stroke-dashoffset: var(--off); transition: stroke-dasharray .7s cubic-bezier(.3, .7, .3, 1) var(--d), stroke-width .2s, opacity .2s; cursor: default; }
.insight:is([data-step="idle"], [data-step="send"]) .pie-seg { stroke-dasharray: 0 var(--c); transition: none; }
.pie-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.pie-center strong { font: 700 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.pie-center small { font-size: .72rem; color: var(--ink-2); margin-top: 4px; }
.pie-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pie-legend li { display: grid; grid-template-columns: 10px 1fr auto 56px; align-items: center; gap: 8px; font-size: .84rem; padding: 4px 6px; border-radius: 8px; outline: none; transition: opacity .35s var(--d), transform .35s var(--d), background .15s; }
.pie-legend i { width: 10px; height: 10px; border-radius: 3px; }
.pie-legend .pie-n { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pie-legend b { font-variant-numeric: tabular-nums; }
.pie-legend small { color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.insight:is([data-step="idle"], [data-step="send"]) .pie-legend li { opacity: 0; transform: translateX(8px); transition: none; }
.insight[data-hi]:not([data-hi=""]) .pie-seg, .insight[data-hi]:not([data-hi=""]) .pie-legend li { opacity: .35; }
.insight[data-hi="0"] [data-i="0"], .insight[data-hi="1"] [data-i="1"], .insight[data-hi="2"] [data-i="2"],
.insight[data-hi="3"] [data-i="3"], .insight[data-hi="4"] [data-i="4"], .insight[data-hi="5"] [data-i="5"] { opacity: 1 !important; }
.insight[data-hi="0"] .pie-seg[data-i="0"], .insight[data-hi="1"] .pie-seg[data-i="1"], .insight[data-hi="2"] .pie-seg[data-i="2"],
.insight[data-hi="3"] .pie-seg[data-i="3"], .insight[data-hi="4"] .pie-seg[data-i="4"], .insight[data-hi="5"] .pie-seg[data-i="5"] { stroke-width: 36; }
.pie-legend li:hover, .pie-legend li:focus-visible { background: var(--bg-soft); }
@media (max-width: 560px) { .pie-body { grid-template-columns: 1fr; justify-items: center; } .pie-legend { width: 100%; } }
.ech-facts { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.ech-facts li { padding-left: 14px; position: relative; color: var(--ink-2); line-height: 1.45; font-size: .86rem; transition: opacity .4s, transform .4s; }
.ech-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.ech-facts li b { color: var(--ink); }
.ech-facts li:nth-child(2) { transition-delay: .25s; } .ech-facts li:nth-child(3) { transition-delay: .5s; }
.insight:not([data-step="done"]) .ech-facts li { opacity: 0; transform: translateY(6px); transition: none; }
.ins-note { display: block; font-size: .72rem; color: var(--ink-2); }
@keyframes ins-blink { 50% { opacity: 0; } }
.feature-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.feature-split .txt { display: grid; gap: 16px; min-width: 0; }
.feature-split > * { min-width: 0; }
.feature-split .txt p { color: var(--ink-2); }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; gap: 28px; } }

/* Sélecteur de version de l'accueil (maquette) */
.compare-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--ink); box-shadow: var(--shadow); }
.compare-bar a { color: var(--bg); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.compare-bar a[aria-current="page"] { background: var(--bg); color: var(--ink); }

/* Pour qui ? : une couleur par famille de profils (vert, bleu, indigo). --ch reste foncée dans les deux thèmes,
   car elle porte le texte blanc du bandeau des pages profils. */
:root {
  --pq-prox: #4E7D1C; --pq-grand: #305B9E; --pq-cie: #5B4DB5;
  --h-prox: #4E7D1C; --h-grand: #305B9E; --h-cie: #4C3FA0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --pq-prox: #A3D163; --pq-grand: #7EA6E6; --pq-cie: #A99BF0; --h-prox: #3B5F15; --h-grand: #1F3E70; --h-cie: #352A7A; }
}
:root[data-theme="dark"] { --pq-prox: #A3D163; --pq-grand: #7EA6E6; --pq-cie: #A99BF0; --h-prox: #3B5F15; --h-grand: #1F3E70; --h-cie: #352A7A; }
/* .fn-tile dans le sélecteur : la couleur de famille doit l'emporter sur le bleu par défaut de « .mega a.fn-tile ». */
.mega a.fn-tile.g-prox, .g-prox { --c: var(--pq-prox); --ch: var(--h-prox); }
.mega a.fn-tile.g-grand, .g-grand { --c: var(--pq-grand); --ch: var(--h-grand); }
.mega a.fn-tile.g-cie, .g-cie { --c: var(--pq-cie); --ch: var(--h-cie); }
/* Menu : les huit tuiles sont plus compactes que celles de Fonctionnalités, rangées sous le titre de leur famille. */
.mega-qui { width: min(900px, calc(100% - 48px)); }
.pq-groups { display: grid; gap: 16px; align-content: start; }
.pq-group { display: grid; gap: 8px; }
.mega .pq-group h4 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--c); }
.pq-group h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pq-group .fn-grid { align-content: start; gap: 8px; }
.mega-qui a.fn-tile { padding: 11px 14px; gap: 12px; }
.mega-qui a.fn-tile .ico { width: 38px; height: 38px; }
.mega-qui a.fn-tile .ico svg { width: 19px; height: 19px; }
.mega-qui a.fn-tile strong { font-size: .98rem; }
.mega-qui a.fn-tile small { font-size: .8rem; line-height: 1.35; }
.mega .pq-all { display: inline; padding: 0; font-size: .9rem; font-weight: 600; color: var(--blue); }
.mega .pq-all:hover { background: none; text-decoration: underline; }
/* Pages profils (pour-qui.html#<id>) : bandeau dans la couleur de la famille, encarts texte à droite des rangées. */
.pq-page .fn-hero { background: linear-gradient(45deg, color-mix(in srgb, var(--ch, var(--band-from)) 78%, #0E1B30), var(--ch, var(--band-to))); }
.pq-page .fn-bulle .ico { background: var(--ch); }
.fn-hero .orbit { position: absolute; inset: auto -12% -45% auto; width: min(820px, 120vw); pointer-events: none; }
.fn-hero .wrap { position: relative; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; font-weight: 600; }
.hero-tag svg { width: 17px; height: 17px; }
.pq-page .fp-num svg { width: 20px; height: 20px; }
.pq-page .fp-num { width: 42px; height: 42px; }
.pq-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 18px 40px -28px rgba(29, 43, 63, .35); }
.pq-panel .k { font: 600 .74rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pq-panel .k .tag { letter-spacing: 0; text-transform: none; }
.pq-panel ul { list-style: none; margin: 0; padding: 0; display: grid; }
.pq-panel li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.pq-panel li:last-child { border-bottom: 0; }
.pq-panel li svg { color: var(--c); flex: none; margin-top: 3px; width: 17px; height: 17px; }
.pq-logo { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.pq-logo img { height: 48px; width: auto; }
.pq-logo b { font: 700 1.2rem var(--font-display); }
/* Rangée avec photo de l'équipe : la liste passe dans la colonne de texte. */
.pq-points strong { display: block; font: 600 .74rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 6px; }
.pq-points ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.pq-points a { display: flex; gap: 9px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: .92rem; white-space: nowrap; font-weight: 600; text-decoration: none; transition: border-color .2s, transform .2s; }
.pq-points a:hover { border-color: var(--c); transform: translateY(-1px); }
.pq-points a::after { content: "→"; margin-left: auto; color: var(--c); }
.pq-points a .ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.pq-points a svg { width: 17px; height: 17px; }
@media (max-width: 520px), (min-width: 901px) and (max-width: 1200px) { .pq-points ul { grid-template-columns: 1fr; } }
.pq-points ul.simple { grid-template-columns: 1fr; gap: 8px; }
.pq-points ul.simple li { display: flex; gap: 8px; font-size: .95rem; }
.pq-points ul.simple svg { color: var(--c); flex: none; margin-top: 3px; width: 17px; height: 17px; }
.pq-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.pq-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.pq-photo.ajuste { position: relative; align-self: stretch; }
.pq-photo.ajuste img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 50% 0; }
@media (max-width: 900px) { .pq-photo.ajuste img { position: static; aspect-ratio: 4 / 3; } }
.pq-panel .pq-flags { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
.pq-panel .pq-flags li { padding: 0; border: 0; display: block; }
.pq-flags img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(29, 43, 63, .45); }
@media (max-width: 520px) { .pq-panel .pq-flags { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
.pq-panel .pq-flags:has(li:nth-child(15)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* Encadré IA dans une rangée de fonctionnalité (ex. vérification des pièces, CRM). */
.fn-ia-note { display: grid; gap: 8px; justify-items: start; padding: 18px 20px; border-radius: 18px; color: #fff; background: radial-gradient(80% 120% at 100% 0, rgba(56, 189, 248, .3), transparent 60%), linear-gradient(135deg, #0B1630, #13284F 60%, #0F3A52); box-shadow: 0 18px 40px -24px rgba(11, 22, 48, .7); }
.fn-ia-note h4 { color: #fff; font-size: 1.1rem; margin: 0; }
.fp-row .txt .fn-ia-note p { color: rgba(255, 255, 255, .82); margin: 0; font-size: .95rem; }
.fn-ia-note .pq-ia-badge { font-size: .78rem; padding: 4px 12px; }
/* Section IA des pages profils : bandeau foncé à quadrillage, ce qui distingue SKY (30/10/2026). */
.pq-ia { position: relative; overflow: hidden; color: #fff; padding-block: clamp(56px, 8vw, 96px);
  background: radial-gradient(60% 80% at 85% 10%, rgba(56, 189, 248, .28), transparent 60%), radial-gradient(50% 70% at 5% 100%, rgba(139, 92, 246, .25), transparent 60%), linear-gradient(135deg, #0B1630, #13284F 55%, #0F3A52); }
.pq-ia::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.pq-ia .wrap { position: relative; display: grid; gap: 36px; }
.pq-ia-head { display: grid; gap: 14px; justify-items: start; max-width: 760px; }
.pq-ia-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #0B1630; background: linear-gradient(90deg, #7DD3FC, #C4B5FD); }
.pq-ia-badge svg { width: 17px; height: 17px; }
.pq-ia h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.pq-ia-head p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
.pq-ia-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pq-ia-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(4px); transition: transform .2s, border-color .2s; }
.pq-ia-grid li:hover { transform: translateY(-2px); border-color: rgba(125, 211, 252, .55); }
.pq-ia-grid .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #0B1630; background: linear-gradient(135deg, #7DD3FC, #C4B5FD); }
.pq-ia-grid .ico svg { width: 20px; height: 20px; }
.pq-ia-grid h3 { color: #fff; font-size: 1.08rem; margin-bottom: 4px; }
.pq-ia-grid p { color: rgba(255, 255, 255, .75); font-size: .93rem; margin: 0; }
.pq-ia-foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .14); }
.pq-ia-foot p { margin: 0; padding-top: 16px; max-width: 720px; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.pq-ia-foot .btn { margin-top: 16px; }
.pq-ia-garantie { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; color: #fff; font-weight: 600; font-size: .95rem; }
.pq-ia-garantie svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #7DD3FC; }
@media (max-width: 980px) { .pq-ia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pq-ia-grid { grid-template-columns: 1fr; } }
/* Quittance animée (Délégation › Comptabilité) : data-step 0 → 3 = Payée, Reversée compagnie, Exportée. */
.pq-qt { position: relative; display: grid; gap: 18px; padding: 10px 6px 0; }
/* Feuille : papier blanc dans les deux thèmes, une 2e feuille derrière, coin plié en haut à droite. */
.qt-sheet { position: relative; padding: 22px 22px 44px; background: #fff; color: #1D2B3F; border-radius: 4px; transform: rotate(-1.2deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 22px 40px -18px rgba(29, 43, 63, .45); font-size: .85rem; }
.qt-pile { position: relative; }
.qt-pile::before { content: ""; position: absolute; inset: 0; background: #EEF1F5; border-radius: 4px; transform: rotate(2.2deg) translate(6px, 6px); box-shadow: 0 10px 24px -14px rgba(29, 43, 63, .4); }
.qt-sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(225deg, var(--bg-soft) 50%, #DCE2EA 50%); border-bottom-left-radius: 4px; box-shadow: -2px 2px 3px rgba(0, 0, 0, .08); }
.qt-letter { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 2px solid #2E6B4F; }
.qt-logo { flex: none; width: 38px; height: 38px; }
.qt-letter b { display: block; font: 700 .98rem var(--font-display); color: #2E6B4F; } .qt-letter small { display: block; color: #5B6B80; font-size: .72rem; }
.qt-doc { margin-left: auto; padding-right: 18px; text-align: right; font: 800 .9rem var(--font-display); letter-spacing: .12em; color: #1D2B3F; }
.qt-doc small { display: block; letter-spacing: 0; font: 600 .72rem var(--font-body); color: #5B6B80; }
.qt-meta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; padding: 12px 0; }
.qt-meta small { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #8593A6; }
.qt-meta b { display: block; font-size: .88rem; } .qt-meta span { display: block; font-size: .74rem; color: #5B6B80; }
.qt-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.qt-table td { padding: 6px 8px; border-bottom: 1px solid #E6EAF0; } .qt-table td:last-child { text-align: right; white-space: nowrap; }
.qt-table tr:first-child td { border-top: 1px solid #E6EAF0; }
.qt-table .tot td { font-weight: 800; background: #F2F5F9; border-bottom: 2px solid #1D2B3F; }
.qt-table .com td { color: #305B9E; } .qt-table .cie td { transition: background .4s; }
.pq-qt:is([data-step="2"], [data-step="3"]) .qt-table .cie td { background: #E6EEFA; font-weight: 700; }
.qt-foot { position: absolute; left: 22px; right: 22px; bottom: 12px; padding-top: 6px; border-top: 1px solid #E6EAF0; font-size: .66rem; color: #8593A6; text-align: center; }
/* Tampons : posés l'un après l'autre en bas de la feuille et conservés jusqu'à la fin. */
.qt-stamps { position: relative; height: 46px; margin-top: 10px; pointer-events: none; }
.qt-stamp { position: absolute; top: 4px; padding: 3px 10px; border: 3px solid currentColor; border-radius: 6px; font: 800 .95rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: rotate(-9deg) scale(2); transition: opacity .25s, transform .3s cubic-bezier(.2, 1.6, .4, 1); mix-blend-mode: multiply; }
.qt-stamp.s1 { left: 0; color: #2E8B57; } .qt-stamp.s2 { left: 34%; color: #305B9E; transform: rotate(6deg) scale(2); } .qt-stamp.s3 { right: 0; color: #6B4FB8; }
.pq-qt:is([data-step="1"], [data-step="2"], [data-step="3"]) .s1, .pq-qt:is([data-step="2"], [data-step="3"]) .s2, .pq-qt[data-step="3"] .s3 { opacity: .9; transform: rotate(-9deg) scale(1); }
.pq-qt:is([data-step="2"], [data-step="3"]) .s2 { transform: rotate(6deg) scale(1); }
.qt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qt-step { display: flex; gap: 8px; align-items: flex-start; opacity: .4; transition: opacity .4s; }
.qt-step b { display: block; font-size: .88rem; } .qt-step small { display: block; color: var(--ink-2); font-size: .74rem; }
.qt-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); color: transparent; transition: background .35s, border-color .35s, color .35s, transform .35s; }
.pq-qt .qt-dot svg { width: 13px; height: 13px; color: inherit; margin: 0; }
.pq-qt[data-step="1"] .qt-step[data-n="1"], .pq-qt[data-step="2"] .qt-step:is([data-n="1"], [data-n="2"]), .pq-qt[data-step="3"] .qt-step { opacity: 1; }
.pq-qt[data-step="1"] .qt-step[data-n="1"] .qt-dot, .pq-qt[data-step="2"] .qt-step:is([data-n="1"], [data-n="2"]) .qt-dot, .pq-qt[data-step="3"] .qt-dot { background: var(--c); border-color: var(--c); color: #fff; transform: scale(1.08); }
@media (max-width: 520px) { .qt-sheet { padding: 16px 14px 40px; transform: rotate(-.8deg); } .qt-doc { font-size: .78rem; padding-right: 14px; } .qt-letter small { display: none; } .qt-meta { grid-template-columns: 1fr; gap: 6px; } .qt-stamp { font-size: .78rem; padding: 2px 7px; } .qt-steps { grid-template-columns: 1fr; } }
/* Conformité + espace client animés (Délégation › Conformité et clients) : classes « on » posées par animerEspaces. */
.pq-es { display: grid; gap: 10px; }
.es-grid { display: grid; grid-template-columns: 1fr 172px; gap: 18px; align-items: start; }
.es-k { display: block; margin-bottom: 8px; font: 600 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pq-panel .es-cab ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pq-panel .es-cab li { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: .88rem; transition: border-color .35s, background .35s; }
.es-cab li > span:nth-child(2) { flex: 1; min-width: 0; } .es-cab b { display: block; font-size: .86rem; } .es-cab small { display: block; color: var(--ink-2); font-size: .74rem; }
.es-sh { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-2); background: var(--bg-soft); transition: background .35s, color .35s; }
.pq-panel .es-sh svg { width: 17px; height: 17px; margin: 0; color: inherit; }
.es-ok { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #2E8B57; color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.pq-panel .es-ok svg { width: 13px; height: 13px; margin: 0; color: inherit; }
.pq-panel .es-cab li.on { border-color: color-mix(in srgb, #2E8B57 45%, transparent); background: color-mix(in srgb, #2E8B57 6%, var(--surface)); }
.es-cab li.on .es-sh { background: var(--c); color: #fff; } .es-cab li.on .es-ok { transform: scale(1); }
.es-phone { position: relative; height: 318px; border: 6px solid #1D2B3F; border-radius: 26px; background: var(--bg-soft); padding: 22px 8px 8px; overflow: hidden; }
.es-notch { position: absolute; top: 6px; left: 50%; width: 34px; height: 6px; margin-left: -17px; border-radius: 4px; background: #1D2B3F; }
.es-hello { display: block; margin: 2px 4px 8px; font: 700 .82rem var(--font-display); }
.es-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.es-tile { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: center; transition: transform .2s, border-color .3s, background .3s; }
.es-tile svg { width: 20px; height: 20px; color: var(--c); } .es-tile b { font-size: .66rem; line-height: 1.2; }
.es-tile.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--surface)); transform: scale(.94); }
.es-toast { position: absolute; left: 8px; right: 8px; bottom: 10px; padding: 8px 10px; border-radius: 10px; background: #1D2B3F; color: #fff; font-size: .66rem; line-height: 1.3; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.es-toast::before { content: "✓ "; color: #7FD39B; font-weight: 800; }
.es-toast.show { opacity: 1; transform: none; }
.es-tap { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: color-mix(in srgb, var(--c) 35%, transparent); border: 2px solid var(--c); opacity: 0; pointer-events: none; }
.es-tap.go { animation: es-tap .5s ease-out; }
@keyframes es-tap { 0% { opacity: 0; transform: scale(1.8); } 40% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.6); } }
.es-ex { justify-self: end; }
@media (max-width: 520px) { .es-grid { grid-template-columns: 1fr; } .es-phone { width: 190px; justify-self: center; margin: 0 auto; } }
/* Conformité animée (Fonctionnalités › CRM, conformite-anim.js) : data-step 0 → 6, contrôles en « run » puis « on ». */
.pq-cf { position: relative; display: grid; gap: 12px; overflow: hidden; }
.cf-head { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.cf-av { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 700 .9rem var(--font-display); color: #fff; background: var(--c); }
.cf-head > span:nth-child(2) { flex: 1; min-width: 0; } .cf-head b { display: block; font: 700 1rem var(--font-display); } .cf-head small { display: block; color: var(--ink-2); font-size: .8rem; }
.cf-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #fff; background: var(--c); transition: transform .15s, box-shadow .3s; }
.cf-btn svg { width: 15px; height: 15px; }
.pq-cf[data-step="1"] .cf-btn { transform: scale(.92); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent); }
.pq-panel .cf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pq-panel .cf-list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); opacity: .45; transition: opacity .3s, border-color .3s, background .3s; }
.cf-list b { display: block; font-size: .88rem; } .cf-list small { display: block; font-size: .78rem; color: var(--ink-2); opacity: 0; transition: opacity .3s; }
.cf-st { position: relative; flex: none; width: 24px; height: 24px; }
.cf-spin { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--c); opacity: 0; }
.cf-ok { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: #2E8B57; color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.pq-panel .cf-ok svg { width: 14px; height: 14px; margin: 0; color: inherit; }
.pq-panel .cf-list li.run { opacity: 1; border-color: var(--c); }
.cf-list li.run .cf-spin { opacity: 1; animation: cf-spin .7s linear infinite; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.pq-panel .cf-list li.on { opacity: 1; border-color: color-mix(in srgb, #2E8B57 45%, transparent); background: color-mix(in srgb, #2E8B57 6%, var(--surface)); }
.cf-list li.on .cf-ok { transform: scale(1); } .cf-list li.on small { opacity: 1; }
.cf-date { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: .85rem; color: var(--ink-2); opacity: .45; transition: opacity .3s, background .3s; }
.cf-date svg { width: 16px; height: 16px; } .cf-date b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s; }
.pq-cf:is([data-step="5"], [data-step="6"]) .cf-date { opacity: 1; background: color-mix(in srgb, var(--c) 10%, var(--surface)); }
.pq-cf:is([data-step="5"], [data-step="6"]) .cf-date b { opacity: 1; }
.cf-rgpd { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; opacity: .45; transition: opacity .3s; }
.cf-k { font: 700 .72rem var(--font-body); letter-spacing: .08em; color: var(--ink-2); margin-right: 4px; }
.cf-chip { padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid var(--line); background: var(--surface); transform: scale(.9); transition: transform .3s, background .3s, color .3s, border-color .3s; }
.pq-cf[data-step="6"] .cf-rgpd { opacity: 1; }
.pq-cf[data-step="6"] .cf-chip { transform: none; background: #FDECEA; color: #B23B33; border-color: #F3C1BC; }
.cf-ex { justify-self: end; }
.cf-ptr { position: absolute; right: 30px; top: 22px; width: 24px; height: 24px; pointer-events: none; opacity: 0; transform: translate(40px, 60px); transition: transform .6s cubic-bezier(.45, 0, .25, 1), opacity .3s; }
.cf-ptr svg { width: 100%; height: 100%; fill: #1D2B3F; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.pq-cf[data-step="0"] .cf-ptr { opacity: 1; } .pq-cf[data-step="1"] .cf-ptr { opacity: 1; transform: none; }
/* Tarificateur animé (Grossiste › Tarification) : classes posées par animerTarifs (g-inc, g-dde, g-vol, fr, zb, re, pret). */
.pq-tf { position: relative; display: grid; gap: 14px; overflow: hidden; }
.tf-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.tf-head b { display: block; font: 700 1rem var(--font-display); } .tf-head small { display: block; color: var(--ink-2); font-size: .82rem; }
.tf-body { display: grid; gap: 8px; }
.tf-k { display: flex; justify-content: space-between; font: 600 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tf-k b { letter-spacing: 0; text-transform: none; font-size: .85rem; color: var(--ink); }
.tf-gars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.tf-g { display: grid; justify-items: start; gap: 4px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: .85rem; text-align: left; color: var(--ink); cursor: default; transition: border-color .3s, background .3s, transform .2s; }
.tf-g small { color: var(--ink-2); font-size: .78rem; }
.tf-sw { position: relative; width: 30px; height: 17px; border-radius: 999px; background: var(--line); transition: background .3s; }
.tf-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform .3s; }
.pq-tf.g-inc [data-k="inc"], .pq-tf.g-dde [data-k="dde"], .pq-tf.g-vol [data-k="vol"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, var(--surface)); }
.pq-tf.g-inc [data-k="inc"] .tf-sw, .pq-tf.g-dde [data-k="dde"] .tf-sw, .pq-tf.g-vol [data-k="vol"] .tf-sw { background: var(--c); }
.pq-tf.g-inc [data-k="inc"] .tf-sw::after, .pq-tf.g-dde [data-k="dde"] .tf-sw::after, .pq-tf.g-vol [data-k="vol"] .tf-sw::after { transform: translateX(13px); }
.tf-slider { position: relative; height: 34px; margin: 0 8px 6px; }
.tf-tr { position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 6px; background: var(--line); }
.tf-tf { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--c); transition: width .5s; }
.tf-knob { position: absolute; top: 2px; left: 100%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--c); box-shadow: 0 3px 8px -3px rgba(29, 43, 63, .5); transition: left .5s cubic-bezier(.4, 0, .2, 1); }
.pq-tf.fr .tf-knob { left: 42.86%; } .pq-tf.fr .tf-tf { width: 42.86%; }
.tf-ticks i { position: absolute; top: 20px; font-style: normal; font-size: .7rem; color: var(--ink-2); transform: translateX(-50%); }
.tf-ticks i:nth-child(1) { left: 0; transform: none; } .tf-ticks i:nth-child(2) { left: 42.86%; } .tf-ticks i:nth-child(3) { left: 100%; transform: translateX(-100%); }
.tf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf-chips { display: flex; gap: 6px; margin-top: 6px; }
.tf-chips span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .82rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.tf-chips span:first-child { border-color: var(--c); color: var(--c); }
.pq-tf.zb [data-k="zb"], .pq-tf.re [data-k="re"] { background: var(--c); border-color: var(--c); color: #fff; }
.pq-tf.zb [data-k="zb"] ~ span, .pq-tf.zb .tf-chips span:first-child:has(+ [data-k="zb"]), .pq-tf.re .tf-chips span:first-child:has(+ [data-k="re"]) { border-color: var(--line); color: var(--ink); }
.tf-foot { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, var(--surface)); }
.tf-foot > span:first-child { font-size: .85rem; color: var(--ink-2); }
.tf-tot { font: 800 1.6rem var(--font-display); font-variant-numeric: tabular-nums; color: var(--c); }
.tf-stamp { position: absolute; left: 44%; top: 50%; padding: 3px 10px; border: 3px solid #2E8B57; border-radius: 8px; color: #2E8B57; font: 800 .95rem var(--font-display); letter-spacing: .06em; text-transform: uppercase; background: color-mix(in srgb, var(--surface) 85%, transparent); opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1.8); transition: opacity .3s, transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.pq-tf.pret .tf-stamp { opacity: .95; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
.tf-ptr { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -4px 0 0 -6px; pointer-events: none; opacity: 0; transition: transform .6s cubic-bezier(.45, 0, .25, 1), opacity .3s; z-index: 2; }
.tf-ptr svg { width: 100%; height: 100%; fill: #1D2B3F; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.pq-tf.ptr-on .tf-ptr { opacity: 1; }
.pq-tf.clic .tf-ptr svg { transform: scale(.82); transform-origin: 20% 15%; }
.tf-ptr::after { content: ""; position: absolute; left: 2px; top: 0; width: 10px; height: 10px; margin: -5px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; }
.pq-tf.clic .tf-ptr::after { animation: tf-ripple .45s ease-out; }
@keyframes tf-ripple { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(3); } }
@media (max-width: 520px) {
  .tf-g { padding: 8px; font-size: .78rem; } .tf-tot { font-size: 1.4rem; }
  .tf-foot { flex-direction: column; align-items: flex-start; gap: 2px; }
  .tf-stamp { left: auto; right: 12px; top: 50%; font-size: .8rem; transform: translateY(-50%) rotate(-8deg) scale(1.8); }
  .pq-tf.pret .tf-stamp { transform: translateY(-50%) rotate(-8deg) scale(1); }
}
/* Contrat animé (Compagnie africaine › Contrats) : classes « on » posées par animerContrats. */
.pq-ct { position: relative; display: grid; gap: 14px; }
.ct-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.ct-head b { display: block; font: 700 1.05rem var(--font-display); } .ct-head small { display: block; color: var(--ink-2); font-size: .85rem; }
.ct-pills { position: relative; flex: none; width: 128px; height: 30px; }
.ct-pill { position: absolute; right: 0; top: 0; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .35s, transform .35s; }
.ct-pill.on { opacity: 1; transform: none; }
.ct-pill.ok { background: #E3F4EA; color: #1E7A47; } .ct-pill.info { background: #E6EEFA; color: #305B9E; } .ct-pill.warn { background: #FDF0DC; color: #A8620F; }
/* Frise : rail, 4 jalons (--x), curseur qui avance (left selon data-step), icône propre à chaque étape. */
.ct-track { position: relative; height: 118px; margin: 4px 22px 0; }
.ct-rail { position: absolute; left: 0; right: 0; top: 50px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.ct-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 60%, #fff), var(--c)); transition: width .9s cubic-bezier(.5, 0, .3, 1); }
.ct-m { position: absolute; left: var(--x); top: 44px; width: 0; display: grid; justify-items: center; }
.ct-m i { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); transition: border-color .3s, background .3s; }
.ct-m small { position: absolute; top: 26px; white-space: nowrap; font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.ct-m[data-n="1"] small { left: -9px; } .ct-m[data-n="4"] small { right: -9px; }
.ct-cursor { position: absolute; left: 0; top: 8px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: var(--c); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--c) 70%, #000); transition: left .9s cubic-bezier(.5, 0, .3, 1); }
.ct-ic { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; transform: rotate(45deg) scale(0); transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.ct-ic svg { width: 22px; height: 22px; }
.ct-plus { position: absolute; right: -14px; top: -12px; transform: rotate(45deg) scale(0); padding: 1px 6px; border-radius: 999px; font-size: .72rem; background: #E0A33A; color: #fff; transition: transform .35s cubic-bezier(.2, 1.6, .4, 1) .15s; }
.pq-ct[data-step="1"] .ct-cursor { left: 0%; } .pq-ct[data-step="2"] .ct-cursor { left: 33.33%; } .pq-ct[data-step="3"] .ct-cursor { left: 66.67%; } .pq-ct[data-step="4"] .ct-cursor { left: 100%; }
.pq-ct[data-step="2"] .ct-fill { width: 33.33%; } .pq-ct[data-step="3"] .ct-fill { width: 66.67%; } .pq-ct[data-step="4"] .ct-fill { width: 100%; }
.pq-ct[data-step="0"] .ct-cursor { opacity: 0; }
.pq-ct.arrive[data-step="1"] .ct-ic[data-i="1"], .pq-ct.arrive[data-step="2"] .ct-ic[data-i="2"], .pq-ct.arrive[data-step="3"] .ct-ic[data-i="3"], .pq-ct.arrive[data-step="4"] .ct-ic[data-i="4"] { transform: rotate(45deg) scale(1); }
.pq-ct.arrive[data-step="2"] .ct-plus { transform: rotate(45deg) scale(1); }
.pq-ct.arrive[data-step="1"] .ct-m[data-n="1"] i, .pq-ct.arrive[data-step="2"] .ct-m:is([data-n="1"], [data-n="2"]) i, .pq-ct.arrive[data-step="3"] .ct-m:not([data-n="4"]) i, .pq-ct.arrive[data-step="4"] .ct-m i,
.pq-ct[data-step="2"] .ct-m[data-n="1"] i, .pq-ct[data-step="3"] .ct-m:is([data-n="1"], [data-n="2"]) i, .pq-ct[data-step="4"] .ct-m:not([data-n="4"]) i { border-color: var(--c); background: var(--c); }
/* Avenant : deux petites voitures sautent au-dessus du jalon. */
.ct-cars { position: absolute; left: 33.33%; top: -6px; display: flex; gap: 4px; margin-left: 28px; }
.ct-cars span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, #E0A33A 18%, var(--surface)); color: #B9781A; opacity: 0; transform: translateY(14px) scale(.4); }
.ct-cars svg { width: 18px; height: 18px; }
@keyframes ct-hop { 0% { opacity: 0; transform: translateY(14px) scale(.4); } 55% { opacity: 1; transform: translateY(-6px) scale(1.1); } 75% { transform: translateY(2px) scale(.95); } 100% { opacity: 1; transform: none; } }
.pq-ct.arrive[data-step="2"] .ct-cars span { animation: ct-hop .6s ease-out .35s both; }
.pq-ct.arrive[data-step="2"] .ct-cars span + span { animation-delay: .6s; }
.ct-cap { min-height: 46px; display: grid; gap: 2px; padding: 8px 12px; border-left: 3px solid var(--c); border-radius: 4px 10px 10px 4px; background: color-mix(in srgb, var(--c) 8%, transparent); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.ct-cap.show { opacity: 1; transform: none; }
.ct-cap .ct-date { font-size: .78rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ct-cap .ct-txt { font-weight: 600; }
.ct-sync { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); transition: border-color .3s, background .3s, color .3s; }
.ct-sync svg { width: 16px; height: 16px; }
.ct-sync b { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; transition: background .3s, transform .3s; }
.pq-ct.synced .ct-sync { border-color: color-mix(in srgb, #2E8B57 45%, transparent); color: var(--ink); }
.pq-ct.synced .ct-sync b { background: #2E8B57; transform: scale(1.1); }
.ct-ex { justify-self: end; }
@media (max-width: 520px) { .ct-pills { width: 108px; } .ct-track { margin-inline: 18px; height: 96px; } .ct-m small { display: none; } }
/* Campagne animée (Compagnie africaine › Communication) : data-step 0 → 5 (cf. animerCampagnes). */
.pq-camp { display: grid; gap: 14px; overflow: hidden; }
.cp-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.cp-top b { display: block; font: 700 1rem var(--font-display); } .cp-top small { display: block; color: var(--ink-2); font-size: .82rem; }
.cp-scene { position: relative; height: 210px; }
.cp-lap { position: absolute; left: 0; top: 24px; width: 56%; }
.cp-screen { position: relative; height: 128px; border: 7px solid #1D2B3F; border-bottom-width: 9px; border-radius: 12px 12px 4px 4px; background: var(--bg-soft); padding: 12px; display: grid; align-content: start; gap: 7px; }
.cp-line { display: block; height: 7px; width: 80%; border-radius: 4px; background: var(--line); } .cp-line.l2 { width: 60%; } .cp-line.l3 { width: 70%; }
.cp-btns { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; gap: 6px; }
.cp-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; white-space: nowrap; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: background .3s, color .3s, transform .3s; }
.cp-btn svg { width: 13px; height: 13px; }
.pq-camp:is([data-step="1"], [data-step="2"]) .cp-btn.e, .pq-camp:is([data-step="3"], [data-step="4"]) .cp-btn.s { background: var(--c); border-color: var(--c); color: #fff; transform: scale(1.06); }
.cp-base { height: 10px; margin: 0 -8%; border-radius: 0 0 12px 12px; background: linear-gradient(#3A4A63, #1D2B3F); }
.cp-inbox, .cp-phone { position: absolute; right: 4%; }
.cp-inbox { top: 6px; width: 62px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--c); box-shadow: 0 10px 24px -16px rgba(29, 43, 63, .5); }
.cp-inbox > svg { width: 26px; height: 26px; }
.cp-phone { bottom: 0; width: 104px; height: 140px; border: 5px solid #1D2B3F; border-radius: 18px; background: var(--bg-soft); padding: 18px 6px 6px; }
.cp-notch { position: absolute; top: 4px; left: 50%; width: 26px; height: 5px; margin-left: -13px; border-radius: 4px; background: #1D2B3F; }
.cp-sms { display: block; padding: 6px 7px; border-radius: 10px 10px 10px 3px; background: var(--surface); border: 1px solid var(--line); font-size: .6rem; line-height: 1.3; color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.pq-camp:is([data-step="3"], [data-step="4"], [data-step="5"]) .cp-sms { opacity: 1; transform: none; transition-delay: .8s; }
.cp-badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: .68rem; font-weight: 700; color: #fff; background: #D9534F; font-variant-numeric: tabular-nums; }
.cp-f { position: absolute; left: 26%; top: 38%; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--c); opacity: 0; box-shadow: 0 8px 18px -8px rgba(29, 43, 63, .6); }
.cp-f.s { border-radius: 50%; background: #2E8B57; }
.cp-f svg { width: 16px; height: 16px; }
@keyframes cp-mail { 0% { left: 26%; top: 38%; opacity: 0; transform: scale(.5); } 15% { opacity: 1; transform: scale(1); } 85% { opacity: 1; } 100% { left: 84%; top: 8%; opacity: 0; transform: scale(.7); } }
@keyframes cp-sms { 0% { left: 26%; top: 38%; opacity: 0; transform: scale(.5); } 15% { opacity: 1; transform: scale(1); } 85% { opacity: 1; } 100% { left: 84%; top: 62%; opacity: 0; transform: scale(.7); } }
.pq-camp[data-step="1"] .cp-f.m[style*="--i:0"] { animation: cp-mail 1s ease-in-out .1s both; }
.pq-camp[data-step="2"] .cp-f.m { animation: cp-mail 1s ease-in-out calc(var(--i) * .3s) 2 both; }
.pq-camp[data-step="3"] .cp-f.s[style*="--i:0"] { animation: cp-sms 1s ease-in-out .1s both; }
.pq-camp[data-step="4"] .cp-f.s { animation: cp-sms 1s ease-in-out calc(var(--i) * .3s) 2 both; }
@media (max-width: 520px) { .cp-lap { width: 54%; } .cp-screen { padding: 8px; } .cp-btns { left: 6px; right: 6px; gap: 4px; } .cp-btn { padding: 3px 6px; font-size: .66rem; } .cp-btn svg { display: none; } }
.cp-count { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-count div { padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.cp-count span { display: block; font-size: .78rem; color: var(--ink-2); }
.cp-count b { font: 700 1.4rem var(--font-display); font-variant-numeric: tabular-nums; }
.pq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.pq-chips span { font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.pq-panel .chat { box-shadow: none; padding: 0; }
.pq-panel .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .8rem; color: var(--ink-2); }
.pq-panel .who i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(45deg, #8DBC48, #3AA4BD); }
/* Conversation IA animée des pages profils (pour-qui.html) */
.pq-chat { display: grid; gap: 14px; }
.pq-chat [hidden] { display: none !important; }
.pq-chat > * { min-width: 0; }
.pq-chat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pq-chat-msgs { display: grid; gap: 12px; align-content: start; min-height: 230px; font-size: .95rem; }
.pq-chat-msgs .q { justify-self: end; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 88%; }
.pq-chat-msgs .a { background: var(--bg-soft); padding: 12px 14px; border-radius: 16px 16px 16px 4px; max-width: 94%; display: grid; gap: 6px; }
.pq-chat-msgs .src { font-size: .78rem; color: var(--ink-2); }
.pq-chat-msgs > *:not([hidden]) { animation: pq-in .3s ease-out; }
.pq-typing { justify-self: start; display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: var(--bg-soft); }
.pq-typing:not([hidden]) { display: inline-flex; }
.pq-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: pq-dot 1s infinite ease-in-out; }
.pq-typing i:nth-child(2) { animation-delay: .15s; } .pq-typing i:nth-child(3) { animation-delay: .3s; }
.pq-chat-input { display: flex; align-items: center; gap: 8px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; background: var(--bg); color: var(--ink); font-size: .92rem; }
/* Pendant la frappe, la fin de la question reste visible : le début déborde à gauche et est masqué. */
.pq-typed { min-width: 0; overflow: hidden; white-space: nowrap; display: flex; justify-content: flex-end; }
.pq-typed:empty::before { content: "Posez votre question…"; color: var(--ink-2); }
.pq-caret { width: 2px; height: 18px; background: var(--blue); animation: ins-blink 1s steps(1) infinite; flex: none; }
.pq-send { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; transition: transform .2s; }
.pq-send svg { width: 17px; height: 17px; }
.pq-chat[data-step="send"] .pq-send { transform: scale(.85); }
@keyframes pq-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes pq-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.pq-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pq-links > div { display: grid; gap: 14px; align-content: start; min-width: 0; }
@media (max-width: 800px) { .pq-links { grid-template-columns: 1fr; } }
/* Vue d'ensemble des profils */
.pq-ov + .pq-ov { margin-top: 48px; }
.pq-ov { display: grid; gap: 18px; }
.pq-ov header { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pq-ov header h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--c); }
.pq-ov header p { color: var(--ink-2); }
.pq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pq-card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 18px; border: 1px solid var(--line); border-top: 4px solid var(--c); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s; }
.pq-card:hover { transform: translateY(-2px); }
.pq-card .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--bg); }
.pq-card p { color: var(--ink-2); font-size: .95rem; }
.pq-card .more { color: var(--c); font-weight: 600; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-shot { animation: rise .8s .2s both; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* Bloc « L'équipe SKY » (window.skyEquipe) : photo de l'équipe + phrase propre à la page. */
.eq-card { margin-top: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: var(--shadow); }
.eq-card figure { margin: 0; border-radius: 20px; overflow: hidden; min-width: 0; }
.eq-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.eq-txt { display: grid; gap: 14px; justify-items: start; padding: 12px 22px 12px 0; min-width: 0; }
.eq-txt h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.eq-txt p { color: var(--ink-2); }
.eq-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .95rem; }
.eq-points li { display: flex; gap: 6px; align-items: center; }
.eq-points svg { color: var(--ok); width: 17px; height: 17px; }
.eq-lien { color: var(--blue); font-weight: 600; text-decoration: none; }
.eq-lien:hover { text-decoration: underline; }
@media (max-width: 860px) { .eq-card { grid-template-columns: 1fr; gap: 18px; padding: 14px; } .eq-txt { padding: 0 8px 10px; } }

/* Haut de la page Tarifs : texte à gauche, photo de l'équipe en rectangle arrondi à droite. */
.tarifs-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tarifs-photo { margin: 0; min-width: 0; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 60px rgba(4, 12, 40, .45); }
.tarifs-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .tarifs-hero { grid-template-columns: 1fr; } .tarifs-photo img { aspect-ratio: 16 / 10; } }
