/* Institut Cosmo : comparatif des game shows en direct. Thème plateau de télévision (nuit violette, projecteur jaune). */
:root {
  --nuit: #120827;
  --nuit2: #1a0d3a;
  --carte: #21114a;
  --carte2: #2a1660;
  --violet: #3b1d82;
  --violet-c: #5a2fc0;
  --jaune: #ffd23f;
  --jaune-f: #e6b800;
  --rouge: #ff3b5c;
  --cyan: #2de2e6;
  --texte: #efeaff;
  --doux: #c3b9e4;
  --pale: #9d92c4;
  --ligne: rgba(255, 255, 255, .12);
  --ligne-f: rgba(255, 255, 255, .22);
  --clair: #f4f0ff;
  --titre: "Anton", "Impact", "Arial Narrow", sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rayon: 14px;
  --ombre: 0 18px 40px rgba(5, 0, 20, .45);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nuit); color: var(--texte); font-family: var(--corps); font-size: 17px; line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--jaune); }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 2px; }
p { margin: 0 0 1em; }
strong { color: #fff; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; letter-spacing: .01em; line-height: 1.12; color: #fff; }
h2 { text-transform: uppercase; }
h4 { font-family: var(--corps); font-weight: 800; font-size: 1.05rem; color: var(--jaune); margin: 1.6em 0 .5em; letter-spacing: .01em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.colonne { max-width: 1180px; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--jaune); color: var(--nuit); padding: 8px 14px; z-index: 99; border-radius: 6px; }
.evitement:focus { left: 8px; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; font-family: var(--corps); font-weight: 800;
  font-size: .95rem; line-height: 1.2; text-decoration: none; border-radius: 999px; padding: .8em 1.5em; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: center; cursor: pointer;
}
.bouton-jaune { background: var(--jaune); color: var(--nuit); box-shadow: 0 0 0 0 rgba(255, 210, 63, .5), 0 8px 22px rgba(255, 210, 63, .22); }
.bouton-jaune:hover { color: var(--nuit); background: #ffe070; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 210, 63, .35); }
.bouton-contour { border-color: var(--cyan); color: var(--cyan); background: transparent; }
.bouton-contour:hover { background: var(--cyan); color: var(--nuit); }
.bouton-petit { font-size: .85rem; padding: .55em 1.1em; }
.bouton-large { font-size: 1.05rem; padding: .95em 2em; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 50; background: rgba(18, 8, 39, .94); border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--rouge), var(--jaune), var(--cyan)); opacity: .8; }
.entete-l { display: flex; align-items: center; gap: 22px; height: 70px; transition: height .2s ease; }
.entete.compacte .entete-l { height: 58px; }
.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { height: 36px; width: auto; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a {
  color: var(--doux); text-decoration: none; font-weight: 700; font-size: .88rem; padding: 8px 11px; border-radius: 8px;
  text-transform: uppercase; letter-spacing: .04em;
}
.menu a:hover, .menu a.actif { color: var(--nuit); background: var(--jaune); }
.bouton-entete { flex: 0 0 auto; }
.menu-bascule { display: none; }

/* Ouverture */
.ouverture { position: relative; overflow: hidden; padding: 56px 0 36px; background: radial-gradient(ellipse 70% 90% at 82% 30%, #3b1d82 0%, rgba(59, 29, 130, 0) 70%), var(--nuit); border-bottom: 1px solid var(--ligne); }
.projecteurs { position: absolute; inset: 0; pointer-events: none;
  background: conic-gradient(from 200deg at 15% -10%, rgba(255, 210, 63, 0) 0deg, rgba(255, 210, 63, .09) 12deg, rgba(255, 210, 63, 0) 24deg),
              conic-gradient(from 140deg at 92% -10%, rgba(45, 226, 230, 0) 0deg, rgba(45, 226, 230, .08) 14deg, rgba(45, 226, 230, 0) 28deg); }
.ouverture-grille { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: center; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .14em; font-size: .78rem; color: var(--cyan); margin-bottom: 18px; }
.point-rouge { width: 10px; height: 10px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(255, 59, 92, .25); animation: clignote 1.6s infinite; }
@keyframes clignote { 50% { opacity: .35; } }
.ouverture h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); text-transform: uppercase; margin: 0 0 22px; }
.ouverture h1 em { font-style: normal; color: var(--jaune); }
.chapo { font-size: 1.08rem; color: var(--doux); max-width: 64ch; }
.maj { font-size: .85rem; color: var(--pale); font-weight: 600; margin: 0; }
.sep { color: var(--rouge); margin: 0 4px; }
.ouverture-scene { display: flex; justify-content: center; }
.plateau { width: 100%; max-width: 330px; height: auto; filter: drop-shadow(0 20px 50px rgba(255, 210, 63, .18)); }
.tourne-lent { transform-origin: 150px 150px; animation: rotation 60s linear infinite; }
.ampoule { fill: #fff; }
.ampoule.a2 { fill: var(--jaune); animation: clignote 1.2s infinite; }
@keyframes rotation { to { transform: rotate(360deg); } }
.reperes { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.reperes li { background: linear-gradient(180deg, var(--carte2), var(--carte)); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; display: flex; flex-direction: column; }
.reperes strong { font-family: var(--titre); font-weight: 400; font-size: 2.1rem; color: var(--jaune); line-height: 1; margin-bottom: 6px; }
.rp-lib { font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; color: #fff; }
.rp-sous { font-size: .85rem; color: var(--doux); }
@media (prefers-reduced-motion: reduce) { .tourne-lent, .tourne, .point-rouge, .ampoule.a2 { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.sec { padding: 64px 0 8px; }
.sec > h2 { position: relative; font-size: clamp(1.75rem, 3.2vw, 2.55rem); margin: 0 0 26px; padding-top: 34px; }
.sec > h2::before {
  content: "Séquence " attr(data-n); position: absolute; top: 0; left: 0; font-family: var(--corps); font-size: .72rem; font-weight: 800;
  letter-spacing: .16em; color: var(--nuit); background: var(--cyan); padding: 4px 10px; border-radius: 4px; text-transform: uppercase;
}
.sec h3 { font-size: 1.5rem; margin: 1.6em 0 .55em; }
.colonne > .sec > p, .colonne > .sec > ul, .colonne > .sec > ol, .colonne > .sec > h3, .colonne > .sec > h4, .colonne > .sec > dl { max-width: 820px; }
.sec ul, .sec ol { padding-left: 1.3em; }
.sec li { margin-bottom: .35em; }
.sec li::marker { color: var(--jaune); }
.intro-sec { font-size: 1.07rem; color: var(--doux); max-width: 860px; }
.mention { font-size: .85rem; color: var(--pale); border-left: 3px solid var(--rouge); padding-left: 12px; }
.provisoire { background: #4a1020; border: 2px dashed var(--rouge); padding: 14px; border-radius: 8px; }

/* Classement : écrans de télévision */
.ecrans { list-style: none; padding: 0 !important; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.ecran {
  position: relative; background: linear-gradient(170deg, #2b1663 0%, var(--carte) 55%, #180b36 100%); border-radius: 22px;
  border: 3px solid #3d2386; box-shadow: var(--ombre), inset 0 0 0 6px rgba(0, 0, 0, .25); padding: 0 0 18px; margin: 0 !important;
  display: flex; flex-direction: column; overflow: hidden;
}
.ecran.premier { border-color: var(--jaune); box-shadow: 0 0 0 4px rgba(255, 210, 63, .18), var(--ombre); }
.ecran::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px); }
.e-bandeau { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; background: rgba(0, 0, 0, .35); border-bottom: 1px solid var(--ligne); }
.e-direct { display: inline-flex; align-items: center; gap: 8px; background: var(--rouge); color: #fff; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; padding: 4px 10px 4px 8px; border-radius: 4px; }
.e-direct::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: clignote 1.4s infinite; }
.e-canal { font-family: var(--titre); color: var(--jaune); font-size: 1.15rem; letter-spacing: .06em; }
.ecran::before { content: attr(data-rang); position: absolute; right: 16px; top: 52px; font-family: var(--titre); font-size: 5.2rem; line-height: 1; color: rgba(255, 255, 255, .06); pointer-events: none; }
.e-plateau { display: flex; align-items: center; gap: 14px; padding: 18px 18px 6px; }
.roue-deco { flex: 0 0 auto; }
.tourne { transform-origin: 30px 30px; animation: rotation 24s linear infinite; }
.e-ident { flex: 1 1 auto; min-width: 0; }
.e-ident h3 { font-size: 1.55rem; margin: 8px 0 2px; text-transform: uppercase; }
.e-etiquette { margin: 0; font-size: .86rem; font-weight: 700; color: var(--cyan); }
.e-pour { padding: 0 18px; margin: 6px 0 12px; color: var(--doux); font-size: .93rem; }
.plaque { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 7px 12px; height: 46px; min-width: 104px; border: 1px solid var(--ligne-f); }
.plaque img { max-height: 30px; width: auto; max-width: 120px; }
.p-fonce { background: #0c0520; }
.p-clair { background: var(--clair); }
.plaque.mini { height: 34px; min-width: 70px; padding: 4px 8px; }
.plaque.mini img { max-height: 22px; max-width: 76px; }
.plaque.moyen { height: 54px; min-width: 130px; }
.plaque.moyen img { max-height: 36px; max-width: 140px; }
.note10 { flex: 0 0 auto; display: flex; align-items: baseline; gap: 2px; background: var(--jaune); color: var(--nuit); border-radius: 12px; padding: 8px 10px; box-shadow: 0 6px 18px rgba(255, 210, 63, .25); }
.n-val { font-family: var(--titre); font-size: 1.7rem; line-height: 1; }
.n-sur { font-weight: 800; font-size: .8rem; }
.note10.grand { padding: 10px 14px; }
.note10.grand .n-val { font-size: 2.4rem; }
.e-chiffres { margin: 0 18px 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.e-chiffres > div { background: rgba(0, 0, 0, .28); border: 1px solid var(--ligne); border-radius: 10px; padding: 9px 10px; min-width: 0; }
.e-chiffres dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pale); font-weight: 700; }
.e-chiffres dd { margin: 2px 0 0; display: flex; flex-direction: column; }
.e-chiffres strong { font-size: 1.02rem; color: #fff; }
.e-chiffres span { font-size: .8rem; color: var(--doux); }
.non-publie { color: var(--doux) !important; font-weight: 700; font-style: italic; }
.e-actions { margin-top: auto; padding: 0 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lien-avis { font-weight: 700; font-size: .92rem; }

/* Sommaire */
.sommaire { margin: 30px 0 10px; background: var(--nuit2); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px 24px; }
.som-titre { font-family: var(--titre); text-transform: uppercase; font-size: 1.3rem; color: var(--jaune); margin: 0 0 10px; }
.sommaire ol { margin: 0; padding: 0; list-style: none; columns: 3; column-gap: 26px; counter-reset: som; }
.sommaire li { break-inside: avoid; counter-increment: som; padding: 3px 0; }
.sommaire li::before { content: counter(som, decimal-leading-zero); font-family: var(--titre); color: var(--rouge); margin-right: 8px; }
.sommaire a { color: var(--texte); text-decoration: none; font-size: .93rem; }
.sommaire a:hover, .sommaire a.actif { color: var(--jaune); }

/* Tableaux */
.defile { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; margin: 18px 0; border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--ligne); }
thead th { background: var(--violet); color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
table.comparatif { min-width: 1080px; background: var(--nuit2); }
table.comparatif tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .025); }
table.comparatif tbody tr:first-child { background: rgba(255, 210, 63, .08); }
.t-rang { font-family: var(--titre); font-size: 1.4rem; color: var(--jaune); }
.t-casino { display: flex; flex-direction: column; gap: 6px; font-weight: 800; color: #fff; }
.t-direct { color: var(--cyan); font-size: .86rem; max-width: 220px; }
.t-note { font-family: var(--titre); font-size: 1.35rem; color: var(--jaune); white-space: nowrap; }
.t-note small { font-family: var(--corps); font-size: .7rem; color: var(--doux); }
td.av { color: var(--doux); font-style: italic; }
.astuce-defile { display: none; font-size: .82rem; color: var(--pale); }
table.cmp, table.caract { background: var(--nuit2); }
table.cmp tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
table.cmp th[scope="row"], table.cmp tbody th { color: #fff; }
table.caract caption { caption-side: top; text-align: left; font-family: var(--titre); text-transform: uppercase; color: var(--jaune); font-size: 1.1rem; padding: 0 0 8px; }
table.caract th { width: 42%; color: var(--doux); font-weight: 700; }

/* Outils */
.outil { margin: 34px 0 20px; border: 2px solid var(--cyan); border-radius: 18px; background: linear-gradient(180deg, #1c0e42, #150a32); box-shadow: 0 0 0 6px rgba(45, 226, 230, .07), var(--ombre); overflow: hidden; }
.outil-tete { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px 16px; background: rgba(45, 226, 230, .07); border-bottom: 1px solid var(--ligne); }
.outil-num { flex: 0 0 auto; margin: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rouge); color: #fff; font-family: var(--titre); font-size: 1.7rem; }
.outil-tete h3 { margin: 2px 0 6px !important; font-size: 1.45rem; }
.outil-tete p { margin: 0; color: var(--doux); font-size: .95rem; }
.outil-corps { padding: 20px 24px 22px; }
.champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.champs.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.champs.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.champs > div { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.champs label { font-size: .82rem; font-weight: 700; color: var(--doux); margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
input[type="number"], select {
  width: 100%; font: inherit; font-weight: 700; color: #fff; background: #0d0622; border: 1px solid var(--ligne-f); border-radius: 10px;
  padding: 10px 12px; min-height: 44px;
}
input[type="number"]:focus, select:focus { border-color: var(--jaune); outline: none; box-shadow: 0 0 0 3px rgba(255, 210, 63, .25); }
fieldset.repartition { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; }
fieldset.repartition legend { font-family: var(--titre); text-transform: uppercase; color: var(--jaune); font-size: 1.05rem; padding: 0; margin-bottom: 10px; }
.petit { font-size: .8rem; color: var(--pale); margin: 16px 0 0; line-height: 1.55; }
.resultat { min-height: 60px; }
.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.tuile { background: rgba(0, 0, 0, .3); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 13px; min-width: 0; display: flex; flex-direction: column; }
.tuile small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--pale); }
.tuile strong { font-family: var(--titre); font-weight: 400; font-size: 1.6rem; line-height: 1.15; color: var(--jaune); overflow-wrap: anywhere; }
.tuile span { font-size: .8rem; color: var(--doux); }
.tuile.forte { border-color: var(--jaune); background: rgba(255, 210, 63, .09); }
.tuile.rouge strong { color: var(--rouge); }
.tuile.cyan strong { color: var(--cyan); }
.verdict { background: rgba(45, 226, 230, .09); border-left: 4px solid var(--cyan); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 0 0 12px; font-size: .95rem; }
.alerte { background: rgba(255, 59, 92, .12); border-left: 4px solid var(--rouge); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 0 0 12px; font-size: .95rem; }
.resultat table { font-size: .86rem; }
.resultat tbody tr.choisi { background: rgba(255, 210, 63, .12); }
.roue-grille { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: center; margin-bottom: 14px; }
.roue-visuel svg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
table.segments { background: rgba(0, 0, 0, .2); }
table.segments th, table.segments td { padding: 6px 10px; vertical-align: middle; }
table.segments input { min-height: 38px; padding: 6px 8px; max-width: 96px; }
table.segments th[scope="row"] { display: flex; align-items: center; gap: 8px; color: #fff; }
.pastille { display: inline-block; width: 14px; height: 14px; border-radius: 4px; flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, .4); }
.s-1 { background: #8f86b8; } .s-2 { background: var(--cyan); } .s-5 { background: var(--violet-c); } .s-10 { background: var(--rouge); }
.s-20 { background: #ff9a3c; } .s-40 { background: var(--jaune); } .s-bonus { background: #fff; }
.frise { position: relative; height: 34px; border-radius: 8px; background: linear-gradient(90deg, var(--violet), var(--violet-c)); margin: 6px 0 26px; }
.frise i { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--jaune); border-radius: 2px; }
.frise b { position: absolute; top: 38px; transform: translateX(-50%); font-size: .7rem; color: var(--doux); font-weight: 700; white-space: nowrap; }
.barres-couv { display: flex; height: 26px; border-radius: 8px; overflow: hidden; margin: 4px 0 6px; }
.barres-couv span { display: block; height: 100%; }
.legende { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--doux); margin-bottom: 12px; }
.legende span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--c); }

/* Fiches */
.fiche { margin: 30px 0 38px; background: var(--nuit2); border: 1px solid var(--ligne); border-radius: 20px; overflow: hidden; box-shadow: var(--ombre); }
.fiche-tete { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; background: linear-gradient(90deg, #2b1663, #1d0f43); border-bottom: 3px solid var(--jaune); }
.f-gauche { display: flex; align-items: center; gap: 16px; min-width: 0; }
.f-ident { display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
.f-nom { margin: 0; font-family: var(--titre); text-transform: uppercase; font-size: 1.35rem; color: #fff; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.f-rang { background: var(--rouge); color: #fff; font-size: .9rem; padding: 2px 8px; border-radius: 4px; }
.f-etiquette { margin: 0; color: var(--cyan); font-weight: 700; font-size: .9rem; }
.fiche-corps { padding: 6px 24px 24px; }
.fiche-corps > h3 { font-size: 1.6rem; margin: .8em 0 .4em; }
.resume { font-size: 1.05rem; color: var(--doux); }
.f-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.f-chiffres > div { background: rgba(0, 0, 0, .3); border: 1px solid var(--ligne); border-top: 3px solid var(--cyan); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.f-chiffres small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pale); font-weight: 700; }
.f-chiffres strong { font-size: 1.05rem; }
.plusmoins { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.plusmoins > div { border-radius: 12px; padding: 14px 18px; border: 1px solid var(--ligne); }
.plus { background: rgba(45, 226, 230, .07); }
.moins { background: rgba(255, 59, 92, .08); }
.pm-titre { font-family: var(--titre); text-transform: uppercase; margin: 0 0 6px; font-size: 1.05rem; }
.plus .pm-titre { color: var(--cyan); }
.moins .pm-titre { color: var(--rouge); }
.plusmoins ul { margin: 0; padding-left: 1.1em; font-size: .93rem; }
.plus li::marker { content: "+  "; color: var(--cyan); font-weight: 800; }
.moins li::marker { content: "\2212  "; color: var(--rouge); font-weight: 800; }
.f-donnees { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; margin: 10px 0 8px; }
.f-donnees .defile { margin: 0; }
.criteres { background: rgba(0, 0, 0, .25); border: 1px solid var(--ligne); border-radius: 12px; padding: 14px 16px; }
.cr-titre { font-family: var(--titre); text-transform: uppercase; color: var(--jaune); margin: 0 0 10px; font-size: 1.1rem; }
.criteres ul { list-style: none; margin: 0; padding: 0; }
.criteres li { display: grid; grid-template-columns: 118px minmax(0, 1fr) 34px; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 8px; }
.cr-lib small { color: var(--pale); }
.cr-barre { height: 9px; background: rgba(255, 255, 255, .1); border-radius: 5px; overflow: hidden; }
.cr-barre i { display: block; height: 100%; background: linear-gradient(90deg, var(--rouge), var(--jaune)); border-radius: 5px; }
.cr-val { font-weight: 800; text-align: right; color: #fff; }
.corps { margin-top: 8px; }
.fiche-appel, .appel { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 20px 0 6px; }
.appel small, .fiche-appel small { color: var(--pale); font-size: .76rem; }
a.lien-casino { font-weight: 700; }

/* Classes du contrat de contenu */
.note, .encart { border-radius: 12px; padding: 16px 20px; margin: 20px 0; max-width: 860px; }
.note { background: rgba(45, 226, 230, .08); border: 1px solid rgba(45, 226, 230, .35); }
.encart { background: rgba(255, 210, 63, .08); border: 1px solid rgba(255, 210, 63, .4); }
.note > :last-child, .encart > :last-child { margin-bottom: 0; }
ol.etapes { list-style: none; counter-reset: et; padding: 0 !important; margin: 20px 0; max-width: 860px; }
ol.etapes > li { counter-increment: et; position: relative; padding: 4px 0 12px 54px; margin: 0; }
ol.etapes > li::before { content: counter(et); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--jaune); color: var(--nuit); font-family: var(--titre); font-size: 1.2rem; }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.chiffres > div { background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; }
.chiffres small { font-size: .82rem; color: var(--doux); }
.chiffres strong { font-family: var(--titre); font-weight: 400; font-size: 1.75rem; color: var(--jaune); line-height: 1.1; overflow-wrap: anywhere; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.duo > div { background: var(--nuit2); border: 1px solid var(--ligne); border-top: 3px solid var(--violet-c); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.duo > div:nth-child(2) { border-top-color: var(--rouge); }
.duo > div > :last-child { margin-bottom: 0; }
dl { margin: 18px 0; }
.sec dl:not(.e-chiffres) dt { font-weight: 800; color: var(--jaune); margin-top: 10px; }
.sec dl:not(.e-chiffres) dd { margin: 2px 0 0 0; padding-left: 14px; border-left: 2px solid var(--violet-c); color: var(--texte); }
figure { margin: 22px 0; }
figure.visuel img { border-radius: 12px; border: 1px solid var(--ligne); }
figure.visuel.etroit img { max-width: 420px; }
figure.logo-seul { display: inline-flex; background: var(--clair); border-radius: 12px; padding: 14px 22px; }
figure.logo-seul img { max-height: 60px; width: auto; border: 0; border-radius: 0; }
figure.logo-seul.sombre { background: #0c0520; border: 1px solid var(--ligne); }
.galerie { display: grid; gap: 12px; margin: 22px 0; }
.galerie.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.galerie.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.galerie.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.galerie.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.galerie.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.galerie figure { margin: 0; min-width: 0; }
.galerie img { width: 100%; border-radius: 10px; border: 1px solid var(--ligne); }
.galerie.logos figure { background: var(--clair); border-radius: 10px; display: grid; place-items: center; padding: 12px; min-height: 74px; }
.galerie.logos figure.sombre { background: #0c0520; border: 1px solid var(--ligne); }
.galerie.logos img { width: auto; max-height: 40px; max-width: 100%; border: 0; border-radius: 0; }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border: 1px solid var(--ligne); border-radius: 12px; margin-bottom: 10px; background: var(--nuit2); }
.faq details[open] { border-color: var(--jaune); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0 !important; font-family: var(--corps); font-weight: 700; font-size: 1.02rem; color: #fff; line-height: 1.4; }
.signe { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--violet); position: relative; }
.signe::before, .signe::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; background: var(--jaune); transition: transform .2s; }
.signe::after { transform: rotate(90deg); }
.faq details[open] .signe::after { transform: rotate(0); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--doux); }

/* Jeu responsable et rédaction */
.jr { display: flex; gap: 22px; align-items: flex-start; background: linear-gradient(135deg, rgba(255, 59, 92, .14), rgba(59, 29, 130, .3)); border: 2px solid var(--rouge); border-radius: 18px; padding: 22px 24px; max-width: 900px; }
.jr-age { flex: 0 0 auto; margin: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--rouge); color: #fff; font-family: var(--titre); font-size: 1.9rem; }
.jr-texte > :last-child { margin-bottom: 0; }
.jr-tel { font-family: var(--titre); font-size: 1.7rem; color: var(--jaune); text-decoration: none; letter-spacing: .03em; }
.redaction { max-width: 900px; }
.liens-pages { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

/* Pied de page */
.pied { margin-top: 70px; background: #0b0419; border-top: 1px solid var(--ligne); padding: 46px 0 110px; font-size: .9rem; color: var(--doux); }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.pied .logo img { height: 32px; margin-bottom: 14px; }
.pied .titre { font-family: var(--titre); text-transform: uppercase; color: #fff; font-size: 1.05rem; margin: 0 0 10px; }
.pied ul { list-style: none; padding: 0; margin: 0 0 16px; }
.pied li { margin-bottom: 5px; }
.pied a { color: var(--doux); text-decoration: none; }
.pied a:hover { color: var(--jaune); }
.rg-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.rg-logos img, .rg-rangee img { height: 34px; width: auto; background: var(--clair); border-radius: 6px; padding: 4px 8px; }
.legal { border-top: 1px solid var(--ligne); margin-top: 26px; padding-top: 18px; font-size: .8rem; color: var(--pale); overflow-wrap: anywhere; }
.pied p { overflow-wrap: anywhere; }

/* Barre mobile */
.barre { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; background: rgba(29, 15, 64, .97); border: 2px solid var(--jaune); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .25s ease; }
.barre.visible { transform: none; }
.barre .txt { font-weight: 800; font-size: .9rem; color: #fff; line-height: 1.3; min-width: 0; }
.barre small { display: block; font-weight: 500; font-size: .74rem; color: var(--doux); }

/* Pages secondaires */
.page { padding: 40px 0 10px; }
.etroite { max-width: 820px; }
.fil { display: flex; gap: 8px; font-size: .82rem; color: var(--pale); margin-bottom: 20px; }
.fil span + span::before { content: "/"; margin-right: 8px; color: var(--rouge); }
.page h1 { font-size: clamp(2rem, 4.4vw, 3rem); text-transform: uppercase; margin: 0 0 22px; }
.page h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.page ul { padding-left: 1.3em; }
.page li::marker { color: var(--jaune); }
.adresse { font-size: 1.3rem; font-weight: 800; }
.rg-rangee { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 18px; }
.retour { margin-top: 34px; }

/* Adaptation */
@media (max-width: 1100px) {
  .menu a { padding: 8px 8px; font-size: .8rem; }
  .ouverture-grille { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 960px) {
  .menu-bascule { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 44px; margin-left: 10px; background: var(--violet); border: 0; border-radius: 10px; cursor: pointer; padding: 0 12px; }
  .menu-bascule span:not(.sr) { display: block; height: 2px; background: var(--jaune); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-ouvert .menu-bascule span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-ouvert .menu-bascule span:nth-child(2) { opacity: 0; }
  .menu-ouvert .menu-bascule span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { position: fixed; left: 0; right: 0; top: 58px; flex-direction: column; gap: 0; background: var(--nuit2); border-bottom: 2px solid var(--jaune); padding: 8px 16px 16px; transform: translateY(-130%); transition: transform .25s ease; margin: 0; visibility: hidden; }
  .menu a { font-size: .95rem; padding: 12px 10px; border-bottom: 1px solid var(--ligne); }
  .menu-ouvert .menu { transform: none; visibility: visible; }
  .bouton-entete { margin-left: auto; }
  .ouverture-grille { grid-template-columns: minmax(0, 1fr); }
  .ouverture-scene { display: none; }
  .reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecrans { grid-template-columns: minmax(0, 1fr); }
  .sommaire ol { columns: 2; }
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-donnees { grid-template-columns: minmax(0, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .barre { display: flex; }
  .astuce-defile { display: block; }
  .roue-grille { grid-template-columns: minmax(0, 1fr); }
  .roue-visuel { order: -1; }
  .roue-visuel svg { max-width: 210px; }
  fieldset.repartition { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .entete-l { height: 60px; gap: 8px; }
  .logo img { height: 26px; }
  .bouton-entete { font-size: .74rem; padding: .5em .8em; }
  .menu { top: 58px; }
  .ouverture { padding: 34px 0 26px; }
  .chapo { font-size: 1rem; }
  .reperes { gap: 10px; }
  .reperes li { padding: 12px 13px; }
  .reperes strong { font-size: 1.7rem; }
  .sec { padding-top: 46px; }
  .sec h3 { font-size: 1.3rem; }
  .e-plateau { flex-wrap: wrap; }
  .e-plateau .roue-deco { width: 46px; height: 46px; }
  .e-ident h3 { font-size: 1.35rem; }
  .e-chiffres { grid-template-columns: 1fr 1fr; }
  .e-chiffres > div:last-child { grid-column: 1 / -1; }
  .e-actions .bouton { flex: 1 1 auto; }
  .sommaire { padding: 16px 18px; }
  .sommaire ol { columns: 1; }
  .champs, .champs.deux, .champs.trois { grid-template-columns: 1fr 1fr; }
  .champs.trois > div:first-child { grid-column: 1 / -1; }
  .outil-tete { padding: 18px 16px 14px; gap: 12px; }
  .outil-num { width: 40px; height: 40px; font-size: 1.3rem; }
  .outil-tete h3 { font-size: 1.22rem; }
  .outil-corps { padding: 16px; }
  .tuile strong { font-size: 1.3rem; }
  .fiche-tete { flex-direction: column; align-items: flex-start; padding: 16px; }
  .fiche-tete .roue-deco { display: none; }
  .fiche-corps { padding: 4px 16px 18px; }
  .f-chiffres { grid-template-columns: 1fr 1fr; }
  .plusmoins, .duo { grid-template-columns: 1fr; }
  .criteres li { grid-template-columns: 104px minmax(0, 1fr) 30px; }
  .galerie.g4, .galerie.g5, .galerie.g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galerie.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr { flex-direction: column; padding: 18px; }
  .jr-age { width: 60px; height: 60px; font-size: 1.5rem; }
  .pied-grille { grid-template-columns: 1fr; }
  .bouton-large { width: 100%; }
}
