/* Phemios showroom : charte commune des pages publiques (nuit, Space Grotesk, bleu #4d7cff, vert #10b981, angles droits).
   Une page = un écran sur ordinateur (sauf article et pages de contenu) ; sur mobile, onglets + barre du bas. */
@font-face { font-family: "Space Grotesk"; src: url("/vendor/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/vendor/fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "JetBrains Mono"; src: url("/vendor/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/vendor/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root { --bg: #070b14; --bg2: #0d1424; --bg3: #141d31; --tx: #e8ecf3; --dx: rgba(232,236,243,.68); --ds: rgba(232,236,243,.45); --fl: rgba(148,163,184,.16); --b: #4d7cff; --v: #10b981; --grad: linear-gradient(90deg, var(--b), var(--v)); --mono: "JetBrains Mono", ui-monospace, monospace; }
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body.sr { background: var(--bg); color: var(--tx); font: 15px/1.5 "Space Grotesk", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow: hidden; display: flex; flex-direction: column; }
body.sr a { color: inherit; text-decoration: none; }
body.sr ul { padding: 0; list-style: none; }
body.sr :focus-visible { outline: 2px solid var(--b); outline-offset: 2px; }
.sr-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--b); color: #fff; padding: 8px 14px; }
.sr-skip:focus { left: 8px; }

/* en-tête et pied communs */
.sr-head { display: flex; align-items: center; gap: 28px; padding: 18px 48px; border-bottom: 1px solid var(--fl); position: relative; z-index: 3; background: rgba(7,11,20,.6); flex: none; }
.sr-head .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.sr-head .brand img { width: 30px; height: auto; }
.sr-head nav { display: flex; gap: 24px; margin-left: auto; color: var(--dx); font-size: 14px; }
.sr-head nav a:hover { color: var(--tx); }
.sr-head nav a.on { color: var(--tx); box-shadow: inset 0 -2px 0 var(--b); padding-bottom: 4px; }
.sr-head .cx { border: 1px solid var(--fl); padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.sr-head .cx:hover { border-color: var(--b); }
.sr-head .btn { padding: 9px 16px; white-space: nowrap; }
.btn { display: inline-block; background: var(--b); color: #fff !important; padding: 12px 22px; font-weight: 500; font-size: 14px; border: 1px solid var(--b); cursor: pointer; font-family: inherit; }
.btn:hover { background: #3a68ec; }
.btn2 { display: inline-block; border: 1px solid var(--fl); padding: 12px 22px; font-size: 14px; color: var(--tx); }
.btn2:hover { border-color: var(--b); background: rgba(77,124,255,.08); }
.k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--v); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { display: inline-block; font-size: 11px; border: 1px solid var(--fl); padding: 3px 8px; color: var(--dx); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
body.sr > main { flex: 1; min-height: 0; position: relative; }
.sr-foot { padding: 10px 48px; border-top: 1px solid var(--fl); font-size: 12px; color: var(--ds); display: flex; justify-content: space-between; gap: 16px; flex: none; }
.sr-foot a:hover { color: var(--tx); }
.sr-bar { display: none; }

/* ============ ACCUEIL ============ */
#g { position: absolute; right: 60px; top: 0; width: 50%; bottom: 140px; z-index: 0; }
#g canvas { display: block; width: 100%; height: 100%; }
.hero { position: relative; z-index: 1; padding: 18px 48px 0; max-width: 820px; }
.hero .who { display: flex; align-items: center; gap: 20px; }
.ph { flex: none; padding: 1px; background: var(--grad); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero .ph { width: 104px; height: 104px; }
.hero h1 { margin-top: 6px; font-size: 50px; line-height: 1.05; font-weight: 500; letter-spacing: -.04em; }
.hero .line { margin-top: 18px; font-size: 19px; line-height: 1.4; color: var(--tx); }
.term { margin-top: 40px; max-width: 680px; border: 1px solid var(--fl); background: rgba(13,20,36,.88); padding: 16px 20px; font: 13.5px/1.75 var(--mono); }
.term .th { display: flex; justify-content: space-between; color: var(--ds); border-bottom: 1px solid var(--fl); padding-bottom: 8px; margin-bottom: 8px; }
.term dl { display: grid; grid-template-columns: 112px 1fr; row-gap: 7px; line-height: 1.85; }
.term dt { color: #7f93b8; }
.term dd { margin: 0; color: var(--tx); }
.term .ok { color: var(--v); }
.hero .acts { margin-top: 38px; }
.tiles { position: absolute; left: 48px; right: 48px; bottom: 22px; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tiles a { height: 96px; background: rgba(13,20,36,.85); border: 1px solid var(--fl); padding: 12px 14px; display: flex; flex-direction: column; transition: border-color .2s, background .2s; }
.tiles a:hover { border-color: var(--b); background: rgba(20,29,49,.95); }
.tiles b { color: var(--b); font: 500 12px/1 var(--mono); }
.tiles strong { margin-top: auto; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.tiles span { margin-top: 3px; font-size: 11.5px; line-height: 1.3; color: var(--ds); }
.m-dom { display: none; }

/* ============ RÉALISATIONS ============ */
.rea { height: 100%; display: grid; grid-template-columns: 300px 1fr; }
.rea aside { border-right: 1px solid var(--fl); padding: 34px 0; }
.rea aside h1 { font-size: 30px; font-weight: 500; letter-spacing: -.03em; padding: 0 32px 20px; }
.rea aside a { display: flex; gap: 14px; padding: 13px 32px; font-size: 14.5px; color: var(--dx); border-left: 2px solid transparent; }
.rea aside a i { font-style: normal; font: 500 12px/1.9 var(--mono); color: var(--ds); }
.rea aside a:hover { color: var(--tx); }
.rea aside a.on { background: var(--bg2); border-left-color: var(--b); color: var(--tx); }
.rea aside a.on i { color: var(--b); }
.panels { min-height: 0; position: relative; overflow: hidden; }
.p { position: absolute; inset: 0; padding: 34px 48px; display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.p.on { display: grid; }
.p h2 { margin-top: 12px; font-size: 40px; line-height: 1.08; font-weight: 500; letter-spacing: -.035em; }
.p .intro { margin-top: 14px; font-size: 15.5px; color: var(--dx); max-width: 60ch; }
.pts { margin-top: 18px; }
.pts li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--fl); font-size: 14px; color: var(--tx); }
.pts li::before { content: "→"; position: absolute; left: 0; top: 10px; color: var(--v); }
.p .tags { margin-top: 16px; }
.p .acts { margin-top: 20px; }
.vis { min-width: 0; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { border: 1px solid var(--fl); background: var(--bg2); padding: 14px 16px; }
.kpi b { display: block; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.kpi span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--ds); }
.box { margin-top: 12px; border: 1px solid var(--fl); background: var(--bg2); padding: 14px 16px; }
.box h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dx); font-weight: 500; margin-bottom: 6px; }
.rows div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 6px 0; border-top: 1px solid var(--fl); font-size: 13px; }
.rows div span:first-child { color: #7f93b8; }
.shots { display: grid; gap: 10px; }
.shots figure { border: 1px solid var(--fl); background: var(--bg2); }
.shots img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.shots figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13px; }
.shots figcaption a { color: var(--b); font-size: 12.5px; white-space: nowrap; }
.shots--3 { grid-template-columns: 1fr 1fr; }
.shots--3 figure:first-child { grid-column: 1 / -1; }
.shots--3 figure:first-child img { aspect-ratio: 21 / 9; }
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--fl); padding: 4px; background: var(--bg2); }
.cap { margin-top: 10px; font-size: 12.5px; color: var(--ds); }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.logos div { border: 1px solid var(--fl); background: var(--bg2); aspect-ratio: 1; display: grid; place-items: center; padding: 18px; }
.logos img { width: 100%; height: 100%; object-fit: contain; }
.swatch { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.swatch div { border: 1px solid var(--fl); }
.swatch i { display: block; height: 46px; }
.swatch span { display: block; padding: 6px 10px; font: 12px/1.4 var(--mono); color: var(--dx); }
.g3d { height: min(520px, 64vh); border: 1px solid var(--fl); background: radial-gradient(circle at 50% 50%, rgba(77,124,255,.06), transparent 60%); }
.g3d canvas { display: block; width: 100%; height: 100%; }
.flow { display: grid; gap: 10px; }
.flow div { border: 1px solid var(--fl); background: var(--bg2); padding: 14px 16px; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.flow div b { font: 500 22px/1 var(--mono); color: var(--b); }
.flow div strong { display: block; font-size: 15px; font-weight: 600; }
.flow div span { font-size: 13px; color: var(--dx); }
.chart { height: min(440px, 56vh); border: 1px solid var(--fl); background: var(--bg2); }

/* ============ ARTICLES ============ */
.arts { height: 100%; padding: 34px 48px; display: grid; grid-template-rows: auto 1fr; gap: 22px; }
.arts .top { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.arts h1, .art h1, .apr h1 { margin-top: 10px; font-size: 40px; line-height: 1.08; font-weight: 500; letter-spacing: -.035em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.chips button { font: 500 13px/1 "Space Grotesk", sans-serif; color: var(--dx); background: none; border: 1px solid var(--fl); padding: 8px 12px; cursor: pointer; }
.chips button:hover { color: var(--tx); }
.chips button.on { color: var(--tx); border-color: var(--b); background: rgba(77,124,255,.12); }
.cards { min-height: 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.card { position: relative; background: var(--bg2); border: 1px solid var(--fl); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
a.card:hover { border-color: var(--v); }
.card.big { grid-row: span 2; border-color: var(--b); padding: 26px; }
.card .meta { display: flex; justify-content: space-between; gap: 10px; font: 500 12px/1.3 var(--mono); }
.card .meta b { color: var(--v); font-weight: 500; }
.card .meta span { color: var(--ds); }
.card h2 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.card.big h2 { font-size: 28px; line-height: 1.15; font-weight: 500; letter-spacing: -.025em; }
.card p { font-size: 13.5px; color: var(--dx); }
.card.big p { font-size: 15px; }
.card .num { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--fl); }
.card .num b { display: block; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.card .num span { font-size: 12px; color: var(--ds); }
.card .lire { color: var(--b); font-size: 14px; font-weight: 500; }
.soon { position: absolute; right: 16px; bottom: 16px; font: 500 11px/1 var(--mono); color: var(--ds); border: 1px solid var(--fl); padding: 4px 8px; }
.bars { margin-top: 10px; display: grid; gap: 14px; }
.bars div > span { display: block; font-size: 13px; color: var(--dx); margin-bottom: 6px; }
.bars s { display: block; height: 10px; background: var(--bg3); text-decoration: none; }
.bars s i { display: block; height: 100%; }
.card.hide { display: none; }
.cards.filtre { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; align-content: start; }
.cards.filtre .card { min-height: 220px; }
.cards.filtre .card.big { grid-row: auto; }

/* ============ ARTICLE ============ */
body.sr.sr-scroll { overflow: auto; height: auto; min-height: 100%; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding: 34px 48px 56px; }
.art .k a:hover { color: var(--tx); }
.by { margin-top: 16px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--dx); }
.by .ph { width: 34px; height: 34px; }
.body { margin-top: 26px; max-width: 760px; font-size: 15.5px; line-height: 1.65; color: var(--dx); }
.body p + p, .body p + h3, .body table + p { margin-top: 18px; }
.body h3 { margin-top: 30px; font-size: 21px; font-weight: 600; color: var(--tx); letter-spacing: -.01em; }
.body table { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 14.5px; }
.body th, .body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--fl); }
.body th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ds); font-weight: 500; background: var(--bg2); }
.body td { color: var(--tx); }
.body td:not(:first-child), .body th:not(:first-child) { text-align: right; font-family: var(--mono); font-size: 13.5px; }
.body .good { color: var(--v); }
.art aside { border-left: 1px solid var(--fl); padding-left: 28px; display: grid; gap: 14px; align-content: start; }
.art aside .box { margin: 0; }
.art aside ul li { padding: 7px 0; font-size: 14px; border-top: 1px solid var(--fl); }
.art aside ul li:first-child { border-top: 0; }
.art aside .arrow li::before { content: "→ "; color: var(--v); }
.art aside .cta { border-color: var(--b); }
.art aside .cta p { font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 14px; }

/* ============ À PROPOS ============ */
.apr { height: 100%; display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding: 34px 48px; align-items: start; }
.apr .pic { position: relative; width: 200px; height: 200px; margin-top: 8px; }
.apr .pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.apr .pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.apr .sub { margin-top: 6px; color: var(--dx); }
.apr .lead { margin-top: 14px; max-width: 620px; font-size: 15.5px; line-height: 1.6; color: var(--dx); }
.apr .tags { margin-top: 16px; max-width: 760px; }
.tl { margin-top: 20px; border-left: 1px solid var(--fl); max-width: 900px; }
.tl li { position: relative; padding: 0 0 11px 22px; font-size: 14px; color: var(--dx); }
.tl li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; background: var(--b); }
.tl li b { color: var(--tx); font-weight: 600; }
.apr .acts { margin-top: 18px; }

/* ============ PAGES DE CONTENU (offres, contact, mentions, 404) ============ */
body.sr.sr-page { overflow: auto; height: auto; min-height: 100%; display: block; }
body.sr.sr-page > main { display: block; }
body.sr.sr-page .sr-head { position: sticky; top: 0; z-index: 20; background: rgba(7,11,20,.92); backdrop-filter: blur(8px); }
.form-msg.ok { color: var(--v); } .form-msg.err { color: #ff7a7f; }

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  body.sr { overflow: auto; height: auto; min-height: 100%; display: block; padding-bottom: 64px; }
  .sr-head { padding: 12px 16px; gap: 12px; position: sticky; top: 0; z-index: 20; background: rgba(7,11,20,.94); }
  .sr-head nav, .sr-head .cx { display: none; }
  .sr-head .brand { font-size: 17px; }
  .sr-head .brand img { width: 26px; }
  .sr-head .btn { margin-left: auto; padding: 8px 12px; font-size: 13px; }
  .sr-foot { padding: 14px 16px; flex-direction: column; gap: 4px; }
  .sr-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(7,11,20,.97); border-top: 1px solid var(--fl); padding-bottom: env(safe-area-inset-bottom); }
  .sr-bar a { text-align: center; padding: 14px 4px 15px; font-size: 12.5px; color: var(--dx); }
  .sr-bar a.on { color: var(--tx); box-shadow: inset 0 2px 0 var(--b); }

  #g { position: relative; right: auto; width: 100%; height: 250px; bottom: auto; }
  .hero { padding: 0 16px; }
  .hero .ph { width: 60px; height: 60px; }
  .hero .who { gap: 14px; }
  .hero h1 { font-size: 30px; }
  .hero .k { font-size: 11px; letter-spacing: .1em; }
  .hero .line { font-size: 17px; }
  .term { font-size: 11.5px; padding: 12px 14px; }
  .term dl { grid-template-columns: 96px 1fr; row-gap: 2px; line-height: 1.6; }
  .tiles { display: none; }
  .m-dom { display: block; padding: 22px 0 4px; }
  .m-dom .strip { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
  .m-dom .strip::-webkit-scrollbar { display: none; }
  .m-dom .strip button { flex: none; font: 500 13px/1 "Space Grotesk", sans-serif; color: var(--dx); background: none; border: 1px solid var(--fl); padding: 9px 12px; }
  .m-dom .strip button.on { color: var(--tx); border-color: var(--b); background: rgba(77,124,255,.12); }
  .m-dom .one { margin: 4px 16px 0; border: 1px solid var(--fl); background: var(--bg2); padding: 16px; }
  .m-dom .one b { color: var(--b); font: 500 12px/1 var(--mono); }
  .m-dom .one strong { display: block; margin-top: 10px; font-size: 18px; font-weight: 600; }
  .m-dom .one span { display: block; margin-top: 4px; font-size: 14px; color: var(--dx); }
  .m-dom .one a { display: inline-block; margin-top: 12px; color: var(--b); font-size: 14px; }
  .hero .acts .btn, .hero .acts .btn2 { flex: 1; text-align: center; }
  .hero .acts { padding-bottom: 24px; }

  .rea { display: block; height: auto; }
  .rea aside { border-right: 0; border-bottom: 1px solid var(--fl); padding: 20px 0 0; }
  .rea aside h1 { font-size: 26px; padding: 0 16px 12px; }
  .rea aside nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .rea aside nav::-webkit-scrollbar { display: none; }
  .rea aside a { flex: none; padding: 12px 14px; border-left: 0; border-bottom: 2px solid transparent; font-size: 13.5px; gap: 8px; }
  .rea aside a.on { border-bottom-color: var(--b); background: none; }
  .panels { overflow: visible; }
  .p { position: static; padding: 22px 16px 30px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .p h2 { font-size: 28px; }
  .rows div { grid-template-columns: 96px 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .g3d { height: 300px; }
  .chart { height: 300px; }

  .arts { height: auto; padding: 22px 16px; display: block; }
  .arts .top { flex-direction: column; align-items: start; }
  .arts h1, .art h1, .apr h1 { font-size: 28px; }
  .chips { justify-content: flex-start; margin-top: 14px; }
  .cards, .cards.filtre { margin-top: 18px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .card.big { grid-row: auto; padding: 20px; }
  .card.big h2 { font-size: 22px; }
  .card .num b { font-size: 26px; }

  .art { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px 16px 40px; }
  .art aside { border-left: 0; padding-left: 0; }
  .body table { font-size: 13px; }
  .body th, .body td { padding: 9px 8px; }

  .apr { height: auto; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 16px 30px; }
  .apr .pic { width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.shots--2 img { aspect-ratio: 21 / 9; }
/* en-tête protégé des anciens styles (site.css) sur les pages de contenu */
body.sr .sr-head .brand { letter-spacing: -.02em; text-transform: none; font-family: "Space Grotesk", system-ui, sans-serif; color: var(--tx); }
body.sr .sr-head .btn, body.sr .sr-head .cx { border-radius: 0; line-height: 1.5; min-height: 0; box-shadow: none; text-transform: none; letter-spacing: 0; font-family: "Space Grotesk", system-ui, sans-serif; }
body.sr .sr-head .btn { display: inline-block; font-weight: 500; font-size: 14px; }
body.sr .sr-head nav a { padding-top: 0; padding-left: 0; padding-right: 0; letter-spacing: 0; }

/* accueil : devise sous la ligne d'accroche */
.hero .line { font-size: 22px; }
.hero .motto { margin-top: 8px; font: 14px/1.4 var(--mono); color: var(--v); }
/* contact */
.ctc { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; padding: 34px 48px; align-items: center; }
.ctc h1 { margin-top: 10px; font-size: 40px; line-height: 1.08; font-weight: 500; letter-spacing: -.035em; }
.ctc .lead { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--dx); max-width: 52ch; }
.ctc .pts a { color: var(--b); }
.frm { display: grid; gap: 14px; border: 1px solid var(--fl); background: var(--bg2); padding: 24px; position: relative; }
.frm .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.frm label { display: grid; gap: 6px; font-size: 13px; color: var(--dx); }
.frm input, .frm select, .frm textarea { font: 15px/1.4 "Space Grotesk", sans-serif; color: var(--tx); background: var(--bg); border: 1px solid var(--fl); border-radius: 0; padding: 10px 12px; width: 100%; }
.frm textarea { resize: vertical; }
.frm input:focus, .frm select:focus, .frm textarea:focus { outline: none; border-color: var(--b); }
.frm .ok-box { display: flex; gap: 10px; align-items: start; font-size: 12.5px; }
.frm .ok-box input { width: auto; margin-top: 3px; }
.frm .ok-box a { color: var(--b); }
.frm .send { display: flex; align-items: center; gap: 16px; }
.frm .hp { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .hero .line { font-size: 18px; }
  .hero .motto { font-size: 12.5px; }
  .ctc { height: auto; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px 16px 30px; }
  .ctc h1 { font-size: 28px; }
  .frm { padding: 16px; }
  .frm .two { grid-template-columns: minmax(0, 1fr); }
}

/* essayer (/try) : texte à gauche, onglets de l'application à droite */
.tr { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; padding: 34px 48px; align-items: center; }
.tr h1 { margin-top: 10px; font-size: 42px; line-height: 1.08; font-weight: 500; letter-spacing: -.035em; }
.tr .lead { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--dx); max-width: 52ch; }
.tr .steps { list-style: none; padding: 0 0 0 18px; margin: 22px 0 0; border-left: 1px solid var(--fl); display: grid; gap: 12px; }
.tr .steps li { position: relative; font-size: 14.5px; line-height: 1.45; }
.tr .steps li::before { content: ""; position: absolute; left: -22.5px; top: 6px; width: 8px; height: 8px; background: var(--v); }
.tr .steps a { color: var(--b); }
.tr .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tr .note { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--ds); max-width: 56ch; }
.tr-r { display: grid; grid-template-columns: 230px minmax(0, 1fr); border: 1px solid var(--fl); background: var(--bg2); min-height: 0; }
.tr .tabs { display: flex; flex-direction: column; border-right: 1px solid var(--fl); }
.tr .tabs button { display: flex; gap: 10px; align-items: baseline; text-align: left; padding: 14px 16px; border: 0; border-left: 2px solid transparent; border-bottom: 1px solid var(--fl); background: none; color: var(--dx); font: 14px/1.35 "Space Grotesk", system-ui, sans-serif; cursor: pointer; }
.tr .tabs button b { font: 500 12px/1 var(--mono); color: var(--ds); }
.tr .tabs button:hover { color: var(--tx); }
.tr .tabs button.on { border-left-color: var(--b); background: var(--bg3); color: var(--tx); }
.tr .tabs button.on b { color: var(--b); }
.tr .panes { padding: 22px 24px; min-width: 0; }
.tr .tp h2 { margin-top: 8px; font-size: 24px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
.tr .tp > p:not(.k) { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--dx); }
.tr .feat { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.tr .feat li { position: relative; padding-left: 16px; font-size: 13.5px; }
.tr .feat li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--v); }
.tr .tp img { display: block; width: 100%; height: auto; max-height: 250px; object-fit: cover; object-position: top; margin-top: 16px; border: 1px solid var(--fl); }
@media (max-width: 900px) {
  .tr { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 22px 16px 30px; align-items: start; }
  .tr h1 { font-size: 28px; }
  .tr-r { grid-template-columns: minmax(0, 1fr); }
  .tr .tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--fl); scrollbar-width: none; }
  .tr .tabs button { flex: none; border-left: 0; border-bottom: 2px solid transparent; }
  .tr .tabs button.on { border-bottom-color: var(--b); }
  .tr .panes { padding: 16px; }
  .tr .feat { grid-template-columns: minmax(0, 1fr); }
}

/* articles : la grille défile à l'intérieur de l'écran ; cartes des articles vidéo */
.cards { overflow-y: auto; grid-template-rows: none; grid-auto-rows: calc((100% - 12px) / 2); scrollbar-width: thin; scrollbar-color: var(--fl) transparent; }
.cards.filtre { grid-auto-rows: minmax(220px, auto); }
.card.vc { gap: 8px; padding: 0 0 16px; overflow: hidden; }
.card.vc > :not(.th) { margin-left: 18px; margin-right: 18px; }
.card.vc .th { display: block; width: 100%; height: 96px; object-fit: cover; border-bottom: 1px solid var(--fl); margin-bottom: 4px; flex: none; }
.card.vc h2 { font-size: 16.5px; }
.card.vc p { font-size: 13px; line-height: 1.45; }
.card.vc .num { padding-top: 8px; }
.card.vc .num b { font-size: 22px; }
/* article vidéo */
.vid .film { margin: 22px 0 6px; border: 1px solid var(--fl); background: #000; aspect-ratio: 16 / 9; }
.vid .film video { display: block; width: 100%; height: 100%; object-fit: contain; }
.vid .cap { font: 12.5px/1.5 var(--mono); color: var(--dx); margin-bottom: 18px; }
.vid .strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0 6px; }
.vid .strip figure { margin: 0; }
.vid .strip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--fl); }
.vid .strip figcaption { font: 11.5px/1.4 var(--mono); color: var(--dx); margin-top: 5px; }
.vid .steps { counter-reset: s; list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 10px; }
.vid .steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: 15px; line-height: 1.55; }
.vid .steps li::before { content: counter(s, decimal-leading-zero); font: 13px/1.9 var(--mono); color: var(--v); }
.vid .duo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: start; margin: 12px 0 6px; }
.vid .duo img { display: block; width: 100%; border: 1px solid var(--fl); }
.vid .duo .v img { aspect-ratio: 9 / 16; object-fit: cover; max-height: 300px; width: auto; }
.vid .spec dt { font: 11.5px/1.3 var(--mono); color: var(--dx); text-transform: uppercase; letter-spacing: .06em; margin-top: 9px; }
.vid .spec dd { margin: 2px 0 0; font-size: 14px; }
@media (max-width: 900px) {
  .cards { overflow: visible; grid-auto-rows: auto; }
  .card.vc .th { height: 150px; }
  .vid .strip { grid-template-columns: repeat(3, 1fr) !important; }
  .vid .duo { grid-template-columns: 1fr; }
}
.cards.filtre { grid-template-rows: none; grid-auto-rows: calc((100% - 12px) / 2); }
.cards.filtre .card { min-height: 0; }
.card.vc p:not(.meta) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.vc h2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .cards.filtre { grid-auto-rows: auto; } }
.vid .strip.tall img { aspect-ratio: 9 / 16; }

/* boutons CV / LinkedIn / Contact (accueil, à propos) */
.acv .btn, .acv .btn2 { padding: 11px 18px; }
.acv .in { font-weight: 700; font-family: var(--mono); margin-right: 4px; }
@media (max-width: 760px) { .acv .btn, .acv .btn2 { flex: 1 1 100%; text-align: center; } }

/* articles vidéo : liste « Tests et contrôles » */
.vid .tst { list-style: none; padding: 0; margin: 10px 0 0; }
.vid .tst li { position: relative; padding: 0 0 12px 22px; }
.vid .tst li::before { content: '→'; position: absolute; left: 0; color: var(--v); }
.vid .tst strong { color: var(--tx); font-weight: 500; }

/* articles de test : format publication (sommaire collant | texte | fiche du test) */
main.ta { display: grid; grid-template-columns: 190px minmax(0, 1fr) 290px; gap: 44px; padding: 34px 48px 60px; max-width: 1440px; margin: 0 auto; width: 100%; }
.ta .toc { position: sticky; top: 24px; align-self: start; font-size: 13px; border-left: 1px solid var(--fl); display: flex; flex-direction: column; }
.ta .toc a { padding: 6px 0 6px 14px; color: var(--ds); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; }
.ta .toc a:hover { color: var(--tx); }
.ta .toc a b { font: 400 11px var(--mono); color: var(--b); margin-right: 8px; display: inline-block; min-width: 18px; }
.ta .toc a.on { color: var(--tx); border-left-color: var(--v); }
.ta article { min-width: 0; }
.ta .k { font: 400 12px var(--mono); color: var(--ds); letter-spacing: .04em; text-transform: uppercase; }
.ta .k a { color: var(--b); text-decoration: none; }
.ta h1 { font-size: 36px; font-weight: 500; letter-spacing: -.035em; line-height: 1.12; margin: 10px 0 12px; max-width: 820px; }
.ta .by { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ds); margin-bottom: 22px; }
.ta .by img { width: 32px; height: 32px; object-fit: cover; object-position: 50% 20%; }
.ta .tb { max-width: 780px; }
.ta .abs { border: 1px solid var(--fl); border-left: 3px solid var(--b); background: var(--bg2); padding: 16px 20px; margin-bottom: 26px; scroll-margin-top: 20px; }
.ta .abs .k { margin-bottom: 8px; }
.ta .abs p { font-size: 15px; }
.ta h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 40px 0 12px; display: flex; align-items: baseline; gap: 12px; scroll-margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--fl); }
.ta h2 i { font: 400 13px var(--mono); color: var(--b); font-style: normal; }
.ta h3 { font-size: 16.5px; font-weight: 500; margin: 24px 0 8px; color: var(--tx); }
.ta p { color: var(--dx); font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
.ta p strong, .ta li strong { color: var(--tx); font-weight: 500; }
.ta p.q { font-size: 17px; color: var(--tx); border-left: 2px solid var(--v); padding-left: 16px; }
.ta ul.li { color: var(--dx); font-size: 15.5px; line-height: 1.7; margin: 0 0 14px; padding-left: 20px; }
.ta ul.li li { margin-bottom: 6px; }
.ta ul.li ul.li { margin: 6px 0 0; }
.ta ol.steps2 { list-style: none; padding: 0; margin: 10px 0 16px; counter-reset: s; border-left: 1px solid var(--fl); }
.ta ol.steps2 li { counter-increment: s; position: relative; padding: 0 0 14px 34px; color: var(--dx); font-size: 15px; line-height: 1.6; }
.ta ol.steps2 li::before { content: counter(s); position: absolute; left: -12px; top: 0; width: 24px; height: 24px; background: var(--bg2); border: 1px solid var(--b); color: var(--b); font: 400 12px/22px var(--mono); text-align: center; }
.ta ol.steps2 b { display: block; color: var(--tx); font-weight: 500; }
.ta ol.concl { padding-left: 22px; color: var(--dx); font-size: 15.5px; line-height: 1.7; }
.ta ol.concl li { margin-bottom: 10px; }
.ta table { border-collapse: collapse; font-size: 14px; width: 100%; margin: 10px 0 8px; }
.ta th, .ta td { border-bottom: 1px solid var(--fl); padding: 9px 10px; text-align: left; vertical-align: top; color: var(--dx); }
.ta th { color: var(--ds); font-weight: 400; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.ta td:first-child { color: var(--tx); }
.ta td.good { color: var(--v); font-weight: 500; }
.ta td small { color: var(--ds); }
.ta tr.nb td { background: rgba(77,124,255,.06); }
.ta table.kv td:first-child { color: var(--ds); width: 38%; }
.ta .cap { font-size: 12.5px; color: var(--ds); margin: 0 0 18px; }
.ta .ex { border: 1px solid var(--fl); background: var(--bg2); padding: 14px 18px; margin: 10px 0 16px; }
.ta .ex p { font-size: 14.5px; margin-bottom: 8px; }
.ta .ex p:last-child { margin-bottom: 0; }
.ta .ex .qx { color: var(--tx); font-style: italic; }
.ta .ex b { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--b); margin-right: 8px; }
.ta .chart { height: auto; border: 1px solid var(--fl); background: var(--bg2); padding: 16px 18px; margin: 12px 0 18px; }
.ta .chart figcaption { font-size: 13px; color: var(--tx); margin-bottom: 14px; }
.ta .stk, .ta .tm { display: grid; grid-template-columns: 150px 1fr 56px; gap: 12px; align-items: center; margin-bottom: 9px; font-size: 13px; color: var(--dx); }
.ta .tm.p9 { margin-top: -5px; margin-bottom: 14px; }
.ta .stk b, .ta .tm b { font: 400 12.5px var(--mono); color: var(--tx); text-align: right; }
.ta .chart .bar { display: flex; height: 16px; background: rgba(148,163,184,.08); }
.ta .tm.p9 .bar { height: 8px; }
.ta .chart i { display: block; height: 100%; }
.ta i.f { background: #f97066; } .ta i.r { background: var(--b); } .ta i.pt { background: #94a3b8; } .ta i.m { background: var(--v); } .ta i.q { background: rgba(16,185,129,.45); }
.ta .leg { font-size: 12px; color: var(--ds); margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ta .leg i { display: inline-block; width: 10px; height: 10px; margin-left: 8px; }
.ta .leg i:first-child { margin-left: 0; }
.ta .stair .st { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 24px; border-bottom: 1px solid var(--fl); }
.ta .stair .col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.ta .stair .col i { width: 100%; background: var(--b); opacity: .75; }
.ta .stair .col.up i { background: var(--v); opacity: 1; }
.ta .stair .col b { position: absolute; font: 400 12px var(--mono); color: var(--tx); top: 0; }
.ta .stair .col span { position: absolute; bottom: -22px; font: 400 11px var(--mono); color: var(--ds); }
.ta .stair .sep { width: 0; align-self: stretch; border-left: 1px dashed rgba(232,236,243,.3); margin: 0 4px; }
.ta .stair .leg { margin-top: 30px; }
.ta aside { display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 24px; }
.ta .box { border: 1px solid var(--fl); background: var(--bg2); padding: 16px; }
.ta .box h3 { font: 400 12px var(--mono); color: var(--ds); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.ta .box p { font-size: 13px; margin-bottom: 10px; line-height: 1.55; }
.ta .box .r { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--fl); color: var(--tx); text-align: right; }
.ta .box .r span { color: var(--ds); text-align: left; }
.ta .box.cta { border-color: var(--b); }
.ta .box .btn { display: inline-block; }
@media (max-width: 1180px) { main.ta { grid-template-columns: 170px minmax(0, 1fr); } .ta aside { grid-column: 2; position: static; } }
@media (max-width: 860px) {
  main.ta { grid-template-columns: 1fr; padding: 20px 18px 90px; gap: 20px; }
  .ta .toc { display: none; }
  .ta aside { grid-column: auto; }
  .ta h1 { font-size: 27px; }
  .ta h2 { font-size: 19px; margin-top: 30px; }
  .ta p, .ta ul.li { font-size: 15px; }
  .ta h2, .ta .abs { scroll-margin-top: 90px; }
  .ta table { display: block; overflow-x: auto; font-size: 13px; }
  .ta th, .ta td { padding: 8px 8px; min-width: 76px; }
  .ta td:nth-child(2), .ta td:nth-child(3):last-child { min-width: 190px; }
  .ta table.kv td { min-width: 0; }
  .ta .stk, .ta .tm { grid-template-columns: 1fr 46px; }
  .ta .stk span, .ta .tm span { grid-column: 1 / -1; margin-bottom: -4px; }
  .ta .tm.p9 span { display: none; }
  .ta .stair .st { gap: 5px; }
  .ta .stair .col b { font-size: 10px; }
}

/* pages de compte (inscription, mot de passe oublié, réinitialisation, validation, confirmation) */
.sr-head .lng { display: flex; align-items: center; gap: 6px; font: 400 12px var(--mono); color: var(--ds); margin-left: 24px; }
.sr-head .lng b { color: var(--tx); font-weight: 500; }
.sr-head .lng i { font-style: normal; opacity: .5; }
.sr-head .lng span { cursor: default; }
.sr-head .lng a { color: var(--ds); text-decoration: none; }
.sr-head .lng a:hover { color: var(--tx); }
.sr-head .lng a[aria-current] { color: var(--tx); font-weight: 500; }
main.acc { --danger: #ff7a7f; --green: var(--v); display: grid; grid-template-columns: minmax(0, 560px); justify-content: center; gap: 48px; padding: 44px 48px 60px; width: 100%; max-width: 1240px; margin: 0 auto; flex: 1; }
main.acc.acc-2 { grid-template-columns: minmax(0, 1fr) 400px; }
.acc .k { font: 400 12px var(--mono); color: var(--v); letter-spacing: .08em; text-transform: uppercase; }
.acc h1 { font-size: 38px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin: 10px 0 12px; }
.acc .lead { color: var(--dx); font-size: 16px; line-height: 1.6; max-width: 620px; margin-bottom: 24px; }
.acc-card { border: 1px solid var(--fl); background: var(--bg2); padding: 26px; display: grid; gap: 16px; position: relative; max-width: 620px; }
.acc .field { display: grid; gap: 6px; }
.acc .field label { font-size: 13px; color: var(--dx); }
.acc .field em { color: var(--b); font-style: normal; }
.acc input:not([type=checkbox]) { font: 15px/1.4 "Space Grotesk", sans-serif; color: var(--tx); background: var(--bg); border: 1px solid var(--fl); border-radius: 0; padding: 11px 12px; width: 100%; }
.acc input:not([type=checkbox]):focus { outline: none; border-color: var(--b); }
.acc input:disabled, .acc button:disabled { opacity: .55; cursor: not-allowed; }
.acc .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc .pw-meter { height: 3px; background: rgba(148,163,184,.14); margin-top: -8px; }
.acc .pw-meter i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.acc .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acc .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dx); line-height: 1.5; }
.acc .check input { margin-top: 3px; accent-color: var(--b); }
.acc a { color: var(--b); }
.acc .btn-primary { width: 100%; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 15px; padding: 13px 18px; border: 0; cursor: pointer; }
.acc .form-alt { font-size: 13.5px; color: var(--dx); text-align: center; }
.acc .form-msg { font-size: 13.5px; color: var(--dx); min-height: 0; }
.acc .form-msg:empty { display: none; }
.acc .signup-done h2 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.acc .signup-done p { color: var(--dx); margin-bottom: 12px; }
.acc .signup-done .btn { color: #fff; }
.acc .approve-info { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; font-size: 14px; }
.acc .approve-info dt { color: var(--ds); }
.acc .approve-info dd { margin: 0; color: var(--tx); }
.acc .confirm-state .btn { display: inline-block; color: #fff; }
.acc-side { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.acc-side .box { border: 1px solid var(--fl); background: var(--bg2); padding: 18px; }
.acc-side h3 { font: 400 12px var(--mono); color: var(--ds); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.acc-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; color: var(--tx); }
.acc-steps b { display: inline-block; width: 24px; height: 24px; border: 1px solid var(--b); color: var(--b); font: 400 12px/22px var(--mono); text-align: center; margin-right: 12px; }
.acc-ok { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--tx); }
.acc-ok li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--v); margin-right: 12px; vertical-align: 2px; box-shadow: 0 0 8px rgba(16,185,129,.6); }
.acc-side .r { display: grid; grid-template-columns: 112px 1fr; gap: 10px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--fl); color: var(--tx); line-height: 1.45; }
.acc-side .r:last-child { border-bottom: 0; }
.acc-side .r span { color: var(--ds); }
@media (max-width: 1000px) { main.acc.acc-2 { grid-template-columns: minmax(0, 1fr); } .acc-side { max-width: 620px; } }
@media (max-width: 760px) {
  .sr-head .lng { margin-left: auto; margin-right: 10px; gap: 4px; font-size: 11.5px; }
  main.acc { padding: 22px 16px 96px; gap: 26px; }
  .acc h1 { font-size: 28px; }
  .acc-card { padding: 18px; }
  .acc .form-row { grid-template-columns: minmax(0, 1fr); }
  .acc .approve-info { grid-template-columns: 1fr; gap: 2px; }
  .acc .approve-info dd { margin-bottom: 8px; }
}
.acc-side .capot { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.acc-side .capot div { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.35; color: var(--tx); padding: 7px 0; border-bottom: 1px solid var(--fl); }
.acc-side .capot span { font: 400 10.5px var(--mono); color: var(--ds); text-transform: uppercase; letter-spacing: .05em; }
.acc-side .capot div:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 1001px) { main.acc.acc-2 { padding-top: 26px; padding-bottom: 30px; grid-template-columns: minmax(0, 1fr) 440px; } .acc-2 h1 { font-size: 34px; margin: 6px 0 8px; } .acc-2 .lead { font-size: 15px; } }
.acc-side { gap: 12px; }
.acc-side .box { padding: 14px 18px; }
.acc-side .acc-steps, .acc-side .acc-ok { gap: 6px; }
.acc-2 .acc-card { gap: 13px; padding: 22px 26px; }
.acc-2 .lead { margin-bottom: 18px; }
@media (max-width: 760px) { .acc-side .capot { grid-template-columns: 1fr; } .acc-side .capot div:nth-last-child(2) { border-bottom: 1px solid var(--fl); } }

/* /articles : format « tests de performance » */
.arts.tests { grid-template-rows: auto auto auto 1fr; gap: 0; padding-top: 28px; padding-bottom: 22px; }
.tests .top { margin-bottom: 8px; }
.tests h1 { font-size: 36px; }
.tests .chips { flex-wrap: nowrap; }
.tests .intro { color: var(--dx); font-size: 14px; line-height: 1.55; max-width: 980px; margin-bottom: 12px; }
.tests .fmt { display: flex; flex-wrap: wrap; margin-bottom: 16px; font: 400 12px var(--mono); }
.tests .fmt span { border: 1px solid var(--fl); padding: 5px 12px; color: var(--dx); margin-right: -1px; }
.tests .fmt b { color: var(--v); font-weight: 400; margin-right: 6px; }
.tests .cards { grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; grid-auto-rows: unset; overflow: hidden; }
.tests .card { padding: 16px; gap: 7px; min-height: 0; overflow: hidden; }
.tests .card.big { padding: 22px; gap: 10px; }
.tests .card.big h2 { font-size: 23px; }
.tests .card h2 { font-size: 15.5px; line-height: 1.25; font-weight: 500; }
.tests .card .qq { font-size: 12.5px; line-height: 1.45; color: var(--dx); }
.tests .card .qq::before { content: 'Question : '; color: var(--ds); }
.tests .card.tc .qq { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tests .card .num { padding-top: 9px; }
.tests .card .num b { font-size: 21px; }
.tests .card .num span { display: block; font-size: 11.5px; line-height: 1.35; }
.tests .card.big .num b { font-size: 26px; }
.tests table.mini { border-collapse: collapse; width: 100%; font-size: 13px; margin: 4px 0; }
.tests table.mini th, .tests table.mini td { border-bottom: 1px solid var(--fl); padding: 7px 6px; text-align: left; color: var(--dx); }
.tests table.mini th { color: var(--ds); font: 400 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.tests table.mini td:first-child { color: var(--tx); }
.tests table.mini b { color: var(--v); font-weight: 600; }
.tests .card .n { font-size: 12.5px; color: var(--ds); margin-top: auto; }
.tests .card.soon2 { grid-column: auto; opacity: .62; border-style: dashed; }
.tests .card.soon2 .num { border-top: 1px dashed var(--fl); }
.tests .cards.filtre { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(200px, auto); overflow: visible; }
.tests .cards.filtre .card.soon2 { grid-column: auto; }
@media (max-width: 1200px) { .tests .cards { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(190px, auto); overflow: visible; } .arts.tests { height: auto; } }
@media (max-width: 900px) {
  .arts.tests { display: block; padding: 22px 16px 96px; }
  .tests h1 { font-size: 27px; }
  .tests .chips { flex-wrap: wrap; }
  .tests .cards, .tests .cards.filtre { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tests .card.soon2 { grid-column: auto; }
  .tests .card.tc .qq { -webkit-line-clamp: unset; }
}
.tests .card.big h2 { font-size: 21px; }
.tests table.mini td:not(:first-child), .tests table.mini th { white-space: nowrap; }
.tests table.mini td { padding: 6px 5px; }
/* sélecteur FR | EN visible sur mobile : bouton d'inscription resserré sous 400 px */
@media (max-width: 400px) {
  .sr-head .lng { margin-right: 8px; }
  body.sr .sr-head .btn { padding: 7px 9px; font-size: 12.5px; }
}

/* ============ VERSION CLAIRE (choix d'Adrien, 01.12) ============
   Palette des maquettes claires. Accents de la charte gardés, assombris juste assez pour le contraste AA (4,5:1) :
   bleu texte et boutons #2d5be3, vert texte #047857 ; le vert #10b981 reste pour les aplats (barres, puces). */
:root { --bg: #f5f7fb; --bg2: #ffffff; --bg3: #eaf0f8; --tx: #0b1220; --dx: rgba(11,18,32,.74); --ds: rgba(11,18,32,.6); --fl: rgba(15,23,42,.14);
  --b: #2d5be3; --v: #047857; --vf: #10b981; --grad: linear-gradient(90deg, #2d5be3, #047857); --ombre: 0 1px 3px rgba(15,23,42,.05); color-scheme: light; }
body.sr { background: var(--bg); color: var(--tx); }
.sr-head, body.sr.sr-page .sr-head { background: rgba(245,247,251,.92); }
@media (max-width: 900px) { .sr-head { background: rgba(245,247,251,.96); } .sr-bar { background: rgba(255,255,255,.97); box-shadow: 0 -1px 3px rgba(15,23,42,.05); } }
.btn:hover { background: #2449c4; border-color: #2449c4; }
.btn2:hover { background: rgba(45,91,227,.06); }
.ph { background: linear-gradient(90deg, #4d7cff, #10b981); }
/* fiche whoami */
.term { background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.term dt, .rows div span:first-child { color: #5b6b88; }
.tiles a { background: #fff; box-shadow: var(--ombre); }
.tiles a:hover { background: #f8faff; }
/* cartes et encadrés */
.box, .kpi, .card, .flow div, .frm, .tr-r, .acc-card, .acc-side .box, .shots figure, .ta .abs, .ta .box, .ta .ex, .ta .chart, .chart { box-shadow: var(--ombre); }
.chips button.on, .m-dom .strip button.on { background: rgba(45,91,227,.1); }
.logos div { background: #0b1220; border-color: #0b1220; }
.ta tr.nb td { background: rgba(45,91,227,.07); }
.ta .chart .bar { background: rgba(15,23,42,.07); }
.ta i.m, .ta .stair .col.up i { background: var(--vf); }
.ta i.q { background: rgba(16,185,129,.5); }
.ta i.f { background: #e5484d; }
.ta i.pt { background: #8a97ab; }
.ta .stair .sep { border-left-color: rgba(11,18,32,.3); }
.tr .steps li::before, .tr .feat li::before { background: var(--vf); }
.acc-ok li::before { background: var(--vf); box-shadow: none; }
.form-msg.err { color: #c4323a; }
main.acc { --danger: #c4323a; }
.acc .pw-meter { background: rgba(15,23,42,.1); }
.acc input:not([type=checkbox]), .frm input, .frm select, .frm textarea { background: #fff; }
/* pages de contenu (mentions légales) : variables de l'ancienne charte passées en clair */
body.atlas { --prusse: #f5f7fb; --prusse-2: #ffffff; --prusse-3: #eaf0f8; --nuit: #eaf0f8; --or: #2d5be3; --or-pale: #2d5be3; --ivoire: #0b1220; --encre: #ffffff;
  --doux: rgba(11,18,32,.74); --discret: rgba(11,18,32,.6); --filet: rgba(15,23,42,.14); --filet-fort: rgba(15,23,42,.26); }
body.atlas::before { display: none; }
body.sr .sr-skip { color: #fff; }
html[lang=en] .tests .card .qq::before { content: 'Question: '; }
