:root {
  --fond: #f6f7fb; --surface: #fff; --texte: #14172b; --doux: #5b6078; --bord: #e2e5ef;
  --prim: #3b4cca; --prim-fonce: #2c3aa3; --prim-clair: #eceffd; --sur-prim: #fff;
  --vert: #e7f6ee; --vert-bord: #2f9e63; --orange: #fff4e2; --orange-bord: #c27a0a; --rouge: #b3261e;
  --ombre: 0 1px 2px rgba(20,23,43,.05), 0 8px 24px rgba(20,23,43,.06);
  --rayon: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0f1120; --surface: #181b2e; --texte: #eceef7; --doux: #a3a8c3; --bord: #2a2e47;
    --prim: #8b98ff; --prim-fonce: #a9b3ff; --prim-clair: #222849; --sur-prim: #0f1120;
    --vert: #15302a; --vert-bord: #4cc38a; --orange: #352a14; --orange-bord: #f0a93b; --rouge: #f2b8b5;
    --ombre: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--prim); text-underline-offset: 2px; }
a:hover { color: var(--prim-fonce); }
:focus-visible { outline: 3px solid var(--prim); outline-offset: 2px; border-radius: 4px; }

/* En-tête */
.barre { background: var(--surface); border-bottom: 1px solid var(--bord); }
.barre-in { max-width: 60rem; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; color: var(--texte); text-decoration: none; }
.logo:hover { color: var(--texte); }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo b { color: var(--prim); }
.barre-note { color: var(--doux); font-size: .85rem; }
@media (max-width: 480px) { .barre-note { display: none; } }

/* Bandeau */
.hero { background: linear-gradient(135deg, #3b4cca 0%, #6a4cd6 100%); color: #fff; }
.hero-in { max-width: 60rem; margin: 0 auto; padding: 40px 16px 76px; }
.fil { font-size: .85rem; margin: 0 0 12px; opacity: .85; }
.fil a { color: #fff; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.hero p.chapo { margin: 0; max-width: 40rem; font-size: 1.05rem; opacity: .93; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.badges li { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.badges li::before { content: "✓ "; }

main { max-width: 60rem; margin: -48px auto 0; padding: 0 16px; }
.texte { max-width: 46rem; }

/* Carte du calculateur */
.panneau { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 24px; margin-bottom: 8px; }
@media (max-width: 480px) { .panneau { padding: 18px 16px; } }
.grille { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) { .grille { grid-template-columns: 1fr 1fr; } }
label { display: block; margin-top: 12px; font-weight: 600; font-size: .95rem; }
label.case { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-top: 16px; cursor: pointer; }
.aide { display: block; font-weight: 400; color: var(--doux); font-size: .82rem; line-height: 1.4; }
input:not([type=checkbox]) { width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; border: 1.5px solid var(--bord); border-radius: 10px; background: var(--surface); color: var(--texte); transition: border-color .15s, box-shadow .15s; }
input:not([type=checkbox]):focus { outline: none; border-color: var(--prim); box-shadow: 0 0 0 4px var(--prim-clair); }
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--prim); margin: 0; flex: none; }
.euro { position: relative; }
.euro input { padding-right: 36px; }
.euro::after { content: "€"; position: absolute; right: 14px; bottom: 13px; color: var(--doux); pointer-events: none; }
fieldset { border: 1px solid var(--bord); border-radius: 12px; margin: 0; padding: 4px 16px 16px; background: var(--fond); min-width: 0; }
fieldset[hidden] { display: none; }
legend { font-weight: 700; padding: 0 6px; }
button { margin-top: 20px; width: 100%; padding: 14px 28px; font: inherit; font-size: 1.05rem; font-weight: 700; border: 0; border-radius: 10px; background: var(--prim); color: var(--sur-prim); cursor: pointer; box-shadow: 0 4px 14px rgba(59,76,202,.3); transition: transform .1s, background .15s; }
button:hover { background: var(--prim-fonce); }
button:active { transform: translateY(1px); }
@media (min-width: 720px) { button { width: auto; } }

/* Résultats */
#res:empty { display: none; }
#res { margin-top: 24px; display: grid; gap: 12px; }
#res:focus { outline: none; }
#res .note { margin: 0; }
.carte { position: relative; padding: 14px 18px 14px 58px; border-radius: 12px; border: 1px solid var(--bord); border-left-width: 5px; }
.carte::before { position: absolute; left: 16px; top: 15px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.carte h2 { font-size: 1.05rem; margin: 0 0 4px; }
.carte p { margin: 0; }
.vert { background: var(--vert); border-left-color: var(--vert-bord); }
.vert::before { content: "✓"; background: var(--vert-bord); }
.orange { background: var(--orange); border-left-color: var(--orange-bord); }
.orange::before { content: "!"; background: var(--orange-bord); }
.erreur { color: var(--rouge); font-weight: 600; margin: 0; }
.note { color: var(--doux); font-size: .88rem; }
.sources { border-top: 1px solid var(--bord); margin: 24px 0 0; padding-top: 16px; }

/* Contenu */
h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 40px 0 12px; }
.tableau { overflow-x: auto; background: var(--surface); border: 1px solid var(--bord); border-radius: 12px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; font-weight: 700; padding: 14px 16px 6px; }
th, td { padding: 10px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--bord); }
thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--doux); }
tbody th { font-weight: 500; }
td { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.etapes { padding-left: 0; list-style: none; }
.etapes li { background: var(--surface); border: 1px solid var(--bord); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.etapes strong { color: var(--prim); }
.faq details { background: var(--surface); border: 1px solid var(--bord); border-radius: 12px; padding: 0 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--prim); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0; }

/* Accueil */
.outils { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .outils { grid-template-columns: repeat(3, 1fr); } }
.outil { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.outil h2 { font-size: 1.1rem; margin: 0; }
.outil p { margin: 0; color: var(--doux); font-size: .92rem; flex: 1; }
.outil a.go { align-self: flex-start; font-weight: 700; text-decoration: none; }
.outil a.go::after { content: " →"; }
.outil a.go::before { content: ""; position: absolute; inset: 0; }
.outil.actif { position: relative; transition: transform .15s, box-shadow .15s; }
.outil.actif:hover { transform: translateY(-2px); }
.outil.bientot { box-shadow: none; background: transparent; border-style: dashed; }
.etiquette { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--prim-clair); color: var(--prim); }
.etiquette.gris { background: var(--bord); color: var(--doux); }

footer { border-top: 1px solid var(--bord); background: var(--surface); color: var(--doux); font-size: .88rem; margin-top: 56px; }
footer div { max-width: 60rem; margin: 0 auto; padding: 20px 16px; }

/* ===== Effets modernes ===== */
html { scroll-behavior: smooth; }
.barre { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--surface) 78%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(1200px 500px at 10% -10%, #6d5cf0 0%, transparent 60%), linear-gradient(135deg, #2b36a8 0%, #4a3fc9 55%, #7b4fd8 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(56,214,180,.55), transparent 65%); filter: blur(10px); animation: flotte 14s ease-in-out infinite alternate; }
@keyframes flotte { to { transform: translate(-60px, 70px) scale(1.15); } }
.hero h1 { background: linear-gradient(90deg, #fff 30%, #c9d0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badges li { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.panneau { position: relative; }
.panneau::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(59,76,202,.45), transparent 40%, transparent 60%, rgba(56,214,180,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
button { background: linear-gradient(135deg, var(--prim), #6a4cd6); position: relative; overflow: hidden; }
button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
button:hover::after { transform: translateX(120%); }
.outil.actif:hover, .etapes li:hover { box-shadow: 0 12px 32px rgba(59,76,202,.18); border-color: color-mix(in srgb, var(--prim) 40%, var(--bord)); }
.etapes li { transition: box-shadow .2s, border-color .2s; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--prim-clair); color: var(--prim); }
.ico svg { width: 24px; height: 24px; }
.outil.bientot .ico { background: var(--bord); color: var(--doux); }

/* Apparition au défilement (seulement si JavaScript est actif) */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .apparait.vu { opacity: 1; transform: none; }
#res > * { animation: entre .45s ease both; }
#res > *:nth-child(2) { animation-delay: .08s; } #res > *:nth-child(3) { animation-delay: .16s; } #res > *:nth-child(4) { animation-delay: .24s; }
@keyframes entre { from { opacity: 0; transform: translateY(10px); } }

/* Jauges */
.jauges { background: var(--fond); border: 1px solid var(--bord); border-radius: 12px; padding: 16px 18px; }
.jauges h2 { font-size: 1.05rem; margin: 0 0 4px; }
.jauge { margin-top: 14px; }
.jauge-tete { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; flex-wrap: wrap; }
.jauge-tete b { font-variant-numeric: tabular-nums; }
.piste { position: relative; height: 12px; margin: 8px 0 22px; border-radius: 999px; background: var(--bord); }
.rempli { position: absolute; inset: 0 auto 0 0; border-radius: inherit; width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.rempli.ok { background: linear-gradient(90deg, #38d6b4, var(--vert-bord)); }
.rempli.attention { background: linear-gradient(90deg, #f6c453, var(--orange-bord)); }
.rempli.depasse { background: linear-gradient(90deg, #f08a7e, #c2382b); }
.repere { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--texte); opacity: .55; }
.repere.majore { opacity: .3; }
.piste { margin-bottom: 6px; }
.jauge-pied { font-size: .78rem; color: var(--doux); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .apparait { opacity: 1; transform: none; }
}

/* ===== Pied de page, pages d'information ===== */
.liens-pied { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.liens-pied a { color: var(--doux); }
.a-completer { background: #fff3a8; color: #5a4600; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ===== Et maintenant ? ===== */
.suite { border-radius: 12px; padding: 18px; background: linear-gradient(135deg, var(--prim-clair), transparent 80%); border: 1px solid var(--bord); }
.suite h2 { font-size: 1.1rem; margin: 0 0 12px; }
.suite-grille { display: grid; gap: 12px; }
@media (min-width: 720px) { .suite-grille { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.piste-action { background: var(--surface); border: 1px solid var(--bord); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.piste-action h3 { font-size: 1rem; margin: 0; }
.piste-action p { margin: 0; font-size: .92rem; color: var(--doux); flex: 1; }
.piste-action .go { font-weight: 700; text-decoration: none; }
.piste-action .go::after { content: " →"; }
.actions-resultat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
button.secondaire { width: auto; margin: 0; padding: 10px 18px; font-size: .95rem; background: var(--surface); color: var(--prim); border: 1.5px solid var(--prim); box-shadow: none; }
button.secondaire:hover { background: var(--prim-clair); }
button.secondaire::after { display: none; }
.imprime-titre { display: none; }

/* ===== Impression / PDF : seulement le résultat ===== */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .barre, .hero, form, .texte, footer, .actions-resultat, .sources ~ *, .outils, .piste-action .go { display: none !important; }
  main { margin: 0; max-width: none; padding: 0; }
  .panneau { box-shadow: none; border: 0; padding: 0; }
  .panneau::before { display: none; }
  .imprime-titre { display: block; font-weight: 700; font-size: 14pt; margin: 0 0 12px; }
  #res > * { animation: none; break-inside: avoid; }
  .carte, .jauges, .suite, .piste-action { background: #fff !important; }
  .rempli, .carte::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sources { margin-top: 12px; }
}

.panneau > h2:first-child { margin-top: 0; }

/* Bouton : texte blanc lisible en clair comme en sombre */
button:not(.secondaire) { background: linear-gradient(135deg, #3b4cca, #6a4cd6); color: #fff; }
button:not(.secondaire):hover { background: linear-gradient(135deg, #2c3aa3, #5a3ec4); }

/* Facture */
.fac fieldset + fieldset { margin-top: 16px; }
.fac textarea, .fac select { width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; border: 1.5px solid var(--bord); border-radius: 10px; background: var(--surface); color: var(--texte); }
.fac textarea { resize: vertical; }
.fac textarea:focus, .fac select:focus { outline: none; border-color: var(--prim); box-shadow: 0 0 0 4px var(--prim-clair); }
.fac input[type=radio] { width: 20px; height: 20px; margin: 0; padding: 0; flex: none; accent-color: var(--prim); }
.choix { display: flex; flex-wrap: wrap; gap: 0 24px; }
.franchise .si-tva, #f:not(.pro) .si-pro { display: none; }
button.petit { width: auto; margin-top: 12px; padding: 8px 14px; font-size: .9rem; font-weight: 600; background: var(--prim-clair); color: var(--prim); box-shadow: none; }
button.petit:hover { background: var(--prim-clair); color: var(--prim-fonce); text-decoration: underline; }
button.petit::after { display: none; }
.aide button.petit { margin: 4px 0 0; }
.ligne { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; padding-bottom: 12px; border-bottom: 1px dashed var(--bord); }
.ligne > div { flex: 1 1 7rem; min-width: 0; }
.ligne .l-des { flex: 3 1 14rem; }
.ligne .suppr { flex: none; }
#controle { margin-top: 24px; display: grid; gap: 8px; }
#controle ul { margin: 6px 0 0; padding-left: 20px; }
#controle .note { margin: 0; }
.titre-apercu { font-size: 1.1rem; margin: 28px 0 12px; }
#facture { background: #fff; color: #14172b; border: 1px solid var(--bord); border-radius: 12px; box-shadow: var(--ombre); padding: 28px; font-size: .9rem; line-height: 1.45; }
#facture p { margin: 0 0 6px; }
.f-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.f-titre { text-align: right; }
.f-gros { font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #3b4cca; }
.f-nom { font-weight: 700; }
.f-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #5b6078; margin-top: 8px !important; }
.f-client { margin: 20px 0; padding: 12px 16px; background: #f6f7fb; border-radius: 8px; }
.f-table { overflow-x: auto; }
#facture table { font-size: .88rem; }
#facture th, #facture td { padding: 8px 10px; border-top: 1px solid #e2e5ef; color: #14172b; font-weight: 400; white-space: normal; }
#facture thead th { background: #f6f7fb; color: #5b6078; font-weight: 700; }
#facture .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.f-totaux { width: auto !important; margin: 12px 0 0 auto; }
.f-ttc th, .f-ttc td { font-weight: 800 !important; font-size: 1rem; border-top: 2px solid #14172b !important; }
.f-attente { color: #5b6078; font-style: italic; }
.f-pied { margin-top: 20px; padding-top: 12px; border-top: 1px solid #e2e5ef; font-size: .82rem; }
@media (max-width: 480px) { #facture { padding: 16px 12px; } .f-titre { text-align: left; } }
@media print {
  @page { margin: 15mm; }
  body { background: #fff; }
  .barre, .hero, footer, .texte, #f, #controle, .titre-apercu, #pdf, .fac > .note { display: none !important; }
  main { max-width: none; margin: 0; padding: 0; }
  .panneau { border: 0; box-shadow: none; padding: 0; background: none; }
  .panneau::before { display: none; }
  #facture { border: 0; box-shadow: none; border-radius: 0; padding: 0; font-size: 10.5pt; }
  .f-client, #facture thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .f-table { overflow: visible; }
}

/* Carte « Bientôt » : fond plein pour rester visible sur le bandeau */
.outil.bientot { background: var(--surface); border-style: dashed; box-shadow: var(--ombre); }
.outil.bientot h2, .outil.bientot p, .outil.bientot .ico { opacity: .7; }

/* ===== Accueil vivant ===== */
.hero { background-size: 160% 160%; animation: degrade 18s ease-in-out infinite alternate; }
@keyframes degrade { from { background-position: 0% 0%; } to { background-position: 100% 60%; } }
.hero.accueil .hero-in { padding-top: 48px; padding-bottom: 96px; }
.hero-grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grille { grid-template-columns: 1.15fr .85fr; } }
.surtitre { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 4px 12px 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: .85rem; font-weight: 600; }
.pastille-live { width: 8px; height: 8px; border-radius: 50%; background: #38d6b4; box-shadow: 0 0 0 0 rgba(56,214,180,.7); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 8px rgba(56,214,180,0); } 100% { box-shadow: 0 0 0 0 rgba(56,214,180,0); } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; color: #2b36a8; background: #fff; box-shadow: 0 8px 24px rgba(20,23,43,.25); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: #2b36a8; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,23,43,.3); }
.btn-verre { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-verre:hover { color: #fff; background: rgba(255,255,255,.2); box-shadow: none; }

.scene { position: relative; min-height: 300px; }
@media (max-width: 899px) { .scene { min-height: 260px; max-width: 420px; } }
.demo, .mini-facture { position: absolute; border-radius: 18px; background: #fff; color: #14172b; box-shadow: 0 24px 60px rgba(10,12,40,.35); }
.demo { right: 0; bottom: 0; width: min(100%, 360px); padding: 20px 22px; animation: flotte-doux 6s ease-in-out infinite; }
.mini-facture { left: 0; top: 0; width: 220px; padding: 18px; transform: rotate(-6deg); opacity: .95; display: flex; flex-direction: column; gap: 8px; animation: flotte-doux 7s ease-in-out infinite reverse; }
.mini-facture b { color: #3b4cca; letter-spacing: .08em; }
.mini-facture span { font-size: .75rem; color: #5b6078; }
.mini-facture i { display: block; height: 8px; border-radius: 4px; background: #e2e5ef; }
.mini-facture i.court { width: 60%; }
.mini-facture em { font-size: .68rem; font-style: normal; color: #5b6078; border-top: 1px dashed #e2e5ef; padding-top: 8px; }
@keyframes flotte-doux { 50% { translate: 0 -8px; } }
.demo-tete { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #5b6078; }
.demo-montant { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.demo .piste { background: #e2e5ef; }
.demo .repere { background: #14172b; }
.demo .jauge-pied, .demo-msg { color: #5b6078; }
.demo-msg { margin: 10px 0 0; font-size: .9rem; font-weight: 600; color: #14172b; min-height: 2.6em; }
.demo-etat { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; transition: background .3s, color .3s; }
.demo-etat.ok { background: #e7f6ee; color: #1f7a4a; }
.demo-etat.attention { background: #fff4e2; color: #8a5600; }
.demo-etat.depasse { background: #fde8e6; color: #a3261a; }

.bloc { margin-top: 64px; }
.bloc > h2 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 24px; }
.trois { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) { .trois { grid-template-columns: repeat(3, 1fr); } }
.trois > * { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 22px; box-shadow: var(--ombre); }
.trois h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.trois p { margin: 0; color: var(--doux); font-size: .93rem; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b4cca, #6a4cd6); box-shadow: 0 6px 16px rgba(59,76,202,.35); }
.bloc > .note { text-align: center; margin-top: 20px; }
.js .trois > .apparait:nth-child(2) { transition-delay: .1s; } .js .trois > .apparait:nth-child(3) { transition-delay: .2s; }
.js .outils > .apparait:nth-child(2) { transition-delay: .1s; } .js .outils > .apparait:nth-child(3) { transition-delay: .2s; }
.appel { margin-top: 64px; text-align: center; color: #fff; border-radius: 22px; padding: 40px 24px; background: radial-gradient(600px 300px at 90% 0%, rgba(56,214,180,.45), transparent 60%), linear-gradient(135deg, #2b36a8, #7b4fd8); box-shadow: 0 20px 50px rgba(59,76,202,.3); }
.appel h2 { margin: 0 0 8px; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.appel p { margin: 0 0 20px; opacity: .9; }

/* Projecteur qui suit la souris sur les cartes */
.outil.actif, .trois > *, .panneau { --mx: 50%; --my: 50%; }
.outil.actif::after, .trois > *::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(59,76,202,.10), transparent 70%); }
.trois > * { position: relative; }
.outil.actif:hover::after, .trois > *:hover::after { opacity: 1; }
.outil.actif .go::before { z-index: 1; }

@media (prefers-reduced-motion: reduce) { .demo, .mini-facture, .hero, .pastille-live { animation: none !important; } }

/* ===== Kit (facultatif, discret) ===== */
.suite-kit { margin: 14px 0 0; font-size: .85rem; color: var(--doux); }
.kit-offre { display: grid; gap: 24px; }
@media (min-width: 820px) { .kit-offre { grid-template-columns: 1fr 280px; align-items: start; } }
.prix { border: 1px solid var(--bord); border-radius: 14px; padding: 20px; background: var(--fond); display: flex; flex-direction: column; gap: 10px; }
.prix-montant { font-size: 1.4rem; font-weight: 800; margin: 0; }
.prix .note { margin: 0; }
.btn-plein { color: #fff; background: linear-gradient(135deg, #3b4cca, #6a4cd6); box-shadow: 0 6px 16px rgba(59,76,202,.3); text-align: center; }
.btn-plein:hover { color: #fff; }
.kit-offre h2 { margin-top: 0; }
