/* Brochure LabCompta — A4 multipage (écran et impression) */
@page { size: A4; margin: 0; }
:root { --encre: #0F172A; --doux: #475569; --fond: #F8FAFC; --bord: #E2E8F0; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #E2E8F0; }
body { font: 10.5pt/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--encre); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.page { width: 210mm; height: 297mm; margin: 10mm auto; background: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0 14mm; box-shadow: 0 10px 40px rgba(15, 23, 42, .15); page-break-after: always; break-after: page; }
@media print { html, body { background: #fff; } .page { margin: 0; box-shadow: none; } * { box-shadow: none !important; } }

/* Couverture */
.couv { padding: 0; color: #fff; background: radial-gradient(130% 90% at 0% 0%, #3B82F6 0%, #4F46E5 40%, #7C3AED 72%, #0D9488 115%); }
.cv-haut { padding: 18mm 16mm 0; }
.marque { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22pt; letter-spacing: -.02em; }
.marque img { width: 50px; height: 50px; border-radius: 13px; }
.marque small { display: block; font-size: 8.5pt; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-left: 4px; }
.couv h1 { font-size: 36pt; line-height: 1.05; letter-spacing: -.03em; margin: 16mm 0 6mm; }
.couv h1 em { font-style: normal; background: linear-gradient(90deg, #FDE68A, #A7F3D0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.couv p { font-size: 13pt; max-width: 150mm; opacity: .95; }
.cv-ecran { margin: 10mm -10mm 0 22mm; background: #0F172A; padding: 7px; border-radius: 12px 0 0 12px; outline: 1px solid rgba(255, 255, 255, .3); }
.cv-ecran img { display: block; width: 100%; border-radius: 6px; }
.cv-points { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm; padding: 0 16mm 16mm; }
.cv-points div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; padding: 4mm; }
.cv-points b { display: block; font-size: 11pt; }
.cv-points span { font-size: 8.5pt; opacity: .9; }

/* Pages intérieures */
.ent { display: flex; align-items: center; gap: 10px; height: 20mm; font-size: 11pt; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; color: var(--c); border-bottom: 2px solid color-mix(in srgb, var(--c) 20%, transparent); margin-bottom: 6mm; }
.pastille { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.num { margin-left: auto; font-size: 22pt; font-weight: 800; color: color-mix(in srgb, var(--c) 25%, #fff); letter-spacing: 0; }
.bloc { margin-bottom: 7mm; }
.bloc h3 { display: flex; align-items: center; gap: 9px; font-size: 15pt; line-height: 1.15; margin: 0 0 1.5mm; letter-spacing: -.01em; }
.bloc h3 img { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); flex: none; }
.acc { color: var(--c); font-weight: 600; margin: 0 0 3mm; font-size: 10.5pt; }
.bloc ul { list-style: none; margin: 3mm 0 0; padding: 0; columns: 2; column-gap: 7mm; }
.bloc li { position: relative; padding-left: 6mm; margin: 0 0 1.6mm; font-size: 9.4pt; color: #1E293B; break-inside: avoid; }
.bloc li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--c); width: 4mm; height: 4mm; border-radius: 50%; font-size: 7pt; line-height: 4mm; text-align: center; font-weight: 800; margin-top: .7mm; }
figure { margin: 0; height: 74mm; overflow: hidden; border-radius: 10px; border: 1px solid var(--bord); background: #F1F5F9; position: relative; }
figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10mm; background: linear-gradient(transparent, rgba(241, 245, 249, .95)); }
figure img { display: block; width: 122%; margin-left: -22%; }
.pp { margin-top: auto; display: flex; align-items: center; gap: 8px; height: 14mm; color: #94A3B8; font-size: 8.5pt; border-top: 1px solid var(--bord); }
.pp img { width: 16px; height: 16px; }

/* Dernière page */
.aussi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm; }
.a { background: var(--fond); border: 1px solid var(--bord); border-radius: 12px; padding: 4mm; }
.a img { width: 30px; height: 30px; display: block; margin-bottom: 2mm; }
.a b { display: block; font-size: 10.5pt; }
.a span { font-size: 8.6pt; color: var(--doux); line-height: 1.35; display: block; }
.icones { margin-top: 10mm; padding: 6mm; border-radius: 14px; background: linear-gradient(135deg, #EEF2FF, #F0FDFA); border: 1px solid var(--bord); }
.icones h3 { margin: 0 0 1mm; font-size: 14pt; }
.icones p { margin: 0 0 4mm; color: var(--doux); }
.rangee { display: flex; gap: 5mm; flex-wrap: wrap; }
.rangee img { width: 34px; height: 34px; }
.contact { margin-top: 10mm; display: flex; gap: 6mm; align-items: center; padding: 8mm; border-radius: 16px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #3B82F6, #4F46E5 45%, #7C3AED 80%, #0D9488 130%); }
.contact img { width: 64px; height: 64px; border-radius: 16px; outline: 2px solid rgba(255, 255, 255, .5); }
.contact b { display: block; font-size: 20pt; letter-spacing: -.02em; }
.contact span { opacity: .85; }
.contact p { margin: 2mm 0 0; font-size: 11pt; }
.mention { margin-top: auto; margin-bottom: 10mm; font-size: 8pt; color: #94A3B8; }
