/* ==========================================================================
   JARVIS Private Systems — la feuille de style du site.
   La tenue d'Apple et de Tesla (docs/SITE.md, section 4) : noir pur, blanc, beaucoup d'espace, de gros
   titres blancs, l'or en petit accent, deux sortes de boutons, un seul mouvement. Rien n'est fixé à
   l'écran sauf l'en-tête (et la barre de sections des pages longues). Refaite d'un seul tenant le
   29 novembre 2026 : elle remplace toutes les couches précédentes.
   ========================================================================== */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono/geist-mono-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons ----------
   Noir pur et blanc; l'or, un petit accent (docs/SITE.md, section 4). Les trois modes (Base, Signature,
   Platinum, au pied de page) ne changent que la teinte de l'accent et des verres. */
:root {
  --night: #000;
  --ink: #f5f5f7;
  --dim: #a1a1a6;
  --mute: #86868b;
  --light: #f5f5f7;
  --light-ink: #1d1d1f;
  --light-dim: #6e6e73;
  --surface: #161617;
  --edge: #ffffff1f;
  --sans: "Geist", "Inter", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar-h: 52px;
  --radius: 18px;
  --mode-action: #f5f5f7;
  --mode-on-action: #000;
  --mode-action-edge: none;
  --mode-panel: #161617;
  --mode-panel-solid: #161617;
  --mode-spec: inset 0 0 0 0 transparent;
  --mode-line: #ffffff1f;
}
:root, :root[data-mode="signature"] {
  --gold: #c9a35c;
  --gold-soft: #e3c48d;
  --gold-deep: #8a6a32;
  --mode-glow: #c9a35c;
  --mode-display: linear-gradient(110deg, #f5e3b9, #e7c888 55%, #cfaa65);
  --mode-rim-filter: none;
}
:root[data-mode="platinum"] {
  --gold: #dfe1e8;
  --gold-soft: #eceef3;
  --gold-deep: #6e7079;
  --mode-glow: #e2e4ec;
  --mode-display: linear-gradient(100deg, #fff, #d6d8df 55%, #f3f4f7);
  --mode-rim-filter: none;
}
:root[data-mode="base"] {
  --gold: #c8c8cc;
  --gold-soft: #d8d8dc;
  --gold-deep: #6e6e73;
  --mode-glow: #8a8a8a;
  --mode-display: linear-gradient(100deg, #fff, #b8b8bd);
  --mode-rim-filter: none;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); scroll-padding-top: var(--bar-h); }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
/* La seconde moitié d'un titre : en gris, jamais en dégradé doré (docs/SITE.md, section 4) */
h1 em, h2 em, h3 em { font-style: normal; color: var(--gold-soft); }
p { text-wrap: pretty; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 500; background: var(--ink); color: var(--night); padding: .8rem 1.2rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- En-tête : une ligne fine, seule chose fixée à l'écran ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--bar-h);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0 max(1.4rem, calc((100vw - 76rem) / 2));
  background: #000000b8; -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid #ffffff14;
}
.bar-brand { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.bar-brand span { font-weight: 400; color: #a1a1a6; }
.bar-nav { display: flex; align-items: stretch; align-self: stretch; gap: 2rem; }
.bar-nav > .bar-dd > a { display: flex; align-items: center; font: 400 .8rem/1 var(--sans); color: #d2d2d7; text-decoration: none; }
.bar-nav > .bar-dd > a:hover, .bar-nav > .bar-dd > a[aria-current] { color: #fff; }
.bar-actions { display: flex; align-items: center; gap: 1.1rem; }
/* « Demander à JARVIS » : la seule place de JARVIS (docs/SITE.md, section 1) */
.bar-ia { display: inline-flex; align-items: center; gap: .55rem; font: 400 .8rem/1 var(--sans); color: #d2d2d7; text-decoration: none; white-space: nowrap; }
.bar-ia:hover { color: #fff; }
.bar-ia i { width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--gold-soft) 40%, color-mix(in srgb, var(--gold) 55%, #000) 100%);
  box-shadow: 0 0 12px color-mix(in srgb, var(--gold-soft) 60%, transparent); animation: barIa 3.2s ease-in-out infinite; }
@keyframes barIa { 50% { box-shadow: 0 0 4px color-mix(in srgb, var(--gold-soft) 30%, transparent); transform: scale(.86); } }
.bar-ia.is-suite { color: var(--gold-soft); }
.bar-cta { display: inline-flex; align-items: center; gap: .4rem; height: 30px; padding: 0 .95rem; border-radius: 999px; background: #f5f5f7; color: #000;
  font: 500 .78rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .25s; }
.bar-cta:hover { background: #fff; }
.bar-cta b { font-weight: 600; }
.bar-menu { display: none; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.bar-menu span { width: 18px; height: 1.5px; background: #fff; display: block; transition: transform .3s; }
body.menu-open .bar-menu span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .bar-menu span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Le panneau d'une entrée du menu, toute la largeur : les noms en grand, une petite colonne à côté */
.bar-dd { position: static; display: flex; align-items: center; gap: .15rem; }
.bar-dd-t { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 0; background: none; color: #a1a1a6; cursor: pointer; }
.bar-dd-t svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.bar-dd.is-open .bar-dd-t svg { transform: rotate(180deg); }
.mega.fly { position: absolute; top: 100%; left: 0; right: 0; padding: 2.4rem max(1.4rem, calc((100vw - 76rem) / 2)) 3rem;
  background: #0b0b0c; border-bottom: 1px solid #ffffff14; box-shadow: 0 40px 60px #000b;
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; z-index: 95; }
.bar-dd.is-open .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
@media (hover: hover) { .bar-dd:hover .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); } }
.fly-in { display: flex; flex-wrap: wrap; gap: 2rem 4.5rem; }
.fly-col { display: grid; align-content: start; gap: .15rem; min-width: 11rem; }
.fly-cote { margin-left: auto; }
.fly-k { margin: 0 0 .8rem; font: 400 .75rem/1.2 var(--sans); color: var(--mute); }
.fly-p + .fly-k { margin-top: 1.6rem; }
.fly-g { display: block; padding: .2rem 0; font: 600 1.4rem/1.3 var(--sans); letter-spacing: -.02em; color: #e8e8ed; text-decoration: none; }
.fly-p { display: block; padding: .2rem 0; font: 500 .82rem/1.5 var(--sans); color: #e8e8ed; text-decoration: none; }
.fly-g:hover, .fly-p:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

/* Menu de téléphone : plein écran, sous la barre */
.sheet { position: fixed; inset: var(--bar-h) 0 0; z-index: 80; background: #000; display: none; overflow-y: auto; overscroll-behavior: contain; padding: 1.6rem 1.6rem 3rem; }
body.menu-open .sheet { display: block; }
body.menu-open { overflow: hidden; }
.sheet-in { display: flex; flex-direction: column; max-width: 34rem; margin: 0 auto; }
.sheet .sheet-main { font: 600 1.75rem/1.3 var(--sans); letter-spacing: -.025em; color: var(--ink); text-decoration: none; padding: .35rem 0; }
.sheet a[aria-current] { color: var(--gold-soft); }
.sheet-exts { display: grid; margin: 0 0 1rem; }
.sheet-l { display: block; padding: .4rem 0; color: #a1a1a6; text-decoration: none; font: 400 1rem/1.3 var(--sans); }
.sheet .sheet-cta { margin-top: 1.4rem; align-self: flex-start; display: inline-flex; gap: .4rem; text-decoration: none; font: 500 1rem/1 var(--sans);
  background: #f5f5f7; color: #000; border-radius: 999px; padding: .95rem 1.6rem; }
.sheet .sheet-lang { margin-top: 1.4rem; font-size: 1rem; color: var(--mute); text-decoration: none; }

/* Barre de sections, sous l'en-tête, sur les pages longues (partials.toc) */
.toc { position: sticky; top: var(--bar-h); z-index: 70; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: 0 max(1.4rem, calc((100% - 76rem) / 2)); background: #000000cc; -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid #ffffff14; }
html:has(.toc) { scroll-padding-top: calc(var(--bar-h) + 48px); }
.toc-in { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.toc-in::-webkit-scrollbar { display: none; }
.toc-in.is-scroll { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.toc-in a { flex: none; padding: .9rem 0; font: 400 .8rem/1 var(--sans); color: #a1a1a6; text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; }
.toc-in a:hover { color: #fff; }
.toc-in a.is-on { color: #fff; border-bottom-color: #fff; }
.toc-cta { flex: none; height: 28px; display: inline-flex; align-items: center; padding: 0 .9rem; border-radius: 999px; background: #f5f5f7; color: #000;
  font: 500 .75rem/1 var(--sans); text-decoration: none; white-space: nowrap; }

/* ---------- Boutons : deux sortes seulement ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.6rem; border: 0; border-radius: 999px;
  background: #f5f5f7; color: #000; font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .25s, transform .3s var(--ease); }
.pill:hover { background: #fff; transform: translateY(-1px); }
.pill.ghost { background: #ffffff24; color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pill.ghost:hover { background: #ffffff3a; }
.ap-lien { color: var(--gold-soft); font-size: 1.06rem; text-decoration: none; }
.ap-lien:hover { text-decoration: underline; text-underline-offset: .2em; }
.acts { margin-top: 2rem; display: flex; gap: 1rem 1.6rem; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- L'ouverture d'une page : la photo plein écran, le texte en haut, lisible ---------- */
.band { position: relative; overflow: hidden; }
.band.top { min-height: 100svh; display: flex; flex-direction: column; }
.band .bg { position: absolute; inset: 0; }
.band .bg img { width: 100%; height: 100%; object-fit: cover; }
.band .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #000000f0 0%, #000000c4 36%, #00000052 60%, #0000 72%, #000 100%); }
.band-inner { position: relative; z-index: 2; width: 100%; max-width: 64rem; margin: 0 auto; padding: calc(var(--bar-h) + 11vh) 1.4rem 4rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; }
.band h1 { margin: 0; max-width: 15ch; font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -.045em; line-height: 1.03; }
.band h1 em { font-style: normal; color: var(--gold-soft); }
.ap-nom { display: block; margin: 0 0 .9rem; font: 600 clamp(.95rem, 1.4vw, 1.1rem)/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.band .lead { margin: 1.2rem auto 0; max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: #e8e8ed; text-shadow: 0 1px 18px #000; }
.band .acts { margin-top: 1.8rem; }
.fil { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3rem .55rem; margin: 0 0 1.6rem; font: 400 .78rem/1.5 var(--sans); color: #a1a1a6; }
.fil a { color: #a1a1a6; text-decoration: none; }
.fil a:hover { color: #fff; }
.fil i { font-style: normal; color: #6e6e73; }
.fil span { color: #d2d2d7; }

/* ---------- Un écran : un grand titre, une phrase, son contenu ---------- */
.ap { position: relative; padding: clamp(6rem, 12vw, 10rem) 1.4rem; text-align: center; background: #000; }
.ap-h { margin: 0 auto; max-width: 18ch; font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.045em; line-height: 1.04; color: var(--ink); }
.ap-h em, .cta h2 span { font-style: normal; color: var(--gold-soft); }
.ap-l { margin: 1.3rem auto 0; max-width: 38rem; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--dim); }
.ap-suite { margin: 3rem 0 0; }
.ap-suite .ap-lien { display: inline-block; margin: .3rem .8rem; }  /* deux liens côte à côte restent séparés */
.ap-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; }
.ap sup, .ap-sup { font-size: max(.5em, .75rem); vertical-align: super; margin-left: .08em; }
.ap sup a, .ap-sup a { color: var(--mute); text-decoration: none; padding: .15em .25em; }
.ap-discret { font-size: .95rem !important; color: var(--mute) !important; }
.ap-bas { padding-block: 0 3rem; }
.ap-notes { max-width: 60rem; margin: 2.4rem auto 0; padding: 1.6rem 0 0 1.2rem; border-top: 1px solid var(--edge); text-align: left; color: var(--mute); font-size: .8rem; line-height: 1.6; }
.ap-notes a { color: inherit; }

/* Un écran clair, pour respirer : la preuve, le chiffre, la vie privée */
.ap-clair, .ap-preuve, .ap-chiffre { background: var(--light); color: var(--light-ink); }
:is(.ap-clair, .ap-preuve, .ap-chiffre) .ap-h { color: var(--light-ink); }
:is(.ap-clair, .ap-preuve, .ap-chiffre) .ap-h em { color: var(--gold-deep); }
:is(.ap-clair, .ap-preuve, .ap-chiffre) .ap-l { color: var(--light-dim); }
:is(.ap-clair, .ap-preuve, .ap-chiffre) .ap-lien { color: var(--gold-deep); }
.ap-clair .ap-tuile { background: #fff; }
.ap-clair .ap-tuile h3 { color: var(--light-ink); }
.ap-clair .ap-tuile p { color: var(--light-dim); }
.ap-clair .ap-n, .ap-chiffre .ap-n { background: linear-gradient(120deg, #1d1d1f 30%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is(.ap-clair, .ap-chiffre) .ap-nt { color: var(--light-ink); }
.ap-clair .ap-n sup, .ap-chiffre .ap-n sup { -webkit-text-fill-color: var(--light-dim); }
.ap-preuve .ap-nt { color: var(--light-dim); font-weight: 500; }

/* Tuiles sobres */
.ap-bento { max-width: 76rem; margin: 3.4rem auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.ap-bento-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-tuile { padding: 2.2rem 2rem 2.4rem; border-radius: 24px; background: var(--surface); }
.ap-tuile h3 { margin: 0 0 .6rem; font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.18; letter-spacing: -.03em; color: var(--ink); }
.ap-tuile p { margin: 0; color: var(--dim); font-size: 1rem; line-height: 1.5; }
.ap-tuile p a { color: var(--gold-soft); }
.ap-tuile-a { margin-top: 1.1rem !important; }

/* Grandes cartes photo; « ce que ça règle » */
.ap-photos, .ap-regle { max-width: 80rem; margin: 3.4rem auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); gap: 1rem; text-align: left; }
.ap-photos-1 { grid-template-columns: minmax(0, 46rem); justify-content: center; }
.ap-photos-4 { grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); }
/* Trois par rangée sur grand écran : la dernière rangée incomplète est centrée, jamais une carte seule à gauche. */
@media (min-width: 1200px) {
  .ap-regle { grid-template-columns: repeat(6, 1fr); }
  .ap-regle > * { grid-column: span 2; }
  .ap-regle > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .ap-regle > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}
.ap-ph, .ap-rgc { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--surface); color: var(--ink); text-decoration: none; }
.ap-ph img, .ap-rgc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
:is(a.ap-ph, a.ap-rgc):hover img { transform: scale(1.03); }
.ap-ph > div, .ap-rgc > div { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.ap-ph em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--gold-soft); }
.ap-ph h3 { margin: 0; font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.18; letter-spacing: -.03em; }
.ap-ph p { margin: 0; flex: 1; color: var(--dim); font-size: 1rem; line-height: 1.5; }
.ap-ph-a, .ap-rgc-a { margin-top: .4rem; color: var(--gold-soft); font-size: .98rem; }
.ap-rgc-p { margin: 0; color: var(--mute); font-size: .98rem; line-height: 1.45; }
.ap-rgc-s { margin: 0; flex: 1; font-weight: 600; font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.22; letter-spacing: -.03em; }
.ap-rgc-a.is-n { color: var(--mute); }
.ap-img { max-width: 80rem; margin: 3.4rem auto 0; overflow: hidden; border-radius: 24px; }
.ap-img img { width: 100%; height: auto; }

/* Listes côte à côte, étapes, fiche technique */
.ap-listes { max-width: 80rem; margin: 3.4rem auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 2.4rem 2rem; text-align: left; }
.ap-listes h3 { margin: 0 0 .9rem; padding-bottom: .8rem; border-bottom: 1px solid #ffffff24; font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.ap-listes ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.ap-listes li { color: var(--dim); line-height: 1.45; }
.ap-etapes { max-width: 72rem; margin: 3.4rem auto 0; padding: 0; list-style: none; counter-reset: ap-e;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 2.4rem; text-align: left; }
.ap-etapes li { counter-increment: ap-e; padding-top: 1.2rem; border-top: 1px solid var(--edge); }
.ap-etapes li::before { content: counter(ap-e); display: block; margin-bottom: .8rem; font-weight: 600; font-size: .95rem; color: var(--gold-soft); }
.ap-etapes h3 { margin: 0 0 .45rem; font-weight: 600; font-size: 1.3rem; letter-spacing: -.025em; }
.ap-etapes p { margin: 0; color: var(--dim); line-height: 1.5; }
.ap-spec { max-width: 64rem; margin: 3.4rem auto 0; text-align: left; overflow-x: auto; }
.ap-spec-r { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.4rem; min-width: 38rem; padding: 1rem 0; border-top: 1px solid var(--edge); }
.ap-spec-r span { font-size: .98rem; line-height: 1.4; color: #d2d2d7; }
.ap-spec-r span:first-child { color: var(--mute); }
.ap-spec-h { border-top: 0; }
.ap-spec-h span { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.ap-secteurs { max-width: 60rem; margin: 3rem auto 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; }
.ap-secteurs li { color: var(--dim); font-size: 1.05rem; }

/* Chiffres */
.ap-n { margin: 0; font-weight: 600; font-size: clamp(5rem, 15vw, 11rem); line-height: .95; letter-spacing: -.06em;
  background: var(--mode-display); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-n sup { -webkit-text-fill-color: var(--mute); }
.ap-nt { margin: 1.4rem auto 0; max-width: 26ch; font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.9rem); line-height: 1.25; letter-spacing: -.025em; color: var(--ink); }
.ap-deux { max-width: 68rem; margin: 3.4rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ap-deux .ap-n { font-size: clamp(3.6rem, 8vw, 6.5rem); }
.ap-deux .ap-nt { font-size: clamp(1.02rem, 1.5vw, 1.3rem); }
.ap-trois { grid-template-columns: repeat(3, 1fr); max-width: 76rem; }

/* Solutions : les trois divisions côte à côte */
.ap-divs { max-width: 84rem; margin: 3.4rem auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.ap-div { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--surface); }
.ap-div-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.ap-div-ph:hover img { transform: scale(1.03); }
.ap-div-in { display: flex; flex-direction: column; flex: 1; padding: 1.7rem 1.8rem 2rem; }
.ap-div h3 { margin: 0; font-weight: 600; font-size: clamp(1.6rem, 2.3vw, 2.1rem); letter-spacing: -.035em; }
.ap-div-l { margin: .45rem 0 0; font-weight: 500; font-size: 1.1rem; color: #d2d2d7; }
.ap-div-k { margin: 1.5rem 0 .6rem; font-size: .88rem; font-weight: 600; color: var(--mute); }
.ap-div ul { margin: 0 0 1.8rem; padding: 0; list-style: none; display: grid; gap: .6rem; flex: 1; }
.ap-div li { position: relative; padding-left: 1.2rem; color: var(--dim); line-height: 1.45; }
.ap-div li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); }
.ap-div p:last-child { margin: 0; }

/* Le manifeste, le mot du fondateur */
.ap-manif { max-width: 50rem; margin: 3.4rem auto 0; display: grid; gap: 1.3rem; }
.ap-manif p { margin: 0; font-weight: 600; font-size: clamp(1.3rem, 2.5vw, 2.1rem); line-height: 1.25; letter-spacing: -.025em; color: var(--mute); }
.ap-manif p.is-or { color: var(--ink); font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: -.04em; }
.ap-manif p:last-child { color: var(--ink); }
.ap-mot { max-width: 52rem; margin: 3.2rem auto 0; }
.ap-mot blockquote { margin: 0; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.22; letter-spacing: -.03em; }
.ap-mot figcaption { margin-top: 1.4rem; display: flex; justify-content: center; gap: .6rem; }
.ap-mot figcaption span { color: var(--mute); }

/* JARVIS Cyber : la carte complète */
.cy-plus { margin-top: 2.4rem; }
.cy-plus > summary { list-style: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.6rem; border-radius: 999px;
  background: #ffffff24; color: #fff; font-weight: 500; cursor: pointer; }
.cy-plus > summary::-webkit-details-marker { display: none; }
.cy-plus > summary:hover { background: #ffffff3a; }
.cy-plus[open] > summary { display: none; }
.cy-leg { max-width: 76rem; margin: 3.2rem auto 1.4rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .85rem; color: var(--dim); }
.cy-leg span { display: inline-flex; align-items: center; gap: .45rem; }
.cy-leg span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.cy-leg .is-offert::before { background: #f5f5f7; }
.cy-leg .is-bientot::before { background: #5a5a60; }
.cy-leg .is-spe::before { background: var(--gold-soft); }
.cy-carte { max-width: 76rem; margin: 0 auto; text-align: left; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.cy-d { padding: 1.8rem 1.8rem 1.5rem; border-radius: 24px; background: var(--surface); }
.cy-d h3 { margin: 0; font: 600 1.5rem/1.1 var(--sans); letter-spacing: -.035em; }
.cy-d > p { margin: .5rem 0 1.1rem; color: var(--dim); font-size: .95rem; line-height: 1.45; }
.cy-d ul { margin: 0; padding: 0; list-style: none; }
.cy-d li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-top: 1px solid #ffffff14; font-size: .95rem; line-height: 1.35; }
.cy-d li em { flex: none; font-style: normal; font-size: .75rem; }
.cy-d li.is-offert span, .cy-d li.is-offert em { color: var(--ink); }
.cy-d li.is-offert span { font-weight: 600; }
.cy-d li.is-bientot span { color: #8e8e93; }
.cy-d li.is-bientot em { color: #5a5a60; }
.cy-d li.is-spe span { color: var(--gold-soft); }
.cy-d li.is-spe span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 .5rem .12rem 0; border-radius: 50%; background: var(--gold-soft); }

/* ---------- Page de solution : Imaginez, le chiffre, la différence, ce que JARVIS fait, en détail ---------- */
.ap-moment { padding: 0; min-height: min(100vh, 960px); display: grid; align-items: end; text-align: left; overflow: hidden; }
.ap-moment-ph { position: absolute; inset: 0; }
.ap-moment-ph img { width: 100%; height: 100%; object-fit: cover; }
.ap-moment-ph::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0, #000000e6 32%, #0000005c 64%, #0000 100%), linear-gradient(to top, #000 0, #0000 30%), linear-gradient(to bottom, #000 0, #0000 20%); }
.ap-moment-in { position: relative; z-index: 2; width: 100%; max-width: 76rem; margin: 0 auto; padding: 9rem 1.4rem 7rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 2rem 4rem; align-items: end; }
.ap-moment .ap-h { grid-column: 1 / -1; margin: 0; max-width: none; text-align: left; }
.ap-temps { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.6rem; max-width: 34rem; }
.ap-temps li { display: grid; gap: .3rem; }
.ap-temps time { font: 600 .9rem/1 var(--sans); color: var(--gold-soft); }
.ap-temps span { font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.3; letter-spacing: -.02em; }
.ap-notif { padding: .95rem 1.1rem 1.05rem; border-radius: 22px; background: #1d1d1fe6; -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 24px 60px #000a; }
.ap-notif-t { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .35rem; font-size: .78rem; color: var(--dim); }
.ap-notif-t b { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.ap-notif-o { width: 20px; height: 20px; border-radius: 6px; background: radial-gradient(circle at 50% 50%, #fff 0 12%, var(--gold-soft) 28%, #2a2419 70%); }
.ap-notif > p:last-child { margin: 0; font-size: .98rem; line-height: 1.45; }
.ap-tab { max-width: 60rem; margin: 3.4rem auto 0; text-align: left; }
.ap-tr { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 1.3rem 0; border-top: 1px solid var(--edge); }
.ap-tr span { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.45; }
.ap-tr span:first-child { color: var(--mute); }
.ap-tr span:last-child { font-weight: 500; }
.ap-th { border-top: 0; padding-top: 0; }
.ap-th span { font-size: .85rem !important; font-weight: 600 !important; }
.ap-th span:last-child { color: var(--gold-soft) !important; }
.ap-fiche { padding-block: clamp(5rem, 9vw, 7rem); }
.ap-dl { max-width: 60rem; margin: 3rem auto 0; text-align: left; }
.ap-dl div { display: grid; grid-template-columns: 13rem 1fr; gap: 2rem; padding: 1.25rem 0; border-top: 1px solid var(--edge); }
.ap-dl dt { font-weight: 600; }
.ap-dl dt sup { font-size: .65em; }
.ap-dl dd { margin: 0; color: var(--dim); line-height: 1.55; }
.ap-dl dd a { color: var(--ink); }

/* La preuve, la fin */
.ap-preuve { padding-block: clamp(5.5rem, 10vw, 8rem); }
.ap-preuve .ap-nt { margin-top: 1.2rem; max-width: 34rem; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45; letter-spacing: -.01em; }
.cta { position: relative; padding: clamp(6rem, 11vw, 9rem) 1.4rem; text-align: center; background: #000; }
.cta h2 { margin: 0 auto; max-width: 18ch; font-weight: 600; font-size: clamp(2.2rem, 4.8vw, 3.8rem); letter-spacing: -.045em; line-height: 1.05; }
.cta p { margin: 1.2rem auto 0; max-width: 30rem; color: var(--dim); }
.cta p a { color: var(--ink); }

/* Questions fréquentes */
.faq.ap-faq { max-width: 52rem; margin: 0 auto; padding: clamp(5rem, 10vw, 8rem) 1.4rem; }
.ap-faq .head { text-align: center; margin-bottom: 2.6rem; }
.ap-faq .head h2 { margin: 0; font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.045em; line-height: 1.05; }
.faq-list { border-top: 1px solid var(--edge); }
.faq-item { border-bottom: 1px solid var(--edge); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem .1rem; font-weight: 600; font-size: clamp(1.02rem, 1.5vw, 1.15rem); letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--dim); transition: transform .35s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item summary:hover span { color: #fff; }
.faq-a p { margin: 0; padding: 0 2.5rem 1.5rem .1rem; color: var(--dim); line-height: 1.65; }
.faq-a a, .faq-a p a { color: var(--ink); text-underline-offset: 3px; }
.faq + .faq { padding-top: 1rem; }

/* ---------- Accueil (src/pages/accueil.py) ---------- */
.ac-echange { max-width: 38rem; margin: 3.6rem auto 0; display: grid; gap: .9rem; text-align: left; }
.ac-b { margin: 0; max-width: 82%; padding: .9rem 1.15rem; border-radius: 22px; font-size: 1.06rem; line-height: 1.45; }
.ac-b-vous { justify-self: end; background: #2c2c2e; border-bottom-right-radius: 8px; }
.ac-b-jarvis { justify-self: start; background: var(--surface); border: 1px solid color-mix(in srgb, var(--gold-soft) 25%, transparent); border-bottom-left-radius: 8px; }
.ac-b b { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--gold-soft); }
.ac-b b i { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--gold-soft) 45%, #5a4520); }
.ac-note { margin: 1.8rem auto 0; max-width: 30rem; font-size: .85rem; color: var(--mute); }
.ac-fin { position: relative; padding: 24vh 1.4rem; text-align: center; overflow: hidden; }
.ac-fin > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-fin::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #000000a6; }
.ac-fin > :not(img) { position: relative; z-index: 2; }
.ac-fin h2 { margin: 0 auto; max-width: 16ch; font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.045em; line-height: 1.04; }

/* ---------- Pages simples et légales ---------- */
.plain-top { padding: calc(var(--bar-h) + 6rem) 1.4rem 3rem; text-align: center; }
.plain-top h1 { margin: .4rem 0 0; font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.045em; }
.plain-top .lead { color: var(--dim); max-width: 36rem; margin: 1.2rem auto 0; }
.eyebrow { margin: 0; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.sect { padding: 4.5rem 1.4rem; }
.sect-head { max-width: 76rem; margin: 0 auto 2.6rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
.sect-head:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.sect-head h2 { margin: 0; font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.035em; line-height: 1.1; }
.sect-head .eyebrow + h2 { margin-top: .8rem; }
.sect-head p { margin: 0; color: var(--dim); }
.sect-head p a, .cta p a, .row p a { color: var(--ink); text-underline-offset: 3px; }
.rows { max-width: 76rem; margin: 0 auto; border-top: 1px solid var(--edge); }
.row { display: grid; grid-template-columns: 210px 1fr; gap: .8rem 3rem; padding: 1.8rem 0; border-bottom: 1px solid var(--edge); }
.row i { font: 600 .78rem/2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); font-style: normal; }
.row h3 { margin: 0 0 .4rem; font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; }
.row p { margin: 0; color: var(--dim); font-size: .96rem; line-height: 1.6; }
.cards { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { position: relative; border-radius: var(--radius); background: var(--surface); padding: 1.8rem 1.7rem; }
.card h3 { margin: 0 0 .6rem; font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.35; }
.card p { margin: 0; color: var(--dim); font-size: .94rem; line-height: 1.6; }
a.card { display: block; color: inherit; text-decoration: none; }
.pro-suite { max-width: 76rem; margin: 1.8rem auto 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.pro-suite a { color: var(--gold-soft); text-decoration: none; }
.pro-suite a:hover { text-decoration: underline; }
.pro-suite i { font-style: normal; }
.contact-form { max-width: 46rem; margin: 0 auto; }
.plan-site { padding-top: 1rem; }
.plan-gs { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2.2rem 2rem; }
.plan-g h2 { margin: 0 0 .9rem; font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.plan-g ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.plan-g a { color: #d2d2d7; text-decoration: none; }
.plan-g a:hover { color: #fff; }
.notfound { min-height: 92vh; display: grid; place-items: center; text-align: center; padding: 6rem 1.4rem; }
.notfound .code { margin: 0; font-weight: 600; font-size: clamp(6rem, 22vw, 13rem); line-height: 1; letter-spacing: -.06em; color: #2c2c2e; }
.notfound h1 { margin: .8rem 0 0; font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.5rem); letter-spacing: -.03em; }
.notfound p { color: var(--dim); max-width: 30rem; margin: 1.2rem auto 0; }
/* Avis sobres sous l'ouverture : l'état de l'entreprise; une page faite pour les entreprises */
.lancement, .pub-avis { padding: 0 1.4rem; background: #000; }
.lancement p, .pub-avis p { max-width: 76rem; margin: 0 auto; padding: 1rem 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .3rem .9rem;
  border-bottom: 1px solid var(--edge); color: var(--dim); font-size: .9rem; line-height: 1.5; text-align: center; }
.lancement .dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); align-self: center; }
.lancement a, .pub-avis button { border: 0; background: none; padding: 0; color: var(--gold-soft); font: 500 .9rem/1.3 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.lancement a i { font-style: normal; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: #34d399; }
.dot.is-off { background: #f59e0b; }
.tag { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; padding: .45rem .7rem; border-radius: 999px; border: 1px solid; }
.tag-real { color: #9fe8bc; border-color: #2f5c42aa; background: #0b2016aa; }

/* ---------- Pied de page : petit, gris, ordonné ---------- */
.foot { padding: 2.6rem max(1.4rem, calc((100vw - 76rem) / 2)) 2.2rem; background: #000; border-top: 1px solid #ffffff14; font-size: .78rem; color: var(--mute); }
.foot-brand { margin: 0 0 2rem; display: flex; align-items: baseline; gap: .4rem 1rem; flex-wrap: wrap; }
.foot-brand b { font: 600 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.foot-brand b span { font-weight: 400; color: var(--mute); }
.foot-cols { margin: 0 0 1.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid #ffffff14; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem 2rem; }
.foot-cols h2 { margin: 0 0 .7rem; font: 600 .78rem/1.3 var(--sans); color: #d2d2d7; }
.foot-cols nav { display: grid; gap: .5rem; justify-items: start; }
.foot-cols a { color: var(--mute); text-decoration: none; line-height: 1.35; }
.foot-cols a:hover, .foot-legal a:hover { color: #fff; text-decoration: underline; }
.foot-modes { margin: 0 0 1.4rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.foot-modes span { margin-right: .4rem; }
.foot-modes button { border: 0; border-radius: 999px; padding: .4rem .75rem; background: none; color: var(--mute); font: 400 .78rem/1 var(--sans); cursor: pointer; }
.foot-modes button:hover { color: #fff; }
.foot-modes button.is-on { background: #ffffff17; color: var(--ink); }
html:not(.js) .foot-modes { display: none; }
.foot-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.foot-legal a { color: inherit; text-decoration: none; }
.foot-count { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem; border: 1px solid #ffffff1f; border-radius: 999px; color: var(--dim); }
.foot-count b { color: var(--ink); font-weight: 600; }
.foot-count[hidden] { display: none; }

/* ---------- Formulaire de contact ---------- */
.form-card {
  position: relative; border: 1px solid var(--mode-line); border-radius: var(--radius);
  background: var(--mode-panel-solid); box-shadow: 0 18px 44px #0006, var(--mode-spec); padding: 2.2rem 2rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 .75rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c4c4cc; }
.field input, .field select, .field textarea {
  background: #0b0b0d; border: 1px solid #ffffff5c; border-radius: 12px;
  color: var(--ink); font: 400 1rem/1.5 var(--sans); padding: .85rem 1rem; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid #ffffffd9; outline-offset: 1px;
}
.choices { display: flex; gap: .6rem; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label {
  display: inline-block; cursor: pointer;
  font: 500 .8rem/1 var(--sans); letter-spacing: .02em;
  border: 1px solid var(--edge); border-radius: 999px;
  padding: .7rem 1.15rem; color: #d4d4d8; background: #0b0b0d;
  text-transform: none; transition: .2s;
}
.choice input:checked + label { background: #fff; color: #000; border-color: #fff; }
.choice input:focus-visible + label { outline: 2px solid #fff; outline-offset: 3px; }
.form-note { color: var(--dim); font-size: .85rem; margin: 1.4rem 0 1.2rem; }
.form-card .pill { border: 0; cursor: pointer; font-family: var(--sans); }

/* ---------- Formulaire : états d'envoi ---------- */
.form-status { display: none; margin: 1.2rem 0 0; padding: 1rem 1.1rem; border-radius: 12px; font-size: .92rem; line-height: 1.5; }
.form-status.is-show { display: block; animation: heroIn .6s var(--ease); }
.form-status.is-ok { background: #0b2016; border: 1px solid #2f5c42; color: #c9f5da; }
.form-status.is-err { background: #2a1408; border: 1px solid #7a4a1e; color: #ffe1c2; }
.form-status a { color: #fff; }
.form-card .pill[disabled] { opacity: .7; cursor: wait; }
.form-card .pill .spin { display: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; margin-left: .6rem; vertical-align: -2px; animation: spin .8s linear infinite; }
.form-card.is-sending .pill .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { text-align: center; padding: 2.5rem 1rem; }
.form-done .check {
  width: 74px; height: 74px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--mode-action); color: var(--mode-on-action); font-size: 2rem; font-weight: 700;
  box-shadow: 0 0 60px color-mix(in srgb, var(--mode-glow) 45%, transparent); animation: pop .8s var(--ease);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.form-done h3 { margin: 0 0 .5rem; font-size: 1.6rem; letter-spacing: -.03em; }
.form-done p { margin: 0 auto; color: #cfcfd6; max-width: 26rem; }
.form-done p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Enregistre mais pas encore envoye : le meme calme, sans la promesse d'une reponse. */
.form-done.is-part .check { background: none; border: 1px solid currentColor; color: #cfcfd6; }

/* Compteur à rouleaux */
.odo { display: inline-flex; font-variant-numeric: tabular-nums; }
.odo .dg { display: inline-block; height: 1em; line-height: 1; overflow: hidden; }
.odo .dg > span { display: block; transition: transform 1.6s var(--ease); }
.odo .dg > span > span { display: block; height: 1em; }


/* ==========================================================================
   Coquille commune des démos interactives (assets/demos/*) : fenêtre de verre,
   en-tête, badges « Données réelles » et « Démo ».
   ========================================================================== */
.demo-shell {
  position: relative; max-width: 76rem; margin: 0 auto; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--mode-line); background: var(--mode-panel-solid);
  box-shadow: 0 40px 120px #000c, 0 0 120px color-mix(in srgb, var(--mode-glow) 10%, transparent), var(--mode-spec);
}
.demo-top {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .95rem 1.4rem; border-bottom: 1px solid var(--mode-line);
  font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c4c4cc;
}
.demo-top b { color: #fff; font-weight: 600; }
.demo-top .tag { margin-left: auto; }
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #ffffff26; }
.lights i:first-child { background: color-mix(in srgb, var(--mode-glow) 80%, #000); }
.tag { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; padding: .45rem .7rem; border-radius: 999px; border: 1px solid; }
.tag-real { color: #9fe8bc; border-color: #2f5c42aa; background: #0b2016aa; }
.tag-sim { color: var(--gold-soft); border-color: color-mix(in srgb, var(--mode-glow) 45%, transparent); background: #00000066; }
.demo-body { position: relative; }
.demo-hint { margin: 1rem auto 0; max-width: 76rem; text-align: center; font: 500 .75rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a8a8b0; }

/* ---------- Le lieu : sélecteur (src/lieux.py), solutions mises en avant, forfait dans la barre ---------- */
.lx { max-width: 76rem; margin: 0 auto; }
.lx-t { margin: 0 0 1.4rem; font-weight: 650; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; line-height: 1.15; }
.lx-gs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lx-g { padding: 1.2rem 1.2rem 1.3rem; border-radius: 18px; background: var(--mode-panel-solid), #050505; box-shadow: inset 0 0 0 1px var(--mode-line); }
.lx-g > p { margin: 0 0 .9rem; font: 600 .75rem/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--gold-soft); }
.lx-bs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.lx-b { padding: .7rem 1.05rem; border-radius: 999px; border: 1px solid #ffffff2a; background: #0a0a0a; color: #fff; font: 600 .95rem/1.1 var(--sans); cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.lx-b:hover { border-color: var(--gold-soft); }
.lx-b[aria-pressed="true"] { background: #f5f5f7; color: #000; border-color: #f5f5f7; }.lx-res { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 16px; }
.lx-res[hidden] { display: none; }
.lx-r { padding: 1.3rem 1.3rem 1.2rem; border-radius: 18px; background: var(--mode-panel-solid), #050505; box-shadow: inset 0 0 0 1px var(--gold-soft); }
.lx-r h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 650; }
.lx-r-h { margin: 0 0 .8rem; font-size: .9rem; line-height: 1.5; color: #b9b9c2; }
.lx-r-h b { color: var(--gold-soft); font-weight: 600; }
.lx-r ul { margin: 0; padding: 0; list-style: none; display: grid; }
.lx-r li { padding: .5rem 0; border-top: 1px solid var(--mode-line); font-size: .88rem; display: grid; gap: .1rem; }
.lx-r li a { color: #fff; font-weight: 600; text-decoration: none; }
.lx-r li a:hover { color: var(--gold-soft); }
.lx-r li span { color: #a9a9b2; }
.lx-r-a { margin: .8rem 0 0; font-size: .88rem; }
.lx-r-a a { color: var(--gold-soft); text-decoration: none; }
.lx-r-a i { font-style: normal; }
.lx-go { grid-column: 1 / -1; margin: 0; }
.lx + .cards { margin-top: 2.2rem; }
[data-sols].has-lieu [data-sol] { opacity: .42; transition: opacity .3s; }
[data-sols].has-lieu [data-sol].is-lieu { opacity: 1; box-shadow: inset 0 0 0 1px var(--gold-soft); }
.bar-cta b, .sheet-cta b { font-weight: inherit; }
.pill[data-forfait-add][aria-pressed="true"] { background: #0a0a0a; color: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-soft); }
@media (max-width: 880px) { .lx-gs { grid-template-columns: 1fr; } }

/* ---------- Pour chez moi / Pour mon entreprise / Les deux ----------
   Le choix est posé sur <html data-public> avant le rendu (src/partials.py). Côté « Pour chez moi », ce qui est
   propre à l'entreprise ne s'affiche pas; côté entreprise ou « Les deux », on voit tout, et les variantes
   écrites pour les particuliers s'effacent. Sans script, tout reste visible. Source : src/lieux.py. */
html[data-public="moi"] [data-public="entreprise"] { display: none !important; }
html[data-public="entreprise"] [data-public="particulier"]:not(.lx-g), html[data-public="deux"] [data-public="particulier"]:not(.lx-g) { display: none !important; }
html[data-public="entreprise"] .lx-g[data-public="particulier"] { display: none !important; }
html:not([data-public]) [data-public="particulier"]:not(.lx-g) { display: none; }
/* L'extension Entreprise dans les démonstrations de l'app (côté particulier) */
html[data-public="moi"] [data-demo="app"] [data-ext="automatisation-operations"],
html[data-public="moi"] .xs-ext[href*="automatisation-operations"] { display: none !important; }
/* Les trois gros choix (accueil, sélecteur de lieu) */
.pub { display: inline-flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; padding: .35rem; border-radius: 999px; background: #0a0a0a; box-shadow: inset 0 0 0 1px var(--mode-line); }
.pub button, .bar-pub button, .sheet-pub button { border: 0; border-radius: 999px; background: transparent; color: #cfcfd6; cursor: pointer; font-family: var(--sans); transition: background .25s, color .25s; }
.pub button { padding: .75rem 1.3rem; font: 600 1rem/1.1 var(--sans); }
.pub button:hover, .bar-pub button:hover { color: #fff; }
.pub button:focus-visible, .bar-pub button:focus-visible, .sheet-pub button:focus-visible { outline: 1px solid var(--gold-soft); outline-offset: 2px; }
.pub button:focus:not(:focus-visible), .bar-pub button:focus:not(:focus-visible) { outline: none; }
.pub button[aria-pressed="true"], .bar-pub button[aria-pressed="true"], .sheet-pub button[aria-pressed="true"] {
  background: #f5f5f7; color: #000; }/* Dans la barre : compact, à partir de 1280 px */
.bar-pub { display: none; align-items: center; gap: .15rem; padding: .2rem; border-radius: 999px; box-shadow: inset 0 0 0 1px #ffffff24; }
.bar-pub button { padding: .42rem .7rem; font: 600 .75rem/1 var(--sans); letter-spacing: .02em; white-space: nowrap; }
@media (min-width: 1280px) { .bar-pub { display: inline-flex; } }
.sheet-pub { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.sheet-pub button { padding: .65rem 1rem; font: 600 .95rem/1.1 var(--sans); box-shadow: inset 0 0 0 1px #ffffff24; }
/* Page propre à l'entreprise, ouverte côté particulier */
.pub-avis { padding: 0 1.4rem; }
html:not([data-public-choisi]) .pub-avis { display: none !important; }
.pub-avis p { max-width: 76rem; margin: 1.4rem auto 0; padding: .85rem 1.2rem; border: 1px solid var(--mode-line); border-radius: 14px; background: var(--mode-panel); color: #cfcfd6; font-size: .92rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.pub-avis button { border: 0; background: none; padding: 0; color: var(--gold-soft); font: 600 .92rem/1.3 var(--sans); cursor: pointer; }
@media (max-width: 560px) { .pub { display: flex; border-radius: 22px; } .pub button { flex: 1 1 100%; } }
.lx-gs { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.lx-g { position: relative; }
/* ---------- Mon forfait : le tiroir et sa liste, comme un sac d'achats (assets/js/wow.js) ----------
   Vignette, nom, précision, quantité, « Retirer »; puis le résumé et la soumission. */
html.fo-lock { overflow: hidden; }
.fo-tiroir { position: fixed; inset: 0; z-index: 120; }
.fo-tiroir[hidden] { display: none; }
.fo-fond { position: absolute; inset: 0; background: #000000b8; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.fo-panneau { position: absolute; top: 0; right: 0; bottom: 0; width: min(470px, 100vw); display: flex; flex-direction: column; background: #0b0b0d; box-shadow: -40px 0 90px #000d, inset 1px 0 0 var(--mode-line); transform: translateX(104%); transition: transform .55s var(--ease); }
.fo-tiroir.is-on .fo-fond { opacity: 1; }
.fo-tiroir.is-on .fo-panneau { transform: none; }.fo-tete { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.6rem .6rem; }
.fo-tete h2 { margin: 0; font: 650 1.9rem/1 var(--sans); letter-spacing: -.035em; }
.fo-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #ffffff12; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .25s; }
.fo-x:hover { background: #ffffff24; }
.fo-corps { flex: 1; overflow-y: auto; padding: 0 1.6rem 1.6rem; display: flex; flex-direction: column; scrollbar-width: thin; }
.fo { display: flex; flex-direction: column; flex: 1; }
.fo-haut { display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding: .2rem 0 .3rem; font-size: .88rem; color: #a9a9b2; }
.fo-g { padding-top: 1.2rem; }
.fo-g h3 { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .1rem; font: 600 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.fo-g h3 i { font-style: normal; color: #8f8f98; }
.fo-g ul { margin: 0; padding: 0; list-style: none; }
.fo-l { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .95rem; align-items: center; padding: .9rem 0; border-top: 1px solid #ffffff12; }
.fo-g li:first-child { border-top: 0; }
.fo-v { display: block; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #151518; box-shadow: 0 0 0 1px #ffffff17; }
.fo-v0 { display: grid; place-items: center; font: 650 1.3rem/1 var(--sans); color: var(--gold-soft); background: radial-gradient(circle at 30% 20%, #2a251b, #0e0e10 72%); }
.fo-t b { display: block; font-size: .98rem; font-weight: 600; line-height: 1.25; }
.fo-t span { display: block; margin-top: .18rem; font-size: .82rem; line-height: 1.35; color: #a9a9b2; }
.fo-t em { display: block; margin-top: .25rem; font-style: normal; font-weight: 600; font-size: .92rem; }
.fo-t em:empty { display: none; }
.fo-a { display: grid; justify-items: end; gap: .45rem; }
.fo-q { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px #ffffff2b; }
.fo-q button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.fo-q button:hover { background: #ffffff17; }
.fo-q output { min-width: 1.5rem; text-align: center; font-weight: 600; font-size: .9rem; }
.fo-rm, .fo-mod { border: 0; background: none; padding: 0; color: var(--gold-soft); font: 500 .8rem/1.2 var(--sans); cursor: pointer; text-decoration: none; }
.fo-rm:hover, .fo-mod:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fo-rm:focus-visible, .fo-mod:focus-visible, .fo-q button:focus-visible, .fo-x:focus-visible { outline: 1px solid var(--gold-soft); outline-offset: 3px; }
.fo-pied { margin-top: auto; padding-top: 1.3rem; }
.fo-sep { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1rem; font-size: .86rem; line-height: 1.4; color: #cfcfd6; cursor: pointer; }
.fo-sep input { margin-top: .15rem; accent-color: var(--gold); }
.fo-res { margin: 0; padding: 1rem 0; border-top: 1px solid #ffffff1f; border-bottom: 1px solid #ffffff1f; display: grid; gap: .5rem; }
.fo-res div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: #cfcfd6; }
.fo-res dt, .fo-res dd { margin: 0; }
.fo-res dd { color: #fff; font-weight: 600; }
.fo-note { margin: .9rem 0 1rem; font-size: .8rem; line-height: 1.5; color: #8f8f98; }
.pill.fo-go { display: flex; justify-content: center; width: 100%; padding: 1.05rem 1.4rem; font-size: 1rem; text-align: center; }
.fo-suite { display: block; margin-top: 1rem; text-align: center; color: var(--gold-soft); font-size: .9rem; text-decoration: none; }
.fo-suite:hover { color: #fff; }
.fo-vide { justify-content: center; align-items: center; text-align: center; gap: .7rem; padding: 3rem 0; }
.fo-vide svg { width: 74px; height: 74px; padding: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--mode-line); fill: none; stroke: var(--gold-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fo-vide b { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }
.fo-vide p { margin: 0 0 .6rem; max-width: 20rem; font-size: .92rem; line-height: 1.5; color: #a9a9b2; }
.bar-cta b[data-forfait-n] { font-weight: 700; }
@media (max-width: 560px) {
  .fo-tete { padding: 1.2rem 1.1rem .4rem; }
  .fo-corps { padding: 0 1.1rem 1.2rem; }
  .fo-l { grid-template-columns: 56px minmax(0, 1fr) auto; gap: .75rem; }
  .fo-v { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .fo-fond, .fo-panneau { transition: none; } }
/* Le pied porte lui-même la marge du bas : rien ne dépasse sous « Continuer à composer ». */
.fo-pied { position: sticky; bottom: -1.6rem; z-index: 2; margin-bottom: -1.6rem; padding-bottom: 1.6rem; background: linear-gradient(#0b0b0d00, #0b0b0d 18px); }
@media (max-width: 560px) { .fo-pied { bottom: -1.2rem; margin-bottom: -1.2rem; padding-bottom: 1.2rem; } }
.ct-cart .fo-pied { background: linear-gradient(#0c0c0e00, #0c0c0e 18px); }
@media (max-height: 760px) { .fo-pied .fo-note { display: none; } .fo-pied .fo-res { padding: .7rem 0; margin-bottom: .8rem; } }


/* ---------- Un seul mouvement : l'apparition douce au défilement (assets/js/wow.js) ---------- */
.fx [data-rev] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fx [data-rev].in { opacity: 1; transform: none; }

/* ---------- Réactif ---------- */
/* Le menu complet demande de la largeur : sous 1180 px, le menu de téléphone. */
@media (max-width: 1180px) {
  .bar-nav, .bar-cta { display: none; }
  .bar-menu { display: flex; }
}
@media (max-width: 1100px) {
  .ap-bento-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fly-cote { margin-left: 0; }
}
@media (max-width: 880px) {
  .toc { padding: 0 1rem; }
  .toc-cta { display: none; }
  .ap-bento, .ap-divs, .cards { grid-template-columns: minmax(0, 1fr); }
  .ap-tuile { padding: 1.8rem 1.6rem 2rem; }
  .ap-tr { gap: 1.2rem; }
  .ap-dl div { grid-template-columns: 1fr; gap: .35rem; }
  .row { grid-template-columns: 1fr; padding: 1.5rem 0; }
  .sect-head { grid-template-columns: 1fr; align-items: start; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  /* Imaginez, sur téléphone : la photo d'abord, le texte dessous; rien ne se pose sur la photo */
  .ap-moment { display: block; min-height: 0; }
  .ap-moment-ph { position: relative; height: 62vw; max-height: 26rem; }
  .ap-moment-ph::after { background: linear-gradient(to top, #000 0, #0000 45%), linear-gradient(to bottom, #000 0, #0000 22%); }
  .ap-moment-in { grid-template-columns: 1fr; padding: 1.6rem 1.4rem 5rem; }
}
@media (max-width: 760px) {
  .ap-deux, .ap-trois { grid-template-columns: 1fr; gap: 3.4rem; }
}
@media (max-width: 560px) {
  .bar-ia span { display: none; }
  .bar-ia { justify-content: center; min-width: 44px; min-height: 44px; }  /* une cible de 44 px pour le doigt */
  .bar-ia i { width: 22px; height: 22px; }
  .bar-brand span { display: none; }
  .band-inner { padding-top: calc(var(--bar-h) + 8vh); }
  .band .acts, .cta .acts, .ac-fin .acts { flex-direction: column; width: 100%; gap: .8rem; }
  .ac-fin .pill { width: 100%; max-width: 22rem; }
  .ap-tr { grid-template-columns: 1fr; gap: .35rem; }
  .ap-th { display: none; }
  .ap-tr span:first-child { font-size: .92rem; }
  .ap-tr span:first-child::before { content: "Ordinaire : "; }
  .ap-tr span:last-child::before { content: "JARVIS : "; color: var(--gold-soft); font-weight: 600; }
  .ac-b { max-width: 92%; }
  .foot-cols { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit et impression ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx [data-rev] { opacity: 1; transform: none; transition: none; }
  .bar-ia i { animation: none; }
  .odo .dg > span { transition: none !important; }
}
@media print {
  .fx [data-rev] { opacity: 1 !important; transform: none !important; }
  .bar, .sheet, .toc, .foot-modes { display: none !important; }
}
