/* Ajoutez votre site : thème « avs » (refonte du 26/11/2026).
   Identité : encre, blancs et gris, un seul accent (vert électrique), Geist et Geist Mono hébergées ici. */

@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0c0e;
  --ink-2: #2c2f36;
  --muted: #5f6573;
  --line: #e6e8ec;
  --soft: #f4f5f7;
  --white: #fff;
  --accent: #c6f432;
  --accent-2: #b3e11c;
  --dark: #0b0c0e;
  --dark-2: #14161a;
  --dark-line: #262a31;
  --dark-text: #a9afba;
  --r: 14px;
  --r-s: 10px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(11, 12, 14, .04), 0 8px 24px rgba(11, 12, 14, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; touch-action: pan-y pinch-zoom;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.top :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: 22px; font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 17px; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid transparent; font: 600 14.5px/1 var(--sans); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { color: #dfe3ea; }
.btn--ghost:hover { color: var(--white); background: var(--dark-2); }
.btn--lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.hero .btn--line, .foot .btn--line { background: transparent; border-color: #3a3f48; color: var(--white); }
.hero .btn--line:hover { border-color: var(--accent); }

/* Logo typographique */
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-size: 22px; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.logo__a { font-weight: 800; color: var(--white); }
.logo__b { font-weight: 450; color: #8d94a1; }
.logo__p { font-weight: 800; color: var(--accent); margin-left: 1px; transform: translateY(-.32em); font-size: .8em; }
.foot .logo { font-size: 26px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 14, .96); border-bottom: 1px solid var(--dark-line); backdrop-filter: saturate(140%) blur(8px); }
.top__in { display: flex; align-items: center; gap: 18px; height: 64px; }
.nav { display: none; gap: 4px; }
.nav { align-items: center; }
.nav a { white-space: nowrap; color: #c8cdd5; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--white); background: var(--dark-2); }
.search { display: none; position: relative; margin-left: auto; }
.search input {
  width: 220px; height: 38px; padding: 0 12px 0 34px; border-radius: 999px; border: 1px solid var(--dark-line);
  background: var(--dark-2); color: var(--white); font: 400 14px var(--sans);
}
.search input::placeholder { color: #7d8490; }
.search input:focus { outline: none; border-color: var(--accent); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #7d8490; pointer-events: none; }
.top__acts { display: none; gap: 6px; align-items: center; }
.burger { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dark-line); background: transparent; color: var(--white); font: 600 14px var(--sans); cursor: pointer; }
.burger i { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.menu { display: none; border-top: 1px solid var(--dark-line); padding: 12px 0 18px; }
.menu.is-open { display: block; }
.menu a:not(.btn) { display: block; color: #dfe3ea; text-decoration: none; padding: 11px 2px; border-bottom: 1px solid var(--dark-line); font-weight: 500; }
.menu .search { display: block; margin: 4px 0 12px; }
.menu .search input { width: 100%; height: 44px; font-size: 16px; }
.menu__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.menu__btns .btn--ghost { border-color: var(--dark-line); }
@media (min-width: 1024px) {
  .nav, .top__acts { display: flex; }
  .top__in > .search { display: block; }
  .burger, .menu { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .search input { width: 160px; } .nav a { padding: 8px 7px; } }

/* Bandeau d'accueil */
.hero { position: relative; background: var(--dark); color: var(--white); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(198, 244, 50, .16), transparent 62%); }
.hero__in { padding-top: 56px; padding-bottom: 48px; }
.hero__k { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 18px; padding: 6px 12px; border: 1px solid var(--dark-line); border-radius: 999px; font: 500 12.5px/1 var(--mono); letter-spacing: .02em; color: var(--dark-text); text-transform: uppercase; }
.hero__k span { color: var(--accent); }
.hero__h { font-size: clamp(36px, 7.4vw, 74px); font-weight: 750; letter-spacing: -.045em; line-height: 1; max-width: 15ch; margin: 0 0 20px; }
.plus { color: var(--accent); }
.hero__p { font-size: clamp(16.5px, 2vw, 19px); color: #c3c8d0; max-width: 46ch; margin: 0 0 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.hero__kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--dark-line); }
.hero__kpi div { padding: 18px 16px 0 0; }
.hero__kpi div + div { padding-left: 16px; border-left: 1px solid var(--dark-line); }
.hero__kpi dt { font-size: 12.5px; color: var(--dark-text); margin-bottom: 6px; }
.hero__kpi dd { margin: 0; font: 600 clamp(24px, 4vw, 36px)/1 var(--mono); letter-spacing: -.03em; color: var(--white); }
@media (min-width: 768px) { .hero__in { padding-top: 84px; padding-bottom: 64px; } .hero__kpi { max-width: 720px; } }

/* Mise en page */
.layout { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 56px; }
.main { min-width: 0; }
.side { min-width: 0; }
@media (min-width: 1024px) {
  .layout { grid-template-columns: 250px minmax(0, 1fr); gap: 44px; padding-top: 36px; }
  .side { grid-column: 1; grid-row: 1; }
  .main { grid-column: 2; grid-row: 1; }
  .side__in { position: sticky; top: 88px; }
}
.side__t { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.cats { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cats::-webkit-scrollbar { display: none; }
.cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; white-space: nowrap; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.cats b { font: 500 12px var(--mono); color: var(--muted); }
.cats a:hover { border-color: var(--ink); }
.cats a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cats a[aria-current] b { color: var(--accent); }
@media (min-width: 1024px) {
  .cats { display: block; overflow: visible; }
  .cats a { border: 0; border-radius: 8px; padding: 7px 10px; }
  .cats a:hover { background: var(--soft); }
}
.side__extra { display: none; }
@media (min-width: 1024px) { .side__extra { display: block; margin-top: 28px; } }

/* En-tête de page */
.phead { margin: 0 0 22px; }
.phead h1 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 750; letter-spacing: -.035em; margin: 0; }
.phead__lead { color: var(--muted); margin: 8px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: #b7bcc6; }
.crumbs [aria-current] { color: var(--ink); max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Barre du classement */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.toolbar__t { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.p-cat .toolbar__t { display: none; }
.seg { display: inline-flex; padding: 3px; background: var(--soft); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg a { padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 550; text-decoration: none; color: var(--muted); white-space: nowrap; }
.seg a[aria-current] { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

/* Podium (3 premiers) */
.podium { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .podium { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pod { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.pod:first-child { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
.pod__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pod__rank { font: 700 34px/1 var(--mono); letter-spacing: -.05em; }
.pod__rank small { font-size: 16px; color: var(--muted); margin-right: 2px; }
.pod__ban { display: block; aspect-ratio: 468 / 60; border-radius: 8px; overflow: hidden; background: var(--soft); margin-bottom: 14px; }
.pod__ban img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pod h3 { font-size: 17px; margin: 0 0 6px; overflow-wrap: anywhere; }
.pod h3 a, .row h3 a { text-decoration: none; }
.pod h3 a:hover, .row h3 a:hover { text-decoration: underline; }
.pod p { font-size: 14px; color: var(--muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pod__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: auto 0 14px; }
.pod__stats div { background: var(--soft); border-radius: 10px; padding: 10px 12px; }
.pod__stats dt { font-size: 12px; color: var(--muted); }
.pod__stats dd { margin: 2px 0 0; font: 600 20px/1.1 var(--mono); }
.pod__acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

/* Lignes du classement */
.rank { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: grid; grid-template-columns: 34px 44px minmax(0, 1fr); gap: 12px 14px; align-items: start; padding: 16px; border-bottom: 1px solid var(--line); background: var(--white); transition: background .15s; }
.row:last-child { border-bottom: 0; }
.row:hover { background: #fafbfc; }
.row__rank { font: 600 18px/44px var(--mono); text-align: right; letter-spacing: -.04em; }
.tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); font: 700 18px/1 var(--sans); color: var(--ink-2); }
.row h3 { font-size: 16.5px; margin: 0 0 3px; overflow-wrap: anywhere; }
.row__d { font-size: 14px; color: var(--muted); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; color: var(--muted); }
.row__stats { grid-column: 2 / -1; display: flex; gap: 18px; align-items: center; font-size: 12.5px; color: var(--muted); }
.row__stats b { display: block; font: 600 16px/1.2 var(--mono); color: var(--ink); }
.row__go { margin-left: auto; }
@media (min-width: 768px) {
  .row { grid-template-columns: 40px 48px minmax(0, 1fr) auto; align-items: center; padding: 16px 20px; }
  .row__rank { font-size: 20px; line-height: 1; }
  .tile { width: 48px; height: 48px; }
  .row__stats { grid-column: auto; gap: 22px; text-align: right; }
}
.updown { font-size: 10px; margin-left: 3px; vertical-align: middle; }
.updown--up { color: #3f8f00; }
.updown--down { color: #b3261e; }
.updown--neutral { display: none; }

.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: 12.5px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.chip:hover { background: var(--line); }
.stars { --p: 0%; position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; line-height: 1; color: #d5d9e0; white-space: nowrap; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--p); overflow: hidden; color: var(--ink); }
.link-ext { font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-ext:hover { text-decoration: underline; }
.arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; font-size: 16px; }
.arrow:hover { border-color: var(--ink); background: var(--ink); color: var(--accent); }

/* Pagination */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 8px 0 28px; }
.pager > :last-child { justify-self: end; }
.pager__n { font: 500 13px var(--mono); color: var(--muted); }

/* Encarts sponsor */
.sponsor { margin: 0 0 18px; padding: 14px; border: 1px dashed #cfd3da; border-radius: var(--r); text-align: center; overflow: hidden; }
.sponsor::before { content: "Sponsor"; display: block; font: 600 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #9aa0ab; margin-bottom: 10px; }
.sponsor img, .sponsor iframe { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; border: 0; }
.sponsor iframe { height: 60px; }
.sponsor:empty { display: none; }
.sponsor-text { font-size: 14px; color: var(--muted); }
.sponsor-text a { color: var(--ink); font-weight: 600; }

/* Site à la une */
.feat { margin-top: 24px; padding: 16px; border-radius: var(--r); background: var(--soft); }
.feat__k { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.feat h3 { font-size: 15px; margin: 0 0 4px; }
.feat p { font-size: 13.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Fiche d'un site */
.sheet { display: grid; gap: 22px; }
.sheet > * { min-width: 0; }
@media (min-width: 900px) { .sheet { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--white); min-width: 0; }
.card + .card { margin-top: 18px; }
.card h2 { font-size: 18px; margin: 0 0 14px; }
.sheet__ban { display: block; border-radius: 10px; overflow: hidden; margin: 0 0 16px; background: var(--soft); max-width: 468px; }
.sheet__ban img { display: block; width: 100%; height: auto; }
.sheet__d { font-size: 16.5px; color: var(--ink-2); }
.sheet__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.kpis div { padding: 14px; border-radius: 12px; background: var(--soft); min-width: 0; }
.kpis dt { font-size: 12.5px; color: var(--muted); }
.kpis dd { margin: 4px 0 0; font: 600 clamp(20px, 3vw, 26px)/1.1 var(--mono); letter-spacing: -.03em; }
.kpis div:first-child { background: var(--ink); color: var(--white); }
.kpis div:first-child dt { color: var(--dark-text); }
.kpis div:first-child dd { color: var(--accent); }
.review { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review:last-child { border-bottom: 0; }
.review time { display: block; font: 500 12.5px var(--mono); color: var(--muted); margin-bottom: 4px; }

/* Tableaux */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 22px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--soft); white-space: nowrap; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; }
.tbl a { overflow-wrap: anywhere; }
.prose .tbl { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; overflow: hidden; display: block; overflow-x: auto; }
.prose .tbl td { border-bottom: 1px solid var(--line); }

/* Texte des pages */
.prose { max-width: 760px; font-size: 16px; color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--ink); font-weight: 550; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0 0 .5em; }
.prose img { border-radius: 6px; vertical-align: middle; }
.prose b, .prose strong { color: var(--ink); }
.note { font-size: 14px; color: var(--muted); }
.actions { margin: 26px 0 0; }

/* Formulaires */
.form { max-width: 640px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: 0 0 18px; min-width: 0; }
.form legend { padding: 0 6px; font-weight: 700; font-size: 15px; }
.field { display: block; margin: 0 0 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field small { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.form input[type=text], .form input[type=password], .form input[type=email], .form input[type=url], .form input[type=search], .form textarea, .form select {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-s); border: 1px solid #d5d9e0; background: var(--white);
  color: var(--ink); font: 400 16px/1.4 var(--sans); appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 244, 50, .55); }
.form .btn { min-height: 48px; padding: 0 22px; font-size: 15.5px; }
.join_edit_error input, .join_edit_error textarea { border-color: #b3261e !important; }
.join_edit_error, .err { color: #b3261e; font-size: 13.5px; }
.join_edit_error > span { color: var(--ink); }
.captcha { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.captcha img { border-radius: 8px; border: 1px solid var(--line); height: 46px; width: auto; }
.captcha input { max-width: 180px; letter-spacing: .2em; font-family: var(--mono) !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 16px; border-radius: var(--r-s); margin: 0 0 18px; font-size: 15px; }
.notice--ok { background: #effbd2; border: 1px solid var(--accent-2); }
.notice--err, .alert { background: #fdf1f0; border: 1px solid #f1c4bf; color: #7d1a14; }
.alert { padding: 16px 18px; border-radius: var(--r); margin: 0 0 18px; }
.alert h2 { font-size: 17px; margin: 0 0 4px; color: #7d1a14; }
.code { width: 100%; min-height: 110px; padding: 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--soft); font: 400 13px/1.5 var(--mono); color: var(--ink); resize: vertical; }
.linkcode { display: grid; gap: 14px; }
.linkcode__btn { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Espace membre */
.ucp { display: grid; gap: 20px; }
@media (min-width: 900px) { .ucp { grid-template-columns: 220px minmax(0, 1fr); } }
.ucp__nav { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.ucp__nav a { padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 550; font-size: 14.5px; border: 1px solid var(--line); }
.ucp__nav a:hover { border-color: var(--ink); }
@media (min-width: 900px) { .ucp__nav { flex-direction: column; } }
.ucp__user { font: 500 13px var(--mono); color: var(--muted); margin: 0 0 14px; }

/* Recherche */
.results { list-style: none; margin: 0 0 18px; padding: 0; }
.results li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.results h3 { font-size: 16.5px; margin: 0 0 3px; }
.results p { font-size: 14.5px; color: var(--muted); margin: 0 0 4px; }
.results mark { background: rgba(198, 244, 50, .55); color: inherit; padding: 0 1px; border-radius: 3px; }
.results__bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* Statistiques globales */
.gstats .tbl td:not(:first-child), .gstats .tbl th:not(:first-child) { text-align: right; font-family: var(--mono); }

/* Pied de page */
.foot { background: var(--dark); color: var(--dark-text); padding: 48px 0 28px; font-size: 14.5px; }
.foot a { color: #d6dae1; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); }
.foot__grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__brand { grid-column: 1 / -1; }
.foot__brand p { max-width: 38ch; margin: 12px 0 18px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot__brand { grid-column: auto; } }
.foot h2 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: #7f8692; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 9px; }
.foot__partners { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--dark-line); }
.foot__partners img { display: block; border-radius: 3px; opacity: .85; }
.foot__partners a:hover img { opacity: 1; }
.foot__vip { margin: 18px 0 0; font-size: 13px; line-height: 1.9; }
.foot__vip b { color: #d6dae1; font-weight: 600; }
.foot__copy { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--dark-line); font-size: 13px; color: #7f8692; }

/* Page de vote (passerelle) */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--dark); color: var(--white); }
.gate__box { width: 100%; max-width: 520px; text-align: center; }
.gate h1 { font-size: clamp(28px, 6vw, 40px); letter-spacing: -.035em; margin: 26px 0 10px; }
.gate p { color: #c3c8d0; margin: 0 0 26px; }
.gate__acts { display: grid; gap: 10px; }
@media (min-width: 520px) { .gate__acts { grid-template-columns: 1fr 1fr; } }
.gate .btn--line { background: transparent; border-color: #3a3f48; color: var(--white); }
.gate .gate__site { font: 500 13px var(--mono); color: var(--dark-text); margin-top: 26px; }

/* Administration */
.admin-ui { display: grid; gap: 22px; }
@media (min-width: 900px) { .admin-ui { grid-template-columns: 220px minmax(0, 1fr); } }
.admin-ui__nav { font-size: 14px; }
.admin-ui__nav p { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 16px 0 6px; }
.admin-ui__nav a { display: block; padding: 5px 0; text-decoration: none; }
.admin-ui__nav a:hover { text-decoration: underline; }
.admin-ui__body { min-width: 0; overflow-x: auto; }
.admin-ui__body table { border-collapse: collapse; }
.admin-ui__body td, .admin-ui__body th { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.admin-ui__body input[type=text], .admin-ui__body input[type=password], .admin-ui__body textarea, .admin-ui__body select { max-width: 100%; padding: 6px 8px; border: 1px solid #d5d9e0; border-radius: 6px; font: inherit; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .side, .foot, .sponsor, .hero::before, .hero::after { display: none !important; } .hero { background: none; color: var(--ink); } }

/* Ajustements après contrôle visuel */
@media (max-width: 1023px) { .side { order: -1; } .layout { gap: 18px; } }
@media (max-width: 520px) { .hero__k { font-size: 10.5px; white-space: nowrap; padding: 6px 10px; } .hero__cta .btn { flex: 1 1 auto; } }
a.stars { text-decoration: none; }
.tbl td:first-child { white-space: nowrap; }
