/* ==========================================================================
   capburdi.fr : feuille de style
   Reprise de la charte de la page d'origine : fond gris très clair, titres
   bleu foncé, boutons orange en relief. Aucun JavaScript.
   ========================================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------- Variables */
:root {
  --bleu:     #2c3e50;
  --bleu-d:   #1d2b39;
  --bleu-l:   #eef2f5;
  --paper:    #f8f9fa;
  --card:     #ffffff;
  --shell:    #f1f3f5;
  --ink:      #333333;
  --ink-2:    #4f5a63;
  --ink-3:    #7f8c8d;
  --line:     #e4e8eb;
  --line-2:   #d1d8dd;

  --orange:   #ff8c00;
  --orange-b: #ff6b00;
  --orange-s: #c44e00;
  --vert:     #2f7048;
  --vert-l:   #eaf4ee;
  --rouge:    #b23a3a;
  --rouge-l:  #fbeced;

  --titre: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --col: 60rem;
  --r: 8px;
  --shadow: 0 4px 15px rgba(0,0,0,.05);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 1.02rem; line-height: 1.68; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 3px; }
a:hover { color: var(--orange-b); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--titre); color: var(--bleu); margin: 0 0 .5em; line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 1.4rem + 2.1vw, 2.5rem); text-align: center; margin-bottom: .6rem; }
h2 { font-size: clamp(1.45rem, 1.25rem + 1vw, 1.8rem); border-bottom: 2px solid var(--line); padding-bottom: .4rem; margin-top: 2.4rem; }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); margin-top: 1.9rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
strong, b { font-weight: 700; color: var(--bleu-d); }

/* --------------------------------------------------------------- Gabarit */
.container { max-width: var(--col); margin: 0 auto; background: var(--card);
  padding: 2.2rem 1.35rem 2.6rem; box-shadow: var(--shadow); }
@media (min-width: 700px) { .container { padding: 2.5rem 2.4rem 3rem; } }

.site-logo { display: block; margin: 0 auto 1.4rem; max-width: 200px; height: auto; }

.intro-lead { max-width: 44rem; margin: 0 auto 1.4rem; color: var(--ink-2); text-align: center; }
.intro-lead p { font-size: 1.02rem; }

.meta-info { text-align: center; color: var(--ink-3); font-size: .86rem; margin-bottom: 2rem;
  border-top: 1px solid var(--line); padding-top: .9rem; }
.meta-info span { margin: 0 .3rem; }

.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; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--bleu); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r); font-weight: 600; }
.skip:focus { left: .75rem; top: .75rem; }

/* ----------------------------------------------------------- Fil d'Ariane */
.crumbs { font-size: .8rem; color: var(--ink-3); margin-bottom: .6rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--orange-b); text-decoration: underline; }

/* -------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-b) 100%);
  color: #fff; padding: .6rem 1.1rem; text-decoration: none; font-weight: 700;
  border-radius: 4px; font-size: .88rem; text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 3px 0 var(--orange-s); transition: filter .12s, transform .1s;
  border: 0; cursor: pointer; text-align: center; font-family: var(--sans);
}
.btn:hover { filter: brightness(110%); transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn-wide { width: 100%; }
.btn-lg { font-size: 1rem; padding: .8rem 1.6rem; }
.btn-bleu { background: linear-gradient(180deg, #3d5165 0%, var(--bleu) 100%); box-shadow: 0 3px 0 #16202b; }

/* ------------------------------------------------- En-tête de fiche casino */
.casino-header-row { display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin: 2.4rem 0 .9rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.casino-header-row h3 { margin: 0; font-size: 1.5rem; }
.casino-header-row .rank { display: inline-flex; align-items: center; justify-content: center;
  width: 1.8rem; height: 1.8rem; border-radius: 6px; background: var(--bleu); color: #fff;
  font-family: var(--titre); font-weight: 700; font-size: .82rem; margin-right: .55rem; flex-shrink: 0; }
.casino-header-row h3 { display: flex; align-items: center; }
@media (max-width: 700px) {
  .casino-header-row { flex-direction: column; align-items: flex-start; }
  .casino-header-row .btn { width: 100%; }
}

/* ------------------------------------------------------------- Sommaire */
.toc { background: var(--shell); border-radius: var(--r); padding: 1.3rem 1.4rem;
  margin-bottom: 2.2rem; border-left: 5px solid var(--line-2); }
.toc h2 { font-size: 1.1rem; margin: 0 0 .8rem; border: 0; padding: 0; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .45rem; border-bottom: 1px solid #e0e4e7; padding-bottom: .3rem; }
.toc li:last-child { border-bottom: 0; }
.toc a { text-decoration: none; color: #1b6fc4; font-weight: 500; }
.toc a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- Images */
.content-img { margin: 1.5rem auto; border-radius: var(--r); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
figure { margin: 1.5rem 0; }
figcaption { font-size: .82rem; color: var(--ink-3); padding-top: .45rem; text-align: center; }

/* ------------------------------------------------------------- Tableaux */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; }
.review-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.review-table th, .review-table td { border: 1px solid var(--line-2); padding: .7rem .85rem; text-align: left; vertical-align: top; }
.review-table th { background: var(--shell); color: var(--bleu); font-weight: 700; }
.review-table td.oui { color: var(--vert); font-weight: 700; }
.review-table td.non { color: var(--rouge); font-weight: 700; }
.review-table caption { text-align: left; font-family: var(--titre); font-weight: 700; color: var(--bleu); padding-bottom: .5rem; }

/* -------------------------------------------------------------- Contenu */
.content-body p, .content-body li { font-size: 1.04rem; }
.content-body ul, .content-body ol { margin: 0 0 1.2em; padding-left: 1.3rem; }
.content-body li { margin-bottom: .5em; }
.content-body ul { list-style: none; padding-left: 0; }
.content-body ul li { position: relative; padding-left: 1.4rem; }
.content-body ul li::before { content: ""; position: absolute; left: .15rem; top: .68em;
  width: .45rem; height: .45rem; background: var(--orange); border-radius: 2px; }
.content-body ol li::marker { color: var(--orange-b); font-weight: 700; }

/* ------------------------------------------------------------- Encadrés */
.box { border: 1px solid var(--line); border-left: 4px solid var(--orange); background: #fffaf4;
  border-radius: var(--r); padding: 1rem 1.2rem; margin: 0 0 1.5rem; }
.box p:last-child { margin-bottom: 0; }
.box .kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-b); margin: 0 0 .35rem; }
.box-bleu { border-left-color: var(--bleu); background: var(--bleu-l); }
.box-bleu .kicker { color: var(--bleu); }
.box-rouge { border-left-color: var(--rouge); background: var(--rouge-l); }
.box-rouge .kicker { color: var(--rouge); }

/* ------------------------------------------------------------------ FAQ */
.faq-block { margin: 2.2rem 0 2.4rem; }
.faq-block details { background: var(--card); border: 1px solid var(--line); margin-bottom: .75rem;
  border-radius: 5px; overflow: hidden; }
.faq-block summary { background: var(--shell); padding: .85rem 1rem; cursor: pointer; font-weight: 700;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; font-size: 1.4rem; color: var(--ink-3); line-height: 1; }
.faq-block details[open] summary::after { content: "\2212"; }
.faq-block details[open] summary { border-bottom: 1px solid var(--line); }
.faq-block summary h3 { margin: 0; font-size: 1.02rem; border: 0; padding: 0; }
.faq-answer { padding: .95rem 1rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------- Bloc de l'auteur */
.author-box { display: flex; align-items: center; gap: 1.2rem; background: var(--bleu-l);
  padding: 1.4rem 1.5rem; border-radius: var(--r); margin-top: 2.2rem; border-left: 5px solid var(--bleu); }
.author-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-info h2 { margin: 0 0 .35rem; font-size: 1.1rem; border: 0; padding: 0; }
.author-info p { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 700px) { .author-box { flex-direction: column; text-align: center; } }

/* ----------------------------------------------------- Barre CTA mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: .5rem;
  padding: .5rem .7rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line-2); }
.sticky-cta .btn { flex: 1 1 0; min-width: 0; font-size: .8rem; padding: .7rem .5rem; }
@media (max-width: 780px) { .sticky-cta { display: flex; } body { padding-bottom: 4.2rem; } }

/* ---------------------------------------------------------- Pied de page */
.disclaimer { font-size: .82rem; color: var(--ink-3); text-align: center; margin-top: 2rem;
  border-top: 1px solid var(--line); padding-top: 1.2rem; }
.disclaimer p { margin-bottom: .6rem; }
.disclaimer a { color: var(--ink-3); }
.site-footer { background: var(--bleu); color: #c3ccd4; padding: 2.4rem 0; font-size: .9rem; margin-top: 2rem; }
.site-footer .wrap { max-width: var(--col); margin: 0 auto; padding: 0 1.35rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1.8rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  margin-bottom: .7rem; border: 0; padding: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: #d6dde3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: #c3ccd4; }
.site-footer strong { color: #fff; }
.legal { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid #3d5165; font-size: .8rem; }
.legal p { color: #a9b4bd; }
.legal strong { color: #f0b8b8; }

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