/* Décret tertiaire — page retravaillée le 5 novembre 2026
   Chargée après style.css et pages.css. Préfixes : tq- (page), cq- (calendrier), at- (attestation), wa/wb/wc- (qui fait quoi).
   Espacements par incréments de 4 px. */

.tq-ic { --ph: "/files/phosphor/"; }
.ic-wrench { --ic: url("/files/phosphor/wrench-light.svg"); }
.ic-clip { --ic: url("/files/phosphor/clipboard-text-light.svg"); }
.ic-desk { --ic: url("/files/phosphor/desk-light.svg"); }
.ic-users { --ic: url("/files/phosphor/users-three-light.svg"); }
.ic-bldg { --ic: url("/files/phosphor/buildings-light.svg"); }
.ic-fan { --ic: url("/files/phosphor/fan-light.svg"); }
.ic-gtb { --ic: url("/files/phosphor/sliders-horizontal-light.svg"); }
.ic-hat { --ic: url("/files/phosphor/hard-hat-light.svg"); }
.tq-ic { display: block; flex: none; width: 40px; height: 40px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }

/* En-têtes de section communs */
.tq-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: end; }
.tq-head .pg-kicker { grid-column: 1 / -1; color: var(--sky-ink); }
.tq-head h2 { margin-top: 12px; font-size: 36px; }
.tq-head p:not(.pg-kicker) { font-size: 16.5px; line-height: 1.6; }
.tq-head strong { font-weight: 600; color: var(--ink); }

/* ═════ 1. Ouverture : bandeau bleu, page de rapport posée à cheval ═════ */
.tq-open { position: relative; isolation: isolate; padding-top: 64px; }
.tq-open::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 584px; background: linear-gradient(100deg, #1d4560 0%, #23608a 38%, #2c78ad 70%, #4b98cc 100%); }
.tq-open-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.tq-open-copy { padding-top: 40px; color: #fff; }
.tq-open .pg-kicker { color: #fff; }
.page .tq-open h1 { margin-top: 12px; font-size: 68px; line-height: 1; letter-spacing: -.025em; color: #fff; }
.tq-sub { margin-top: 28px; font: 400 24px/1.3 var(--serif); color: #fff; }
.tq-open-copy > p:not(.pg-kicker):not(.tq-sub) { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.tq-open-copy strong { font-weight: 600; color: #fff; }
.tq-open-btn { margin-top: 32px; }
.tq-open-btn:focus-visible { outline: 2px solid var(--lemon); outline-offset: 3px; }

.tq-sheet { margin: 0; }
.tq-page { position: relative; padding: 28px 36px 32px; background: #fff; color: #222; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 32px 64px rgba(6, 28, 46, .3); }
.tq-page-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: end; padding-bottom: 8px; border-bottom: 1px solid #2c78ad; font-size: 10px; line-height: 1.35; color: #5b6871; }
.tq-page-h img { height: 24px; width: auto; }
.tq-page-h span:nth-child(2) { text-align: right; }
.tq-page-h span:last-child { padding-left: 16px; border-left: 1px solid #c9d2d9; }
.tq-page-t { margin-top: 20px; font: 700 14px Arial, Helvetica, sans-serif; color: #234e6b; }
.tq-page-p { margin-top: 8px; font: 12px/1.55 Arial, Helvetica, sans-serif; color: #333; text-align: justify; hyphens: auto; }
.tq-page mark { padding: 0 2px; margin: 0 -1px; background: linear-gradient(transparent 12%, rgba(255, 230, 0, .8) 12%, rgba(255, 230, 0, .8) 90%, transparent 90%); color: inherit; }
.xl { display: block; width: 100%; height: auto; margin-top: 16px; }
.xl-t { font: 400 18.7px Calibri, Carlito, Arial, sans-serif; fill: #595959; }
.xl-a { font: 400 12px Calibri, Carlito, Arial, sans-serif; fill: #595959; }
.xl-at { font: 400 13.3px Calibri, Carlito, Arial, sans-serif; fill: #595959; }
.xl-pen path { fill: none; stroke: #d0262a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.xl-hand { font: 500 23px var(--hand); fill: #d0262a; }
.tq-page-c { margin-top: 8px; font: italic 11px Arial, Helvetica, sans-serif; color: #444; text-align: center; }
.tq-page-tab { width: 100%; margin-top: 16px; border-collapse: collapse; font: 11px Arial, Helvetica, sans-serif; color: #222; }
.tq-page-tab caption { padding-bottom: 6px; font-style: italic; color: #444; caption-side: top; }
.tq-page-tab th, .tq-page-tab td { padding: 4px 8px; border: 1px solid #8fa7b9; text-align: center; }
.tq-page-tab th { background: #dbe8f3; font-weight: 700; color: #1f3340; }
.tq-sheet figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ═════ 2. Calendrier réglementaire, façon planning ═════ */
.tq-cal { margin-top: 128px; }
.cq { margin: 48px 0 0; }
.cq-g { border: 1px solid #c9d2d9; font-family: var(--sans); }
.cq-hd { display: flex; background: #eef2f5; border-bottom: 1px solid #c9d2d9; }
.cq-c0 { flex: 0 0 232px; margin: 0; padding: 12px 16px; border-right: 1px solid #c9d2d9; }
.cq-hd .cq-c0 { display: flex; align-items: center; font: 600 13px var(--sans); color: var(--muted); }
.cq-yrs { flex: 1; display: flex; }
.cq-yrs span { flex: var(--w) 1 0; padding: 12px 0; text-align: center; font: 600 14px var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.cq-yrs .cq-obj { color: #c4302b; }
.cq-yrs .cq-brk { color: var(--muted); font-weight: 400; }
.cq-body { position: relative; }
.cq-grid { position: absolute; top: 0; bottom: 0; left: 232px; right: 0; display: flex; pointer-events: none; }
.cq-grid i { flex: var(--w) 1 0; border-left: 1px solid #e3e8ec; }
.cq-grid i:first-child { border-left: 0; }
.cq-grid .cq-brk { background: repeating-linear-gradient(135deg, #f4f6f8 0 4px, #fff 4px 8px); }
.cq-now { position: absolute; top: 0; bottom: 0; left: 232px; right: 0; pointer-events: none; }
.cq-now::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); border-left: 2px dashed var(--ink); }
.cq-now span { position: absolute; top: 4px; left: var(--x); margin-left: 8px; font: 600 11px var(--sans); color: var(--ink); white-space: nowrap; }
.cq-row { position: relative; display: flex; min-height: 68px; border-top: 1px solid #e3e8ec; }
.cq-row:first-of-type { border-top: 0; }
.cq-row .cq-c0 { display: flex; flex-direction: column; justify-content: center; background: #fff; }
.cq-row .cq-c0 b { font: 400 17px/1.2 var(--serif); color: var(--ink); }
.cq-row .cq-c0 small { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.cq-tl { position: relative; z-index: 1; flex: 1; }
.cq-ms { position: absolute; left: var(--x); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; transform: rotate(45deg); }
.cq-ms--b { background: #000091; }
.cq-ms--g { background: #109848; }
.cq-ms--r { background: #c4302b; }
.cq-ms--s { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.cq-l { position: absolute; left: var(--x); top: 50%; transform: translateY(-50%); font: 500 13.5px var(--sans); color: var(--ink); white-space: nowrap; }
.cq-l--r { margin-left: 16px; }
.cq-l--left { transform: translate(calc(-100% - 16px), -50%); }
.cq-l--red { font-weight: 600; color: #c4302b; }
.cq-line { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); top: 50%; height: 2px; margin-top: -1px; background: #109848; }
.cq-bar { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); top: 50%; height: 32px; margin-top: -16px; display: flex; align-items: center; padding: 0 12px; font: 500 13px var(--sans); white-space: nowrap; overflow: hidden; }
.cq-bar sup { margin-right: 1px; font-size: .75em; line-height: 0; vertical-align: .5em; }
.cq-bar--p { background: #e3f2e6; border: 1px solid #109848; color: #0b6b33; }
.cq-bar--d { background: #0b7a3a; color: #fff; }
.cq figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cq-k { display: inline-flex; align-items: center; gap: 8px; }
.cq-ms--k { position: static; display: inline-block; width: 10px; height: 10px; margin: 0; }
.cq-src { flex-basis: 100%; }
.tq-cal + .tr2-orient { margin-top: 128px; }

/* ═════ 3. Attestation OPERAT et notation ═════ */
.tq-att { margin-top: 128px; padding: 96px 0 104px; background: #e9f4ec; }
.tq-att .pg-kicker { color: #0b6b33; }
.tq-att-g { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: 64px; margin-top: 48px; align-items: start; }
.at { position: relative; margin: 0; }
.at-doc { padding: 20px; background: #fff; color: #1a1a1a; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 20px 44px rgba(12, 64, 32, .14); }
.at-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; background: #0e8540; color: #fff; }
.at-title { font: 700 15px/1.25 Arial, Helvetica, sans-serif; text-transform: uppercase; }
.at-title span { display: block; margin-top: 8px; font-size: 12px; text-transform: none; }
.at-note { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; background: #fff; }
.at-note p { font: 700 11.5px/1.25 Arial, Helvetica, sans-serif; color: #0e8540; text-transform: uppercase; }
.at-note p span { display: block; margin-top: 4px; font-size: 11px; color: #1a1a1a; text-transform: none; }
.at-note img { display: block; width: 44px; height: 55px; }
.at-id { display: flex; gap: 32px; padding: 8px 16px; background: #d6eedb; font-size: 12px; }
.at-id span { color: #333; }
.at-id b { margin-left: 4px; }
.at-box { margin-top: 12px; padding: 12px 16px 16px; border: 1.5px solid #109848; }
.at-h { font: 700 17px Arial, Helvetica, sans-serif; color: #1a1a1a; }
.at-h small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: #444; }
.at-suivi ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.at-suivi li span { display: block; padding-bottom: 4px; border-bottom: 4px solid var(--c); font-size: 11.5px; font-weight: 700; }
.at-suivi li:nth-child(1) { --c: #c9cbe7; }
.at-suivi li:nth-child(2) { --c: #a5a9dc; }
.at-suivi li:nth-child(3) { --c: #6b72c7; }
.at-suivi li:nth-child(4) { --c: #000091; }
.at-suivi li b { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12px; }
.at-ar { font-style: normal; font-weight: 700; }
.at-ar--d::before { content: "↘"; color: #109848; }
.at-ar--u::before { content: "↗"; color: #e2231a; }
.at-graph-g { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 12px; align-items: center; margin-top: 8px; }
.at-chart { display: block; width: 100%; height: auto; }
.at-b { font: 700 10px "Arial Narrow", Arial, sans-serif; fill: #1a1a1a; }
.at-y { font: 700 9.5px "Arial Narrow", Arial, sans-serif; fill: #1a1a1a; }
.at-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 10.5px/1.25 Arial, Helvetica, sans-serif; color: #333; }
.at-leg li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: center; }
.at-leg i { display: grid; place-items: center; width: 24px; height: 18px; border-radius: 3px; background: var(--z); }
.at-leg img { width: 13px; height: 16px; }
.at-leg .at-leg-l { height: 2px; border-radius: 0; background: #e2231a; }
.at-pen { fill: none; stroke: #d0262a; stroke-width: 1.8; stroke-linecap: round; }
.at-hand { font: 500 21px var(--hand); fill: #d0262a; }
.at figcaption { margin-top: 12px; font-size: 13px; color: #3d4b55; }
.tq-lf { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.tq-lf li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: center; }
.tq-lf img { display: block; width: 64px; height: 80px; }
.tq-lf p { font-size: 15px; line-height: 1.45; color: var(--text); }
.tq-lf b { display: block; margin-bottom: 4px; font: 400 20px/1.2 var(--serif); color: var(--ink); }

/* ═════ 4. Qui fait quoi, trois présentations à l’essai ═════ */
.tq-who { margin-top: 128px; }
.tq-try { margin-top: 0; margin-bottom: 32px; }
.tq-try button:disabled { opacity: .45; cursor: not-allowed; }
.tq-who-v { margin-top: 40px; }
.tq-who-n { margin-top: 24px; font-size: 13.5px; color: var(--muted); }

/* A · l’infographie de l’ADEME, reprise dans notre typographie */
.wa { margin: 0; padding: 40px 48px 32px; background: #d6e8ee; }
.wa-t { font: 600 24px/1.3 var(--sans); color: #276a85; }
.wa-t span { font-weight: 400; }
.wa-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 32px; }
.wa h3 { font: 600 16px/1.4 var(--sans); color: #14232d; }
.wa h3 span { font-weight: 400; }
.wa ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 24px; }
.wa li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; align-items: center; }
.wa li .tq-ic { width: 48px; height: 48px; color: #23495e; }
.wa li p { font-size: 16px; line-height: 1.45; color: #1f3340; }
.wa li small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #3d4b55; }
.wa figcaption { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(31, 51, 64, .16); font-size: 13px; color: #3d4b55; }

/* B · face à face, l’exploitation partagée au centre */
.wb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 344px) minmax(0, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.wb-side { padding: 32px 48px 40px 0; }
.wb-side:last-child { padding: 32px 0 40px 48px; }
.wb h3 { font-size: 26px; }
.wb-side h3 span { display: block; margin-top: 4px; font: 500 14px var(--sans); color: var(--muted); }
.wb ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 24px; }
.wb li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.wb li .tq-ic { color: var(--sky); }
.wb li p { font-size: 14.5px; line-height: 1.45; color: var(--text); }
.wb li b { display: block; font: 600 16px/1.35 var(--sans); color: var(--ink); }
.wb-mid { display: flex; flex-direction: column; justify-content: center; padding: 40px 32px; background: var(--lemon); }
.wb-mid-k { font: 600 13px var(--sans); color: var(--ink); }
.wb-mid .tq-ic { width: 48px; height: 48px; margin-top: 20px; color: var(--ink); }
.wb-mid h3 { margin-top: 16px; font-size: 26px; line-height: 1.15; }
.wb-mid p:last-child { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink); }

/* C · selon votre situation, onglets à trait */
.wc-tabs { display: flex; gap: 40px; border-bottom: 1px solid rgba(31, 51, 64, .16); }
.wc-tabs button { position: relative; padding: 0 0 16px; border: 0; background: none; font: 400 24px/1.2 var(--serif); color: var(--muted); cursor: pointer; transition: color .2s var(--ease); }
.wc-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--lemon); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.wc-tabs button:hover { color: var(--ink); }
.wc-tabs button:active { opacity: .8; }
.wc-tabs button[aria-selected="true"] { color: var(--ink); }
.wc-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.wc-tabs button:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.wc-p { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; margin-top: 40px; align-items: start; }
.wc-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.wc-l li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; font-size: 16px; line-height: 1.45; color: var(--ink); }
.wc-l .tq-ic { width: 44px; height: 44px; color: var(--sky); }
.wc-us { padding: 28px 32px; background: var(--sky-pale); }
.wc-us-k { font: 600 13px var(--sans); color: var(--sky-ink); }
.wc-us p + p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink); }

.tq-who + .tr3-rep { margin-top: 128px; }

@media (prefers-reduced-motion: reduce) {
  .wc-tabs button, .wc-tabs button::after { transition: none; }
}

/* Qui fait quoi : on garde le face à face ; pictogrammes redessinés d'après l'infographie ADEME (trait, cercle ouvert à flèche) */
.ic-wrench { --ic: url("/files/tertiaire/ademe/ademe-wrench.svg?v=47adcefc"); }
.ic-clip { --ic: url("/files/tertiaire/ademe/ademe-doc.svg?v=bca3543e"); }
.ic-desk { --ic: url("/files/tertiaire/ademe/ademe-shop.svg?v=e6889a7c"); }
.ic-users { --ic: url("/files/tertiaire/ademe/ademe-users.svg?v=4ea35428"); }
.ic-bldg { --ic: url("/files/tertiaire/ademe/ademe-bldg.svg?v=deb180f6"); }
.ic-fan { --ic: url("/files/tertiaire/ademe/ademe-bars.svg?v=eddb62ea"); }
.ic-gtb { --ic: url("/files/tertiaire/ademe/ademe-shield.svg?v=52d4df31"); }
.ic-hat { --ic: url("/files/tertiaire/ademe/ademe-hat.svg?v=667c95f1"); }
.wb li { grid-template-columns: 52px minmax(0, 1fr); }
.wb li .tq-ic { width: 52px; height: 52px; color: #23628f; }
.wb-mid .tq-ic { width: 56px; height: 56px; }
/* Pictogrammes reproduits à l'identique d'après l'infographie ADEME (deux tons, détourés) */
.ic-wrench { --ic: url("/files/tertiaire/ademe/ademe-wrench.png?v=b386eab1"); }
.ic-clip { --ic: url("/files/tertiaire/ademe/ademe-doc.png?v=2599feea"); }
.ic-desk { --ic: url("/files/tertiaire/ademe/ademe-shop.png?v=7cf3544e"); }
.ic-users { --ic: url("/files/tertiaire/ademe/ademe-users.png?v=c604bb17"); }
.ic-bldg { --ic: url("/files/tertiaire/ademe/ademe-bldg.png?v=3895ef3e"); }
.ic-fan { --ic: url("/files/tertiaire/ademe/ademe-bars.png?v=7f02d43e"); }
.ic-gtb { --ic: url("/files/tertiaire/ademe/ademe-shield.png?v=d84b055d"); }
.ic-hat { --ic: url("/files/tertiaire/ademe/ademe-hat.png?v=8d37585c"); }
.wb .tq-ic { background: var(--ic) center / contain no-repeat; -webkit-mask: none; mask: none; }
.wb li { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; }
.wb li .tq-ic { width: 64px; height: 64px; }
.wb-mid .tq-ic { width: 72px; height: 72px; }
.wb .tq-ic { background-size: 150%; }
.wb li { grid-template-columns: 72px minmax(0, 1fr); }
.wb li .tq-ic { width: 72px; height: 72px; }
.wb-mid .tq-ic { width: 88px; height: 88px; }
.wb li { grid-template-columns: 56px minmax(0, 1fr); }
.wb li .tq-ic { width: 56px; height: 56px; }
.wb-mid .tq-ic { width: 72px; height: 72px; }

/* Round 5 : documents plutôt que dessins codés.
   Ouverture : une page de rapport mise en page comme un vrai document Word ; calendrier repris à l'identique de la plaquette officielle ;
   valeur relative / absolue et notation : les visuels officiels ; sommaire réel à droite du bloc « Nous déclarons pour vous » */
.tq-paper { position: relative; background: #fff; box-shadow: 0 1px 2px rgba(10, 20, 30, .12), 0 24px 56px rgba(10, 25, 40, .28); }
.tq-paper img { display: block; width: 100%; height: auto; }
.tq-sheet--img .tq-paper { height: 640px; overflow: hidden; }
.tq-sheet--img .tq-paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.tq-sheet--img figcaption { margin-top: 12px; }
.tq-off { margin: 0; }
.tq-off img { display: block; width: 100%; height: auto; }
.tq-off figcaption, .ec figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
/* calendrier officiel, à plat */
.ec { margin: 48px 0 0; }
.ec ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; position: relative; }
.ec ol::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 1px; background: #bfbfbf; z-index: -1; }
.ec li { display: grid; grid-template-rows: auto 1fr; border: 1px solid #d9d9d9; background: #fff; }
.ec-d { padding: 14px 12px 12px; text-align: center; font: 600 15px var(--sans); color: #139144; }
.ec-d b { display: block; font-size: 26px; line-height: 1.1; color: #139144; }
.ec-t { padding: 14px 14px 16px; border-top: 1px solid #d9d9d9; background: #f2f2f2; text-align: center; font-size: 14px; line-height: 1.45; color: #1a1a1a; }
.ec-t b { font-weight: 600; }
.tq-cal { position: relative; isolation: isolate; }
/* sommaire */
.tr3-doc--img { padding: 0; background: none; box-shadow: none; }
.tr3-doc--img .tq-paper { height: 560px; overflow: hidden; }
.tr3-doc--img figcaption { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .78); }
/* notation : badges officiels */
.tq-lf img { width: 64px; height: auto; }
.tq-sheet--img { max-width: 600px; justify-self: end; }
.tq-sheet--img .tq-paper { height: auto; overflow: visible; }
.tq-sheet--img .tq-paper::after { display: none; }
.tq-att-g { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.tq-off--not { max-width: 520px; }
.tq-lf { align-self: center; }
/* Ouverture : un graphique « de rapport » (trajectoire et objectifs), posé comme une planche */
.tq-exhibit { margin: 40px 0 0; padding: 32px 36px 28px; background: #fff; box-shadow: 0 1px 2px rgba(10, 20, 30, .1), 0 28px 60px rgba(10, 25, 40, .3); }
.tq-ex { display: block; width: 100%; height: auto; }

/* Round 6 : échéances à l'échelle (le futur en avant), valeur relative / absolue en deux chiffres, notation en échelle sur fond blanc, sommaire soigné */
.er { margin-top: 56px; }
.er-annual { display: inline-flex; gap: 12px; align-items: baseline; padding: 12px 18px; background: var(--sky-pale); font-size: 15.5px; color: var(--text); }
.er-annual b { font-weight: 600; color: var(--ink); }
.er-rule { position: relative; height: 2px; margin-top: 168px; background: linear-gradient(90deg, #c9d2d9 0 25.3%, var(--ink) 25.3% 100%); }
.er-ticks span { position: absolute; left: var(--x); top: 14px; transform: translateX(-50%); font: 500 12.5px var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.er-ticks span::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 8px; background: #9aa6af; }
.er-now { position: absolute; left: var(--x); bottom: 10px; transform: translateX(-50%); padding: 3px 8px; background: var(--lemon); font: 600 12px var(--sans); color: var(--ink); white-space: nowrap; }
.er-ms { position: relative; list-style: none; margin: -170px 0 0; padding: 0; height: 160px; }
.er-ms li { position: absolute; left: var(--x); bottom: 0; display: grid; gap: 6px; width: 180px; padding: 0 0 18px 12px; border-left: 1px solid #b9c4cc; }
.er-ms li::after { content: ""; position: absolute; left: -5px; bottom: -6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.er-y { font: 600 13px var(--sans); color: var(--ink); }
.er-w { font-size: 14px; line-height: 1.4; color: var(--text); }
.er-past { opacity: .55; }
.er-past::after { background: #9aa6af !important; }
.er-goal .er-w { font: 400 44px/1 var(--serif); letter-spacing: -.02em; color: #1f4f73; }
.er-goal .er-y { font-size: 15px; }
.er-ms li:last-child { left: auto; right: 0; border-left: 0; border-right: 1px solid #b9c4cc; padding: 0 12px 18px 0; text-align: right; }
.er-ms li:last-child::after { left: auto; right: -5px; }
.er-ms .er-now-li { }
/* valeur relative / absolue */
.vr { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.vr-c { padding: 32px 32px 36px 0; }
.vr-c + .vr-or + .vr-c { padding: 32px 0 36px 32px; }
.vr-k { font: 600 13px var(--sans); color: var(--sky-ink); }
.vr-big { margin-top: 12px; font: 400 76px/1 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.vr-big--u { font-size: 52px; line-height: 1.38; }
.vr-t { margin-top: 16px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.vr-or { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lemon); font: 600 15px var(--sans); color: var(--ink); }
/* notation : échelle, fond blanc */
.tq-att { background: #fff; }
.tq-att .pg-kicker { color: var(--sky-ink); }
.lf-scale { margin-top: 48px; }
.lf-scale ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.lf-scale li { display: grid; justify-items: start; gap: 8px; padding: 28px 24px 0 0; }
.lf-scale li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.lf-scale img { width: 72px; height: auto; margin-bottom: 8px; }
.lf-scale b { font: 400 21px/1.2 var(--serif); color: var(--ink); }
.lf-scale span { font-size: 14.5px; line-height: 1.45; color: var(--text); }
.lf-axis { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 10px; border-top: 2px solid; border-image: linear-gradient(90deg, #9aa6af, #1f4f73) 1; font: 500 12.5px var(--sans); color: var(--muted); }
/* sommaire soigné */
.tr3-doc--v2 { padding: 40px 44px 28px; background: #fff; color: #1f2b33; box-shadow: 0 30px 60px rgba(5, 15, 25, .35); font-family: Arial, Helvetica, sans-serif; }
.tr3-doc--v2 .tr3-doc-h { padding-bottom: 12px; border-bottom: 1px solid #1f4f73; font-size: 11px; color: #5b6871; }
.tr3-doc-tt { margin-top: 28px; font: 700 20px Arial, Helvetica, sans-serif; color: #1f4f73; }
.tr3-doc--v2 ol { list-style: none; margin: 20px 0 0; padding: 0; }
.tr3-doc--v2 li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px dotted #b9c4cc; }
.tr3-doc--v2 li b { font-size: 15px; color: #1f4f73; }
.tr3-doc--v2 li span { font-size: 15px; font-weight: 700; color: #14283a; }
.tr3-doc--v2 li small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: #5b6871; }
.tr3-doc--v2 li i { font-style: normal; font-size: 14px; color: #5b6871; font-variant-numeric: tabular-nums; }
.tr3-doc-f { display: flex; justify-content: space-between; margin-top: 24px; font-size: 10.5px; color: #8a959d; }
.er-ms { margin: 56px 0 0; height: 150px; }
.er-rule { margin-top: 0; background: var(--ink); }
.er-now { bottom: auto; top: -30px; }
.er-ms--dn { margin: 0; height: 150px; }
.er-ms--dn li { bottom: auto; top: 0; padding: 40px 0 0 12px; }
.er-ms--dn li::after { bottom: auto; top: -5px; }
.er-ms li.er-now { width: 200px; }
.er-past-t { margin-top: 8px; font-size: 13px; color: var(--muted); }
.er-ticks span { top: 12px; }
.er-ms li:last-child { left: var(--x); right: auto; border-right: 0; border-left: 1px solid #b9c4cc; padding: 0 0 18px 12px; text-align: left; }
.er-ms:not(.er-ms--dn) li:last-child { left: auto; right: 0; border-left: 0; border-right: 1px solid #b9c4cc; padding: 0 12px 18px 0; text-align: right; }
.er-ms:not(.er-ms--dn) li:last-child::after { left: auto; right: -5px; }
.er-ms--dn li:last-child { padding: 40px 0 0 12px; }
.er-ms--dn li:last-child::after { left: -5px; right: auto; }
.er-today { width: 220px !important; }
.er-today .er-y { color: var(--ink); }
.er-ms--dn li.er-today:first-child { width: 200px !important; }
.er-ms--dn li.er-today:first-child::after { background: var(--ink); }
.er-ms--dn li.er-fut { width: 210px; }

/* Round 7 : retour au design des encadrés officiels, réduit aux éléments utiles et en plus grand */
.ec--v2 .ec-d { font-size: 15px; padding: 18px 12px 14px; }
.ec--v2 .ec-d b { font-size: 30px; }
.ec--v2 .ec-t { font-size: 15px; padding: 16px 14px 20px; }
.ec--v2 .ec-big { display: block; margin-bottom: 6px; font: 700 34px/1 var(--sans); color: #139144; letter-spacing: -.01em; }
.ec--v2 li.ec-g .ec-t { background: #e8f5ec; }
.ob { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.ob-c { position: relative; padding: 40px 32px 32px 40px; border: 2px solid #18ac50; background: #fff; }
.ob-n { position: absolute; left: -2px; top: -26px; display: grid; place-items: center; width: 52px; height: 52px; background: #dcdcdc; font: 700 34px var(--sans); color: #fff; }
.ob-h { font: 600 15px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .02em; color: #4a4a4a; }
.ob-h b { display: block; font-weight: 700; color: #139144; }
.ob-big { margin-top: 24px; font: 700 52px/1 var(--sans); letter-spacing: -.02em; color: #14283a; }
.ob-big span { display: block; margin-top: 8px; font-size: 20px; font-weight: 600; color: #4a5864; }
.ob ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ob li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; color: #1a1a1a; }
.ob li::before { content: "→"; position: absolute; left: 0; color: #4a4a4a; }
.ob li b { font-weight: 600; }
.tr2-orient { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

/* Notation : fond dégradé bleu, chaque feuille sur son étiquette blanche, la flèche « moins bien → mieux » en clair */
.tq-att { padding: 112px 0 120px; background: linear-gradient(110deg, var(--ink) 0%, #234e6b 55%, #2c6ea8 100%); color: #fff; }
.tq-att .pg-kicker { color: var(--sky-2); }
.tq-att .tq-head h2 { color: #fff; }
.tq-att .tq-head p:not(.pg-kicker) { color: rgba(255, 255, 255, .88); }
.lf-scale ol { gap: 16px; border-top: 0; }
.lf-scale li, .lf-scale li + li { padding: 28px 24px 28px; border-left: 0; background: #fff; box-shadow: 0 16px 36px rgba(5, 15, 25, .25); }
.lf-scale li:nth-child(5) { outline: 3px solid var(--lemon); outline-offset: -3px; }
.lf-scale img { width: 84px; }
.lf-axis { color: rgba(255, 255, 255, .8); border-image: linear-gradient(90deg, rgba(255, 255, 255, .35), #fff) 1; }
.tq-att .lf-axis, .tq-att .lf-axis span { color: rgba(255, 255, 255, .82); } .lf-scale li { align-content: start; }

/* Round 8 : texte sous le titre pour les échéances ; fond bleu pâle pour relative/absolue ; sommaire aux polices du site, plus serré */
.tq-cal .tq-head { grid-template-columns: minmax(0, 1fr); }
.tq-cal .tq-head p:not(.pg-kicker) { margin-top: 16px; max-width: 72ch; }
.tr2-orient { position: relative; isolation: isolate; padding-top: 104px; padding-bottom: 112px; }
.tr2-orient::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--sky-pale); }
.tq-cal + .tr2-orient { margin-top: 128px; }
.tr2-orient + .tq-att { margin-top: 0; }
.ob-c { box-shadow: 0 12px 32px rgba(20, 40, 58, .08); }
.tr3-doc--v2 { padding: 28px 32px 20px; font-family: var(--sans); }
.tr3-doc--v2 .tr3-doc-h { font-size: 11px; }
.tr3-doc-tt { margin-top: 18px; font: 400 22px var(--serif); color: #14283a; }
.tr3-doc--v2 ol { margin-top: 10px; }
.tr3-doc--v2 li { padding: 9px 0; gap: 10px; }
.tr3-doc--v2 li b { font: 600 13px var(--sans); }
.tr3-doc--v2 li span { font: 600 14px var(--sans); }
.tr3-doc--v2 li small { margin-top: 2px; font-size: 12px; line-height: 1.4; }
.tr3-doc--v2 li i { font-size: 13px; }
.tr3-doc-f { margin-top: 14px; }

/* Notation : essais de fond. B = vert profond accordé au bleu ; C et D = fond blanc, étiquettes teintées */
html[data-nf="b"] .tq-att { background: linear-gradient(110deg, #173a30 0%, #1f5141 55%, #2d6e55 100%); }
html[data-nf="b"] .tq-att .pg-kicker { color: #a9dcc3; }
html[data-nf="c"] .tq-att, html[data-nf="d"] .tq-att { background: #fff; color: var(--ink); }
html[data-nf="c"] .tq-att .tq-head h2, html[data-nf="d"] .tq-att .tq-head h2 { color: var(--ink); }
html[data-nf="c"] .tq-att .tq-head p:not(.pg-kicker), html[data-nf="d"] .tq-att .tq-head p:not(.pg-kicker) { color: var(--text); }
html[data-nf="c"] .tq-att .pg-kicker { color: var(--sky-ink); }
html[data-nf="d"] .tq-att .pg-kicker { color: #1f6a4c; }
html[data-nf="c"] .lf-scale li { background: linear-gradient(160deg, #1f3a4d 0%, #2c6ea8 100%); box-shadow: none; }
html[data-nf="d"] .lf-scale li { background: linear-gradient(160deg, #173a30 0%, #2d6e55 100%); box-shadow: none; }
html[data-nf="c"] .lf-scale b, html[data-nf="d"] .lf-scale b { color: #fff; }
html[data-nf="c"] .lf-scale span, html[data-nf="d"] .lf-scale span { color: rgba(255, 255, 255, .86); }
html[data-nf="c"] .lf-scale img, html[data-nf="d"] .lf-scale img { padding: 6px; background: #fff; }
html[data-nf="c"] .tq-att .lf-axis, html[data-nf="c"] .tq-att .lf-axis span, html[data-nf="d"] .tq-att .lf-axis, html[data-nf="d"] .tq-att .lf-axis span { color: var(--muted); }
html[data-nf="c"] .lf-axis, html[data-nf="d"] .lf-axis { border-image: linear-gradient(90deg, #c9d2d9, var(--ink)) 1; }
/* E (par défaut) : étiquettes vertes sur un fond gris clair parcouru de fins filaments */
html[data-nf="e"] .tq-att { color: var(--ink); background-color: #eef1f3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='240' viewBox='0 0 600 240'%3E%3Cg fill='none' stroke='%2314283a' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M0 40 C150 10 300 70 600 30'/%3E%3Cpath d='M0 90 C180 60 320 120 600 80'/%3E%3Cpath d='M0 140 C160 110 340 170 600 130'/%3E%3Cpath d='M0 190 C140 160 330 220 600 180'/%3E%3Cpath d='M0 230 C200 205 360 250 600 225'/%3E%3C/g%3E%3C/svg%3E"); background-size: 600px 240px; }
html[data-nf="e"] .tq-att .tq-head h2 { color: var(--ink); }
html[data-nf="e"] .tq-att .tq-head p:not(.pg-kicker) { color: var(--text); }
html[data-nf="e"] .tq-att .pg-kicker { color: #1f6a4c; }
html[data-nf="e"] .lf-scale li { background: linear-gradient(160deg, #173a30 0%, #2d6e55 100%); box-shadow: 0 14px 30px rgba(20, 40, 30, .18); }
html[data-nf="e"] .lf-scale b { color: #fff; }
html[data-nf="e"] .lf-scale span { color: rgba(255, 255, 255, .86); }
html[data-nf="e"] .lf-scale img { padding: 6px; background: #fff; }
html[data-nf="e"] .tq-att .lf-axis, html[data-nf="e"] .tq-att .lf-axis span { color: var(--muted); }
html[data-nf="e"] .lf-axis { border-image: linear-gradient(90deg, #c9d2d9, #1f6a4c) 1; }
/* Rythme des couleurs : bleu (ouverture) → blanc, touches de vert (échéances) → bleu pâle (valeurs) → blanc, étiquettes vertes (notation)
   → blanc, une touche citron (qui fait quoi) → bleu (nos missions). Les touches de vert des échéances reprennent celui des étiquettes. */
.ec--v2 li.ec-g .ec-t { background: #edf5f0; }
.ec--v2 .ec-big { color: #1f6a4c; }
.tq-att { padding-top: 112px; padding-bottom: 112px; }
.tr2-orient + .tq-att { margin-top: 0; }

/* Round 9 : textes d'introduction sous les titres ; numéros citron ; plus de contour jaune sur la dernière étiquette */
.tq-head { grid-template-columns: minmax(0, 1fr); }
.tq-head p:not(.pg-kicker) { margin-top: 16px; max-width: 72ch; }
.ob-n { background: var(--lemon); color: var(--ink); }
.lf-scale li:nth-child(5) { outline: 0; }

/* Round 10 : une seule famille de couleurs, les bleus. Le vert ne subsiste que dans les feuilles officielles.
   Notation : étiquettes bleu profond sur fond blanc, rapprochée du bloc précédent */
.ec--v2 li.ec-g .ec-t { background: var(--sky-pale); }
.ec--v2 .ec-big { color: #1f4f73; }
.ec-d, .ec-d b, .ec--v2 .ec-d b { color: #1f4f73; }
.ob-c { border-color: #2c78ad; }
.ob-h b { color: #23628f; }
.tq-att { padding-top: 96px; padding-bottom: 104px; background: #fff; color: var(--ink); }
.tq-att .pg-kicker { color: var(--sky-ink); }
.tq-att .tq-head h2 { color: var(--ink); }
.tq-att .tq-head p:not(.pg-kicker) { color: var(--text); }
html[data-nf="blue"] .lf-scale li { background: linear-gradient(160deg, #1f3a4d 0%, #23628f 100%); box-shadow: none; }
html[data-nf="blue"] .lf-scale b { color: #fff; }
html[data-nf="blue"] .lf-scale span { color: rgba(255, 255, 255, .86); }
html[data-nf="blue"] .lf-scale img { padding: 6px; background: #fff; }
html[data-nf="blue"] .tq-att .lf-axis, html[data-nf="blue"] .tq-att .lf-axis span { color: var(--muted); }
html[data-nf="blue"] .lf-axis { border-image: linear-gradient(90deg, #c9d2d9, #1f4f73) 1; }
.tr2-orient { padding-bottom: 96px; }
.tq-att { padding-top: 72px; }

/* Essais de teinte de la page, pour sortir du bleu : pétrole, vert profond, ardoise. Chaque teinte = un fond profond, un fond pâle, un accent */
html[data-tp="petrole"] { --tp-d: #12404a; --tp-m: #1f6a72; --tp-l: #3d8a8f; --tp-p: #e4f0f1; --tp-t: #1a5d64; }
html[data-tp="vert"] { --tp-d: #1b3b31; --tp-m: #2f6550; --tp-l: #4f8a72; --tp-p: #e7f0eb; --tp-t: #285c48; }
html[data-tp="ardoise"]:not([data-tp="bleu"]) { --tp-d: #1d2730; --tp-m: #3a4a57; --tp-l: #5d6f7d; --tp-p: #eef1f3; --tp-t: #3a4a57; }
html[data-tp]:not([data-tp="bleu"]) .tq-open::before { background: linear-gradient(100deg, var(--tp-d) 0%, var(--tp-m) 60%, var(--tp-l) 100%); }
html[data-tp]:not([data-tp="bleu"]) .pg-kicker { color: var(--tp-t); }
html[data-tp]:not([data-tp="bleu"]) .tq-open .pg-kicker, html[data-tp]:not([data-tp="bleu"]) .tr3-rep .pg-kicker { color: rgba(255, 255, 255, .8); }
html[data-tp]:not([data-tp="bleu"]) .ec-d, html[data-tp]:not([data-tp="bleu"]) .ec-d b, html[data-tp]:not([data-tp="bleu"]) .ec--v2 .ec-d b, html[data-tp]:not([data-tp="bleu"]) .ec--v2 .ec-big { color: var(--tp-t); }
html[data-tp]:not([data-tp="bleu"]) .ec--v2 li.ec-g .ec-t { background: var(--tp-p); }
html[data-tp]:not([data-tp="bleu"]) .tr2-orient::before { background: var(--tp-p); }
html[data-tp]:not([data-tp="bleu"]) .ob-c { border-color: var(--tp-m); }
html[data-tp]:not([data-tp="bleu"]) .ob-h b { color: var(--tp-t); }
html[data-tp]:not([data-tp="bleu"]) .lf-scale li { background: linear-gradient(160deg, var(--tp-d) 0%, var(--tp-m) 100%) !important; }
html[data-tp]:not([data-tp="bleu"]) .lf-axis { border-image: linear-gradient(90deg, #c9d2d9, var(--tp-m)) 1; }
html[data-tp]:not([data-tp="bleu"]) .tr3-rep { background: linear-gradient(110deg, var(--tp-d) 0%, var(--tp-m) 60%, var(--tp-l) 100%); }
html[data-tp]:not([data-tp="bleu"]) .tr3-doc--v2 .tr3-doc-h { border-bottom-color: var(--tp-m); }
html[data-tp]:not([data-tp="bleu"]) .tr3-doc--v2 li b { color: var(--tp-t); }
/* Bas de page : bandeau de contact et pied de page forment un seul aplat, à la teinte de la page */
html[data-tp]:not([data-tp="bleu"]) .end { background: linear-gradient(110deg, var(--tp-d) 0%, var(--tp-m) 100%); }
html[data-tp]:not([data-tp="bleu"]) .end .contact, html[data-tp]:not([data-tp="bleu"]) .end .footer { background: transparent; }
html[data-tp]:not([data-tp="bleu"]) .wb { border-top-color: var(--tp-d); }
/* le graphique d'ouverture suit la teinte */
html[data-tp]:not([data-tp="bleu"]) .tq-ex .mx-b13 { fill: var(--tp-d); }
html[data-tp]:not([data-tp="bleu"]) .tq-ex .mx-b21 { fill: var(--tp-m); }
html[data-tp]:not([data-tp="bleu"]) .tq-ex .mx-o, html[data-tp]:not([data-tp="bleu"]) .tq-ex .mx-tr { stroke: var(--tp-m); }
html[data-tp]:not([data-tp="bleu"]) .tq-ex .mx-p { fill: var(--tp-t); }
html[data-tp]:not([data-tp="bleu"]) .tq-ex pattern rect { fill: var(--tp-p); }
html[data-tp]:not([data-tp="bleu"]) .tq-ex pattern path { stroke: var(--tp-m); }
html[data-tp]:not([data-tp="bleu"]) .tq-ex .mx-b { fill: #c7cfd4; }

/* Round 11 : notation sans étiquette posée sur un aplat (cartes blanches, filet de teinte en tête) ; échéances remontées ; accents par teinte */
.tq-cal { margin-top: 88px; }
html[data-tp] .lf-scale li, html[data-tp]:not([data-tp="bleu"]) .lf-scale li { background: #fff !important; border: 1px solid var(--line); border-top: 4px solid var(--tp-m, #1f4f73); box-shadow: none; }
html[data-tp] .lf-scale b { color: var(--ink) !important; }
html[data-tp] .lf-scale span { color: var(--text) !important; }
html[data-tp] .lf-scale img { padding: 0 !important; background: none !important; }
html[data-tp] .lf-scale li:nth-child(1) { border-top-color: #9aa3a8; }
html[data-tp] .lf-scale li:nth-child(2) { border-top-color: #f2a20c; }
html[data-tp="bleu"] { --tp-m: #23628f; }
/* ardoise : l'accent citron devient franc */
html[data-tp="ardoise"]:not([data-tp="bleu"]) .ec--v2 li.ec-g .ec-t { background: var(--lemon); }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .ec--v2 .ec-big { color: var(--ink); }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .ec-d, html[data-tp="ardoise"]:not([data-tp="bleu"]) .ec-d b { color: var(--ink) !important; }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tr2-orient::before { background: #e9ecef; }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .ob-c { border-color: var(--ink); }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .lf-scale li:nth-child(n+3) { border-top-color: var(--lemon); }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tq-ex .mx-b21 { fill: var(--lemon); }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tq-ex pattern rect { fill: #fff9c2; }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tq-ex pattern path { stroke: #1d2730; }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tq-ex .mx-o, html[data-tp="ardoise"]:not([data-tp="bleu"]) .tq-ex .mx-tr { stroke: #1d2730; }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tq-ex .mx-p { fill: #1d2730; }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tq-open-btn { background: var(--lemon); color: var(--ink); border-color: var(--lemon); }
html[data-tp="ardoise"]:not([data-tp="bleu"]) .tr3-rep .btn-contact { background: var(--lemon); color: var(--ink); }
/* pétrole et vert : le citron reste en touches (numéros, bouton), les objectifs prennent la teinte */
html[data-tp="petrole"] .tq-open-btn, html[data-tp="vert"] .tq-open-btn { background: #fff; color: var(--tp-d); }

/* Pour aller plus loin : la notation et les sujets de détail passent dans des articles du Journal */
.tq-read { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; margin-top: 128px; margin-bottom: 128px; }
.tq-read-head { grid-column: 1 / -1; }
.tq-read-head h2 { margin-top: 8px; font: 400 40px/1.15 var(--serif); color: var(--ink); }
.tq-read-main { display: grid; grid-template-rows: auto 1fr; color: var(--ink); text-decoration: none; border-top: 3px solid var(--tp-m, var(--ink)); }
.tq-read-badges { display: flex; justify-content: center; gap: 24px; padding: 40px 32px; background: var(--tp-p, #eef3f6); }
.tq-read-badges img { width: 72px; height: auto; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.tq-read-main:hover .tq-read-badges img { transform: translateY(-4px); }
.tq-read-txt { display: grid; align-content: start; gap: 8px; padding: 24px 0 0; }
.tq-read-txt b, .tq-read-more b { font: 400 26px/1.25 var(--serif); color: var(--ink); }
.tq-read-txt > span:not(.jx-type) { font-size: 16px; line-height: 1.55; color: var(--text); max-width: 60ch; }
.tq-read i { margin-top: 8px; font: 500 14px var(--sans); font-style: normal; color: var(--tp-t, var(--sky-ink)); }
.tq-read-main:hover b, .tq-read-more a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tq-read-main:focus-visible, .tq-read-more a:focus-visible { outline: 2px solid var(--tp-m, var(--sky)); outline-offset: 4px; }
.tq-read-more { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; border-top: 1px solid var(--line); }
.tq-read-more li { border-bottom: 1px solid var(--line); }
.tq-read-more a { display: grid; gap: 8px; padding: 24px 0; color: var(--ink); text-decoration: none; }
.tq-read-more b { font-size: 22px; }
.tq-read .jx-type { font: 500 12.5px var(--sans); color: var(--tp-t, var(--muted)); letter-spacing: .02em; }
.tr3-rep + .tq-read { margin-top: 128px; }

/* ───── Quatre ouvertures à comparer : A graphique (actuelle), B l’escalier, C la fiche, D le texte ───── */
.tq-o { display: none; }
html[data-th="b"] .tq-open, html[data-th="c"] .tq-open, html[data-th="d"] .tq-open { display: none; }
html[data-th="b"] .tq-o--b, html[data-th="c"] .tq-o--c, html[data-th="d"] .tq-o--d { display: block; }
.tq-sep { margin-left: 16px; }

/* B · l’escalier : les paliers du décret forment le sol de la page */
.tq-o--b { position: relative; overflow: hidden; min-height: calc(100svh - 80px - 48px); background: var(--tp-d, #14283a); color: #fff; }
.tq-ob-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: 16px; padding-top: 72px; padding-left: calc(50% + 24px); }
.tq-o--b .pg-kicker { color: rgba(255, 255, 255, .78); }
.page .tq-o--b h1 { color: #fff; font-size: 76px; line-height: 1; letter-spacing: -.025em; }
.tq-ob-copy > p:not(.pg-kicker) { max-width: 46ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.tq-ob-copy .btn { margin-top: 8px; }
.tq-steps { position: absolute; left: 0; right: 0; bottom: 0; height: 64%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; list-style: none; margin: 0; padding: 0; }
.tq-steps li { height: calc(var(--h) * 1%); display: grid; align-content: start; gap: 8px; padding: 24px 32px; box-sizing: border-box; background-color: var(--tp-m, #2c6ea8); background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 16px 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tq-steps li:first-child { background-color: var(--tp-l, #4b98cc); border-left: 0; }
.tq-steps li:nth-child(2) { box-shadow: inset 0 6px 0 var(--lemon); }
.tq-steps b { font: 400 56px/1 var(--serif); font-variant-numeric: lining-nums; color: #fff; }
.tq-steps span { font: 500 14px/1.4 var(--sans); color: rgba(255, 255, 255, .86); }

/* C · la fiche : bandeau photo, feuille blanche qui le chevauche, faits clés en colonne */
.tq-o--c { position: relative; padding-bottom: 32px; }
.tq-oc-ph { display: block; width: 100%; height: 44svh; min-height: 320px; object-fit: cover; object-position: center 35%; }
.tq-oc-sheet { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; margin-top: -168px; padding: 48px 56px 56px; background: #fff; box-shadow: 0 1px 2px rgba(20, 40, 58, .06), 0 24px 56px rgba(20, 40, 58, .12); border-top: 6px solid var(--tp-m, #2c78ad); }
.tq-oc-main .pg-kicker { color: var(--tp-t, var(--sky-ink)); }
.page .tq-o--c h1 { margin-top: 12px; font-size: 84px; line-height: .98; letter-spacing: -.03em; color: var(--ink); }
.tq-oc-main > p:not(.pg-kicker) { margin-top: 24px; max-width: 46ch; font-size: 18px; line-height: 1.6; }
.tq-oc-main .btn { margin-top: 32px; }
.tq-oc-facts { margin: 0; align-self: start; }
.tq-oc-facts div { padding: 16px 0; border-top: 1px solid var(--line); }
.tq-oc-facts div:first-child { border-top: 2px solid var(--ink); }
.tq-oc-facts dt { font: 500 13px var(--sans); color: var(--tp-t, var(--muted)); }
.tq-oc-facts dd { margin: 4px 0 0; font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.tq-oc-facts dd b { font-weight: 600; }

/* D · le texte : l’intitulé officiel du décret comme titre, notre lecture en marge */
.tq-o--d { background: var(--tp-p, #eef2f4); }
.tq-od-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: center; min-height: calc(100svh - 80px - 48px); padding-top: 72px; padding-bottom: 72px; box-sizing: border-box; }
.tq-od-doc { padding: 56px 64px 64px; background: #fff; box-shadow: 0 1px 2px rgba(20, 40, 58, .06), 0 24px 56px rgba(20, 40, 58, .1); }
.tq-od-k { display: flex; align-items: center; gap: 16px; font: 500 13px var(--sans); color: var(--muted); }
.tq-od-tag { padding: 4px 10px; background: var(--tp-m, #2c78ad); color: #fff; font-weight: 600; font-size: 12px; }
.page .tq-o--d h1 { margin-top: 24px; font-size: 46px; line-height: 1.22; letter-spacing: -.01em; color: var(--ink); }
.tq-o--d mark { background: linear-gradient(transparent 58%, var(--lemon) 58%, var(--lemon) 92%, transparent 92%); color: inherit; padding: 0 2px; }
.tq-od-nh { font: 500 13px var(--sans); color: var(--tp-t, var(--sky-ink)); }
.tq-od-notes ol { list-style: none; margin: 16px 0 32px; padding: 0; border-top: 2px solid var(--ink); }
.tq-od-notes li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.tq-od-notes li b { display: block; font: 400 24px/1.2 var(--serif); color: var(--ink); }
html .page .tq-o--b .pg-kicker, html[data-tp] .tq-o--b .pg-kicker { color: rgba(255, 255, 255, .8); }
/* C · la fiche : le graphique posé directement sur la feuille blanche, à droite */
.tq-oc-sheet { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.tq-oc-chart { margin: 0; }
.tq-oc-chart .tq-ex { width: 100%; height: auto; }
