/* Prizéo — apparence « Graphite & Menthe » (choisie par le porteur le 10 octobre 2026).
   Un seul thème, sombre : fond graphite, filets fins, accent menthe, chiffres en chasse fixe.
   Aucun asset ni appel externe : les polices Geist sont utilisées si elles sont installées,
   sinon la police d'interface du système prend le relais. */

:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg-soft: #101012;
  --surface: #101012;
  --surface-2: #151517;
  --surface-3: #1a1a1d;
  --surface-4: #26262a;
  --glass: rgba(11, 11, 12, 0.86);
  --line: #222225;
  --line-strong: #2a2a2f;
  --line-soft: #1c1c1f;
  --text: #ededef;
  --text-soft: #b4b4bc;
  --muted: #9a9aa3;
  --faint: #6e6e78;
  --accent: #3ddc97;
  --accent-hi: #7cebb9;
  --accent-lo: #2bb57a;
  --accent-wash: rgba(61, 220, 151, 0.08);
  --accent-line: rgba(61, 220, 151, 0.34);
  --figure: #3ddc97;
  --btn-bg: #3ddc97;
  --btn-bg-hover: #63e6ad;
  --btn-ink: #0b0b0c;
  --ok: #3ddc97;
  --ok-wash: rgba(61, 220, 151, 0.1);
  --warn: #e0b454;
  --warn-wash: rgba(224, 180, 84, 0.1);
  --bad: #f2777a;
  --bad-wash: rgba(242, 119, 122, 0.1);
  --info: #8fb4ff;
  --info-wash: rgba(143, 180, 255, 0.1);
  --glow-1: transparent;
  --glow-2: transparent;
  --shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8);
  --shadow-soft: none;
  --radius: 14px;
  --radius-sm: 10px;
  --font: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --header-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --- Base ------------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
dl, dd { margin: 0; }
ol, ul { margin: 0; padding: 0; }
code, .mono { font-family: var(--mono); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--btn-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
#recherche, #proposer, #comparer, #banque, #autres, #commencer, #fonctionnement, #meilleures-offres { scroll-margin-top: calc(var(--header-h) + 18px); }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { flex: none; }
.muted { color: var(--muted); font-size: 0.94rem; }
.muted a { color: var(--text-soft); }

/* --- En-tête --------------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line-soft);
  padding-top: env(safe-area-inset-top);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.header-back { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text-soft); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.header-back:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-wash); }
.header-back:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.brand-name { font-size: 1.28rem; font-weight: 600; letter-spacing: 0.04em; }
.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 8px 13px; border-radius: 999px; color: var(--text-soft); text-decoration: none; font-size: 0.96rem; white-space: nowrap; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--text); background: var(--line-soft); }
.main-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-wash); }
.header-search { display: none; align-items: center; gap: 8px; margin-left: auto; min-width: 0; width: 270px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); transition: border-color .2s; }
.header-search:focus-within { border-color: var(--accent-line); }
.header-search input { flex: 1; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; outline: none; box-shadow: none !important; color: var(--text); font-size: 0.95rem; }
.header-search input::placeholder { color: var(--muted); }
.header-propose { display: none; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--accent-line); color: var(--accent); text-decoration: none; font-size: 0.94rem; font-weight: 600; white-space: nowrap; }
.header-propose:hover { background: var(--accent-wash); }
.header-search-link { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--text-soft); }
.header-search-link:hover { background: var(--line-soft); }
@media (min-width: 720px) { .main-nav { display: flex; } }
@media (min-width: 1080px) {
  .header-search, .header-propose { display: inline-flex; }
  .header-search-link { display: none; }
}
@media (min-width: 720px) and (max-width: 899px) { .main-nav a[href="/parrainages#banque"] { display: none; } }

.demo-ribbon { padding: 8px 16px; text-align: center; font-size: 0.88rem; background: var(--warn-wash); color: var(--warn); }

/* --- Barre flottante mobile ------------------------------------------------------------------ */

.tabbar {
  position: fixed; z-index: 50;
  left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(460px, calc(100% - 24px));
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px;
  border-radius: 26px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 20px; color: var(--muted); text-decoration: none; font-size: 0.7rem; letter-spacing: 0.01em; transition: color .2s, background .2s; }
.tabbar a:hover { color: var(--text); }
.tabbar a[aria-current="page"] { color: var(--accent); background: var(--accent-wash); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* --- Boutons, champs ------------------------------------------------------------------------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.button:active { transform: scale(0.98); }
.button:disabled { opacity: 0.55; cursor: progress; }
.button-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 10px 24px -14px var(--accent-lo); }
.button-primary:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.button-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button-secondary:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-wash); }
.button-danger { background: var(--bad-wash); color: var(--bad); }
.button-danger:hover { color: var(--bad); border-color: var(--bad); }
.button-small { min-height: 36px; padding: 0 14px; font-size: 0.88rem; }
.button-wide { width: 100%; min-height: 54px; font-size: 1.02rem; }
.text-button { padding: 0; border: 0; background: none; color: var(--text-soft); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; cursor: pointer; font-size: inherit; text-align: left; }
.text-button:hover { color: var(--accent); }
.text-link { color: var(--text-soft); }

input[type="text"], input[type="search"], input[type="url"], input[type="date"], input[type="password"], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 90px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.85; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-wash); }
label { font-size: 0.92rem; color: var(--text-soft); }
label small { color: var(--muted); font-weight: 400; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-soft); }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-feedback { font-size: 0.92rem; color: var(--bad); }
.form-feedback.feedback-success { color: var(--ok); }

/* --- Recherche ------------------------------------------------------------------------------- */

.search-form {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted);
  box-shadow: var(--shadow-soft);
  transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-wash), var(--shadow-soft); }
.search-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; box-shadow: none !important; font-size: 1.02rem; }
.search-form .button { min-height: 44px; padding: 0 18px; }
@media (max-width: 420px) {
  .search-form .button { width: 44px; padding: 0; font-size: 0; }
  .search-form .button::before { content: "→"; font-size: 1.15rem; }
}

/* --- Puces, badges --------------------------------------------------------------------------- */

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; background: var(--line-soft); color: var(--text-soft); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-confirmed { background: var(--ok-wash); color: var(--ok); }
.status-probable { background: var(--accent-wash); color: var(--accent); }
.status-uncertain { background: var(--warn-wash); color: var(--warn); }
.status-expired { background: var(--bad-wash); color: var(--bad); }
.status-upcoming { background: var(--info-wash); color: var(--info); }

.cost-chip, .proof-chip, .kind-chip, .affiliate-chip, .min-pill, .validity, .code-chip, .type-chip, .demo-chip, .count-pill, .chip-count {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.78rem; line-height: 1.3;
  background: var(--line-soft); color: var(--text-soft);
}
.cost-aucun { background: var(--ok-wash); color: var(--ok); }
.cost-depot, .cost-investissement { background: var(--info-wash); color: var(--info); }
.cost-depense, .cost-abonnement, .cost-contrat, .cost-compte { background: var(--warn-wash); color: var(--warn); }
.proof-non { background: var(--ok-wash); color: var(--ok); }
.proof-parfois { background: var(--warn-wash); color: var(--warn); }
.proof-oui { background: var(--line-soft); color: var(--muted); }
.kind-chip { background: var(--accent-wash); color: var(--accent); }
.min-none { background: var(--ok-wash); color: var(--ok); }
.validity-sure { background: var(--ok-wash); color: var(--ok); }
.validity-bientot, .validity-expiree { background: var(--warn-wash); color: var(--warn); }
.code-chip b { color: var(--accent); font-weight: 600; }
.code-chip-muted { color: var(--muted); }
.demo-chip { background: var(--warn-wash); color: var(--warn); }
.chip-count { padding: 1px 8px; font-size: 0.72rem; color: var(--muted); }
.count-pill { font-size: 0.8rem; }
.type-chip { font-family: var(--mono); }

/* --- Logos ----------------------------------------------------------------------------------- */

.brand-logo { flex: none; width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--surface-3); box-shadow: 0 0 0 1px var(--line-soft); }
/* Vrais logos (public/images/logos) : tuile blanche pour les icônes à fond transparent. */
img.brand-logo[src^="/images/logos/"] { background: #fff; object-fit: contain; }
.brand-initials { display: grid; place-items: center; font-weight: 700; color: var(--accent); font-size: 0.95rem; }

/* --- Sections -------------------------------------------------------------------------------- */

.block { margin-top: 44px; }
@media (min-width: 900px) { .block { margin-top: 64px; } }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.block-head h2 { font-size: clamp(1.3rem, 4.4vw, 1.75rem); }
.block-head a { flex: none; font-size: 0.92rem; color: var(--accent); text-decoration: none; }
.block-head a:hover { text-decoration: underline; }
.result-count { margin-left: 6px; font-size: 0.85rem; font-weight: 400; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.page-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding-top: 34px; }
.page-intro > div { max-width: 62ch; }
.page-intro h1 { font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -0.02em; }
.page-intro p { margin-top: 10px; color: var(--text-soft); }
.page-intro .eyebrow + h1 { margin-top: 12px; }
.page-search { margin-top: 22px; }
.crumbs { font-size: 0.86rem; color: var(--muted); }
.crumbs a { color: var(--text-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* --- Accueil --------------------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding: 38px 0 8px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(48% 46% at 85% 12%, var(--glow-1), transparent 70%),
    radial-gradient(50% 50% at 5% 0%, var(--glow-2), transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; gap: 34px; }
.hero h1 { margin-top: 16px; font-size: clamp(2.35rem, 9vw, 4.3rem); line-height: 1.04; letter-spacing: -0.025em; }
.hero h1 em {
  display: block; font-style: normal;
  background: linear-gradient(100deg, var(--accent-hi), var(--accent) 45%, var(--accent-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 18px; max-width: 56ch; font-size: 1.06rem; color: var(--text-soft); }
.hero-search { margin-top: 26px; max-width: 560px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { font-size: 1.7rem; font-weight: 600; color: var(--figure); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-stats dt { font-size: 0.8rem; color: var(--muted); }
@media (min-width: 1000px) {
  .hero { padding-top: 64px; }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 56px; }
}

.hero-ledger { padding: 20px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ledger-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.ledger-head h2 { font-size: 1.12rem; }
.ledger-head span { font-size: 0.78rem; color: var(--muted); text-align: right; }
.ledger { list-style: none; }
.ledger-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "logo text code" "logo saving code"; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ledger-row .brand-logo { grid-area: logo; width: 36px; height: 36px; border-radius: 11px; }
.ledger-text { grid-area: text; min-width: 0; text-decoration: none; display: flex; flex-direction: column; }
.ledger-text b { font-weight: 600; font-size: 0.96rem; }
.ledger-text span { font-size: 0.82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-saving { grid-area: saving; font-style: normal; font-size: 0.8rem; color: var(--figure); font-weight: 600; }
.ledger-code { grid-area: code; display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 11px; border: 1px dashed var(--accent-line); background: var(--accent-wash); color: var(--accent); cursor: pointer; }
.ledger-code:hover { border-style: solid; }
.ledger-code code { font-size: 0.82rem; letter-spacing: 0.06em; max-width: 9.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-more { display: inline-flex; margin-top: 14px; font-size: 0.9rem; color: var(--accent); text-decoration: none; }
.ledger-more:hover { text-decoration: underline; }

.shortcuts {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 42%);
  gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none;
}
.shortcuts::-webkit-scrollbar { display: none; }
.shortcuts a { scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; padding: 16px; min-height: 132px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.shortcuts a:hover { border-color: var(--accent-line); transform: translateY(-2px); color: var(--text); }
.shortcut-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-wash); color: var(--accent); }
.shortcut-text { display: flex; flex-direction: column; margin-top: auto; }
.shortcut-text b { font-weight: 600; font-size: 0.98rem; line-height: 1.25; }
.shortcut-text small { color: var(--muted); font-size: 0.8rem; }
@media (min-width: 720px) {
  .shortcuts { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); overflow: visible; margin: 0; padding: 0; }
}

.how { padding: 28px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.how h2 { font-size: clamp(1.3rem, 4.4vw, 1.75rem); }
.how-steps { list-style: none; display: grid; gap: 18px; margin: 22px 0 16px; }
.how-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.how-steps li > b:not(.how-num) { font-weight: 600; }
.how-steps li > span { grid-column: 2; color: var(--text-soft); font-size: 0.95rem; }
.how-num { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent-line); color: var(--accent); font-weight: 600; }
@media (min-width: 900px) { .how { padding: 40px; } .how-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.search-results .block:first-child { margin-top: 28px; }

/* --- Codes promo ----------------------------------------------------------------------------- */

.promo-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.promo-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .2s; }
.promo-card:hover { border-color: var(--line); }
.promo-main {
  flex: 1; display: grid; gap: 4px 14px; padding: 18px 18px 14px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-areas: "logo name saving" "adv adv adv" "tags tags tags" "coupon coupon coupon";
  align-items: center;
}
.promo-main > .brand-logo { grid-area: logo; }
.promo-text { display: contents; }
.promo-merchant { grid-area: name; min-width: 0; display: flex; flex-direction: column; }
.promo-merchant b { font-weight: 600; font-size: 1.02rem; }
.promo-merchant span { font-size: 0.8rem; color: var(--muted); overflow-wrap: anywhere; }
.promo-advantage { grid-area: adv; margin-top: 10px; font-size: 0.94rem; color: var(--text-soft); }
.promo-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.promo-saving { grid-area: saving; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.promo-saving small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.promo-saving b { font-size: 1.4rem; font-weight: 600; line-height: 1.1; color: var(--figure); font-variant-numeric: tabular-nums; max-width: 6.5em; }
.coupon { grid-area: coupon; display: flex; align-items: stretch; margin-top: 14px; border: 1px dashed var(--accent-line); border-radius: 15px; background: var(--bg-soft); overflow: hidden; }
.coupon .promo-code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 14px; font-size: 0.98rem; letter-spacing: 0.08em; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coupon .no-code { font-family: var(--font); letter-spacing: 0; font-size: 0.9rem; color: var(--muted); }
.coupon-go { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 18px; border: 0; background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; font-size: 0.94rem; text-decoration: none; cursor: pointer; transition: background .2s; }
.coupon-go:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.promo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 18px 16px; border-top: 1px solid var(--line-soft); }
.promo-more { flex: 1 1 100%; font-size: 0.9rem; }
.promo-more summary { cursor: pointer; color: var(--text-soft); list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.promo-more summary::-webkit-details-marker { display: none; }
.promo-more summary::after { content: "+"; color: var(--accent); font-weight: 600; }
.promo-more[open] summary::after { content: "–"; }
.promo-more p { margin-top: 10px; color: var(--text-soft); }
.promo-more .promo-meta { color: var(--muted); font-size: 0.84rem; }
.promo-meta a { color: var(--text-soft); }
.vote-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vote-label { font-size: 0.82rem; color: var(--muted); margin-right: 2px; }
.vote-button { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--text-soft); font-size: 0.84rem; cursor: pointer; transition: border-color .2s, color .2s; }
.vote-button:hover { border-color: var(--ok); color: var(--ok); }
.vote-fail:hover { border-color: var(--bad); color: var(--bad); }
.vote-button:disabled { opacity: 0.6; cursor: default; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-soft); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented a { padding: 8px 14px; border-radius: 999px; font-size: 0.88rem; color: var(--text-soft); text-decoration: none; white-space: nowrap; }
.segmented a.selected { background: var(--accent-wash); color: var(--accent); }

.listing { display: grid; gap: 22px; margin-top: 26px; }
.listing-main { min-width: 0; }
.listing-head { margin-bottom: 16px; }
.listing-head h2 { font-size: 1.25rem; }
@media (min-width: 1000px) { .listing { grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 34px; } }

.filters { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); padding: 4px 16px; }
.filters summary { cursor: pointer; padding: 12px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; color: var(--accent); }
.filters[open] summary::after { content: "–"; }
.filters h2 { margin: 14px 0 8px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.filter-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.filter-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-soft); font-size: 0.88rem; color: var(--text-soft); text-decoration: none; }
.filter-list a:hover { border-color: var(--line); color: var(--text); }
.filter-list a.selected { border-color: var(--accent-line); background: var(--accent-wash); color: var(--accent); }
.filter-check { color: var(--accent); }
@media (min-width: 1000px) {
  .filters { position: sticky; top: calc(var(--header-h) + 18px); padding: 6px 18px 12px; }
  .filters summary { pointer-events: none; }
  .filters summary::after { content: none; }
  .filter-list { flex-direction: column; flex-wrap: nowrap; gap: 2px; }
  .filter-list a { width: 100%; justify-content: space-between; border-color: transparent; border-radius: 10px; }
}

.empty-state { padding: 40px 20px; text-align: center; border-radius: var(--radius); border: 1px dashed var(--line); }
.empty-state h2 { font-size: 1.2rem; }
.empty-state p { margin-top: 10px; }
.empty-state a { color: var(--accent); }

.promo-submit { margin-top: 56px; display: grid; gap: 22px; }
.promo-submit-intro h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
.promo-submit-intro p { margin-top: 8px; color: var(--text-soft); }
.promo-form { display: grid; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (min-width: 720px) {
  .promo-form { grid-template-columns: 1fr 1fr; padding: 26px; }
  .form-row-full { grid-column: 1 / -1; }
}
@media (min-width: 1000px) { .promo-submit { grid-template-columns: 300px 1fr; align-items: start; } }

/* --- Parrainages ----------------------------------------------------------------------------- */

.offer-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.offer-card { min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .2s, transform .2s var(--ease); }
.offer-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.offer-link { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px; text-decoration: none; color: var(--text); }
.offer-link:hover { color: var(--text); }
.offer-head { display: flex; align-items: center; gap: 12px; }
.offer-head .brand-logo { width: 44px; height: 44px; }
.offer-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.offer-name b { font-weight: 600; font-size: 1.02rem; }
.offer-name small { font-size: 0.8rem; color: var(--muted); }
.offer-gain { display: flex; flex-direction: column; }
.offer-gain small { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.big-figure { font-size: 1.7rem; font-weight: 600; line-height: 1.15; color: var(--figure); font-variant-numeric: tabular-nums; }
.offer-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.offer-chips:empty { display: none; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.offer-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--accent); background: var(--accent-wash); transition: transform .2s var(--ease); }
.offer-card:hover .offer-arrow { transform: translateX(3px); }

.finance-notice { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-wash); border: 1px solid var(--accent-line); color: var(--text-soft); font-size: 0.9rem; }
.detail-content .finance-notice { margin-top: 0; }

.starter { display: grid; gap: 18px; padding: 22px 16px; border-radius: var(--radius); background: linear-gradient(150deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.starter-intro h2 { font-size: clamp(1.3rem, 4.4vw, 1.75rem); }
.starter-intro p { margin-top: 8px; color: var(--text-soft); font-size: 0.95rem; }
.starter-intro a { display: inline-flex; margin-top: 12px; color: var(--accent); text-decoration: none; font-size: 0.92rem; }
.starter-list { list-style: none; counter-reset: starter; display: grid; gap: 4px; }
.starter-list li { counter-increment: starter; }
.starter-list a { display: grid; grid-template-columns: 20px 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 6px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.starter-list a::before { content: counter(starter); font-size: 0.82rem; color: var(--accent); font-weight: 600; text-align: center; }
.starter-list a:hover { background: var(--line-soft); color: var(--text); }
.starter-list .brand-logo { width: 40px; height: 40px; border-radius: 12px; }
.starter-list span { display: flex; flex-direction: column; min-width: 0; }
.starter-list b { font-weight: 600; }
.starter-list em { font-style: normal; color: var(--figure); font-weight: 600; font-size: 0.95rem; }
.starter-list small { color: var(--muted); font-size: 0.82rem; }
@media (min-width: 900px) { .starter { grid-template-columns: 300px 1fr; padding: 30px; gap: 30px; align-items: start; } .starter-list { grid-template-columns: 1fr 1fr; column-gap: 14px; } }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-soft); text-decoration: none; font-size: 0.92rem; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.tabs a:hover { border-color: var(--accent-line); color: var(--text); }
.tabs a.selected { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.tabs a.selected .chip-count { background: rgba(0, 0, 0, 0.12); color: inherit; }
.tabs .tab-proof { border-style: dashed; border-color: var(--ok); color: var(--ok); }
.tabs .tab-proof.selected { background: var(--ok); border-color: var(--ok); color: var(--bg); }
@media (min-width: 720px) { .tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }

.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.compare-table thead th { background: var(--surface-2); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; }
.compare-table thead a { color: inherit; text-decoration: none; }
.compare-table thead a:hover, .compare-table thead a.sorted { color: var(--accent); }
.compare-table tbody tr:hover { background: var(--line-soft); }
.compare-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); font-weight: 400; box-shadow: 1px 0 0 var(--line-soft); }
.compare-table tbody tr:hover th { background: var(--surface-2); }
.compare-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.compare-table td.gain { color: var(--figure); font-weight: 600; }
.compare-table small { display: block; color: var(--muted); font-size: 0.76rem; }
.table-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.table-brand .brand-logo { width: 30px; height: 30px; border-radius: 9px; }
.table-brand span { display: flex; flex-direction: column; font-weight: 600; }
.codes-ready { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--accent-wash); color: var(--accent); font-weight: 600; }
.referral-notes { margin-bottom: 20px; }

/* --- Fiche d'une offre ----------------------------------------------------------------------- */

.detail-wrap { padding-top: 22px; }
.offer-detail { display: grid; gap: 18px; margin-top: 16px; }
@media (min-width: 1000px) { .offer-detail { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 28px; } }
.detail-content { display: grid; gap: 14px; min-width: 0; }
.detail-card { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 22px 18px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate; }
.detail-card::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 70%; height: 90%; z-index: -1; background: radial-gradient(closest-side, var(--glow-1), transparent); pointer-events: none; }
@media (min-width: 720px) { .detail-card { padding: 30px; } }
.detail-head { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.detail-head .brand-logo { width: 60px; height: 60px; border-radius: 17px; grid-row: span 2; }
.detail-head .status-badge, .detail-head .demo-chip { grid-column: 2; justify-self: start; margin-top: 8px; }
.offer-merchant { font-size: 0.88rem; color: var(--muted); overflow-wrap: anywhere; }
.offer-merchant b { color: var(--text); font-weight: 600; }
.detail-head h1 { margin-top: 4px; font-size: clamp(1.4rem, 5vw, 2rem); }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.figures > div { padding: 12px; border-radius: 15px; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.figures dt { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.figures dd { margin-top: 4px; font-size: clamp(1rem, 4.2vw, 1.3rem); line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.figures dd.gain { color: var(--figure); }
.figures small { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--muted); }
.cost-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.gain-note { font-size: 0.86rem; color: var(--muted); }

.code-box { padding: 18px; border-radius: 17px; border: 1px dashed var(--accent-line); background: var(--accent-wash); }
.code-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.code-box-head h2 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.code-box-head span { font-size: 0.8rem; color: var(--muted); }
.promo-code-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.code-value { flex: 1; min-width: 0; font-size: clamp(1.2rem, 5vw, 1.6rem); letter-spacing: 0.1em; color: var(--text); overflow-wrap: anywhere; }
.code-meta { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }
.code-meta a { color: var(--text-soft); }
.code-missing { padding: 14px 16px; border-radius: 15px; background: var(--bg-soft); border: 1px solid var(--line-soft); color: var(--text-soft); font-size: 0.92rem; }

.detail-action { display: grid; gap: 12px; }
.detail-action .button-primary { min-height: 56px; }
.referral-steps { list-style: none; counter-reset: step; display: grid; gap: 6px; }
.referral-steps li { counter-increment: step; display: flex; gap: 10px; align-items: baseline; font-size: 0.9rem; color: var(--text-soft); }
.referral-steps li::before { content: counter(step); flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--accent-line); font-size: 0.74rem; color: var(--accent); }
.affiliate-disclosure { font-size: 0.84rem; color: var(--muted); }
.affiliate-disclosure a { color: var(--text-soft); }
.link-unavailable { padding: 14px; border-radius: 14px; background: var(--warn-wash); color: var(--warn); font-size: 0.92rem; }

.conditions-box, .source-box, .code-submit { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.conditions-box summary, .source-box summary, .code-submit summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 600; }
.conditions-box summary::-webkit-details-marker, .source-box summary::-webkit-details-marker, .code-submit summary::-webkit-details-marker { display: none; }
.conditions-box summary::after, .source-box summary::after, .code-submit summary::after { content: "+"; color: var(--accent); }
.conditions-box[open] summary::after, .source-box[open] summary::after, .code-submit[open] summary::after { content: "–"; }
.conditions-box p, .source-box p { padding: 0 18px 14px; color: var(--text-soft); font-size: 0.94rem; }
.source-link { color: var(--accent); }
.code-submit form { display: grid; gap: 10px; padding: 0 18px 18px; }
.code-submit form > p:first-child { font-size: 0.88rem; color: var(--muted); }

.detail-side { display: grid; gap: 14px; min-width: 0; }
@media (min-width: 1000px) { .detail-side { position: sticky; top: calc(var(--header-h) + 18px); } }
.offer-media { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); aspect-ratio: 16 / 10; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.media-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 0.9rem; }
.fact-list { display: grid; padding: 4px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.fact-list > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.fact-list > div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--muted); }
.fact-list dd { text-align: right; font-weight: 600; }
.report-line { font-size: 0.88rem; }
.report-form { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }

/* --- Parrainage Prizéo ----------------------------------------------------------------------- */

.invite { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 1000px) { .invite { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; gap: 28px; } }
.invite-card { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 26px 20px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate; }
.invite-card::before { content: ""; position: absolute; inset: -50% -30% auto auto; width: 80%; height: 100%; z-index: -1; background: radial-gradient(closest-side, var(--glow-1), transparent); }
@media (min-width: 720px) { .invite-card { padding: 34px; } }
.invite-empty, .invite-ready { display: grid; gap: 14px; justify-items: start; }
.invite-card h2 { font-size: 1.35rem; }
.invite-card p { color: var(--text-soft); }
.invite-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 8px 8px 16px; border-radius: 16px; border: 1px dashed var(--accent-line); background: var(--accent-wash); }
.invite-link code { flex: 1; min-width: 0; color: var(--accent); font-size: 0.92rem; overflow-wrap: anywhere; }
.invite-share { display: flex; flex-wrap: wrap; gap: 8px; }
.invite-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.invite-stats div { display: flex; flex-direction: column-reverse; padding: 16px; border-radius: 15px; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.invite-stats dd { font-size: 2rem; font-weight: 600; color: var(--figure); line-height: 1.1; }
.invite-stats dt { font-size: 0.82rem; color: var(--muted); }
.invite-how { padding: 24px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.invite-how h2 { font-size: 1.2rem; }
.invite-how .how-steps { grid-template-columns: 1fr; }

/* --- Pages d'information, 404 ---------------------------------------------------------------- */

.info-layout { display: grid; gap: 20px; padding-top: 30px; }
@media (min-width: 900px) { .info-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } }
.info-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.info-nav::-webkit-scrollbar { display: none; }
.info-nav a { flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--text-soft); text-decoration: none; font-size: 0.92rem; }
.info-nav a[aria-current="page"] { border-color: var(--accent-line); background: var(--accent-wash); color: var(--accent); }
@media (min-width: 900px) { .info-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } .info-nav a { border-radius: 12px; } }
.info-page { max-width: 72ch; }
.info-page h1 { margin-top: 12px; font-size: clamp(1.8rem, 6vw, 2.6rem); }
.info-page p { margin-top: 18px; color: var(--text-soft); font-size: 1.02rem; line-height: 1.7; }

.not-found { display: grid; gap: 16px; justify-items: start; padding-top: 70px; padding-bottom: 40px; max-width: 640px; }
.error-code { font-size: 0.78rem; letter-spacing: 0.24em; color: var(--accent); font-weight: 600; }
.not-found h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
.not-found p { color: var(--text-soft); }
.not-found .search-form { width: 100%; }
.not-found > a { color: var(--accent); }

/* --- Pied de page ---------------------------------------------------------------------------- */

.site-footer { margin-top: 80px; border-top: 1px solid var(--line-soft); background: var(--bg-soft); }
.footer-inner { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; }
.footer-brand p { color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 0.92rem; }
.footer-col h2 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer-col a { color: var(--text-soft); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-col[aria-label="Informations"] { grid-column: 1 / -1; }
.footer-note { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 0.84rem; color: var(--muted); }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand, .footer-col[aria-label="Informations"] { grid-column: auto; }
}

/* --- Message éphémère ------------------------------------------------------------------------ */

.toast {
  position: fixed; z-index: 60; left: 50%; transform: translateX(-50%);
  bottom: calc(96px + env(safe-area-inset-bottom));
  width: max-content; max-width: calc(100% - 32px);
  padding: 13px 20px; border-radius: 16px;
  background: var(--surface-3); color: var(--text); border: 1px solid var(--accent-line);
  box-shadow: var(--shadow); font-size: 0.92rem; text-align: center;
  animation: toast-in .25s var(--ease);
}
@media (min-width: 900px) { .toast { bottom: 28px; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --- Administration -------------------------------------------------------------------------- */

.admin-login { display: grid; place-items: center; padding-top: 60px; }
.login-panel { display: grid; gap: 16px; width: min(440px, 100%); padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.login-panel h1 { font-size: 1.7rem; }
.login-panel p { color: var(--text-soft); }
.login-panel form { display: grid; gap: 16px; }
.admin-page { padding-top: 30px; }
.admin-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.admin-top h1 { font-size: 2rem; }
.admin-top p { margin-top: 6px; color: var(--text-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 24px; }
.stats-grid div { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); }
.stats-grid span { font-size: 0.8rem; color: var(--muted); }
.stats-grid b { font-size: 1.5rem; font-weight: 600; color: var(--figure); }
.form-alert { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--bad-wash); color: var(--bad); font-size: 0.92rem; overflow-wrap: anywhere; }
.form-alert-note { background: var(--accent-wash); color: var(--text-soft); }
.admin-editor, .admin-section { margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.admin-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.admin-section-head h2 { font-size: 1.25rem; }
.admin-section-head p { margin-top: 6px; color: var(--text-soft); font-size: 0.92rem; }
.admin-form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.admin-field { display: flex; flex-direction: column; gap: 6px; }
.admin-field span { font-size: 0.86rem; color: var(--text-soft); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions p { font-size: 0.88rem; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9rem; }
.table-wrap th, .table-wrap td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.table-wrap th { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.table-merchant { display: block; font-weight: 600; }
.table-wrap small { color: var(--muted); }
.table-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.report-list { list-style: none; display: grid; gap: 10px; }
.report-list li { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-soft); font-size: 0.9rem; }
.coverage-summary { margin: 0 0 14px; color: var(--text-soft); }
.coverage-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.82rem; }
.coverage-table td:last-child { min-width: 210px; }
.report-list p { color: var(--text-soft); overflow-wrap: anywhere; }
.report-list small { color: var(--muted); }
.admin-import { margin-bottom: 14px; }
.admin-import form { display: grid; gap: 10px; }

/* --- Mouvement réduit ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Marques ---------------------------------------------------------------------------------- */

.brand-tabs { margin-top: 24px; }
.brand-grid { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (max-width: 420px) { .brand-grid { grid-template-columns: 1fr 1fr; } }
.brand-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.brand-tile:hover { border-color: var(--accent-line); transform: translateY(-2px); color: var(--text); }
.brand-tile .brand-logo { width: 52px; height: 52px; border-radius: 15px; }
.brand-tile-text { display: flex; flex-direction: column; min-width: 0; }
.brand-tile-text b { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.brand-tile-text small { margin-top: 2px; font-size: 0.8rem; color: var(--muted); }
.platform-jump { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; }
.platform-jump a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--accent-line); color: var(--accent); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.platform-jump a:hover { background: var(--accent-wash); }
.platform { scroll-margin-top: calc(var(--header-h) + 18px); }
.brand-hero { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.brand-hero .brand-logo { width: 72px; height: 72px; border-radius: 20px; }
.brand-hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); letter-spacing: -0.02em; }
.brand-hero p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; overflow-wrap: anywhere; }
.brand-more { margin-top: 30px; }
.brand-link { text-decoration: none; }
.brand-link:hover b { color: var(--accent); }
@media (min-width: 720px) and (max-width: 1279px) { .main-nav a[href="/parrainages#banque"] { display: none; } }

/* --- Comptes membres -------------------------------------------------------------------------- */

.header-account { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--text-soft); }
.header-account:hover, .header-account[aria-current="page"] { background: var(--line-soft); color: var(--accent); }
.header-account + .header-search-link { margin-left: 0; }
@media (max-width: 399px) { .header-inner { gap: 7px; } .brand { gap: 7px; } .brand-name { font-size: 1.12rem; } .header-account, .header-search-link { width: 38px; height: 38px; } }
@media (min-width: 1080px) { .header-account { margin-left: 0; } }
.auth { display: grid; place-items: center; padding-top: 40px; }
.auth-card { width: min(460px, 100%); display: grid; gap: 14px; padding: 28px 22px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 720px) { .auth-card { padding: 34px; } }
.auth-card h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
.auth-card > p { color: var(--text-soft); }
.auth-card .form-alert { margin-top: 0; }
.auth-form { display: grid; gap: 8px; }
.auth-form label { margin-top: 6px; }
.auth-form .button { margin-top: 12px; }
.auth-switch { font-size: 0.94rem; }
.auth-switch a { color: var(--accent); }
.auth-legal { font-size: 0.82rem; }
.auth-facts { padding: 4px 16px; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- Versement des primes, codes de l'éditeur -------------------------------------------------- */

.payout-chip, .editor-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; line-height: 1.3; }
.payout-cash { background: var(--ok-wash); color: var(--ok); font-weight: 600; }
.payout-other { background: var(--line-soft); color: var(--muted); }
.editor-chip { background: var(--btn-bg); color: var(--btn-ink); font-weight: 600; }
.recommended .offer-card { border-color: var(--accent-line); }
.recommended > .muted { margin: -8px 0 16px; }

/* Inscription : champ piège pour les robots, hors de l'écran et ignoré des lecteurs d'écran. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Administration : membres. */
.admin-top-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.admin-filter label { margin: 0; font-size: 0.85rem; color: var(--muted); }
.admin-filter input, .admin-filter select { width: auto; flex: 0 1 220px; margin: 0; min-height: 36px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-soft); background: var(--surface); color: inherit; font: inherit; }
.member-blocked { color: var(--bad); }
.member-meta { display: block; margin-top: 2px; color: var(--muted); }
.temp-password { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.1rem; letter-spacing: 0.04em; user-select: all; }
/* --- Comparer les prix selon le marché --------------------------------------------------------- */

.market-block { display: grid; gap: 10px; justify-items: start; margin-top: 18px; padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.market-block h2 { font-size: 1.1rem; }
.market-block p { color: var(--text-soft); font-size: 0.92rem; }
.market-state { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.market-state-verified { background: var(--ok-wash); color: var(--ok); }
.market-state-nodiff { background: var(--info-wash); color: var(--info); }
.market-state-unavailable { background: var(--line-soft); color: var(--muted); }
.market-notice { margin-top: 16px; }
.market-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 8px; }
.market-head h2 { font-size: clamp(1.25rem, 4.4vw, 1.6rem); }
.market-picker { margin-bottom: 8px; }
.market-spec, .market-costs { margin-top: 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.market-spec summary, .market-costs summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 0.92rem; }
.market-spec .market-facts { padding: 0 16px 12px; }
.market-costs ul { list-style: none; display: grid; gap: 4px; padding: 0 16px 12px; }
.market-costs li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--text-soft); }
.market-legal { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 0.86rem; }
.market-filters { display: grid; gap: 12px; margin-top: 18px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.market-filters > div { display: flex; flex-direction: column; gap: 6px; }
.market-filter-actions { flex-direction: row !important; flex-wrap: wrap; gap: 10px !important; }
@media (min-width: 900px) { .market-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; } .market-filter-actions { grid-column: 1 / -1; } }
.market-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0; font-size: 0.82rem; color: var(--muted); }
.market-legend div { display: flex; gap: 6px; }
.market-legend dt { font-weight: 600; color: var(--text-soft); }
.market-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.market-variant { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.market-variant.is-reference { border-color: var(--accent-line); }
.market-variant.is-stale { opacity: 0.75; border-style: dashed; }
.market-variant header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.market-variant h3 { font-size: 1.1rem; }
.market-tag { padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; background: var(--accent-wash); color: var(--accent); }
.market-tag-stale { background: var(--warn-wash); color: var(--warn); }
.market-desc { color: var(--text-soft); font-size: 0.92rem; overflow-wrap: anywhere; }
.market-facts { display: grid; gap: 0; }
.market-facts > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.86rem; }
.market-facts > div:last-child { border-bottom: 0; }
.market-facts dt { color: var(--muted); }
.market-facts dd { overflow-wrap: anywhere; }
.market-facts a { color: var(--accent); }
.market-delta { font-weight: 600; color: var(--figure); }
.market-warning { padding: 10px 12px; border-radius: 12px; background: var(--warn-wash); color: var(--warn); font-size: 0.88rem; }
.market-eligibility { font-size: 0.84rem; color: var(--muted); }
.market-empty { display: grid; gap: 10px; justify-items: start; margin-top: 18px; padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--text-soft); }
.market-stale-title { margin-top: 28px; font-size: 1.05rem; }
.market-params[hidden] { display: none; }
.market-history ul { padding-left: 18px; font-size: 0.86rem; color: var(--text-soft); }

/* Revenus de l'éditeur (administration) et primes déclarées (fiches, compte) */
.prime-declare { margin-top: 14px; }
.revenue-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 18px 0 24px; }
.revenue-card { display: grid; align-content: start; gap: 4px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.revenue-card span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.revenue-card b { font-size: 1.5rem; color: var(--accent); }
.revenue-card small { color: var(--text-soft); font-size: 0.8rem; }
.revenue-table small { display: block; color: var(--muted); font-size: 0.75rem; }
.plain-list { padding-left: 18px; display: grid; gap: 8px; color: var(--text-soft); }
.auth-primes { margin: 18px 0; text-align: left; }
.auth-primes h2 { font-size: 1.1rem; margin-bottom: 6px; }
.prime-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.prime-list small { color: var(--muted); }
.inline-form { display: inline; }
.inline-form .text-button { display: inline; padding: 0; }
.more-row { display: flex; justify-content: center; margin: 22px 0 6px; }
.more-row small { color: var(--muted); font-weight: 400; margin-left: 6px; }

/* Favoris */
.favorite-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 0.9rem; cursor: pointer; }
.favorite-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.favorite-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.favorite-star { font-size: 1.1rem; line-height: 1; }
.brand-hero .favorite-toggle { margin-left: auto; align-self: center; }
.favorite-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.favorite-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); color: inherit; text-decoration: none; }
.favorite-list b { display: block; }
.favorite-list small { color: var(--muted); }
.brand-hero { flex-wrap: wrap; }
.wanted-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wanted-list a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--surface); color: inherit; text-decoration: none; font-size: 0.9rem; }
.wanted-list .brand-logo { width: 28px; height: 28px; border-radius: 8px; }

/* Administration : à revérifier */
.maintenance { margin-bottom: 18px; }
.maintenance-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.maintenance-list li { display: grid; grid-template-columns: 110px minmax(0, 180px) 1fr; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); font-size: 0.9rem; }
.maintenance-level { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.maintenance-2 .maintenance-level { color: #e5484d; }
.maintenance-1 .maintenance-level { color: var(--accent); }
@media (max-width: 640px) { .maintenance-list li { grid-template-columns: 1fr; gap: 2px; } }

/* Bouton retour bien visible (demande du porteur, 9 octobre 2026) */
.header-back { width: auto; height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px 0 10px; border-radius: 999px; border-color: var(--accent-line); color: var(--accent); background: var(--accent-wash); font: inherit; font-size: 0.9rem; font-weight: 600; }
.header-back:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
@media (max-width: 420px) { .header-back { padding: 0 10px 0 8px; } .header-back-label { font-size: 0.85rem; } }

/* --- Graphite & Menthe : finition ------------------------------------------------------------ */
/* Cette section a le dernier mot sur les règles ci-dessus : filets fins, angles sobres, aucun dégradé. */

html { scroll-padding-top: calc(var(--header-h) + 16px); }
h1, h2, h3 { letter-spacing: -0.03em; }
kbd { font-family: var(--mono); }
a:hover { color: var(--accent-hi); }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); box-shadow: none; }
.header-inner { gap: clamp(8px, 1.2vw, 20px); }
.brand { gap: 9px; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; box-shadow: none; }
.brand-name { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.02em; }
.main-nav { gap: 2px; }
.main-nav a { padding: 6px 10px; border-radius: 7px; color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--text); background: var(--surface-3); font-weight: 500; }
.header-search { width: 240px; height: 34px; padding: 0 10px; border-color: var(--line-strong); border-radius: 8px; background: var(--surface-2); }
.header-search:focus-within { border-color: var(--accent-line); }
/* Sélecteur plus précis que la règle générale des champs : plus de cadre dans le cadre. */
.header-search input[type="search"] { min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; font-size: 0.875rem; }
.header-propose { height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: var(--text); font-size: 0.8125rem; font-weight: 500; }
.header-propose:hover { background: var(--surface-2); color: var(--text); border-color: var(--faint); }
.header-account, .header-search-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-3); color: var(--text); }
.header-account:hover, .header-account[aria-current="page"], .header-search-link:hover { background: var(--surface-4); color: var(--accent); }
@media (min-width: 1080px) { .header-account { width: 34px; height: 34px; } }
.header-back { height: 34px; border-radius: 8px; font-size: 0.8125rem; }
.header-back:hover { background: var(--accent); color: var(--btn-ink); border-color: var(--accent); }
.demo-ribbon { border-bottom: 1px solid var(--line); }

/* Barre de navigation du téléphone : pleine largeur, collée en bas */
.tabbar { left: 0; bottom: 0; transform: none; width: 100%; padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.tabbar a { min-height: 54px; gap: 4px; border-radius: 10px; font-size: 0.6875rem; font-weight: 500; }
.tabbar a[aria-current="page"] { background: none; color: var(--accent); }
@media (max-width: 899px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* Boutons, champs */
.button { min-height: 44px; padding: 0 18px; border-radius: 9px; font-size: 0.9375rem; font-weight: 600; }
.button-primary { box-shadow: none; }
.button-primary:hover { transform: none; }
.button-secondary { border-color: var(--line-strong); }
.button-secondary:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-wash); }
.button-small { min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: 0.8125rem; }
.button-wide { min-height: 50px; font-size: 1rem; }
input[type="text"], input[type="search"], input[type="url"], input[type="date"], input[type="password"], input:not([type]), select, textarea { border-color: var(--line-strong); background: var(--surface-2); }
.search-form { gap: 10px; padding: 5px 5px 5px 16px; border-color: var(--line-strong); border-radius: 12px; background: var(--surface-2); box-shadow: none; }
.search-form:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-wash); }
.search-form > .icon { color: var(--faint); }
.search-form input[type="search"] { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 1rem; }
.search-form .button { min-width: 0; min-height: 40px; padding: 0 16px; border-radius: 8px; font-size: 0.875rem; }
@media (max-width: 420px) { .search-form { padding-left: 14px; } .search-form .button { width: 44px; padding: 0; font-size: 0; } .search-form .button::before { font-size: 1.1rem; } }
.search-key { display: none; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); font-size: 0.75rem; }
@media (min-width: 900px) and (hover: hover) { .search-key { display: inline-grid; } }
.segmented { gap: 2px; padding: 3px; border-color: var(--line); border-radius: 10px; background: var(--surface-2); }
.segmented a { padding: 7px 12px; border-radius: 7px; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.segmented a:hover { color: var(--text); }
.segmented a.selected { background: var(--surface-4); color: var(--text); }

/* États et puces */
.status-badge, .prime-state { padding: 0; background: none; font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.status-confirmed { background: none; color: var(--ok); }
.status-probable { background: none; color: var(--warn); }
.status-uncertain { background: none; color: var(--muted); }
.status-expired { background: none; color: var(--bad); }
.status-upcoming { background: none; color: var(--info); }
.prime-state-editor { color: var(--accent); }
.cost-chip, .proof-chip, .kind-chip, .affiliate-chip, .min-pill, .validity, .code-chip, .type-chip, .demo-chip, .count-pill, .chip-count, .payout-chip, .editor-chip, .market-tag, .market-state { border-radius: 6px; }
.kind-chip { background: var(--surface-3); color: var(--text-soft); }
.code-chip b { color: var(--text); }
.proof-oui, .payout-other { background: var(--surface-3); }
.codes-ready { border-radius: 6px; font-family: var(--mono); }

/* Logos */
.brand-logo { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.brand-initials { background: var(--surface-3); color: var(--text-soft); font-weight: 600; }

/* Titres de section */
.block { margin-top: 48px; }
@media (min-width: 900px) { .block { margin-top: 64px; } }
.block-head { align-items: center; margin-bottom: 16px; }
.block-head h2 { font-size: clamp(1.15rem, 3.4vw, 1.4rem); }
.block-head a { font-size: 0.8125rem; font-weight: 500; }
.eyebrow { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; }
.eyebrow::before { content: none; }
.page-intro h1 { font-size: clamp(1.9rem, 5.4vw, 2.75rem); letter-spacing: -0.04em; }
.offer-gain small, .promo-saving small, .figures dt, .filters h2, .footer-col h2, .compare-table thead th, .table-wrap th, .code-box-head h2, .revenue-card span, .maintenance-level { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

/* Accueil : en-tête de page */
.hero { overflow: visible; padding: 44px 0 0; }
.hero::before { content: none; }
.hero-copy { max-width: none; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.hero-pill .status-dot { color: var(--accent); }
@media (max-width: 479px) { .hero-pill-extra { display: none; } }
.hero-tabs { display: flex; }
.hero-tabs a { flex: 1 1 auto; text-align: center; }
@media (min-width: 720px) { .hero-tabs { display: inline-flex; } }
.hero h1 { max-width: 900px; margin-top: 20px; font-size: clamp(2.3rem, 6.2vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.045em; }
.hero h1 em { display: block; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--faint); font-style: normal; }
.lead { max-width: 62ch; margin-top: 18px; color: var(--text-soft); font-size: 1rem; line-height: 1.6; }
.hero-search { max-width: 720px; margin-top: 28px; }
.hero-tabs { margin-top: 16px; }
@media (min-width: 1000px) { .hero { padding-top: 72px; } }
@media (max-width: 719px) { .hero { padding-top: 32px; } .hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); } }

/* Accueil : tableau des codes et panneau des primes */
.home-split { display: grid; gap: 20px; align-items: start; margin-top: 36px; }
@media (min-width: 1000px) { .home-split { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; } }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 18px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 0.9375rem; letter-spacing: -0.01em; }
.panel-head a { flex: none; color: var(--accent); font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.panel-head a:hover, .panel-foot:hover { text-decoration: underline; }
.panel-head-stack { display: block; }
.panel-head-stack p { margin-top: 4px; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }
.panel-foot { display: block; padding: 13px 16px; border-top: 1px solid var(--line); color: var(--accent); font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.panel-empty { padding: 20px 16px; color: var(--muted); font-size: 0.9rem; }
.panel-empty a { color: var(--accent); }
.code-rows, .prime-rows { list-style: none; }
.code-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "logo brand gain" "code code code"; gap: 12px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line-soft); }
.code-rows > li:last-child, .prime-rows > li:last-child .prime-row { border-bottom: 0; }
.code-row .brand-logo { grid-area: logo; width: 36px; height: 36px; border-radius: 9px; }
.code-brand { grid-area: brand; display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.code-brand b { font-size: 0.9375rem; font-weight: 500; }
.code-brand small { overflow: hidden; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.code-offer { display: none; color: var(--text-soft); font-size: 0.875rem; line-height: 1.45; }
.code-gain { grid-area: gain; color: var(--figure); font-family: var(--mono); font-size: 1rem; font-weight: 600; line-height: 1.25; text-align: right; }
.code-copy { grid-area: code; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-2); color: var(--text); cursor: pointer; transition: border-color .15s; }
.code-copy code { overflow: hidden; font-size: 0.8125rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.code-copy .icon { color: var(--muted); }
.code-copy:hover { border-color: var(--accent-line); }
.code-copy:hover .icon { color: var(--accent); }
.code-row-head { display: none; }
@media (min-width: 720px) {
  .panel-head, .panel-foot { padding-inline: 20px; }
  .code-row { grid-template-columns: 36px minmax(0, 1.05fr) minmax(0, 1.6fr) 104px minmax(0, 168px); grid-template-areas: none; gap: 16px; padding: 14px 20px; }
  .code-row > *, .code-row .brand-logo { grid-area: auto; }
  .code-offer { display: block; }
  .code-copy { justify-self: end; max-width: 100%; min-height: 36px; padding: 0 12px; border-radius: 8px; }
  .code-row-head { display: grid; padding-block: 10px; border-bottom-color: var(--line); color: var(--muted); font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .code-row-head span:nth-child(4), .code-row-head span:nth-child(5) { text-align: right; }
}
.prime-row { display: grid; gap: 4px; padding: 16px; border-bottom: 1px solid var(--line-soft); color: var(--text); text-decoration: none; transition: background .15s; }
.prime-row:hover { background: var(--surface-2); color: var(--text); }
.prime-row-editor { background: var(--accent-wash); }
.prime-top { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; }
.prime-top .brand-logo { width: 22px; height: 22px; border-radius: 6px; font-size: 0.625rem; }
.prime-top b { flex: 1; min-width: 0; font-weight: 500; }
.prime-gain { margin-top: 4px; font-family: var(--mono); font-size: 1.75rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.prime-note { color: var(--muted); font-size: 0.8125rem; }
@media (min-width: 720px) { .prime-row { padding-inline: 20px; } }

/* Accueil : univers et étapes, en cellules séparées par des filets */
.shortcuts { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); scroll-snap-type: none; }
.shortcuts a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "count icon" "text text"; gap: 6px 10px; align-content: start; min-height: 0; padding: 18px 16px; border: 0; border-radius: 0; background: var(--surface); box-shadow: none; }
.shortcuts a:hover { background: var(--surface-2); box-shadow: none; transform: none; }
.shortcut-count { grid-area: count; font-family: var(--mono); font-size: 1.625rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.shortcut-icon { grid-area: icon; width: auto; height: auto; border-radius: 0; background: none; color: var(--faint); }
.shortcuts a:hover .shortcut-icon { color: var(--accent); }
.shortcut-text { grid-area: text; margin: 0; }
.shortcut-text b { color: var(--text-soft); font-size: 0.875rem; font-weight: 400; letter-spacing: 0; }
.shortcut-text small { font-size: 0.75rem; }
@media (min-width: 720px) { .shortcuts { grid-template-columns: repeat(5, minmax(0, 1fr)); } .shortcuts a { padding: 20px; } }
.how-steps { display: grid; gap: 1px; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.how-steps li { display: block; padding: 22px 20px; background: var(--bg); }
.how-num { display: block; width: auto; height: auto; border: 0; border-radius: 0; color: var(--accent); font-family: var(--mono); font-size: 0.75rem; font-weight: 500; }
.how-steps li > b:not(.how-num) { display: block; margin-top: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.how-steps li > span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
@media (min-width: 900px) { .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; } .how-steps li { padding: 26px 24px; } }
.how-note { margin-top: 14px; }
.invite-how .how-steps { margin-top: 16px; }

/* Cartes : codes promo, parrainages, marques */
.promo-card, .offer-card, .market-variant, .brand-tile, .favorite-list a, .filters, .promo-form, .starter, .hero-ledger, .detail-card, .invite-card, .invite-how, .auth-card, .login-panel, .fact-list, .report-form, .conditions-box, .source-box, .code-submit, .market-block, .market-filters, .market-spec, .market-costs, .revenue-card, .admin-editor, .admin-section, .table-scroll { border-color: var(--line); background: var(--surface); box-shadow: none; }
.detail-card::before, .invite-card::before { content: none; }
.promo-card { overflow: hidden; }
.promo-card:hover, .offer-card:hover, .brand-tile:hover, .favorite-list a:hover { border-color: var(--line-strong); box-shadow: none; transform: none; }
.offer-card:hover, .brand-tile:hover { background: var(--surface-2); }
.promo-main { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 12px; padding: 18px 18px 16px; }
.promo-main > .brand-logo { width: 40px; height: 40px; }
.promo-merchant b { font-size: 0.9375rem; font-weight: 500; }
.promo-merchant span { font-family: var(--mono); font-size: 0.75rem; }
.promo-saving b { font-family: var(--mono); font-size: 1.25rem; letter-spacing: -0.03em; }
.promo-advantage { margin-top: 12px; font-size: 0.875rem; line-height: 1.5; }
.coupon { border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-2); }
.coupon .promo-code { color: var(--text); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; }
.coupon-go { min-height: 44px; padding: 0 14px; border-left: 1px solid var(--line-strong); background: var(--accent-wash); color: var(--accent); font-size: 0.8125rem; }
.coupon-go:hover { background: var(--btn-bg); color: var(--btn-ink); }
.promo-foot { padding: 10px 18px 14px; border-top-color: var(--line-soft); }
.promo-more summary { font-size: 0.8125rem; }
.vote-button { min-height: 34px; border-color: var(--line-strong); border-radius: 8px; font-size: 0.8125rem; }
.offer-link { border-radius: inherit; }
.offer-name b { font-size: 0.9375rem; font-weight: 500; }
.offer-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.big-figure, .hero-stats dd, .figures dd, .invite-stats dd, .stats-grid b, .revenue-card b, .starter-list em, .compare-table td.gain, .market-delta { font-family: var(--mono); letter-spacing: -0.03em; }
.big-figure { color: var(--text); }
.offer-foot { border-top-color: var(--line-soft); }
.offer-arrow { width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 8px; background: none; color: var(--muted); }
.offer-card:hover .offer-arrow { border-color: var(--accent-line); color: var(--accent); transform: none; }
.recommended .offer-card { border-color: var(--accent-line); }
.editor-chip { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; }
.finance-notice { border-color: var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); font-size: 0.8125rem; }
.starter-list a { border-radius: 10px; }
.starter-list a:hover { background: var(--surface-2); }
.starter-list a::before { font-family: var(--mono); }
.tabs a { min-height: 40px; padding: 0 14px; border-color: var(--line-strong); border-radius: 8px; font-size: 0.875rem; }
.tabs a.selected { background: var(--surface-4); border-color: var(--surface-4); color: var(--text); }
.tabs a.selected .chip-count { background: var(--surface-2); }
.tabs .tab-proof.selected { color: var(--btn-ink); }
.filter-list a { border-radius: 8px; }
.filter-list a.selected { border-color: var(--line-strong); background: var(--surface-3); color: var(--text); }
.compare-table thead th { background: var(--surface-2); }
.compare-table tbody tr:hover, .compare-table tbody tr:hover th { background: var(--surface-2); }
.figures > div, .invite-stats div, .code-missing, .report-list li { border-color: var(--line); background: var(--surface-2); }
.code-box { border: 1px solid var(--accent-line); border-radius: var(--radius-sm); }
.invite-link { border: 1px solid var(--accent-line); border-radius: var(--radius-sm); }
.brand-tile .brand-logo { border-radius: 12px; }
.brand-hero .brand-logo { border-radius: 16px; }
.platform-jump a, .info-nav a { border-color: var(--line-strong); border-radius: 8px; color: var(--text-soft); font-weight: 500; }
.platform-jump a:hover { background: var(--surface-2); color: var(--text); }
.info-nav a[aria-current="page"] { border-color: var(--line-strong); background: var(--surface-3); color: var(--text); }
.favorite-toggle { border-color: var(--line-strong); border-radius: 8px; }
.empty-state, .market-empty { border-color: var(--line-strong); }

/* Tester un lien, confirmer qu'un code a marché */
.link-result { color: var(--warn); font-size: 0.875rem; line-height: 1.5; }
.link-result:empty { display: none; }
.link-result.is-ok { color: var(--ok); }
.link-result.is-dead { color: var(--bad); }
.link-test-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 10px; font-size: 0.86rem; }
.link-test-line .link-result { flex: 1 1 100%; }
.works-count { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 500; }
.code-submit .form-submit { gap: 8px; }
.link-tester { display: grid; gap: 24px; margin-top: 24px; }
.link-test-form { grid-template-columns: 1fr; max-width: 720px; }

/* Pied de page, message éphémère */
.site-footer { margin-top: clamp(64px, 9vw, 104px); border-top-color: var(--line); background: var(--bg); }
.footer-inner { row-gap: 28px; }
.footer-brand { align-content: start; }
.footer-brand p { font-size: 0.875rem; }
.footer-col { font-size: 0.875rem; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--text); }
.footer-note { border-top-color: var(--line); font-size: 0.8125rem; }
.toast { border-color: var(--line-strong); border-radius: 10px; background: var(--surface-3); }

@media (prefers-reduced-motion: reduce) {
  .code-copy, .prime-row { transition: none; }
}

/* --- Fiche sans code de parrainage : offres sans parrain, et page « Codes recherchés » --------- */
.code-missing a { color: var(--accent); }
.alt-offers { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 18px); }
.alt-offers .block-head { margin-bottom: 0; }
.alt-offers .promo-grid { grid-template-columns: minmax(0, 1fr); }
.sought-list { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.sought-list li + li { border-top: 1px solid var(--line); }
.sought-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; }
.sought-list a:hover { background: var(--surface-2); }
.sought-list .brand-logo { width: 40px; height: 40px; border-radius: 10px; }
.sought-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sought-text b { font-weight: 600; }
.sought-text em { font-style: normal; color: var(--text-soft); font-size: 0.875rem; }
.sought-text small { color: var(--muted); font-size: 0.8125rem; }
.sought-go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 560px) { .sought-go { font-size: 0; gap: 0; } }
/* Accueil public du lien en bio (visiteurs sans compte). */
.welcome { max-width: 680px; padding-block: 48px 64px; display: grid; gap: 18px; }
.welcome h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em; }
.welcome-lead { font-size: 1.08rem; color: var(--text-soft); max-width: 56ch; }
.welcome-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; }
.welcome-facts li { display: grid; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.welcome-facts b { font-family: var(--mono); font-size: 1.4rem; color: var(--accent); }
.welcome-facts span { font-size: 0.85rem; color: var(--muted); }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.welcome-steps { display: grid; gap: 10px; padding: 0; margin: 8px 0 0; list-style: none; counter-reset: step; }
.welcome-steps li { display: grid; gap: 2px; padding: 14px 16px 14px 52px; position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); counter-increment: step; }
.welcome-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 16px; top: 15px; font-family: var(--mono); font-size: 0.8rem; color: var(--accent); }
.welcome-steps span { color: var(--text-soft); font-size: 0.92rem; }
.welcome-note { font-size: 0.82rem; }
.welcome-note a { color: var(--text-soft); }
/* Inscription : acceptation des conditions ; pages juridiques en sections. */
.auth-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 0.9rem; color: var(--text-soft); }
.auth-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.auth-consent a { color: var(--accent); }
.info-page h2 { margin-top: 28px; font-size: 1.15rem; }

/* --- Présentation sur les pages de connexion et d'inscription (visiteurs venus d'Instagram) ------- */
.auth-pitch { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.auth-pitch-lead { color: var(--text); font-weight: 500; }
.auth-pitch-figures { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.auth-pitch-figures li { display: grid; gap: 2px; }
.auth-pitch-figures b { font-family: var(--mono); font-size: 1.25rem; color: var(--accent); letter-spacing: -0.02em; }
.auth-pitch-figures span { color: var(--muted); font-size: 0.78rem; }
.auth-pitch-note { color: var(--muted); font-size: 0.8125rem; }
