/* beCAD — feuille de style unique (pas de framework, pas de webfont : chargement instantané).
   Palette et rayons = variables : tout se change ici. Bleu et vert = couleurs du logo. */
:root {
  --ink: #0b1b33;
  --ink-2: #14315c;
  --text: #1a2740;
  --muted: #5a6a85;
  --brand: #176dc1;          /* bleu du logo */
  --brand-bright: #4b9df0;   /* bleu clair pour lueurs / fonds sombres */
  --brand-soft: #e6f0fb;
  --accent: #79a228;         /* vert du logo (boutons d'action) */
  --accent-hover: #8bb832;
  --accent-light: #a5cf47;   /* vert lisible sur fond sombre (petits textes) */
  --bg: #fff;
  --alt: #f4f7fb;
  --line: #e3e9f2;
  --ok: #17a06b;
  --danger: #c62d3a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,27,51,.06), 0 12px 32px -12px rgba(11,27,51,.18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.i { flex: none; vertical-align: -.2em; }

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -9999px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; border-radius: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.05rem; font-size: .95rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(121,162,40,.55); }
.btn-accent:hover { background: var(--accent-hover); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- En-tête ---------- */
.promo { background: var(--ink); color: #fff; text-align: center; font-size: .95rem; padding: .5rem 1rem; }
.promo a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: auto; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 550; font-size: .98rem; }
.menu a:not(.btn):hover { color: var(--brand); }
.menu .menu-client { color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .js .burger { display: block; }
  .menu { flex-wrap: wrap; }
  .js .menu { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: .5rem 1rem 1.2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .menu.open { display: flex; flex-wrap: nowrap; max-height: calc(100vh - 68px); overflow-y: auto; }   /* nowrap : sinon un sous-menu long crée une seconde colonne */
  .js .menu a:not(.btn) { padding: .85rem .25rem; border-bottom: 1px solid var(--line); }
  .js .menu .btn { margin-top: 1rem; }
  .bar { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #dbe6f7; background:
  radial-gradient(900px 500px at 85% -10%, rgba(75,157,240,.42), transparent 60%),
  radial-gradient(700px 420px at 0% 110%, rgba(121,162,40,.22), transparent 60%),
  linear-gradient(180deg, #0b1b33, #0d2244); padding: clamp(3rem, 7vw, 6rem) 0; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.hero h1, .hero h2 { color: #fff; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c3d2ea; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-landing .hero-grid { align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow { display: inline-block; margin: 0 0 1rem; font: 700 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow-light { color: var(--accent-light); }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Bandeau de preuves ---------- */
.trust { background: var(--alt); border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; padding: 1.15rem 0; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.trust-row div { display: inline-flex; align-items: center; gap: .55rem; }
.trust-row .i { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: 2rem 0 5rem; }
.section-alt { background: var(--alt); }
.section-dark { background: linear-gradient(180deg, #0b1b33, #0d2244); color: #c3d2ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.section-head .lead { margin-top: .5rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 620px) and (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 1px 2px rgba(11,27,51,.04); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 1.1rem; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8d6ee; color: inherit; }
.card-link .more { margin-top: auto; color: var(--brand); font-weight: 650; display: inline-flex; gap: .4rem; align-items: center; }
.card-link:hover .more .i { transform: translateX(3px); }
.more .i { transition: transform .2s; }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1.1rem; background: var(--ink); color: #fff; }
.ico-soft { background: var(--brand-soft); color: var(--brand); }
.feature p { color: var(--muted); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.6rem; }
.steps p { margin: 0; color: #b5c6e0; }
.n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 1rem; background: var(--accent); color: var(--ink); font-weight: 800; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.logos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.75rem; margin: 1rem 0 2rem; }
.logos li { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: #8b98ae; }
.zone { max-width: 42rem; margin-inline: auto; font-size: .98rem; }

.cta-band { background: linear-gradient(135deg, var(--ink-2), #0b1b33); color: #dbe6f7; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #b5c6e0; }
.cta-band .btn { margin: .3rem; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; display: grid; gap: .7rem; margin: 1.25rem 0; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .i { color: var(--ok); margin-top: .25em; }
.ticks-light { color: #dbe6f7; }
.ticks-light .i { color: var(--accent-light); }
.ticks-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.facts { margin: 0; display: grid; gap: 0; background: var(--alt); border-radius: var(--radius); padding: .5rem 1.5rem; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: .1rem; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; font-weight: 650; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* ---------- Pages simples ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; background: linear-gradient(180deg, var(--alt), #fff); }
.page-hero .lead { max-width: 40rem; margin-inline: auto; }
.page-hero:not(:has(.center)) .lead { margin-inline: 0; }
.badge-ok { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e3f6ee; color: var(--ok); margin-bottom: 1.25rem; }
.form-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.aside h2 { font-size: 1.25rem; }

/* ---------- Formulaires ---------- */
.card-form { padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.card-float { color: var(--text); position: relative; }
.form-title, .hero .form-title { font-size: 1.25rem; color: var(--ink); margin-bottom: 1rem; }
.form { display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row:has(.field-narrow) { grid-template-columns: 1fr 7.5rem; }
.row:has([data-qty-label]) { grid-template-columns: 1fr 12.5rem; }   /* « Nombre de participants » tient sur une ligne */
@media (max-width: 560px) { .row, .row:has(.field-narrow) { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: .35rem; font-size: .92rem; font-weight: 650; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #cdd7e6; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9b8d0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(23,109,193,.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: .35rem 0 0; font-size: .88rem; color: var(--danger); }
.alert { padding: .8rem 1rem; border-radius: var(--radius-sm); background: #fdecee; color: #8f1d28; font-size: .95rem; }
.seg { display: flex; gap: .5rem; padding: 0; margin: 0; border: 0; }
.seg label { flex: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: .7rem; text-align: center; font-weight: 650; border: 1.5px solid #cdd7e6; border-radius: var(--radius-sm); transition: all .15s; }
.seg input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.checks { display: grid; gap: .6rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; flex: none; accent-color: var(--brand); }
.form-note { margin: 0; text-align: center; font-size: .85rem; color: var(--muted); }
.alt-cta { margin: 1rem 0 0; text-align: center; font-size: .95rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: #08152a; color: #9fb0cc; padding: 3.5rem 0 1.5rem; font-size: .96rem; }
.site-footer a { color: #cfdaee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-logos { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; margin-bottom: .9rem; }
.foot-logos .brand { margin: 0; }
.foot-logos .bentley { display: inline-flex; }
.foot-logos .bentley img { display: block; height: 32px; width: auto; }
.foot-logos .seequent { display: inline-flex; }
.foot-logos .seequent img { display: block; height: 24px; width: auto; }
.foot-sep { width: 1px; height: 32px; background: rgba(255,255,255,.25); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.foot-grid h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.foot-grid ul { list-style: none; display: grid; gap: .55rem; }
.legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.legal span { margin-right: auto; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }


/* ---------- Pages internes : héros compact, catalogue, formations, contact ---------- */
.hero-compact { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero-compact .lead { margin-inline: auto; }
.cta-center { justify-content: center; }
.course-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .3rem; font-size: .93rem; color: var(--muted); }
.course-list li::before { content: "•"; color: var(--accent); margin-right: .5rem; }
.cat-nav { position: sticky; top: 68px; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-nav .container { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: thin; }
.cat-nav a { flex: none; padding: .4rem .85rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; background: var(--alt); }
.cat-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.section-cat { scroll-margin-top: 130px; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.fam-head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.75rem; max-width: 52rem; }
.fam-head .ico { flex: none; margin: .3rem 0 0; }
.fam-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .3rem; }
.fam-head .lead { font-size: 1.05rem; margin: 0; }
.card-range { display: flex; flex-direction: column; }
.card-range .more { margin-top: auto; padding-top: .5rem; color: var(--brand); font-weight: 650; display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; }
.refs-label { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mt-sm { margin-top: 1.5rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; }
.chips a, .chips span { display: inline-block; padding: .28rem .7rem; border-radius: 999px; font-size: .86rem; font-weight: 550; text-decoration: none; color: var(--ink-2); background: var(--alt); border: 1px solid var(--line); }
.section-alt .chips a, .section-alt .chips span { background: #fff; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.chips-lg a, .chips-lg span { font-size: 1rem; padding: .5rem 1rem; }
.contact-list { list-style: none; display: grid; gap: .9rem; margin: 1rem 0; padding: 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.4; }
.contact-list .i { color: var(--brand); margin-top: .2em; }

/* ---------- Back-office (/admin) ---------- */
.adm { background: var(--alt); font-size: .97rem; }
.adm-wrap { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.adm-bar { background: #fff; border-bottom: 1px solid var(--line); }
.adm-bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 1rem; }
.adm-bar .brand { gap: .75rem; }
.adm-tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.adm-nav { display: flex; align-items: center; gap: 1.2rem; }
.adm-nav a { font-weight: 600; text-decoration: none; }
.adm-user { color: var(--muted); font-size: .9rem; }
.adm-link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.adm-main { padding: 1.75rem 0 4rem; }
.adm h1 { font-size: 1.6rem; margin: 0; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.adm-count { display: inline-block; margin-left: .4rem; padding: .1rem .6rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .9rem; vertical-align: middle; }
.adm-login { max-width: 420px; margin: 4rem auto; }
.adm-login h1 { margin-bottom: 1rem; }
.adm-status { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.adm-status a { padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink-2); text-decoration: none; }
.adm-status a b { margin-left: .3rem; color: var(--muted); font-weight: 700; }
.adm-status a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.adm-status a.on b { color: #cfe0f7; }
.adm-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.adm-filters input, .adm-filters select { padding: .5rem .75rem; font: inherit; border: 1.5px solid #cdd7e6; border-radius: var(--radius-sm); background: #fff; }
.adm-filters input[type=search] { min-width: 16rem; }
.adm-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th { text-align: left; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .8rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover { background: #f8fafd; }
.nowrap { white-space: nowrap; }
.pill { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--alt); color: var(--ink-2); vertical-align: middle; }
.pill.st-nouveau, .adm-status a.st-nouveau b { color: var(--brand); }
.pill.st-nouveau { background: var(--brand-soft); }
.pill.st-contacte { background: #fff4d6; color: #7a5a00; }
.pill.st-qualifie { background: #e5f0ff; color: #1b4f9c; }
.pill.st-gagne { background: #e3f6ee; color: #0f7a52; }
.pill.st-perdu { background: #f1f1f4; color: #6b7280; }
.adm-pager { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 1.2rem; }
.adm-empty { padding: 2rem 0; }
.adm-ok { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: var(--radius-sm); background: #e3f6ee; color: #0f7a52; font-weight: 600; }
.adm-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .adm-cols { grid-template-columns: 1fr; } }
.adm-h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.adm-h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.adm-dl { margin: 0; display: grid; }
.adm-dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.adm-dl > div:last-child { border-bottom: 0; }
.adm-dl dt { color: var(--muted); font-weight: 600; }
.adm-dl dd { margin: 0; overflow-wrap: anywhere; }
.adm-others { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; font-size: .93rem; }

/* ---------- Pages légales ---------- */
.prose { font-size: 1.02rem; line-height: 1.7; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; padding-top: .4rem; }
.prose h3 { font-size: 1.08rem; margin: 1.5rem 0 .4rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.3rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--accent); }
.legal-dl { margin: 0 0 1rem; display: grid; }
.legal-dl > div { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { font-weight: 650; color: var(--ink); }
.legal-dl dd { margin: 0; }
@media (max-width: 560px) { .legal-dl > div { grid-template-columns: 1fr; gap: .1rem; } }
.doc-card { display: flex; gap: 1.1rem; align-items: flex-start; margin: 1.5rem 0; padding: 1.5rem; background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius); }
.doc-card h2 { margin: 0 0 .3rem; font-size: 1.15rem; padding: 0; }
.doc-card .ico { flex: none; margin: 0; }

/* ---------- Bandeau de consentement (Google Ads) ---------- */
.consent { position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-inline: auto 0; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px -12px rgba(11,27,51,.35); font-size: .93rem; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .7rem; color: var(--muted); }
.consent .consent-title { color: var(--ink); font-weight: 700; margin-bottom: .3rem; }
.consent-actions { display: flex; gap: .6rem; justify-content: flex-end; }
@media (max-width: 560px) { .consent { left: .6rem; right: .6rem; bottom: .6rem; max-width: none; } .consent-actions .btn { flex: 1; } }
.legal-btn { background: none; border: 0; padding: 0; font: inherit; color: #cfdaee; cursor: pointer; text-decoration: none; }
.legal-btn:hover { color: #fff; text-decoration: underline; }

/* ---------- Espace client ---------- */
.client-login { max-width: 460px; margin-inline: auto; }
.client-head { background: var(--alt); border-bottom: 1px solid var(--line); }
.client-head-in { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; padding: 1.25rem 0 0; }
.client-head .eyebrow { margin-bottom: .25rem; }
.client-who { margin: 0 0 .9rem; }
.client-tabs { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.client-tabs a { padding: .55rem 0 .9rem; border-bottom: 3px solid transparent; font-weight: 650; color: var(--muted); text-decoration: none; }
.client-tabs a:hover { color: var(--ink); }
.client-tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.client-tabs form { padding-bottom: .35rem; }
.client-main { padding-top: 2rem; }
.client-h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.25rem; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap: 1.25rem; align-items: start; }
.pack-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.pack-head h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.pack-balance { margin: 0 0 .6rem; font-size: 1rem; color: var(--ink); }
.pack-balance strong { font-size: 2.1rem; letter-spacing: -.03em; }
.meter { height: 10px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-hover)); }
.pack-bientot .meter span { background: #e0a100; }
.pack-epuise .meter span, .pack-expire .meter span { background: #9aa6ba; }
.pack-epuise, .pack-expire { opacity: .85; }
.pack-meta { margin: .7rem 0 .4rem; }
.pill.pk-actif { background: #e3f6ee; color: #0f7a52; }
.pill.pk-bientot { background: #fff4d6; color: #7a5a00; }
.pill.pk-epuise, .pill.pk-expire { background: #f1f1f4; color: #6b7280; }
.pill.rq-nouveau { background: var(--brand-soft); color: var(--brand); }
.pill.rq-en_cours { background: #fff4d6; color: #7a5a00; }
.pill.rq-resolu { background: #e3f6ee; color: #0f7a52; }
.pack-usage { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.pack-usage summary { cursor: pointer; font-weight: 650; color: var(--brand); padding: .3rem 0; }
.pack-usage table { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .92rem; }
.pack-usage th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .4rem .3rem; }
.pack-usage td { padding: .5rem .3rem; border-top: 1px solid var(--line); vertical-align: top; }
.num { text-align: right; white-space: nowrap; }
.req-list { list-style: none; display: grid; gap: .9rem; margin: 0 0 1rem; padding: 0; }
.req-list li { display: grid; gap: .15rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.req-list .pill { justify-self: start; }

.pill.cl-actif { background: #e3f6ee; color: #0f7a52; }
.pill.cl-invite { background: #fff4d6; color: #7a5a00; }
.pill.cl-desactive { background: #f1f1f4; color: #6b7280; }
.adm-stat { padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.adm-stat b { margin-left: .3rem; color: var(--brand); }
.adm-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.adm-wrap-text { overflow-wrap: anywhere; }
.adm-pack { margin-top: 1rem; }
.adm-usage { width: 100%; border-collapse: collapse; margin: .8rem 0; font-size: .9rem; }
.adm-usage td { padding: .35rem .3rem; border-top: 1px solid var(--line); vertical-align: top; }
.adm-inline { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.adm-inline input { padding: .4rem .6rem; font: inherit; border: 1.5px solid #cdd7e6; border-radius: var(--radius-sm); min-width: 0; }
.adm-inline input[name=description] { flex: 1 1 14rem; }
.adm nav a + a { margin-left: 0; }

/* ---------- Photos (reprises de l'ancien site, voir IMAGES.md) ---------- */
.hero.has-photo.veil-strong::after { background: linear-gradient(90deg, rgba(11,27,51,.9) 0%, rgba(11,27,51,.72) 45%, rgba(11,27,51,.38) 100%); }
@media (max-width: 900px) { .hero.has-photo.veil-strong::after { background: linear-gradient(180deg, rgba(11,27,51,.82), rgba(11,27,51,.74)); } }
.hero-home { padding: clamp(4rem, 10vw, 8rem) 0; }
.hero-single { grid-template-columns: 1fr; }
.hero-single .hero-copy { max-width: 44rem; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero.has-photo::before { display: none; }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,51,.8) 0%, rgba(11,27,51,.5) 48%, rgba(11,27,51,.12) 100%); }
@media (max-width: 900px) { .hero.has-photo::after { background: linear-gradient(180deg, rgba(11,27,51,.72), rgba(11,27,51,.6)); } }
.hero-badge { display: block; width: 60px; height: 60px; margin-bottom: 1.25rem; border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
/* Page produit : logo + nom en grand */
.hero-product { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }
.hero-product .hero-badge { width: 84px; height: 84px; margin: 0; flex: none; border-radius: 18px; }
.hero-product-name { margin: 0 0 .35rem; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; color: #fff; }
.hero-product .eyebrow { margin: 0; }
@media (max-width: 520px) { .hero-product .hero-badge { width: 64px; height: 64px; border-radius: 14px; } .hero-product { gap: .85rem; } }
.card-media { margin: -1.6rem -1.6rem 1.25rem; aspect-ratio: 1024 / 538; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--ink); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-link:hover .card-media img { transform: scale(1.05); }
.card-media.is-logo { display: grid; place-items: center; background: #0e2d72; }
.card-media.is-logo img { width: auto; height: 78%; object-fit: contain; }
.split-media { display: grid; gap: 1.25rem; align-content: start; }
.media-fig { margin: 0; }
.media-fig img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame img { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.media-fig figcaption { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .card-media img { transition: none; } .card-link:hover .card-media img { transform: none; } }
/* ---------- Animations discrètes ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.in.card-link { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card-link { transition: none; } }

/* Héros compact avec photo (Formations, À propos) : texte centré, voile uniforme */
.hero-compact > .container { position: relative; z-index: 1; }
.hero-compact.has-photo { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.hero-compact.has-photo::after,
.hero-compact.has-photo.veil-strong::after { background: linear-gradient(180deg, rgba(11,27,51,.78), rgba(11,27,51,.66)); }

/* ---------- Ressources et articles ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.filter { margin: 1.6rem auto 0; max-width: 34rem; }
.filter input { width: 100%; padding: .85rem 1.1rem; font: inherit; color: var(--ink); background: #fff; border: 0; border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.22); }
.filter input:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.theme-nav { justify-content: center; margin: 0; padding: 1rem 0; }
.theme-nav a { background: #fff; }
.theme-nav .count { margin-left: .3rem; padding: 0 .4rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .78rem; }
.theme-section { scroll-margin-top: 4.5rem; }
.article-card { display: flex; flex-direction: column; }
.article-card h3 { margin-bottom: .5rem; }
.article-card p:not(.card-kicker) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .more { margin-top: auto; padding-top: .9rem; }
.card-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0 0 .7rem; font-size: .82rem; }
.tag { display: inline-block; padding: .12rem .6rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 650; line-height: 1.5; }
.tag-num { background: var(--ink); color: #fff; }
.no-results { padding: 2rem 0; }
.no-results[hidden], [data-article][hidden], [data-theme-section][hidden] { display: none; }

.hero-article { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem); }
.hero-article .container { position: relative; z-index: 1; }
.narrow-article { max-width: 60rem; }
.hero-article h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: .4rem 0 .9rem; }
.crumbs { font-size: .9rem; color: #b9c8e2; }
.crumbs a { color: #dbe6f7; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.4rem; color: #b9c8e2; font-size: .95rem; }
.article-meta .tag { background: rgba(255,255,255,.14); color: #fff; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article-main { min-width: 0; }
.article-side { position: sticky; top: 5rem; display: grid; gap: 1.5rem; }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
.note-old, .note-download { margin: 0 0 1.5rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--alt); border: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); }
.note-download { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.note-download .i { color: var(--brand); flex: none; }

.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); max-width: 46rem; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.4rem; font-size: 1.55rem; line-height: 1.25; color: var(--ink); scroll-margin-top: 5rem; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; line-height: 1.3; color: var(--ink); scroll-margin-top: 5rem; }
.prose h4 { margin-top: 1.6rem; font-size: 1.08rem; color: var(--ink); scroll-margin-top: 5rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .4rem; }
.prose li > ul, .prose li > ol { margin-top: .4rem; }
.prose img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.prose figure { margin: 1.6rem 0; }
.prose figure img { border: 1px solid var(--line); }
.prose figcaption { text-align: center; margin-top: .5rem; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.prose blockquote { margin-left: 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--accent); color: var(--ink); font-style: italic; }
.prose pre { overflow-x: auto; padding: 1rem 1.2rem; background: var(--ink); color: #dbe6f7; border-radius: var(--radius-sm); font-size: .9rem; line-height: 1.55; }
.prose code { padding: .1rem .35rem; border-radius: 6px; background: var(--alt); font-size: .92em; }
.prose pre code { padding: 0; background: none; }
.prose video { display: block; width: 100%; max-width: 100%; height: auto; border-radius: var(--radius-sm); background: #000; }
.table-wrap { overflow-x: auto; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.table-wrap td, .table-wrap th { padding: .55rem .75rem; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.table-wrap th { background: var(--alt); color: var(--ink); }
.table-wrap td img { margin-inline: auto; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .7rem; width: 100%; border: 0; cursor: pointer; color: #fff; font: inherit; font-weight: 650; background: radial-gradient(600px 300px at 50% 0%, rgba(75,157,240,.35), transparent 70%), var(--ink); }
.video-embed .play span { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--accent); font-size: 1.5rem; padding-left: .2rem; transition: transform .2s; }
.video-embed .play:hover span { transform: scale(1.08); }
.video-embed .play small { font-weight: 500; color: #b9c8e2; }

.callout { display: flex; gap: 1.1rem; margin: 2rem 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid #cfe1f5; }
.callout .ico { flex: none; }
.callout h2 { margin: 0 0 .3rem; font-size: 1.15rem; }
.callout p { margin: 0 0 .8rem; font-size: 1rem; line-height: 1.55; }
.callout .cta-row { margin: 0; }
.prose .callout > * + * { margin-top: 0; }

.side-cta { padding: 1.5rem; border-radius: var(--radius); background: var(--ink); color: #dbe6f7; display: grid; gap: .75rem; }
.side-cta h2 { margin: 0; font-size: 1.25rem; color: #fff; }
.side-cta p { margin: 0; font-size: .95rem; line-height: 1.55; }
.side-cta .eyebrow { color: var(--accent-light); }
.side-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.side-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }
.side-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.side-links a { color: #dbe6f7; font-size: .93rem; }
.side-list { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-list h2 { margin: 0 0 .7rem; font-size: 1rem; }
.side-list ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .55rem; font-size: .93rem; line-height: 1.4; }
.side-list a { color: var(--ink-2); text-decoration: none; }
.side-list a:hover { color: var(--brand); text-decoration: underline; }
.side-list .current { font-weight: 700; color: var(--ink); }
.side-back { margin: 0; font-size: .93rem; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.article-nav a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 650; line-height: 1.35; }
.article-nav a:hover { border-color: var(--brand); }
.article-nav small { display: block; margin-bottom: .25rem; color: var(--muted); font-weight: 500; font-size: .82rem; }
.article-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } .article-nav .next { grid-column: 1; text-align: left; } .callout { flex-direction: column; } }
/* Tableau d'images cliquables sans bordure (ex. les 4 réglages de la photogrammétrie) */
.table-plain { margin-bottom: 2rem; }
.table-plain table { table-layout: fixed; }
.table-plain td { padding: .2rem; border: 0; vertical-align: middle; }
.table-plain img { width: 100%; height: auto; }
.table-plain a { display: block; }

/* Options de licence (pages produit) */
.license-card h3 { margin: 0 0 1rem; font-size: 1.2rem; }
.license-card .ticks { margin: 0; }
.license-cta { max-width: 40rem; margin-inline: auto; color: var(--ink-2); }
.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 50rem; margin-inline: auto; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Menus déroulants (Logiciels, Formations) ---------- */
.menu { align-self: stretch; }
.nav-item { position: relative; display: flex; align-items: center; gap: .15rem; }
.sub-toggle { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; transition: transform .2s, color .15s; }
.sub-toggle:hover, .nav-item:hover > .sub-toggle { color: var(--brand); }
.nav-item.open > .sub-toggle { transform: rotate(180deg); color: var(--brand); }
.submenu { display: none; position: absolute; top: 100%; left: -1.2rem; z-index: 60; min-width: 19rem; padding: .7rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -16px rgba(11,27,51,.28); }
.submenu-logiciels { min-width: 35rem; }
.submenu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.submenu-logiciels ul { grid-template-columns: 1fr 1fr; }
.menu .submenu a:not(.btn) { display: flex; align-items: center; gap: .8rem; padding: .55rem .6rem; border: 0; border-radius: 10px; color: var(--ink); text-decoration: none; }
.menu .submenu a:not(.btn):hover, .menu .submenu a:not(.btn):focus-visible { background: var(--brand-soft); color: var(--ink); }
.submenu img, .sub-ico { flex: none; width: 36px; height: 36px; border-radius: 9px; }
.sub-ico { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.submenu li span { display: grid; gap: .1rem; line-height: 1.25; }
.submenu strong { font-size: .95rem; font-weight: 650; }
.submenu small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.menu .submenu a.sub-all:not(.btn) { display: flex; justify-content: space-between; margin-top: .4rem; padding: .7rem .8rem; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: .92rem; font-weight: 650; color: var(--brand); }
@media (min-width: 861px) {
  .nav-item:hover > .submenu, .nav-item:focus-within > .submenu, .nav-item.open > .submenu { display: block; }
  .nav-item:hover > .sub-toggle { transform: rotate(180deg); }
}
@media (max-width: 860px) {
  .js .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .js .nav-item > a:not(.btn) { flex: 1; border-bottom: 0; }
  .js .sub-toggle { width: 44px; height: 44px; }
  .js .submenu, .js .submenu-logiciels { position: static; min-width: 0; width: 100%; padding: 0 0 .6rem; border: 0; border-radius: 0; box-shadow: none; }
  .js .nav-item.open > .submenu { display: block; }
  .js .submenu-logiciels ul { grid-template-columns: 1fr; }
  .js .menu .submenu a:not(.btn) { padding: .6rem .4rem; border-bottom: 0; }
  .js .menu .submenu a.sub-all:not(.btn) { margin-top: .2rem; padding: .7rem .4rem; border-top: 1px solid var(--line); border-radius: 0; }
}

/* Blocs des pages produit : rangées de fonctionnalités, éditions, citation */
.feature-rows { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.feature-row { align-items: center; }
.feature-row h3 { margin: 0 0 .6rem; font-size: 1.4rem; }
.feature-row .media-fig { margin: 0; }
.feature-row .media-fig img { max-height: 26rem; width: auto; max-width: 100%; margin-inline: auto; }
@media (min-width: 901px) { .feature-row.reverse > :first-child { order: 2; } }
.feature-row.no-figure { grid-template-columns: 1fr; }
.edition-card h3 { margin: 0 0 .6rem; font-size: 1.3rem; }
.edition-card > p { margin-bottom: 1rem; }
.edition-card .ticks { margin: 0; }
.edition-grid { max-width: 64rem; }
.quote { margin: 0; text-align: center; }
.quote-title { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.quote blockquote { margin: 0; padding: 0; border: 0; font-size: 1.15rem; line-height: 1.7; font-style: italic; color: var(--ink-2); }
.quote figcaption { margin-top: 1rem; font-size: .93rem; color: var(--muted); }
.cap-card h3 { margin: .9rem 0 .4rem; font-size: 1.1rem; }
.cap-card p { margin: 0; }
.section-alt + .section-alt { border-top: 1px solid var(--line); }
.edition-grid.grid-3 { max-width: none; }
.theme-more { margin-top: 1.5rem; }
.theme-more > summary { display: block; width: fit-content; margin: 0 auto 1.5rem; padding: .7rem 1.4rem; border: 1.5px solid var(--brand); border-radius: 999px; color: var(--brand); font-weight: 650; cursor: pointer; list-style: none; }
.theme-more > summary::-webkit-details-marker { display: none; }
.theme-more > summary:hover { background: var(--brand-soft); }
.theme-more[open] > summary { margin-bottom: 1.5rem; }
.theme-more .when-open, .theme-more[open] .when-closed { display: none; }
.theme-more[open] .when-open { display: inline; }
.grid-1 { grid-template-columns: minmax(0, 28rem); justify-content: center; }

/* ---------- Landing Google Ads (mode « minimal ») ---------- */
.ads-actions { display: flex; align-items: center; gap: 1.1rem; }
.ads-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; font-weight: 700; }
.ads-phone .i { color: var(--brand); }
.ads-phone:hover { color: var(--brand); }
.foot-min { display: grid; gap: .8rem; padding-bottom: 1rem; }
.foot-min .foot-logos { margin-bottom: 0; }
.foot-min p { margin: 0; }
.clients-strip { padding: 1.4rem 0 1.2rem; border-bottom: 1px solid var(--line); background: #fff; }
.clients-strip .eyebrow { display: block; margin-bottom: .8rem; }
.clients-strip .logos { margin: 0; }
.ads-bar { display: none; }
@media (max-width: 720px) {
  .ads-phone span { display: none; }
  .ads-phone { padding: .45rem; border: 1.5px solid var(--line); border-radius: 999px; }
  .ads-bar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11,27,51,.25); }
  .ads-bar .btn { justify-content: center; }
  body:has(.ads-bar) { padding-bottom: 4.6rem; }
}

/* ---------- Back-office : statistiques ---------- */
.st-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .8rem; margin: 1rem 0 1.5rem; }
.st-card { padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .15rem; }
.st-card span { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.st-card b { font-size: 1.9rem; line-height: 1.1; color: var(--ink); }
.st-card small { color: var(--muted); font-size: .82rem; }
.st-ok b { color: #4d6f0f; }
.adm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.st-chart svg { display: block; width: 100%; height: auto; }
.st-key { display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; margin: 0 .3rem 0 .8rem; vertical-align: -1px; }
.st-k1 { background: #b9d3f0; } .st-k2 { background: #176dc1; } .st-k3 { background: #79a228; border-radius: 50%; }
.adm-table .num, .adm-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-two { grid-template-columns: 1fr 1fr; }
.st-export { margin: 0; }
.adm-filters label { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 900px) { .st-two { grid-template-columns: 1fr; } }

/* ---------- Logos clients : une seule ligne, en gris ---------- */
.clients-row { list-style: none; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: clamp(.6rem, 2.6vw, 2.75rem); margin: 1.25rem 0 1.75rem; padding: 0; }
.clients-row li { flex: var(--w) 1 0; max-width: calc(var(--w) * 1px); min-width: 0; }
.clients-row img { display: block; width: 100%; height: auto; filter: grayscale(1) opacity(.72); transition: filter .2s; }
.clients-row img.lg-darken { filter: grayscale(1) brightness(.62) opacity(.8); }
.clients-row img.lg-white { filter: brightness(0) opacity(.62); }
.clients-strip .clients-row { margin: 0; }

/* ---------- Méga-menu « Logiciels » : rubriques par catégorie ---------- */
.submenu-logiciels { min-width: 0; width: min(88rem, calc(100vw - 2rem)); }
.mega-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1rem; align-items: start; }
@media (min-width: 861px) and (max-width: 1099px) { .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mega-group { break-inside: avoid; margin: 0 0 .9rem; }
.mega-group h3 { margin: 0 0 .25rem; padding: 0 .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.submenu-logiciels .mega-group ul { grid-template-columns: 1fr; }
@media (min-width: 861px) {
  .nav-item.has-sub:has(.submenu-logiciels) { position: static; }
  .submenu-logiciels { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 860px) {
  .js .submenu-logiciels { width: 100%; }
  .js .mega-cols { grid-template-columns: 1fr; }
  .js .mega-group h3 { padding: .5rem .4rem 0; }
}
@media (min-width: 861px) {
  /* Le méga-menu s'ouvre sous l'en-tête, pas sous le lien « Logiciels » : une bordure haute transparente de 22 px comble l'espace
     (elle fait partie de la zone survolée ; un pseudo-élément serait rogné par le défilement ci-dessous). */
  .submenu-logiciels { top: calc(100% - 22px); border-top: 22px solid transparent; background-clip: padding-box; max-height: calc(100vh - 78px); overflow-y: auto; overscroll-behavior: contain; }
}

/* ---------- Tableau comparatif des niveaux (bloc « matrix ») ---------- */
.matrix-wrap { max-width: 56rem; margin: 0 auto 2rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.matrix { width: 100%; border-collapse: collapse; font-size: .95rem; }
.matrix caption { padding: .9rem 1rem; text-align: left; font-weight: 700; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.matrix thead th { padding: .75rem .8rem; background: var(--navy, #0b1b33); color: #fff; font-size: .85rem; font-weight: 650; text-align: center; vertical-align: bottom; }
.matrix thead th:first-child { text-align: left; }
.matrix tbody th { padding: .7rem .9rem; text-align: left; font-weight: 500; color: var(--ink); }
.matrix td { padding: .7rem .8rem; text-align: center; color: #1f8a5b; }
.matrix tbody tr:nth-child(even) { background: var(--brand-soft, #f2f6fb); }
.matrix tbody tr + tr th, .matrix tbody tr + tr td { border-top: 1px solid var(--line); }
.matrix td .i { vertical-align: middle; }
@media (max-width: 620px) { .matrix { font-size: .85rem; } .matrix tbody th { min-width: 12rem; } }

/* ---------- Back-office : double authentification ---------- */
.adm-2fa { max-width: 34rem; }
.adm-steps { margin: 1.25rem 0; padding-left: 1.25rem; display: grid; gap: 1rem; }
.adm-qr { width: 15rem; max-width: 100%; margin: .75rem 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.adm-qr svg { display: block; width: 100%; height: auto; }
.adm-help { margin: 1rem 0; font-size: .92rem; }
.adm-help summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.adm-key { display: inline-block; padding: .35rem .6rem; border-radius: 8px; background: var(--brand-soft); font: 600 1.05rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .06em; word-break: break-all; }
.adm-codes { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.adm-codes code { display: block; padding: .6rem .5rem; text-align: center; border: 1px dashed var(--line); border-radius: 10px; font: 600 1.05rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .05em; }
.adm-sec { max-width: 40rem; margin-bottom: 1.25rem; }
.adm-sec h2 { margin-top: 0; }
.adm-login .center { text-align: center; margin: 1rem 0 0; }
.pill-ok { background: #e3f5ea; color: #16663d; }

/* ---------- Tickets de support ---------- */
.pill.rq-attente_client { background: #ffe9dc; color: #8a3b00; }
.adm-badge { display: inline-block; min-width: 1.35rem; padding: 0 .4rem; border-radius: 999px; background: #d64545; color: #fff; font-size: .75rem; line-height: 1.35rem; text-align: center; font-weight: 700; vertical-align: middle; }
.adm-role { display: block; color: var(--muted); font-size: .72rem; line-height: 1.1; }
.tk-open { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tk-open.has-open { border-color: #f0b8b8; background: #fff6f6; }
.tk-open-n { min-width: 3.2rem; font: 800 2.4rem/1 var(--font); color: var(--ink); text-align: center; }
.tk-open.has-open .tk-open-n { color: #c22f2f; }
.tk-open-l { font-size: 1.1rem; font-weight: 650; }
.tk-open-l small { display: block; margin-top: .15rem; font-size: .85rem; font-weight: 500; color: var(--muted); }
.adm-filters { display: flex; gap: .5rem; margin: 0 0 1rem; }
.adm-filters input[type=search] { flex: 1; max-width: 26rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.tk-dot { color: #d64545; font-size: .8rem; }
.tk-thread { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
.tk-msg { padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tk-msg.is-staff { background: var(--brand-soft); border-color: #c9defa; }
.tk-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.tk-body { overflow-wrap: anywhere; }
.tk-files { list-style: none; margin: .7rem 0 0; padding: .6rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .25rem; }
.tk-client { max-width: 52rem; }
.tk-danger { border-color: #f0c9c9; }
.btn-danger { color: #b3261e; border-color: #e3b3b0; }
.btn-danger:hover { background: #fdecea; }

/* ---------- Fichiers joints : ajout un par un, retrait individuel (partial file-picker) ---------- */
.file-picker .file-add { display: none; }
.file-picker.is-enhanced .file-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.file-picker.is-enhanced .file-add { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.file-picker.is-enhanced .file-input:focus-visible + .file-add { outline: 3px solid var(--brand); outline-offset: 2px; }
.file-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: .6rem; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.file-list .file-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.file-remove { padding: .15rem .55rem; border: 1px solid #e3b3b0; border-radius: 8px; background: none; color: #b3261e; font: inherit; font-size: .85rem; cursor: pointer; }
.file-remove:hover { background: #fdecea; }
.file-msg { margin: .5rem 0 0; color: #b3261e; }

/* ---------- Menu « Ressources » : libellé sans page (ouvre la liste déroulante) ---------- */
.menu .nav-label { padding: 0; border: 0; background: none; color: var(--text); font: 550 .98rem/1.2 var(--font); cursor: pointer; }
.menu .nav-label:hover, .nav-item.open > .nav-label { color: var(--brand); }
@media (max-width: 860px) {
  .js .nav-item > .nav-label { flex: 1; padding: .85rem .25rem; text-align: left; font-size: .98rem; line-height: 1.3; }
}

/* ---------- Pages de ressources : liste d'articles avec filtre ---------- */
.res-page { max-width: 62rem; margin: 0 auto; }
.res-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin: 0 0 1.25rem; }
.res-filter { flex: 1 1 22rem; max-width: 30rem; }
.res-filter input { width: 100%; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; }
.res-count { margin: 0; color: var(--muted); font-size: .95rem; }
.res-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.res-rows li { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1.25rem; padding: .9rem .25rem; border-bottom: 1px solid var(--line); }
.res-rows li[hidden] { display: none; }
.res-row-title { font-weight: 650; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.res-row-title:hover { color: var(--brand); text-decoration: underline; }
.res-row-meta { display: flex; align-items: center; gap: .6rem; white-space: nowrap; color: var(--muted); font-size: .88rem; }
.res-row-excerpt { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-empty { padding: 2rem 0; text-align: center; color: var(--muted); }
@media (max-width: 620px) { .res-rows li { grid-template-columns: 1fr; } .res-row-meta { white-space: normal; } }
.matrix .matrix-val { color: var(--ink); font-weight: 650; }

/* ---------- Menu « Espace client » du client connecté ---------- */
.submenu-client { min-width: 15rem; }
.sub-who { display: grid; gap: .1rem; margin: 0 0 .35rem; padding: .35rem .6rem .6rem; border-bottom: 1px solid var(--line); line-height: 1.25; }
.sub-who small { color: var(--muted); font-size: .8rem; }
.submenu li form { margin: 0; }
.submenu .sub-logout { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .55rem .6rem; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.submenu .sub-logout:hover, .submenu .sub-logout:focus-visible { background: var(--brand-soft); }
@media (min-width: 861px) {
  .submenu-client { left: auto; right: 0; }
}

/* Logos clients : au survol, retour aux vraies couleurs (le logo blanc d'Artelia, sans couleur propre, passe en noir franc) */
@media (hover: hover) {
  .clients-row img { transition: filter .25s ease, transform .25s ease; }
  .clients-row li:hover img,
  .clients-row li:hover img.lg-darken { filter: none; transform: translateY(-2px) scale(1.06); }
  .clients-row li:hover img.lg-white { filter: brightness(0) opacity(.95); transform: translateY(-2px) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-row li:hover img, .clients-row li:hover img.lg-darken, .clients-row li:hover img.lg-white { transform: none; }
}


/* Logos clients cliquables : le lien occupe toute la case, sans souligné ; anneau de focus au clavier */
.clients-row li a { display: block; border-radius: 6px; outline-offset: 6px; }
.clients-row li a:focus-visible { outline: 3px solid var(--brand); }
.clients-row li a:focus-visible img, .clients-row li a:focus-visible img.lg-darken { filter: none; }

/* ---------- Bandeau d'appel vers une autre page (bloc « callout » des landings) : centré, texte clair sur fond sombre ---------- */
.spot-band { text-align: center; }
.spot-band .spot { max-width: 60rem; margin-inline: auto; }
.spot-band h2 { max-width: 40rem; margin: 0 auto .9rem; color: #fff; }
.spot-band .lead { max-width: 44rem; margin: 0 auto; color: #d3def0; }
.spot-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; text-align: left; }
.spot-points li { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.07); color: #eef3fb; font-size: .98rem; line-height: 1.45; }
.spot-points svg { flex: none; margin-top: .1rem; color: var(--accent-light, #a8d84a); }
.spot-cta { margin: 2rem 0 0; }
.edition-more { margin: 1rem 0 0; font-weight: 650; }
.edition-more a { text-decoration: none; }
.edition-more a:hover { text-decoration: underline; }

/* Logo large en tête de landing (ex. Assistance+) */
.hero-logo-wide { display: block; height: 60px; width: auto; margin: 0 0 1.25rem; padding: .45rem 1rem; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
/* Tableau comparatif : cellules de texte (pas de coche) */
.matrix td.matrix-txt { text-align: left; }
.matrix td.matrix-txt .matrix-val { font-weight: 500; }

/* Numéros de la newsletter */
.nl-issues { display: grid; gap: 1.5rem; }
.nl-issue { overflow: hidden; padding: 0; }
.nl-issue-img { display: block; width: 100%; height: auto; background: #fff; border-bottom: 1px solid var(--line); }
.nl-issue-body { padding: 1.5rem 1.75rem 1.75rem; }
.nl-issue-body h3 { margin: 0 0 .25rem; }
.nl-issue-sum { margin: 1rem 0 1.25rem; padding-left: 1.2rem; display: grid; gap: .4rem; }
.nl-issue-sum li::marker { color: var(--accent); }
@media (min-width: 900px) { .nl-issue { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; } .nl-issue-img { border-bottom: 0; border-right: 1px solid var(--line); } }

/* Logo carré en tête de page (ex. newsletter) : pastille blanche arrondie sur le fond sombre */
.hero-logo-sq { display: block; width: 132px; height: 132px; margin: 0 0 1.25rem; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
@media (max-width: 720px) { .hero-logo-sq { width: 104px; height: 104px; } }

/* Quatre avantages : quatre colonnes sur grand écran */
@media (min-width: 1100px) { .grid-3.grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Guides et ebooks à télécharger (pages de rubrique « Ressources ») */
.doc-card { display: flex; flex-direction: column; }
.doc-card .doc-kind { margin: 0 0 .6rem; }
.doc-card p:not(.doc-kind) { flex: 1; }
.doc-card .btn { align-self: flex-start; }
.res-title { font-size: 1.35rem; margin: 0 0 1rem; }

/* Fenêtre (popup) de téléchargement d'un document */
.dl-modal { border: 0; padding: 0; border-radius: 22px; width: min(33rem, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); overflow: auto; background: #fff; color: var(--text); box-shadow: 0 34px 90px -20px rgba(8,20,40,.6); }
.dl-modal::backdrop { background: rgba(8,20,40,.62); backdrop-filter: blur(3px); }
.dl-modal[open] { animation: dl-in .24s cubic-bezier(.2,.8,.2,1); }
@keyframes dl-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.dl-close { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 0; border-radius: 50%; background: #eef2f8; color: var(--ink, #0b1b33); cursor: pointer; }
.dl-close:hover { background: #dfe7f3; }
.dl-panel { padding: 2.1rem 1.9rem 1.7rem; }
.dl-panel[hidden] { display: none; }
.dl-eyebrow { margin: 0 0 .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-dark, #5d8a12); }
.dl-panel h2 { margin: 0 2rem .7rem 0; font-size: 1.45rem; line-height: 1.25; }
.dl-why { margin: 0 0 1.3rem; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.dl-form .btn-lg { margin-top: .4rem; }
.dl-done { text-align: center; padding-block: 2.6rem 2.2rem; }
.dl-done h2 { margin-right: 0; outline: none; }
.dl-done .badge-ok { margin: 0 auto 1rem; }
@media (max-width: 520px) { .dl-panel { padding: 1.7rem 1.25rem 1.3rem; } .dl-panel h2 { font-size: 1.28rem; } }
@media (prefers-reduced-motion: reduce) { .dl-modal[open] { animation: none; } }

/* Vidéos YouTube : image d'aperçu locale sous le bouton de lecture */
.video-embed .video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-embed.has-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(8,20,40,.18); pointer-events: none; transition: background .2s; }
.video-embed.has-thumb:hover::after { background: rgba(8,20,40,.05); }
.video-embed.has-thumb .play { z-index: 1; background: none; }
.video-embed.has-thumb .play { font-size: 0; }   /* seul le bouton rond reste visible sur l'image */
.video-embed.has-thumb .play small { display: none; }
.video-embed.has-thumb .play span { font-size: 1.5rem; box-shadow: 0 8px 26px rgba(0,0,0,.4); }

/* Articles en brouillon (visibles seulement sur le poste de travail) */
.note-draft { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border: 1px dashed #d59a1a; border-radius: var(--radius); background: #fff8e6; color: #5c4200; font-size: .95rem; }
.note-draft code { font-size: .88em; }
.tag-draft { background: #fff1c9; color: #6b4b00; }
