/* Habillage 2026 de gameofswing.fr, posé PAR-DESSUS les pages existantes (fiches, guides, pages longues).
   Chaque page garde sa propre feuille en ligne ; celle-ci la corrige. Tout est écrit sous « html.r » pour
   passer devant les règles d'origine, où qu'elles soient dans la page.
   L'accueil (accueil*.html) ne charge PAS ce fichier : il porte son habillage complet en ligne.
   ⚠️ L'en-tête et le pied sont donc décrits deux fois (ici et dans accueil.html) : les corriger aux deux endroits.
   La fin du fichier (« relevé automatique ») est fabriquée par construire.py : ne pas la modifier à la main. */
@font-face{font-family:"Libre Caslon Display";src:url(polices/libre-caslon-display.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Libre Caslon Text";src:url(polices/libre-caslon-text-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}

html.r{
  /* les jetons de l'accueil (habillage « aquarelle », 16/11/2026 : le papier chaud de la carte) */
  --papier:#F6ECD6;--blanc:#FFFDF7;--encre:#1B2A21;--doux:#5F5C48;
  --vert:#1B4332;--vert-2:#2D6A4F;--trait:#D8C9A6;--drapeau:#B3342A;--or:#C9A84C;--filet:#7A6431;--creme:#FAF3DF;
  --titre:"Libre Caslon Display",Georgia,"Times New Roman",serif;
  --plume:"Libre Caslon Text",Georgia,"Times New Roman",serif;
  --texte:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --gout:clamp(16px,4vw,48px);
  /* les jetons des anciennes pages, ramenés à la nouvelle palette */
  --g:#1B4332;--gm:#2D6A4F;--gl:#40916C;--gd:#1B4332;--gdp:#16382A;
  --gold:#C9A84C;--gol:#E8C96A;
  --cream:#F6ECD6;--crd:#EEDFBB;
  --tx:#1B2A21;--txm:#4A4A3C;--txmu:#6B6853;
  --bdr:#D8C9A6;--wh:#FFFDF7;--r:4px;
  /* pages légales et pages de remerciement : autres noms, mêmes valeurs */
  --green:#1B4332;--text:#1B2A21;--muted:#5F5C48;--border:#D8C9A6;--gold-l:#E8C96A;
  color-scheme:light;
}
html.r body{background:var(--papier);color:var(--encre);font-family:var(--texte);font-size:16px;line-height:1.6}
html.r a:focus-visible,html.r button:focus-visible,html.r summary:focus-visible{outline:3px solid #2F7CF6;outline-offset:3px}
html.r .essai{margin:0;background:#7a1f1f;color:#fff;font:600 .82rem/1.4 var(--texte);padding:8px 16px;text-align:center}

/* titres : une seule police, jamais de demi-titre en italique doré */
html.r h1,html.r h2{font-family:var(--titre);font-weight:400;letter-spacing:0;text-transform:none;text-wrap:balance}
html.r h1{font-size:clamp(2.2rem,5.4vw,3.4rem);line-height:1.06}
html.r h2{font-size:clamp(1.55rem,3vw,2.05rem);line-height:1.14}
html.r h1 em,html.r h2 em,html.r h3 em{font-style:normal;font-family:inherit;color:inherit}
/* la seconde moitié d'un grand titre reste sur sa ligne (elle y était déjà), mais dans la même encre que la première */
html.r h1 em{display:block}

/* étiquettes au-dessus des titres : la plume de la carte, plus de petites capitales dorées */
html.r .slbl,html.r .art-pill,html.r .hero-pill,html.r .clubs-lbl,html.r .partners-lbl,html.r .box-t,html.r .porte-step,html.r .ps-tag,html.r .duo-tag{font:italic 400 1.02rem/1.3 var(--plume);text-transform:none;letter-spacing:0;background:none;border:0;border-radius:0;padding:0}
html.r .slbl,html.r .art-pill,html.r .partners-lbl,html.r .box-t,html.r .porte-step,html.r .duo-tag{color:var(--doux)}
html.r .sec-dk .slbl{color:var(--gol)}

/* ───── en-tête (même dessin que l'accueil) : vert, comme le pied — le volet du téléphone reste sur papier ───── */
html.r .barre{position:sticky;top:0;z-index:200;background:var(--vert);border-bottom:1px solid rgba(201,168,76,.7);font:400 1rem/1.4 var(--texte)}
html.r .barre .cadre{max-width:1180px;margin:0 auto;padding:0 var(--gout);display:flex;align-items:center;gap:10px 26px;min-height:64px;position:relative}
html.r .barre a{color:var(--creme);text-decoration:none}
html.r .barre .marque{display:flex;align-items:center;gap:10px;font:400 1.4rem/1 var(--titre);margin-right:auto;white-space:nowrap}
html.r .barre .marque img{width:40px;height:40px;border-radius:50%;display:block;box-shadow:0 0 0 1.5px rgba(244,235,211,.75)}
html.r .barre .marque:hover{color:#fff}
html.r .barre .menu{display:flex;gap:26px;font-size:.95rem;font-weight:500}
html.r .barre .menu a{white-space:nowrap}
html.r .barre .menu a:hover{text-decoration:underline;text-underline-offset:4px;color:#fff}
html.r .barre .langues{display:flex;gap:10px;font-size:.8rem;font-weight:600;letter-spacing:.04em}
html.r .barre .langues a{color:#B7C6B5}
html.r .barre .langues a[aria-current]{color:#fff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
html.r .barre .langues a:hover{color:#fff}
html.r .barre .ouvrir{display:inline-block;font:600 .9rem/1.2 var(--texte);padding:9px 14px;border:1.5px solid var(--creme);border-radius:4px;color:var(--creme)}
html.r .barre .ouvrir:hover{background:var(--creme);color:var(--vert)}
html.r .barre .tiroir{display:none}
html.r .barre .tiroir summary{list-style:none;font:600 .95rem/1.2 var(--texte);color:var(--creme);padding:9px 12px;border:1.5px solid var(--creme);border-radius:4px;cursor:pointer}
html.r .barre .tiroir summary::-webkit-details-marker{display:none}
html.r .barre .tiroir .volet{position:absolute;left:0;right:0;top:100%;background:var(--papier);border-bottom:1px solid var(--trait);box-shadow:0 18px 30px -18px rgba(20,38,27,.45);display:flex;flex-direction:column;padding:6px var(--gout) 16px}
html.r .barre .tiroir .volet>a{padding:13px 0;border-bottom:1px solid var(--trait);font-weight:500;color:var(--encre)}
html.r .barre .tiroir .volet>a.plein{margin-top:14px;text-align:center;border:0;border-radius:4px;background:var(--vert);color:#fff;font-weight:600;padding:14px 22px}
html.r .barre .tiroir .langues{padding-top:14px;gap:18px;font-size:.9rem}
html.r .barre .tiroir .langues a{color:var(--doux)}
html.r .barre .tiroir .langues a[aria-current],html.r .barre .tiroir .langues a:hover{color:var(--encre)}
@media (max-width:900px){
  html.r .barre .cadre>.menu,html.r .barre .cadre>.langues,html.r .barre .cadre>.ouvrir{display:none}
  html.r .barre .tiroir{display:block}
  html.r .barre .marque{font-size:1.25rem}
  html.r .barre .marque img{width:36px;height:36px}
}

/* ───── pied (même dessin que l'accueil) ───── */
html.r .pied{background:var(--vert);color:#DDE7DE;font:400 .92rem/1.6 var(--texte);padding:40px 0 26px;text-align:left}
html.r .pied .cadre{max-width:1180px;margin:0 auto;padding:0 var(--gout)}
html.r .pied .colonnes{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:26px 32px}
html.r .pied .blason{display:block;width:112px;height:auto;margin:0 0 14px}
html.r .pied .nom{font:400 1.5rem/1 var(--titre);color:#fff;margin:0}
html.r .pied .tete{font:600 .92rem/1.2 var(--texte);color:#fff;margin:0 0 10px}
html.r .pied .tete.plus{margin-top:20px}
html.r .pied ul{list-style:none;margin:0;padding:0}
html.r .pied li{margin:0;padding:3px 0}
html.r .pied p{margin:12px 0 0;max-width:44ch;color:inherit;font-size:inherit}
html.r .pied a{color:inherit;text-decoration:none;font-weight:400}
html.r .pied a:hover{color:#fff;text-decoration:underline}
html.r .pied .bas{margin-top:28px;padding-top:16px;border-top:1px solid rgba(255,255,255,.2);font-size:.82rem}
@media (max-width:820px){html.r .pied .colonnes{grid-template-columns:1fr 1fr}}
@media (max-width:480px){html.r .pied .colonnes{grid-template-columns:1fr}}

/* ───── fiches de formule et guides ───── */
html.r article{max-width:780px;padding:10px 20px 64px}
html.r .crumbs{max-width:780px;font-size:.85rem;color:var(--doux)}
html.r .art-head{border-bottom:3px double var(--filet);padding-top:26px}
html.r article h1{font-size:clamp(2.3rem,6vw,3.6rem);color:var(--vert)}
html.r article h2{color:var(--vert);margin-top:44px}
html.r article h3{font-size:1.1rem;color:var(--encre)}
html.r .art-meta{font-size:.9rem}
html.r article p,html.r article li{font-size:1.02rem}
html.r .lead{font-size:1.15rem;line-height:1.6}
html.r article li::marker{color:var(--drapeau)}
html.r .steps li{padding-left:50px}
html.r .steps li::before{background:none;border:1.5px solid var(--encre);color:var(--encre);font:400 1.1rem/1 var(--titre);width:32px;height:32px}
html.r .box{border-radius:4px;border-color:var(--trait)}
html.r .box.ex{background:#FBF4E2;border-color:#BFAE83}
html.r article table{font-size:.95rem;border-radius:0;border:1.5px solid var(--vert-2)}
html.r article th{background:#EEF3EE;color:var(--vert-2);font-size:.82rem;text-transform:none;letter-spacing:0;border-bottom:1.5px solid var(--vert-2)}
html.r article td{border-bottom:1px solid var(--trait)}
html.r .faq details,html.r .faq-list details{background:none;border:0;border-bottom:1px solid var(--trait);border-radius:0;margin:0}
html.r .faq details:first-of-type,html.r .faq-list details:first-of-type{border-top:1px solid var(--trait)}
html.r .faq summary,html.r .faq-list summary{padding:16px 0;color:var(--encre);font-size:1rem}
html.r .faq summary::after,html.r .faq-list summary::after{color:var(--drapeau);font-family:var(--titre)}
html.r .faq details p,html.r .faq-list details p{padding:0 0 18px;font-size:1rem}
html.r .cta{position:relative;overflow:hidden;background:var(--vert);border-radius:0;text-align:left;padding:30px 28px}
html.r .cta::after{content:"";position:absolute;right:5px;top:5px;width:min(34vw,230px);aspect-ratio:520/381;background:url(img/accueil/coin-or.webp) right top/contain no-repeat;pointer-events:none}
html.r .cta>*{position:relative;z-index:1}
html.r .cta h2,html.r .cta p{max-width:calc(100% - min(24vw,170px))}
html.r .cta h2{font-size:1.8rem;margin:0 0 8px;color:#fff}
html.r .cta p{margin-left:0;color:#DDE7DE;font-size:1rem}
html.r .cta a{background:var(--or);color:#14261B;font:600 1rem/1.2 var(--texte);padding:14px 22px;border-radius:4px}
html.r .cta .free{color:#C4D2C6;font-size:.85rem}
html.r .gos-extrait{background:#FBF4E2;border:1px solid #BFAE83;border-radius:0;box-shadow:3px 4px 0 rgba(122,100,49,.28)}
html.r .gos-extrait .ge-t{font:400 1.45rem/1.2 var(--titre);color:var(--encre)}
html.r .gos-extrait p{font-size:1rem}
html.r .gos-extrait .ge-btn{background:var(--vert);font:600 1rem/1.2 var(--texte);padding:13px 20px;border-radius:4px}
html.r .related{max-width:780px}
html.r .related h2{margin-bottom:14px}
html.r .rel-grid a{border-radius:0;font-size:1rem;color:var(--encre);background:#FBF4E2;border-color:#BFAE83}
html.r .rel-grid a span{font-size:.85rem}
html.r .rel-grid a:hover{border-color:var(--encre);transform:none}

/* sur téléphone, un tableau trop large défile dans sa propre largeur au lieu d'élargir la page */
@media (max-width:640px){html.r table{display:block;max-width:100%;overflow-x:auto;font-size:.9rem}}

/* ───── page des formules ───── */
/* le haut des pages reste une bande verte à texte clair (comme le bloc du guide sur l'accueil), sans photo floue ni dégradé */
html.r .hero{background:var(--vert)}
html.r .hero::before,html.r .hero::after{display:none}
html.r .hero .hero-pill{color:var(--gol);margin-bottom:10px}
/* « On joue à combien ? » posé en tête de la page des formules */
html.r main .combien{padding-block:8px 34px}
html.r main .combien-in{border-top:0;padding-top:0}
html.r .combien h2{margin:0;color:var(--vert)}
html.r .combien .reponse ul{margin:6px 0 0}
html.r .combien .reponse li{margin:0}
html.r .combien .reponse li a{color:var(--encre)}
html.r .combien p{margin:16px 0 0}
html.r .combien .lien,html.r .combien .autres a{color:var(--encre);font-weight:600;text-decoration:underline;text-underline-offset:4px}
html.r .card{border-radius:0;background:#FBF4E2;border-color:#BFAE83}
html.r .card:hover{border-color:var(--encre);transform:none;box-shadow:none}
html.r .card-name{font:400 1.35rem/1.2 var(--titre);color:var(--encre)}
html.r .card-desc{font-size:.95rem}
html.r .card-link{text-transform:none;letter-spacing:0;font-size:.9rem;color:var(--vert-2)}
html.r .card-meta{font-size:.85rem}
html.r .badge-free{border-radius:4px;text-transform:none;letter-spacing:0}
html.r .intro,html.r .rythme{font-size:1.02rem}
html.r .sec-sub{font-size:1rem}

/* ───── pages longues (guide, application, clubs, pros, défis) ───── */
html.r .sec h2,html.r .sec-cr h2{color:var(--vert)}
html.r .sdsc{font-size:1.05rem;color:var(--encre)}
html.r .btn-pri,html.r .nav-cta,html.r .fsubmit,html.r .duo-form-btn,html.r .ps-price{font-family:var(--texte);font-weight:600;border-radius:4px}
html.r .btn-pri,html.r .fsubmit{font-size:1rem}
html.r .btn-gho{border-radius:4px;font-size:1rem}
html.r .fc,html.r .porte,html.r .duo-card,html.r .ac,html.r .pc,html.r .tc,html.r .vc,html.r .fgc,html.r .partner,html.r .pst{border-radius:4px;box-shadow:none}
html.r .fc{border-top:1px solid var(--bdr)}
html.r .fc:hover,html.r .porte:hover,html.r .partner:hover,html.r .fgc:hover{transform:none;box-shadow:none;border-color:var(--encre)}
html.r .projet-quote{font:italic 400 1.2rem/1.45 var(--plume);background:none;border-left:3px solid var(--drapeau);border-radius:0;color:var(--encre)}
html.r .stats{background:var(--vert)}
/* fiches : les variantes à choisir dans l'application (19/11/2026) */
html.r .variantes-app{margin:22px 0 28px;padding:14px 18px;background:#FBF4E2;border-left:3px solid var(--drapeau);font-size:1rem;line-height:1.55}
html.r .variantes-app b{color:var(--encre)}
html.r .variantes-app ul{margin:8px 0 0;padding-left:20px;list-style:disc}
html.r .variantes-app li{margin:5px 0;padding:0}
html.r .variantes-app .nv-fiche{margin-top:8px;font:italic 400 1.05rem/1.4 var(--plume);color:var(--drapeau)}

/* ───── relevé automatique (construire.py) : ne pas modifier à la main ───── */
html.r #dfi-demo,html.r .art-pill,html.r .badge-app,html.r .badge-free,html.r .box-t,html.r .btn,html.r .btn-buy,html.r .btn-free,html.r .btn-ghost,html.r .btn-pri,html.r .card-link,html.r .clubs-lbl,html.r .cta a,html.r .day-n,html.r .dfi-bandeau .club-nom,html.r .dfi-col h3,html.r .duo-form-btn,html.r .duo-tag,html.r .fc-t,html.r .fgc-badge,html.r .fmt .go,html.r .fmt .tag,html.r .fmt .where,html.r .fsubmit,html.r .gos-extrait .ge-btn,html.r .hero h1,html.r .hero-pill,html.r .inst-opt .tag,html.r .mm-cta,html.r .mobile-menu .mm-cta,html.r .nav-cta,html.r .nav-links a,html.r .partners-lbl,html.r .pc-bdg,html.r .pill,html.r .porte-go,html.r .porte-step,html.r .ps-tag,html.r .pst-l,html.r .pt,html.r .rs-att,html.r .sl,html.r .slbl,html.r .tier-badge,html.r body.tv #dfi-pied .chiffres .l,html.r h2,html.r th{text-transform:none;letter-spacing:normal}
html.r #EMAIL,html.r #sib-container input[type=text],html.r .ac-tag,html.r .art-pill,html.r .badge-app,html.r .badge-free,html.r .badge-full-item,html.r .barre-guides a,html.r .bloc,html.r .btn,html.r .btn-buy,html.r .btn-free,html.r .btn-gho,html.r .btn-ghost,html.r .btn-pri,html.r .card,html.r .clf,html.r .cta,html.r .cta a,html.r .cta a.btn,html.r .day,html.r .defi-app img,html.r .defi-shot img,html.r .dfi-bandeau img.club,html.r .dfi-l,html.r .duo-cover img,html.r .duo-form-btn,html.r .duo-tag,html.r .etape img,html.r .extrait img,html.r .faq details,html.r .faq-list details,html.r .fgc-badge,html.r .fi,html.r .fiche-demo img,html.r .finput,html.r .fmt .go,html.r .fmt .tag,html.r .form-card,html.r .fselect,html.r .fsubmit,html.r .ftarea,html.r .gos-extrait .ge-btn,html.r .gos-extrait img,html.r .hero-cover img,html.r .hero-formats span,html.r .hero-note,html.r .hero-ph,html.r .hero-pill,html.r .how-screen,html.r .img-modal img,html.r .inst,html.r .inst-box,html.r .inst-opt,html.r .inst-opt .tag,html.r .inst-play,html.r .inst-tab,html.r .inst-wa,html.r .inst-warn,html.r .lightbox img,html.r .mc,html.r .mediateur,html.r .mm-cta,html.r .mobile-menu .mm-cta,html.r .msg,html.r .nav-cta,html.r .pack-strip,html.r .pc,html.r .pc-bdg,html.r .pcta,html.r .pill,html.r .projet-photo img,html.r .ps-price,html.r .pst,html.r .rel-grid a,html.r .repo-ph,html.r .repo-slot,html.r .rules-box,html.r .rythme,html.r .send,html.r .shots img,html.r .shots-hero img,html.r .ss,html.r .stats-row div,html.r .store-bdg,html.r .testi-note,html.r .tier,html.r .tier-badge,html.r .vc-soon,html.r .video-note,html.r .vp-shot img,html.r a.btn{border-radius:4px}
html.r .cta::before,html.r .hero::before{display:none}
html.r .barre-retour .br-logo,html.r .chap .c-n,html.r .cta h2 em,html.r .day-w,html.r .dfi-bandeau h1,html.r .dfi-r,html.r .duo-card h3,html.r .extrait h3,html.r .fb-logo,html.r .feuille figcaption b,html.r .fiche-demo h3,html.r .fmt .px,html.r .fmt h3,html.r .gos-extrait .ge-t,html.r .hero h1,html.r .hero h1 em,html.r .hero-formats b,html.r .nav-logo-txt,html.r .pn,html.r .porte h3,html.r .price,html.r .pst-n,html.r .related h2,html.r .sn,html.r .steps li::before,html.r .tier-tag,html.r footer em,html.r h1,html.r h2{font-family:var(--titre);font-weight:400}
html.r .card-link::after,html.r a.card .card-link::after{content:none}
