/* ==========================================================================
   millionzcasinofrance.net : feuille de style
   Codes visuels de la marque : fond sombre, bleu Millionz, cartes arrondies,
   bandeau promotionnel. Le site reste éditorial : ni formulaire de connexion
   ni espace compte. Aucun JavaScript.
   ========================================================================== */

@font-face {
  font-family: "Madefor Display";
  src: url("../fonts/madefor-display.woff2") format("woff2");
  font-weight: 400 800;
  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: "Madefor Text";
  src: url("../fonts/madefor-text.woff2") format("woff2");
  font-weight: 400 800;
  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 {
  --fond:    #0b1524;
  --fond-2:  #0f1e33;
  --card:    #14263f;
  --card-2:  #1b3252;
  --ink:     #d8e4f2;
  --ink-2:   #a8bdd6;
  --ink-3:   #7d94b0;
  --line:    #1e3550;
  --line-2:  #2a4667;

  --bleu:    #0d7bf7;
  --bleu-c:  #5aa9ff;
  --vert:    #2fbf71;
  --vert-l:  #10301f;
  --rouge:   #e0555f;
  --rouge-l: #331a1f;
  --ambre:   #e0a92f;
  --ambre-l: #33280f;

  --titre: "Madefor Display", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Madefor Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --col: 74rem;
  --read: 44rem;
  --r: 14px;
  --shadow: 0 2px 4px rgba(0,0,0,.3), 0 20px 44px -28px rgba(0,0,0,.9);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.8rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--ink); font-family: var(--sans);
  font-size: 1.03rem; line-height: 1.7; }

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

h1, h2, h3, h4 { font-family: var(--titre); color: #fff; margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(1.95rem, 1.4rem + 2.5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.25vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.36rem); color: #cfe0f5; }
h4 { font-size: 1.02rem; color: #fff; }

p { margin: 0 0 1.1em; }
strong, b { font-weight: 700; color: #fff; }

.wrap { width: min(100% - 2.4rem, var(--col)); margin-inline: auto; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bleu-c); margin: 0 0 .8rem; }

.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: 700; }
.skip:focus { left: .75rem; top: .75rem; }

/* --------------------------------------------------------------- En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,21,36,.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.4rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand img { border-radius: 0; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .87rem; font-weight: 600; padding: .25rem 0; border-bottom: 2px solid transparent; display: block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--bleu); }
.age { font-size: .72rem; font-weight: 700; color: #fff; background: var(--rouge); border-radius: 999px; padding: .18rem .55rem; }
@media (max-width: 1000px) { .site-nav { display: none; } .site-header .wrap { justify-content: space-between; } .age { margin-left: auto; } }

/* ----------------------------------------------------------- Fil d'Ariane */
.crumbs { font-size: .8rem; color: var(--ink-3); padding: .8rem 0 0; }
.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(--bleu-c); text-decoration: underline; }

/* ------------------------------------------------- Bandeau promotionnel */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% 12%, rgba(13,123,247,.30), transparent 62%),
    radial-gradient(700px 400px at 12% 88%, rgba(13,123,247,.16), transparent 60%),
    var(--fond-2);
  border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.022) 0 2px, transparent 2px 26px); }
.hero-txt { position: relative; z-index: 1; padding: 2.6rem 0 2.4rem; }
.hero-logo { height: 54px; width: auto; margin-bottom: 1.1rem; }
@media (max-width: 600px) { .hero-logo { height: 42px; } }
.hero-txt h1 { max-width: 22ch; }
.hero-txt .chapo { color: var(--ink-2); font-size: 1.1rem; max-width: 44rem; line-height: 1.6; }
.hero-meta { color: var(--ink-3); font-size: .84rem; margin: 1.1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.hero-meta strong { color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }

.offre-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto;
  gap: 1.4rem; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r);
  background: linear-gradient(135deg, var(--card) 0%, var(--card-2) 100%);
  box-shadow: var(--shadow); padding: 1.4rem 1.6rem; margin: 1.6rem 0 0; }
@media (max-width: 760px) { .offre-hero { grid-template-columns: 1fr; } }
.offre-hero .lbl { font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--bleu-c); margin: 0 0 .3rem; }
.offre-hero .montant { font-family: var(--titre); font-weight: 700; color: #fff;
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.1rem); line-height: 1.15; margin: 0 0 .35rem; }
.offre-hero .detail { margin: 0; color: var(--ink-2); font-size: .95rem; }

.hero-chiffres { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (max-width: 780px) { .hero-chiffres { grid-template-columns: repeat(2, 1fr); } }
.hero-chiffres div { background: var(--fond-2); padding: 1.05rem .9rem; text-align: center; }
.hero-chiffres b { display: block; font-family: var(--titre); font-size: 1.35rem; color: var(--bleu-c); line-height: 1.1; }
.hero-chiffres span { font-size: .78rem; color: var(--ink-3); }

/* -------------------------------------------------------------- Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--bleu); color: #fff; padding: .85rem 1.6rem; text-decoration: none;
  font-weight: 700; font-size: .95rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(13,123,247,.9);
  transition: background .12s, transform .1s, box-shadow .12s; font-family: var(--sans); text-align: center; }
.btn:hover { background: #2b8dff; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(13,123,247,1); }
.btn-line { background: transparent; color: #fff; border: 1px solid var(--line-2); box-shadow: none; }
.btn-line:hover { background: var(--card); color: #fff; box-shadow: none; }
.btn-sm { padding: .5rem 1.1rem; font-size: .83rem; }
.btn-wide { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }

/* -------------------------------------------------------- Corps de page */
.layout { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2.8rem; padding: 2.6rem 0 3.6rem; align-items: start; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; gap: 1.4rem; } }

.toc { position: sticky; top: 4.8rem; border: 1px solid var(--line); border-radius: var(--r); padding: 1.05rem 1.15rem; background: var(--card); }
@media (max-width: 1000px) { .toc { position: static; } }
.toc .toc-titre { font-family: var(--sans); font-size: .71rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 .75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: .88rem; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: .4rem; }
.toc a { color: var(--ink-2); text-decoration: none; display: flex; gap: .5rem; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--bleu-c); font-weight: 700; font-size: .76rem; }
.toc a:hover { color: #fff; }
.toc .cta { margin-top: .9rem; }

.prose section { scroll-margin-top: 4.8rem; }
.prose section + section { margin-top: 2.8rem; }
.prose > section > h2 { padding-bottom: .4rem; border-bottom: 3px solid var(--bleu); }
.prose h3 { margin-top: 1.9rem; }
.prose h4 { margin-top: 1.4rem; margin-bottom: .35rem; }
.prose p { max-width: var(--read); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.25em; max-width: var(--read); }
.prose ul li { position: relative; padding-left: 1.45rem; margin-bottom: .48em; }
.prose ul li::before { content: ""; position: absolute; left: .12rem; top: .68em; width: .45rem; height: .45rem; background: var(--bleu); border-radius: 2px; }
.prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; max-width: var(--read); }
.prose ol li { margin-bottom: .48em; }
.prose ol li::marker { font-family: var(--titre); font-weight: 700; color: var(--bleu-c); }

figure { margin: 1.6rem 0; }
figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
figcaption { font-size: .82rem; color: var(--ink-3); padding-top: .45rem; }

/* ------------------------------------------------------------- Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 1.6rem; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .91rem; }
caption { text-align: left; font-family: var(--titre); font-weight: 700; font-size: 1rem; color: #fff; padding: .8rem 1rem .3rem; }
th, td { padding: .65rem .95rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
thead th { background: var(--fond-2); color: var(--bleu-c); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; border-top: 0; }
tbody th { font-weight: 700; color: #fff; }
tbody tr:nth-child(even) td { background: var(--card-2); }
.table-key tbody th { width: 40%; background: var(--fond-2); }
td.oui { color: var(--vert); font-weight: 700; }
td.non { color: var(--rouge); font-weight: 700; }

/* --------------------------------------------------------- Note globale */
.note-globale { display: flex; align-items: center; gap: 1.2rem; border: 1px solid var(--line-2);
  border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; margin: 0 0 1.6rem; }
.note-globale .score { flex-shrink: 0; width: 5rem; height: 5rem; border-radius: 16px;
  background: linear-gradient(135deg, var(--bleu) 0%, #0a63c6 100%);
  color: #fff; display: grid; place-items: center; font-family: var(--titre); font-weight: 700; line-height: 1; }
.note-globale .score b { font-size: 1.7rem; display: block; }
.note-globale .score span { font-size: .72rem; opacity: .9; }
.note-globale p { margin: 0; max-width: none; color: var(--ink-2); }
.note-globale .titre { font-family: var(--titre); font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: .2rem; display: block; }

/* ------------------------------------------------------ Critères notés */
.criteres { display: grid; gap: .55rem; margin: 0 0 1.6rem; max-width: none; }
.critere { display: grid; grid-template-columns: 12rem 1fr auto; gap: .9rem; align-items: center; font-size: .93rem; }
@media (max-width: 620px) { .critere { grid-template-columns: 1fr auto; } .critere .barre { grid-column: 1 / -1; } }
.critere .nom { color: var(--ink-2); }
.critere .barre { height: .55rem; border-radius: 999px; background: var(--fond-2); overflow: hidden; }
.critere .barre i { display: block; height: 100%; background: linear-gradient(90deg, var(--bleu), var(--bleu-c)); border-radius: 999px; }
.critere .val { font-family: var(--titre); font-weight: 700; color: #fff; font-size: .9rem; }

/* --------------------------------------------------------------- Étapes */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .75rem; max-width: none; }
.steps li { counter-increment: step; position: relative; padding: .95rem 1.15rem .95rem 3.2rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin: 0; color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: .95rem;
  width: 1.55rem; height: 1.55rem; border-radius: 8px; background: var(--bleu); color: #fff;
  font-family: var(--titre); font-weight: 700; font-size: .82rem; display: grid; place-items: center; }

/* ------------------------------------------------------------- Encadrés */
.box { border: 1px solid var(--line); border-left: 4px solid var(--bleu); background: var(--card);
  border-radius: 11px; padding: .95rem 1.2rem; margin: 0 0 1.5rem; max-width: none; }
.box p { max-width: none; color: var(--ink-2); }
.box p:last-child { margin-bottom: 0; }
.box .kicker { margin-bottom: .3rem; }
.box-vert { border-left-color: var(--vert); background: var(--vert-l); }
.box-vert .kicker { color: var(--vert); }
.box-rouge { border-left-color: var(--rouge); background: var(--rouge-l); }
.box-rouge .kicker { color: var(--rouge); }
.box-ambre { border-left-color: var(--ambre); background: var(--ambre-l); }
.box-ambre .kicker { color: var(--ambre); }

/* ------------------------------------------------------- Deux colonnes */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.6rem; max-width: none; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }
.duo > div { border: 1px solid var(--line); border-radius: var(--r); padding: 1.05rem 1.2rem; background: var(--card); }
.duo h3 { font-family: var(--sans); font-size: .93rem; font-weight: 700; margin: 0 0 .65rem; text-transform: uppercase; letter-spacing: .04em; }
.duo .pro { color: var(--vert); }
.duo .con { color: var(--rouge); }
.duo ul { margin: 0; }

/* ------------------------------------------------------------------ FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .55rem; background: var(--card); }
.faq summary { cursor: pointer; padding: .85rem 1.05rem; font-family: var(--titre); font-weight: 700; color: #fff; list-style: none; display: flex; gap: .7rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--bleu-c); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.05rem .95rem; color: var(--ink-2); }
.faq details > div p { max-width: none; }
.faq details > div p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- Appel final */
.final { border: 1px solid var(--line-2); border-radius: var(--r);
  background: linear-gradient(135deg, var(--card) 0%, var(--card-2) 100%);
  padding: 1.8rem 1.6rem; margin-top: 2.2rem; box-shadow: var(--shadow); }
.final h2 { margin-bottom: .45rem; border: 0; padding: 0; }
.final p { max-width: 44rem; color: var(--ink-2); }

/* --------------------------------------------------------------- Équipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0; max-width: none; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }
.member { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; background: var(--card); text-align: center; }
.member img { width: 5rem; height: 5rem; border-radius: 50%; margin: 0 auto .65rem; }
.member h3 { font-size: 1rem; margin-bottom: .1rem; }
.member .role { font-size: .71rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--bleu-c); margin-bottom: .45rem; }
.member p { font-size: .86rem; margin: 0; color: var(--ink-2); }

/* ----------------------------------------------------- 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(11,21,36,.97); border-top: 1px solid var(--line-2); }
.sticky-cta .btn { flex: 1 1 0; min-width: 0; font-size: .82rem; padding: .72rem .5rem; }
@media (max-width: 780px) { .sticky-cta { display: flex; } body { padding-bottom: 4.2rem; } }

/* ---------------------------------------------------------- Pied de page */
.site-footer { background: #08111d; color: var(--ink-3); padding: 2.6rem 0; font-size: .89rem; border-top: 1px solid var(--line); }
.site-footer img { margin-bottom: .9rem; border-radius: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1.8rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .footer-titre { font-family: var(--titre); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 .7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: var(--ink-3); }
.site-footer strong { color: #fff; }
.legal { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .8rem; }
.legal p { color: #6b829e; }
.legal strong { color: #e8a5a5; }

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