/* polices du site, servies localement */
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-400-800-i.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-400-800-i.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-400-800.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-400-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ill-bg: #F8F2E9;
  --ill-surface: #DFEDE7;
  --ill-text: #26190F;
  --ill-muted: #5B4535;
  --ill-accent: #7D3716;
  --ill-accent2: #1F6B5C;
  --ill-sand: #EADCC3;
  --ill-line: #BFA98B;
  --ill-gold: #C9A66B;
  --ill-felt: #14463C;
  --ill-wood: #3A2415;
  --ill-font-display: "Fira Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ill-font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ill-font-mono: "Fira Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ill-bg);
  color: var(--ill-text);
  font-family: var(--ill-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--ill-accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .ill-btn:focus-visible {
  outline: 3px solid var(--ill-accent2);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--ill-font-display);
  color: var(--ill-text);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

/* En-tête */
.ill-header {
  background: var(--ill-bg);
  border-bottom: 2px solid var(--ill-text);
}
.ill-header-in {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}
.ill-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ill-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ill-text);
  text-decoration: none;
}
.ill-brand svg { flex: none; }
.ill-brand-box { fill: var(--ill-accent2); }
.ill-brand-tick { fill: none; stroke: var(--ill-bg); stroke-width: 3; stroke-linecap: square; }
.ill-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
}
.ill-nav a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--ill-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.ill-nav a:hover { border-bottom-color: var(--ill-accent); }

/* Zone principale */
.ill-main { display: block; }
.ill-wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }

/* Premier écran */
.ill-hero {
  max-width: 76rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: stretch;
}
.ill-hero-text { align-self: center; }
.ill-lead { font-size: 1.2rem; color: var(--ill-text); max-width: 38rem; }
.ill-facts {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  max-width: 38rem;
}
.ill-facts li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--ill-surface);
  padding: 0.55rem 1rem;
}
.ill-num {
  font-family: var(--ill-font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ill-accent);
  line-height: 1;
}
.ill-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.ill-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--ill-accent);
  color: var(--ill-bg);
  border: 2px solid var(--ill-accent);
  font-family: var(--ill-font-display);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.ill-btn:hover { background: var(--ill-text); border-color: var(--ill-text); color: var(--ill-bg); }
.ill-btn--alt { background: transparent; color: var(--ill-text); border-color: var(--ill-text); }
.ill-btn--alt:hover { background: var(--ill-text); color: var(--ill-bg); }

.ill-hero-art {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  background: var(--ill-felt);
}
.ill-wheel { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ill-w-bg { fill: var(--ill-felt); }
.ill-w-wood { fill: var(--ill-wood); }
.ill-w-rim { fill: none; stroke: var(--ill-gold); stroke-width: 6; }
.ill-w-base, .ill-w-red, .ill-w-zero, .ill-w-sep { fill: none; stroke-width: 56; }
.ill-w-base { stroke: var(--ill-text); }
.ill-w-red { stroke: var(--ill-accent); stroke-dasharray: 1 1; }
.ill-w-zero { stroke: var(--ill-accent2); stroke-dasharray: 1 36; }
.ill-w-sep { stroke: var(--ill-gold); stroke-dasharray: 0.05 0.95; stroke-dashoffset: 0.025; }
.ill-w-disc { fill: var(--ill-sand); }
.ill-w-core { fill: var(--ill-wood); stroke: var(--ill-gold); stroke-width: 4; }
.ill-w-spoke { stroke: var(--ill-gold); stroke-width: 8; stroke-linecap: round; }
.ill-w-hub { fill: var(--ill-gold); }
.ill-w-pin { fill: var(--ill-wood); }
.ill-w-ball { fill: var(--ill-bg); }

/* Sections en escalier */
.ill-stairs { padding: 1rem 0 3rem; }
.ill-step {
  width: 80%;
  max-width: 52rem;
  margin: 0 0 3rem;
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 1.25rem;
}
.ill-step--left { margin-right: auto; }
.ill-step--right { margin-left: auto; }
.ill-step--plain { grid-template-columns: minmax(0, 1fr); }
.ill-step-mark {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  background: var(--ill-text);
  color: var(--ill-bg);
  font-family: var(--ill-font-mono);
  font-weight: 700;
  font-size: 1.5rem;
}
.ill-step-body { min-width: 0; }

/* Texte éditorial */
.ill-prose p { max-width: 44rem; }
.ill-prose ul { padding-left: 1.2rem; }

.ill-checks { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.9rem; }
.ill-checks li { position: relative; padding-left: 2.4rem; }
.ill-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--ill-accent2);
  background: var(--ill-surface);
}
.ill-checks li::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.32rem;
  width: 0.4rem;
  height: 0.8rem;
  border: solid var(--ill-accent2);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}
.ill-checks strong { font-family: var(--ill-font-display); }

.ill-note {
  background: var(--ill-surface);
  border-left: 6px solid var(--ill-accent2);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.ill-note h3 { margin-bottom: 0.4em; }
.ill-note ul { margin: 0; padding-left: 1.2rem; }
.ill-note li { margin-bottom: 0.3rem; }

.ill-mono { font-family: var(--ill-font-mono); font-size: 0.95em; }

/* Tableau */
.ill-table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 2px solid var(--ill-text); background: var(--ill-bg); }
.ill-table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.98rem; }
.ill-table caption { text-align: left; padding: 0.6rem 0.9rem; font-family: var(--ill-font-display); font-weight: 600; background: var(--ill-sand); }
.ill-table th, .ill-table td { text-align: left; vertical-align: top; padding: 0.6rem 0.9rem; border-top: 1px solid var(--ill-line); }
.ill-table thead th { background: var(--ill-text); color: var(--ill-bg); font-family: var(--ill-font-display); border-top: 0; }
.ill-table td:last-child { font-family: var(--ill-font-mono); font-size: 0.92rem; }

/* Figure */
.ill-figure { margin: 1.5rem 0; }
.ill-figure img { display: block; width: 100%; height: auto; }
.ill-figure figcaption { font-size: 0.92rem; color: var(--ill-muted); padding-top: 0.5rem; }

/* Bloc questions-réponses */
.ill-faq { background: var(--ill-sand); padding: 2.5rem 0 3rem; border-top: 2px solid var(--ill-text); }
.ill-faq-in { max-width: 52rem; margin: 0 auto; padding: 0 1.25rem; }
.ill-faq-item { background: var(--ill-bg); border: 2px solid var(--ill-text); padding: 1rem 1.25rem; margin-bottom: 0.9rem; }
.ill-faq-q { font-family: var(--ill-font-display); font-weight: 700; font-size: 1.12rem; margin: 0 0 0.4rem; }
.ill-faq-a { margin: 0; }

/* Pied de page */
.ill-footer { background: var(--ill-text); color: var(--ill-bg); padding: 2rem 0; }
.ill-footer-in {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 0.6rem;
}
.ill-footer a { color: var(--ill-sand); }
.ill-footer a:hover { color: #FFFFFF; }
.ill-footer a:focus-visible { outline-color: var(--ill-gold); }
.ill-footer-name { font-family: var(--ill-font-display); font-weight: 700; font-size: 1.1rem; margin: 0; }
.ill-footer p { margin: 0; }
.ill-credits { font-size: 0.9rem; color: var(--ill-sand); }

/* Adaptation */
@media (max-width: 62rem) {
  .ill-hero { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .ill-hero-art { min-height: 20rem; order: -1; }
  .ill-step { width: 92%; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .ill-step { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .ill-step--plain { grid-template-columns: minmax(0, 1fr); }
  .ill-facts li { grid-template-columns: 3.75rem 1fr; }
  .ill-hero-art { min-height: 16rem; }
  .ill-header-in { padding: 0.75rem 1rem; }
}

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

/* kak-vybrat-luchshee-kazino.html */
/* Illustration du premier écran : liste de contrôle et jetons */
.ill-c-shadow { fill: var(--ill-wood); }
.ill-c-card { fill: var(--ill-bg); }
.ill-c-head { fill: var(--ill-sand); }
.ill-c-line { stroke: var(--ill-muted); stroke-width: 6; stroke-linecap: round; }
.ill-c-box { fill: var(--ill-surface); stroke: var(--ill-accent2); stroke-width: 4; }
.ill-c-tick { fill: none; stroke: var(--ill-accent2); stroke-width: 5; stroke-linecap: square; }
.ill-c-chip-edge-a { fill: var(--ill-wood); }
.ill-c-chip-side-a { fill: var(--ill-accent); }
.ill-c-chip-top-a { fill: var(--ill-accent); stroke: var(--ill-gold); stroke-width: 4; }
.ill-c-chip-edge-b { fill: var(--ill-wood); }
.ill-c-chip-side-b { fill: var(--ill-text); }
.ill-c-chip-top-b { fill: var(--ill-text); stroke: var(--ill-gold); stroke-width: 4; }
.ill-c-chip-ring { fill: none; stroke: var(--ill-sand); stroke-width: 3; stroke-dasharray: 10 8; }
