@font-face { font-family: Inter; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/mono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
/* une seule grille : l'en-tête, le fil d'Ariane, le contenu et le pied de page commencent au même x.
   --gut : la marge qui aligne un bandeau pleine largeur sur la colonne de --w */
:root {
  --w: 1320px; --pad: clamp(16px, 4vw, 40px); --gut: max(var(--pad), calc((100% - var(--w)) / 2 + var(--pad)));
  --ink: #111827; --ink2: #374151; --ink3: #4b5563; --line: #d1d5db; --bg: #f9fafb; --grad: linear-gradient(90deg, #ff9dff, #ff6b6b);
  /* le rose des puces : celui de la marque (#ff9dff) disparaît sur fond blanc, celui-ci se voit (4,5 pour 1) */
  --rose: #d63384;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; color: var(--ink); background: #fff; font: 400 18px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
:where(:focus-visible) { border-radius: 4px; }
#top :focus-visible { outline-width: 2px; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* l'attribut hidden doit gagner sur les display: grid ou flex posés plus bas (champs, boutons, après l'envoi) */
[hidden] { display: none !important; }
.ic { width: 1.3em; height: 1.3em; display: block; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }
/* L'en-tête : celui de la ville (assets/entete.css, généré depuis build/page.css, et assets/entete.js), collé en haut
   de la page. Ses variables : celles de la ville, le gris des traits compris. */
:root { --bar: 64px; --pad-l: var(--gut); --pad-r: var(--gut); --line2: #f3f4f6; --card: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06); --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace; }
#top { --line: #e5e7eb; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: var(--bar); padding: 0 var(--gut); background: #fff; border-bottom: 1px solid var(--line); font: 400 14px/1.5 var(--sans); color: var(--ink); }
/* les boutons de l'en-tête, nus comme dans la ville (:where : les règles de la ville l'emportent toujours) */
:where(#top) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
#brand { flex: none; line-height: 0; }
#brand img { display: block; width: auto; height: 26px; }
/* la rubrique de la page, soulignée comme un lien */
#mainnav .nv.courante { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
#top .v3d, #top .start { flex: none; }
#top .sm, #menuBtn, #mega .m-pied { display: none; }
/* sans JavaScript, les rubriques n'ouvriraient rien : des liens simples à leur place */
.nojs { display: none; }
#top:not(.js) #mainnav { display: none; }
#top:not(.js) .nojs { display: block; }
.nojs ul { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.nojs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
/* le grand menu, en dessous de la barre */
#mega { z-index: 31; }
/* sur téléphone : le logo, « Démarrer » et le bouton du menu ; le menu ouvert prend l'écran, avec « Explorer en 3D » et
   les autres langues à son pied */
@media (max-width: 759px) {
  #top { gap: 8px; }
  #brand img { height: 22px; }
  #top .langs, #top .v3d { display: none; }
  #top .start { margin-left: auto; height: 44px; padding: 0 14px; }
  #top.js #menuBtn { display: inline-flex; width: 44px; height: 44px; }
  #top:not(.js) { flex-wrap: wrap; height: auto; padding: 8px var(--gut); }
  #top:not(.js) .nojs { flex-basis: 100%; order: 9; }
  body.menuopen { overflow: hidden; }
  body.menuopen #mega.on { display: block; position: fixed; inset: var(--bar) 0 0 0; width: auto; max-height: none; overflow-y: auto; border: 0; border-radius: 0; box-shadow: none; padding: 10px var(--gut) 24px; }
  body.menuopen #mega .m-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 10px; padding: 14px 0 8px; border-top: 1px solid var(--line2); }
  .m-langues { display: flex; gap: 16px; margin: 0; font-size: 15px; }
}
@media (max-width: 419px) {
  #top .start .lg { display: none; }
  #top .start .sm { display: inline; }
}
.crumbs { width: 100%; max-width: var(--w); margin: 0 auto; padding: 6px var(--pad) 0; font-size: 15px; color: var(--ink3); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 12px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: 0 -4px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
main { flex: 1 0 auto; width: 100%; max-width: var(--w); margin: 0 auto; padding: 12px var(--pad) 40px; }
/* le texte garde une ligne lisible ; les grilles (cartes, vignettes, photos) prennent toute la largeur */
main :is(p, .points, .tech, .prix, .ba, .contact, .news, .stations, .sitemap, table, .form, .stack) { max-width: 780px; }
main :is(p, li, dd, dt, figcaption) { text-wrap: pretty; }
h1, h2, h3, .t { text-wrap: balance; }
.eyebrow { margin: 0 0 4px; font: 500 15px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
h1 { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
/* le rose en accent : la barre sous le titre et les pastilles de chiffres au dégradé de la marque, les puces en --rose */
main > h1 { padding-bottom: 14px; background: var(--grad) no-repeat 0 100% / 72px 4px; }
.points li::marker { color: var(--rose); }
.h-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: #f3f4f6; }
.h-ico .ic { width: 26px; height: 26px; }
h2 { margin: 34px 0 12px; font-size: 25px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
h3 { margin: 16px 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; }
:is(h2, h3) + p { margin-top: 0; }
.lead { font-size: 21px; line-height: 1.5; color: var(--ink2); margin: 0 0 18px; }
.points { margin: 0 0 16px; padding-left: 1.2em; list-style-type: disc; }
.points li { margin: 6px 0; }
.points small { display: block; color: var(--ink3); font-size: 15px; }
.tech { margin: 0; }
.tech div { margin: 12px 0; }
.tech dt { font-weight: 700; }
.tech dd { margin: 0; color: var(--ink2); }
/* les fourchettes de prix d'un métier : l'intitulé, le montant en gras, puis la durée et ce qui est compris */
.prix { margin: 0; }
.prix div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.prix div:last-child { border-bottom: 1px solid var(--line); }
.prix dt { font-weight: 700; }
.prix dd { margin: 0; color: var(--ink2); }
.prix dd b { display: block; color: var(--ink); font-size: 1.05em; }
.prix dd b, table.compare td, .form .note { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .prix div { grid-template-columns: 1fr; } }
/* louer ou acheter un agent : le comparatif de la bibliothèque */
table.compare { table-layout: fixed; }
table.compare th, table.compare td { vertical-align: top; line-height: 1.45; }
table.compare tr > :first-child { width: 24%; padding-left: 0; font-weight: 700; }
table.compare thead th { font-weight: 700; }
@media (max-width: 640px) { table.compare { font-size: 14.5px; } table.compare tr > :first-child { width: 30%; } }
.stations .duree { display: block; margin-top: 2px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ink); }
.stack h3 { font: 500 15px/1.3 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); margin: 12px 0 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.chips li { padding: 3px 9px; border-radius: 7px; background: #f3f4f6; font: 500 15px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink2); }
.shot { display: block; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0 16px; }
.note { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink2); }
/* ce qui revient au client (les Applis : le code et les comptes des stores), sous les prix */
.tarifs .a-vous { margin: 16px 0 12px; font-weight: 600; color: var(--ink); }
a[href^="tel:"] { white-space: nowrap; }
/* le bouton d'envoi des formulaires aussi : .form button remet la police de la page (font: inherit) */
.form .cta { font-weight: 600; }
.cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: background-color .15s; }
.cta:hover { background: #1f2937; }
.cta-2 { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cta-2:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink3); }
.floors { margin: 16px 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.fl.full, .fl.case { grid-column: 1 / -1; }
.fl { position: relative; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
/* une carte qui mène à un étage : toute la carte est cliquable (le lien du titre s'étend sur elle), et réagit au survol */
.fl > a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.fl:has(> a) { transition: border-color .15s, box-shadow .15s; }
.fl:has(> a):hover { border-color: var(--ink2); box-shadow: 0 4px 14px rgba(17, 24, 39, .08); }
.fl:has(> a):hover > a .t { text-decoration-thickness: 2px; }
.fl > a:focus-visible { outline: none; }
.fl:has(> a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.fl > a { display: block; font-size: 20px; text-decoration: none; }
.fl > a small { display: block; font: 400 15px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.fl > a .t { margin: 0; font-size: 20px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.fl p { margin: 6px 0 0; color: var(--ink2); }
/* un agent : son portrait à gauche ; un cas d'usage : son chiffre clé en pastille, aux couleurs de la marque */
.fl.avec-portrait { min-height: 94px; padding-left: 94px; }
.fl .portrait { position: absolute; left: 16px; top: 14px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--bg); }
.fl .chiffre { display: flex; align-items: baseline; gap: 4px 8px; margin: 8px 0 0; color: var(--ink2); font-size: 16px; }
.fl .pill { flex: none; display: inline-block; margin-right: 0; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #000; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.fl h2 { margin: 0 0 6px; font-size: 22px; }
.fig { display: flex; align-items: baseline; gap: 2px 10px; margin: 8px 0; padding: 10px 14px; border-radius: 10px; background: var(--grad); color: #000; font-weight: 600; }
.fig b { flex: none; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.ba { margin: 8px 0; }
.ba dt { font-weight: 700; }
.ba dd { margin: 0 0 8px; color: var(--ink2); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 16px; margin: 12px 0; padding: 0; list-style: none; }
.people img { display: block; width: 100%; border-radius: 10px; margin-bottom: 6px; }
.people b, .people span, .people a, .people small { display: block; line-height: 1.3; }
.people span, .people small { font-size: 15px; color: var(--ink3); }
.people a { font-size: 15px; overflow-wrap: anywhere; margin: 2px 0; }
/* une IA de l'équipe (Zinnia) : la pastille « IA » à côté du prénom, pour que personne ne la prenne pour une salariée */
.people b .pastille-ia { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--grad); color: #000; font: 700 12px/1.6 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .04em; vertical-align: 2px; }
.people .bio { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink2); }
/* sa carte se lit comme celles des autres : le portrait, puis le texte dessous (demande de Paul du 24/11/2026) */
.spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 12px 0; padding: 0; list-style: none; }
.spots img { display: block; width: 100%; border-radius: 10px; margin-bottom: 6px; }
.spots p { margin: 3px 0; font-size: 16px; color: var(--ink2); }
/* les vidéos : l'icône de lecture sur la vignette, puis le lecteur à sa place */
.spots a { display: block; border-radius: 10px; text-decoration: none; }
.spots a:hover .t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.vimg { position: relative; display: block; }
.play { position: absolute; left: 50%; top: calc(50% - 3px); display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(17, 24, 39, .82); color: #fff; transition: transform .15s, background .15s; }
.play .ic { width: 28px; height: 28px; margin-left: 3px; fill: currentColor; }
.spots a:hover .play { transform: scale(1.08); background: var(--ink); }
.spots .player { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; margin-bottom: 6px; border: 0; border-radius: 10px; background: #000; }
.spots .t { margin: 0 0 2px; }
.spots small { font: 400 14px/1.3 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin: 12px 0; padding: 0; list-style: none; }
.logos img { height: 34px; width: auto; max-width: 130px; object-fit: contain; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; }
caption { text-align: left; font-weight: 700; margin-bottom: 6px; }
th, td { padding: 8px 6px; border-top: 1px solid var(--line); text-align: left; }
.stations { padding-left: 1.4em; }
.stations li { margin: 12px 0; }
.stations li::marker { color: var(--rose); font-weight: 700; }
.stations .t { margin: 0; }
.stations span, .stations small { display: block; }
.stations small { font: 400 15px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; padding: 0; list-style: none; }
.steps li { flex: 1 1 150px; padding: 12px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.steps b { display: block; font-size: 32px; font-weight: 800; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 8px 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .tiles:has(> li:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); line-height: 1.35; font-size: 16px; }
.tiles b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.tiles li:has(> a) { position: relative; transition: border-color .15s, box-shadow .15s; }
.tiles li > a { text-decoration: none; }
.tiles li > a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.tiles li > a b::after { content: " →"; content: " →" / ""; font-size: 18px; font-weight: 600; color: var(--ink3); }
.tiles li:has(> a):hover { border-color: var(--ink2); box-shadow: 0 4px 14px rgba(17, 24, 39, .08); }
.tiles li > a:focus-visible { outline: none; }
.tiles li:has(> a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.contact { margin: 12px 0; }
.contact div { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact div:first-child { border-top: 1px solid var(--line); }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; }
/* l'interlocuteur des prospects (Paul, 15 novembre) : sa photo de l'équipe, en petit, devant son nom */
.contact .c-qui { display: flex; align-items: center; gap: 10px; }
.contact .c-qui img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 14px 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards a { display: block; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cards a:hover { border-color: var(--ink2); box-shadow: 0 4px 14px rgba(17, 24, 39, .08); }
.cards a:hover .t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
/* .t : le titre d'une carte, d'une vignette ou d'une étape (un h2 ou un h3 à la taille du texte fort) */
.t { font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.cards .t { margin: 8px 0 0; }
.cards span:last-child { display: block; font-size: 16px; color: var(--ink3); line-height: 1.35; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px 16px; margin: 14px 0; padding: 0; list-style: none; }
.thumbs img { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.thumbs .t { margin: 5px 0 0; }
.thumbs a { display: block; border-radius: 10px; text-decoration: none; }
.thumbs a:hover img { border-color: var(--ink2); box-shadow: 0 4px 14px rgba(17, 24, 39, .1); }
.thumbs a:hover .t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
main .sitemap { max-width: none; columns: 3 280px; column-gap: 40px; }
.sitemap section { margin-bottom: 8px; break-inside: avoid; }
.sitemap h2 { margin: 22px 0 2px; font-size: 22px; }
.sitemap > section:first-child > h2 { margin-top: 0; }
.sitemap p { margin: 0 0 4px; color: var(--ink3); font-size: 16px; }
/* la bande de fin, sur toute la largeur : le texte à gauche, un seul bouton à droite (sous le texte au téléphone) */
.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-top: 56px; padding: 24px 28px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.next > div { flex: 1 1 380px; min-width: 0; }
.next h2 { margin: 0 0 4px; font-size: 24px; }
.next p { margin: 0; }
.next > p { flex: none; }
:is(.next, .fl) p:has(> .cta) { margin-top: 16px; }
.foot { padding: 22px var(--gut); border-top: 1px solid var(--line); font-size: 16px; color: var(--ink2); }
.foot ul { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 8px 0 0; padding: 0; list-style: none; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
/* le menu, repris en pied de page */
.foot .foot-nav { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.foot .annuaires { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 6px 0 0; font-size: 13.5px; }
.foot .annuaires a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink2); text-decoration: none; }
.foot .annuaires a:hover { text-decoration: underline; }
.more { display: inline-block; padding: 8px 0; line-height: 28px; font-weight: 600; }
/* la bibliothèque des agents (/agents/bibliotheque) : la recherche et les filtres, les statuts, les cartes */
.filtres { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 12px; align-items: end; margin: 22px 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.filtres .f { display: grid; gap: 4px; }
.filtres .f-q { grid-column: 1 / -1; }
@media (min-width: 640px) { .filtres { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; } }
@media (min-width: 1000px) { .filtres { grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.filtres label { font-weight: 600; font-size: 15px; }
.filtres input, .filtres select { width: 100%; min-height: 44px; padding: 9px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #6b7280; border-radius: 9px; }
.barre .reset, .vide .reset { min-height: 44px; padding: 0 16px; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid #6b7280; border-radius: 10px; cursor: pointer; }
.barre .reset:hover, .vide .reset:hover { background: #e5e7eb; }
.statuts { margin: 0 0 6px; }
.statuts summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; }
.statuts summary::-webkit-details-marker { display: none; }
.statuts summary::after { content: "+"; content: "+" / ""; font-weight: 700; font-size: 20px; line-height: 1; color: var(--ink3); }
.statuts[open] summary::after { content: "−"; content: "−" / ""; }
.statuts h2 { margin: 0; font-size: 18px; }
.statuts .nb { font-size: 14px; color: var(--ink3); white-space: nowrap; }
.statuts dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px 22px; margin: 4px 0 0; }
.statuts dt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.statuts dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.biblio .pill, .statuts .pill { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.pill.ok { background: #dcfce7; color: #14532d; }
.pill.info { background: #dbeafe; color: #1e3a8a; }
.pill.warn { background: #fef3c7; color: #78350f; }
.pill.idee { background: #fff; color: var(--ink2); box-shadow: inset 0 0 0 1px #6b7280; }
/* la preuve, à côté du statut : depuis quand l'agent tourne en production (Camélia, campagne du 23 novembre) */
.pill.prod { background: #dcfce7; color: #14532d; box-shadow: inset 0 0 0 1px #86efac; }
/* un agent en service se loue aussi : la pastille mène à l'offre de location, sous la liste */
.pill.loc { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); text-decoration: none; }
.pill.loc:hover { background: #f3f4f6; }
/* les heures gagnées, estimées : une pastille au dégradé de la marque, encre noire (contraste 4,5:1 vérifié) */
.pill.gain { background: #fde7fd; color: #4a0d4a; box-shadow: inset 0 0 0 1px #e9a6e9; }
.ag .pill.gain { white-space: normal; text-wrap: balance; border-radius: 12px; }
.barre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 10px; }
.compte { margin: 0; font-weight: 700; font-size: 17px; }
.biblio { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.ag { display: flex; flex-direction: column; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; scroll-margin-top: 8px; }
.ag:target { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.ag > img { width: 88px; height: 88px; border-radius: 50%; background: #eef3e6; }
.ag-t { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.ag h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.drapeau { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(17, 24, 39, .3); }
.ag p { margin: 0; }
.ag .ag-m { margin-top: 2px; font: 400 14.5px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.ag .ag-m > span:not(.sep) { display: inline-block; }
.ag .ag-s { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ag .ag-e { margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--ink3); }
/* le séparateur métier · secteur : une virgule dans le texte (moteurs, lecteurs d'écran), un point médian à l'écran */
.ag .ag-m .sep { font-size: 0; }
.ag .ag-m .sep::before { content: "·"; content: "·" / ""; display: inline-block; margin: 0 .45em; font-size: 14.5px; }
.ag .ag-r { margin-top: 8px; font-size: 16.5px; line-height: 1.5; color: var(--ink2); }
.ag .ag-l { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink3); }
.ag .ag-l b { color: var(--ink); font-weight: 600; }
.ag .ag-b { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; padding-top: 4px; }
.ag .more { text-wrap: balance; }
.vide { margin: 0 0 24px; padding: 16px; border: 1px dashed #6b7280; border-radius: 14px; }
.vide p { margin: 0 0 10px; }
.vide .cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; margin-right: 8px; font-size: 16px; }
.more::after { content: "\a0→"; content: "\a0→" / ""; }
@media (max-width: 420px) { body { font-size: 17px; } h1 { font-size: 30px; } .lead { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 12px 0; }
.gal figure { margin: 0; }
.gal:has(> figure:only-child) { max-width: 780px; }
.gal .shot { margin: 0; width: 100%; height: auto; }
.gal figcaption { margin-top: 4px; font-size: 15px; color: var(--ink3); }
.news { list-style: none; margin: 12px 0; padding: 0; }
.news li { padding: 14px 0; border-top: 1px solid var(--line); }
.news time { display: block; font: 500 15px/1.3 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.news h2, .news h3 { margin: 2px 0 0; font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.news p { margin: 4px 0 6px; color: var(--ink2); }

/* les formulaires */
.form { display: grid; gap: 14px; max-width: 560px; margin: 22px 0; }
.form .f { display: grid; gap: 5px; }
.form label, .form legend { font-weight: 600; font-size: 15px; }
.form input:not([type="radio"]):not([type="checkbox"]), .form textarea, .form select { width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #6b7280; border-radius: 9px; }
.form textarea { min-height: 110px; resize: vertical; }
.form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.form .r { display: flex; gap: 9px; align-items: center; min-height: 32px; font-weight: 400; }
.form .r input, .form .ok input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.form .ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; line-height: 1.4; }
.form .hint { font-size: 13.5px; color: var(--ink3); font-weight: 400; }
.form > .note { margin: 0; }
.form legend { padding: 0; }
.form .aide { font-size: 13.5px; line-height: 1.45; color: var(--ink3); }
.form .ferr { margin: 0; font-size: 14px; font-weight: 600; color: #b42318; }
.form [aria-invalid="true"]:not([type="checkbox"]) { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.form .ok:has([aria-invalid="true"]) { color: #b42318; }
.form .ok:has([aria-invalid="true"]) a { color: inherit; }
.form .ok + .ferr { margin-top: -9px; padding-left: 34px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.form button:disabled { opacity: .7; cursor: progress; }
.fmsg { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.fmsg.bad { background: #fef3f2; color: #b42318; }
.fmsg.good { background: #ecfdf3; color: #067647; }
.fmsg.good::before { content: "✓ "; content: "✓ " / ""; }
.fmsg a { color: inherit; }
/* le CV : le vrai <input type="file"> reste (clavier, lecteurs d'écran), seul son bouton est habillé */
.form .f input[type="file"] { padding: 5px; border-style: dashed; cursor: pointer; }
.form input[type="file"]::file-selector-button { margin-right: 12px; padding: 6px 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid #6b7280; border-radius: 8px; cursor: pointer; }
.form input[type="file"]:hover::file-selector-button { background: #e5e7eb; }
/* /apply : deux colonnes au-dessus de 640 px ; le message, le consentement et le bouton sur toute la largeur */
@media (min-width: 640px) {
  .form.cols { grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; max-width: none; }
  .form.cols > :is(.ok, .ferr, button, .fmsg), .form.cols > .f:has(textarea) { grid-column: 1 / -1; }
}
/* les listes déroulantes : la flèche du navigateur collait au bord ; la nôtre se tient à 14 px */
.filtres select, .form select { -webkit-appearance: none; appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; }
/* le haut des pages sur téléphone : le seul lien utile du fil d'Ariane (le parent), le titre sur toute la largeur, de l'air */
@media (max-width: 639px) {
  .crumbs { padding-top: 6px; }
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: list-item; }
  .crumbs li + li::before { content: none; }
  .crumbs li:nth-last-child(2) a::before { content: "‹"; content: "‹" / ""; margin-right: 8px; font-size: 20px; line-height: 1; }
  main { padding-top: 4px; }
  main > .eyebrow { margin-bottom: 10px; font-size: 13px; }
  main > h1 { margin-bottom: 18px; padding-bottom: 14px; }
  main > h1 .h-ico { display: none; }
  main > .lead { font-size: 18px; line-height: 1.55; margin-bottom: 24px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .thumbs .sans-ecran { font-size: 13px; line-height: 1.35; }
  .cards a { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .cards .h-ico { grid-row: span 2; }
  .cards .t { margin: 0; }
  .contact div { grid-template-columns: minmax(0, 1fr); }
}
/* une réalisation sans écran public (outil privé) : sa vignette le dit, à la taille d'une capture */
.thumbs .sans-ecran { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 12px; border-radius: 10px; background: repeating-linear-gradient(135deg, #f3f4f6 0 10px, #f9fafb 10px 20px); border: 1px dashed #9ca3af; color: var(--ink2); font-size: 15px; text-align: center; }
/* le statut d'un projet ou d'un cas d'usage (en service, en pilote, en préparation), aussi en version texte */
.etat { margin: 0 0 12px; }
.fl .etat { margin: 8px 0 0; }
.etat span { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.6; }
.etat .ok { background: #dcfce7; color: #14532d; }
.etat .warn { background: #fef3c7; color: #78350f; }
/* la recherche par IA : la note sous le champ, et les cartes proposées par l'IA */
.filtres .ia-note { font-size: 13px; color: var(--ink3); }
.ag.ag-ia { border-style: dashed; }

/* La fiche complète d'un agent (build/build.mjs, ficheAgentHTML) : sur le modèle de l'ancienne page Camélia. Des
   sections aérées, des cartes à filet fin, un bandeau sombre pour ce que l'agent lit et rend. */
.fiche { --fil: #e5e7eb; display: grid; gap: 0; }
.fiche section { margin: 0; padding: 40px 0; border-top: 1px solid var(--fil); }
.fiche section:first-child { padding-top: 8px; border-top: 0; }
.fiche h2 { margin: 2px 0 10px; font-size: clamp(25px, 3vw, 32px); line-height: 1.15; letter-spacing: -.02em; max-width: 24em; text-wrap: balance; }
.fiche h2 strong { background: var(--grad) no-repeat 0 92% / 100% .28em; }
.fiche .eyebrow { margin-bottom: 6px; }
.fiche .f-chapeau { max-width: 720px; margin: 0 0 22px; font-size: 19px; line-height: 1.55; color: var(--ink2); }
/* l'accroche : le portrait, le statut, la phrase et les boutons */
.f-hero { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: start; }
.f-portrait { width: 180px; height: 180px; border-radius: 24px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--fil); object-fit: cover; }
.f-statut { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.f-statut .pill { display: inline-block; padding: 2px 11px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.pill.gain { background: #f3f4f6; color: var(--ink); }
.f-accroche { max-width: 30em; margin: 0 0 14px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.f-accroche strong { background: var(--grad) no-repeat 0 92% / 100% .26em; }
.f-puces { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.f-puces li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--fil); font: 500 14px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink2); }
.f-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 10px; }
.cta.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #6b7280; }
.cta.ghost:hover { background: var(--bg); }
.f-estim { margin: 0; font-size: 15px; color: var(--ink3); }
/* la démo : un écran, comme un vrai logiciel */
.f-ecran { position: relative; overflow: hidden; aspect-ratio: 16 / 10; max-height: 760px; border-radius: 16px; background: var(--bg); box-shadow: 0 0 0 1px var(--fil), 0 18px 48px -18px rgba(17, 24, 39, .3); }
.f-ecran iframe { display: block; width: 100%; height: 100%; border: 0; }
/* la démo en vidéo, au-dessus de la maquette : lancée par le visiteur, avec sa transcription */
.f-video { max-width: 1040px; margin: 16px 0 6px; }
.f-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #0b1020; box-shadow: 0 0 0 1px var(--fil), 0 18px 48px -18px rgba(17, 24, 39, .3); }
.f-video figcaption { margin-top: 6px; font-size: 15px; }
.f-video summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.f-video details div { max-width: 780px; color: var(--ink2); }
.f-video details p { margin: 0 0 10px; }
.f-demo h3 { margin: 30px 0 6px; font-size: 21px; }
/* ce que l'agent lit et ce qui en sort : un bandeau sombre, les sources à gauche, l'agent au centre, les sorties à droite */
.f-flux { margin: 0 calc(-1 * var(--pad)) !important; padding: 40px var(--pad) !important; border-radius: 22px; background: #111827; color: #fff; border-top: 0 !important; }
.f-flux h2 { color: #fff; }
.flux { display: grid; grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 18px; }
.flux-col h3 { margin: 0 0 10px; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #9ca3af; }
.flux-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.flux-col li { display: grid; gap: 1px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.flux-col li b { font-size: 16px; }
.flux-col li span { font-size: 14.5px; color: #d1d5db; }
.flux-c { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 12px; border-radius: 18px; background: var(--grad); color: #000; text-align: center; }
.flux-c img { width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.flux-c b { font-size: 18px; }
.flux-c span { font: 500 13px/1.35 "JetBrains Mono", ui-monospace, monospace; }
.flux-c::before, .flux-c::after { content: ""; position: absolute; top: 50%; width: 22px; height: 2px; background: rgba(255, 255, 255, .5); }
.flux-c::before { right: 100%; }
.flux-c::after { left: 100%; }
.flux-l { margin: 18px 0 0; font: 500 15px/1.4 "JetBrains Mono", ui-monospace, monospace; color: #d1d5db; }
/* le constat : trois ou quatre cartes, une citation en tête */
.f-points, .f-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.f-points li, .f-cartes li { padding: 18px 18px 16px; border-radius: 16px; border: 1px solid var(--fil); background: #fff; }
.f-points q { display: block; margin-bottom: 10px; font: 500 15px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--rose); quotes: "« " " »"; }
.f-points h3, .f-cartes h3 { margin: 0 0 6px; font-size: 18px; }
.f-points p, .f-cartes p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink2); }
.f-cartes .ex { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--fil); font-size: 15.5px; }
/* avant, après : deux colonnes, la seconde en sombre */
.avap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.avap > div { padding: 20px 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--fil); }
.avap .ap { background: #111827; border-color: #111827; color: #fff; }
.avap h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.avap .ap h3 { color: #d1d5db; }
.avap h3 small { font: 600 14px/1.3 Inter, sans-serif; letter-spacing: 0; text-transform: none; color: var(--ink); }
.avap .ap h3 small { color: #fff; }
.avap ol { display: grid; gap: 8px; margin: 0; padding-left: 1.3em; }
.avap li { font-size: 16.5px; line-height: 1.5; }
.avap .ap li::marker { color: #ff9dff; }
/* le fonctionnement : une frise, l'étape de l'équipe en relief */
.f-etapes, .f-etapes2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.f-etapes li, .f-etapes2 li { position: relative; padding: 16px 16px 14px; border-radius: 16px; border: 1px solid var(--fil); background: #fff; }
.f-etapes li.qui-equipe { background: #fdf2fb; border-color: #f5c2ec; }
.f-etapes .n, .f-etapes2 .n { display: block; font: 600 13px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.f-etapes .qui { display: inline-block; margin-top: 10px; padding: 1px 9px; border-radius: 999px; background: #f3f4f6; font-size: 13px; font-weight: 600; }
.f-etapes .qui-equipe .qui { background: #111827; color: #fff; }
.f-etapes h3, .f-etapes2 h3 { margin: 8px 0 4px; font-size: 17px; }
.f-etapes p, .f-etapes2 p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink2); }
.f-nefait { max-width: 780px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--fil); }
.f-nefait h3 { margin: 0 0 6px; font-size: 16px; }
.f-nefait ul, .f-cadre ul { margin: 0; padding-left: 1.2em; }
.f-nefait li, .f-cadre li { margin: 4px 0; font-size: 16.5px; }
.f-nefait li::marker, .f-cadre .jamais li::marker { content: "✕  "; color: var(--rose); font-size: .85em; }
/* les logiciels */
.f-groupes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 22px; }
.f-groupes h3 { margin: 0 0 8px; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.f-bornes { max-width: 780px; margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--rose); background: var(--bg); border-radius: 0 10px 10px 0; font-size: 16.5px; }
/* le cadre : ce qu'il ne fera jamais, ce qui est toujours vrai */
.f-cadre2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.f-cadre2 > div { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--fil); }
/* au téléphone, le cadre en une colonne : deux cartes de 212 et 132 px coupaient « Ce qui est toujours vrai » */
@media (max-width: 639px) { .f-cadre2 { grid-template-columns: 1fr; } }
.f-cadre2 h3 { margin: 0 0 10px; font-size: 17px; }
.f-cadre2 dl { display: grid; gap: 10px; margin: 0; }
.f-cadre2 dt { font-weight: 700; font-size: 16.5px; }
.f-cadre2 dd { margin: 0; font-size: 15.5px; color: var(--ink2); }
/* les questions : un accordéon sobre */
.f-faq details { max-width: 820px; border-top: 1px solid var(--fil); }
.f-faq details:last-of-type { border-bottom: 1px solid var(--fil); }
.f-faq summary { position: relative; padding: 15px 36px 15px 0; font-weight: 600; font-size: 18px; list-style: none; cursor: pointer; }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font: 400 24px/1 Inter, sans-serif; color: var(--ink3); transition: rotate .15s ease; }
.f-faq details[open] summary::after { rotate: 45deg; }
.f-faq details p { margin: 0 0 16px; font-size: 17px; color: var(--ink2); }
@media (max-width: 759px) {
  .fiche section { padding: 30px 0; }
  .f-hero { grid-template-columns: 1fr; gap: 16px; }
  .f-portrait { width: 120px; height: 120px; border-radius: 18px; }
  .f-flux { margin: 0 !important; border-radius: 18px; padding: 26px 18px !important; }
  .flux { grid-template-columns: 1fr; }
  .flux-c::before, .flux-c::after { display: none; }
  .avap, .f-cadre2 { grid-template-columns: 1fr; }
  .f-ecran { aspect-ratio: 3 / 4; }
}

/* le site d'un produit maison, en tête de sa fiche : une carte au dégradé de la marque */
.site-produit { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; margin: 12px 0 14px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, #ffe4ff, #ffe1e1); box-shadow: inset 0 0 0 1.5px #111827; color: #111827; text-decoration: none; transition: box-shadow .15s ease; }
.site-produit:hover { box-shadow: inset 0 0 0 2.5px #111827; }
.site-produit span { font-size: 13px; color: #374151; }
.site-produit b { font-size: 17px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.site-produit i { margin-left: auto; font-style: normal; font-size: 20px; font-weight: 700; }

/* les écrans d'un agent qui a sa démo : une grille de captures, chacune avec son titre */
.f-ecrans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px 18px; align-items: start; margin: 10px 0 0; }
.f-ecrans figure { margin: 0; }
.f-ecrans img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--fil), 0 10px 28px -14px rgba(17, 24, 39, .3); }
.f-ecrans figcaption { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* « Ils sont sur le podium » : tous les clients défilent en boucle (la liste deux fois), arrêt au survol ;
   sans animation pour qui en demande moins : la liste, sur plusieurs lignes */
.defile { display: flex; overflow: hidden; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.defile > .logos { flex: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 44px; margin: 0; padding: 10px 22px; animation: defile 38s linear infinite; }
.defile:hover > .logos { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .defile { mask-image: none; } .defile > .logos { animation: none; flex-wrap: wrap; } .defile > [aria-hidden="true"] { display: none; } }

/* une réalisation sans écran public : la même tuile rose que dans le menu */
.thumbs .sans-ecran { border: 0; background: linear-gradient(120deg, #ffe4ff, #ffe1e1); color: #374151; }

/* la carte d'identité d'un agent qui a son bureau (Camélia, Magnolia, Julia) : à droite de l'accroche, recto et verso */
.f-hero.avec-carte { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); }
.f-hero.avec-carte .f-hero-t { order: 1; }
.carte-id { order: 2; display: grid; perspective: 1600px; }
.cid-face { grid-area: 1 / 1; overflow: hidden; border-radius: 20px; box-shadow: 0 0 0 1px rgba(17, 24, 39, .1), 0 30px 70px -30px rgba(17, 24, 39, .45); backface-visibility: hidden; transition: transform .7s ease;
  background-color: #f6f1fa; background-image: repeating-radial-gradient(circle at 18% 30%, rgba(255, 107, 107, .10) 0 1px, transparent 1px 9px), repeating-radial-gradient(circle at 85% 80%, rgba(168, 85, 247, .10) 0 1px, transparent 1px 11px), linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 45%, #ecfdf5 100%); }
.cid-verso { transform: rotateY(180deg); }
.carte-id[data-face="verso"] .cid-recto { transform: rotateY(-180deg); }
.carte-id[data-face="verso"] .cid-verso { transform: rotateY(0); }
.cid-tete { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 9px 16px; background: #111827; color: #fff; font: 500 11px/1.4 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.cid-tete span + span { color: #ff9dff; }
.cid-corps { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px 16px 6px; }
.cid-photo { width: 104px; height: 138px; object-fit: cover; object-position: 50% 30%; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .1); }
.cid-champs { margin: 0; display: grid; gap: 4px; }
.cid-champs dt { font: 500 9.5px/1.2 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.cid-champs dd { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.cid-num { margin: 4px 16px 0; font: 400 11.5px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.cid-num b { color: var(--ink); }
.cid-t { margin: 10px 16px 4px; font: 600 10px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.cid-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 16px; padding: 0; list-style: none; }
.cid-chips li { padding: 2px 9px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .12); font-size: 12.5px; font-weight: 600; }
.cid-hab { margin: 0 16px; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.35; }
.cid-hab li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed rgba(17, 24, 39, .14); }
.cid-hab b { flex: none; font-weight: 600; }
.cid-hab .oui b { color: #067647; }
.cid-hab .non b { color: #b42318; }
.cid-devise { margin: 10px 16px 0; font-size: 14px; font-style: italic; }
.cid-devise span { font: normal 500 10px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-right: 6px; }
.cid-mrz { margin: 10px 0 0; padding: 8px 16px 12px; background: rgba(255, 255, 255, .6); font: 500 11px/1.5 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; color: var(--ink2); overflow: hidden; white-space: nowrap; }
.cid-jamais { margin: 0 16px; padding-left: 1.1em; font-size: 13px; line-height: 1.45; }
.cid-jamais li::marker { content: "✕  "; color: #b42318; }
.cid-ia { margin: 0 16px; font-size: 13px; }
.cid-ia div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed rgba(17, 24, 39, .14); }
.cid-ia dt { font-weight: 600; }
.cid-ia dd { margin: 0; text-align: right; color: var(--ink2); }
.cid-trace { margin: 10px 16px 16px; font-size: 12.5px; line-height: 1.45; color: var(--ink2); }
.cid-tourner { grid-area: 2 / 1; justify-self: center; margin-top: 12px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.cid-tourner:hover { box-shadow: inset 0 0 0 1px var(--ink3); }
@media (max-width: 900px) { .f-hero.avec-carte { grid-template-columns: 1fr; } .carte-id { order: 0; max-width: 430px; } }
@media (prefers-reduced-motion: reduce) { .cid-face { transition: none; } }

/* la démo d'un agent : l'affiche et deux boutons dans la page ; la vidéo et la maquette dans une fenêtre, en onglets */
.f-affiche { position: relative; display: block; max-width: 880px; margin: 16px 0 12px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--fil), 0 18px 48px -18px rgba(17, 24, 39, .3); }
.f-affiche img { display: block; width: 100%; height: auto; }
.f-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(17, 24, 39, .85); transition: transform .15s; }
.f-play svg { width: 34px; height: 34px; margin-left: 4px; fill: #fff; }
.f-affiche:hover .f-play { transform: scale(1.08); }
.f-demo-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.f-transcription summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.f-transcription div { max-width: 780px; color: var(--ink2); }
.f-modal { width: min(1200px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(17, 24, 39, .4); }
.f-modal::backdrop { background: rgba(11, 15, 30, .78); }
.f-modal-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--fil); }
.f-onglets { display: flex; gap: 4px; }
.f-onglets button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.f-onglets button[aria-selected="true"] { background: var(--ink); color: #fff; }
.f-fermer { width: 44px; height: 44px; border: 0; border-radius: 10px; background: #f3f4f6; font-size: 18px; cursor: pointer; }
.f-panneau { padding: 12px; }
.f-panneau video { display: block; width: 100%; height: auto; max-height: calc(100vh - 140px); border-radius: 12px; background: #0b1020; }
.f-panneau iframe { display: block; width: 100%; height: min(72vh, 760px); border: 0; border-radius: 12px; background: var(--bg); }
.f-panneau p { margin: 8px 0 0; }

/* « Ce que l'agent lit, et ce qui en sort » en graphe façon n8n : une toile pointillée, des nœuds avec leur icône et leurs
   poignées, des courbes fléchées (tracées par le script de la section, src : build.mjs) */
.f-flux { background-color: #0f1320 !important; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px) !important; background-size: 18px 18px !important; }
.n8n { position: relative; gap: 22px 64px; }
.n8n-fils { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.n8n-fils path { fill: none; stroke: #8b93a7; stroke-width: 1.8; stroke-dasharray: 5 5; animation: n8n-flux 1.4s linear infinite; }
.n8n-fils marker path { fill: #8b93a7; stroke: none; animation: none; }
@keyframes n8n-flux { to { stroke-dashoffset: -20; } }
.n8n .flux-col, .n8n-agent { position: relative; z-index: 1; }
.n8n-node { position: relative; display: flex !important; align-items: center; gap: 10px; padding: 9px 12px !important; border-radius: 12px; background: #1a2033 !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12) !important; }
.n8n-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: #334155; color: #fff; }
.n8n-ico .ic { width: 17px; height: 17px; }
.n8n-out .n8n-ico { background: #0e7490; }
.n8n-t { display: grid; gap: 1px; min-width: 0; }
.n8n-t b { font-size: 15.5px; }
.n8n-t span { font-size: 14px; color: #cbd5e1; }
/* les poignées de connexion, comme dans l'éditeur : à droite d'une source, à gauche d'une sortie */
.n8n-node::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #0f1320; box-shadow: inset 0 0 0 2px #8b93a7; }
.n8n-node.entree::after { right: -6px; }
.n8n-node.sortie::after { left: -6px; }
.n8n-agent { box-shadow: 0 0 0 3px rgba(255, 157, 255, .35), 0 18px 40px -12px rgba(255, 107, 107, .55); }
.n8n-agent::before, .n8n-agent::after { display: none !important; }
@media (max-width: 900px) { .n8n { gap: 34px; } .n8n-node::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .n8n-fils path { animation: none; } }

/* les nœuds du graphe : l'icône à distance du texte (la règle .flux-col li posait un écart de 1 px) */
.n8n .n8n-node { gap: 12px; }

/* la location en avant, sur chaque fiche : une carte au dégradé de la marque, son prix en grand ; l'achat sur mesure dessous */
.f-loc { max-width: 780px; margin: 14px 0 26px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(120deg, #ffe4ff, #ffe1e1); box-shadow: inset 0 0 0 1.5px #111827; }
.f-loc-k { margin: 0; font: 600 13px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #374151; }
.f-loc-prix { margin: 4px 0 6px; font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.f-loc-d { margin: 0 0 14px; color: #374151; max-width: 60ch; }
.f-loc p:last-child { margin: 0; }
.pill.loc { background: #fde7fd; color: #111827; box-shadow: inset 0 0 0 1px #111827; font-weight: 700; }

/* refonte des fiches (14 novembre) : une seule largeur, un menu de page collé sous la barre, le soulignement rose
   réservé à l'accroche, les titres à gauche du contenu quand la place le permet, les prix en deux cartes */
.fiche h2 strong { background: none; }
.fiche section { padding: 48px 0; }
.f-tete { margin-bottom: 22px; }
.f-tete .f-chapeau { margin-bottom: 0; }
.f-nav { position: sticky; top: var(--bar); z-index: 20; display: flex; align-items: center; gap: 16px; margin: 0 calc(-1 * var(--pad, 0px)); padding: 10px var(--pad, 0px); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--fil); border-bottom: 1px solid var(--fil); }
.f-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; flex: 1; }
.f-nav ul::-webkit-scrollbar { display: none; }
.f-nav a:not(.cta) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink2); text-decoration: none; white-space: nowrap; }
.f-nav a:not(.cta):hover, .f-nav a[aria-current] { background: #f3f4f6; color: var(--ink); }
.f-nav .cta { flex: none; min-height: 40px; padding: 0 16px; font-size: 15px; }
.fiche .f-nav + section { border-top: 0; }
/* le constat : les citations en une rangée, avant et après dessous */
.f-constat .f-points { margin-bottom: 14px; }
.f-constat .avap { margin-top: 0; }
/* les logiciels, en une rangée sous le fonctionnement */
.f-branche { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--fil); }
.f-branche h3 { margin: 0 0 10px; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.f-branche dl { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
/* ce qui tourne vraiment en production, sous la liste des logiciels possibles */
.f-prod { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--fil); font-size: 15px; line-height: 1.5; color: var(--ink); }
.f-branche dl > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.f-branche dt { font-weight: 600; font-size: 15px; }
.f-branche dd { margin: 0; }
.f-branche .chips { margin: 0; }
.f-branche .chips li { background: #fff; box-shadow: inset 0 0 0 1px var(--fil); font-size: 14px; }
/* le cadre : toutes les limites dans la première carte, les bornes dessous */
.f-cadre2 { margin-top: 0; }
.f-cadre2 .jamais { background: #fff; }
.f-cadre2 .toujours { background: var(--bg); }
.f-cadre .f-bornes { max-width: none; margin-top: 16px; font-size: 15.5px; }
/* les prix : louer et acheter côte à côte, à la même hauteur */
.f-offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.f-offres .f-loc { max-width: none; margin: 0; display: flex; flex-direction: column; }
.f-offres .f-loc p:last-child { margin-top: auto; }
.f-achat { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--fil); background: #fff; }
.f-achat .prix div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 9px 0; font-size: 15.5px; }
.f-achat .prix div:first-child { border-top: 0; }
.f-achat .prix dd span { font-size: 14.5px; }
.f-achat .note { margin: 10px 0 0; font-size: 14px; color: var(--ink3); }
.f-demarre-t { margin: 30px 0 12px; font-size: 19px; }
/* les questions : le titre à gauche, les réponses à droite */
@media (min-width: 960px) {
  .f-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 48px; align-items: start; }
  .f-faq .f-tete { position: sticky; top: calc(var(--bar) + 80px); }
  .f-faq details { max-width: none; }
}
@media (max-width: 759px) {
  .fiche section { padding: 34px 0; }
  .f-nav { margin: 0 -16px; padding: 8px 16px; gap: 10px; }
  .f-nav .cta { display: none; }
  .f-offres { grid-template-columns: 1fr; }
  .f-branche dl, .f-branche dl > div { display: block; }
  .f-branche dt { margin: 8px 0 6px; }
}
.f-loc .prix { margin: 6px 0 12px; }
.f-loc .prix div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 9px 0; border-color: rgba(17, 24, 39, .14); font-size: 15.5px; }
.f-loc .prix div:first-child { border-top: 0; }
.f-loc .prix dd span { font-size: 14.5px; color: #374151; }
.f-cadre .jamais ul { columns: 2 280px; column-gap: 28px; }
.f-cadre .jamais li { break-inside: avoid; }
.f-cadre2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.fiche { grid-template-columns: minmax(0, 1fr); }
.f-nav, .f-nav ul { min-width: 0; }
@media (max-width: 640px) { .f-loc .prix div, .f-achat .prix div { grid-template-columns: 1fr; } }

/* les guides (14 novembre) : la page qui les liste, et un article par page, le sommaire collé à droite */
.g-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px 22px; margin: 8px 0 0; padding: 0; list-style: none; }
.g-liste a { display: grid; align-content: start; gap: 6px; height: 100%; color: inherit; text-decoration: none; }
.g-liste img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 1px #e5e7eb; }
.g-liste .g-date { margin-top: 6px; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.g-liste .t { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.g-liste a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.g-liste .g-chapo { font-size: 16px; line-height: 1.5; color: var(--ink2); }
.g-kiosque { margin-top: 44px; }
.g-kiosque h2 { margin: 0 0 14px; }
.guide { --fil: #e5e7eb; display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 56px; align-items: start; margin-top: 8px; }
.guide > * { grid-column: 1; min-width: 0; }
.guide > .g-toc { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: calc(var(--bar) + 24px); }
.g-meta { margin: 0 0 14px; font: 500 14px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--ink3); }
.g-image { margin: 0 0 28px; }
.g-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: var(--bg); }
.g-bref { margin: 0 0 34px; padding: 20px 24px; border-radius: 18px; background: linear-gradient(120deg, #ffe4ff, #ffe1e1); box-shadow: inset 0 0 0 1.5px #111827; }
.g-bref h2, .g-toc h2 { margin: 0 0 10px; font: 600 13px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.g-bref ul { margin: 0; padding-left: 1.2em; }
.g-bref li { margin: 6px 0; font-size: 17px; line-height: 1.5; }
.g-toc { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--fil); background: #fff; }
.g-toc h2 { color: var(--ink3); }
.g-toc ol { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; }
.g-toc li { font-size: 15px; line-height: 1.4; color: var(--ink3); }
.g-toc a { color: var(--ink2); text-decoration: none; }
.g-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.guide > section { margin: 0 0 36px; }
.guide > section > h2 { margin: 0 0 12px; font-size: clamp(23px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; scroll-margin-top: calc(var(--bar) + 16px); }
.guide > section { scroll-margin-top: calc(var(--bar) + 16px); }
.guide section h3 { margin: 22px 0 8px; font-size: 19px; }
.guide section p, .guide section li { font-size: 17.5px; line-height: 1.65; }
.guide section p { margin: 0 0 14px; }
.guide section a { text-underline-offset: 3px; }
.guide .points { margin: 0 0 16px; }
.g-note { padding: 12px 16px; border-left: 3px solid var(--rose); background: var(--bg); border-radius: 0 10px 10px 0; }
.guide section .g-note { font-size: 16.5px; }
.g-etapes { margin: 0 0 16px; padding-left: 1.3em; }
.g-etapes li { margin: 6px 0; }
.g-table { overflow-x: auto; margin: 6px 0 18px; border: 1px solid var(--fil); border-radius: 14px; }
.g-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.g-table caption { padding: 12px 14px 4px; text-align: left; font-weight: 600; caption-side: top; }
.g-table th, .g-table td { padding: 10px 14px; border-top: 1px solid var(--fil); text-align: left; vertical-align: top; }
.g-table thead th { border-top: 0; background: var(--bg); font: 600 12.5px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.g-table tbody th { font-weight: 600; }
.g-faq details { border-top: 1px solid var(--fil); }
.g-faq details:last-of-type { border-bottom: 1px solid var(--fil); }
.g-faq summary { position: relative; padding: 15px 36px 15px 0; font-weight: 600; font-size: 18px; list-style: none; cursor: pointer; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font: 400 24px/1 Inter, sans-serif; color: var(--ink3); transition: rotate .15s ease; }
.g-faq details[open] summary::after { rotate: 45deg; }
.g-faq details p { margin: 0 0 16px; color: var(--ink2); }
.g-liens ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.g-liens a { display: grid; align-content: start; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--fil); color: inherit; text-decoration: none; }
.g-liens a:hover { border-color: #111827; }
.g-liens b { font-size: 16.5px; }
.g-liens span { font-size: 15px; line-height: 1.45; color: var(--ink2); }
.g-sources ol { margin: 0; padding-left: 1.3em; }
.guide .g-sources li { margin: 4px 0; font-size: 15px; line-height: 1.5; color: var(--ink2); overflow-wrap: anywhere; }
@media (max-width: 999px) {
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide > .g-toc { grid-column: 1; grid-row: auto; position: static; margin: 0 0 32px; }
}
@media (max-width: 640px) {
  .guide section p, .guide section li { font-size: 17px; }
  .g-bref { padding: 16px 18px; }
}

/* les cartes de la bibliothèque (refaites le 15 novembre) : le portrait et le nom côte à côte, une ligne de pastilles,
   un seul bouton « Louer cet agent » avec le prix à côté ; toute la carte mène à la fiche */
.ag { position: relative; gap: 0; }
.ag-h { display: flex; align-items: center; gap: 14px; }
.ag-ph { position: relative; flex: none; }
.ag-ph img { display: block; width: 72px; height: 72px; border-radius: 50%; background: #eef3e6; }
.ag-ph .drapeau { position: absolute; right: -2px; bottom: 2px; border-radius: 3px; box-shadow: 0 0 0 2px #fff; }
.ag .ag-t { display: block; margin: 0; min-width: 0; }
.ag h2 { font-size: 21px; }
.ag h2 a.ag-n { color: inherit; text-decoration: none; }
.ag h2 a.ag-n::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.ag:hover { border-color: #9ca3af; }
.ag:hover h2 a.ag-n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ag .ag-m { margin-top: 1px; font-size: 13.5px; }
.ag .ag-s { margin-top: 12px; }
.ag .ag-b { position: relative; z-index: 1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 14px; }
.ag-louer { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.ag-louer:hover { background: #374151; }
.ag-prix { font-size: 14px; color: var(--ink3); text-decoration: none; }
.ag-prix:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ag-cas { flex-basis: 100%; font-size: 14px; color: var(--ink2); text-underline-offset: 3px; }

/* ---------- lot 1 de la revue de design (15 novembre 2026) ---------- */
/* l'action de la page, sous le chapô : un bouton plein, le prix « dès … » à côté, en petit, jamais dans le bouton */
.t-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 30px; }
.t-action .t-prix { font-size: 15px; color: var(--ink3); font-variant-numeric: tabular-nums; }

/* sur ordinateur, les sections des pages de métier, de réalisation et de cas d'usage : le titre à gauche, qui reste en
   vue pendant la lecture, le contenu à droite sur toute la largeur qui reste (comme les questions d'une fiche d'agent) */
@media (min-width: 1000px) {
  main.large > section:is(:not([class]), .tarifs, .work):has(> h2:first-child) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 48px; align-items: start; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
  main.large > section:is(:not([class]), .tarifs, .work):has(> h2:first-child) > * { grid-column: 2; min-width: 0; }
  main.large > section:is(:not([class]), .tarifs, .work):has(> h2:first-child) > h2:first-child { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: calc(var(--bar) + 24px); margin: 0; }
  main.large > section:is(:not([class]), .tarifs, .work):has(> h2:first-child) > h2:first-child + * { margin-top: 0; }
  main.large > section:is(:not([class]), .tarifs, .work):has(> h2:first-child) > :is(.points, .tech, .prix, .stack, table, .tiles) { max-width: none; }
  /* les tuiles de chiffres dans la colonne de droite : 2 × 2 pour quatre, 3 par rangée pour trois ou six */
  main.large > section > .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.large > section > .tiles:has(> li:nth-child(3n):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* un seul gabarit de carte : rayon 14 px, marge intérieure 16 px, gouttière 16 px, titre de 20 px souligné au survol
   seulement, toute la carte cliquable */
.floors, .cards, .tiles { gap: 16px; }
.thumbs, .g-liste { gap: 28px 16px; }
.fl, .cards a, .tiles li { padding: 16px; border-radius: 14px; }
.fl > a::after, .tiles li > a::after { border-radius: 14px; }
.thumbs a, .thumbs img, .thumbs .sans-ecran { border-radius: 14px; }
.fl > a .t { text-decoration: none; }
.fl:has(> a):hover > a .t, .cards a:hover .t, .thumbs a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.cards .t { font-size: 20px; }
.fl.avec-portrait { padding-left: 96px; }
.fl .portrait { left: 16px; top: 16px; }
/* la carte vedette : la première, sur toute la largeur, quand leur nombre est impair (pas de case vide en bas) */
.fl.vedette { grid-column: 1 / -1; }
.fl.vedette > a .t { font-size: 24px; }
.fl.vedette p:last-child { max-width: 900px; }
@media (max-width: 759px) { .fl.vedette .suite, .g-liste .suite { display: none; } }

/* les guides : 3 colonnes sur ordinateur, 2 sur tablette ; la première carte s'élargit plutôt qu'une case vide, avec
   l'image à gauche et le texte à droite */
.g-liste .g-txt { display: grid; align-content: start; gap: 6px; }
@media (min-width: 600px) {
  .g-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 999px) {
  .g-liste > .v2-plein { grid-column: 1 / -1; }
  .g-liste > .v2-plein a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .g-liste > .v2-plein .t { font-size: 24px; }
}
@media (min-width: 1000px) {
  .g-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-liste > .v3-plein { grid-column: 1 / -1; }
  .g-liste > .v3-2 { grid-column: span 2; }
  .g-liste > :is(.v3-plein, .v3-2) a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 28px; align-items: center; }
  .g-liste > :is(.v3-plein, .v3-2) .t { font-size: 26px; }
}

/* le téléphone pour l'appel, sous le créneau choisi */
.form .f-tel { display: grid; gap: 6px; margin-top: 12px; }
.form .f-tel[hidden] { display: none; }

/* ===== La fiche d'un agent, nouveau design (Paul, 16 novembre ; maquette Claude Design « Fiche agent IA, nouvelle
   présentation ») : l'accroche en chasse fixe sur le dégradé, la carte d'identité en regard, l'agent en quatre chiffres
   sur fond d'encre, des parties numérotées, les étapes de l'agent en rose et celles de votre équipe en encre, le cadre en
   sombre, la location au filet dégradé. Ces règles passent après celles de la fiche et les remplacent. ===== */
.fiche { counter-reset: f-partie; }
.fiche section { padding: 56px 0; }
.fiche .f-tete .eyebrow { margin: 0 0 10px; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.fiche .f-tete .eyebrow::before { counter-increment: f-partie; content: counter(f-partie, decimal-leading-zero) " · "; }
.fiche h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.fiche h2 strong { background: var(--grad) no-repeat 0 94% / 100% .16em; }
.fiche .f-chapeau { font-size: 18px; }

/* l'accroche : la promesse en chasse fixe, le mot clé sur le dégradé, comme « rock the podium » à l'accueil */
.fiche .f-hero { padding-top: 12px; gap: 48px; align-items: start; }
.fiche .f-accroche { max-width: 17em; margin: 0 0 18px; font: 700 clamp(28px, 3.3vw, 46px)/1.08 "JetBrains Mono", ui-monospace, monospace; letter-spacing: -.05em; }
.fiche .f-accroche strong { padding: 0 .18em .04em; border-radius: .16em; background: var(--grad); color: #000; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fiche .f-statut { gap: 8px; margin-bottom: 20px; }
.fiche .f-statut .pill { padding: 4px 12px; font-size: 14px; }
.fiche .f-puces li { border-color: var(--line); }
.fiche .f-cta .cta { min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 17px; font-weight: 700; }
.fiche .f-cta .cta.ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }
.fiche .f-cta .more { font-weight: 600; }

/* la carte d'identité : un bandeau d'encre, un filet dégradé, la photo sur fond rose, une trame discrète */
.fiche .carte-id { transform: rotate(-2deg); transform-origin: 50% 40%; }
.fiche .cid-face { border-radius: 22px; background-color: #fff; background-image: repeating-radial-gradient(circle at 100% 0, rgba(214, 51, 132, .05) 0 1px, transparent 1px 10px); box-shadow: 0 0 0 1px #e5e7eb, 0 30px 70px -24px rgba(17, 24, 39, .35); }
.fiche .cid-tete { padding: 13px 18px; border-bottom: 5px solid transparent; border-image: var(--grad) 1; font-size: 11.5px; }
.fiche .cid-corps { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; padding: 18px 18px 8px; }
.fiche .cid-photo { width: 116px; height: 140px; border-radius: 14px; background: #fde7fd; box-shadow: inset 0 0 0 1px #f9cdf3; object-fit: contain; object-position: 50% 100%; }
.fiche .cid-champs dd { font-size: 14px; font-weight: 700; }
.fiche .cid-champs div:first-child dd { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.fiche .cid-chips li { background: #fff3fe; box-shadow: inset 0 0 0 1px #f9cdf3; }
.fiche .cid-mrz { background: #f3f4f6; border-top: 1px solid #e5e7eb; }
.fiche .cid-tourner { min-height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; }
@media (max-width: 900px) { .fiche .carte-id { transform: none; } }

/* l'agent en quatre chiffres : un bandeau d'encre, les chiffres en chasse fixe */
.f-chiffres { margin: 0 calc(-1 * var(--pad)) !important; padding: 40px var(--pad) 36px !important; border-radius: 22px; border-top: 0 !important; background: #111827; color: #fff; }
.f-chiffres h2 { margin: 0 0 22px !important; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace !important; letter-spacing: .12em !important; text-transform: uppercase; color: #ff9dff; }
.f-ch { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px 0; }
.f-ch > div { padding: 0 24px; border-left: 1px solid #374151; }
.f-ch > div:first-child { padding-left: 0; border-left: 0; }
.f-ch-v { margin: 0; font: 700 clamp(36px, 4vw, 52px)/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: -.05em; }
.f-ch-l { margin: 10px 0 0; font-size: 16px; line-height: 1.4; color: #e5e7eb; }
.f-ch-d { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: #9ca3af; }
@media (max-width: 639px) { .f-ch { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-ch > div { padding: 0 14px; } .f-ch > div:nth-child(odd) { padding-left: 0; border-left: 0; } .f-ch-v { font-size: 30px; white-space: nowrap; } .f-ch-l { font-size: 15px; } }

/* la démo : l'affiche en grand, le bouton de lecture au dégradé */
.fiche .f-affiche { max-width: none; border-radius: 20px; box-shadow: 0 2px 4px rgba(17, 24, 39, .06), 0 24px 60px rgba(17, 24, 39, .16); }
.fiche .f-play { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--grad); box-shadow: 0 10px 30px rgba(17, 24, 39, .3); }
.fiche .f-play svg { fill: #111827; }
.fiche .f-demo-cta .cta { min-height: 48px; border-radius: 12px; font-weight: 700; }
.fiche .f-ecrans img { border-radius: 14px; }

/* le circuit : la tête reste lisible sur la toile sombre */
.fiche .f-flux .f-tete .eyebrow { color: #ff9dff; }
.fiche .f-flux h2 { color: #fff; }
.fiche .f-flux .flux-l { display: inline-block; margin-top: 22px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; }

/* le constat : des cartes numérotées, la citation en chasse fixe ; puis avant (gris) et après (filet dégradé) */
.fiche .f-points { counter-reset: f-point; gap: 16px; }
.fiche .f-points li { padding: 24px; border-radius: 18px; }
.fiche .f-points li::before { counter-increment: f-point; content: counter(f-point, decimal-leading-zero); display: block; margin-bottom: 16px; font: 700 40px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: -.05em; color: #e5e7eb; }
.fiche .f-points h3 { font-size: 20px; font-weight: 800; }
.fiche .avap { gap: 16px; margin-top: 28px; }
.fiche .avap > div { padding: 26px; border-radius: 20px; }
.fiche .avap .av { background: #f3f4f6; border-color: #f3f4f6; }
.fiche .avap .ap { border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; color: var(--ink); }
.fiche .avap h3 small { font-size: 22px; font-weight: 800; }
.fiche .avap .ap h3 { color: var(--rose); }
.fiche .avap .ap h3 small { color: var(--ink); }
.fiche .avap h3 { flex-direction: column; align-items: flex-start; gap: 6px; }
.fiche .avap ol { list-style: none; padding: 0; gap: 12px; }
.fiche .avap li { position: relative; padding-left: 30px; }
.fiche .avap li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.fiche .avap .av li::before { content: "✕"; color: #6b7280; }
.fiche .avap .ap li::before { content: "✓"; color: #16a34a; }

/* le fonctionnement : les étapes de l'agent en rose, celles de votre équipe en encre */
.fiche .f-etapes { gap: 12px; }
.fiche .f-etapes li { padding: 22px; border-radius: 18px; }
.fiche .f-etapes li.qui-agent { background: #fff3fe; border-color: #f9cdf3; }
.fiche .f-etapes li.qui-equipe { background: #111827; border-color: #111827; color: #fff; }
.fiche .f-etapes li.qui-equipe p { color: #d1d5db; }
.fiche .f-etapes li.qui-equipe .n { color: #ff9dff; }
.fiche .f-etapes .qui { margin-top: 0; float: right; padding: 0; background: none !important; font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #4a0d4a; }
.fiche .f-etapes li.qui-equipe .qui { color: #ff9dff; }
.fiche .f-etapes h3 { margin-top: 18px; font-size: 22px; font-weight: 800; clear: both; }
.fiche .f-branche { margin-top: 32px; padding: 26px 28px; background: #fff; border-radius: 20px; }
.fiche .f-prod { margin-top: 18px; padding: 14px 16px 14px 44px; border: 0; border-radius: 12px; background: #f0fdf4; color: #14532d; position: relative; }
.fiche .f-prod::before { content: "✓"; position: absolute; left: 18px; top: 13px; font-weight: 800; color: #16a34a; }

/* les chantiers : l'exemple dans un encart rose */
.fiche .f-cartes { gap: 16px; }
.fiche .f-cartes li { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; }
.fiche .f-cartes h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.fiche .f-cartes .ex { margin-top: 20px; padding: 16px; border: 1px solid #f9cdf3; border-radius: 14px; background: #fff3fe; color: var(--ink); }
.fiche .f-cartes .ex b { display: block; margin-bottom: 4px; font: 500 12px/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #4a0d4a; }

/* le cadre, en sombre : ce qu'il ne fera jamais sur l'encre, ce qui est toujours vrai sur le blanc */
.fiche .f-cadre { margin: 0 calc(-1 * var(--pad)); padding: 48px var(--pad); border-radius: 22px; border-top: 0; background: #111827; color: #fff; }
.fiche .f-cadre + section { border-top: 0; }
.fiche .f-cadre .f-tete .eyebrow { color: #ff9dff; }
.fiche .f-cadre h2 { color: #fff; }
.fiche .f-cadre h2 strong { padding: 0 .18em .04em; border-radius: .16em; background: var(--grad); color: #000; }
.fiche .f-cadre2 { gap: 16px; margin-top: 28px; }
.fiche .f-cadre2 > div { padding: 28px; border-radius: 20px; }
.fiche .f-cadre2 .jamais { background: #1f2937; border-color: #374151; color: #e5e7eb; }
.fiche .f-cadre2 .jamais h3 { color: #fff; }
.fiche .f-cadre2 .jamais ul { list-style: none; padding: 0; }
.fiche .f-cadre2 .jamais li { position: relative; margin: 10px 0; padding-left: 30px; }
.fiche .f-cadre2 .jamais li::before { content: "⊘"; position: absolute; left: 0; top: -1px; font-size: 19px; line-height: 1.3; color: #ff6b6b; }
.fiche .f-cadre .f-bornes { padding: 16px 0 0; border: 0; border-top: 1px solid #374151; border-radius: 0; background: none; color: #d1d5db; }
.fiche .f-cadre .f-bornes b { color: #fff; }
.fiche .f-cadre2 .toujours { background: #fff; border-color: #fff; color: var(--ink); }
.fiche .f-cadre2 .toujours dl > div { position: relative; padding-left: 30px; }
.fiche .f-cadre2 .toujours dl > div::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: #16a34a; }

/* les prix : la location au filet dégradé, le prix en grand ; l'achat sur fond gris ; le démarrage en frise */
.fiche .f-offres .f-loc { padding: 32px; border: 3px solid transparent; border-radius: 24px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: none; }
.fiche .f-loc-prix { margin: 10px 0 12px; font: 700 clamp(36px, 4.4vw, 56px)/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: -.05em; }
.fiche .f-offres .f-loc .cta { min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 17px; font-weight: 700; }
.fiche .f-achat { padding: 32px; border-radius: 24px; background: var(--bg); }
.fiche .f-demarre-t { margin-top: 48px; font-size: 24px; font-weight: 800; }
.fiche .f-etapes2 { gap: 0; border-top: 2px solid var(--ink); }
.fiche .f-etapes2 li { padding: 20px 24px 8px 0; border: 0; border-radius: 0; background: none; }
.fiche .f-etapes2 .n { color: var(--rose); }
.fiche .f-etapes2 h3 { font-size: 20px; font-weight: 800; }

/* les questions : des cartes blanches qui s'ouvrent */
.fiche .f-faq .f-q { display: grid; gap: 10px; }
.fiche .f-faq details { border: 1px solid var(--fil); border-radius: 16px; background: #fff; }
.fiche .f-faq details:last-of-type { border-bottom: 1px solid var(--fil); }
.fiche .f-faq summary { min-height: 44px; padding: 18px 52px 18px 22px; }
.fiche .f-faq summary::after { right: 22px; }
.fiche .f-faq details p { padding: 0 22px 20px; }
@media (max-width: 759px) {
  .fiche section { padding: 40px 0; }
  .fiche .f-cadre, .f-chiffres { margin: 0 !important; border-radius: 18px; padding: 30px 18px !important; }
  .fiche .f-cadre2 > div, .fiche .f-offres .f-loc, .fiche .f-achat { padding: 22px; }
  .fiche .f-cadre2, .fiche .f-offres { grid-template-columns: 1fr; }
  .fiche .f-cadre2 .jamais ul { columns: 1; }
}

/* le Pavillon des démos : une carte par agent, la maquette d'abord, la vidéo ensuite */
.demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin: 20px 0; padding: 0; list-style: none; }
.demos li { display: flex; gap: 18px; padding: 22px; border: 1px solid #f9cdf3; border-radius: 18px; background: #fff3fe; }
.demos img { flex: none; width: 96px; height: 96px; border-radius: 16px; background: #fff; }
.demos h2, .demos h3 { margin: 0; font-size: 24px; }
.demos p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 12px 0 0; }
.demos .more { display: inline-flex; align-items: center; min-height: 44px; }
