/* ==========================================================================
   BCF 2026 — feuille de style principale
   Palette bleu-blanc-rouge. Aucun framework, aucune dépendance.
   ========================================================================== */

/* --- 1. Jetons de design ------------------------------------------------- */
:root {
  --navy-900: #0d1f3d;
  --navy-800: #142c57;
  --navy: #1b3a6b;
  --navy-600: #27508f;
  --navy-400: #5c7fb5;
  --navy-100: #e8eef7;
  --navy-50: #f2f6fc;

  --red: #e63946;
  --red-600: #d32f3c;
  --red-700: #b31f2b;
  --red-50: #fdecee;

  --gold: #f2a50c;
  --green: #15803d;
  --green-50: #e8f6ed;

  --bg: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #5b6b82;
  --faint: #8695a8;
  --line: #e3e8ef;
  --line-soft: #eef2f7;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --sh-sm: 0 1px 3px rgba(15, 23, 42, .07), 0 1px 2px rgba(15, 23, 42, .04);
  --sh: 0 4px 14px rgba(15, 23, 42, .07);
  --sh-lg: 0 12px 32px rgba(15, 23, 42, .10);
  --sh-red: 0 4px 14px rgba(230, 57, 70, .30);

  --wrap: 1200px;
  --gut: 20px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --head-h: 68px;
}

/* --- 2. Remise à zéro ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }

a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5 {
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }
h3 { font-size: clamp(1.17rem, 1rem + .6vw, 1.42rem); }
h4 { font-size: 1.08rem; }
p, ul, ol { text-wrap: pretty; }

/* --- 3. Structure -------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; }

.section { padding-block: clamp(36px, 5vw, 64px); }
.section + .section { padding-top: 0; }
.section--tint { background: var(--navy-50); }
.section--navy { background: var(--navy-900); color: #dbe5f2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 70ch; }
.sec-head__link { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--navy-600); text-decoration: none; white-space: nowrap; }
.sec-head__link::after { content: " →"; }
.sec-head__link:hover { color: var(--red); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0; }
.skip-link:focus { left: 0; }

/* --- 4. Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: .95rem; line-height: 1;
  padding: 13px 22px; border-radius: var(--r);
  text-decoration: none; text-align: center; white-space: nowrap;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.btn:active { transform: translateY(1px); }

.btn--cta {
  background: var(--red); color: #fff; box-shadow: var(--sh-red);
  text-transform: uppercase; letter-spacing: .03em;
}
.btn--cta:hover { background: var(--red-600); color: #fff; box-shadow: 0 6px 20px rgba(230, 57, 70, .40); transform: translateY(-1px); }

.btn--lg { padding: 17px 34px; font-size: 1.05rem; border-radius: var(--r-lg); }
.btn--sm { padding: 9px 15px; font-size: .84rem; }
.btn--block { display: flex; width: 100%; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }

.btn--ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--navy-400); color: var(--navy); background: var(--navy-50); }

/* --- 5. En-tête ---------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.site-head__bar { display: flex; align-items: center; gap: 14px; height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand__mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 900; font-size: 1.04rem; letter-spacing: -.02em; }
.brand__sub { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: #a9c0e0; font-weight: 600; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav a {
  display: block; padding: 9px 13px; border-radius: var(--r-sm);
  color: #d9e4f3; text-decoration: none; font-weight: 600; font-size: .93rem;
  transition: background-color .14s ease, color .14s ease;
}
.nav a:hover, .nav .current-menu-item > a { background: rgba(255, 255, 255, .12); color: #fff; }

.head-cta { flex-shrink: 0; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); color: #fff; align-items: center; justify-content: center; margin-left: auto; }
.nav-toggle:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; margin: 0;
    background: var(--navy); padding: 16px var(--gut) 40px;
    overflow-y: auto;
    transform: translateX(100%); transition: transform .22s ease;
    visibility: hidden;
  }
  .nav[data-open="true"] { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 14px 12px; font-size: 1.02rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
}

/* --- 6. Hero ------------------------------------------------------------- */
.hero {
  background: linear-gradient(170deg, var(--navy-50) 0%, #fff 62%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(32px, 4.5vw, 60px) clamp(28px, 4vw, 48px);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__art { justify-self: center; }
.hero__art img { border-radius: var(--r-xl); }

.hero h1 { margin-bottom: 14px; }
.hero h1 .accent { color: var(--red); }
.hero__lede { font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); color: var(--muted); max-width: 56ch; margin-bottom: 22px; }

.hero__points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__points li { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: .93rem; color: var(--navy-800); }
.hero__points svg { color: var(--green); }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: .8rem; color: var(--faint); margin-top: 14px; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 400px; }
}

/* --- 7. Barre de statistiques -------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 14px; text-align: center; box-shadow: var(--sh-xs);
}
.stat__n { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 900; color: var(--navy); line-height: 1.1; letter-spacing: -.03em; }
.stat__l { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

/* --- 8. Classement des casinos ------------------------------------------- */
.ranking { display: flex; flex-direction: column; gap: 12px; }

.ccard {
  position: relative;
  display: grid;
  grid-template-columns: 54px 180px 1fr auto;
  align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 20px; box-shadow: var(--sh-sm);
  transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease;
}
.ccard:hover { box-shadow: var(--sh); border-color: var(--navy-100); transform: translateY(-2px); }

.ccard--top { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--sh); }
.ccard__crown {
  position: absolute; top: -11px; left: 20px;
  background: var(--gold); color: #3d2600;
  font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 11px; border-radius: var(--r-pill);
}

.ccard__rank { font-size: 1.5rem; font-weight: 900; color: var(--navy-400); text-align: center; letter-spacing: -.04em; }

.ccard__logo { display: flex; align-items: center; justify-content: center; height: 66px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r); padding: 8px; }
.ccard__logo img { max-height: 50px; width: auto; object-fit: contain; }

.ccard__body { min-width: 0; }
.ccard__name { font-size: 1.1rem; font-weight: 800; margin-bottom: 3px; }
.ccard__name a { color: var(--navy-900); text-decoration: none; }
.ccard__name a:hover { color: var(--red); }
.ccard__offer { color: var(--ink); font-size: 1rem; }
.ccard__offer strong { color: var(--red); font-weight: 800; }
.ccard__offer p { margin: 0; }
.ccard__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.ccard__side { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 190px; }
.ccard__tc { font-size: .68rem; color: var(--faint); text-align: center; line-height: 1.4; }
.ccard__review { font-size: .8rem; text-align: center; font-weight: 600; }

@media (max-width: 900px) {
  .ccard { grid-template-columns: 44px 1fr; gap: 12px 14px; padding: 18px 16px; }
  .ccard__logo { grid-column: 2; height: 54px; justify-content: flex-start; background: none; padding: 0; }
  .ccard__body { grid-column: 1 / -1; }
  .ccard__side { grid-column: 1 / -1; min-width: 0; }
}

/* --- 9. Note ------------------------------------------------------------- */
.rating { display: inline-flex; align-items: center; gap: 7px; }
.rating__badge {
  display: inline-flex; align-items: baseline; gap: 1px;
  background: var(--green); color: #fff; font-weight: 900;
  padding: 4px 10px; border-radius: var(--r-sm); font-size: 1rem; line-height: 1;
}
.rating__badge small { font-size: .7rem; font-weight: 700; opacity: .85; }
.rating__badge--mid { background: var(--gold); color: #3d2600; }
.rating__badge--low { background: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }

.rbars { display: grid; gap: 10px; }
.rbar { display: grid; grid-template-columns: 110px 1fr 38px; align-items: center; gap: 12px; font-size: .88rem; }
.rbar__track { height: 8px; background: var(--navy-100); border-radius: var(--r-pill); overflow: hidden; }
.rbar__fill { height: 100%; background: linear-gradient(90deg, var(--navy-600), var(--navy)); border-radius: inherit; }
.rbar__v { font-weight: 800; text-align: right; color: var(--navy); }

/* --- 10. Puces / badges -------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--navy-50); color: var(--navy-800);
  border: 1px solid var(--navy-100); border-radius: var(--r-pill);
  padding: 3px 11px; font-size: .78rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
a.chip:hover { background: var(--navy-100); color: var(--navy-900); }
.chip--red { background: var(--red-50); border-color: #f8ccd1; color: var(--red-700); }
.chip--green { background: var(--green-50); border-color: #c3e6d0; color: var(--green); }

.code {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 700; font-size: .9rem; letter-spacing: .06em;
  background: #fff; border: 1.5px dashed var(--red); color: var(--red-700);
  border-radius: var(--r-sm); padding: 7px 13px;
}
.code button { color: var(--faint); display: inline-flex; }
.code button:hover { color: var(--red); }

/* --- 11. Cartes bonus ---------------------------------------------------- */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.bcard {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--sh-sm);
  transition: box-shadow .16s ease, transform .16s ease;
}
.bcard:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.bcard__top { display: flex; align-items: center; gap: 12px; }
.bcard__logo { width: 52px; height: 52px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-soft); display: grid; place-items: center; padding: 6px; flex-shrink: 0; }
.bcard__logo img { max-height: 40px; width: auto; object-fit: contain; }
.bcard__casino { font-size: .82rem; color: var(--muted); font-weight: 600; }
.bcard__amount { font-size: 1.16rem; font-weight: 900; color: var(--navy-900); line-height: 1.25; }
.bcard__amount strong { color: var(--red); }
.bcard__desc { font-size: .9rem; color: var(--muted); }
.bcard__desc p { margin: 0; }
.bcard__foot { margin-top: auto; display: grid; gap: 8px; }

/* --- 12. Cartes catégorie ------------------------------------------------ */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 16px; text-decoration: none; box-shadow: var(--sh-xs);
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.cat:hover { box-shadow: var(--sh); transform: translateY(-3px); border-color: var(--navy-100); }
.cat img { width: 84px; height: 84px; object-fit: contain; }
.cat__t { font-weight: 800; color: var(--navy-900); font-size: 1rem; }
.cat__n { font-size: .8rem; color: var(--muted); }

/* --- 13. Cartes article -------------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.pcard {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: box-shadow .16s ease, transform .16s ease;
}
.pcard:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.pcard__media { aspect-ratio: 16 / 9; background: var(--navy-50); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__t { font-size: 1.04rem; font-weight: 800; line-height: 1.35; }
.pcard__t a { color: var(--navy-900); text-decoration: none; }
.pcard__t a:hover { color: var(--red); }
.pcard__x { font-size: .89rem; color: var(--muted); }
.pcard__meta { margin-top: auto; padding-top: 6px; font-size: .78rem; color: var(--faint); display: flex; gap: 10px; flex-wrap: wrap; }

/* --- 14. Tableau --------------------------------------------------------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.tbl { min-width: 640px; font-size: .93rem; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl thead th {
  background: var(--navy-50); color: var(--navy-800); font-weight: 800;
  font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--navy-50); }

/* --- 15. Contenu éditorial ----------------------------------------------- */
.prose { font-size: 1.04rem; line-height: 1.75; color: #27303f; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r); }
.prose a { font-weight: 600; }
.prose blockquote {
  border-left: 4px solid var(--red); background: var(--navy-50);
  padding: 14px 20px; border-radius: 0 var(--r) var(--r) 0; color: var(--navy-800);
}
.prose table { font-size: .95rem; }
.prose th, .prose td { padding: 11px 14px; border: 1px solid var(--line); }
.prose thead th { background: var(--navy-50); }

/* --- 16. FAQ ------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0 18px; box-shadow: var(--sh-xs);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 28px 15px 0; position: relative;
  font-weight: 700; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--red); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq__a { padding: 14px 0 17px; color: var(--muted); }
.faq__a > * + * { margin-top: .8em; }

/* --- 17. Fil d'Ariane ---------------------------------------------------- */
.crumbs { padding-block: 14px; font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--navy-900); font-weight: 600; }

/* --- 18. Jeu responsable ------------------------------------------------- */
.rg { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.rg__item h3 { color: #fff; font-size: 1.08rem; margin-bottom: 7px; display: flex; align-items: center; gap: 9px; }
.rg__item p { font-size: .93rem; color: #b9cae0; }
.rg__item svg { color: var(--red); }

/* --- 19. Pied de page ---------------------------------------------------- */
.site-foot { background: var(--navy-900); color: #a9bdd6; padding-block: 44px 0; margin-top: 48px; font-size: .9rem; }
.site-foot__cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; }
.site-foot h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-foot a { color: #a9bdd6; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot__about p { max-width: 42ch; line-height: 1.65; }
.site-foot__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px 30px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: #8299b6; }
.age {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
  border: 2px solid var(--red); color: #fff; border-radius: 50%;
  font-weight: 900; font-size: .82rem;
}
.site-foot__warn { display: flex; align-items: center; gap: 13px; max-width: 62ch; line-height: 1.5; }
@media (max-width: 760px) { .site-foot__cols { grid-template-columns: 1fr 1fr; gap: 26px; } .site-foot__about { grid-column: 1 / -1; } }

/* --- 20. Divers ---------------------------------------------------------- */
.disclosure { font-size: .78rem; color: var(--faint); text-align: center; padding-block: 10px; }
.toc { background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--r-lg); padding: 18px 22px; }
.toc h2 { font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-600); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .94rem; }

.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.pager .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  text-decoration: none; font-weight: 700; color: var(--navy);
}
.pager .page-numbers:hover { border-color: var(--navy-400); }
.pager .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

.notice { background: var(--navy-50); border-left: 4px solid var(--navy-600); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; font-size: .92rem; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}

/* Grille deux colonnes contenu + aside */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.aside { position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 16px; }
.aside__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-xs); }
.aside__box h3 { font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; color: var(--navy-600); margin-bottom: 12px; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }

/* En-tête de fiche casino */
.chead { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-sm); }
.chead__logo { width: 120px; height: 120px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-soft); display: grid; place-items: center; padding: 12px; }
.chead__logo img { max-height: 96px; width: auto; object-fit: contain; }
.chead__cta { display: grid; gap: 8px; min-width: 210px; }
@media (max-width: 820px) { .chead { grid-template-columns: 84px 1fr; } .chead__logo { width: 84px; height: 84px; } .chead__cta { grid-column: 1 / -1; } }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kv__i { background: var(--card); padding: 14px 16px; }
.kv__k { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; }
.kv__v { font-weight: 700; color: var(--navy-900); margin-top: 3px; font-size: .95rem; }

/* --- 21. Garde-fous petits écrans ---------------------------------------- */
@media (max-width: 520px) {
  .btn { white-space: normal; }
  .btn--lg { width: 100%; padding-inline: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__points { flex-direction: column; gap: 6px; }
}

/* --- 22. Colonne latérale : top casinos ---------------------------------- */
.tops { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: none; }
.tops__i {
  display: grid; grid-template-columns: 18px 38px 1fr auto;
  align-items: center; gap: 9px;
  padding: 9px 6px; border-radius: var(--r-sm);
  transition: background-color .14s ease;
}
.tops__i + .tops__i { border-top: 1px solid var(--line-soft); }
.tops__i:hover { background: var(--navy-50); }
.tops__rank { font-weight: 900; color: var(--navy-400); font-size: .95rem; text-align: center; }
.tops__logo { display: grid; place-items: center; width: 38px; height: 38px; background: #fff; border: 1px solid var(--line-soft); border-radius: 7px; padding: 3px; overflow: hidden; }
.tops__logo img { max-height: 30px; width: auto; object-fit: contain; }
.tops__body { min-width: 0; display: grid; gap: 1px; }
.tops__name { font-weight: 700; font-size: .9rem; color: var(--navy-900); text-decoration: none; line-height: 1.25; }
.tops__name:hover { color: var(--red); }
.tops__offer {
  font-size: .76rem; color: var(--muted); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tops .rating__badge { font-size: .82rem; padding: 3px 7px; }
.aside__box--top .rating__badge small { display: none; }

/* --- 23. Casino fermé ---------------------------------------------------- */
.closed-note {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--red-50); border: 1px solid #f6c4c9; border-left: 4px solid var(--red);
  border-radius: var(--r); padding: 15px 18px; margin-bottom: 20px;
}
.closed-note svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.closed-note strong { display: block; color: var(--red-700); margin-bottom: 3px; }
.closed-note p { font-size: .92rem; color: #7d2b33; margin: 0; }
.ccard--closed { opacity: .72; }

/* --- 24. Charger plus ---------------------------------------------------- */
.loadmore { display: flex; justify-content: center; margin-top: 22px; }
.loadmore button[disabled] { opacity: .6; cursor: default; }
.loadmore__done { color: var(--muted); font-size: .9rem; }

/* --- 25. Icônes du menu principal ---------------------------------------- */
.nav a { display: flex; align-items: center; gap: 7px; }
.nav__ic { width: 18px; height: 18px; object-fit: contain; opacity: .92; flex-shrink: 0; }
@media (max-width: 1024px) { .nav__ic { width: 22px; height: 22px; } }

/* --- 26. Partenariat terminé --------------------------------------------- */
.ended-note {
  display: flex; gap: 13px; align-items: flex-start;
  background: #fff8e8; border: 1px solid #f3dca6; border-left: 4px solid var(--gold);
  border-radius: var(--r); padding: 16px 18px; margin-bottom: 20px;
}
.ended-note svg { color: #b57c04; flex-shrink: 0; margin-top: 2px; }
.ended-note strong { display: block; color: #7a5300; margin-bottom: 4px; font-size: 1.02rem; }
.ended-note p { font-size: .92rem; color: #6b4f16; margin: 0; }

/* --- 27. En-tête : tout tenir sur une seule ligne ------------------------ */
.site-head__bar { flex-wrap: nowrap; min-width: 0; }
.brand { min-width: 0; }
.brand__txt { min-width: 0; }
.brand__name, .brand__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { min-width: 0; }
.nav ul { flex-wrap: nowrap; }
.nav a { white-space: nowrap; }

/* Resserrement progressif avant de basculer sur le menu mobile. */
@media (max-width: 1399px) {
  .nav a { padding-inline: 10px; font-size: .9rem; }
}
@media (max-width: 1279px) {
  .brand__sub { display: none; }
  .brand__name { font-size: .98rem; }
  .nav a { padding-inline: 8px; font-size: .86rem; gap: 6px; }
  .nav__ic { width: 16px; height: 16px; }
  .head-cta .btn { padding-inline: 13px; }
}
@media (max-width: 1119px) {
  .head-cta { display: none; }
  .nav a { padding-inline: 9px; font-size: .88rem; }
}

/* ==========================================================================
   28. Listes de casinos insérées par shortcode (plugin Aces)
   Le plugin produit le balisage de l'ancien thème Mercury (space-*).
   On le réhabille ici pour qu'il adopte le design du site.
   ========================================================================== */

.space-shortcode-wrap { margin: 26px 0; }
.space-shortcode-wrap-ins { display: grid; gap: 12px; }

.space-block-title { margin-bottom: 4px; }
.space-block-title span {
  font-size: 1.15rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em;
}
.aside__box .space-block-title span { font-size: .84rem; text-transform: uppercase; letter-spacing: .07em; color: var(--navy-600); }

/* Une entrée = une carte */
[class*="-archive-items"] { display: grid; gap: 12px; }

[class*="-archive-item"][class*="box-100"] > [class*="-archive-item-ins"] { height: 100%; }

[class*="-archive-item-bg"] {
  display: grid;
  grid-template-columns: minmax(130px, 190px) 1fr minmax(170px, 210px);
  align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-sm);
  transition: box-shadow .16s ease, transform .16s ease;
}
[class*="-archive-item-bg"]:hover { box-shadow: var(--sh); transform: translateY(-2px); }

[class*="-archive-item-ins-pd"] { min-width: 0; }

/* Colonne gauche : logo + nom */
[class*="-archive-item-logo-img"] img {
  max-height: 56px; width: auto; margin: 0 auto 8px;
  object-fit: contain; background: #fff; border-radius: var(--r-sm);
}
[class*="-archive-item-logo"] a { font-weight: 800; color: var(--navy-900); text-decoration: none; display: block; text-align: center; font-size: .98rem; line-height: 1.3; }
[class*="-archive-item-logo"] a:hover { color: var(--red); }

/* Colonne centrale : conditions de l'offre */
[class*="-archive-item-terms"] { font-size: .95rem; color: var(--ink); }
[class*="-archive-item-terms"] p { margin: 0 0 3px; }
[class*="-archive-item-terms"] strong { color: var(--red); }
[class*="-archive-item-terms"] ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }

/* Colonne droite : note + boutons */
[class*="-archive-item-buttons"] { display: grid; gap: 8px; }
[class*="-archive-item-buttons-left"],
[class*="-archive-item-buttons-right"] { display: grid; gap: 8px; }

[class*="-archive-item-rating"] {
  font-size: .95rem; color: var(--muted); text-align: center;
}
[class*="-archive-item-rating"] strong {
  display: inline-block; background: var(--green); color: #fff;
  font-weight: 900; padding: 3px 9px; border-radius: var(--r-sm); margin-right: 2px;
}
/* Étoiles décoratives : dépendent de Font Awesome et du CSS Mercury. */
.space-rating-star-wrap { display: none !important; }

[class*="-archive-item-button-one"] a,
[class*="-archive-item-button-two"] a {
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; line-height: 1;
  padding: 12px 16px; border-radius: var(--r);
  text-decoration: none; text-align: center;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
[class*="-archive-item-button-two"] a {
  background: var(--red); color: #fff; box-shadow: var(--sh-red);
  text-transform: uppercase; letter-spacing: .03em;
}
[class*="-archive-item-button-two"] a:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); }
[class*="-archive-item-button-one"] a { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
[class*="-archive-item-button-one"] a:hover { border-color: var(--navy-400); background: var(--navy-50); }

/* Mentions légales sous l'offre */
[class*="-archive-item"] .space-terms,
[class*="-archive-item-notice"] { font-size: .7rem; color: var(--faint); text-align: center; line-height: 1.4; }

/* Variante compacte en colonne latérale */
.aside__box [class*="-archive-item-bg"] {
  grid-template-columns: 46px 1fr; gap: 10px; padding: 11px; border-radius: var(--r);
}
.aside__box [class*="-archive-item-logo-img"] img { max-height: 36px; margin-bottom: 4px; }
.aside__box [class*="-archive-item-logo"] a { font-size: .86rem; text-align: left; }
.aside__box [class*="-archive-item-central"],
.aside__box [class*="-archive-item-terms"] { display: none; }
.aside__box [class*="-archive-item-right"] { grid-column: 1 / -1; }
.aside__box [class*="-archive-item-buttons"] { grid-template-columns: 1fr 1fr; align-items: center; }

@media (max-width: 860px) {
  [class*="-archive-item-bg"] { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  [class*="-archive-item-buttons"] { grid-template-columns: 1fr 1fr; }
}

/* Le CSS du plugin impose des largeurs en pourcentage (box-25, box-50…) et
   des flottants hérités de l'ancienne grille : on les neutralise à l'intérieur
   des blocs que nous remettons en page. */
.space-shortcode-wrap [class*="box-"],
.space-shortcode-wrap .left,
.space-shortcode-wrap .right {
  width: auto !important;
  float: none !important;
}
[class*="-archive-item-bg"] > * { width: 100% !important; min-width: 0; }
.space-shortcode-wrap::after,
[class*="-archive-items"]::after { content: none !important; }

/* Le plugin place le logo et le nom côte à côte, ce qui écrase le nom.
   On les empile verticalement. */
[class*="-archive-item-logo"] {
  display: flex !important; flex-direction: column; align-items: center;
  gap: 8px; width: 100% !important;
}
[class*="-archive-item-logo-img"],
[class*="-archive-item-logo-title"],
[class*="-archive-item-logo-title-wrap"] { width: 100% !important; text-align: center; }
[class*="-archive-item-logo-title"] a { font-size: .95rem; }
.aside__box [class*="-archive-item-logo"] { flex-direction: row; gap: 9px; align-items: center; }
.aside__box [class*="-archive-item-logo-img"] { width: auto !important; flex: 0 0 auto; }
.aside__box [class*="-archive-item-logo-title"] { text-align: left; }

/* --- 29. Widget « dernières revues » (shortcode Mercury) ------------------ */
.space-news-1-items { display: grid; gap: 2px; }

.space-news-1-item { width: 100% !important; }
.space-news-1-item + .space-news-1-item { border-top: 1px solid var(--line-soft); }

.space-news-1-item-ins {
  display: grid; grid-template-columns: 54px 1fr; gap: 11px; align-items: center;
  padding: 10px 6px; border-radius: var(--r-sm);
  transition: background-color .14s ease;
}
.space-news-1-item-ins:hover { background: var(--navy-50); }

.space-news-1-item-img { width: 54px !important; }
.space-news-1-item-img img {
  width: 54px; height: 54px; object-fit: cover;
  border-radius: var(--r-sm); background: var(--navy-50);
}

.space-news-1-item-title-box { width: auto !important; min-width: 0; }
.space-news-1-item-title a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .87rem; font-weight: 700; line-height: 1.32;
  color: var(--navy-900); text-decoration: none;
}
.space-news-1-item-title a:hover { color: var(--red); }
.space-news-1-item-meta { font-size: .73rem; color: var(--faint); margin-top: 3px; }
