/* ==========================================================================
   lespetitescreabycathy.com — Guide Celsius Casino France
   Theme clair, mobile-first, une colonne. Couleurs centralisees dans :root.
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f5fd;   /* sections teintees */
  --line:      #e7e3f3;
  --line-2:    #d7d0ee;
  --ink:       #16122e;   /* titres + en-tete */
  --ink-2:     #231d45;
  --text:      #2f2b4a;
  --muted:     #6b6789;

  --violet:    #7b5cf0;
  --violet-2:  #5b3fd6;
  --violet-bg: #f1edff;
  --orange:    #ff7a1a;
  --orange-2:  #ff9f43;
  --orange-bg: #fff3e8;
  --green:     #19a463;
  --green-bg:  #e8f7ef;
  --yellow-bg: #fff7dd;
  --yellow-bd: #f3dc8f;

  --cta:       linear-gradient(135deg, #ff9f43 0%, #ff6a1a 100%);
  --shadow:    0 2px 4px rgba(22, 18, 46, .04), 0 10px 30px rgba(22, 18, 46, .07);
  --shadow-lg: 0 20px 60px rgba(22, 18, 46, .18);

  --r:   18px;
  --r-s: 12px;
  --w:   840px;

  --font:   "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-h: "Outfit", "Plus Jakarta Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.72 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-2); text-underline-offset: 3px; }
/* Lien vers le casino dans le texte : surligne + fleche */
.link-off {
  font-weight: 700; color: var(--violet-2); text-decoration: none; white-space: nowrap;
  background: linear-gradient(transparent 62%, rgba(255, 159, 67, .38) 62%);
  padding: 0 2px; border-radius: 2px; transition: background .15s, color .15s;
}
.link-off::after { content: "\2197"; font-size: .85em; margin-left: 2px; }
.link-off:hover { color: #fff; background: var(--violet-2); }
strong, b { color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 16px; }
.container-wide { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container, .container-wide { padding: 0 24px; } }

/* ---------- En-tete (standard des sites Celsius) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.header-logo { display: inline-flex; min-width: 0; }
.header-logo img { height: 42px; width: auto; max-width: 170px; object-fit: contain; }
.header-actions { display: flex; gap: 8px; flex: 0 0 auto; }
@media (max-width: 400px) {
  .header-logo img { height: 34px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 9px 13px; font-size: 13.5px; }
}
@media (max-width: 340px) { .header-actions .btn-line { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1.25 var(--font); text-decoration: none; text-align: center;
  padding: 11px 20px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 8px 22px rgba(255, 106, 26, .32); }
.btn-cta:hover { color: #fff; }
.header .btn-line { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .32); }
.header .btn-line:hover { border-color: #fff; color: #fff; }
.btn-xl { font-size: 17px; padding: 17px 30px; width: 100%; }
@media (min-width: 600px) { .btn-xl { width: auto; } }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Banniere d'offre (premier ecran) ---------- */
.banner { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #e4e0f7; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 18, 46, .96) 0%, rgba(22, 18, 46, .82) 45%, rgba(22, 18, 46, .35) 100%);
}
@media (max-width: 719px) { .banner::before { background: linear-gradient(180deg, rgba(22, 18, 46, .55) 0%, rgba(22, 18, 46, .94) 60%); } }
.banner-in { padding-top: 44px; padding-bottom: 92px; }
@media (min-width: 720px) { .banner-in { padding-top: 64px; padding-bottom: 110px; } }
.banner-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #ffd0a8; border: 1px solid rgba(255, 159, 67, .45); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.banner-title { font: 800 clamp(34px, 7vw, 58px)/1.02 var(--font-h); color: #fff; margin: 0 0 10px; letter-spacing: -.02em; }
.banner-title span { background: var(--cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner-sub { font-size: clamp(17px, 2.4vw, 20px); color: #e4e0f7; margin: 0 0 24px; max-width: 34ch; }
.banner-note { font-size: 12.5px; color: #a7a1c9; margin: 14px 0 0; }

/* Trois chiffres a cheval sur la banniere */
.stats { position: relative; z-index: 2; margin-top: -60px; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 12px; box-shadow: var(--shadow); text-align: center; }
.stat small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat b { display: block; font: 800 clamp(20px, 4.4vw, 30px)/1.15 var(--font-h); color: var(--violet-2); margin: 4px 0 2px; }
.stat span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
@media (min-width: 720px) { .stat { padding: 20px 18px; } .stat small { font-size: 12px; } .stat span { font-size: 13.5px; } }

/* ---------- Introduction ---------- */
.intro { padding: 34px 0 6px; }
h1, h2, h3 { font-family: var(--font-h); color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: clamp(30px, 5.6vw, 46px); line-height: 1.1; font-weight: 800; margin: 0 0 16px; }
.meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.meta li { font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.author { display: flex; gap: 12px; align-items: center; margin: 0 0 20px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.author i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; background: var(--violet-bg); color: var(--violet-2); display: grid; place-items: center; font: 800 15px/1 var(--font-h); font-style: normal; }
.author b { display: block; font-size: 15px; }
.lead { font-size: clamp(18px, 2.3vw, 19.5px); color: var(--text); margin: 0 0 24px; }
.cta { margin: 0 0 8px; }
.cta-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* ---------- Sommaire ---------- */
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; margin: 30px 0 10px; }
.toc-title { margin: 0 0 12px; font: 800 18px/1.2 var(--font-h); color: var(--ink); }
.toc ol { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: 4px 20px; }
@media (min-width: 640px) { .toc ol { grid-template-columns: 1fr 1fr; } }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.4; }
.toc a::before { content: counter(t); flex: 0 0 24px; height: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); font-size: 12px; font-weight: 800; color: var(--violet-2); display: grid; place-items: center; transform: translateY(5px); }
.toc a:hover { color: var(--violet-2); }

/* ---------- Corps ---------- */
.content { padding-bottom: 56px; }
.content h2 { font-size: clamp(25px, 3.8vw, 33px); line-height: 1.18; font-weight: 800; margin: 52px 0 16px; padding-left: 16px; border-left: 5px solid var(--orange); }
.content h3 { font-size: 20px; margin: 26px 0 10px; }
.content p { margin: 0 0 18px; }
.content ul, .content ol { margin: 0 0 20px; padding-left: 22px; }
.content li { margin-bottom: 8px; }

/* Fiche */
.kv { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 24px; font-size: 15px; line-height: 1.5; }
.kv th, .kv td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv tr:nth-child(odd) th, .kv tr:nth-child(odd) td { background: #fcfbff; }
.kv th { width: 38%; font-weight: 700; color: var(--ink); }
@media (max-width: 520px) {
  .kv, .kv tbody, .kv tr, .kv th, .kv td { display: block; width: 100%; }
  .kv th { border-bottom: 0; padding-bottom: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .kv td { padding-top: 2px; color: var(--ink); }
}

/* Tableaux : jamais de defilement horizontal. Sous 640 px, chaque ligne devient une carte. */
.tbl { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 24px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) td { background: #fcfbff; }
.tbl td:first-child { font-weight: 700; color: var(--ink); }
.coin { display: inline-flex; align-items: center; gap: 8px; }
.coin img { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .tbl { border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
  .tbl table, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { border: 1px solid var(--line); border-radius: var(--r-s); box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; background: #fff; }
  .tbl tbody tr:nth-child(even) td { background: transparent; }
  .tbl td { display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: right; padding: 8px 16px; border-bottom: 0; }
  .tbl td::before { content: attr(data-label); text-align: left; flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .tbl td:first-child { background: var(--violet-bg) !important; font-size: 16px; padding: 11px 16px; }
  .tbl td:first-child::before { color: var(--violet-2); }
}

/* Etapes d'inscription */
.steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 0 0 22px !important; display: grid; gap: 16px; }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; margin: 0 !important; }
@media (min-width: 760px) { .step { grid-template-columns: 1fr 360px; align-items: center; padding: 22px; } }
.step-txt { position: relative; padding-left: 48px; }
.step-txt::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 11px; background: var(--cta); color: #fff; font: 800 17px/34px var(--font-h); text-align: center; }
.step-txt p { margin: 0; }
.step figure { margin: 0; }
.step img { width: 100%; border-radius: 14px; }
.step figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; text-align: center; }

/* Cartes generiques (problemes de connexion, idees recues, jeux) */
.cards { list-style: none; padding: 0 !important; margin: 0 0 24px !important; display: grid; gap: 12px; }
@media (min-width: 680px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.cards > li, .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; margin: 0 !important; font-size: 16px; line-height: 1.6; }
.card p { margin: 0; }
.cards-promo > li { border-top: 4px solid var(--violet); }
.cards-promo > li:nth-child(2) { border-top-color: var(--orange); }
.cards-promo > li:nth-child(3) { border-top-color: var(--green); }

/* Encadres */
.note { border-radius: var(--r); padding: 18px 20px; margin: 0 0 24px; border: 1px solid; }
.note p { margin: 0; }
.note-tip { background: var(--violet-bg); border-color: #d9cffd; }
.note-warn { background: var(--yellow-bg); border-color: var(--yellow-bd); }
.note-tip strong { color: var(--violet-2); }
.note-warn strong { color: #8a5a00; }

/* Figures */
.fig { margin: 4px 0 26px; }
.fig img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.fig figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.fig-narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

/* Grille de slots */
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 8px; }
.slots figure { margin: 0; }
.slots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.slots figcaption { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 6px; line-height: 1.3; text-align: center; }
.slots-note { font-size: 13px; color: var(--muted); margin: 0 0 24px !important; }

/* CTA central */
.cta-box { background: var(--ink); color: #d6d1ef; border-radius: 22px; padding: 26px 22px; margin: 36px 0 10px; text-align: center; }
.cta-box b { display: block; color: #fff; font: 800 22px/1.25 var(--font-h); margin-bottom: 6px; }
.cta-box p { margin: 0 0 18px; font-size: 15px; }
.cta-box .cta-note { color: #a7a1c9; }

/* FAQ */
.faq { display: grid; gap: 10px; margin: 0 0 30px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; box-shadow: var(--shadow); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--ink); font-size: 16.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px; background: var(--violet-bg); color: var(--violet-2); font: 800 18px/26px var(--font); text-align: center; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--text); font-size: 16px; }

.small-print { font-size: 13.5px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; }
.small-print strong { color: var(--text); }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #a7a1c9; font-size: 14px; line-height: 1.6; padding: 36px 0 110px; }
@media (min-width: 900px) { .footer { padding-bottom: 36px; } }
.footer img { height: 40px; width: auto; margin-bottom: 14px; }
.footer p { margin: 0 0 10px; }
.footer strong { color: #fff; }
.footer-age { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }
.footer-age span { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--orange); color: #fff; font: 800 13px/36px var(--font); text-align: center; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 20px; padding-top: 16px; font-size: 12.5px; color: #8781ad; }

/* ---------- Barre CTA mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(22, 18, 46, .12);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta span { font-size: 13px; line-height: 1.3; color: var(--muted); min-width: 0; }
.sticky-cta span b { display: block; font-size: 15px; color: var(--ink); }
.sticky-cta .btn { margin-left: auto; flex: 0 0 auto; padding: 11px 18px; font-size: 14px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Pages /go et 404 ---------- */
.page-center { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; text-align: center; background: var(--bg-soft); }
.page-card { max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 24px; box-shadow: var(--shadow-lg); }
.page-card h1 { font-size: 26px; }
.page-card p { color: var(--muted); }
