/* Polices hébergées sur le site (sous-ensembles latin et latin étendu) */
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/schibsted-grotesk-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/schibsted-grotesk-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/schibsted-grotesk-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/schibsted-grotesk-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Thème OPT — en-tête deux niveaux, offres en lignes de registre, date limite au centre de chaque page.
   Couleurs du site : barre #2b3843, en-tête #3e5062, fond #ecf0f5, vert du logo #3abcae.
   Les classes sont préfixées (o-) quand Extra utilise le même nom sur les pages construites avec Divi/Elementor. */
:root {
  --bg: #ecf0f5;
  --surface: #ffffff;
  --sunk: #e4e9f0;
  --ink: #1d2833;
  --ink-2: #4a5866;
  --ink-3: #6f7e8c;
  --line: #d9e0e8;
  --line-strong: #c3cdd8;
  --brand: #3abcae;
  --brand-strong: #23978a;
  --brand-ink: #1c8074;
  --brand-tint: #e0f4f1;
  --header: #3e5062;
  --header-ink: #ffffff;
  --header-ink-2: #c4d1dd;
  --header-line: #4f6276;
  --panel: #2b3843;
  --panel-raise: #34434f;
  --panel-ink: #eef2f6;
  --panel-ink-2: #9fb0bf;
  --panel-line: #3b4a57;
  --urgent: #c42b2b;
  --ok: #2b6a4e;
  --wa: #1a9e55;

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --r-sm: 6px;
  --r: 10px;
  --shadow: 0 1px 2px rgb(29 40 51 / .05), 0 10px 30px rgb(29 40 51 / .08);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #18212a; --surface: #202b35; --sunk: #1b252e; --ink: #e8edf2; --ink-2: #aab7c3; --ink-3: #8593a0;
    --line: #2c3946; --line-strong: #3a4957; --brand: #3abcae; --brand-strong: #2aa597; --brand-ink: #5fd0c3; --brand-tint: #173a38;
    --header: #2b3843; --header-ink: #ffffff; --header-ink-2: #b4c2cf; --header-line: #3b4a57;
    --panel: #222d37; --panel-raise: #2a3743; --panel-ink: #eef2f6; --panel-ink-2: #9fb0bf; --panel-line: #33424f;
    --urgent: #ff8f8f; --ok: #7fcfa6; --wa: #3cc97a;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #18212a; --surface: #202b35; --sunk: #1b252e; --ink: #e8edf2; --ink-2: #aab7c3; --ink-3: #8593a0;
  --line: #2c3946; --line-strong: #3a4957; --brand: #3abcae; --brand-strong: #2aa597; --brand-ink: #5fd0c3; --brand-tint: #173a38;
  --header: #2b3843; --header-ink: #ffffff; --header-ink-2: #b4c2cf; --header-line: #3b4a57;
  --panel: #222d37; --panel-raise: #2a3743; --panel-ink: #eef2f6; --panel-ink-2: #9fb0bf; --panel-line: #33424f;
  --urgent: #ff8f8f; --ok: #7fcfa6; --wa: #3cc97a;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35);
  color-scheme: dark;
}

/* Base : seulement sur les gabarits du thème (body.opt), pour ne pas toucher aux pages Divi/Elementor */
body.opt, body.opt * { box-sizing: border-box; }
body.opt { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--f-body); -webkit-text-size-adjust: 100%; }
body.opt a { color: inherit; text-decoration: none; }
body.opt img { max-width: 100%; height: auto; display: block; }
body.opt button, body.opt input, body.opt select { font: inherit; color: inherit; }
body.opt :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
body.opt h1, body.opt h2, body.opt h3, body.opt h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -.01em; color: inherit; text-transform: none; font-weight: 700; line-height: 1.25; }
body.opt p { margin: 0; }
body.opt [hidden] { display: none !important; }

/* Éléments partagés avec les pages Divi/Elementor (en-tête et pied de page) : noms préfixés et règles autonomes */
.o-wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); box-sizing: border-box; }
.ic { width: 18px; height: 18px; flex: none; }
.ic-sm { width: 15px; height: 15px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font: 600 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.screen-reader-text, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding-inline: 18px; border-radius: var(--r-sm); border: 1px solid transparent; font: 600 14.5px/1 var(--f-body); cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s, color .15s; box-sizing: border-box; }
.btn-primary { background: var(--brand-strong); color: #fff !important; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-wa { background: var(--wa); color: #fff !important; }
.btn-wa:hover { filter: brightness(.94); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; padding: 0; box-sizing: border-box; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }

/* En-tête : barre foncée (logo, recherche, outils) + barre des catégories */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--panel); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 300; color: var(--header-ink); font: 400 15px/1.5 var(--f-body); }
body.admin-bar .site-header { top: 32px; }
.site-header a { text-decoration: none; }
.hdr-top { background: var(--panel); }
.hdr-top .bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand-logo { flex: none; display: block; }
body .brand-logo img { width: 152px; height: 40px; max-width: none; object-fit: contain; object-position: left center; display: block; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-header .hdr-btn { background: transparent; border-color: var(--header-line); color: var(--header-ink-2); }
.site-header .hdr-btn:hover { color: var(--header-ink); border-color: var(--header-ink-2); }
.saved-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 12px; border-radius: var(--r-sm); color: var(--header-ink-2) !important; font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.saved-link:hover { color: var(--header-ink) !important; background: rgb(255 255 255 / .07); }
.fav-count { font: 600 13px var(--f-mono); color: var(--brand); }
.site-header kbd { font: 500 11.5px/1 var(--f-mono); padding: 4px 6px; border-radius: 4px; border: 1px solid currentColor; opacity: .55; background: none; color: inherit; box-shadow: none; }

.hsearch { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; height: 44px; padding-inline: 14px; margin: 0; border-radius: var(--r); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: var(--header-ink-2); box-sizing: border-box; }
.hsearch:focus-within { background: var(--surface); border-color: var(--brand); color: var(--ink-3); }
.hsearch input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--header-ink); font: 400 15px var(--f-body); box-shadow: none; text-transform: none; letter-spacing: normal; }
.hsearch input::placeholder { color: var(--header-ink-2); opacity: 1; }
.hsearch:focus-within input { color: var(--ink); }
.hsearch:focus-within input::placeholder { color: var(--ink-3); }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch:focus-within kbd { display: none; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgb(29 40 51 / .18); }
.sg { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-sm); color: var(--ink-2) !important; font-size: 14.5px; }
.sg .ic { color: var(--ink-3); }
.sg:hover, .sg.is-active { background: var(--sunk); color: var(--ink) !important; }
.sg-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-d { font: 500 12.5px var(--f-mono); color: var(--ink-3); }
.sg-all { margin-top: 4px; color: var(--brand-ink) !important; font-weight: 600; }
.sg-all .ic { color: var(--brand-ink); }
.sg-empty { padding: 12px 10px; color: var(--ink-3); font-size: 14px; }

.catbar { background: var(--header); }
.catbar .o-wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catbar .o-wrap::-webkit-scrollbar { display: none; }
.catbar a { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 12px; font-size: 14.5px; font-weight: 500; color: var(--header-ink-2) !important; border-bottom: 2px solid transparent; white-space: nowrap; }
.catbar a .ic { width: 16px; height: 16px; }
.catbar a:hover { color: var(--header-ink) !important; }
.catbar a[aria-current="page"] { color: var(--header-ink) !important; border-bottom-color: var(--brand); font-weight: 600; }
.catbar-sep { flex: none; width: 1px; margin: 14px 8px; background: var(--header-line); }

/* Lignes d'offres */
.offer-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.offer { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 20px; border-top: 1px solid var(--line); position: relative; }
.offer:first-child { border-top: 0; }
.offer:hover { background: var(--sunk); }
.offer:first-child:hover { border-radius: var(--r) var(--r) 0 0; }
.offer:last-child:hover { border-radius: 0 0 var(--r) var(--r); }
.offer-thumb { aspect-ratio: 1200 / 630; border-radius: var(--r-sm); overflow: hidden; background: var(--sunk); max-width: 100%; }
.offer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.offer-main { min-width: 0; display: grid; gap: 4px; }
.offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ink-3); }
.cat-label { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-ink); font-weight: 600; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
body.opt .offer-title { font-size: 17px; line-height: 1.35; font-weight: 600; }
.offer-title a::after { content: ""; position: absolute; inset: 0; }
.offer-sub { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.offer-sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-side { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.save { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); cursor: pointer; padding: 0; }
.save:hover { color: var(--ink); }
.save[aria-pressed="true"] { color: var(--brand); border-color: var(--brand); }
.save[aria-pressed="true"] .ic, .btn-ghost-dark[aria-pressed="true"] .ic { --ic-fill: currentColor; }
.in-feed-ad { padding: 18px 20px; border-top: 1px solid var(--line); }

/* Échéance, en texte simple ; le script calcule « J-n » côté visiteur (les pages sont en cache) */
.dl { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 12.5px; white-space: nowrap; color: var(--ink-3); }
.dl b { font-weight: 600; font-size: 15px; color: var(--ink); }
.dl.urgent, .dl.urgent b { color: var(--urgent); }
.dl.closed b { color: var(--ink-3); text-decoration: line-through; }

/* Menu déroulant sur mesure */
.dd { position: relative; }
.dd-btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; min-height: 42px; padding-inline: 14px; border: 0; background: none; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--ink); text-align: left; white-space: nowrap; }
.dd-btn .ic { color: var(--ink-3); }
.dd-btn .dd-value { overflow: hidden; text-overflow: ellipsis; }
.dd-btn .chev { margin-left: auto; width: 16px; height: 16px; transition: transform .15s; }
.dd.open .chev { transform: rotate(180deg); }
.dd-boxed .dd-btn { border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); height: 42px; }
.dd-boxed .dd-btn:hover, .dd-boxed.open .dd-btn { border-color: var(--ink-3); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 100%; width: max-content; max-width: min(340px, calc(100vw - 32px)); max-height: 360px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgb(29 40 51 / .16), 0 2px 6px rgb(29 40 51 / .06); outline: 0; }
.dd-boxed .dd-panel { left: auto; right: 0; }
.dd-opt { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.dd-opt .ic { color: var(--ink-3); }
.dd-opt small { margin-left: auto; padding-left: 16px; font: 500 12.5px var(--f-mono); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.dd-opt .tick { width: 16px; height: 16px; color: var(--brand-ink); visibility: hidden; }
.dd-opt small + .tick { margin-left: 4px; }
.dd-opt > span + .tick { margin-left: auto; }
.dd-opt.is-active { background: var(--sunk); color: var(--ink); }
.dd-opt[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.dd-opt[aria-selected="true"] .ic:not(.tick) { color: var(--brand-ink); }
.dd-opt[aria-selected="true"] .tick { visibility: visible; }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.pager-info { color: var(--ink-3); font-size: 14px; }
.pager-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pager-nav .page-numbers { min-width: 40px; height: 40px; padding-inline: 10px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pager-nav .page-numbers.current { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pager-nav .page-numbers.dots { border-color: transparent; background: none; color: var(--ink-3); }

/* Blocs communs */
.o-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.o-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.o-card > p { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; }
.o-card-wa { background: var(--panel); border-color: var(--panel); color: var(--panel-ink); }
.o-card-wa > p { color: var(--panel-ink-2); }
.o-card-wa .btn { width: 100%; }
.wa-stat { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }
.wa-stat b { display: block; font: 600 18px var(--f-mono); }
.wa-stat span { font-size: 12.5px; color: var(--panel-ink-2); }
.links { list-style: none; margin: 4px 0 0; padding: 0; }
.links a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.links li:first-child a { border-top: 0; }
.links a .ic { color: var(--ink-3); }
.links a:hover { color: var(--brand-ink); }
.links a .chev { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); }
.ad-slot { min-height: 100px; overflow: hidden; }
.ad-label { display: block; margin-bottom: 6px; font: 500 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.section { padding-top: 56px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
body.opt .section-head h2 { font-size: 26px; }
.section-head p { margin-top: 4px; color: var(--ink-3); font-size: 14.5px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--brand-ink) !important; white-space: nowrap; }
.more-link:hover { gap: 9px; }
.o-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.o-tabs a, .o-tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 500; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.o-tabs a:hover, .o-tabs button:hover { color: var(--ink); }
.o-tabs [aria-current="page"], .o-tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); font-weight: 600; }
.o-tabs b { font-family: var(--f-mono); font-weight: 500; margin-left: 4px; }

/* Accueil */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .o-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding-block: 56px 60px; align-items: start; }
body.opt .hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; max-width: 15ch; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { font-size: 17px; color: var(--ink-2); max-width: 52ch; margin: 18px 0 0 !important; }
.proof { display: flex; gap: 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.proof div { display: grid; gap: 2px; }
.proof b { font: 600 22px/1.1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.proof span { font-size: 13px; color: var(--ink-3); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }
.popular a { color: var(--brand-ink); font-weight: 500; text-decoration: underline !important; text-decoration-color: var(--line-strong) !important; text-underline-offset: 4px; }
.popular a:hover { text-decoration-color: currentColor !important; }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; }
body.opt .board-head h2 { font-size: 18px; }
.board-head p { margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
body.opt .board-head a { font-size: 14px; font-weight: 600; color: var(--brand-ink); white-space: nowrap; }
.board ol { list-style: none; margin: 0; padding: 0 10px 10px; }
.board li a { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); }
.board li a:hover { background: var(--sunk); }
.board li + li a { border-top: 1px solid var(--line); border-radius: 0; }
.board li + li a:hover { border-radius: var(--r); border-top-color: transparent; }
.board-thumb { aspect-ratio: 1200 / 630; max-width: 100%; border-radius: var(--r-sm); overflow: hidden; background: var(--sunk); }
.board-thumb img { width: 100%; height: 100%; object-fit: cover; }
.board-title { font-size: 14.5px; line-height: 1.35; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.board-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.when { font-weight: 600; color: var(--brand-ink); }
.when.today { color: var(--urgent); }
.board-empty { padding: 0 22px 22px; color: var(--ink-3); }
.cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cats a { display: grid; gap: 14px; padding: 20px; border-left: 1px solid var(--line); }
.cats a:first-child { border-left: 0; }
.cats a:hover { background: var(--sunk); }
.cats .ic { width: 22px; height: 22px; color: var(--brand); }
.cats b { display: block; font: 600 15px/1.3 var(--f-display); }
.cats span { font: 500 13px var(--f-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.picks { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.pick { display: grid; gap: 14px; align-content: start; }
.pick-img { aspect-ratio: 1200 / 630; border-radius: var(--r); overflow: hidden; background: var(--sunk); }
.pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pick:hover .pick-img img { transform: scale(1.03); }
body.opt .pick h3 { font-size: 19px; line-height: 1.25; }
body.opt .pick:first-child h3 { font-size: 24px; }
.pick p { color: var(--ink-2); font-size: 14.5px; }
.pick-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feed { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.side { display: grid; gap: 20px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h, 120px) + 16px); }

/* En-têtes de page (catégorie, recherche, mes offres) */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .o-wrap { padding-block: 28px 32px; display: grid; gap: 14px; }
.page-head.has-tabs .o-wrap { padding-bottom: 0; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 14px; height: 14px; }
.title-row { display: flex; align-items: center; gap: 16px; }
.title-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.title-icon .ic { width: 26px; height: 26px; }
body.opt .page-head h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.page-head .intro { color: var(--ink-2); max-width: 70ch; }
.page-head .o-tabs { border-bottom: 0; margin: 4px 0 0; }

/* Catégorie : filtres + résultats */
.results { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; padding-top: 32px; align-items: start; }
.results-side { display: grid; gap: 20px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h, 120px) + 16px); }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
body.opt .filters-head h2 { font-size: 15px; display: flex; gap: 8px; align-items: center; }
.reset { color: var(--brand-ink) !important; font-weight: 600; font-size: 13.5px; }
.filters fieldset { border: 0; margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.filters fieldset:last-of-type { border-bottom: 0; }
.filters legend { font: 600 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.opt-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.opt-row input { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.opt-row .n { margin-left: auto; font: 500 12.5px var(--f-mono); color: var(--ink-3); }
.filters-submit { margin: 0 18px 18px; width: calc(100% - 36px); }
.js .filters-submit { display: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-count { font-size: 15px; color: var(--ink-2); }
.result-count b { color: var(--ink); font-family: var(--f-mono); }
.active-filter { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-ink) !important; font-size: 13.5px; font-weight: 600; margin-left: 8px; }
.active-filter:hover { text-decoration: underline !important; }
.active-filter .ic { width: 14px; height: 14px; }
.search-in { display: flex; align-items: center; gap: 10px; height: 42px; padding-inline: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink-3); min-width: 0; flex: 1 1 240px; max-width: 340px; margin: 0; }
.search-in input { border: 0; outline: 0; background: none; width: 100%; color: var(--ink); padding: 0; }
.sort-form select { height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); padding-inline: 12px; font-weight: 500; }
.filters-btn { display: none; }
.empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 56px 24px; display: grid; justify-items: center; text-align: center; gap: 12px; color: var(--ink-2); }
.empty-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; }
.empty-ic .ic { width: 28px; height: 28px; }
body.opt .empty h2 { font-size: 22px; color: var(--ink); }
.empty p { max-width: 46ch; }
.empty-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Article */
.art-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.art-head .o-wrap { padding-block: 28px 36px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.art-head .crumbs { margin-bottom: 18px; }
body.opt .art-head h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; margin-top: 10px; max-width: 24ch; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.byline span { display: inline-flex; align-items: center; gap: 6px; }
.art-cover { aspect-ratio: 1200 / 630; border-radius: var(--r); overflow: hidden; background: var(--sunk); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 36px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 0 0 28px; }
.facts div { padding: 16px 18px; border-left: 1px solid var(--line); min-width: 0; }
.facts div:first-child { border-left: 0; }
.facts dt { font: 600 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.facts dt .ic { width: 14px; height: 14px; }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.4; }
.toc { border-left: 2px solid var(--line); padding-left: 18px; margin-bottom: 32px; }
body.opt .toc h2 { font: 600 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: s; }
.toc a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; display: flex; gap: 12px; }
.toc a::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 500 12.5px/1.8 var(--f-mono); color: var(--ink-3); }
.toc a:hover { color: var(--brand-ink); }
.prose { max-width: 68ch; font-size: 16.5px; line-height: 1.75; color: var(--ink); overflow-wrap: anywhere; }
body.opt .prose h2 { font-size: 24px; margin: 40px 0 12px; scroll-margin-top: calc(var(--hdr-h, 120px) + 20px); }
body.opt .prose h2:first-child { margin-top: 0; }
body.opt .prose h3 { font-size: 19px; margin: 28px 0 10px; }
body.opt .prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.prose ul { list-style: none; }
.prose ol { padding-left: 22px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 6px; height: 6px; border-radius: 1px; background: var(--brand); }
.prose strong { font-weight: 600; }
body.opt .prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .apply-link { display: none; }
.prose img { border-radius: var(--r-sm); margin-block: 8px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 0 0 20px; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose blockquote { margin: 0 0 20px; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--ink-2); }
.rail { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h, 120px) + 16px); }
.deadline-card { background: var(--panel); color: var(--panel-ink); border-radius: 14px; overflow: hidden; }
.dc-top { padding: 22px 22px 18px; display: grid; gap: 4px; }
.dc-top .label { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--panel-ink-2); }
.dc-count { font: 600 56px/1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.dc-count.urgent { color: #ff9b9b; }
.dc-date { font-size: 15px; color: var(--panel-ink); }
.dc-bar { height: 4px; background: var(--panel-line); }
.dc-bar i { display: block; height: 100%; width: 0; background: var(--brand); }
.dc-actions { padding: 18px 22px 22px; display: grid; gap: 10px; }
.dc-actions .btn { width: 100%; height: 48px; font-size: 15px; }
.btn-ghost-dark { background: transparent; border-color: var(--panel-line); color: var(--panel-ink); }
.btn-ghost-dark:hover { background: var(--panel-raise); }
.dc-note { font-size: 12.5px; color: var(--panel-ink-2); display: flex; gap: 8px; align-items: start; }
.dc-note .ic { width: 15px; height: 15px; margin-top: 2px; }
body.opt .rail .o-card h3 { font-size: 15.5px; margin-bottom: 14px; }
.share { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.share a, .share button { height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; padding: 0; }
.share a:hover, .share button:hover { color: var(--ink); border-color: var(--line-strong); }
.share-msg { font-size: 13px; color: var(--ok); margin-top: 10px !important; }
.share-msg:empty { display: none; }
.related a { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.related a:first-of-type { border-top: 0; padding-top: 0; }
.related b { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.related a:hover b { color: var(--brand-ink); }
.related .dl b { font-size: 13.5px; }
.sticky-cta { display: none; }

/* Mes offres */
.summary { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 4px; }
.summary div { display: grid; gap: 2px; }
.summary b { font: 600 20px/1.1 var(--f-mono); font-variant-numeric: tabular-nums; }
.summary b.urgent { color: var(--urgent); }
.summary span { font-size: 13px; color: var(--ink-3); }
.head-bar { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 8px; }
.head-bar .o-tabs { margin: 0; border: 0; }
.clear { border: 0; background: none; color: var(--ink-3); font-weight: 500; font-size: 14px; cursor: pointer; padding: 12px 0; display: inline-flex; align-items: center; gap: 6px; }
.clear:hover { color: var(--ink); }
.clear.confirm { color: var(--urgent); font-weight: 600; }
.saved-body { padding-top: 28px; display: grid; gap: 16px; }
.note { display: flex; gap: 10px; align-items: start; font-size: 13.5px; color: var(--ink-3); max-width: 70ch; }
.note .ic { width: 16px; height: 16px; margin-top: 2px; }

/* Pied de page */
.site-footer { margin-top: 72px; background: var(--surface); border-top: 1px solid var(--line); font: 400 14px/1.6 var(--f-body); color: var(--ink-2); }
.site-footer a { color: inherit; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-block: 48px 32px; }
.site-footer h4 { font: 600 13px/1.2 var(--f-body) !important; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li { margin: 0; padding: 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid p { max-width: 34ch; margin: 14px 0 18px; }
body .footer-logo img { width: 129px; height: 34px; object-fit: contain; object-position: left center; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .o-wrap { padding-block: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }

/* Responsive */
@media (max-width: 1080px) {
  .saved-link .saved-label { display: none; }
  .hero .o-wrap { grid-template-columns: 1fr; gap: 36px; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cats a:nth-child(5) { border-left: 0; }
  .cats a:nth-child(n+5) { border-top: 1px solid var(--line); }
  .cats a:last-child { grid-column: span 2; }
  .feed { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 1000px) {
  .art-head .o-wrap, .art-body { grid-template-columns: 1fr; gap: 28px; }
  .rail { position: static; }
  .deadline-card { display: none; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; background: var(--surface); border-top: 1px solid var(--line); padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); gap: 14px; align-items: center; }
  .sticky-cta .left { display: grid; line-height: 1.2; }
  .sticky-cta .left b { font: 600 18px var(--f-mono); }
  .sticky-cta .left span { font-size: 12.5px; color: var(--ink-3); }
  .sticky-cta .btn { flex: 1; height: 46px; }
  body.opt-single { padding-bottom: 80px; }
}
@media (max-width: 960px) {
  .results { grid-template-columns: 1fr; }
  .results-side { position: static; }
  .filters { display: none; }
  .filters.open { display: block; }
  .filters-btn { display: inline-flex; }
  .search-in { max-width: none; flex-basis: 100%; order: -1; }
  .page-head .o-tabs { flex-wrap: nowrap; }
}
@media (max-width: 860px) {
  .hdr-top .bar { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 12px; }
  .hdr-top .hsearch { order: 3; flex-basis: 100%; max-width: none; }
  .site-header kbd { display: none; }
}
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 720px) {
  .header-tools .btn-wa span { display: none; }
  .header-tools .btn-wa { width: 40px; padding: 0; }
  .offer { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 16px; align-items: start; }
  .offer-side { grid-column: 2; justify-content: space-between; }
  body.opt .offer-title { font-size: 15.5px; }
  .hero .o-wrap { padding-block: 32px 40px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats a { border-left: 0 !important; border-top: 1px solid var(--line); }
  .cats a:nth-child(-n+2) { border-top: 0; }
  .cats a:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .cats a:last-child { grid-column: 1 / -1; }
  .picks { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; gap: 8px; }
  .board li a { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { border-left: 0; border-top: 1px solid var(--line); }
  .facts div:first-child { border-top: 0; }
  .prose { font-size: 16px; }
  .head-bar { flex-direction: column-reverse; align-items: stretch; gap: 0; }
  .clear { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { body.opt * { transition: none !important; animation: none !important; } }
