/* * Auteur : Simon-Pierre Boucher — contact@spboucher.ai * * Groupe KA — système de design « éditorial sharp » * (identité partagée avec Lou-Ka, Vrai-Prix et ValoPlex) * Typo display Space Grotesk / texte Inter / micro-étiquettes JetBrains Mono * Signature : bordures encre + ombres décalées (néo-brutalisme raffiné) * Accent électrique lime #d9f26b sur encre verte profonde */ @import "tailwindcss"; :root { --paper: #f5f3ee; --surface: #ffffff; --surface-2: #faf9f5; --ink: #141814; --ink-2: #4d5551; --ink-3: #8b928c; --line: rgba(20, 24, 20, 0.14); --line-strong: rgba(20, 24, 20, 0.85); --green: #1c5c41; --green-deep: #123f2e; --lime: #d9f26b; --lime-soft: #f0f9d2; --amber: #e8a33d; --amber-soft: #fdf3e2; --danger: #b3423a; --danger-soft: #fbe9e7; --r-card: 10px; --r-ctl: 6px; --shadow-flat: 0 1px 2px rgba(20, 24, 20, 0.05); --shadow-off: 6px 6px 0 var(--ink); --shadow-off-soft: 8px 8px 0 rgba(20, 24, 20, 0.08); } @theme inline { --color-paper: var(--paper); --color-surface: var(--surface); --color-surface-2: var(--surface-2); --color-ink: var(--ink); --color-ink-2: var(--ink-2); --color-ink-3: var(--ink-3); --color-green: var(--green); --color-green-deep: var(--green-deep); --color-lime: var(--lime); --color-lime-soft: var(--lime-soft); --color-amber: var(--amber); --color-amber-soft: var(--amber-soft); --color-danger: var(--danger); --font-display: var(--font-space-grotesk), system-ui, sans-serif; --font-body: var(--font-inter), system-ui, sans-serif; --font-mono: var(--font-jetbrains), ui-monospace, monospace; } html { scroll-behavior: smooth; } body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; } /* Grain de film pleine page — jamais de z-index sur body > * (position: relative seulement) pour ne pas casser les utilitaires z-* de Tailwind. */ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.35; z-index: 9999; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); } body > * { position: relative; } h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; } ::selection { background: var(--lime); color: var(--ink); } :focus-visible { outline: 2px solid var(--green); outline-offset: 2px; } /* ---------- Micro-typographie ---------- */ .kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); } .kicker::before { content: ""; width: 22px; height: 2px; background: var(--green); } .klabel { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); } .gk-display { font-family: var(--font-display); } .gk-mono { font-family: var(--font-mono); } /* Traitements de titre signature */ .outline-txt { color: transparent; -webkit-text-stroke: 2px var(--ink); } .hl { display: inline-block; background: var(--lime); border-radius: 8px; padding: 0 10px 2px; transform: rotate(-1deg); } /* ---------- Cartes ---------- */ .gk-card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); } .gk-card-hover { transition: transform 0.18s ease, box-shadow 0.18s ease; } .gk-card-hover:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-off); } /* ---------- Boutons ---------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); font-family: var(--font-display); font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease; } .btn:active { transform: translate(2px, 2px); box-shadow: none !important; } .btn-primary { background: var(--ink); color: var(--lime); box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.25); } .btn-primary:hover { background: var(--green-deep); } .btn-ghost { background: transparent; color: var(--ink); } .btn-ghost:hover { background: var(--lime); } .btn-lime { background: var(--lime); color: var(--ink); box-shadow: 4px 4px 0 rgba(217, 242, 107, 0.25); } .btn-lime:hover { background: var(--lime-soft); } /* Boutons OAuth (connexion) — couleurs officielles des marques, mais bordure encre + ombre dure pour rester dans le langage du site. */ .btn-google { background: #ffffff; color: #1f1f1f; box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.25); } .btn-google:hover { background: #f4f4f1; } .btn-apple { background: #000000; color: #ffffff; box-shadow: 4px 4px 0 rgba(20, 24, 20, 0.25); } .btn-apple:hover { background: #1d1d1f; } /* ---------- Champs de formulaire (KA ID) ---------- */ .field { display: block; width: 100%; padding: 11px 14px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-ctl); font-family: var(--font-body); font-size: 14px; color: var(--ink); box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.08); transition: box-shadow 0.15s ease; } .field::placeholder { color: var(--ink-3); } .field:focus { outline: 2px solid var(--green); outline-offset: 1px; box-shadow: 3px 3px 0 rgba(28, 92, 65, 0.25); } /* ---------- Carte de membre Groupe KA (même gabarit que Lou·Ka) ---------- */ .mc { position: relative; max-width: 520px; overflow: hidden; margin-top: 28px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 24px 26px 0; box-shadow: 10px 10px 0 rgba(20, 24, 20, 0.18); } .mc-watermark { position: absolute; right: -18px; top: -34px; pointer-events: none; font-family: var(--font-display); font-weight: 700; font-size: 170px; letter-spacing: -0.06em; color: rgba(217, 242, 107, 0.07); transform: rotate(-8deg); line-height: 1; } .mc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .mc-brand { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.04em; } .mc-ka { background: var(--lime); color: var(--ink); padding: 1px 6px 3px; border-radius: 5px; margin-left: 3px; display: inline-block; transform: rotate(-2deg); } .mc-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(245, 243, 238, 0.55); } .mc-id-row { margin: 26px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .mc-id-block { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .mc-qr { width: 78px; height: 78px; flex: none; border-radius: 10px; border: 2px solid var(--lime); background: #ffffff; padding: 5px; } .mc-id-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(217, 242, 107, 0.65); } .mc-id { font-family: var(--font-mono); font-weight: 700; color: var(--lime); font-size: clamp(22px, 6vw, 34px); letter-spacing: 0.14em; text-shadow: 0 0 24px rgba(217, 242, 107, 0.35); } .mc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-bottom: 18px; } .mc-holder { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .mc-holder-name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mc-holder-role { display: inline-block; align-self: flex-start; margin: 3px 0 2px; padding: 2px 8px 3px; border-radius: 5px; background: var(--lime); color: var(--ink); font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; transform: rotate(-1deg); } .mc-holder-since { font-family: var(--font-mono); font-size: 10.5px; color: rgba(245, 243, 238, 0.5); letter-spacing: 0.06em; } .mc-avatar { width: 52px; height: 52px; border-radius: 999px; border: 2px solid var(--lime); flex: none; object-fit: cover; } .mc-avatar-empty { display: flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 22px; } .mc-strip { display: flex; gap: 5px; margin: 0 -26px; padding: 9px 18px; background: rgba(217, 242, 107, 0.1); border-top: 1px solid rgba(217, 242, 107, 0.25); overflow: hidden; } .mc-strip i { display: block; width: 3px; border-radius: 1px; background: var(--lime); opacity: 0.7; } .mc-strip i:nth-child(3n) { height: 14px; opacity: 0.35; } .mc-strip i:nth-child(3n + 1) { height: 9px; } .mc-strip i:nth-child(3n + 2) { height: 17px; opacity: 0.9; } /* ---------- Carte physique imprimable (CR80 : 85,6 × 54 mm) ---------- */ .pcard { position: relative; width: 85.6mm; height: 54mm; overflow: hidden; border-radius: 3.18mm; /* rayon normalisé ISO/IEC 7810 */ outline: 0.3mm dashed rgba(20, 24, 20, 0.4); /* repère de découpe */ outline-offset: 1mm; flex: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; } .pcard-front { background: var(--ink); color: var(--paper); padding: 4.5mm 5mm; display: flex; flex-direction: column; } .pcard-watermark { position: absolute; right: -4mm; top: -8mm; pointer-events: none; font-family: var(--font-display); font-weight: 700; font-size: 34mm; letter-spacing: -0.06em; color: rgba(217, 242, 107, 0.08); transform: rotate(-8deg); line-height: 1; } .pcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 3mm; } .pcard-brand { font-family: var(--font-display); font-weight: 700; font-size: 5mm; letter-spacing: -0.03em; } .pcard-ka { display: inline-block; background: var(--lime); color: var(--ink); padding: 0 1.4mm 0.4mm; border-radius: 1.2mm; transform: rotate(-2deg); } .pcard-label { font-family: var(--font-mono); font-size: 1.9mm; letter-spacing: 0.16em; color: rgba(245, 243, 238, 0.55); } .pcard-id { margin-top: 5mm; display: flex; flex-direction: column; gap: 0.8mm; } .pcard-id-label { font-family: var(--font-mono); font-size: 1.9mm; letter-spacing: 0.2em; color: rgba(217, 242, 107, 0.65); } .pcard-id-value { font-family: var(--font-mono); font-weight: 700; font-size: 6.4mm; letter-spacing: 0.12em; color: var(--lime); } .pcard-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 3mm; } .pcard-holder { display: flex; flex-direction: column; gap: 0.7mm; min-width: 0; } .pcard-name { font-weight: 600; font-size: 3.4mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pcard-role { align-self: flex-start; padding: 0.4mm 1.6mm 0.6mm; border-radius: 1mm; background: var(--lime); color: var(--ink); font-family: var(--font-mono); font-weight: 700; font-size: 1.9mm; letter-spacing: 0.1em; transform: rotate(-1deg); } .pcard-since { font-family: var(--font-mono); font-size: 1.9mm; letter-spacing: 0.08em; color: rgba(245, 243, 238, 0.5); } .pcard-avatar { width: 11mm; height: 11mm; border-radius: 999px; border: 0.5mm solid var(--lime); object-fit: cover; flex: none; } .pcard-avatar-empty { display: flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 5mm; } .pcard-back { background: #ffffff; border: 0.4mm solid var(--ink); display: flex; align-items: center; gap: 4mm; padding: 4.5mm 5mm; } .pcard-back-left { flex: none; } .pcard-qr { width: 30mm; height: 30mm; display: block; } .pcard-back-right { display: flex; flex-direction: column; gap: 1.6mm; min-width: 0; } .pcard-back-title { font-family: var(--font-display); font-weight: 700; font-size: 3.4mm; line-height: 1.15; text-transform: uppercase; letter-spacing: -0.01em; } .pcard-back-url { font-family: var(--font-mono); font-size: 2.2mm; color: var(--green); word-break: break-all; } .pcard-nfc { display: inline-flex; align-items: center; gap: 1.5mm; align-self: flex-start; padding: 1mm 2mm; border: 0.3mm dashed var(--ink); border-radius: 1.5mm; font-family: var(--font-mono); font-size: 1.9mm; letter-spacing: 0.06em; color: var(--ink-2); } .pcard-nfc-ico { font-weight: 700; color: var(--green); letter-spacing: -0.05em; } .pcard-back-foot { font-family: var(--font-mono); font-size: 1.7mm; line-height: 1.5; color: var(--ink-3); } @media print { .no-print, header, .ticker, footer, body::before { display: none !important; } body { background: #ffffff; } .print-page { max-width: none; padding: 0; } .print-cards { margin: 0; gap: 10mm; } .pcard { box-shadow: none; } @page { margin: 12mm; } } /* ---------- Pilules de stats ---------- */ .stat-chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; box-shadow: 3px 3px 0 rgba(20, 24, 20, 0.12); } .pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--green); flex: none; } .pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--lime); animation: pulse 2.4s ease-out infinite; } @keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 70%, 100% { transform: scale(1.4); opacity: 0; } } /* ---------- Ticker ---------- */ .ticker { overflow: hidden; background: var(--ink); border-bottom: 1.5px solid var(--ink); } .ticker-inner { display: inline-flex; white-space: nowrap; padding: 8px 0; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); animation: ticker 44s linear infinite; } .ticker-item::after { content: "◆"; margin: 0 18px; opacity: 0.55; font-size: 8px; vertical-align: 2px; } @keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } } /* ---------- Tableau éditorial ---------- */ .src-wrap { border: 1.5px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); overflow-x: auto; background: var(--surface); } .src-table { width: 100%; border-collapse: collapse; font-size: 13.5px; } .src-table th { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-align: left; color: var(--ink-3); background: var(--surface-2); padding: 10px 14px; border-bottom: 1.5px solid var(--ink); } .src-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; } .src-table tr:last-child td { border-bottom: none; } .src-table tbody tr:hover { background: var(--surface-2); } /* ---------- Figure d'agrégation ---------- */ .fig-flow { stroke-dasharray: 7 7; animation: figflow 1.1s linear infinite; } @keyframes figflow { to { stroke-dashoffset: -14; } } .bar-grow { transform-origin: left center; animation: growx 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; } @keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } } /* ---------- Animations d'entrée ---------- */ .rise { opacity: 0; animation: rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; } @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } /* ---------- Accessibilité ---------- */ @media (prefers-reduced-motion: reduce) { .ticker-inner, .pulse-dot::after, .fig-flow { animation: none; } .rise { animation: none; opacity: 1; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } html { scroll-behavior: auto; } }