:root{
  --bg-main:#17111C;
  --bg-band:#1D1622;
  --bg-card:#221A29;
  --bg-surface:#2B2233;
  --accent:#FFDB6A;
  --accent-deep:#FFAA06;
  --accent-2:#DA2C2C;
  --text-main:#F2ECF4;
  --text-muted:#A597AE;
  --border:rgba(255,219,106,0.16);
  --border-strong:rgba(255,219,106,0.34);
  --bar-bg:#F7F4F2;
  --bar-text:#241B2B;
  --bar-muted:#6B5F73;
  --bar-border:rgba(36,27,43,0.14);
  --btn-text:#17111C;
  --font-head:"Archivo Expanded","Archivo",system-ui,"Segoe UI",sans-serif;
  --font-body:"Source Sans 3","Source Sans Pro",system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:1280px;
  --gutter:1.25rem;
  --radius:8px;
  --radius-sm:6px;
  --radius-lg:10px;
  --sect-pad:clamp(2.25rem,4.5vw,3.5rem);
  --stack:1rem;
  --pad-card:1.15rem;
  --shadow:0 10px 28px rgba(0,0,0,.42);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  overflow-x:hidden;
  background:var(--bg-main);
  color:var(--text-main);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.62;
  font-synthesis-weight:none;
}
img{max-width:100%}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:800;letter-spacing:.005em;line-height:1.1;margin:0 0 .6em}
h1{font-size:clamp(2rem,4.6vw,3.15rem);text-wrap:balance}
h2{font-size:clamp(1.5rem,2.9vw,2.15rem);text-wrap:balance}
h3{font-size:clamp(1.15rem,1.9vw,1.4rem)}
h4{font-size:1.05rem}
p{margin:0 0 var(--stack)}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:.16em}
a:hover{color:var(--accent-deep)}
ul,ol{margin:0 0 var(--stack);padding-inline-start:1.15rem}
li{margin-bottom:.4rem}
strong{color:#fff}
small{font-size:.85rem}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:2px}
[id]{scroll-margin-top:84px}
::selection{background:var(--accent);color:#17111C}

/* ---------- container / sections (LAYOUT = strips) ---------- */
.frd-container{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.frd-container>*{min-width:0}

.frd-section{
  position:relative;
  width:100%;
  padding-block:var(--sect-pad);
  border-top:2px solid transparent;
  border-image:linear-gradient(90deg,var(--accent) 0,var(--accent-deep) 42%,transparent 92%) 1;
  background:var(--bg-main);
}
.frd-section--alt{background:var(--bg-band)}
.frd-section--plain{border-image:none;border-top:1px solid var(--border)}
/* pas de double filet : le héros et le bloc CTA portent déjà leur propre bordure */
.frd-hero+.frd-section{border-top:0}
main>.frd-cta:last-child{border-bottom:0}
/* dernier bloc d'une section : pas de marge résiduelle sous le contenu */
.frd-section .frd-container>:last-child,.frd-prose>:last-child,.frd-overview>:last-child{margin-block-end:0}
.frd-section__head{margin-bottom:clamp(1.25rem,2.4vw,1.9rem)}
.frd-section__head>*:last-child{margin-bottom:0}

/* dossard (bib number) opening each strip */
.frd-eyebrow{
  display:flex;align-items:center;gap:.6rem;
  margin:0 0 .55rem;
  font-family:var(--font-head);font-size:.76rem;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--accent);
}
.frd-eyebrow::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--border-strong),transparent)}
.frd-bib{
  display:block;
  font-family:var(--font-head);font-weight:800;font-size:clamp(2.6rem,8vw,5.6rem);
  line-height:.82;letter-spacing:-.02em;
  color:transparent;-webkit-text-stroke:2px rgba(255,219,106,.5);
  margin:0 0 .35rem;font-variant-numeric:tabular-nums;
  pointer-events:none;user-select:none;
}
.frd-lede{font-size:1.08rem;color:var(--text-muted);margin-bottom:0}

/* ---------- buttons ---------- */
.frd-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.72rem 1.5rem;
  font-family:var(--font-head);font-size:.95rem;font-weight:700;letter-spacing:.03em;
  text-decoration:none;text-align:center;
  border:0;border-radius:var(--radius);cursor:pointer;
  background:linear-gradient(180deg,var(--accent),var(--accent-deep));
  color:#17111C;
  transition:box-shadow .18s ease,transform .18s ease,filter .18s ease;
}
.frd-btn:hover{color:#17111C;box-shadow:0 0 0 1px var(--accent),0 8px 24px rgba(255,170,6,.32);transform:translateY(-1px)}
.frd-btn:active{transform:translateY(0)}
.frd-btn--ghost{
  background:transparent;color:var(--accent);
  box-shadow:inset 0 0 0 1px var(--border-strong);
}
.frd-btn--ghost:hover{color:var(--accent);background:rgba(255,219,106,.08);box-shadow:inset 0 0 0 1px var(--accent)}
.frd-btn--sm{padding:.5rem 1rem;font-size:.85rem}
.frd-btn--block{display:flex;width:100%}

/* ---------- header (LOGO_TONE dark → light bar) ---------- */
.frd-header{
  position:sticky;top:0;z-index:900;
  background:var(--bar-bg);
  border-bottom:3px solid var(--accent);
  box-shadow:0 2px 14px rgba(0,0,0,.35);
}
.frd-header__bar{
  display:flex;align-items:center;gap:clamp(.75rem,2vw,1.6rem);
  min-height:66px;
  width:100%;max-width:var(--wrap);margin-inline:auto;padding:.5rem var(--gutter);
}
.frd-header__bar>*{min-width:0}
.frd-logo{display:inline-flex;align-items:center;flex-shrink:0;text-decoration:none}
.frd-logo__img{display:block;height:40px;width:auto;object-fit:contain}
.frd-nav{margin-inline-start:auto}
.frd-nav ul{display:flex;align-items:center;gap:.15rem;list-style:none;margin:0;padding:0}
.frd-nav li{margin:0}
.frd-nav a:not(.frd-btn){
  display:block;padding:.55rem .7rem;
  font-family:var(--font-head);font-size:.85rem;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;text-decoration:none;color:var(--bar-text);
  border-radius:var(--radius-sm);
}
.frd-nav a:not(.frd-btn):hover{color:#8A5B00;background:rgba(255,170,6,.14)}
.frd-nav a:not(.frd-btn)[aria-current="page"]:not(.frd-btn){box-shadow:inset 0 -2px 0 var(--accent-2)}
.frd-header__cta{flex-shrink:0}
.frd-burger{
  display:none;align-items:center;justify-content:center;flex-direction:column;gap:4px;
  width:44px;height:44px;flex-shrink:0;
  padding:0;margin-inline-start:auto;
  background:transparent;border:1px solid var(--bar-border);border-radius:var(--radius-sm);
  cursor:pointer;
}
.frd-burger span{display:block;width:22px;height:2px;background:var(--bar-text);border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.frd-header.is-open .frd-burger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.frd-header.is-open .frd-burger span:nth-child(2){opacity:0}
.frd-header.is-open .frd-burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media (max-width:900px){
  .frd-burger{display:flex;order:2;margin-inline-start:0}
  .frd-header__bar{flex-wrap:wrap;gap:.6rem}
  .frd-logo__img{max-width:min(45vw,180px);height:36px}
  .frd-nav{
    display:none;order:3;flex-basis:100%;
    margin-inline-start:0;
    border-top:1px solid var(--bar-border);
    padding-block:.5rem .9rem;
  }
  .frd-header.is-open .frd-nav{display:flex}
  .frd-nav ul{flex-direction:column;align-items:stretch;gap:.1rem;width:100%}
  .frd-nav a:not(.frd-btn){padding:.7rem .5rem;font-size:.95rem;border-bottom:1px solid var(--bar-border)}
  .frd-header__cta{order:1;margin-inline-start:auto;padding:.7rem 1.1rem;font-size:.85rem}
}
@media (max-width:479px){
  .frd-header__bar{gap:.45rem}
  .frd-header__cta{padding:.72rem .85rem;font-size:.78rem;letter-spacing:.01em}
  .frd-logo__img{height:28px;max-width:min(34vw,140px)}
}

/* ---------- hero (HERO_PATTERN = image-first) ---------- */
.frd-hero{position:relative;width:100%;background:var(--bg-main)}
.frd-hero__inner{position:relative;width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.frd-hero__img{display:block;width:100%;height:auto;max-height:70vh;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius-lg)}

.frd-hero--home{overflow:hidden;padding-block:clamp(1.75rem,3.5vw,2.75rem) var(--sect-pad);border-bottom:2px solid var(--accent)}
.frd-hero--home::before{
  content:"";position:absolute;inset-inline:0;top:-14%;height:78%;
  background:radial-gradient(58% 100% at 50% 0,rgba(255,219,106,.22) 0,rgba(255,219,106,.07) 46%,transparent 74%);
  pointer-events:none;
}
.frd-hero--home .frd-hero__inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:clamp(1rem,2.2vw,1.5rem)}
.frd-hero--home .frd-hero__img{order:-1;max-height:52vh;aspect-ratio:16/7}
@media (max-width:640px){.frd-hero--home .frd-hero__img{aspect-ratio:4/3;max-height:none}}
.frd-hero--home .frd-hero__text{max-width:none;width:100%}
.frd-hero--home .frd-eyebrow{justify-content:center}
.frd-hero--home .frd-eyebrow::after{display:none}
.frd-hero--home h1{margin-bottom:.45rem}
.frd-hero__sub{font-size:clamp(1.02rem,1.6vw,1.18rem);color:var(--text-muted);margin:0 auto .25rem}
.frd-hero__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1.1rem}
.frd-hero__note{margin:.9rem 0 0;font-size:.82rem;color:var(--text-muted)}

/* compact inner page-header */
.frd-hero--inner,.frd-page-header{
  position:relative;overflow:hidden;
  min-height:190px;display:flex;align-items:center;
  padding-block:clamp(1.5rem,3vw,2.25rem);
  background:linear-gradient(180deg,var(--bg-band),var(--bg-main));
  border-bottom:2px solid var(--accent);
}
.frd-hero--inner .frd-hero__inner,.frd-page-header .frd-hero__inner{
  position:static;
  padding-inline:max(var(--gutter),calc((100% - var(--wrap))/2 + var(--gutter)));
  max-width:none;
}
.frd-hero--inner .frd-hero__img,.frd-page-header .frd-hero__img{
  position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;
  object-fit:cover;border-radius:0;z-index:0;
}
/* le voile ne se pose que s'il y a une photo, et couvre tout le héros */
.frd-hero--inner:has(.frd-hero__img)::after,.frd-page-header:has(.frd-hero__img)::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(15,10,19,.92) 0,rgba(15,10,19,.84) 52%,rgba(15,10,19,.72) 100%);
}
.frd-hero--inner:has(.frd-hero__img) .frd-hero__sub{color:#F0EAF2}
.frd-hero--inner:has(.frd-hero__img) .frd-breadcrumb,
.frd-hero--inner:has(.frd-hero__img) .frd-breadcrumb a{color:#D5CBDA}
:where(.frd-hero--inner .frd-hero__inner>:not(.frd-hero__img)),
:where(.frd-page-header .frd-hero__inner>:not(.frd-hero__img)){position:relative;z-index:2}
.frd-hero--inner h1,.frd-page-header h1{font-size:clamp(1.7rem,3.4vw,2.5rem);margin-bottom:.35rem}
.frd-hero--inner .frd-hero__sub,.frd-page-header .frd-hero__sub{margin:0;font-size:1rem}
.frd-hero--inner .frd-hero__actions,.frd-page-header .frd-hero__actions{justify-content:flex-start;margin-top:1.25rem}

/* breadcrumb */
.frd-breadcrumb{margin:0 0 .55rem;font-size:.8rem;color:var(--text-muted)}
.frd-breadcrumb ol{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;margin:0;padding:0}
.frd-breadcrumb li{margin:0;display:flex;align-items:center;gap:.4rem}
.frd-breadcrumb li+li::before{content:"/";color:var(--border-strong)}
.frd-breadcrumb a{color:var(--text-muted);text-decoration:none}
.frd-breadcrumb a:hover{color:var(--accent)}

/* ---------- icons ---------- */
.frd-icon{width:1.5em;height:1.5em;display:inline-block;vertical-align:middle;flex-shrink:0;color:var(--accent);fill:none}
.frd-icon--lg{width:2rem;height:2rem}

/* ---------- toc ---------- */
.frd-toc{
  background:var(--bg-card);border:1px solid var(--border);border-inline-start:3px solid var(--accent);
  border-radius:var(--radius);padding:var(--pad-card);
}
.frd-toc:not(:only-child){margin-bottom:clamp(1.5rem,3vw,2.25rem)}
.frd-toc__title{font-family:var(--font-head);font-size:.8rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 .6rem}
.frd-toc ul,.frd-toc ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:.1rem 1.25rem;list-style:none;margin:0;padding:0}
.frd-toc li{margin:0}
.frd-toc a{display:block;padding:.55rem 0;font-size:.94rem;color:var(--text-main);text-decoration:none;border-bottom:1px solid var(--border)}
.frd-toc li:last-child a{border-bottom-color:transparent}
.frd-toc a:hover{color:var(--accent);border-bottom-color:var(--border-strong)}

/* ---------- overview / prose ---------- */
.frd-overview p:last-child{margin-bottom:0}
.frd-prose>h2,.frd-prose>h3{margin-top:1.6em}
.frd-prose>*:first-child{margin-top:0}

/* ---------- stats-bar (STATS_PATTERN = tiles) ---------- */
.frd-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:.85rem}
.frd-stats>*{min-width:0}
.frd-stat{
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);
  padding:var(--pad-card);
}
.frd-stat__value{
  display:block;font-family:var(--font-head);font-weight:800;font-size:clamp(1.3rem,2.6vw,2rem);
  line-height:1.05;color:var(--accent);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
.frd-stat__label{display:block;margin-top:.35rem;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}

/* ---------- feature-cards (FEATURES_PATTERN = icon-rows) ---------- */
.frd-features{display:flex;flex-direction:column;gap:0}
.frd-feature{
  display:flex;align-items:flex-start;gap:clamp(.85rem,2vw,1.35rem);
  padding-block:1.15rem;border-bottom:1px solid var(--border);
}
.frd-feature:first-child{padding-top:0}
.frd-feature:last-child{border-bottom:0;padding-bottom:0}
.frd-feature__icon{
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  width:clamp(44px,10vw,56px);height:clamp(44px,10vw,56px);
  background:linear-gradient(180deg,rgba(255,219,106,.16),rgba(255,170,6,.06));
  border:1px solid var(--border-strong);border-radius:var(--radius);color:var(--accent);
}
.frd-feature__body{min-width:0;flex:1}
.frd-feature__title{margin:0 0 .3rem;font-size:1.08rem}
.frd-feature p{margin:0;color:var(--text-muted)}

/* ---------- cards-grid ---------- */
.frd-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:1rem}
.frd-cards>*{min-width:0}
.frd-card{
  display:flex;flex-direction:column;
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);
  padding:var(--pad-card);
  transition:border-color .18s ease,transform .18s ease;
}
.frd-card:hover{border-color:var(--border-strong);transform:translateY(-2px)}
.frd-card__title{margin:0 0 .45rem;font-size:1.08rem}
.frd-card p{color:var(--text-muted)}
.frd-card>*:last-child{margin-bottom:0}
.frd-card__meta{margin-top:auto;padding-top:.8rem;font-size:.84rem;color:var(--text-muted)}

/* chips / badges */
.frd-chip{
  display:inline-flex;align-items:center;gap:.35rem;
  padding:.24rem .6rem;border-radius:var(--radius);
  font-family:var(--font-head);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  background:var(--accent-2);color:#FFF3F3;
}
.frd-chip--gold{background:transparent;color:var(--accent);box-shadow:inset 0 0 0 1px var(--border-strong)}
.frd-chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}
.frd-chips li{margin:0}

/* ---------- categories-bar ---------- */
.frd-cats{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}
.frd-cats li{margin:0;min-width:0}
.frd-cats a{
  display:inline-block;padding:.45rem .9rem;
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);
  font-size:.85rem;font-weight:600;color:var(--text-main);text-decoration:none;
}
.frd-cats a:hover{color:var(--accent);border-color:var(--border-strong);background:var(--bg-surface)}

/* ---------- tables (panneau d'affichage) ---------- */
.frd-table-wrap{overflow-x:auto;max-width:100%;margin-block:1.5rem;border:1px solid var(--border);border-radius:var(--radius)}
.frd-table{width:100%;border-collapse:collapse;font-size:.94rem;background:var(--bg-card)}
.frd-table caption{caption-side:top;padding:.75rem 1rem;text-align:start;font-size:.82rem;color:var(--text-muted)}
.frd-table th,.frd-table td{padding:.72rem .95rem;text-align:start;border-bottom:1px solid var(--border);vertical-align:middle}
.frd-table th{
  white-space:nowrap;
  font-family:var(--font-head);font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent);background:var(--bg-surface);
}
.frd-table td{color:var(--text-main)}
.frd-table tbody tr:last-child td{border-bottom:0}
.frd-table tbody tr:hover td{box-shadow:inset 0 -2px 0 var(--accent-2)}
.frd-table .frd-num{font-variant-numeric:tabular-nums;color:var(--accent);font-weight:600;white-space:nowrap}

/* payments-table */
.frd-payments .frd-table td:first-child{font-weight:600}
.frd-pay-method{display:flex;align-items:center;gap:.6rem;min-width:0}
.frd-pay-method .frd-icon{color:var(--accent)}
.frd-pay-method span{overflow-wrap:anywhere}

/* ---------- two-cols + content panel (deux tribunes) ---------- */
.frd-two{display:grid;grid-template-columns:1fr;gap:clamp(1.25rem,3vw,2rem)}
.frd-two>*{min-width:0}
@media (min-width:900px){
  .frd-two{grid-template-columns:1.35fr .95fr;align-items:start;column-gap:clamp(1.75rem,3.5vw,2.75rem)}
  .frd-two--even{grid-template-columns:1fr 1fr}
  .frd-two--even>*+*{padding-inline-start:clamp(1.5rem,3vw,2.5rem);border-inline-start:1px solid var(--border-strong)}
}
.frd-two__main>*:last-child{margin-bottom:0}

.frd-panel{
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);
  padding:clamp(1.1rem,2.4vw,1.5rem);box-shadow:var(--shadow);
}
.frd-panel+.frd-panel{margin-top:1rem}
.frd-panel__title{
  margin:0 0 .85rem;padding-bottom:.6rem;border-bottom:1px solid var(--border);
  font-family:var(--font-head);font-size:.85rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);
}
.frd-panel>*:last-child{margin-bottom:0}

.frd-facts{margin:0}
.frd-facts__row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem 1rem;padding:.6rem 0;border-bottom:1px solid var(--border)}
.frd-facts__row:last-child{border-bottom:0;padding-bottom:0}
.frd-facts dt{font-size:.86rem;color:var(--text-muted);margin:0}
.frd-facts dd{margin:0;font-weight:600;text-align:end;overflow-wrap:anywhere}

.frd-checklist{list-style:none;margin:0;padding:0}
.frd-checklist li{display:flex;align-items:flex-start;gap:.6rem;margin:0;padding:.45rem 0;font-size:.95rem;color:var(--text-main)}
.frd-checklist .frd-icon{color:var(--accent);margin-top:.1rem}

.frd-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.frd-tile{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.75rem}
.frd-tile__value{display:block;font-family:var(--font-head);font-weight:800;font-size:1.25rem;color:var(--accent);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.frd-tile__label{display:block;margin-top:.2rem;font-size:.74rem;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted)}

.frd-score{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}
.frd-score__num{font-family:var(--font-head);font-weight:800;font-size:2.4rem;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums}
.frd-score__stars{display:flex;gap:.15rem;color:var(--accent)}
.frd-score__stars .frd-icon{width:1.1rem;height:1.1rem;fill:currentColor}
.frd-score__label{flex-basis:100%;font-size:.84rem;color:var(--text-muted)}

/* ---------- numbered-list ---------- */
.frd-steps{list-style:none;counter-reset:frd-step;margin:0;padding:0}
.frd-steps>li{
  counter-increment:frd-step;position:relative;
  padding:0 0 1.15rem 3.35rem;margin:0;
  border-inline-start:1px solid var(--border);margin-inline-start:1.35rem;padding-inline-start:2rem;
}
.frd-steps>li::before{
  content:counter(frd-step,decimal-leading-zero);
  position:absolute;inset-inline-start:-1.35rem;top:0;
  display:flex;align-items:center;justify-content:center;
  width:2.7rem;height:2.7rem;
  background:var(--bg-main);border:1px solid var(--border-strong);border-radius:var(--radius);
  font-family:var(--font-head);font-weight:800;font-size:.95rem;color:var(--accent);
  font-variant-numeric:tabular-nums;
}
.frd-steps>li:last-child{border-inline-start-color:transparent;padding-bottom:0}
.frd-steps h3{margin:.15rem 0 .3rem;font-size:1.08rem}
.frd-steps p{margin:0;color:var(--text-muted)}

/* ---------- rtp-grid ---------- */
.frd-rtp{display:grid;gap:clamp(.6rem,1.5vw,1rem);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:640px){.frd-rtp{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:960px){.frd-rtp{grid-template-columns:repeat(4,minmax(0,1fr))}}
.frd-rtp-item{
  position:relative;overflow:hidden;min-width:0;
  display:flex;flex-direction:column;
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);
}
.frd-rtp-item:hover{border-color:var(--border-strong)}
.frd-rtp-item__thumb{
  aspect-ratio:3/2;position:relative;
  background:linear-gradient(135deg,#2B2233 0,#3A2A22 55%,#17111C 100%);
}
.frd-rtp-item__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.frd-rtp-item__name{
  display:block;padding:.55rem .65rem;
  font-family:var(--font-head);font-size:.82rem;font-weight:700;line-height:1.25;
  color:var(--text-main);overflow-wrap:anywhere;
}
.frd-rtp-tooltip{
  position:absolute;bottom:0;inset-inline:0;opacity:0;transition:opacity .2s;
  padding:.5rem .65rem;
  background:linear-gradient(0deg,rgba(15,10,19,.96),rgba(15,10,19,.72));
  font-size:.78rem;color:var(--text-main);
}
.frd-rtp-item:hover .frd-rtp-tooltip{opacity:1}
.frd-rtp-item:focus-within .frd-rtp-tooltip{opacity:1}
.frd-rtp-tooltip b{color:var(--accent);font-variant-numeric:tabular-nums}
/* au doigt : pas de survol possible, les données passent sous la vignette */
@media (hover:none){
  .frd-rtp-item__thumb{aspect-ratio:auto}
  .frd-rtp-item__thumb img{aspect-ratio:3/2;height:auto}
  .frd-rtp-tooltip{
    position:static;opacity:1;background:none;
    padding:.45rem .65rem 0;font-size:.74rem;line-height:1.4;color:var(--text-muted);
  }
  .frd-rtp-item__name{padding-top:.3rem;margin-top:auto}
}

/* ---------- faq (FAQ_PATTERN = boxed) ---------- */
.frd-faq{display:flex;flex-direction:column;gap:.7rem}
.frd-faq details{
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);
  padding:0 var(--pad-card);
}
.frd-faq details[open]{border-color:var(--border-strong)}
.frd-faq summary{cursor:pointer;padding:1rem 0;font-weight:600;list-style:none;color:var(--text-main);font-size:1.02rem}
.frd-faq summary::-webkit-details-marker{display:none}
.frd-faq summary::before{content:'+';margin-right:.5rem;transition:transform .2s;color:var(--accent);font-family:var(--font-head);font-weight:800}
.frd-faq details[open] summary::before{content:'−'}
.frd-faq details>:not(summary){padding:.5rem 0 1rem;color:var(--text-muted)}
.frd-faq details>:not(summary):last-child{margin-bottom:0}

/* ---------- legal-body ---------- */
.frd-legal{counter-reset:frd-legal}
.frd-legal h2{
  counter-increment:frd-legal;font-size:clamp(1.2rem,2.2vw,1.5rem);
  margin-top:2.1rem;padding-top:1.1rem;border-top:1px solid var(--border);
}
.frd-legal h2::before{
  content:counter(frd-legal) ". ";color:var(--accent);font-variant-numeric:tabular-nums;
}
.frd-legal>h2:first-child{margin-top:0;padding-top:0;border-top:0}
.frd-legal h3{margin-top:1.4rem;font-size:1.05rem}
.frd-legal p,.frd-legal li{color:var(--text-muted)}
.frd-legal address{font-style:normal;color:var(--text-muted)}

/* ---------- cta-block ---------- */
.frd-cta{
  padding-block:var(--sect-pad);
  background:
    radial-gradient(70% 130% at 50% 0,rgba(255,219,106,.18) 0,transparent 66%),
    linear-gradient(180deg,var(--bg-card),var(--bg-main));
  border-top:2px solid var(--accent);border-bottom:2px solid var(--accent);
}
.frd-cta__inner{display:flex;flex-direction:column;gap:.85rem;text-align:center;align-items:center}
.frd-cta__inner>*{margin:0}
.frd-cta__inner .frd-eyebrow{justify-content:center}
.frd-cta__inner .frd-eyebrow::after{display:none}
.frd-cta h2{font-size:clamp(1.6rem,3.2vw,2.35rem)}
.frd-cta p{color:var(--text-muted);max-width:none}
.frd-cta__actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}
.frd-cta__fine{font-size:.8rem;color:var(--text-muted)}

/* ---------- note / alert line ---------- */
.frd-note{
  display:flex;gap:.65rem;align-items:flex-start;
  padding:.9rem 1.05rem;margin-block:1.25rem;
  background:var(--bg-card);border:1px solid var(--border);border-inline-start:3px solid var(--accent);
  border-radius:var(--radius-sm);font-size:.92rem;color:var(--text-muted);
}
/* rouge réservé aux rappels de conformité (jeu responsable, 18+) */
.frd-note:has(strong){border-inline-start-color:var(--accent-2)}
.frd-note>*:last-child{margin-bottom:0}

/* ---------- sticky-nav (mobile) ---------- */
.frd-sticky{display:none}
@media (max-width:767px){
  .frd-sticky{
    display:flex;position:fixed;inset-inline:0;bottom:0;z-index:880;
    align-items:stretch;
    background:rgba(23,17,28,.97);border-top:2px solid var(--accent);
    backdrop-filter:blur(6px);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .frd-sticky a{
    flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;
    padding:.5rem .25rem;font-size:.68rem;letter-spacing:.05em;text-transform:uppercase;
    color:var(--text-muted);text-decoration:none;
  }
  .frd-sticky a .frd-icon{width:1.25rem;height:1.25rem}
  .frd-sticky a.is-active,.frd-sticky a:hover{color:var(--accent)}
  .frd-sticky .frd-btn{flex:1;border-radius:0;font-size:.8rem;padding:.6rem .5rem}
  body:has(.frd-sticky){padding-bottom:64px}
}

/* ---------- chat-widget ---------- */
.frd-chat{position:fixed;inset-inline-end:1rem;bottom:1rem;z-index:890}
@media (max-width:767px){.frd-chat{bottom:74px}}
.frd-chat__btn{
  display:flex;align-items:center;justify-content:center;
  width:52px;height:52px;padding:0;
  background:linear-gradient(180deg,var(--accent),var(--accent-deep));color:#17111C;
  border:0;border-radius:var(--radius-lg);box-shadow:var(--shadow);cursor:pointer;
}
.frd-chat__panel{
  position:absolute;inset-inline-end:0;bottom:64px;
  width:min(320px,calc(100vw - 2rem));
  background:var(--bg-card);border:1px solid var(--border-strong);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:1rem;
}
.frd-chat__panel[hidden]{display:none}
.frd-chat__panel p{font-size:.9rem;color:var(--text-muted)}
.frd-chat__panel>*:last-child{margin-bottom:0}

/* ---------- footer (light surface for dark logo) ---------- */
.frd-footer{background:var(--bar-bg);color:var(--bar-text);border-top:3px solid var(--accent)}
.frd-footer a{color:var(--bar-text)}
.frd-footer a:hover{color:#8A5B00}
.frd-footer__top{
  display:grid;grid-template-columns:1fr;gap:clamp(1.5rem,3vw,2.25rem);
  padding-block:clamp(2rem,4vw,2.75rem);
}
.frd-footer__top>*{min-width:0}
@media (min-width:760px){.frd-footer__top{grid-template-columns:1.4fr 1fr 1fr}}
.frd-footer__brand p{color:var(--bar-muted);font-size:.92rem;margin-top:.85rem}
.frd-footer__col-title{
  margin:0 0 .7rem;
  font-family:var(--font-head);font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#8A5B00;
}
.frd-footer__list{list-style:none;margin:0;padding:0}
.frd-footer__list li{margin:0}
.frd-footer__list a{display:block;padding:.55rem 0;font-size:.94rem;text-decoration:none;border-bottom:1px solid var(--bar-border)}
.frd-footer__list li:last-child a{border-bottom:0}
.frd-footer__list a:hover{text-decoration:underline}
.frd-footer__contact{font-style:normal;font-size:.94rem;color:var(--bar-muted);margin-top:1.1rem}
.frd-footer__contact a{overflow-wrap:anywhere}

.frd-footer__legal{
  border-top:1px solid var(--bar-border);
  padding-block:1.25rem 1.75rem;
  display:flex;flex-direction:column;gap:.65rem;
}
.frd-footer__age{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  width:36px;height:36px;border-radius:var(--radius-sm);
  background:var(--accent-2);color:#fff;
  font-family:var(--font-head);font-weight:800;font-size:.82rem;
}
.frd-footer__warn{display:flex;align-items:flex-start;gap:.75rem;flex-wrap:wrap;font-size:.88rem;color:var(--bar-text);margin:0}
.frd-footer__disclaimer{font-size:.82rem;line-height:1.55;color:var(--bar-muted);margin:0}
.frd-footer__copy{font-size:.82rem;color:var(--bar-muted);margin:0}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}
/* sa-responsive-net */
table th{white-space:nowrap}
figure,blockquote,dl,dd,fieldset{margin:0}
/* sa-logo-chip */
.frd-footer .frd-logo__img{filter:none;background:transparent;padding:0}
.frd-footer .frd-footer__logo-chip{background:transparent;padding:0}
/* sa-logo-fit */
.frd-logo__img{object-fit:contain}
/* sa-ph-media */
.frd-page-header:has(.frd-hero__img){position:relative;overflow:hidden;isolation:isolate;min-height:clamp(200px,30vh,300px);display:flex;flex-direction:column;justify-content:center}
.frd-page-header:has(.frd-hero__img) .frd-hero__img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;margin:0;z-index:0}
.frd-page-header:has(.frd-hero__img)::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(10,12,18,.72),rgba(10,12,18,.5))}
:where(.frd-page-header:has(.frd-hero__img)>:not(.frd-hero__img)){position:relative}
.frd-page-header:has(.frd-hero__img)>:not(.frd-hero__img){z-index:2}
.frd-page-header:has(.frd-hero__img),.frd-page-header:has(.frd-hero__img) h1,.frd-page-header:has(.frd-hero__img) a,.frd-page-header:has(.frd-hero__img) p,.frd-page-header:has(.frd-hero__img) li,.frd-page-header:has(.frd-hero__img) span{color:#fff}
/* sa-hero-media */
.frd-hero:has(>.frd-hero__img){position:relative;isolation:isolate}
.frd-hero:has(>.frd-hero__img)>.frd-hero__img{z-index:0}
.frd-hero:has(>.frd-hero__img)::after{z-index:1}
:where(.frd-hero:has(>.frd-hero__img)>:not(.frd-hero__img)){position:relative}
.frd-hero:has(>.frd-hero__img)>:not(.frd-hero__img){z-index:2}
/* sa-rhythm */
:where(.frd-table-wrap){margin-block:1.5rem}
:where(main) :where(ul,ol,table,.frd-table-wrap)+p{margin-block-start:1rem}
/* sa-slot-link */
.frd-rtp-item,.frd-rtp-item:hover,.frd-rtp-item:focus{color:inherit;text-decoration:none;cursor:pointer}

/* ---------- ajustements rythme & mobile ---------- */
/* bouton d'action isolé dans le texte : de l'air au-dessus */
.frd-prose>p:has(>.frd-btn:only-child),
.frd-section>.frd-container>p:has(>.frd-btn:only-child){margin-block-start:1.9rem}
/* étoile vide du score */
.frd-score__stars .frd-icon--empty{fill:none;opacity:.4}
/* page conseils : pas de numérotation façon article de loi */
.frd-legal--plain h2::before{content:none}

@media (max-width:899px){
  /* sur mobile la fiche récapitulative passe avant le texte long */
  .frd-two{display:flex;flex-direction:column}
  .frd-two>.frd-panel{order:-1}
}

@media (max-width:520px){
  /* dt/dd : empilés plutôt qu'alignés en escalier */
  .frd-facts__row{display:block;padding:.55rem 0}
  .frd-facts dd{text-align:start;margin-top:.1rem}
}

@media (max-width:600px){
  /* tableaux : cartes empilées, plus de défilement horizontal */
  .frd-table-wrap{overflow-x:visible;border:0;border-radius:0;margin-block:1.25rem}
  .frd-table{display:block;background:transparent;font-size:.92rem}
  .frd-table caption{display:block;padding:0 0 .8rem}
  .frd-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .frd-table tbody{display:block}
  .frd-table tbody tr{
    display:block;margin-bottom:.7rem;padding:.9rem 1rem;
    background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);
  }
  .frd-table tbody tr:last-child{margin-bottom:0}
  .frd-table tbody tr:hover td{box-shadow:none}
  .frd-table td{display:block;padding:.18rem 0;border-bottom:0}
  .frd-table tbody td:first-child{
    margin-bottom:.35rem;padding-bottom:.45rem;border-bottom:1px solid var(--border);
    font-family:var(--font-head);font-weight:700;font-size:1rem;color:var(--accent);
  }
  .frd-table tbody td:first-child .frd-pay-method span{color:var(--accent)}
  .frd-table td+td{color:var(--text-muted);font-size:.9rem}
}
