/* ==========================================================================
   falling-pickaxe-fr.com : feuille de style
   Direction visuelle : fond blanc, cartes arrondies, bandeau bleu ciel repris
   du logo, accent orange sur les actions. Titres en Bricolage Grotesque.
   ========================================================================== */

/* ------------------------------------------------------ 0. Police locale */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("https://falling-pickaxe-fr.com/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 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;
}

/* ----------------------------------------------------------- 1. Variables */
:root {
  --paper:   #ffffff;
  --sky:     #a9c9f5;
  --sky-50:  #eaf1fd;
  --sky-25:  #f5f8fe;
  --ink:     #16202b;
  --ink-2:   #4d5c6d;
  --ink-3:   #77869a;
  --line:    #e2e9f2;
  --line-2:  #cfdbe9;
  --ore:     #f5a524;
  --ore-d:   #b56f06;
  --ice:     #37b6dd;
  --dirt:    #7a4c25;
  --good:    #1f8a52;
  --bad:     #cc3b32;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --col: 72rem;
  --read: 45rem;
  --r: 14px;
  --r-sm: 9px;
  --shadow: 0 1px 2px rgba(22,32,43,.05), 0 14px 34px -22px rgba(22,32,43,.4);
}

/* ------------------------------------------------------- 2. Base et reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  overflow-x: hidden;
}

img, picture, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
.pixel { image-rendering: pixelated; }

a { color: #0f6ea8; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #0b5480; }

:focus-visible { outline: 3px solid var(--ore); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.3rem + 3.1vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .6vw, 1.4rem); }
h4 { font-size: 1.02rem; }

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

.wrap { width: min(100% - 2.5rem, var(--col)); margin-inline: auto; }
.narrow { max-width: var(--read); }

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

.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;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ore-d); margin: 0 0 .6rem;
}

/* -------------------------------------------------------------- 3. Entête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; }
.brand img { width: 176px; height: 59px; border-radius: 8px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .45rem .8rem; border-radius: 999px;
  font-size: .93rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.site-nav a:hover { background: var(--sky-50); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--sky-50); color: #0d1620; }

.age-pill {
  font-weight: 700; font-size: .78rem; color: var(--bad);
  border: 2px solid var(--bad); border-radius: 999px; padding: .1rem .55rem;
}
@media (max-width: 940px) {
  .site-nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .age-pill { margin-left: auto; }
  .brand img { width: 148px; height: 49px; }
}

/* --------------------------------------------------------- 4. Sous-menu */
.subnav {
  position: sticky; top: 4.5rem; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav ul {
  display: flex; gap: .5rem; list-style: none; margin: 0; padding: .6rem 0;
  overflow-x: auto; scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  white-space: nowrap; text-decoration: none; font-size: .88rem; font-weight: 600;
  color: var(--ink-2); background: var(--sky-25);
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem;
}
.subnav a:hover { background: var(--sky-50); color: var(--ink); border-color: var(--line-2); }

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

/* --------------------------------------------------------------- 6. Hero */
.hero { background: linear-gradient(180deg, var(--sky-50) 0, var(--sky-25) 62%, #fff 100%); padding: 2rem 0 2.75rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.hero h1 { margin-bottom: .45rem; }
.lede { font-size: 1.13rem; color: var(--ink-2); }

.hero-visual {
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: #fff;
}
.hero-visual img { width: 100%; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.pills li {
  display: flex; align-items: baseline; gap: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .9rem; font-size: .9rem; box-shadow: 0 1px 2px rgba(22,32,43,.04);
}
.pills b { font-family: var(--font-display); font-weight: 700; }
.pills span { color: var(--ink-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

.byline { display: flex; align-items: center; gap: .75rem; margin-top: 1.6rem; font-size: .9rem; color: var(--ink-2); }
.byline img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(22,32,43,.18); }
.byline a { font-weight: 600; }

/* ------------------------------------------------------------ 7. Boutons */
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.btn {
  --bg: var(--ore); --fg: #2a1a02; --bd: #d98f10;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; text-align: center;
  padding: .85rem 1.5rem; border-radius: 999px;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd);
  box-shadow: 0 1px 2px rgba(22,32,43,.08), 0 10px 20px -14px rgba(181,111,6,.9);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn-ice { --bg: var(--ice); --fg: #04222c; --bd: #1d9cc2; box-shadow: 0 1px 2px rgba(22,32,43,.08), 0 10px 20px -14px rgba(29,156,194,.9); }
.btn-outline { --bg: #fff; --fg: var(--ink); --bd: var(--line-2); box-shadow: none; }
.btn-outline:hover { background: var(--sky-25); }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-wide { width: 100%; }

/* --------------------------------------------------------- 8. Cadre démo */
.demo { padding: 2.5rem 0 1rem; scroll-margin-top: 9rem; }
.demo-shell { border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.demo-frame { position: relative; aspect-ratio: 16 / 9; background: #0d1620; }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.demo-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; margin: 0; padding: 0; cursor: pointer; background: none; display: block;
}
.demo-poster img { width: 100%; height: 100%; object-fit: cover; }
.demo-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,22,32,.15), rgba(13,22,32,.65));
}
.demo-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  z-index: 2; display: grid; justify-items: center; gap: .8rem; width: min(90%, 24rem);
  text-align: center; pointer-events: none;
}
.demo-play .disc {
  width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--ore); color: #2a1a02;
  display: grid; place-items: center; box-shadow: 0 10px 26px -10px rgba(0,0,0,.7);
}
.demo-play .disc svg { width: 1.9rem; height: 1.9rem; margin-left: .2rem; }
.demo-play b { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.demo-play small { color: #e7eef7; font-size: .85rem; }
.demo-poster:hover .disc { background: #ffb845; }

.demo-bar[hidden] { display: none; }
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  padding: .7rem .9rem; background: var(--sky-25); border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--ink-2);
}
.demo-bar .spacer { margin-left: auto; }
.demo-note { font-size: .85rem; color: var(--ink-3); margin: .9rem 0 0; }

/* ---------------------------------------------------------- 9. Article */
.prose { max-width: var(--read); margin: 0 auto; padding: 2.5rem 0 3.5rem; }
.prose section { scroll-margin-top: 9rem; }
.prose section + section { margin-top: 3rem; }
.prose h2 { margin-top: 0; }
.prose h2::before {
  content: ""; display: block; width: 2.5rem; height: 5px; border-radius: 999px;
  background: var(--ore); margin-bottom: .9rem;
}
.prose h3 { margin-top: 2rem; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.3em; }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .55em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .55rem; height: .55rem; background: var(--ice); border-radius: 2px; transform: rotate(45deg);
}
.prose ol { padding-left: 1.25rem; margin: 0 0 1.3em; }
.prose ol li { margin-bottom: .55em; }
.prose ol li::marker { font-family: var(--font-display); font-weight: 700; color: var(--ore-d); }

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

/* --------------------------------------------------------- 10. Tableaux */
.table-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 1.6rem; background: #fff; }
.table-card .scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
caption { text-align: left; font-family: var(--font-display); font-weight: 700; padding: .9rem 1rem .2rem; }
th, td { padding: .75rem 1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--sky-25); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
tbody th { font-weight: 600; }
tbody tr:nth-child(even) td { background: #fbfcfe; }

/* --------------------------------------------------------- 11. Encadrés */
.note {
  border: 1px solid var(--line); border-left: 5px solid var(--ore);
  background: #fffaf0; border-radius: var(--r-sm); padding: 1.1rem 1.25rem; margin: 0 0 1.6rem;
}
.note p:last-child { margin-bottom: 0; }
.note .eyebrow { margin-bottom: .35rem; }
.note-ice { border-left-color: var(--ice); background: var(--sky-25); }
.note-ice .eyebrow { color: #0e7fa1; }

/* ------------------------------------- 12. Signature : la jauge de couches */
.gauge { border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; margin: 1.8rem 0; background: #fff; box-shadow: var(--shadow); }
.gauge h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.gauge p.hint { font-size: .88rem; color: var(--ink-3); margin: 0 0 1rem; }
.gauge-track { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.gauge-track div {
  height: 3.1rem; border-radius: 4px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: #14202c;
}
.gauge-track div span { opacity: .75; }
.gauge-legend { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: .85rem; font-size: .82rem; color: var(--ink-2); }
.gauge-legend b { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
@media (max-width: 620px) {
  .gauge-track { grid-template-columns: repeat(6, 1fr); }
  .gauge-track div { height: 2.6rem; }
}

/* ------------------------------------------------------- 13. Verdict */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.8rem; }
@media (max-width: 640px) { .verdict { grid-template-columns: 1fr; } }
.verdict > div { border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1.25rem; }
.verdict .pros { background: #f2fbf6; border-color: #cdecdb; }
.verdict .cons { background: #fef5f4; border-color: #f3d4d1; }
.verdict h3 { font-size: 1rem; margin-bottom: .8rem; }
.verdict .pros h3 { color: var(--good); }
.verdict .cons h3 { color: var(--bad); }
.verdict ul { list-style: none; margin: 0; padding: 0; }
.verdict li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; font-size: .95rem; }
.verdict .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.verdict .cons li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 700; }

/* ---------------------------------------------------------- 14. Note */
.score { display: flex; align-items: center; gap: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem; background: var(--sky-25); margin: 0 0 1.8rem; }
@media (max-width: 560px) { .score { flex-direction: column; align-items: flex-start; gap: 1rem; } }
.score .big { font-family: var(--font-display); font-weight: 800; font-size: 2.9rem; line-height: 1; color: var(--ink); }
.score .big sub { font-size: .95rem; font-weight: 600; color: var(--ink-3); vertical-align: baseline; }
.score .bars { flex: 1; display: grid; gap: .45rem; width: 100%; }
.score .bars div { display: grid; grid-template-columns: 8rem 1fr; align-items: center; gap: .7rem; font-size: .84rem; color: var(--ink-2); }
.score .bars i { display: block; height: .5rem; background: #dfe8f3; border-radius: 999px; position: relative; }
.score .bars i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: var(--ore); border-radius: 999px; }

/* -------------------------------------------------------- 15. Casinos */
.casinos { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.casino {
  display: grid; grid-template-columns: 10rem 1fr auto; gap: 1.25rem; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; background: #fff; box-shadow: var(--shadow);
}
@media (max-width: 760px) { .casino { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.logo-slot {
  width: 100%; aspect-ratio: 16 / 7; border: 1px dashed var(--line-2); border-radius: var(--r-sm);
  background: var(--sky-25); display: grid; place-items: center; text-align: center;
  font-size: .72rem; color: var(--ink-3); padding: .4rem;
}
.casino h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.casino p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.casino .meta { font-size: .8rem; color: var(--ore-d); font-weight: 600; }

/* ------------------------------------------------------------- 16. FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: .6rem; background: #fff; }
.faq summary { cursor: pointer; padding: .95rem 1.1rem; font-weight: 600; list-style: none; display: flex; gap: .75rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--ore-d); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.1rem 1rem; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- 17. Auteur */
.author {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.35rem; align-items: start;
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.35rem; background: var(--sky-25); margin-top: 2.5rem;
}
@media (max-width: 620px) { .author { grid-template-columns: 1fr; } }
.author img { width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(22,32,43,.16); }
.author h2, .author h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.author .role { font-size: .84rem; font-weight: 600; color: var(--ore-d); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.author p { font-size: .94rem; color: var(--ink-2); }

/* ------------------------------------------------- 18. Barre CTA mobile */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px -12px rgba(22,32,43,.5);
}
.sticky-cta .btn { flex: 1 1 0; min-width: 0; font-size: .88rem; padding: .8rem .5rem; }
@media (max-width: 780px) {
  .sticky-cta.is-visible { display: flex; }
  body { padding-bottom: 4.75rem; }
  .subnav { top: 4.5rem; }
}

/* --------------------------------------------------------- 19. Pied de page */
.site-footer { background: var(--sky-25); border-top: 1px solid var(--line); padding: 2.75rem 0 3rem; font-size: .93rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); margin-bottom: .7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.65; color: var(--ink-3); }
.legal strong { color: var(--bad); }

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