/* =====================================================================
   Funzone Réunion - squat-klieg.com
   LA BANDE: the catalogue is the layout. Every genre is a band of
   constant height and ragged width, so each piece of key art keeps its
   own proportions and nothing is ever cropped or upscaled.
   Brand orange #fc7a21 sampled from funzone-logo.png - the logo is
   monochrome, so the neutrals below are a deliberate choice, not brand.
   ===================================================================== */

:root{
  --bg:#0c0b0f;
  --surface:#15131a;
  --surface-2:#1d1a24;
  --line:#282430;
  --line-2:#3a3547;

  --ink:#f5f3f8;
  --ink-2:#c9c4d2;
  --muted:#a6a1b0;

  --orange:#fc7a21;
  --orange-hi:#ff9040;
  --on-orange:#170d02;

  --r-sm:8px;
  --r:14px;
  --r-lg:22px;

  --ease:cubic-bezier(.2,.8,.2,1);
  --shadow:0 30px 60px -34px rgba(0,0,0,.95);

  --display:'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body:'Public Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --code:'DM Mono', ui-monospace, monospace;

  /* the constant height of every band row */
  --band-h:clamp(84px, 9.4vw, 132px);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:80px}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--body); font-size:17px; line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
h1,h2,h3,h4{margin:0; font-family:var(--display); font-weight:800; line-height:1.03; letter-spacing:-.028em}
p{margin:0}
ul,ol{margin:0}

.wrap{width:min(1240px, calc(100% - 2.2rem)); margin-inline:auto}

.skip-link{position:absolute; left:-9999px; top:0; z-index:200; background:var(--orange); color:var(--on-orange); padding:.8rem 1.2rem; font-weight:700}
.skip-link:focus{left:0}
:focus-visible{outline:2.5px solid var(--orange-hi); outline-offset:3px; border-radius:6px}

/* ============================== CONTROLS ============================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  font-family:var(--display); font-weight:700; font-size:1.02rem;
  padding:.9rem 1.6rem; min-height:52px; border-radius:999px;
  border:0; cursor:pointer;
  background:var(--orange); color:var(--on-orange);
  transition:background .16s var(--ease), transform .16s var(--ease);
}
.btn:hover{background:var(--orange-hi)}
.btn:active{transform:translateY(1px)}
.btn-sm{min-height:44px; padding:.6rem 1.15rem; font-size:.94rem}
.btn-lg{font-size:1.1rem; padding:1.05rem 2rem; min-height:58px}
.btn-ghost{background:transparent; color:var(--ink); border:1px solid var(--line-2)}
.btn-ghost:hover{background:var(--surface-2)}

/* ============================== HEADER ============================== */
.top{
  position:sticky; top:0; z-index:100;
  background:rgba(12,11,15,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.bar{display:flex; align-items:center; gap:1.2rem; padding:.7rem 0}
.logo{display:inline-flex; align-items:center; min-height:44px; flex:0 0 auto}
.logo img{height:30px; width:auto}
.burger{
  display:none; margin-left:auto; width:48px; height:48px; padding:0; cursor:pointer;
  border:1px solid var(--line-2); border-radius:var(--r-sm); background:var(--surface-2);
  align-items:center; justify-content:center;
}
.burger span{position:relative; display:block; width:18px; height:2px; background:var(--ink)}
.burger span::before,.burger span::after{content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink); transition:.18s var(--ease)}
.burger span::before{top:-6px} .burger span::after{top:6px}
.top[data-open="true"] .burger span{background:transparent}
.top[data-open="true"] .burger span::before{top:0; transform:rotate(45deg)}
.top[data-open="true"] .burger span::after{top:0; transform:rotate(-45deg)}
.nav{margin-left:auto}
.nav ul{display:flex; align-items:center; gap:.1rem; list-style:none; padding:0; margin:0}
.nav a{
  display:flex; align-items:center; min-height:44px; color:var(--ink-2);
  font-size:.95rem; font-weight:500; padding:.5rem .8rem; border-radius:var(--r-sm);
  transition:color .16s var(--ease), background .16s var(--ease);
}
.nav a:hover{color:var(--ink); background:var(--surface-2)}
.nav .nav-cta{margin-left:.5rem}
.nav .nav-cta a{background:var(--orange); color:var(--on-orange); font-weight:700; padding:.5rem 1.1rem; border-radius:999px}
.nav .nav-cta a:hover{background:var(--orange-hi); color:var(--on-orange)}

/* ================================ HERO ================================ */
.hero{padding-block:clamp(2.4rem,5vw,4.4rem) clamp(1.6rem,3vw,2.6rem)}
.hero-grid{display:grid; grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr); gap:clamp(1.8rem,4vw,3.6rem); align-items:center}
.hero h1{font-size:clamp(2.4rem,5.4vw,4.3rem); text-wrap:balance}
.hero h1 em{font-style:normal; color:var(--orange)}
.hero-sub{margin-top:1.2rem; font-size:1.13rem; color:var(--ink-2); max-width:50ch}

/* the activation panel - this is the only conversion path, there is no
   campaign link, so it states the SMS instead of pretending to be a button */
.act{
  margin-top:1.8rem; background:var(--surface); border:1px solid var(--line-2);
  border-radius:var(--r); padding:1.25rem 1.4rem;
}
.act .lbl{font-family:var(--code); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.act .val{margin-top:.45rem; font-family:var(--display); font-weight:800; font-size:clamp(1.3rem,2.6vw,1.72rem); letter-spacing:-.02em}
.act .val b{color:var(--orange); font-weight:800}
.act .sub{margin-top:.6rem; font-size:.9rem; color:var(--muted)}

.hero-facts{display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1.4rem}
.fact{
  font-size:.86rem; color:var(--ink-2); background:var(--surface);
  border:1px solid var(--line); border-radius:999px; padding:.45rem .9rem;
}

/* three pieces of key art, all natively 1300x500, shown far below that */
.hero-art{display:grid; gap:12px}
.hero-art a{display:block; border-radius:var(--r); overflow:hidden; background:var(--surface); box-shadow:inset 0 0 0 1px var(--line-2)}
.hero-art img{width:100%; height:auto; aspect-ratio:13/5; object-fit:cover; transition:transform .5s var(--ease)}
.hero-art a:hover img{transform:scale(1.03)}
.hero-art .cap{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:.6rem .9rem; font-size:.88rem; color:var(--ink-2);
}
.hero-art .cap b{font-family:var(--display); font-weight:700; color:var(--ink); font-size:.95rem}
.hero-art .cap span{font-family:var(--code); font-size:.7rem; color:var(--muted)}

/* ============================== SECTIONS ============================== */
.section{padding-block:clamp(2.8rem,5.5vw,4.6rem)}
.section-alt{background:var(--surface); border-block:1px solid var(--line)}
.sec-head{max-width:48rem}
.sec-head.center{margin-inline:auto; text-align:center}
.sec-head h2{font-size:clamp(1.95rem,3.8vw,3rem)}
.sec-head p{margin-top:.9rem; font-size:1.05rem; color:var(--ink-2)}

/* =============================== BANDS ===============================
   One band per real category. Art keeps its own aspect ratio and every
   card shares one height, so widths go ragged and nothing is cropped. */
.bands{margin-top:clamp(1.8rem,3.5vw,2.8rem); display:grid; gap:clamp(1.6rem,3vw,2.4rem)}
.band{border-top:1px solid var(--line); padding-top:1.15rem}
.band-head{display:flex; align-items:baseline; gap:.9rem; flex-wrap:wrap; margin-bottom:.95rem}
.band-head h3{font-size:clamp(1.15rem,2.1vw,1.5rem)}
.band-head .n{font-family:var(--code); font-size:.72rem; color:var(--muted); letter-spacing:.04em}
.band-games{display:flex; flex-wrap:wrap; gap:12px}
.gcard{
  /* grow proportional to the image's own ratio: the row justifies to the
     edge and every card in it lands on the same height, uncropped.
     The cap stops a lone trailing card from ballooning to full width. */
  flex:var(--rn) 1 calc(var(--band-h) * var(--rn));
  max-width:min(100%, calc(var(--band-h) * var(--rn) * 1.5));
}
.gcard .art{
  display:block; width:100%; height:auto; aspect-ratio:var(--r-art);
  border-radius:var(--r-sm); overflow:hidden; background:var(--surface-2);
  /* an inset ring rather than a border: a border would be added to the
     aspect-ratio box and crop the art by a fraction of a percent */
  box-shadow:inset 0 0 0 1px var(--line-2);
  transition:box-shadow .18s var(--ease), transform .18s var(--ease);
}
.gcard .art img{width:100%; height:100%; object-fit:cover}
.gcard:hover .art,.gcard:focus-visible .art{box-shadow:inset 0 0 0 2px var(--orange); transform:translateY(-2px)}
.gcard .nm{
  display:block; margin-top:.45rem; font-size:.82rem; line-height:1.3; color:var(--ink-2);
  max-width:100%;
}
.gcard:hover .nm{color:var(--ink)}

/* ============================== ABSENCES ============================== */
.absence{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-top:2.2rem}
.ab{background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r); padding:1.35rem 1.3rem}
.ab h3{font-size:1.08rem}
.ab p{margin-top:.5rem; color:var(--muted); font-size:.94rem}

/* ============================== STEPS ============================== */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; margin-top:2.2rem; counter-reset:s}
.step{background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r); padding:1.5rem 1.4rem}
.step .n{
  width:36px; height:36px; border-radius:999px; display:flex; align-items:center; justify-content:center;
  background:var(--orange); color:var(--on-orange); font-family:var(--display); font-weight:800; margin-bottom:1rem;
}
.step h3{font-size:1.16rem}
.step p{margin-top:.5rem; color:var(--ink-2); font-size:.97rem}

/* ============================== PRICING ============================== */
.price-wrap{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.3rem; margin-top:2.2rem; align-items:start}
.price-card{background:var(--surface-2); border:1px solid var(--line-2); border-radius:var(--r-lg); padding:clamp(1.6rem,3vw,2.3rem); box-shadow:var(--shadow)}
.price-card .k{font-family:var(--code); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--orange)}
.amt{display:flex; align-items:baseline; gap:.6rem; margin-top:.7rem}
.amt .v{font-family:var(--display); font-size:clamp(2.6rem,5vw,3.6rem); font-weight:800; line-height:1; letter-spacing:-.04em}
.amt .u{color:var(--muted); font-size:1rem}
.ticks{list-style:none; padding:0; margin:1.4rem 0 0; display:grid; gap:.7rem}
.ticks li{position:relative; padding-left:1.7rem; color:var(--ink-2)}
.ticks li::before{content:""; position:absolute; left:0; top:.44em; width:10px; height:10px; border-radius:999px; background:var(--orange)}
.price-card .act{margin-top:1.6rem; text-align:center}
.fine{margin-top:1rem; font-size:.83rem; line-height:1.62; color:var(--muted)}
.price-side h3{font-size:1.28rem}
.price-side p{margin-top:.7rem; color:var(--ink-2)}
.support-box{margin-top:1.3rem; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r); padding:1.1rem 1.2rem}
.support-box .l{font-family:var(--code); font-size:.67rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
.support-box .v{margin-top:.2rem; font-weight:600}
.support-box .v a{display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:3px}

/* ================================ FAQ ================================ */
.qa{max-width:54rem; margin:2.2rem auto 0; border-top:1px solid var(--line)}
.qa details{border-bottom:1px solid var(--line)}
.qa summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; gap:1.1rem;
  padding:1.2rem .3rem; min-height:56px;
  font-family:var(--display); font-weight:700; font-size:1.07rem;
}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{
  content:""; margin-left:auto; flex:0 0 auto; width:11px; height:11px;
  border-right:2px solid var(--muted); border-bottom:2px solid var(--muted);
  transform:rotate(45deg) translate(-3px,-3px); transition:transform .22s var(--ease);
}
.qa details[open] summary::after{transform:rotate(225deg) translate(-3px,-3px); border-color:var(--orange)}
.qa .a{padding:0 .3rem 1.3rem; color:var(--ink-2); max-width:70ch}

/* =============================== CLOSE =============================== */
.close{
  position:relative; overflow:hidden; text-align:center;
  background:var(--surface-2); border:1px solid var(--line-2);
  border-radius:var(--r-lg); padding:clamp(2rem,5vw,3.6rem);
}
.close::before{
  content:""; position:absolute; inset:auto -10% -60% -10%; height:400px; pointer-events:none;
  background:radial-gradient(closest-side, rgba(252,122,33,.16), transparent 70%);
}
.close > *{position:relative}
.close h2{font-size:clamp(2rem,4vw,2.9rem); max-width:20ch; margin-inline:auto}
.close p{margin:1rem auto 0; color:var(--ink-2); max-width:52ch}
.close .act{max-width:34rem; margin:1.7rem auto 0; text-align:center}

/* ============================= DOC PAGES ============================= */
.page-hero{padding-block:clamp(2.2rem,5vw,3.4rem); border-bottom:1px solid var(--line)}
.page-hero .back{display:inline-flex; align-items:center; gap:.45rem; color:var(--orange); font-size:.93rem; font-weight:600; padding:.5rem 0; min-height:40px}
.page-hero .back::before{content:"\2190"}
.page-hero h1{font-size:clamp(2rem,4.2vw,3rem)}
.page-hero .lead{margin-top:1rem; color:var(--ink-2); font-size:1.05rem; max-width:64ch}
.page-hero .updated{margin-top:.85rem; font-family:var(--code); font-size:.73rem; color:var(--muted)}
.doc{padding-block:clamp(2.2rem,5vw,3.2rem)}
.doc-card{max-width:62rem; margin-inline:auto; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(1.5rem,4vw,2.8rem)}
.doc-card h2{font-size:clamp(1.25rem,2.3vw,1.6rem); margin-top:2.4rem; scroll-margin-top:92px}
.doc-card h2:first-of-type{margin-top:0}
.doc-card h3{font-size:1.1rem; margin-top:1.6rem}
.doc-card p{margin-top:1rem; color:var(--ink-2); max-width:72ch}
.doc-card ul,.doc-card ol{margin-top:1rem; padding-left:1.35rem; display:grid; gap:.55rem; color:var(--ink-2); max-width:72ch}
.doc-card a{color:var(--orange); text-decoration:underline; text-underline-offset:2px}
.doc-card hr{border:0; border-top:1px solid var(--line); margin:2.2rem 0}
.toc{background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r); padding:1.2rem 1.4rem; margin-bottom:2.2rem}
.toc h2{font-size:1rem!important; margin:0!important}
.toc ol{margin-top:.8rem; columns:2; column-gap:2.2rem; gap:0}
.toc li{margin-bottom:.45rem; break-inside:avoid}
.note{background:rgba(252,122,33,.10); border:1px solid rgba(252,122,33,.32); border-radius:var(--r); padding:1.1rem 1.25rem; margin-top:1.7rem; color:var(--ink-2); font-size:.97rem}
.info-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:1.9rem}
.info-cards .ic{background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r); padding:1.05rem 1.15rem}
.info-cards .l{font-family:var(--code); font-size:.65rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
.info-cards .v{font-family:var(--display); font-size:1.08rem; font-weight:700; margin-top:.25rem; word-break:break-word}
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:1.3rem; margin-top:1.7rem}
.contact-card{background:var(--surface-2); border:1px solid var(--line); border-radius:var(--r); padding:1.4rem}
.contact-card h2{margin-top:0!important; font-size:1.2rem!important}
.end-cta{display:flex; flex-wrap:wrap; gap:.8rem; margin-top:2.2rem}

/* ================================ FOOTER ================================ */
.foot{background:#08070b; border-top:1px solid var(--line); padding-block:clamp(2.6rem,5vw,3.4rem) 2rem; margin-top:clamp(2.4rem,5vw,3.6rem)}
.foot-grid{display:grid; grid-template-columns:1.8fr 1fr 1fr; gap:2.4rem}
.foot h4{font-family:var(--code); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); margin-bottom:.9rem}
.foot ul{list-style:none; padding:0; margin:0; display:grid; gap:0}
.foot li a{display:flex; align-items:center; padding:.55rem 0; min-height:44px; color:var(--ink-2); font-size:.94rem}
.foot li a:hover{color:var(--orange)}
.foot-brand img{height:34px; width:auto; margin-bottom:1.1rem}
.foot-tag{font-size:.92rem; color:var(--muted); max-width:36ch}
.foot-contact{display:grid; gap:0; margin-top:.6rem}
.foot-contact a{display:inline-flex; align-items:center; padding:.55rem 0; min-height:44px; color:var(--ink-2); font-size:.94rem}
.foot-contact a:hover{color:var(--orange)}
.foot-base{margin-top:2.4rem; padding-top:1.7rem; border-top:1px solid var(--line); text-align:center}
.foot-promoter{color:var(--muted); font-size:.8rem; line-height:1.65; max-width:96ch; margin:0 auto}
.foot-promoter a{color:var(--ink-2); text-decoration:underline}
.foot-copy{color:var(--ink); font-size:.85rem; font-weight:700; margin:1.5rem auto 0}
.foot-legal{color:var(--muted); font-size:.78rem; margin:.45rem auto 0}

/* ============================== MOTION ============================== */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition-duration:.01ms!important; animation-duration:.01ms!important}
}

/* ============================ RESPONSIVE ============================ */
@media (max-width:1080px){
  .hero-grid{grid-template-columns:1fr}
  .absence{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps{grid-template-columns:1fr}
  .price-wrap{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .burger{display:flex}
  .nav{
    position:absolute; left:0; right:0; top:100%; display:none; margin:0;
    background:var(--surface); border-bottom:1px solid var(--line); box-shadow:var(--shadow);
  }
  .top[data-open="true"] .nav{display:block}
  .nav ul{flex-direction:column; align-items:stretch; gap:0; padding:.5rem 1.1rem 1.1rem}
  .nav a{padding:.9rem .3rem}
  .nav .nav-cta{margin:.7rem 0 0}
  .nav .nav-cta a{justify-content:center; padding:.9rem 1.1rem}
  .contact-grid,.info-cards{grid-template-columns:1fr}
  .toc ol{columns:1}
}
@media (max-width:620px){
  body{font-size:16px}
  .wrap{width:calc(100% - 1.4rem)}
  .absence{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr; gap:1.6rem}
}

/* Below the tablet breakpoint a constant height would make single-card rows
   look empty, so cards go full-width and the ratio drives the height. */
@media (max-width:760px){
  .gcard{flex:1 1 240px; max-width:100%}
}
