/* ==========================================================
   Lizaro en ligne — feuille de style unique
   Palette : chocolat foncé + orange brûlé + blanc
   Aucun dégradé, aucune police externe : performance maximale
   ========================================================== */

:root {
  --bg: #24150c;
  --bg-2: #2e1d11;
  --bg-3: #1a0f08;
  --panel: #341f12;
  --line: #4a3322;
  --line-soft: #3b2617;
  --accent: #b15e12;
  --accent-hi: #d2761d;
  --text: #ffffff;
  --muted: #cbb9a8;
  --muted-2: #a8927e;
  --ok: #4e9a51;
  --warn: #c9502f;
  --radius: 10px;
  --radius-s: 6px;
  --wrap: 1240px;
  --header-h: 62px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-hi);
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  margin: 0 0 14px;
  text-wrap: balance;
}

h1 {
  font-size: 34px;
  letter-spacing: 0.4px;
}

h2 {
  font-size: 27px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 14px;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.hdr__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand img {
  width: 104px;
  height: auto;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--accent);
}

/* ---------- CTA (spans encodés) ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  border-radius: var(--radius-s);
  padding: 0 22px;
  height: 46px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}

.cta:hover {
  background: var(--accent-hi);
  box-shadow: 0 3px 18px rgba(210, 118, 29, 0.42);
}

.cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.cta--sm {
  height: 38px;
  font-size: 14px;
  padding: 0 16px;
}

.cta--lg {
  height: 56px;
  font-size: 19px;
  padding: 0 34px;
}

.cta--block {
  width: 100%;
  max-width: 340px;
}

.cta--ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
  font-weight: 600;
}

.cta--ghost:hover {
  background: rgba(177, 94, 18, 0.2);
  box-shadow: none;
}

/* barre CTA fixe : garantit un bouton visible sur chaque écran PC */
.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
  display: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}

.sticky-cta.is-on {
  display: inline-flex;
}

/* ---------- Burger ---------- */
.burger {
  display: none;
  width: 42px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  cursor: pointer;
  padding: 9px 8px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--line-soft);
  padding: 34px 0 30px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.hero__lead {
  font-size: 19px;
  color: #f4ece5;
}

.hero__answer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.hero__meta li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--muted);
}

.hero__meta b {
  color: #fff;
}

.hero__media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__note {
  font-size: 13.5px;
  color: var(--muted-2);
  margin: 12px 0 0;
}

/* ---------- Sommaire (accordéon) ---------- */
.toc {
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}

.toc__btn {
  width: 100%;
  background: var(--panel);
  color: #fff;
  border: 0;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.toc__btn::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--accent-hi);
}

.toc__btn[aria-expanded="true"]::after {
  content: "–";
}

.toc__body {
  padding: 6px 18px 16px;
}

.toc__body[hidden] {
  display: none;
}

.toc__list {
  columns: 2;
  column-gap: 34px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.toc__list li {
  margin: 7px 0;
  break-inside: avoid;
}

.toc__list a {
  color: #f0e6dd;
  text-decoration: none;
  font-size: 15.5px;
}

.toc__list a:hover {
  color: var(--accent-hi);
  text-decoration: underline;
}

/* ---------- Sections ---------- */
section {
  padding: 34px 0 6px;
  scroll-margin-top: 74px;
}

.lead-answer {
  font-size: 18.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(177, 94, 18, 0.14);
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}

.split--rev {
  grid-template-columns: 320px 1fr;
}

/* Sans min-width:0, un tableau large refuse de se comprimer et déborde de la page */
.split > * {
  min-width: 0;
}

.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}

.figure figcaption {
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--muted-2);
  border-top: 1px solid var(--line-soft);
}

/* ---------- Cartes ---------- */
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 18px 0 6px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__ico {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.card--num {
  position: relative;
  padding-left: 58px;
}

.card__n {
  position: absolute;
  left: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Tableaux ---------- */
.tw {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 18px 0;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15.5px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line-soft);
}

th,
td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

thead th {
  background: var(--bg-3);
  color: #fff;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

tbody th {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

td b {
  color: #fff;
}

.t-ok {
  color: #7dc47f;
  font-weight: 700;
}

.t-no {
  color: #e07f63;
  font-weight: 700;
}

.scroll-hint {
  font-size: 13px;
  color: var(--muted-2);
  margin: -8px 0 16px;
}

/* ---------- Bannières bonus ---------- */
.banner {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 26px 0;
}

.banner__img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
}

.banner__txt {
  padding: 16px 0;
}

.banner__kick {
  font-size: 13px;
  color: var(--accent-hi);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.banner__big {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}

.banner__sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.banner__act {
  padding: 16px 20px 16px 0;
}

.banner--wide {
  grid-template-columns: 1fr;
  text-align: center;
  padding-bottom: 22px;
}

.banner--wide .banner__img {
  min-height: 0;
  max-height: 210px;
}

.banner--wide .banner__txt {
  padding: 18px 20px 0;
}

.banner--wide .banner__act {
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.banner__terms {
  font-size: 12.5px;
  color: var(--muted-2);
  padding: 0 20px 14px;
  margin: 8px 0 0;
  grid-column: 1 / -1;
}

/* ---------- Grille de jeux ---------- */
.gtabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: #0d0906;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 8px;
  margin: 18px 0 16px;
}

.gtab {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.gtab[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
}

.games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.game {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.game__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-3);
}

.game__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game__ov {
  position: absolute;
  inset: 0;
  background: rgba(20, 11, 5, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.game__body {
  padding: 10px 12px 12px;
}

.game__name {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.game__prov {
  font-size: 12.5px;
  color: var(--muted-2);
  margin: 2px 0 0;
}

@media (hover: hover) and (min-width: 1025px) {
  .game:hover .game__ov,
  .game:focus-within .game__ov {
    opacity: 1;
  }
}

/* ---------- Bandes de logos ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.strip__i {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 14px 10px 10px;
  text-align: center;
}

/* Les logos de marque arrivent soit en encre claire, soit en encre sombre.
   Ceux à encre claire restent sur la tuile chocolat ; les autres reçoivent
   une plaque crème, sinon leur tracé noir disparaît sur le fond sombre. */
.strip__i img {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0 0 9px;
  padding: 6px 10px;
  box-sizing: border-box;
  object-fit: contain;
}

.strip__i img.is-inked {
  background: #f4ece1;
  border-radius: var(--radius-s);
  padding: 8px 12px;
}

.strip__i span {
  font-size: 12.5px;
  color: var(--muted-2);
  display: block;
}

/* ---------- Listes ---------- */
.plain {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.plain li {
  position: relative;
  padding: 0 0 0 24px;
  margin: 9px 0;
}

.plain li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

.box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg-2);
}

.box--ok {
  border-color: rgba(78, 154, 81, 0.5);
}

.box--no {
  border-color: rgba(201, 80, 47, 0.5);
}

.box h3 {
  margin-top: 0;
}

/* ---------- Avis ---------- */
.reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 18px 0;
}

.rev {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.rev__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rev__top img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.rev__name {
  font-weight: 700;
  font-size: 15.5px;
}

.rev__date {
  font-size: 12.5px;
  color: var(--muted-2);
}

.rev__stars {
  color: var(--accent-hi);
  letter-spacing: 2px;
  font-size: 14px;
}

.rev p {
  margin: 0;
  font-size: 15.5px;
  color: #efe4da;
}

/* ---------- FAQ ---------- */
.faq {
  margin: 18px 0;
}

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 0 16px;
}

.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent-hi);
  font-size: 21px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details > p {
  margin: 0 0 14px;
  color: #ece1d8;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.ftr {
  margin-top: 40px;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  padding: 30px 0 22px;
}

.ftr__grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 26px;
}

.ftr img.ftr__logo {
  width: 130px;
  margin-bottom: 12px;
}

.ftr h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 10px;
  color: var(--muted);
}

.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ftr li {
  margin: 7px 0;
}

.ftr a {
  color: #e8ded6;
  text-decoration: none;
  font-size: 14.5px;
}

.ftr a:hover {
  color: var(--accent-hi);
}

.ftr__warn {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 13.5px;
  color: var(--muted-2);
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--warn);
  border-radius: 50%;
  color: #f0a58e;
  font-weight: 700;
  font-size: 14px;
  margin-right: 12px;
  float: left;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #111214;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 18px 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #22242a;
  }

  .burger {
    display: flex;
  }

  .hero__grid,
  .split,
  .split--rev {
    grid-template-columns: 1fr;
  }

  .split .figure,
  .split--rev .figure {
    max-width: min(380px, 100%);
  }

  .games {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner {
    grid-template-columns: 1fr;
  }

  .banner__img {
    max-height: 180px;
  }

  .banner__txt {
    padding: 16px 18px 0;
  }

  .banner__act {
    padding: 0 18px 18px;
  }

  .sticky-cta {
    display: none !important;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16.5px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 22px;
  }

  .toc__list {
    columns: 1;
  }

  .games {
    grid-template-columns: repeat(2, 1fr);
  }

  .duo {
    grid-template-columns: 1fr;
  }

  .ftr__grid {
    grid-template-columns: 1fr;
  }

  .hero__answer,
  .lead-answer {
    font-size: 17px;
  }

  .banner__big {
    font-size: 21px;
  }

  .mob-cta {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: var(--bg-3);
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    display: block;
  }
}

.mob-cta {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px
  ;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
