/* 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 {
  --aal-bg: #1D1F21;
  --aal-surface: #2A2D30;
  --aal-surface-2: #34383C;
  --aal-text: #F4EFEA;
  --aal-muted: #C9C1B8;
  --aal-accent: #E39A63;
  --aal-accent-2: #B87333;
  --aal-ink: #1D1F21;
  --aal-font-display: "Fira Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --aal-font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --aal-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --aal-gap: clamp(1.25rem, 3vw, 2.5rem);
}

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

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

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

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

a { color: var(--aal-accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--aal-text); }

:focus-visible {
  outline: 3px solid var(--aal-accent);
  outline-offset: 3px;
}

/* En-tête */
.aal-top {
  border-top: 6px solid var(--aal-accent-2);
  background: var(--aal-bg);
}
.aal-top-in {
  width: min(76rem, 100% - 2.5rem);
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.aal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--aal-font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--aal-text);
  text-decoration: none;
}
.aal-brand:hover { color: var(--aal-accent); }
.aal-brand svg { width: 1.9rem; height: 1.9rem; flex: none; }
.aal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.aal-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--aal-text);
  font-family: var(--aal-font-display);
  font-weight: 500;
  text-decoration: none;
}
.aal-nav a:hover { color: var(--aal-accent); text-decoration: underline; }

/* Mise en page */
.aal-wrap {
  width: min(76rem, 100% - 2.5rem);
  margin: 0 auto;
}

/* Une de magazine */
.aal-cover {
  width: min(76rem, 100% - 2.5rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--aal-gap);
  align-items: center;
}
.aal-marker {
  margin: 0 0 1.25rem;
  font-family: var(--aal-font-mono);
  font-size: 1rem;
  color: var(--aal-accent);
}
.aal-title {
  margin: 0 0 1.5rem;
  font-family: var(--aal-font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 7.2vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.aal-line { display: block; }
.aal-line:nth-child(2) { color: var(--aal-accent); }
.aal-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.25rem;
  color: var(--aal-muted);
}
.aal-lead strong { color: var(--aal-text); font-weight: 600; }
.aal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.aal-pill {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--aal-accent);
  border-radius: 999px;
  background: var(--aal-accent);
  color: var(--aal-ink);
  font-family: var(--aal-font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.aal-pill:hover { background: var(--aal-text); border-color: var(--aal-text); color: var(--aal-ink); }
.aal-pill--ghost { background: transparent; color: var(--aal-accent); }
.aal-pill--ghost:hover { background: var(--aal-accent); border-color: var(--aal-accent); color: var(--aal-ink); }

.aal-figure { margin: 0; }
.aal-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--aal-surface);
}
.aal-figure figcaption {
  margin-top: 0.6rem;
  font-family: var(--aal-font-mono);
  font-size: 0.85rem;
  color: var(--aal-muted);
}

/* Sections en escalier */
.aal-steps { padding-bottom: clamp(2rem, 5vw, 4rem); }
.aal-step {
  width: 100%;
  margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}
.aal-step--wide { width: 100%; }
.aal-h2 {
  margin: 0 0 1rem;
  font-family: var(--aal-font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.15;
}
.aal-h3 {
  margin: 0 0 0.5rem;
  font-family: var(--aal-font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
}
.aal-num {
  display: inline-block;
  margin-right: 0.6rem;
  font-family: var(--aal-font-mono);
  font-weight: 500;
  color: var(--aal-accent);
}
.aal-prose p { margin: 0 0 1rem; max-width: 44rem; }
.aal-prose p:last-child { margin-bottom: 0; }
.aal-mono { font-family: var(--aal-font-mono); font-size: 0.95em; color: var(--aal-accent); }

/* Blocs carrés */
.aal-tiles {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.aal-tile {
  background: var(--aal-surface);
  padding: 1.4rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}
.aal-tile p { margin: 0; color: var(--aal-muted); font-size: 1.02rem; }
.aal-tag {
  font-family: var(--aal-font-mono);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--aal-accent);
}

/* Tableau */
.aal-tablewrap {
  margin: 1.5rem 0 0;
  overflow-x: auto;
  background: var(--aal-surface);
}
.aal-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: 1rem;
}
.aal-table caption {
  padding: 0.9rem 1rem;
  text-align: left;
  font-family: var(--aal-font-display);
  font-weight: 600;
  color: var(--aal-text);
}
.aal-table th, .aal-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--aal-surface-2);
}
.aal-table thead th {
  background: var(--aal-surface-2);
  font-family: var(--aal-font-display);
  font-weight: 600;
  color: var(--aal-text);
}
.aal-table tbody th {
  font-family: var(--aal-font-display);
  font-weight: 600;
  color: var(--aal-accent);
}
.aal-table td { color: var(--aal-muted); }
.aal-table td .aal-mono { white-space: nowrap; }

/* Encadré de calcul */
.aal-note {
  margin: 1.5rem 0 0;
  padding: 1.2rem 1.3rem;
  background: var(--aal-surface);
  border-left: 5px solid var(--aal-accent-2);
  max-width: 44rem;
}
.aal-note p { margin: 0; }
.aal-note p + p { margin-top: 0.6rem; }

/* Partie russe */
.aal-ru {
  background: var(--aal-surface);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.aal-ru-mark {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid var(--aal-accent);
  font-family: var(--aal-font-mono);
  font-size: 0.9rem;
  color: var(--aal-accent);
}

/* Questions-réponses */
.aal-faq { margin-top: 1.25rem; display: grid; gap: 1rem; }
.aal-faq-item {
  background: var(--aal-surface);
  padding: 1.2rem 1.3rem;
}
.aal-faq-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--aal-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}
.aal-faq-item p { margin: 0; color: var(--aal-muted); max-width: 46rem; }

/* Pied de page */
.aal-foot {
  border-top: 6px solid var(--aal-accent-2);
  background: var(--aal-surface);
  color: var(--aal-muted);
  font-size: 0.98rem;
}
.aal-foot-in {
  width: min(76rem, 100% - 2.5rem);
  margin: 0 auto;
  padding: 1.6rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}
.aal-foot-name { font-family: var(--aal-font-display); font-weight: 700; color: var(--aal-text); }
.aal-foot a { color: var(--aal-accent); }
.aal-foot a:hover { color: var(--aal-text); }

/* Page juridique et textes simples */
.aal-legal { width: min(46rem, 100% - 2.5rem); margin: 0 auto; padding: 2rem 0 4rem; }
.aal-legal h1 {
  font-family: var(--aal-font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1.5rem;
}
.aal-legal h2 { font-family: var(--aal-font-display); font-size: 1.4rem; margin: 2rem 0 0.5rem; }

/* Pages de contenu : fiches décalées */
.aal-page-head {
  width: min(76rem, 100% - 2.5rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.aal-page-head h1 {
  margin: 0;
  max-width: 48rem;
  font-family: var(--aal-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
}

@media (min-width: 56rem) {
  .aal-cover { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .aal-photo { aspect-ratio: 3 / 4; }
  .aal-step { width: min(100%, 54rem); }
  .aal-step--l { margin-right: auto; margin-left: 0; }
  .aal-step--r { margin-left: auto; margin-right: 0; }
  .aal-step--wide { width: 100%; }
}

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

/* kazino-bonusi.html */
/* Étiquette de conditions d'un bonus */
.aal-label {
  margin: 1.5rem 0 0;
  max-width: 44rem;
  background: var(--aal-surface);
  border-left: 5px solid var(--aal-accent-2);
}
.aal-label-title {
  margin: 0;
  padding: 0.85rem 1.2rem;
  background: var(--aal-surface-2);
  font-family: var(--aal-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--aal-text);
}
.aal-label dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr);
}
.aal-label dt,
.aal-label dd {
  margin: 0;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid var(--aal-surface-2);
  font-size: 1rem;
}
.aal-label dt {
  font-family: var(--aal-font-display);
  font-weight: 600;
  color: var(--aal-accent);
}
.aal-label dd { color: var(--aal-muted); }
.aal-label dl > dt:first-child,
.aal-label dl > dt:first-child + dd { border-top: 0; }

.aal-ru .aal-tablewrap { background: var(--aal-bg); }

@media (max-width: 30rem) {
  .aal-label dl { grid-template-columns: minmax(0, 1fr); }
  .aal-label dt { padding-bottom: 0.1rem; }
  .aal-label dd { border-top: 0; padding-top: 0; }
}
