/* Wudstyz — site d'un éditeur d'apps Mac.
   Police système (San Francisco sur Mac), aucune police ni service externe.
   Chaque app apporte sa propre couleur (--c) ; le site reste sobre autour. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .1);
  --line-2: rgba(0, 0, 0, .18);
  --accent: #ff5a1f;
  --link: #0066cc;
  --ok: #0f7a3d; --err: #c0182b;
  --r: 18px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px -14px rgba(0,0,0,.18);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.05), 0 40px 80px -30px rgba(0,0,0,.4);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -.026em; line-height: 1.07; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -.022em; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
small { color: var(--muted); }
.muted { color: var(--muted); }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: clamp(48px, 6vw, 84px) 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 600 .85rem/1.2 var(--sans); color: var(--muted); margin: 0 0 12px; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--muted); max-width: 640px; line-height: 1.5; }
.grad { color: inherit; }
.link { color: var(--link); text-decoration: none; font-weight: 500; } .link:hover { text-decoration: underline; }
.link::after { content: " ›"; }

/* ---------- Barre de navigation ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.topbar-in { width: min(1180px, 100% - 48px); height: 56px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { text-decoration: none; font-size: .92rem; color: #424245; padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.nav > a:hover { color: var(--ink); background: var(--bg-2); }
.nav > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-acc { display: flex; gap: 6px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.pill-btn { text-decoration: none; font-size: .88rem; font-weight: 500; padding: 7px 14px; border-radius: 8px; color: var(--ink); background: var(--bg-2); transition: background .15s; }
.pill-btn:hover { background: #e8e8ed; }
.pill-btn.dark { background: var(--ink); color: #fff; } .pill-btn.dark:hover { background: #3a3a3d; }
.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); } .burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; padding: 12px 22px;
  border-radius: 12px; border: 1px solid transparent; background: var(--bg-2); color: var(--ink); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: #e8e8ed; }
.btn:active { transform: scale(.98); }
.btn .ar { width: 15px; height: 15px; transition: transform .2s; } .btn:hover .ar { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; } .btn-primary:hover { background: #3a3a3d; }
.btn-light { background: #fff; border-color: var(--line-2); } .btn-light:hover { background: #fff; border-color: var(--ink); }
.btn-quiet { background: transparent; } .btn-quiet:hover { background: var(--bg-2); }
.btn-ghost { background: transparent; border-color: var(--line-2); } .btn-ghost:hover { background: var(--bg-2); }
.btn-danger { background: #fff; color: var(--err); border-color: rgba(192,24,43,.35); } .btn-danger:hover { background: #fff1f2; }
.btn-accent { background: var(--accent); color: #fff; } .btn-accent:hover { background: #e84a10; }
.btn-sm { padding: 7px 14px; font-size: .88rem; border-radius: 9px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.inline { display: inline-block; margin: 0; }

.flash { width: min(1000px, 100% - 40px); margin: 20px auto -10px; padding: 14px 20px; border-radius: 14px; font-weight: 600; background: var(--bg-2); border: 1px solid var(--line-2); }
.flash.ok { background: #e8f8ee; color: var(--ok); } .flash.error { background: #fff0f1; color: var(--err); }

/* ---------- Accueil : en-tête ---------- */
.hero { text-align: center; padding: clamp(56px, 7vw, 96px) 0 0; overflow: clip; }
.hero h1 { max-width: 19ch; margin-inline: auto; }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.5; }
.hero .cta { justify-content: center; margin-top: 30px; }
/* Rangée d'icônes façon Dock */
.dock { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; }
.dock li { display: block; }
.dock img { width: 60px; height: 60px; border-radius: 22.4%; box-shadow: 0 6px 14px -4px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.08); transition: transform .25s var(--ease); }
.dock a { display: block; } .dock a:hover img { transform: translateY(-8px) scale(1.14); }
.dock.left { justify-content: flex-start; margin-top: 28px; }
/* Vitrine : trois captures qui flottent (suivent un peu la souris) */
.showcase { position: relative; width: min(1120px, 100% - 40px); height: clamp(250px, 46vw, 560px); margin: 52px auto 0; perspective: 1600px; }
.float { position: absolute; display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); transition: transform .25s ease-out; will-change: transform; }
.float img { width: 100%; height: auto; display: block; }
.f1 { width: 66%; left: 17%; top: 0; z-index: 3; animation: pop .9s .1s var(--ease) both, bob 7s ease-in-out infinite; }
.f2 { width: 46%; left: 0; top: 18%; z-index: 2; transform: rotate(-4deg); animation: pop .9s .25s var(--ease) both, bob 8s ease-in-out -2s infinite; }
.f3 { width: 46%; right: 0; top: 24%; z-index: 2; transform: rotate(4deg); animation: pop .9s .4s var(--ease) both, bob 9s ease-in-out -4s infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes pop { from { opacity: 0; scale: .92; } }
.showcase::after { content: ""; position: absolute; left: -24px; right: -24px; bottom: -2px; height: 36%; z-index: 4; pointer-events: none; background: linear-gradient(to top, #fff 12%, rgba(255,255,255,0)); }

/* ---------- Chapitres d'apps ---------- */
.chapters { display: grid; gap: 20px; }
.chapter { --t: color-mix(in srgb, var(--c) 9%, #fff); position: relative; overflow: hidden; background: var(--t); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 32px; padding: clamp(28px, 4vw, 52px) 0 0 clamp(28px, 4vw, 56px); }
.chapter:nth-child(even) { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 56px) 0 0; }
.chapter:nth-child(even) .chapter-text { order: 2; }
.chapter-text { align-self: center; padding-bottom: clamp(28px, 4vw, 52px); }
.chapter-icon { width: 64px; height: 64px; border-radius: 22.4%; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.06); margin-bottom: 22px; }
.chapter h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 8px; }
.chapter .tag-line { font-size: 1.2rem; color: #424245; line-height: 1.4; margin-bottom: 8px; max-width: 30ch; }
.chapter .meta { font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.chapter .cta { margin-top: 22px; }
.chapter-shot { align-self: end; margin-right: -9%; border-radius: 14px 0 0 0; overflow: hidden; box-shadow: -18px -10px 60px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line); background: #fff; }
.chapter:nth-child(even) .chapter-shot { margin-right: 0; margin-left: -9%; border-radius: 0 14px 0 0; box-shadow: 18px -10px 60px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line); }
.chapter-shot { max-height: min(400px, 36vw); }
.chapter-shot img { width: 100%; height: auto; }
.chapter-link { position: absolute; inset: 0; z-index: 1; }
.chapter .btn { position: relative; z-index: 2; }

/* ---------- Titres de section ---------- */
.sec-head { margin-bottom: 40px; max-width: 760px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head.center { margin-inline: auto; text-align: center; } .sec-head.center .lead { margin-inline: auto; }
.sub { margin: 56px 0 20px; font-size: 1.6rem; }
.tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; color: #515154; background: var(--bg-2); border-radius: 6px; padding: 3px 9px; }
.tags.big { margin: 26px 0; } .tags.big li { font-size: .88rem; padding: 6px 12px; }

/* ---------- Cartes d'apps ---------- */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.bento { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.app { display: flex; flex-direction: column; }
.app-media { aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--c) 10%, #f5f5f7); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.app-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.card:hover .app-media img { transform: scale(1.03); }
.app-body { display: flex; gap: 14px; padding: 18px 20px 22px; align-items: flex-start; }
.app-icon { width: 52px; height: 52px; flex: none; border-radius: 22.4%; box-shadow: 0 4px 12px -4px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.07); background: #fff; }
.app-icon.ph, .project-icon.ph { display: grid; place-items: center; font: 700 1.5rem var(--display); color: #fff; background: var(--c); }
.app-body h3 { margin: 0 0 3px; font-size: 1.2rem; } .app-body p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.glyph { font: 700 4rem var(--display); color: var(--c); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.mission { padding: 24px; }
.mission-client { font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.mission h3 { font-size: 1.3rem; margin-bottom: 8px; } .mission p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.mission-go { display: none; }
.nda { margin: 36px auto 0; font-size: .88rem; color: var(--muted); max-width: 70ch; text-align: center; }

/* ---------- À propos ---------- */
.about-head { padding-bottom: 20px; }
.about-head h1 { max-width: 18ch; }
.about-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: clamp(40px, 6vw, 72px); }
.prose { font-size: 1.15rem; max-width: 66ch; color: #333336; line-height: 1.65; } .prose p { margin-bottom: 1.3em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.about-cols .prose p:first-child { font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.factcard { background: var(--bg-2); border-radius: var(--r-lg); padding: 28px 30px; position: sticky; top: 90px; }
.factcard h2 { font-size: 1rem; letter-spacing: 0; margin: 0 0 14px; color: var(--muted); font-weight: 600; }
.factcard dl { margin: 0; }
.factcard dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.factcard dt { color: var(--muted); } .factcard dd { margin: 0; font-weight: 600; text-align: right; } .factcard dd a { text-decoration: none; color: var(--link); } .factcard dd a:hover { text-decoration: underline; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--line); }
.value h3 { font-size: 1.25rem; margin-bottom: 8px; } .value p { margin: 0; color: var(--muted); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; }

/* ---------- Entreprise ---------- */
.def-rows { border-top: 1px solid var(--line); }
.def-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.def-row h3 { margin: 0; font-size: 1.25rem; } .def-row p { margin: 0; color: var(--muted); }
.company-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; text-decoration: none; padding: clamp(28px, 4.5vw, 52px); border-radius: var(--r-lg); background: var(--bg-2); transition: background .2s; }
.company-band:hover { background: #ececf0; }
.company-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; } .company-band p { margin: 0; max-width: 60ch; color: var(--muted); }
.company-band .eyebrow { margin-bottom: 8px; }

/* ---------- Contact / formulaires ---------- */
.contact-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-card h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); } .contact-text p { color: var(--muted); font-size: 1.15rem; }
.form { display: grid; gap: 16px; }
.contact-card .form, .auth-card .form, .panel .form { background: transparent; padding: 0; box-shadow: none; border: 0; }
.form label, .fields label, .admin-main fieldset label { display: grid; gap: 7px; font-weight: 600; font-size: .9rem; }
input, textarea, select { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0,113,227,.18); }
input[type=color] { padding: 3px; height: 46px; } input[type=checkbox] { width: auto; accent-color: var(--ink); }
textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }

/* ---------- Pages internes ---------- */
.page-head { padding-top: clamp(56px, 8vw, 96px); }
.page-head .sec-head { margin-bottom: 0; }
.section.tight { padding-top: 0; }
.section.page-head:has(+ .tight) { padding-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin: 30px 0 34px; }
.filters nav { display: flex; flex-wrap: wrap; gap: 8px; }
.filters nav a { text-decoration: none; font-size: .94rem; border-radius: 8px; padding: 8px 16px; background: var(--bg-2); transition: .15s; }
.filters nav a.on, .filters nav a:hover { background: var(--ink); color: #fff; }
.filters form { min-width: 240px; }
.empty { color: var(--muted); }
/* Page d'une app */
.project-hero { --t: color-mix(in srgb, var(--c, #888) 10%, #fff); background: var(--t); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.crumbs { margin-bottom: 22px; } .crumbs a { font-size: .92rem; color: var(--link); text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.project-title { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.project-icon { width: 112px; height: 112px; border-radius: 22.4%; box-shadow: 0 16px 34px -12px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.07); background: #fff; font-size: 2.6rem; flex: none; }
.project-title h1 { margin: 0 0 6px; font-size: clamp(2.4rem, 5.6vw, 4.2rem); } .project-title .lead { margin: 0; color: #424245; }
.project-hero .eyebrow { margin-bottom: 6px; }
.gallery { display: grid; gap: 24px; margin: 56px 0 20px; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.shot img { width: 100%; height: auto; cursor: zoom-in; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .shot:first-child { grid-column: 1 / -1; } .gallery .shot:nth-child(2):last-child { grid-column: 1 / -1; } }
.project-text { max-width: 760px; margin: 50px auto 0; }
.project-text .tags { justify-content: flex-start; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.lightbox img { max-width: 96vw; max-height: 94vh; border-radius: 12px; box-shadow: 0 30px 100px rgba(0,0,0,.5); cursor: zoom-out; }

.auth { padding: 80px 0 70px; display: grid; place-items: center; }
.auth-card { width: min(450px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 36px; }
.auth-card h1 { font-size: 2.2rem; } .alt { margin: 22px 0 0; color: var(--muted); font-size: .95rem; } .alt a { font-weight: 600; color: var(--ink); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 30px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.panel h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.danger { margin-top: 44px; border-color: rgba(192,24,43,.3); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; } .danger h2 { flex-basis: 100%; margin: 0; color: var(--err); }
.msglist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.msglist li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.msglist li.unread { border-left: 4px solid var(--accent); } .msglist p { margin: 6px 0 0; white-space: pre-wrap; }
.is-admin .page-head, main > .section.prose { padding-top: 70px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--bg-2); margin-top: 60px; font-size: .88rem; color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding: 48px 0 28px; }
.footer-brand .brand { color: var(--ink); } .footer-brand p { margin: 12px 0 0; max-width: 34ch; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 48px; align-content: start; }
.footer-links a { text-decoration: none; color: #424245; } .footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); padding: 16px 0 26px; font-size: .8rem; }

/* ---------- Back-office ---------- */
.admin { display: grid; grid-template-columns: 240px 1fr; gap: 34px; width: min(1320px, 100% - 40px); margin: 0 auto; padding: 48px 0 70px; align-items: start; }
.admin-side { position: sticky; top: 76px; display: grid; gap: 2px; background: var(--bg-2); border-radius: var(--r); padding: 14px; }
.admin-side .eyebrow { margin: 6px 12px 8px; }
.admin-side a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 9px 14px; border-radius: 9px; transition: .15s; }
.admin-side a:hover { background: #e8e8ed; } .admin-side a.on { background: var(--ink); color: #fff; }
.admin-side .out { margin-top: 8px; color: var(--muted); }
.admin-main { min-width: 0; } .admin-main h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); } .admin-main h2 { font-size: 1.4rem; margin-top: 38px; letter-spacing: -.02em; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi { text-decoration: none; background: var(--bg-2); border-radius: 16px; padding: 20px; transition: background .2s; }
.kpi:hover { background: #ececf0; } .kpi b { display: block; font: 700 2.6rem/1 var(--display); letter-spacing: -.04em; } .kpi span { color: var(--muted); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; align-items: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th { text-align: left; font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--bg-2); padding: 12px 16px; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; } .table .right { text-align: right; white-space: nowrap; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; border-radius: 6px; padding: 2px 8px; background: var(--bg-2); }
.badge.ok { background: #e1f6e9; color: var(--ok); } .badge.star { background: #fff0cf; color: #8a5a00; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.fields .wide, .fields .checks { grid-column: 1 / -1; } .checks { display: flex; gap: 24px; flex-wrap: wrap; }
.check { display: flex !important; align-items: center; gap: 8px !important; font-weight: 600; }
.admin-main fieldset { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; margin: 0 0 20px; display: grid; gap: 16px; min-width: 0; }
.admin-main legend { font-weight: 700; font-size: 1.05rem; padding: 0 8px; }
.uploader { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.uploader small { flex-basis: 100%; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; } .thumbs img { height: 56px; width: auto; border-radius: 8px; border: 1px solid var(--line); }
.lead-sm { color: var(--muted); max-width: 70ch; } .bad { color: var(--err); font-weight: 600; }
.panel .inline { display: inline; margin-right: 8px; }

/* ---------- README GitHub + infos de version ---------- */
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; max-width: 820px; margin: 36px auto 0; padding: 0; }
.facts li { flex: 1 1 200px; background: var(--bg-2); border-radius: 14px; padding: 16px 20px; display: grid; gap: 2px; }
.facts b { font-size: 1.05rem; } .facts span { color: var(--muted); font-size: .92rem; } .facts a { color: var(--link); text-decoration: none; } .facts a:hover { text-decoration: underline; }
.project-text:has(.readme) { max-width: 820px; }
.readme { max-width: none; font-size: 1.05rem; line-height: 1.7; }
.readme h2 { font-size: 1.8rem; margin: 2em 0 .6em; padding-top: .7em; border-top: 1px solid var(--line); }
.readme h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; } .readme h4, .readme h5 { margin: 1.3em 0 .4em; }
.readme ul, .readme ol { margin: 0 0 1.2em; padding-left: 1.4em; } .readme li { margin: .3em 0; } .readme li > ul, .readme li > ol { margin: .3em 0; }
.readme a { color: var(--link); text-decoration: none; } .readme a:hover { text-decoration: underline; }
.readme code { font: .86em var(--mono); background: var(--bg-2); border-radius: 6px; padding: .15em .4em; }
.readme pre { background: #1d1d1f; color: #f5f5f7; border-radius: 14px; padding: 18px 20px; overflow-x: auto; margin: 0 0 1.4em; }
.readme pre code { background: none; padding: 0; color: inherit; font-size: .88rem; }
.readme img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin: .4em 0; cursor: zoom-in; }
.readme blockquote { margin: 0 0 1.3em; padding: 14px 18px; border-left: 4px solid var(--line-2); background: var(--bg-2); border-radius: 0 12px 12px 0; color: #3a3a3d; }
.readme hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.readme .table-scroll { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 12px; }
.readme table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.readme th, .readme td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.readme th { background: var(--bg-2); font-weight: 600; } .readme tr:last-child td { border-bottom: 0; }

/* ---------- Boutique (en veille) ---------- */
.cart-btn b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .72rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 34px; }
.shop-grid.three { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product { display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); } .card:hover .product-media img { transform: scale(1.04); }
.sold { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: .75rem; font-weight: 600; background: var(--ink); color: #fff; border-radius: 6px; padding: 4px 10px; }
.product-body { padding: 16px 20px 20px; display: grid; gap: 4px; } .product-body h3 { margin: 0; font-size: 1.15rem; } .product-body p { margin: 0; color: var(--muted); font-size: .94rem; }
.price { font: 600 1.15rem var(--display); }
.empty-shop { text-align: center; padding: 56px 24px; margin-top: 30px; background: var(--bg-2); border-radius: var(--r-lg); display: grid; justify-items: center; gap: 10px; }
.empty-shop h2, .empty-shop h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); } .empty-shop p { margin: 0 0 8px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 26px; }
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .product-gallery .shot.first { grid-column: 1 / -1; }
.ph-big { aspect-ratio: 1; display: grid; place-items: center; font: 700 6rem var(--display); color: var(--muted); }
.product-info { position: sticky; top: 90px; } .product-info h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 10px; } .product-info .price { font-size: 1.8rem; margin: 0 0 14px; display: block; }
.buy { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin: 26px 0 16px; } .buy label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; } .buy select { width: 90px; }
.soldout { font-weight: 700; color: var(--err); margin: 24px 0; }
.facts-sm { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 6px; } .facts-sm li { font-size: .82rem; background: var(--bg-2); border-radius: 6px; padding: 5px 11px; }
.cart-lines { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; }
.cart-lines li { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.cart-img { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; } .cart-img img { width: 100%; height: 100%; object-fit: cover; } .ph { font: 700 2rem var(--display); color: var(--muted); }
.cart-name { display: grid; gap: 2px; } .cart-name a { text-decoration: none; }
.qty { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; } .qty input { width: 70px; padding: 8px 10px; }
.cart-price { min-width: 80px; text-align: right; }
.cart-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; } .cart-sum { min-width: min(100%, 340px); display: grid; gap: 16px; }
.sum { margin: 14px 0 0; display: grid; gap: 8px; } .sum > div { display: flex; justify-content: space-between; } .sum dt { color: var(--muted); } .sum dd { margin: 0; font-weight: 600; }
.sum .tot { border-top: 1px solid var(--line-2); padding-top: 10px; font: 700 1.2rem var(--display); } .sum .tot dt { color: var(--ink); }
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 30px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; } .mini-lines li { display: flex; justify-content: space-between; gap: 16px; }
.small { font-size: .88rem; } .panel + .panel { margin-top: 18px; }
.narrow.page-head { max-width: 820px; }

/* ---------- Apparition au scroll (discrète) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .about-cols, .contact-card, .def-row { grid-template-columns: 1fr; gap: 24px; }
  .factcard { position: static; }
  .chapter, .chapter:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 0 28px; }
  .chapter:nth-child(even) .chapter-text { order: 0; }
  .chapter-text { padding-bottom: 0; padding-right: 28px; }
  .chapter-shot, .chapter:nth-child(even) .chapter-shot { margin: 0 -9% 0 0; border-radius: 14px 0 0 0; box-shadow: -10px -6px 40px -16px rgba(0,0,0,.35), 0 0 0 1px var(--line); }
  .product-grid, .checkout { grid-template-columns: 1fr; } .product-info { position: static; }
  .cart-lines li { grid-template-columns: 64px 1fr auto; } .cart-img { width: 64px; height: 64px; } .cart-price { text-align: left; }
  .admin { grid-template-columns: 1fr; } .admin-side { position: static; grid-template-columns: repeat(2, 1fr); } .admin-side .eyebrow { grid-column: 1 / -1; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .topbar-in { flex-wrap: wrap; height: auto; min-height: 56px; padding: 8px 0; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 10px; }
  .nav.open { display: flex; } .nav > a { padding: 13px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-acc { margin: 10px 0 0; padding: 0; border: 0; } .nav-acc .pill-btn { flex: 1; text-align: center; padding: 11px; }
  .dock img { width: 52px; height: 52px; }
  .float.f2, .float.f3 { display: none; } .f1 { width: 100%; left: 0; }
  .footer-links { grid-template-columns: repeat(2, 1fr); width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.section.page-head:has(+ .about-cols) { padding-bottom: 24px; }

/* ---------- Réalisations de l'entreprise ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.work-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.work-media { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); } .work-card:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-client { margin: 0; font-size: .85rem; font-weight: 600; color: var(--muted); }
.work-body h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.work-body p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-body .link { margin-top: auto; padding-top: 10px; }
.band-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.band-thumbs { display: flex; } .band-thumbs img { width: 112px; height: 74px; object-fit: cover; object-position: top; border-radius: 10px; border: 3px solid var(--bg-2); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); margin-left: -22px; } .band-thumbs img:first-child { margin-left: 0; }
.company-band:hover .band-thumbs img { border-color: #ececf0; }
.company-band > div:first-child { flex: 1 1 360px; }

/* ---------- Carrousel des réalisations ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; margin: 0 -2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline-offset: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .work-card { flex: 0 0 min(360px, 84%); scroll-snap-align: start; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); font-size: 1.6rem; line-height: 1; padding: 0 0 4px; cursor: pointer; transition: background .15s, opacity .15s; }
.carousel-nav button:hover:not(:disabled) { background: #e8e8ed; }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
@media (max-width: 760px) { .carousel-nav { display: none; } .carousel-track .work-card { flex-basis: 82%; } }

/* ---------- Index des apps (accueil) ---------- */
.mini-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.mini-apps a { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; }
.mini-apps a:hover { background: var(--bg-2); }
.mini-apps img, .mini-apps .ph { width: 48px; height: 48px; flex: none; border-radius: 22.4%; box-shadow: 0 3px 10px -4px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.07); }
.mini-apps b { display: block; font-size: 1.05rem; } .mini-apps small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.carousel-nav .pause { font-size: .7rem; letter-spacing: -.1em; padding: 0; margin-right: auto; width: 38px; height: 38px; align-self: center; background: transparent; border: 1px solid var(--line-2); }
.carousel-nav .pause:hover:not(:disabled) { background: var(--bg-2); }
.app-body .plat { margin-top: 6px; font-size: .8rem; color: #8a8a90; }

/* ---------- Mises à jour ---------- */
.rhythm-wrap { margin-top: 8px; padding: 24px 28px 18px; background: var(--bg-2); border-radius: var(--r-lg); }
.rhythm-wrap .eyebrow { margin-bottom: 14px; }
.rhythm { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 150px; }
.rhythm .bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.rhythm .bar span { display: block; width: 100%; border-radius: 6px 6px 3px 3px; background: var(--ink); min-height: 3px; transition: background .2s; }
.rhythm .bar:hover span { background: var(--accent); }
.rhythm .bar i { position: absolute; left: 0; right: 0; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--muted); bottom: calc(100% - 0px); display: none; }
.rhythm .bar small { display: block; margin-top: 6px; font-size: .7rem; color: var(--muted); height: 1em; white-space: nowrap; }
.feed { display: grid; gap: 18px; }
.month { font-size: 1.1rem; letter-spacing: 0; color: var(--muted); font-weight: 600; margin: 26px 0 -4px; text-transform: capitalize; }
.month:first-child { margin-top: 0; }
.release-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c, var(--ink)); border-radius: var(--r); padding: 22px 26px; }
.release-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.release-card header img { width: 44px; height: 44px; border-radius: 22.4%; box-shadow: 0 3px 10px -4px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.07); }
.release-card h3 { margin: 0; font-size: 1.25rem; } .release-card h3 a { text-decoration: none; } .release-card h3 a:hover { text-decoration: underline; }
.release-card .ver { font: 600 .95rem var(--mono); background: var(--bg-2); border-radius: 6px; padding: 2px 8px; vertical-align: .1em; }
.release-card header p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.notes { font-size: 1rem; max-width: none; color: #333336; line-height: 1.6; }
.notes p { margin-bottom: .7em; font-size: 1rem !important; color: inherit !important; }
.notes h2, .notes h3, .notes h4 { font-size: 1rem; letter-spacing: 0; margin: 1em 0 .3em; padding: 0; border: 0; }
.notes ul { margin: 0 0 .8em; padding-left: 1.3em; } .notes li { margin: .2em 0; }
.notes a { color: var(--link); } .notes img { max-width: 100%; border-radius: 10px; }
.release-card .cta { margin-top: 14px; }
.versions .release-card { margin-bottom: 0; }

/* ---------- Rythme par jour + notes repliées (remplace la version par semaine) ---------- */
.rhythm { grid-template-columns: repeat(30, 1fr); gap: 4px; height: 160px; }
.rhythm .bar { flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.rhythm .bar i { position: static; display: block; font-style: normal; font-size: .7rem; font-weight: 600; color: var(--muted); height: 1.2em; line-height: 1.2em; bottom: auto; }
.rhythm .bar span { border-radius: 4px 4px 2px 2px; min-height: 2px; }
.rhythm .bar small { position: absolute; top: 100%; margin-top: 6px; left: 50%; transform: translateX(-50%); height: auto; }
.rhythm-wrap { padding-bottom: 36px; }
.js .notes.clamp { max-height: 118px; overflow: hidden; position: relative; }
.js .notes.clamp::after { content: ""; position: absolute; inset: auto 0 0; height: 56px; background: linear-gradient(to top, #fff, rgba(255,255,255,0)); }
.js .notes.clamp.open { max-height: none; } .js .notes.clamp.open::after { display: none; }
.more { margin-top: 8px; border: 0; background: transparent; color: var(--link); font: 500 .95rem var(--sans); cursor: pointer; padding: 4px 0; } .more:hover { text-decoration: underline; }
@media (max-width: 760px) { .rhythm { gap: 2px; } .rhythm .bar i { display: none; } }

/* ---------- Logo de l'entreprise ---------- */
.co-logo { display: block; width: min(100%, 190px); height: auto; margin: 0 0 22px; }
.company-band .band-main { display: flex; align-items: center; gap: 30px; flex: 1 1 380px; }
.company-band .band-logo { height: 84px; width: auto; flex: none; }
@media (max-width: 760px) { .company-band .band-main { flex-direction: column; align-items: flex-start; gap: 16px; } .company-band .band-logo { height: 64px; } }

/* ---------- Correctifs mobile : rien ne doit élargir la page ---------- */
.feed { grid-template-columns: minmax(0, 1fr); }
.release-card { min-width: 0; }
.notes { overflow-wrap: anywhere; }
.notes pre { overflow-x: auto; max-width: 100%; }
.notes table { display: block; overflow-x: auto; max-width: 100%; }
.app-body .plat { color: #6e6e73; }
.admin-side .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; }
.nav-acc:empty { display: none; }
.todo { margin-bottom: 22px; border-color: rgba(255,90,31,.45); background: #fff8f4; } .todo h2 { margin-top: 0; font-size: 1.1rem; } .todo ul { margin: 0; padding-left: 1.2em; } .todo li { margin: .3em 0; } .todo a { color: inherit; }

/* ---------- Grands catalogues : pagination, mois, plateformes ---------- */
.bento .month, .tiles .month { grid-column: 1 / -1; margin: 22px 0 -6px; } .bento .month:first-child, .tiles .month:first-child { margin-top: 0; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 48px 0 0; }
.pager a, .pager .cur { min-width: 40px; height: 40px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 10px; text-decoration: none; font-size: .95rem; background: var(--bg-2); }
.pager a:hover { background: #e8e8ed; } .pager .cur { background: var(--ink); color: #fff; font-weight: 600; } .pager .gap { color: var(--muted); padding: 0 4px; }
.sub-filters { margin-top: -14px; } .results { color: var(--muted); margin: 0 0 22px; }
.dock-more { display: grid !important; place-items: center; width: 60px; height: 60px; border-radius: 22.4%; background: var(--bg-2); color: var(--muted); font: 600 .95rem var(--display); text-decoration: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: transform .25s var(--ease), background .2s; }
.dock-more:hover { transform: translateY(-8px) scale(1.1); background: #e8e8ed; color: var(--ink); }
@media (max-width: 760px) { .dock li:nth-child(n+9):not(:last-child) { display: none; } .dock-more { width: 52px; height: 52px; } }
.filters form { min-width: min(100%, 320px); }
.byline { margin: 10px 0 0; font-size: .95rem; color: var(--muted); } .byline a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bon à savoir (questions et réponses repliables) ---------- */
.qa { max-width: 820px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 4px; font: 600 1.2rem/1.35 var(--display); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.qa summary:hover { color: #000; }
.qa-a { padding: 0 4px 24px; max-width: 68ch; color: #424245; font-size: 1.05rem; line-height: 1.65; } .qa-a p { margin: 0; }
.qa-a a { color: var(--link); text-decoration: none; } .qa-a a:hover { text-decoration: underline; }

/* ---------- Bon à savoir : pastilles de questions + bulle de réponse ---------- */
.qa2 { max-width: 920px; }
.qa-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.qa-tab { font: 500 .95rem/1.2 var(--sans); color: #424245; background: var(--bg-2); border: 1px solid transparent; border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.qa-tab:hover { background: #e8e8ed; color: var(--ink); }
.qa-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.qa-tab:active { transform: scale(.97); }
.qa-panels { position: relative; margin-top: 18px; --tail-x: 40px; }
.qa-panel { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 22px 26px; box-shadow: var(--shadow); }
.qa-panel p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: #333336; max-width: 66ch; }
.qa-panel a { color: var(--link); text-decoration: none; } .qa-panel a:hover { text-decoration: underline; }
.qa-q { display: block; margin-bottom: 6px; font: 700 1.05rem var(--display); }
.js .qa2.ready .qa-q { display: none; }
.js .qa2.ready .qa-panels::before { content: ""; position: absolute; top: -8px; left: var(--tail-x); width: 14px; height: 14px; margin-left: -7px; background: #fff; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); transform: rotate(45deg); transition: left .3s var(--ease); z-index: 1; border-top-left-radius: 3px; }
.js .qa2.ready .qa-panel:not([hidden]) { animation: qaIn .3s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(6px); } }
.qa2:not(.ready) .qa-tabs { display: none; }
.qa2:not(.ready) .qa-panel + .qa-panel { margin-top: 12px; }
@media (max-width: 760px) { .qa-tab { font-size: .9rem; padding: 9px 13px; } .qa-panel { padding: 18px 20px; } .qa-panel p { font-size: 1.02rem; } }
@media (max-width: 760px) {
  .qa-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-right: -24px; padding: 2px 24px 6px 0; position: relative; }
  .qa-tabs::-webkit-scrollbar { display: none; }
  .qa-tab { flex: none; white-space: nowrap; scroll-snap-align: center; }
}
.actions form.inline input[type=search] { min-width: min(100%, 340px); }
.cols > .panel + .panel { margin-top: 0; }
