/* Mise en page : une scène 3D fixe que le défilement fait avancer (bureau le soir, téléphone, traversée, connexions), les textes en colonne à gauche
   (en bas sur téléphone), puis une fin de page claire faite de feuilles et de fiches. Une seule famille de lettres, Poppins, du très fin au gras. */
@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff") format("woff"); }

:root {
  color-scheme: dark;
  --nuit: #081320; --abysse: #040a12; --encre: #0B1F33; --bleu: #2B8FD6; --ciel: #9FD3F5; --or: #FFD166;
  --papier: #F6F2EA; --jour: #E7ECF1; --jour2: #D5DDE5;
  --txt: #ffffff; --txt2: rgba(226, 238, 250, .78); --txt3: rgba(210, 226, 242, .52);
  --trait: rgba(255, 255, 255, .14);
  --f: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ticket: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --bord: max(20px, env(safe-area-inset-left, 0px));
  --bord-d: max(20px, env(safe-area-inset-right, 0px));
  --acc: #2B8FD6; --acc2: #9FD3F5;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--abysse); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--abysse); color: var(--txt); font-family: var(--f); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
.saut { position: fixed; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--encre); padding: 10px 14px; border-radius: 10px; }
.saut:focus { top: 12px; }

/* ---------- la barre du haut ---------- */
.barre { position: fixed; z-index: 30; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--bord-d) 14px var(--bord); pointer-events: none; }
.barre > * { pointer-events: auto; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .22em; }
.vmark { display: inline-block; width: 30px; height: 30px; flex: none; border-radius: 9px; background: linear-gradient(135deg, #2B8FD6, #0B3D66); position: relative; box-shadow: 0 6px 18px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .28); }
.vmark::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Cpath d='M20 24 L42 66 L64 24' fill='none' stroke='%23fff' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M34 24 L42 40 L50 24' fill='none' stroke='%239FD3F5' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='66' cy='18' r='5' fill='%23FFD166'/%3E%3C/svg%3E") center / contain no-repeat; }
.barre.sc .marque { color: var(--encre); }
.barre.sc { background: rgba(231, 236, 241, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bouton { font-family: inherit; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--or); color: #1b1503; font-weight: 500; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.bouton:hover { transform: translateY(-1px); background: #ffdb85; }
.bouton.petit { min-height: 40px; padding: 0 18px; font-size: 14px; }
.bouton.contour { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.bouton.contour:hover { background: rgba(255, 255, 255, .08); }

/* ---------- la scène ---------- */
.scene { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, #10263c 0%, var(--nuit) 46%, var(--abysse) 100%); contain: strict; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.courbes { position: absolute; inset: -4%; background: url("fond.svg") center / cover no-repeat; opacity: 0; }
.monde, .tunnel { position: absolute; inset: 0; overflow: hidden; }
.monde { perspective: 1600px; z-index: 1; }
.soir { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(78% 88% at 60% 44%, rgba(4, 10, 18, 0) 28%, rgba(4, 10, 18, .52) 70%, rgba(4, 10, 18, .88)); }
.scene #fond { z-index: 2; pointer-events: none; }
.scene .tunnel { z-index: 3; }
.cam, .tcam { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.cam *, .tcam * { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.o { position: absolute; left: 0; top: 0; will-change: transform; transform-origin: 50% 50%; }
.g3 { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.cam .rv, .cam .rv * { -webkit-backface-visibility: visible; backface-visibility: visible; }
.f { position: absolute; left: 0; top: 0; }
.voile { position: absolute; inset: 0; z-index: 6; background: linear-gradient(90deg, rgba(4, 10, 18, .97), rgba(4, 10, 18, .94) 30%, rgba(4, 10, 18, .68) 46%, rgba(4, 10, 18, 0) 68%); opacity: 0; pointer-events: none; }
/* décor allégé pour les appareils qui peinent */
.leger .ombre-sol, .leger .ombre, .leger .tel-lueur, .leger .enveloppe, .leger .postit, .leger .trombone, .leger .portable, .leger .calcul, .leger .stylo, .leger .lum, .leger #fond { display: none !important; }

/* ---------- les textes qui accompagnent la scène ---------- */
.piste { position: relative; }
.txt { position: fixed; z-index: 20; left: var(--bord); width: min(41vw, 540px); top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform; }
.txt.vu { visibility: visible; }
.txt.etroit { width: min(34vw, 450px); }
.txt.vu a, .txt.vu button { pointer-events: auto; }
.txt h1, .txt h2 { margin: 0 0 20px; font-weight: 300; letter-spacing: -.035em; line-height: 1.0; text-wrap: balance; }
.txt h1 { font-size: clamp(36px, 4.5vw, 72px); }
.txt.hero { width: min(47vw, 640px); }
.txt h2 { font-size: clamp(32px, 4.1vw, 62px); }
.txt p { margin: 0 0 14px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: var(--txt2); max-width: 30em; text-wrap: pretty; }
.txt .qui { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--or); margin-bottom: 12px; }
.txt .qui::before { content: ""; width: 22px; height: 1.5px; background: var(--or); }
.txt .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.txt .mt { display: inline-block; opacity: .16; transition: opacity .25s ease; }
.txt .mt.ok { opacity: 1; }
.txt.hero { margin-left: clamp(0px, 3vw, 60px); }
.fam { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fam span { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--txt3); box-shadow: inset 0 0 0 1px var(--trait); transition: background .25s ease, color .25s ease; }
.fam span.ici { background: var(--or); color: #1b1503; box-shadow: none; }
.metiers { position: relative; min-height: 5.4em; }
.metiers p { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; font-size: clamp(15px, 1.1vw, 17px); color: var(--txt3); }
.metiers p.la { opacity: 1; transform: none; }
.metiers p b { color: var(--or); font-weight: 500; }
.defile { position: fixed; z-index: 20; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--txt2); pointer-events: none; }
.defile::after { content: ""; width: 1.5px; height: 34px; background: linear-gradient(180deg, var(--or), transparent); animation: goutte 1.8s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes goutte { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(34px); opacity: 0; } }
.legende { display: grid; gap: 7px; margin-top: 16px; font-size: 14px; color: var(--txt2); }
.legende span { display: flex; align-items: center; gap: 10px; }
.legende i { width: 22px; height: 14px; flex: none; border-radius: 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--k) 50%, #1d3854), #12263b); box-shadow: inset 0 -3px 0 var(--k); }
.legende i.et { background: none; box-shadow: none; border: 1.5px dashed rgba(255, 209, 102, .8); }

/* le rail des chapitres */
.rail { position: fixed; z-index: 25; right: calc(env(safe-area-inset-right, 0px) + 18px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rail button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 26px; font: 500 12.5px var(--f); color: var(--txt2); }
.rail button span { opacity: 0; transform: translateX(6px); transition: opacity .2s ease, transform .2s ease; white-space: nowrap; }
.rail button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background .2s ease, transform .2s ease; }
.rail button:hover span, .rail button:focus-visible span { opacity: 1; transform: none; }
.rail button.ici::after { background: var(--or); transform: scale(1.5); }
.rail.sc button { color: var(--encre); }
.rail.sc button::after { background: rgba(11, 31, 51, .28); }
.rail.sc button.ici::after { background: var(--bleu); }
/* ---------- le plateau ---------- */
.plateau { background-size: cover; background-position: center; border-radius: 6px; }
.brume { background: var(--nuit); opacity: 0; }
.ombre-sol, .tasse .ombre { border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }

/* ---------- les papiers ---------- */
.papier { background: linear-gradient(140deg, #fffefa, var(--papier) 55%, #ece5d8); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 14px 30px rgba(0, 0, 0, .46), 0 2px 5px rgba(0, 0, 0, .4); color: #27323d; overflow: hidden; border-radius: 1.5px; }
.papier::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, .06) 33.2%, rgba(255, 255, 255, .6) 33.7%, rgba(0, 0, 0, 0) 34.4%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, .06) 66.2%, rgba(255, 255, 255, .6) 66.7%, rgba(0, 0, 0, 0) 67.4%); }
.lum { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.agrafe::after { content: ""; position: absolute; z-index: 4; left: 5%; top: 3.2%; width: 5.5%; height: 1.1%; background: linear-gradient(#e3e7ea, #8b949d); transform: rotate(-38deg); border-radius: 1px; box-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
.pp { position: absolute; left: 0; top: 0; width: 420px; height: 594px; padding: 30px 32px 0 40px; transform-origin: 0 0; font-size: 7.6px; line-height: 1.38; color: #2c3742; }
.pp .trous::before, .pp .trous::after { content: ""; position: absolute; left: 13px; width: 9px; height: 9px; border-radius: 50%; background: #1a2028; box-shadow: inset 0 1.5px 2px rgba(0, 0, 0, .8), 0 .5px 0 rgba(255, 255, 255, .7); }
.pp .trous::before { top: 36%; } .pp .trous::after { top: 62%; }
.pp .ent { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.pp .logo { width: 42px; height: 42px; border-radius: 10px; background: #27323d; display: grid; place-items: center; flex: none; }
.pp .logo i { width: 19px; height: 19px; border-radius: 50%; border: 4px solid #fff; border-right-color: transparent; transform: rotate(-30deg); }
.pp .logo.b { background: var(--bleu); border-radius: 50%; }
.pp .exp { font-size: 7.2px; color: #55606b; text-align: right; }
.pp .exp b { display: block; font-size: 9.2px; color: #1d2731; }
.pp .ent .exp:first-child { text-align: left; }
.pp .dst { margin: 24px 0 0 56%; font-size: 8.4px; color: #1d2731; line-height: 1.45; }
.pp .meta { display: flex; gap: 14px; margin-top: 24px; font-size: 7.2px; color: #55606b; }
.pp .meta.col { flex-direction: column; gap: 1px; margin: 0 0 12px; }
.pp h4 { margin: 8px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: #1d2731; }
.pp h4.pt { font-size: 9.5px; margin: 14px 0 6px; letter-spacing: 0; }
.pp table.t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pp .t th { font-weight: 500; font-size: 6.6px; color: #7a848e; text-align: right; padding: 0 0 4px; border-bottom: 1px solid #27323d; }
.pp .t th:first-child, .pp .t td:first-child { text-align: left; }
.pp .t td { padding: 5px 0; border-bottom: 1px solid #ddd8cc; text-align: right; font-size: 7.6px; }
.pp .t td:nth-child(2) { width: 34px; } .pp .t td:nth-child(3) { width: 52px; } .pp .t td:nth-child(4) { width: 60px; }
.pp .rel td:nth-child(1) { width: 36px; } .pp .rel td:nth-child(2), .pp .rel th:nth-child(2) { text-align: left; width: auto; } .pp .rel td:nth-child(3) { color: #a03a2c; }
.pp .rel td { padding: 6.5px 0; }
.pp tr.fluo td { background: linear-gradient(180deg, rgba(255, 226, 60, 0) 10%, rgba(255, 226, 60, .8) 10%, rgba(255, 226, 60, .8) 90%, rgba(255, 226, 60, 0) 90%); }
.pp .inv td { padding: 8.5px 0; font-size: 8.4px; } .pp .inv td:nth-child(2), .pp .inv td:nth-child(3) { width: 74px; }
.pp .tot { margin: 8px 0 0 52%; font-size: 7.6px; font-variant-numeric: tabular-nums; }
.pp .tot div { display: flex; justify-content: space-between; padding: 2.5px 0; }
.pp .tot .g { margin-top: 4px; padding: 6px 8px; background: #1d2731; color: #fff; border-radius: 3px; font-weight: 700; font-size: 9px; }
.pp .bande { margin: -30px -32px 14px -40px; padding: 14px 32px 11px 40px; background: #1f4e79; color: #fff; display: flex; justify-content: space-between; align-items: baseline; font-size: 8px; }
.pp .bande b { font-size: 12.5px; }
.pp .coche { position: absolute; right: 12px; }
.pp .entm { border-bottom: 1px solid #27323d; padding-bottom: 8px; margin-bottom: 14px; font-size: 7.8px; line-height: 1.65; }
.pp p { margin: 0 0 8px; font-size: 8.8px; line-height: 1.5; color: #2c3742; }
.pp .note { position: absolute; left: 70px; top: 300px; transform: rotate(-3deg); }
.mine { display: block; margin-bottom: 5px; }
.pp .rond { position: absolute; z-index: 1; }
.pp .tampon { position: absolute; right: 30px; top: 128px; transform: rotate(-12deg); border: 2.5px solid #c2402f; color: #c2402f; font-weight: 700; font-size: 17px; letter-spacing: .08em; padding: 3px 12px; border-radius: 5px; opacity: .8; }
.pp .tampon.bleu { border: 1.6px solid #2456c4; color: #2456c4; font-size: 6.2px; font-weight: 500; letter-spacing: .06em; top: 96px; right: 136px; transform: rotate(8deg); text-align: center; padding: 9px 10px; border-radius: 50%; opacity: .78; }
.pp .tampon.bleu b { display: block; font-size: 8.6px; letter-spacing: .02em; }
.pp .cases { display: grid; grid-template-columns: 24px 1fr 80px; gap: 5px 8px; align-items: center; }
.pp .cases i { font-style: normal; font-weight: 700; font-size: 7px; color: #1d2731; background: #dfe6ec; text-align: center; padding: 2.5px 0; border-radius: 2px; }
.pp .cases span { font-size: 7.6px; }
.pp .cases em { font-style: normal; height: 17px; border: 1px solid #8d99a5; border-radius: 2px; font-size: 7.8px; text-align: right; padding: 2.5px 5px; font-variant-numeric: tabular-nums; background: #fff; }
.pp .cases em.g { border: 1.6px solid #1d2731; font-weight: 700; }
.pp .sig { display: flex; gap: 30px; margin-top: 30px; }
.pp .sig span { flex: 1; border-top: 1px solid #8d99a5; padding-top: 3px; font-size: 6.6px; color: #7a848e; }
.pp .sig .mine { margin: -26px 0 0 10px; }
.pp .sem { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #1d2731; padding-bottom: 6px; margin-bottom: 8px; }
.pp .sem b { font-size: 16px; }
.pp .jours { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 6px; }
.pp .jours b { display: block; font-size: 8.4px; padding: 3px 0; border-bottom: 1px solid #27323d; }
.pp .jours i { display: block; height: 49px; border-bottom: 1px solid #d8d2c5; padding-top: 16px; }
.pp .jours .mine { margin: 0; }
.pp .qr { position: absolute; left: 0; right: 0; bottom: 0; height: 158px; border-top: 1.2px dashed #8d8a80; display: flex; background: #fffefb; font-size: 6.3px; line-height: 1.4; color: #27323d; }
.pp .qr > div { padding: 10px 12px; }
.pp .qr .ga { width: 30%; border-right: 1.2px dashed #8d8a80; }
.pp .qr b { display: block; font-size: 8.6px; margin-bottom: 4px; }
.pp .qr small { display: block; font-weight: 700; font-size: 5.4px; margin-top: 5px; }
.pp .qr .dr { flex: 1; display: flex; gap: 12px; }
.pp .qr .code { width: 82px; height: 82px; background-size: cover; image-rendering: pixelated; margin: 2px 0 5px; }
.pp .qr .det { flex: 1; padding-top: 14px; }
.pp .qr i.l { display: block; height: 3.5px; border-radius: 2px; background: #c9c6bd; margin: 3px 0; }
.pp .qr .mt2 { display: flex; gap: 14px; margin-top: 3px; }
.pp .qr .mt2 small { margin-top: 0; }
.ticket { background: linear-gradient(170deg, #fff, #f1efe9); clip-path: polygon(0 0, 100% 0, 100% 97.5%, 94% 100%, 88% 97.5%, 82% 100%, 76% 97.5%, 70% 100%, 64% 97.5%, 58% 100%, 52% 97.5%, 46% 100%, 40% 97.5%, 34% 100%, 28% 97.5%, 22% 100%, 16% 97.5%, 10% 100%, 4% 97.5%, 0 100%); box-shadow: none; border-radius: 0; }
.ticket::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .05) 48.4%, rgba(255, 255, 255, .7) 49%, rgba(0, 0, 0, 0) 50%); }
.tk { position: absolute; left: 0; top: 0; width: 160px; height: 420px; padding: 16px 13px; transform-origin: 0 0; font-family: var(--ticket); font-size: 7.4px; line-height: 1.55; color: #333a41; }
.tk b { display: block; text-align: center; font-size: 9.4px; letter-spacing: .06em; }
.tk div { display: flex; justify-content: space-between; }
.tk div.c { justify-content: center; font-size: 6.6px; margin-bottom: 4px; }
.tk hr { border: 0; border-top: 1px dashed #8d8d86; margin: 6px 0; }
.tk .tt { font-size: 10px; font-weight: 700; }
.tk .cb { height: 26px; margin-top: 8px; background: repeating-linear-gradient(90deg, #333 0 1.5px, rgba(0, 0, 0, 0) 1.5px 3px, #333 3px 4px, rgba(0, 0, 0, 0) 4px 7px); }
.postit { background: linear-gradient(150deg, #ffe08a, var(--or) 60%, #f1bd4b); box-shadow: 0 8px 14px rgba(0, 0, 0, .36); border-radius: 1px 1px 14px 1px; padding: 22px 0 0 14px; overflow: hidden; }
.enveloppe { background: linear-gradient(160deg, #f7f3ea, #dfd8c9); box-shadow: 0 8px 18px rgba(0, 0, 0, .42); border-radius: 2px; overflow: hidden; }
.enveloppe .fen { position: absolute; left: 9%; bottom: 16%; width: 40%; height: 30%; border-radius: 6px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); padding: 5% 4%; }
.enveloppe .fen i { display: block; height: 9%; margin-bottom: 9%; border-radius: 2px; background: #6c7680; width: 80%; }
.enveloppe .fen i + i { width: 62%; } .enveloppe .fen i + i + i { width: 46%; }
.enveloppe .tbr { position: absolute; right: 6%; top: 10%; width: 11%; aspect-ratio: 5 / 6; background: repeating-linear-gradient(45deg, #c2402f 0 4px, #d9574a 4px 8px); box-shadow: 0 0 0 2px #fff; }
.trombone { border: 3px solid #c8d0d8; border-radius: 999px; box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.trombone::before { content: ""; position: absolute; left: 14%; right: 6%; top: 18%; bottom: 18%; border: 3px solid #aeb8c1; border-right: 0; border-radius: 999px 0 0 999px; }

/* ---------- les objets en volume ---------- */
.classeur .dessus { background: linear-gradient(135deg, #46525f, #2b3540 60%, #222b35); border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
.classeur .dessus::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .07) 0 1.5px, rgba(0, 0, 0, 0) 2px) 0 0 / 9px 11px, radial-gradient(circle at 70% 60%, rgba(0, 0, 0, .22) 0 1.5px, rgba(0, 0, 0, 0) 2px) 0 0 / 13px 9px; }
.classeur .dessus::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 13%; background: linear-gradient(90deg, #1b232c, #11171e); }
.classeur .et { position: absolute; left: 12%; top: 10%; width: 44%; background: var(--papier); border-radius: 2px; padding: 4% 5%; color: #1d2731; line-height: 1.1; z-index: 1; }
.classeur .et b { display: block; font-size: 22px; letter-spacing: -.01em; }
.classeur .et span { font-size: 15px; color: #55606b; }
.classeur .oeil { position: absolute; right: 3.2%; top: 44%; width: 6.5%; aspect-ratio: 1; border-radius: 50%; background: #0c1116; box-shadow: 0 0 0 3px #7c8792; z-index: 1; }
.classeur .cote { background: linear-gradient(180deg, #3a4551, #1d252e); }
.classeur .cote.tr { background: repeating-linear-gradient(180deg, #f0ece2 0 2px, #cfc8b9 2px 3px); }
.portable .dessus { background: linear-gradient(140deg, #5d6a78, #3a4654 50%, #2a333e); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.portable .dessus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 26%; background: rgba(255, 255, 255, .13); }
.portable .cote { background: linear-gradient(180deg, #4a5663, #232b34); }
.calcul .dessus { background: linear-gradient(150deg, #27333f, #151d26); border-radius: 12px; padding: 7% 8% 6%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.calcul .sol { height: 4.5%; width: 44%; margin: 0 0 4% auto; border-radius: 2px; background: repeating-linear-gradient(90deg, #3a2b4a 0 11px, #20162c 11px 12px); }
.calcul .aff { height: 13.5%; border-radius: 5px; background: linear-gradient(180deg, #bfd2bb, #9fb59c); margin-bottom: 7%; display: flex; align-items: center; justify-content: flex-end; padding: 0 6%; font: 500 22px var(--ticket); color: #1d2a1d; letter-spacing: .02em; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3); }
.calcul .tch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5.5%; height: 66%; }
.calcul .tch i { border-radius: 6px; background: linear-gradient(180deg, #485666, #36424f); box-shadow: 0 2.5px 0 #0d1318, inset 0 1px 0 rgba(255, 255, 255, .14); display: grid; place-items: center; font: 500 15px var(--f); font-style: normal; color: #e8eef4; }
.calcul .tch i.a { background: linear-gradient(180deg, #ffe08a, var(--or)); color: #3c2c00; }
.calcul .tch i.d { grid-column: span 2; }
.calcul .cote { background: #0e141a; }
.stylo .dessus { background: linear-gradient(90deg, #0e3a61, #2B8FD6 30%, #9FD3F5 46%, #2B8FD6 60%, #0b3558); border-radius: 4px; }
.stylo .dessus::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 13%; background: #c9d2db; border-radius: 4px 4px 0 0; }
.stylo .dessus::before { content: ""; position: absolute; left: 30%; right: 30%; top: 14%; height: 20%; background: rgba(255, 255, 255, .5); border-radius: 2px; }
.stylo .cote { background: #0b3558; }
.tasse .pan { position: absolute; left: 0; top: 0; }
.tasse .soucoupe { border-radius: 50%; background: radial-gradient(circle, #dfe7ee 0 30%, #f7fafc 31% 58%, #cfd9e2 59% 62%, #f4f7fa 63% 96%, #b9c5d0 97%); }
.tasse .soucoupe.haut { background: radial-gradient(circle, #cfd9e2 0 32%, #f7fafc 34% 60%, #d3dce4 61% 64%, #fbfcfd 66% 97%, #c3ced8 98%); }
.tasse .bord { border-radius: 50%; background: radial-gradient(circle at 46% 44%, #3a2414 0 20%, #2a190d 58%, #5a3a22 60% 64%, #dfe7ee 65% 75%, #ffffff 76% 90%, #c8d2db 91%); }
.tasse .bord::after { content: ""; position: absolute; left: 22%; top: 20%; width: 30%; height: 16%; border-radius: 50%; background: rgba(255, 255, 255, .22); transform: rotate(-28deg); }
.tasse .anse { border: 12px solid #e6edf2; border-radius: 0 46% 46% 0; border-left: 0; }
/* ---------- le téléphone ---------- */
.tel .tr { position: absolute; left: 0; top: 0; background: #2c3742; }
.tel .dos { border-radius: 46px; background: linear-gradient(150deg, #32404e, #1a232c 60%, #121920); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1); }
.tel .dos::before { content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%); opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Cpath d='M20 24 L42 66 L64 24' fill='none' stroke='%239FD3F5' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='66' cy='18' r='5' fill='%23FFD166'/%3E%3C/svg%3E") center / contain no-repeat; }
.tel .dos::after { content: ""; position: absolute; left: 22px; top: 22px; width: 96px; height: 96px; border-radius: 28px; background: radial-gradient(circle at 30% 30%, #0a0f14 0 15px, #26313c 16px 19px, rgba(0, 0, 0, 0) 20px), radial-gradient(circle at 72% 70%, #0a0f14 0 15px, #26313c 16px 19px, rgba(0, 0, 0, 0) 20px), #1c2630; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tel .face { border-radius: 46px; background: #05080c; box-shadow: inset 0 0 0 2px #39444f, inset 0 0 0 5px #05080c; overflow: hidden; }
.tel-lueur { border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 185, 245, .42), rgba(110, 185, 245, .12) 55%, rgba(110, 185, 245, 0)); }
.tel .reflet { position: absolute; inset: 0; border-radius: 46px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .11) 44%, rgba(255, 255, 255, .02) 52%, rgba(255, 255, 255, 0) 62%); background-size: 260% 100%; }
.ecran { position: absolute; left: 10px; top: 10px; width: 355px; height: 780px; border-radius: 38px; overflow: hidden; background: linear-gradient(180deg, #0c1c2e, #081320); color: #fff; font-size: 13px; }
.ecran .ilot, .mob .ilot { position: absolute; left: 50%; top: 11px; width: 96px; height: 27px; margin-left: -48px; border-radius: 16px; background: #000; z-index: 6; }
.ecran .etat { position: absolute; left: 0; right: 0; top: 0; height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 6px 30px 0; font-size: 13px; font-weight: 500; z-index: 5; }
.ecran .etat i { width: 22px; height: 11px; border-radius: 3px; border: 1.4px solid rgba(255, 255, 255, .7); position: relative; }
.ecran .etat i::after { content: ""; position: absolute; inset: 1.5px; right: 6px; background: #fff; border-radius: 1px; }
.vue { position: absolute; inset: 0; padding: 56px 18px 0; opacity: 0; background: linear-gradient(180deg, #0c1c2e, #081320); }
.vue svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.veille { background: radial-gradient(90% 60% at 50% 30%, #15324f, #050b13); display: flex; flex-direction: column; align-items: center; padding-top: 120px; }
.veille .h { font-size: 78px; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.veille .j { font-size: 15px; color: var(--txt2); margin-bottom: 8px; }
.balai { position: absolute; left: 0; right: 0; top: -40px; height: 70px; z-index: 7; opacity: 0; pointer-events: none; background: linear-gradient(180deg, rgba(159, 211, 245, 0), rgba(159, 211, 245, .5)); border-bottom: 2.5px solid #d9f0ff; }
.app-haut { display: flex; align-items: center; gap: 10px; height: 44px; margin-bottom: 10px; }
.app-haut .lg { width: 38px; height: 38px; border-radius: 12px; flex: none; background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 45%, #000)); display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; }
.app-haut .lg svg { width: 23px; height: 23px; }
.app-haut b { font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; }
.app-haut span { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .09); display: grid; place-items: center; }
.app-haut span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }
.bjr { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 10px; }
.bjr span { font-size: 26px; font-weight: 300; letter-spacing: -.02em; }
.bjr em { font-style: normal; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--txt2); }
.bjr em.on { background: var(--or); color: #1b1503; }
.liste { position: absolute; left: 18px; right: 18px; top: 150px; bottom: 0; overflow: hidden; }
.liste.r { top: 172px; bottom: 140px; }
.outils { will-change: transform; padding-bottom: 120px; }
.outils section { margin-bottom: 14px; }
.outils h5 { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--txt2); display: flex; align-items: center; gap: 9px; }
.outils h5::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.outils h5::after { content: ""; flex: 1; height: 1px; background: var(--trait); }
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.grille div { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; font-size: 11.5px; font-weight: 500; line-height: 1.15; min-height: 86px; }
.grille i { width: 60px; height: 60px; border-radius: 19px; display: grid; place-items: center; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 92%, #fff), color-mix(in srgb, var(--c) 62%, #000)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .34), 0 6px 14px rgba(0, 0, 0, .3); color: #fff; }
.grille i svg { width: 28px; height: 28px; stroke-width: 1.7; }
.grille.eq i { border-radius: 50%; }
.grille.eq div:nth-child(2) i { --c: #D9A02E; } .grille.eq div:nth-child(3) i { --c: #33A57E; } .grille.eq div:nth-child(4) i { --c: #D2604E; } .grille.eq div:nth-child(5) i { --c: #7D8CF0; }
.onglets { position: absolute; left: 0; right: 0; bottom: 0; height: 78px; padding: 14px 26px 0; display: flex; justify-content: space-between; background: linear-gradient(180deg, rgba(8, 19, 32, 0), #081320 36%); z-index: 4; color: rgba(255, 255, 255, .45); }
.onglets svg { width: 24px; height: 24px; }
.onglets svg.on { color: var(--acc2); }
.onglets::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 120px; height: 4px; margin-left: -60px; border-radius: 3px; background: rgba(255, 255, 255, .5); }
.recu h3 { margin: 0 0 3px; font-size: 23px; font-weight: 500; letter-spacing: -.02em; }
.recu > p { margin: 0; font-size: 12px; color: var(--txt2); }
#recus { transition: transform .45s cubic-bezier(.2, .9, .3, 1); }
.ligne { display: flex; align-items: center; gap: 10px; height: 59px; padding: 0 11px; margin-bottom: 8px; border-radius: 16px; background: rgba(255, 255, 255, .07); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .35s ease, transform .45s cubic-bezier(.2, 1.2, .3, 1), background .6s ease; }
.ligne.la { opacity: 1; transform: none; }
.ligne.neuve { background: color-mix(in srgb, var(--acc) 40%, transparent); }
.ligne .ic, .m-rang .ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--acc2); }
.ligne .ic svg, .m-rang .ic svg { width: 22px; height: 22px; }
.ligne > div:nth-child(2), .m-rang > div:nth-child(2) { min-width: 0; flex: 1; }
.ligne b, .m-rang b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.22; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ligne small, .m-rang small { display: block; font-size: 10.4px; color: var(--txt2); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ligne em, .m-rang em { flex: none; font-style: normal; font-size: 9.6px; font-weight: 500; padding: 4px 7px; border-radius: 999px; background: rgba(255, 209, 102, .16); color: var(--or); }
.ligne.dbl em { background: rgba(255, 123, 107, .2); color: #ff9c8f; }
.ligne.dbl .ic { color: #ff9c8f; }
.recu .ok { position: absolute; left: 18px; right: 18px; bottom: 84px; height: 46px; border-radius: 999px; background: var(--or); color: #1b1503; font-weight: 500; font-size: 14px; display: grid; place-items: center; opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
.recu .ok.la { opacity: 1; transform: none; }

/* un écran par métier */
.metier { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 24%, #0a1420), #081320 46%); }
.m-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 16px 16px 14px; margin-bottom: 12px; background: linear-gradient(140deg, var(--acc), color-mix(in srgb, var(--acc) 50%, #000)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .3); min-height: 150px; display: flex; flex-direction: column; }
.m-hero > svg { position: absolute; right: -14px; bottom: -18px; width: 132px; height: 132px; color: rgba(255, 255, 255, .2); stroke-width: 1.2; }
.m-hero small { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.m-hero b { font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.18; margin: 4px 0 auto; max-width: 78%; }
.m-hero em { align-self: flex-start; margin-top: 12px; font-style: normal; font-size: 12.5px; font-weight: 500; padding: 8px 16px; border-radius: 999px; background: #fff; color: #10202e; position: relative; }
.m-rang { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 11px; margin-bottom: 8px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.m-rang em { background: color-mix(in srgb, var(--acc2) 20%, transparent); color: var(--acc2); }
.m-tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.m-tuiles div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.4px; font-weight: 500; text-align: center; line-height: 1.15; }
.m-tuiles svg { width: 56px; height: 56px; padding: 15px; border-radius: 18px; background: color-mix(in srgb, var(--acc) 30%, rgba(255, 255, 255, .05)); color: var(--acc2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }

/* derrière le téléphone */
.halo { border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c, #2B8FD6) 70%, transparent), color-mix(in srgb, var(--c, #2B8FD6) 16%, transparent) 55%, rgba(0, 0, 0, 0)); opacity: 0; }
.geant { display: grid; place-items: center; font-weight: 700; font-size: 125px; line-height: .86; letter-spacing: -.045em; white-space: nowrap; color: rgba(0, 0, 0, 0); -webkit-text-stroke: 1.2px color-mix(in srgb, var(--c, #9FD3F5) 70%, transparent); opacity: 0; }
.deco { display: grid; place-items: center; border-radius: 34%; background: linear-gradient(150deg, color-mix(in srgb, var(--f) 80%, #fff), color-mix(in srgb, var(--f) 70%, #000)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 22px 40px rgba(0, 0, 0, .45); color: #fff; opacity: 0; }
.deco svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* la main */
.main svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ombre-main { border-radius: 46%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); }
.touche { border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .5) 0 18%, rgba(159, 211, 245, .32) 19% 46%, rgba(159, 211, 245, 0) 70%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); }

/* après le geste : tout est confirmé */
.ligne em { transition: background .3s ease, color .3s ease; }
.recu.valide .ligne em { background: rgba(95, 211, 154, .2); color: #7fe0af; padding-left: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.500 8.300l3 3L12.500 5' fill='none' stroke='%237fe0af' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 5px 50%; background-size: 12px 12px; }
.recu.valide .ligne.dbl em { background: rgba(255, 255, 255, .1); color: var(--txt2); padding-left: 7px; background-image: none; }
.recu.valide .ligne .ic { color: #7fe0af; }
.recu .ok { display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .4s ease, transform .4s ease, background .3s ease; }
.recu .ok svg { width: 18px; height: 18px; stroke-width: 2.6; }
.recu.valide .ok { background: #5FD39A; color: #06301b; }
/* ---------- la traversée ---------- */
.tunnel { perspective: 1000px; visibility: hidden; }
.st { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.st > * { position: absolute; }
.st .compo { left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.st .compo > * { position: absolute; left: 0; top: 0; will-change: transform, opacity; transform-origin: 50% 50%; }
.st svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st .mot { left: -1300px; width: 2600px; top: -160px; text-align: center; font-weight: 700; font-size: 250px; line-height: 1; letter-spacing: -.05em; white-space: nowrap; color: rgba(0, 0, 0, 0); -webkit-text-stroke: 2px color-mix(in srgb, var(--c) 30%, transparent); will-change: transform, opacity; }
.st .bloc { will-change: opacity; transform: translateZ(60px); }
.st .num { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--c); margin-bottom: 10px; }
.st .num::before { content: ""; width: 26px; height: 2px; background: var(--c); }
.st h2 { margin: 0 0 10px; font-size: 46px; font-weight: 300; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.st .bloc > p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.48; color: var(--txt2); text-wrap: pretty; }
.reunit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.reunit span { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--txt2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.reunit em { display: inline-flex; align-items: center; gap: 7px; font-style: normal; padding: 6px 13px 6px 9px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--c); color: #fff; }
.reunit em svg { width: 15px; height: 15px; stroke-width: 2.4; }
.st dl { margin: 0; display: grid; gap: 0; }
.st dl div { padding: 9px 0 9px 20px; border-top: 1px solid var(--trait); position: relative; }
.st dl div::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.st dt { font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.st dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.42; color: var(--txt2); }
.st .aussi { margin: 0; padding-top: 10px; border-top: 1px solid var(--trait); font-size: 13px; line-height: 1.5; color: var(--txt3); }
.st .aussi b { font-weight: 500; color: var(--txt2); margin-right: 4px; }

/* les cadres : une fenêtre d'ordinateur, ou un téléphone */
.fen { width: 600px; height: 410px; margin: -205px 0 0 -300px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #10233a, #0b1929); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1.5px 0 rgba(255, 255, 255, .24), 0 50px 100px rgba(0, 0, 0, .55), 0 0 140px color-mix(in srgb, var(--c) 24%, transparent); font-size: 13px; }
.fb { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid var(--trait); }
.fb i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.fb span { margin-left: 12px; font-size: 12.5px; color: var(--txt2); }
.fc { display: flex; height: calc(100% - 38px); }
.fs { width: 52px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 0; background: rgba(255, 255, 255, .03); border-right: 1px solid var(--trait); color: rgba(255, 255, 255, .34); }
.fs svg { width: 20px; height: 20px; }
.fs svg.on { color: var(--c); }
.fm { flex: 1; min-width: 0; padding: 14px 16px 16px; display: flex; flex-direction: column; }
.mob { width: 262px; height: 540px; margin: -270px 0 0 -131px; border-radius: 42px; padding: 8px; background: #05080c; box-shadow: 0 0 0 2px #39444f, 0 50px 100px rgba(0, 0, 0, .55), 0 0 140px color-mix(in srgb, var(--c) 26%, transparent); }
.mob .me { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #10233a, #081320); padding: 48px 14px 14px; font-size: 12.5px; display: flex; flex-direction: column; }
.mob .ilot { width: 78px; height: 22px; margin-left: -39px; top: 9px; }
[data-q] { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .35s cubic-bezier(.2, 1.1, .3, 1); }
[data-q].la { opacity: 1; transform: none; }
.conf, .bt { height: 40px; border-radius: 999px; background: var(--or); color: #1b1503; font-weight: 500; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.conf svg, .bt svg { width: 16px; height: 16px; stroke-width: 2.4; }
.bt { height: 34px; font-size: 12px; margin-top: 10px; background: color-mix(in srgb, var(--c) 86%, #fff); color: #fff; }
/* comptabilité */
.suivi { display: flex; gap: 0; margin-bottom: 12px; }
.suivi i { flex: 1; font-style: normal; font-size: 11px; font-weight: 500; color: var(--txt3); padding-top: 9px; border-top: 3px solid rgba(255, 255, 255, .12); opacity: 1; transform: none; }
.suivi i.on, .suivi i.la { color: #fff; border-top-color: var(--c); }
.duo { display: grid; grid-template-columns: 178px 1fr; gap: 14px; flex: 1; min-height: 0; }
.photo { position: relative; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #3a3128, #1c1814); display: grid; place-items: center; }
.photo .vis { position: absolute; inset: 10px; border-radius: 6px; background: linear-gradient(#fff, #fff) 0 0 / 18px 2px no-repeat, linear-gradient(#fff, #fff) 0 0 / 2px 18px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 18px 2px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 2px 18px no-repeat, linear-gradient(#fff, #fff) 0 100% / 18px 2px no-repeat, linear-gradient(#fff, #fff) 0 100% / 2px 18px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 18px 2px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 2px 18px no-repeat; opacity: .7; }
.mini-tk { width: 128px; background: #f6f3ec; border-radius: 2px; padding: 12px 10px 16px; font: 7.4px/1.6 var(--ticket); color: #333a41; transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
.mini-tk b { display: block; }
.rayon { position: absolute; left: 0; right: 0; top: calc(var(--d, 0) * 150% - 30%); height: 34%; background: linear-gradient(180deg, rgba(159, 211, 245, 0), rgba(159, 211, 245, .4)); border-bottom: 2px solid #cfeaff; opacity: calc(1.2 - var(--d, 0) * 1.3); }
.champs { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.ch { position: relative; border-radius: 11px; background: rgba(255, 255, 255, .07); padding: 5px 12px 6px; }
.ch small { display: block; font-size: 10px; color: var(--txt3); }
.ch b { font-weight: 500; font-size: 13px; }
.ch em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(95, 211, 154, .18); color: #7fe0af; }
.ch2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.champs .conf { margin-top: auto; }
.rap { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--trait); font-size: 12px; font-variant-numeric: tabular-nums; }
.rap span { color: var(--txt3); width: 34px; }
.rap b { font-weight: 500; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rap em { font-style: normal; }
.rap svg { width: 14px; height: 14px; flex: none; color: var(--txt3); }
.rap svg:last-child { color: #7fe0af; stroke-width: 2.4; }
.pil { margin-top: 9px; font-size: 11.5px; color: var(--txt2); }
.pil u, .stk u, .cmp u { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); position: relative; margin-top: 4px; text-decoration: none; overflow: hidden; }
.pil u::after, .stk u::after, .cmp u::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * (.2 + .8 * var(--d, 1))); border-radius: 3px; background: var(--k, var(--c)); }
/* ventes */
.m-t { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.m-cl { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 12px; background: rgba(255, 255, 255, .07); margin-bottom: 8px; font-weight: 500; }
.m-cl svg { width: 18px; height: 18px; color: var(--c); }
.m-cl em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 26%, transparent); color: #ffe0a0; }
.m-l, .m-st, .m-tot { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--trait); font-variant-numeric: tabular-nums; }
.m-l small { display: block; font-size: 10.5px; color: var(--txt3); }
.m-l b { font-weight: 500; }
.m-st { border: 0; padding: 8px 2px 0; font-size: 11.5px; color: var(--txt2); }
.m-st b { font-weight: 400; }
.m-tot { border: 0; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-size: 14px; }
.m-pdf { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--trait); font-size: 11.5px; color: var(--txt2); }
.m-pdf svg { width: 16px; height: 16px; color: #ff9c8f; }
.mob .conf { margin-top: auto; }
.barres { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding: 0 2px; }
.barres i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #ffe08a, var(--c)); transform-origin: 50% 100%; transform: scaleY(calc(.15 + .85 * var(--d, 0))); }
.barres i.p { background: rgba(255, 255, 255, .16); }
.mois-b { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 5px; }
.mois-b i { font-style: normal; font-size: 9.5px; color: var(--txt3); text-align: center; }
.stk { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 9px; padding: 6px 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.stk u { margin: 0; }
.stk b { font-weight: 500; }
/* messages */
.msgs { display: grid; grid-template-columns: 186px 1fr; gap: 14px; flex: 1; min-height: 0; }
.convs { display: flex; flex-direction: column; gap: 5px; }
.cv { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 11px; }
.cv i { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 26%, transparent); color: #9fe6c8; }
.cv svg { width: 15px; height: 15px; }
.cv div { min-width: 0; flex: 1; }
.cv b { display: block; font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv small { display: block; font-size: 10.5px; color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv em { font-style: normal; font-size: 9.5px; color: var(--txt3); align-self: flex-start; }
.cv.on { background: rgba(255, 255, 255, .09); }
.fil { display: flex; flex-direction: column; min-height: 0; }
.fil-h { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--trait); }
.fil-h b { font-weight: 500; font-size: 13.5px; }
.fil-h span { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--txt3); }
.fil-h svg { width: 13px; height: 13px; }
.bulle { align-self: flex-start; max-width: 90%; padding: 9px 12px; border-radius: 15px 15px 15px 5px; background: rgba(255, 255, 255, .09); font-size: 12px; line-height: 1.4; margin-bottom: 8px; }
.bulle.moi { align-self: flex-end; border-radius: 15px 15px 5px 15px; background: color-mix(in srgb, var(--c) 40%, transparent); box-shadow: inset 0 0 0 1.5px rgba(255, 209, 102, .7); }
.bulle small { display: flex; align-items: center; gap: 5px; color: var(--or); font-size: 10.5px; margin-bottom: 3px; }
.bulle small svg { width: 12px; height: 12px; }
.frappe { display: block; clip-path: inset(0 0 calc((1 - min(1, var(--d, 0) * 1.4)) * 100%) 0); }
.acts { display: flex; gap: 7px; margin-top: auto; justify-content: flex-end; }
.acts i { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 11.5px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.acts i.on { background: var(--or); color: #1b1503; font-weight: 500; }
.acts svg { width: 13px; height: 13px; stroke-width: 2.4; }
.wa { display: grid; gap: 5px; margin: 10px 0 8px; }
.wa i { font-style: normal; font-size: 11.5px; padding: 7px 10px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .09); justify-self: start; }
.wa i.m { justify-self: end; border-radius: 12px 12px 4px 12px; background: color-mix(in srgb, var(--c) 46%, transparent); }
.pile { display: flex; align-items: center; }
.pile .av { width: 26px; height: 26px; margin-right: -7px; box-shadow: 0 0 0 2.5px #142a42; }
.pile .av svg { width: 13px; height: 13px; }
.pile span { margin-left: 16px; font-size: 11px; color: var(--txt2); }
.sty { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.sty span { font-size: 11px; padding: 4px 9px; border-radius: 8px; background: rgba(125, 140, 240, .2); color: #c8cfff; }
.onde { display: flex; align-items: center; gap: 3px; height: 40px; margin-top: 10px; }
.onde i { flex: 1; border-radius: 3px; background: var(--c); height: calc(var(--h) * (.35 + var(--d, 0) * .65)); }
/* organisation : un vrai mois */
.cal { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cal-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.cal-h b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.cal-h span { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--txt2); }
.cal-h span i { width: 7px; height: 7px; border-radius: 2px; background: var(--k); margin-left: 7px; }
.cal-j { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.cal-j i { font-style: normal; font-size: 10px; color: var(--txt3); padding-left: 5px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: 4px; flex: 1; min-height: 0; }
.cal-g div { border-radius: 7px; background: rgba(255, 255, 255, .05); padding: 3px 4px; overflow: hidden; }
.cal-g em { display: block; font-style: normal; font-size: 10px; color: var(--txt2); font-variant-numeric: tabular-nums; }
.cal-g .hors { background: rgba(255, 255, 255, .02); } .cal-g .hors em { color: rgba(255, 255, 255, .22); }
.cal-g .auj { box-shadow: inset 0 0 0 1.5px var(--c); } .cal-g .auj em { color: #fff; font-weight: 700; }
.cal-g span { display: block; margin-top: 2px; font-size: 8.4px; font-weight: 500; line-height: 1.25; padding: 2px 4px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-g span.b { background: rgba(95, 180, 234, .28); color: #bfe2fa; } .cal-g span.o { background: rgba(224, 169, 58, .3); color: #ffe0a0; } .cal-g span.v { background: rgba(125, 140, 240, .34); color: #d2d7ff; } .cal-g span.r { background: rgba(255, 123, 107, .3); color: #ffc0b7; }
.chk { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--trait); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.chk:first-of-type { margin-top: 10px; }
.chk::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.chk.on { color: var(--txt3); }
.chk.on::before { background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.300l2.600 2.600L12 5.500' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); box-shadow: none; }
.chk .ph { width: 22px; height: 16px; border-radius: 3px; background: linear-gradient(135deg, #5a6b7c, #2c3a48); margin-left: 2px; }
.chk .ph:first-of-type { margin-left: auto; }
.scanp { display: grid; grid-template-columns: 112px 26px 1fr; align-items: center; gap: 8px; margin: 8px 0 8px; }
.scanp .pg { position: relative; height: 122px; border-radius: 3px; background: linear-gradient(160deg, #fffefa, #ece5d8); padding: 9px 9px; transform: rotate(-4deg); box-shadow: 0 8px 16px rgba(0, 0, 0, .45); color: #27323d; font-size: 8px; }
.scanp .pg b { display: block; font-size: 9px; border-bottom: 1px solid #27323d; padding-bottom: 3px; margin-bottom: 5px; }
.scanp .pg div { display: flex; align-items: center; gap: 5px; height: 26px; border-bottom: 1px solid #d8d2c5; }
.scanp .pg span { width: 30px; flex: none; color: #55606b; }
.scanp .pg .mine { margin: 0; }
.scanp .pg u { position: absolute; right: -9px; bottom: -9px; width: 30px; height: 30px; border-radius: 50%; background: var(--c); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.scanp .pg u svg { width: 16px; height: 16px; }
.scanp .fl2 { color: #7fe0af; display: grid; place-items: center; }
.scanp .fl2 svg { width: 22px; height: 22px; stroke-width: 2.4; }
.scanp .evs { display: grid; gap: 6px; }
.scanp .evs div, .prog div { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; background: rgba(255, 255, 255, .08); border-left: 3px solid var(--c); font-size: 11.5px; }
.scanp .evs b, .prog b { font-weight: 500; font-variant-numeric: tabular-nums; }
.prog { display: grid; gap: 6px; margin: 10px 0 8px; }
.prog div.ok { border-left-color: #5FD39A; }
.prog svg { width: 14px; height: 14px; margin-left: auto; color: #7fe0af; stroke-width: 2.4; }
/* publicité */
.pubs { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.p-h { font-size: 12.5px; color: var(--txt2); margin-bottom: 6px; }
.p-h b { font-weight: 500; }
.courbe { position: relative; height: 96px; margin-bottom: 8px; }
.courbe svg { width: 100%; height: 82px; overflow: visible; stroke: none; display: block; }
.courbe .tr { stroke-dasharray: 1; stroke-dashoffset: calc(1 - min(1, var(--d, 0) * 1.3)); }
.axe { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--txt3); }
.axe i { font-style: normal; }
.vg { display: block; border-radius: 8px; position: relative; overflow: hidden; background: linear-gradient(150deg, #E8743B, #7a2f10); }
.vg.b { background: linear-gradient(150deg, #FFD166, #b9791a); } .vg.c { background: linear-gradient(150deg, #5FB4EA, #134a78); }
.vg::before { content: ""; position: absolute; left: -12%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.vg::after { content: ""; position: absolute; right: 10%; top: 14%; width: 26%; aspect-ratio: 1; border-radius: 30%; background: rgba(255, 255, 255, .3); transform: rotate(18deg); }
.cmp { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--trait); }
.cmp .vg { width: 34px; height: 34px; flex: none; }
.cmp div { flex: 1; min-width: 0; }
.cmp b { display: block; font-size: 12px; font-weight: 500; }
.cmp em, .vids em { flex: none; font-style: normal; font-size: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(95, 211, 154, .18); color: #7fe0af; }
.cmp em.p { background: rgba(255, 255, 255, .1); color: var(--txt2); }
.prop { margin-top: auto; border-radius: 14px; background: rgba(255, 209, 102, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 209, 102, .45); padding: 8px 10px; display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.35; }
.prop .av { width: 30px; height: 30px; } .prop .av svg { width: 15px; height: 15px; }
.prop b { margin-left: auto; flex: none; padding: 8px 16px; border-radius: 999px; background: var(--or); color: #1b1503; font-weight: 500; }
.ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ad { border-radius: 10px; background: rgba(255, 255, 255, .08); padding: 5px 5px 7px; }
.ad .vg { aspect-ratio: 1; }
.ad b { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .5); margin: 7px 2px 4px; width: 80%; }
.ad u { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); margin: 0 2px 7px; width: 56%; }
.ad em { display: block; font-style: normal; font-size: 8.5px; font-weight: 500; text-align: center; padding: 3px 0; border-radius: 999px; background: #fff; color: #10202e; }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 8px; }
.vids div { display: grid; gap: 5px; justify-items: start; }
.vids .vg { width: 100%; aspect-ratio: 9 / 13; display: grid; place-items: center; color: #fff; }
.vids svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.vids em { font-size: 9px; padding: 2px 7px; }
.vids em.o { background: rgba(255, 209, 102, .2); color: var(--or); }
/* les employés IA : la ronde */
.ronde { position: relative; width: 500px; height: 440px; margin: -220px 0 0 -250px; }
.ronde::before { content: ""; position: absolute; left: 50%; top: 50%; width: 400px; height: 400px; margin: -200px 0 0 -200px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c) 50%, transparent); }
.mb { position: absolute; left: 50%; top: 50%; width: 120px; margin: -38px 0 0 -60px; transform: rotate(var(--a)) translate(200px) rotate(calc(var(--a) * -1)); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; text-align: center; white-space: nowrap; }
.mb .av { width: 56px; height: 56px; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4), 0 0 0 6px rgba(255, 255, 255, .06); }
.mb .av svg { width: 26px; height: 26px; }
.parle { position: absolute; left: 50%; top: 50%; width: 246px; transform: translate(-50%, -50%); display: flex; flex-direction: column; }
.av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 90%, #fff), color-mix(in srgb, var(--c) 60%, #000)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4); }
.av svg { width: 19px; height: 19px; }
/* les cartes qui arrivent autour */
.sat { border-radius: 20px; padding: 14px 15px; margin: 0; translate: -50% -50%; background: linear-gradient(155deg, rgba(38, 70, 104, .97), rgba(14, 30, 48, .98)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .5); font-size: 12.5px; }
.st-h { display: flex; align-items: center; gap: 10px; }
.st-h b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.2; }
.st-h small, .sat > small { display: block; font-size: 11.5px; color: var(--txt2); line-height: 1.3; }
.st-t { font-size: 12.5px; font-weight: 500; color: var(--txt2); margin-bottom: 6px; }
.docs { position: relative; height: 62px; margin-top: 12px; }
.docs i { position: absolute; left: 14px; top: 2px; width: 44px; height: 58px; border-radius: 3px; background: #f6f3ec; transform: rotate(-8deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.docs i + i { left: 40px; transform: rotate(6deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .4), inset 0 0 0 2px #ff7b6b; }
.docs em { position: absolute; right: 0; top: 20px; font-style: normal; font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 123, 107, .2); color: #ff9c8f; }
.anneau { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.anneau svg:first-child { position: absolute; inset: 0; transform: rotate(-90deg); }
.anneau circle { stroke: rgba(255, 255, 255, .14); stroke-width: 5; }
.anneau circle.p { stroke: var(--c); stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--d, 0)); }
.anneau > svg + svg { width: 20px; height: 20px; }
.fl { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--trait); font-size: 12px; line-height: 1.3; }
.fl .av { width: 28px; height: 28px; } .fl .av svg { width: 14px; height: 14px; }
.fl em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--txt3); font-variant-numeric: tabular-nums; }

/* ---------- les connexions, sur le bureau ---------- */
.cables svg { display: block; overflow: visible; }
.cables path, .cables circle, .cables rect { fill: none; stroke-linecap: round; }
.cables .rond { stroke: rgba(159, 211, 245, .1); stroke-width: 3; stroke-dasharray: 4 22; }
.cables .prise { stroke: rgba(159, 211, 245, .5); stroke-width: 4; }
.cables path.g { stroke-width: 30; opacity: 0; }
.cables path.f { stroke-width: 6; opacity: 0; }
.cables .port { fill: #0b1826; stroke-width: 6; opacity: 0; }
.cables path.e { stroke: rgba(255, 209, 102, .8); stroke-width: 5; stroke-dasharray: 16 18; opacity: 0; }
.carte { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; will-change: transform, opacity; border-radius: 16px 16px 6px 6px; padding: 0 14px 0 72px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 34%, #1d3854), #12263b 70%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .34), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 50px color-mix(in srgb, var(--c) 46%, transparent); display: flex; flex-direction: column; justify-content: center; opacity: 0; }
.carte i { position: absolute; left: 14px; top: 50%; margin-top: -23px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4), 0 6px 14px rgba(0, 0, 0, .3); }
.carte svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carte b { font-size: 18.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.carte span { font-size: 12px; line-height: 1.3; color: rgba(232, 241, 250, .82); margin-top: 3px; }
.carte u { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 0 0 6px 6px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.reflet-c { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 46%, transparent), rgba(0, 0, 0, 0) 78%); border-radius: 4px 4px 40% 40%; opacity: 0; }
.paquet { border-radius: 50%; background: radial-gradient(circle, #fff 0 26%, var(--c) 32%, rgba(0, 0, 0, 0) 70%); opacity: 0; }
.dalle { border-radius: 14px; border: 2px dashed rgba(255, 209, 102, .75); background: rgba(255, 209, 102, .07); padding: 12px 16px 12px 58px; display: flex; flex-direction: column; justify-content: center; opacity: 0; }
.dalle svg { position: absolute; left: 16px; top: 50%; margin-top: -15px; width: 30px; height: 30px; fill: none; stroke: rgba(255, 209, 102, .85); stroke-width: 1.6; stroke-linecap: round; }
.dalle b { font-size: 17px; font-weight: 500; line-height: 1.15; color: #ffe6a8; }
.dalle span { font-size: 12px; color: rgba(255, 230, 168, .7); margin-top: 2px; }
.sol-mot { display: grid; place-items: center; font-size: 38px; font-weight: 300; letter-spacing: -.02em; color: rgba(255, 209, 102, .8); opacity: 0; }
/* ---------- la fin de page : une grande feuille posée sur le bureau, puis le bureau vide ---------- */
.clair { position: relative; z-index: 22; background: linear-gradient(180deg, #fbf9f4, var(--papier) 30%, #f1ece2); color: var(--encre); box-shadow: 0 -30px 90px rgba(0, 0, 0, .6), 0 40px 90px rgba(0, 0, 0, .65); }
.clair::before { content: ""; position: absolute; left: clamp(14px, 2.6vw, 38px); top: 0; bottom: 0; width: 22px; background: radial-gradient(circle, #101b28 0 9.5px, rgba(16, 27, 40, .3) 10px, rgba(0, 0, 0, 0) 11px) 50% 140px / 22px 520px repeat-y; }
.clair::after { content: ""; position: absolute; left: clamp(52px, 7vw, 104px); top: 0; bottom: 0; width: 1.5px; background: rgba(210, 96, 78, .38); }
.dans { max-width: 1180px; margin: 0 auto; padding-left: var(--bord); padding-right: var(--bord-d); }
.clair .dans { padding-left: max(var(--bord), clamp(70px, 9.5vw, 140px)); position: relative; z-index: 1; }
.dit { padding-block: clamp(80px, 11vw, 150px) clamp(54px, 7vw, 96px); }
.dit p { margin: 0; font-size: clamp(30px, 5vw, 76px); font-weight: 300; line-height: 1.06; letter-spacing: -.035em; max-width: 15em; text-wrap: balance; }
.dit .mt { display: inline-block; opacity: .13; transition: opacity .3s ease; }
.dit .mt.ok { opacity: 1; }
.trait-s { display: block; width: min(520px, 62%); height: auto; margin-top: 10px; }
.trait-s path { fill: none; stroke: #2456c4; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease .15s; }
.dit.fini .trait-s path { stroke-dashoffset: 0; }
[data-entre] { opacity: 0; translate: 0 30px; transition: opacity .6s ease, translate .8s cubic-bezier(.2, .9, .3, 1); }
[data-entre].la { opacity: 1; translate: 0 0; }
.duo-f { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(70px, 10vw, 130px); }
.garanties h2, .et-tete h2 { margin: 0; font-size: clamp(28px, 3.4vw, 50px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.coches { list-style: none; margin: clamp(18px, 2.4vw, 30px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 44px); }
.coches li { display: grid; grid-template-columns: 30px 1fr; gap: 0 16px; padding: 20px 0; border-top: 1.5px solid rgba(11, 31, 51, .8); }
.coches i { position: relative; width: 26px; height: 26px; margin-top: 2px; border: 1.8px solid var(--encre); border-radius: 4px; }
.coches i::after { content: ""; position: absolute; left: -3px; top: -13px; width: 40px; height: 38px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 38'%3E%3Cpath d='M6 20c3 3 6 7 8 12C19 20 27 10 37 3' fill='none' stroke='%232456c4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.coches b { display: block; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 4px; }
.coches span { font-size: 15px; line-height: 1.5; color: #40566b; }
.memo { position: relative; margin-top: clamp(10px, 3vw, 44px); padding: 40px 28px 44px; background: linear-gradient(160deg, #ffe592, var(--or) 68%, #f2bf4c); color: #2d2203; border-radius: 2px 2px 30px 2px; box-shadow: 0 22px 36px rgba(11, 31, 51, .2), 0 2px 4px rgba(11, 31, 51, .16); transform: rotate(1.7deg); }
.memo::before { content: ""; position: absolute; left: 50%; top: -15px; width: 118px; height: 32px; margin-left: -59px; background: rgba(255, 255, 255, .7); transform: rotate(-2.5deg); box-shadow: 0 1px 2px rgba(11, 31, 51, .16); }
.memo h3 { margin: 0 0 14px; font-size: clamp(21px, 2vw, 27px); font-weight: 500; letter-spacing: -.02em; line-height: 1.16; text-wrap: balance; }
.memo p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.etapes { padding-bottom: clamp(70px, 9vw, 120px); }
.et-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.4vw, 46px); }
.et-tete p { margin: 0; max-width: 24em; font-size: 17px; color: #40566b; }
.pas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); counter-reset: e; }
.pas li { counter-increment: e; position: relative; padding-top: 86px; }
.pas li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 64px; height: 64px; display: grid; place-items: center; font-size: 30px; font-weight: 500; color: #2456c4; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M9 34C6 16 22 5 36 6c14 1 23 11 22 26-1 15-13 26-28 25C16 56 6 46 8 30c1-9 8-17 18-21' fill='none' stroke='%232456c4' stroke-width='2.600' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pas li::after { content: ""; position: absolute; left: 78px; right: -8px; top: 32px; border-top: 2px dashed rgba(36, 86, 196, .5); }
.pas li:last-child::after { display: none; }
.pas b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.22; margin-bottom: 8px; text-wrap: balance; }
.pas span { display: block; font-size: 15px; line-height: 1.5; color: #40566b; }
/* le talon à détacher, comme au bas d'une facture */
.talon { position: relative; z-index: 1; border-top: 2px dashed rgba(11, 31, 51, .45); }
.talon::before { content: ""; position: absolute; left: clamp(60px, 8vw, 118px); top: -15px; width: 28px; height: 28px; background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%230B1F33' stroke-width='1.600' stroke-linecap='round'%3E%3Ccircle cx='6' cy='7' r='3'/%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Cpath d='M8.500 8.800L21 17M8.500 15.200L21 7'/%3E%3C/g%3E%3C/svg%3E") center / 22px no-repeat; }
.talon .dans { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; padding-block: clamp(30px, 4vw, 50px); }
.talon b { display: block; font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; letter-spacing: -.025em; line-height: 1.1; }
.talon span { display: block; margin-top: 6px; font-size: 15.5px; color: #40566b; }
.bouton.encre { background: var(--encre); color: #fff; }
.bouton.encre:hover { background: #12304d; }
/* le bureau, vide : on revoit la scène du début à travers cette fenêtre */
.fenetre { position: relative; z-index: 21; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(4, 10, 18, .97), rgba(4, 10, 18, .93) 30%, rgba(4, 10, 18, .6) 47%, rgba(4, 10, 18, 0) 68%); }
.fenetre .dans { width: 100%; }
.fenetre h2 { margin: 0 0 20px; font-size: clamp(36px, 4.6vw, 76px); font-weight: 300; letter-spacing: -.04em; line-height: 1; max-width: 9.5em; text-wrap: balance; }
.fenetre p { margin: 0 0 28px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: var(--txt2); max-width: 27em; }
/* le sommaire vers les pages de détail, et le pied de page (les mêmes que sur les pages de texte) */
.sommaire { padding-bottom: clamp(60px, 8vw, 110px); }
.sommaire h2 { margin: 0; font-size: clamp(28px, 3.4vw, 50px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.portes { list-style: none; margin: clamp(22px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.portes li { border-top: 1.5px solid rgba(11, 31, 51, .8); }
.portes a { display: block; padding: 16px 0 24px; text-decoration: none; color: var(--encre); }
.portes b { display: block; font-weight: 500; font-size: 20px; letter-spacing: -.01em; line-height: 1.25; }
.portes a:hover b { text-decoration: underline; text-decoration-color: #2456c4; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.portes span { display: block; margin-top: 5px; font-size: 15px; line-height: 1.5; color: #40566b; }
.pied { background: var(--abysse); color: var(--txt3); font-size: 14px; position: relative; z-index: 22; }
.pied .dans { padding-block: 40px calc(26px + env(safe-area-inset-bottom, 0px)); }
.plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 26px; margin: 0 0 34px; }
.plan b { display: block; margin-bottom: 8px; color: #fff; font-weight: 500; font-size: 14.5px; }
.plan a { display: block; padding: 4px 0; color: var(--txt2); text-decoration: none; }
.plan a:hover { color: #fff; text-decoration: underline; }
.bas { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; padding-top: 22px; border-top: 1px solid var(--trait); font-size: 13px; }
.bas .marque { color: #fff; margin-right: auto; }
.bas p { margin: 0; max-width: 46em; }

/* ---------- téléphone et petites largeurs ---------- */
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .txt { left: var(--bord); right: var(--bord-d); width: auto; top: auto; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: none; margin-left: 0; }
  .txt h1 { font-size: clamp(31px, 9.2vw, 50px); margin-bottom: 14px; }
  .txt h2 { font-size: clamp(27px, 7.6vw, 40px); margin-bottom: 12px; }
  .txt p { font-size: 15.5px; margin-bottom: 10px; }
  .txt .cta { margin-top: 16px; }
  .txt.hero { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); margin-left: 0; width: auto; }
  .txt.etroit { width: auto; }
  .txt.hero .bouton { min-height: 46px; padding: 0 20px; font-size: 15px; }
  .fam { gap: 6px; margin-top: 12px; }
  .fam span { padding: 5px 10px; font-size: 12.5px; }
  .metiers { min-height: 4.6em; }
  .legende { grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12.5px; margin-top: 12px; }
  .defile { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); font-size: 12px; gap: 4px; }
  .defile::after { height: 20px; }
  .voile { background: linear-gradient(180deg, rgba(4, 10, 18, 0) 34%, rgba(4, 10, 18, .84) 58%, rgba(4, 10, 18, .97)); }
  .rail { display: none; }
  .st h2 { font-size: 34px; }
  .st .bloc > p { font-size: 15px; margin-bottom: 10px; }
  .st dl div { padding: 7px 0 7px 18px; }
  .st dl div::before { top: 14px; }
  .st dt { font-size: 14.5px; } .st dd { font-size: 12.5px; }
  .st .aussi, .st .sat.m-non { display: none; }
  .reunit { margin-bottom: 10px; gap: 5px; }
  .reunit span { font-size: 11.5px; padding: 4px 9px; }
  .reunit em { font-size: 12px; }
  .clair::before, .clair::after { display: none; }
  .clair .dans { padding-left: var(--bord); }
  .duo-f { grid-template-columns: 1fr; }
  .coches { grid-template-columns: 1fr; }
  .pas { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .pas li::after { display: none; }
  .talon::before { left: 24px; }
  .fenetre { align-items: flex-end; background: linear-gradient(180deg, rgba(4, 10, 18, 0) 30%, rgba(4, 10, 18, .86) 56%, rgba(4, 10, 18, .97)); }
  .fenetre .dans { padding-bottom: 44px; }
}
@media (max-width: 520px) { .pas { grid-template-columns: 1fr; } .bouton.petit { padding: 0 14px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .defile::after { animation: none; } .bouton, [data-entre], [data-q], .trait-s path { transition: none; } [data-entre] { opacity: 1; translate: 0 0; } .trait-s path { stroke-dashoffset: 0; } }
