/* =========================================================
   Pips Agency — design system
   Identité : papier blanc, encre noire, filets fins, angles nets, facettes du logo origami.
   Une seule couleur par sens : vert = haussier, rouge = baissier. Propriétés logiques partout (RTL + LTR).
   ========================================================= */
@font-face { font-family: 'Plex Sans'; src: url('/assets/fonts/plex-sans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url('/assets/fonts/plex-sans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url('/assets/fonts/plex-sans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Sans'; src: url('/assets/fonts/plex-sans-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/assets/fonts/plex-arabic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/assets/fonts/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #0b0b0c; --ink-2: #37373c; --mute: #6b6b73; --faint: #a3a3aa;
  --line: #e3e3e6; --line-2: #efeff1; --paper: #fff; --tint: #f7f7f5;
  --up: #0b7a55; --up-bg: #e8f4ef; --down: #c4242f; --down-bg: #fbecec; --warn: #9a5b00; --warn-bg: #fdf4e6;
  --sans: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plex Mono', ui-monospace, Consolas, monospace;
  --body: var(--sans);
  --gut: clamp(20px, 4vw, 56px); --wrap: 1280px;
  --head-h: 68px;
}
html[lang="ar"] { --body: 'Plex Arabic', 'Plex Sans', system-ui, 'Segoe UI', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: 8px; transform: translateY(-300%); background: var(--ink); color: #fff; padding: .5rem .8rem; z-index: 100; }
.skip:focus { transform: none; }

/* ---------- Typographie ---------- */
h1 { font-weight: 600; font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.028em; }
h2 { font-weight: 600; font-size: clamp(1.7rem, 1.25rem + 1.7vw, 2.6rem); line-height: 1.14; letter-spacing: -.02em; }
h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.35; letter-spacing: -.008em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.32; }
html[lang="ar"] h1 { line-height: 1.24; }
.tag { display: block; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
html[lang="ar"] .tag { font-family: var(--body); letter-spacing: 0; font-size: .86rem; text-transform: none; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.62; color: var(--ink-2); }
.small { font-size: .84rem; color: var(--mute); }
.txt-link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.txt-link:hover { color: var(--up); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .6rem 1.25rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background .15s, color .15s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.sm { min-height: 38px; padding: .4rem .9rem; font-size: .86rem; }
.btn.block { width: 100%; }
.btn-pri { background: var(--ink); color: #fff; } .btn-g { background: transparent; color: var(--ink); } .btn-g:hover { background: var(--ink); color: #fff; }
.btn-nt { background: #ff4a12; border-color: #ff4a12; color: #fff; } .btn-nt:hover { background: #fff; color: #d63a07; border-color: #d63a07; }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); height: var(--head-h); }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; }
.head-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-inline-end: auto; font-size: .92rem; font-weight: 500; }
.head-nav a { text-decoration: none; color: var(--ink-2); padding-block: .3rem; border-bottom: 1px solid transparent; white-space: nowrap; }
.head-nav a:hover, .head-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.head-side { display: flex; align-items: center; gap: 10px; }
.lang-link { font-size: .84rem; font-weight: 600; text-decoration: none; padding: .35rem .55rem; border: 1px solid var(--line); line-height: 1.2; white-space: nowrap; }
.lang-link:hover { border-color: var(--ink); }
.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; }
.user-btn img { width: 26px; height: 26px; border-radius: 50%; }
.user-drop { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 190px; background: #fff; border: 1px solid var(--ink); padding: .35rem; z-index: 50; }
.user-drop a, .user-drop button { display: block; width: 100%; padding: .5rem .6rem; font-size: .9rem; text-align: start; text-decoration: none; }
.user-drop a:hover, .user-drop button:hover { background: var(--tint); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); position: relative; }
.burger i { position: absolute; inset-inline: 11px; height: 1.5px; background: var(--ink); }
.burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 20px; } .burger i:nth-child(3) { top: 26px; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.facets { position: absolute; inset-block: 0; inset-inline-end: 0; height: 100%; width: min(62vw, 900px); pointer-events: none; }
html[dir="rtl"] .facets { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 5vw, 76px); align-items: center; padding-block: clamp(40px, 6.5vw, 88px) clamp(32px, 4.5vw, 56px); }
.hero h1 { margin-block: 14px 20px; max-width: 13ch; }
html[lang="ar"] .hero h1 { max-width: 15ch; }
.hero .lead { max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-note { margin-top: 16px; max-width: 56ch; }
.panel { border: 1px solid var(--ink); background: #fff; }
.panel-cap { display: flex; justify-content: space-between; gap: 12px; padding: .5rem .75rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--mute); }
html[lang="ar"] .panel-cap { font-family: var(--body); font-size: .8rem; letter-spacing: 0; }
.panel-cap b { color: var(--ink); font-weight: 500; }
.panel-cv { direction: ltr; }
.panel-cv canvas { width: 100%; height: auto; }
.facts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 16px 0 20px; }
.facts div + div { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(14px, 2vw, 26px); }
.facts dt { font-family: var(--mono); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 500; line-height: 1.2; }
.facts dd { font-size: .86rem; color: var(--mute); }

/* ---------- Horloge des sessions ---------- */
.clock { background: var(--ink); color: #fff; }
.clock-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 4vw, 56px); align-items: center; padding-block: 16px; }
.clock-now { display: flex; align-items: baseline; gap: .6rem; }
.clock-now b { font: 500 1.5rem/1 var(--mono); }
.clock-now span { font-size: .78rem; color: #b8b8be; }
.sessions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); }
.sessions li { display: flex; align-items: center; gap: .55rem; min-width: 0; font-size: .86rem; }
.sessions i { flex: none; width: 8px; height: 8px; background: #55555c; }
.sessions li.open i { background: #3ddc97; }
.sessions b { font-weight: 600; }
.sessions span { color: #b8b8be; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock-note { grid-column: 1 / -1; font-size: .74rem; color: #8f8f96; margin-top: -6px; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(56px, 7.5vw, 104px); border-bottom: 1px solid var(--line); }
.sec.tint { background: var(--tint); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sec-head { position: sticky; top: calc(var(--head-h) + 28px); }
.sec-head h2 { margin-top: 12px; }
.sec-head p { margin-top: 14px; color: var(--ink-2); }

/* trois questions */
.q { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px clamp(10px, 2vw, 24px); padding-block: 26px; border-top: 1px solid var(--line); }
.q:first-child { border-top: 1px solid var(--ink); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q-n { font: 500 1rem/1.6 var(--mono); color: var(--mute); }
.q h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 600; }
.q p { grid-column: 2; color: var(--ink-2); max-width: 60ch; }
.q .txt-link { grid-column: 2; justify-self: start; font-size: .92rem; margin-top: 4px; }

/* onglets du poste */
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { padding: .55rem 0; font-weight: 600; font-size: .95rem; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-note { margin-top: 14px; color: var(--ink-2); max-width: 66ch; }

/* kits */
.kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); }
.kit { display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 30px); min-width: 0; background: #fff; }
.kit + .kit { border-inline-start: 1px solid var(--ink); }
.kit-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kit-top span { font: 500 .78rem var(--mono); color: var(--mute); white-space: nowrap; }
.kit h3 { font-size: 1.5rem; }
.kit-sub { margin-top: 8px; color: var(--ink-2); }
.spec { width: 100%; border-collapse: collapse; margin-block: 18px auto; font-size: .9rem; }
.spec th, .spec td { padding: .55rem 0; text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--ink); }
.spec th { font-weight: 600; padding-inline-end: 14px; width: 40%; }
.spec td { color: var(--ink-2); }
.spec small { display: block; font: 400 .72rem/1.5 var(--mono); color: var(--mute); }
.kit .btn { margin-top: 20px; }

/* mise en route */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); counter-reset: st; }
.steps li { border-top: 1px solid var(--ink); padding-top: 14px; counter-increment: st; }
.steps li::before { content: '0' counter(st); display: block; font: 500 .84rem var(--mono); color: var(--mute); margin-bottom: 18px; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: .92rem; color: var(--ink-2); }
.steps code { font: 400 .8rem var(--mono); }

/* plateforme */
.nt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.nt img { height: 22px; width: auto; margin-bottom: 18px; }
.ticks { display: grid; gap: .5rem; }
.ticks li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; }
.ticks li::before { content: ''; width: 8px; height: 8px; margin-top: .6em; background: var(--ink); }

/* espace licence */
.key-box { border: 1px solid var(--ink); padding: clamp(20px, 3vw, 34px); background: #fff; }
.key-box h3 { font-size: 1.3rem; margin-bottom: 8px; }
.key-box .gsi { margin-block: 18px 12px; min-height: 44px; }
.key-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dash-hello { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dash-hello img { width: 44px; height: 44px; border-radius: 50%; }
.dash-hello small { display: block; color: var(--mute); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding-block: 18px; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.25rem/1.3 var(--mono); color: var(--mute); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-block-end: 20px; color: var(--ink-2); max-width: 68ch; }

/* appel final */
.close { padding-block: clamp(56px, 8vw, 110px); }
.close h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); max-width: 18ch; }
.close .btn { margin-top: 26px; }

/* ---------- Pages d'article ---------- */
.art-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--ink); }
.art-head h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.7rem); max-width: 20ch; margin-block: 12px 18px; }
.art-head .lead { max-width: 66ch; }
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 84px); align-items: start; padding-block: clamp(36px, 5vw, 64px); }
.toc { position: sticky; top: calc(var(--head-h) + 24px); font-size: .9rem; }
.toc ol { margin-top: 10px; border-top: 1px solid var(--ink); }
.toc a { display: block; padding-block: .45rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); }
.body { min-width: 0; max-width: 760px; }
.body section { padding-block-end: clamp(34px, 4.5vw, 54px); }
.body h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-bottom: 12px; }
.body h3 { margin-block: 22px 6px; }
.body p + p { margin-top: 12px; }
.body p, .body li { color: var(--ink-2); }
.body strong { color: var(--ink); font-weight: 600; }
.body .ticks { margin-top: 12px; }
.body a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.num { counter-reset: n; display: grid; gap: 0; margin-top: 14px; border-top: 1px solid var(--ink); }
.num li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding-block: 12px; border-bottom: 1px solid var(--line); counter-increment: n; }
.num li::before { content: counter(n, decimal-leading-zero); font: 500 .84rem/1.9 var(--mono); color: var(--mute); }
.fig { margin-block: 20px; border: 1px solid var(--line); background: #fff; }
.fig img { width: 100%; height: auto; }
.fig figcaption { padding: .5rem .75rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--mute); }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 16px; }
.figs .fig { margin: 0; }
.figs h3 { margin: 0; padding: .6rem .75rem .1rem; font-size: 1rem; }
.figs p { padding: 0 .75rem .75rem; font-size: .9rem; margin: 0; }
.box { margin-top: 18px; padding: 18px; border: 1px solid var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.note { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--mute); }
.legal { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 14px; }
.legal h2 { font-size: 1.2rem; margin-block: 26px 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-inline-start: 1.2rem; margin-block: 8px; }
.legal a { text-decoration: underline; }
.legal .crumbs, .legal .pg-disclaimer { display: none; }
.legal .pg-sec { margin-top: 20px; }
.legal .lead { margin-bottom: 8px; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--ink); background: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); padding-block: 36px 28px; }
.foot-top p { margin-top: 12px; font-size: .9rem; color: var(--mute); max-width: 36ch; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem 18px; font-size: .9rem; }
.foot-nav a { text-decoration: none; color: var(--ink-2); }
.foot-nav a:hover { text-decoration: underline; }
.disclaimers { padding-block: 22px; border-top: 1px solid var(--line); }
.disclaimers h2 { font-size: .95rem; margin-bottom: 12px; letter-spacing: 0; }
.disclaimers-txt { columns: 2; column-gap: 36px; }
.disclaimers p { font-size: .78rem; line-height: 1.6; color: var(--mute); margin-bottom: 10px; break-inside: avoid; }
.disclaimers strong { color: var(--ink-2); font-weight: 600; }
.copy { padding-block: 14px 26px; font-size: .78rem; color: var(--mute); border-top: 1px solid var(--line); }

/* ---------- Fenêtres (connexion, téléchargement) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal-bg { position: fixed; inset: 0; background: rgba(11,11,12,.62); }
.modal-card { position: relative; width: min(100%, 460px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border: 1px solid var(--ink); padding: 26px; }
.dl-card { width: min(100%, 560px); }
.modal-x { position: absolute; top: 8px; inset-inline-end: 8px; width: 34px; height: 34px; font-size: 1.3rem; line-height: 1; z-index: 2; }
.modal-x:hover { background: var(--tint); }
.modal-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.modal-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.modal-card p { color: var(--ink-2); font-size: .94rem; }
.modal-card .fine, .fine { font-size: .82rem; color: var(--mute); margin-top: 8px; }
.gsi-wrap { display: flex; justify-content: center; margin-block: 16px 8px; min-height: 44px; }
.link-btn { display: block; margin-top: 10px; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.dl-shot { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border: 1px solid var(--line); margin-bottom: 14px; }
.dl-steps { display: grid; gap: 0; margin-top: 14px; border-top: 1px solid var(--ink); }
.dl-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding-block: 14px; border-bottom: 1px solid var(--line); }
.dl-step.locked > div > strong, .dl-step.locked .dl-n { color: var(--faint); }
.dl-step.done .dl-n { color: var(--up); }
.dl-n { font: 500 .9rem/1.6 var(--mono); color: var(--mute); }
.dl-step strong { font-weight: 600; }
.dl-step p { margin-top: 4px; }
.dl-step .btn { margin-top: 10px; margin-inline-end: 8px; }
.dl-note { display: block; margin-top: 8px; font-size: .78rem; color: var(--mute); }
.dl-note a { text-decoration: underline; }
.dl-params { margin-top: 8px; font-size: .86rem; }
.dl-warn { position: absolute; inset: 0; display: flex; background: #fff; padding: 22px; overflow-y: auto; z-index: 3; }
.dl-warn-in { position: relative; margin: auto 0; width: 100%; }
.dl-warn-x { position: absolute; top: -14px; inset-inline-end: -14px; width: 32px; height: 32px; font-size: 1.2rem; }
.dl-warn-kicker { display: block; font: 500 .74rem var(--mono); color: var(--down); margin-bottom: 4px; text-transform: uppercase; }
.dl-warn-ico { display: none; }
.dl-warn h4 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.dl-warn-list { display: grid; gap: .3rem; margin-block: 12px; font-size: .9rem; color: var(--ink-2); }
.dl-warn-list li { padding-inline-start: 14px; border-inline-start: 2px solid var(--line); }
.dl-warn-actions { display: grid; gap: 8px; margin-top: 14px; }

/* ---------- Écrans moyens et mobiles ---------- */
@media (max-width: 1060px) {
  .head-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--ink); padding: 8px var(--gut) 14px; }
  .head-nav.open { display: flex; }
  .head-nav a { padding-block: .7rem; border-bottom: 1px solid var(--line); }
  .head-side { margin-inline-start: auto; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, html[lang="ar"] .hero h1 { max-width: 16ch; }
  .sec-grid, .doc, .nt, .foot-top { grid-template-columns: minmax(0, 1fr); }
  .sec-head, .toc { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --head-h: 60px; }
  .brand img { height: 30px; }
  .head-side .hide-sm { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .clock-in { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sessions { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kits { grid-template-columns: minmax(0, 1fr); }
  .kit + .kit { border-inline-start: 0; border-top: 1px solid var(--ink); }
  .steps, .figs { grid-template-columns: minmax(0, 1fr); }
  .disclaimers-txt { columns: 1; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q { grid-template-columns: 44px minmax(0, 1fr); }
  .btn { min-height: 44px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
