/* Au Palais des Douceurs : comparatif des casinos en ligne à retrait rapide. Thème clair, crème, noir et framboise. */
:root {
  --creme: #fbf2e1; --creme-2: #f3e5ca; --carte: #fffaf0; --blanc: #ffffff;
  --noir: #15110f; --texte: #2b2320; --doux: #6b5d54; --ligne: #e2d1b0; --ligne-f: #cdb88f;
  --framboise: #d2134f; --framboise-f: #a50c3c; --framboise-c: #fde3ea; --vert: #17754a; --vert-c: #e1f2e6; --rouge-c: #fbe6df;
  --r: 14px; --titre: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --corps: "Manrope", "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ombre: 0 1px 0 rgba(21, 17, 15, .04), 0 10px 28px -18px rgba(21, 17, 15, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--texte); font-family: var(--corps); font-size: 17px; line-height: 1.68; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--framboise-f); text-underline-offset: 3px; }
a:hover { color: var(--noir); }
h1, h2, h3, h4 { color: var(--noir); margin: 0; }
p { margin: 0 0 1.05rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
li { margin-bottom: .35rem; }
strong { color: var(--noir); font-weight: 800; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--noir); color: #fff; padding: .6rem 1rem; z-index: 100; }
.evitement:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--framboise); outline-offset: 2px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: 800 1rem/1 var(--corps); text-decoration: none; border-radius: 999px; padding: .95rem 1.5rem; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .12s, color .12s; white-space: nowrap; }
.bouton-visiter { background: var(--framboise); color: #fff; box-shadow: 0 4px 0 var(--framboise-f); }
.bouton-visiter:hover { background: var(--framboise-f); color: #fff; transform: translateY(1px); box-shadow: 0 3px 0 #7d082c; }
.bouton-visiter::after { content: "→"; font-weight: 800; }
.bouton-petit { padding: .68rem 1.05rem; font-size: .9rem; }
.bouton-large { padding: 1.1rem 2rem; font-size: 1.08rem; }
.bouton-sobre { background: transparent; color: var(--noir); border-color: var(--noir); }
.bouton-sobre:hover { background: var(--noir); color: var(--creme); }

/* En-tête collant */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(251, 242, 225, .96); backdrop-filter: blur(8px); border-bottom: 2px solid var(--noir); }
.entete .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 44px; width: auto; }
.menu { display: flex; gap: .15rem; margin-left: auto; }
.menu a { font: 700 .9rem/1 var(--corps); color: var(--noir); text-decoration: none; padding: .6rem .7rem; border-radius: 999px; }
.menu a:hover { background: var(--creme-2); }
.menu a.actif { background: var(--noir); color: var(--creme); }
.menu-bascule { display: none; width: 44px; height: 44px; border: 2px solid var(--noir); background: transparent; border-radius: 12px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-bascule span:not(.sr) { display: block; width: 20px; height: 2.5px; background: var(--noir); border-radius: 2px; }
.progression { height: 4px; background: transparent; }
.progression span { display: block; height: 100%; width: 0; background: var(--framboise); }

/* Haut de page */
.haut { padding: 2.6rem 0 2.8rem; border-bottom: 2px solid var(--noir); background:
  repeating-linear-gradient(90deg, transparent 0 58px, rgba(21, 17, 15, .045) 58px 59px), var(--creme); }
.fil { display: flex; flex-wrap: wrap; gap: .4rem; font: 700 .76rem/1.2 var(--corps); letter-spacing: .08em; text-transform: uppercase; color: var(--doux); margin-bottom: 1.1rem; }
.fil span + span::before { content: "/"; margin-right: .4rem; color: var(--ligne-f); }
h1 { font: 400 clamp(2.7rem, 6.3vw, 5.4rem)/.94 var(--titre); letter-spacing: .01em; text-transform: uppercase; max-width: 15ch; }
h1 em { font-style: normal; color: var(--framboise); }
.haut-grille { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 2.6rem; margin-top: 1.8rem; align-items: start; }
.chapo { font-size: 1.1rem; line-height: 1.66; color: var(--texte); margin-bottom: 1.2rem; }
.maj { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font: 700 .86rem/1.3 var(--corps); color: var(--noir); margin: 0; }
.maj .pt { width: 10px; height: 10px; border-radius: 50%; background: var(--framboise); }
.maj .sep { color: var(--ligne-f); }
.reperes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--noir); border-radius: var(--r); overflow: hidden; background: var(--carte); box-shadow: 6px 6px 0 var(--noir); }
.repere { padding: 1.1rem 1.2rem 1.15rem; border-right: 2px solid var(--noir); border-bottom: 2px solid var(--noir); }
.repere:nth-child(2n) { border-right: 0; } .repere:nth-last-child(-n+2) { border-bottom: 0; }
.repere strong { display: block; font: 400 clamp(2.5rem, 4.6vw, 3.9rem)/.95 var(--titre); color: var(--framboise); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.repere span { display: block; font-weight: 700; font-size: .92rem; line-height: 1.35; color: var(--noir); margin-top: .35rem; }
.repere small { display: block; font-size: .8rem; color: var(--doux); margin-top: .15rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.repere:first-child { background: var(--noir); }
.repere:first-child span { color: var(--creme); } .repere:first-child small { color: #cbb99a; } .repere:first-child strong { color: #ff5f8d; }

/* Sections */
.sec { padding: 3.4rem 0 .6rem; }
.sec > h2 { font: 400 clamp(2.1rem, 4.2vw, 3.2rem)/1 var(--titre); letter-spacing: .012em; text-transform: uppercase; margin-bottom: 1.3rem; padding-top: 1rem; border-top: 6px solid var(--noir); position: relative; }
.sec > h2::before { content: ""; position: absolute; top: -6px; left: 0; width: 86px; height: 6px; background: var(--framboise); }
.colonne { max-width: 940px; }
.sec h3 { font: 800 1.36rem/1.3 var(--corps); margin: 2rem 0 .8rem; letter-spacing: -.01em; }
.sec h4 { font: 800 1.08rem/1.35 var(--corps); margin: 1.7rem 0 .6rem; padding-left: .75rem; border-left: 4px solid var(--framboise); }
.intro-sec { font-size: 1.08rem; color: var(--texte); }
.mention { font-size: .88rem; color: var(--doux); border-left: 3px solid var(--ligne-f); padding-left: .9rem; }
.petit { font-size: .85rem; color: var(--doux); margin: 1rem 0 0; }
.provisoire { background: #fff3c4; border: 2px dashed #b88a00; padding: 1rem; border-radius: 10px; font-weight: 700; }

/* Pastilles de logo */
.pastille { display: flex; align-items: center; justify-content: center; border-radius: 12px; padding: 10px 12px; width: 150px; height: 84px; flex: none; }
.pastille img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pastille.p-bleu { background: #2f67dc; } .pastille.p-violet { background: #2a0f5a; } .pastille.p-nuit { background: #1b1547; }
.pastille.p-clair { background: #e9edfb; } .pastille.p-marine { background: #0f2747; } .pastille.p-noir { background: #12141a; }
.pastille.p-blanc { background: #fff; border: 1px solid var(--ligne); }
.pastille.mini { width: 66px; height: 38px; padding: 5px 7px; border-radius: 8px; }
.pastille.moyen { width: 118px; height: 66px; padding: 8px 10px; border-radius: 10px; }
.puce { display: inline-block; font: 800 .72rem/1.2 var(--corps); letter-spacing: .05em; text-transform: uppercase; color: var(--framboise-f); background: var(--framboise-c); border-radius: 999px; padding: .32rem .7rem; }

/* Note sur 10 */
.note-bloc { display: flex; flex-direction: column; gap: .3rem; min-width: 92px; }
.note-chiffre { font: 400 2.5rem/.9 var(--titre); color: var(--noir); letter-spacing: .01em; }
.note-chiffre small { font: 800 .8rem/1 var(--corps); color: var(--doux); margin-left: .15rem; }
.jauge { display: block; height: 6px; border-radius: 3px; background: var(--creme-2); overflow: hidden; }
.jauge i { display: block; height: 100%; background: var(--noir); border-radius: 3px; }

/* Délai : valeur de chronomètre */
.delai { display: flex; flex-direction: column; justify-content: center; }
.delai small { display: flex; align-items: center; gap: .35rem; font: 800 .7rem/1.2 var(--corps); letter-spacing: .09em; text-transform: uppercase; color: var(--doux); }
.delai .ico-chrono { width: 18px; height: 18px; color: var(--framboise); flex: none; }
.delai strong { font: 400 3.5rem/.92 var(--titre); color: var(--framboise); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; margin-top: .15rem; font-variant-numeric: tabular-nums; }
.delai.court strong { font-size: 4.3rem; }
.delai span { font: 700 .84rem/1.3 var(--corps); color: var(--noir); margin-top: .2rem; }

/* Classement en lignes de chronomètre */
.chronos { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: .9rem; counter-reset: none; }
.chrono { display: grid; grid-template-columns: 64px 150px minmax(0, 1fr) 250px 176px; grid-template-areas: "rang logo id delai actions" "rang logo detail delai actions"; column-gap: 1.3rem; row-gap: .6rem; align-items: center; background: var(--carte); border: 2px solid var(--noir); border-radius: var(--r); padding: 1.15rem 1.3rem 1.15rem 0; margin: 0; position: relative; overflow: hidden; }
.chrono .ch-rang { grid-area: rang; align-self: stretch; display: flex; align-items: center; justify-content: center; font: 400 3rem/1 var(--titre); color: var(--noir); border-right: 2px dashed var(--ligne-f); margin: -1.15rem 0; }
.chrono .pastille { grid-area: logo; }
.chrono .ch-id { grid-area: id; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.chrono .ch-id h3 { font: 400 2rem/1 var(--titre); letter-spacing: .015em; text-transform: uppercase; margin: 0; }
.chrono .delai { grid-area: delai; border-left: 2px solid var(--noir); padding-left: 1.2rem; align-self: stretch; }
.chrono .ch-detail { grid-area: detail; align-self: start; }
.chrono .ch-offre { font-weight: 800; color: var(--noir); margin: 0 0 .35rem; line-height: 1.35; font-size: .98rem; }
.chrono .ch-offre small { display: block; font-weight: 600; font-size: .84rem; color: var(--doux); }
.faits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1rem; font-size: .86rem; color: var(--texte); }
.faits li { margin: 0; padding-left: 1rem; position: relative; }
.faits li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--framboise); }
.chrono .ch-actions { grid-area: actions; display: flex; flex-direction: column; align-items: stretch; gap: .55rem; }
.chrono .ch-actions .note-bloc { flex-direction: row; align-items: center; gap: .6rem; }
.chrono .ch-actions .jauge { flex: 1; }
.lien-avis { font: 700 .86rem/1.2 var(--corps); text-align: center; color: var(--noir); }
.chrono.premier { background: var(--noir); color: #eadfca; box-shadow: 6px 6px 0 var(--framboise); margin-bottom: .4rem; }
.chrono.premier .ch-rang { color: var(--creme); border-color: #4b403a; }
.chrono.premier h3, .chrono.premier .ch-offre, .chrono.premier .note-chiffre, .chrono.premier .delai span, .chrono.premier .lien-avis { color: var(--creme); }
.chrono.premier .ch-offre small, .chrono.premier .delai small, .chrono.premier .note-chiffre small { color: #c9b89b; }
.chrono.premier .faits { color: #eadfca; }
.chrono.premier .delai { border-color: #4b403a; } .chrono.premier .delai strong { color: #ff5f8d; }
.chrono.premier .jauge { background: #3a302b; } .chrono.premier .jauge i { background: var(--creme); }
.chrono.premier .puce { background: var(--framboise); color: #fff; }

/* Sommaire */
.sommaire { margin: 2.4rem 0 0; border: 2px solid var(--noir); border-radius: var(--r); background: var(--creme-2); padding: 1.2rem 1.4rem 1.3rem; }
.som-titre { font: 400 1.7rem/1 var(--titre); text-transform: uppercase; color: var(--noir); margin: 0 0 .8rem; letter-spacing: .02em; }
.sommaire ol { list-style: none; counter-reset: som; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.sommaire li { counter-increment: som; margin: 0; }
.sommaire a { display: flex; align-items: baseline; gap: .5rem; height: 100%; background: var(--carte); border: 1px solid var(--ligne-f); border-radius: 10px; padding: .6rem .7rem; font: 700 .88rem/1.25 var(--corps); color: var(--noir); text-decoration: none; }
.sommaire a::before { content: counter(som, decimal-leading-zero); font: 400 1.15rem/1 var(--titre); color: var(--framboise); }
.sommaire a:hover, .sommaire a.actif { background: var(--noir); color: var(--creme); border-color: var(--noir); }

/* Tableaux */
.defile { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4rem 0; border: 2px solid var(--noir); border-radius: var(--r); background: var(--carte); }
.defile table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.defile th, .defile td { padding: .75rem .85rem; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.defile thead th { background: var(--noir); color: var(--creme); font: 800 .74rem/1.3 var(--corps); letter-spacing: .06em; text-transform: uppercase; border-bottom: 0; white-space: nowrap; }
.defile tbody tr:last-child > * { border-bottom: 0; }
.defile tbody tr:nth-child(even) { background: rgba(243, 229, 202, .45); }
.defile tbody th { font-weight: 800; color: var(--noir); }
table.comparatif { min-width: 1080px; }
table.comparatif .c-rang { font: 400 1.7rem/1 var(--titre); color: var(--noir); text-align: center; }
table.comparatif .c-casino { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--noir); white-space: nowrap; }
table.comparatif .c-fort { font: 400 1.5rem/1.05 var(--titre); color: var(--framboise); text-transform: uppercase; white-space: nowrap; letter-spacing: .01em; }
table.comparatif td.np, table.comparatif .c-fort.np { font: 600 .84rem/1.3 var(--corps); color: #8a7b6f; font-style: italic; text-transform: none; letter-spacing: 0; }
table.comparatif .c-note { font: 400 1.7rem/1 var(--titre); color: var(--noir); white-space: nowrap; }
table.comparatif .c-note small { font: 800 .7rem/1 var(--corps); color: var(--doux); margin-left: .1rem; }
.astuce-defile { display: none; font-size: .82rem; color: var(--doux); margin: -.6rem 0 1.2rem; }
table.caract th { width: 38%; background: var(--creme-2); font-size: .88rem; }
table.cmp th, table.cmp td { font-size: .92rem; }

/* Outils */
.outil { margin: 2.4rem 0 1.4rem; border: 2px solid var(--noir); border-radius: 18px; background: var(--carte); box-shadow: 6px 6px 0 var(--noir); overflow: hidden; }
.outil-tete { display: flex; gap: 1.1rem; align-items: center; background: var(--noir); padding: 1.2rem 1.4rem; }
.outil-n { font: 400 3.4rem/.85 var(--titre); color: var(--framboise); flex: none; }
.outil-tete h3 { font: 400 1.75rem/1.05 var(--titre); letter-spacing: .02em; text-transform: uppercase; color: var(--creme); margin: 0 0 .3rem; }
.outil-tete p { color: #d7c9af; font-size: .92rem; line-height: 1.5; margin: 0; }
.outil-corps { padding: 1.4rem; }
.champs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1.2rem; }
.champs label { display: block; font: 800 .74rem/1.3 var(--corps); letter-spacing: .05em; text-transform: uppercase; color: var(--doux); margin-bottom: .35rem; }
.champs select, .champs input { width: 100%; min-width: 0; font: 700 1rem/1.2 var(--corps); color: var(--noir); background: var(--blanc); border: 2px solid var(--noir); border-radius: 10px; padding: .7rem .75rem; min-height: 48px; }
.champs select:focus, .champs input:focus { outline: 3px solid var(--framboise); outline-offset: 1px; }
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; }
.tuile { border: 2px solid var(--noir); border-radius: 12px; padding: .9rem 1rem 1rem; background: var(--blanc); min-width: 0; }
.tuile small { display: block; font: 800 .7rem/1.3 var(--corps); letter-spacing: .07em; text-transform: uppercase; color: var(--doux); }
.tuile strong { display: block; font: 400 2.5rem/1 var(--titre); color: var(--noir); letter-spacing: .01em; text-transform: uppercase; margin: .3rem 0 .2rem; overflow-wrap: anywhere; }
.tuile span { display: block; font: 700 .84rem/1.3 var(--corps); color: var(--doux); }
.tuile.fort { background: var(--framboise); border-color: var(--framboise-f); }
.tuile.fort small, .tuile.fort span { color: #ffe1ea; } .tuile.fort strong { color: #fff; }
.tuile.np { background: var(--creme-2); border-style: dashed; } .tuile.np strong { color: #7c6c60; }
.verdict { margin: 1.1rem 0 0; padding: .9rem 1rem; background: var(--creme-2); border-left: 5px solid var(--noir); border-radius: 0 10px 10px 0; font-size: .96rem; color: var(--noir); }
.vide { margin: 0; padding: 1rem; background: var(--rouge-c); border: 2px dashed var(--framboise-f); border-radius: 10px; font-weight: 700; color: var(--noir); }
.suite { margin-top: 1rem; }
.echeancier { list-style: none; margin: 1rem 0 0; padding: 0; border: 2px solid var(--noir); border-radius: 12px; overflow: hidden; background: var(--blanc); }
.echeancier li { display: grid; grid-template-columns: 46px 1fr auto; gap: .8rem; align-items: center; margin: 0; padding: .55rem .9rem; border-bottom: 1px solid var(--ligne); font-size: .94rem; font-weight: 600; }
.echeancier li:last-child { border-bottom: 0; }
.echeancier li span:first-child { font: 400 1.4rem/1 var(--titre); color: var(--framboise); }
.echeancier li span:last-child { font-weight: 800; color: var(--noir); font-variant-numeric: tabular-nums; }
.echeancier li.fin { background: var(--framboise-c); } .echeancier li.saut { color: var(--doux); font-style: italic; }
.piste { height: 14px; border: 2px solid var(--noir); border-radius: 999px; overflow: hidden; background: var(--blanc); margin-top: 1rem; }
.piste i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--framboise) 0 10px, #e23a6d 10px 20px); }

/* Fiches */
.fiche { margin: 2.2rem 0 3rem; border: 2px solid var(--noir); border-radius: 18px; background: var(--carte); overflow: hidden; scroll-margin-top: 88px; }
.fiche-tete { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; gap: 1.2rem; align-items: center; background: var(--noir); color: var(--creme); padding: 1.1rem 1.4rem; }
.fiche-tete .rg { font: 400 3.2rem/.9 var(--titre); color: var(--creme); display: flex; flex-direction: column; align-items: center; }
.fiche-tete .rg small { font: 800 .66rem/1 var(--corps); letter-spacing: .1em; color: #c9b89b; margin-bottom: .2rem; }
.fiche-tete .ident { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; min-width: 0; }
.fiche-tete .ident b { font: 400 2.1rem/1 var(--titre); letter-spacing: .02em; text-transform: uppercase; color: var(--creme); }
.fiche-tete .puce { background: var(--framboise); color: #fff; }
.fiche-tete .delai { border-left: 2px solid #4b403a; padding-left: 1.2rem; }
.fiche-tete .delai small { color: #c9b89b; } .fiche-tete .delai strong { color: #ff5f8d; font-size: 2.9rem; } .fiche-tete .delai.court strong { font-size: 3.3rem; }
.fiche-tete .delai span { color: var(--creme); max-width: 190px; }
.fiche-tete .note-bloc { border-left: 2px solid #4b403a; padding-left: 1.2rem; }
.fiche-tete .note-chiffre { color: var(--creme); font-size: 2.9rem; } .fiche-tete .note-chiffre small { color: #c9b89b; }
.fiche-tete .jauge { background: #3a302b; } .fiche-tete .jauge i { background: var(--framboise); }
.fiche-corps { padding: 1.5rem 1.6rem 1.7rem; }
.fiche-corps > h3 { margin-top: 0; font-size: 1.5rem; }
.resume { font-size: 1.08rem; font-weight: 600; color: var(--noir); }
.plusmoins { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; }
.plusmoins > div { border-radius: 12px; padding: 1rem 1.1rem; border: 2px solid var(--noir); }
.plusmoins .plus { background: var(--vert-c); } .plusmoins .moins { background: var(--rouge-c); }
.pm-titre { font: 400 1.35rem/1 var(--titre); text-transform: uppercase; letter-spacing: .03em; color: var(--noir); margin: 0 0 .6rem; }
.plusmoins ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.plusmoins li { position: relative; padding-left: 1.5rem; margin-bottom: .4rem; }
.plusmoins .plus li::before { content: "+"; position: absolute; left: 0; top: -.05em; font-weight: 800; font-size: 1.15rem; color: var(--vert); }
.plusmoins .moins li::before { content: "−"; position: absolute; left: 0; top: -.05em; font-weight: 800; font-size: 1.15rem; color: var(--framboise-f); }
.cta, .fiche-cta { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin: 1.6rem 0; padding: 1.1rem 1.2rem; background: var(--creme-2); border-radius: 12px; border: 1px dashed var(--ligne-f); }
.cta small, .fiche-cta small { font-size: .78rem; color: var(--doux); line-height: 1.4; }
.lien-casino { font-weight: 800; }

/* Classes du contrat de contenu */
.note { margin: 1.4rem 0; padding: 1rem 1.15rem; background: var(--blanc); border: 1px solid var(--ligne-f); border-left: 6px solid var(--noir); border-radius: 0 12px 12px 0; font-size: .97rem; }
.encart { margin: 1.5rem 0; padding: 1.1rem 1.25rem; background: var(--framboise-c); border: 2px solid var(--framboise-f); border-radius: 12px; }
.note > :last-child, .encart > :last-child, .duo > div > :last-child { margin-bottom: 0; }
.note > :first-child, .encart > :first-child, .duo > div > :first-child { margin-top: 0; }
ol.etapes { list-style: none; counter-reset: et; margin: 1.5rem 0; padding: 0; display: grid; gap: .6rem; }
ol.etapes > li { counter-increment: et; position: relative; margin: 0; padding: .85rem 1rem .85rem 4.1rem; background: var(--carte); border: 2px solid var(--noir); border-radius: 12px; min-height: 60px; }
ol.etapes > li::before { content: counter(et, decimal-leading-zero); position: absolute; left: 0; top: 0; bottom: 0; width: 3.2rem; display: flex; align-items: center; justify-content: center; background: var(--noir); color: var(--creme); font: 400 1.7rem/1 var(--titre); border-radius: 9px 0 0 9px; }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 1.5rem 0; border: 2px solid var(--noir); border-radius: 12px; overflow: hidden; background: var(--carte); }
.chiffres > div { padding: .9rem 1rem; border-right: 1px solid var(--ligne-f); border-bottom: 1px solid var(--ligne-f); margin: 0 -1px -1px 0; }
.chiffres small { display: block; font: 800 .7rem/1.3 var(--corps); letter-spacing: .07em; text-transform: uppercase; color: var(--doux); }
.chiffres strong { display: block; font: 400 2.3rem/1 var(--titre); color: var(--framboise); letter-spacing: .01em; text-transform: uppercase; margin-top: .3rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.duo > div { background: var(--carte); border: 2px solid var(--noir); border-radius: 12px; padding: 1rem 1.15rem; min-width: 0; }
.duo h4 { border: 0; padding: 0; margin-top: 0; }
.sec dl { margin: 1.4rem 0; border-top: 2px solid var(--noir); }
.sec dt { font-weight: 800; color: var(--noir); padding-top: .8rem; }
.sec dd { margin: .2rem 0 0; padding-bottom: .8rem; border-bottom: 1px solid var(--ligne); }

/* Images du contenu */
figure { margin: 1.5rem 0; }
figure.img img { width: 100%; border-radius: 12px; border: 2px solid var(--noir); background: var(--creme-2); }
figure.img.etroit { max-width: 420px; }
figure.img.logo-seul { max-width: 260px; background: var(--blanc); border: 2px solid var(--noir); border-radius: 12px; padding: 14px 18px; }
figure.img.logo-seul img { border: 0; background: none; border-radius: 0; }
.vignettes { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: .7rem; margin: 1.4rem 0 1.6rem; }
.vignettes.n2 { --n: 2; } .vignettes.n3 { --n: 3; } .vignettes.n4 { --n: 4; } .vignettes.n5 { --n: 5; } .vignettes.n6 { --n: 6; }
.vignettes figure { margin: 0; border-radius: 12px; overflow: hidden; border: 2px solid var(--noir); background: var(--blanc); }
.vignettes figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.vignettes.logos figure { display: flex; align-items: center; justify-content: center; padding: 12px 14px; height: 78px; border-width: 1px; border-color: var(--ligne-f); }
.vignettes.logos figure.sombre { background: #241d1a; border-color: #241d1a; }
.vignettes.logos figure img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; aspect-ratio: auto; }

/* FAQ */
.faq { border: 2px solid var(--noir); border-radius: var(--r); overflow: hidden; background: var(--carte); }
.faq details { border-bottom: 1px solid var(--ligne-f); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 800 1.04rem/1.4 var(--corps); margin: 0; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--noir); color: var(--creme); display: flex; align-items: center; justify-content: center; font: 400 1.6rem/1 var(--titre); }
.faq details[open] summary::after { content: "−"; background: var(--framboise); }
.faq details[open] summary { background: var(--creme-2); }
.faq details > p { margin: 0; padding: .9rem 1.2rem 1.2rem; }

/* Jeu responsable, rédaction */
.jr { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; background: var(--noir); color: #eadfca; border-radius: 18px; padding: 1.6rem; box-shadow: 6px 6px 0 var(--framboise); }
.jr strong { color: #fff; } .jr a { color: #ff8fb0; }
.dix-huit { width: 92px; height: 92px; border-radius: 50%; border: 5px solid var(--framboise); display: flex; align-items: center; justify-content: center; font: 400 2.5rem/1 var(--titre); color: var(--creme); }
.tel { display: inline-block; font: 400 2.9rem/1.1 var(--titre); color: var(--creme); letter-spacing: .03em; }
.jr p:last-child { margin-bottom: 0; }
.redaction { background: var(--carte); border: 2px solid var(--noir); border-radius: var(--r); padding: 1.4rem 1.5rem; }
.liens-pages { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; padding: 0; }
.liens-pages li { margin: 0; }

/* Pied de page */
.pied { margin-top: 4rem; background: var(--noir); color: #d7c9af; padding: 3rem 0 2.2rem; font-size: .92rem; border-top: 6px solid var(--framboise); }
.pied a { color: var(--creme); } .pied a:hover { color: #ff8fb0; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 2.2rem; }
.pied .logo { margin-bottom: 1rem; }
.pied .titre { font: 400 1.3rem/1 var(--titre); text-transform: uppercase; letter-spacing: .04em; color: var(--creme); margin: 0 0 .8rem; }
.pied ul + .titre { margin-top: 1.4rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .4rem; }
.pied li a { text-decoration: none; } .pied li a:hover { text-decoration: underline; }
.pied .rg-logos { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pied .rg-logos img { height: 34px; width: auto; border-radius: 6px; background: #2c2420; padding: 5px 8px; }
.legal { margin: 2.2rem 0 0; padding-top: 1.4rem; border-top: 1px solid #3f3530; font-size: .82rem; line-height: 1.6; color: #bfae92; }
.legal strong { color: var(--creme); }

/* Barre fixe mobile */
.barre { display: none; }

/* Pages secondaires */
main.page { padding: 2.6rem 0 1rem; }
main.page .wrap { max-width: 860px; }
main.page h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: none; margin-bottom: 1.4rem; }
main.page h2 { font: 400 1.9rem/1.05 var(--titre); text-transform: uppercase; letter-spacing: .02em; margin: 2.2rem 0 .8rem; padding-top: .8rem; border-top: 4px solid var(--noir); }
.rg-rangee { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 1.2rem 0; }
.rg-rangee img { height: 50px; width: auto; border-radius: 10px; background: #241d1a; padding: 8px 12px; }
.retour { margin-top: 2.4rem; }
.retour .bouton { white-space: normal; text-align: center; line-height: 1.3; }

/* Écrans moyens */
@media (max-width: 1100px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 2px solid var(--noir); flex-direction: column; padding: .6rem 24px 1rem; gap: 0; }
  body.menu-ouvert .menu { display: flex; }
  .menu a { padding: .9rem .4rem; border-radius: 0; border-bottom: 1px solid var(--ligne); font-size: 1rem; }
  .menu-bascule { display: flex; }
  .bouton-n1 { margin-left: auto; }
  .chrono { grid-template-columns: 56px 130px minmax(0, 1fr) 210px; grid-template-areas: "rang logo id delai" "rang logo detail delai" "rang actions actions actions"; }
  .chrono .pastille { width: 130px; height: 74px; }
  .chrono .ch-actions { flex-direction: row; align-items: center; gap: 1rem; border-top: 1px dashed var(--ligne-f); padding-top: .8rem; margin-top: .3rem; }
  .chrono.premier .ch-actions { border-color: #4b403a; }
  .chrono .ch-actions .note-bloc { flex: 1; max-width: 240px; }
  .sommaire ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fiche-tete { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .fiche-tete .delai { grid-column: 1 / 4; border-left: 0; padding-left: 0; border-top: 1px solid #4b403a; padding-top: .9rem; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; }
  .fiche-tete .delai span { max-width: none; }
  .fiche-tete .note-bloc { grid-column: 4; grid-row: 1; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .champs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  html { scroll-padding-top: 74px; }
  .entete .wrap { min-height: 60px; gap: .7rem; }
  .logo img { height: 38px; }
  .bouton-n1 { display: none; }
  .menu-bascule { margin-left: auto; }
  .menu { padding: .4rem 16px .8rem; }
  .haut { padding: 1.7rem 0 2rem; }
  .haut-grille { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 1.2rem; }
  .chapo { font-size: 1.02rem; }
  .reperes { box-shadow: 4px 4px 0 var(--noir); }
  .repere { padding: .85rem .8rem .9rem; }
  .repere strong { font-size: 2.3rem; }
  .repere span { font-size: .82rem; } .repere small { font-size: .7rem; }
  .sec { padding-top: 2.6rem; }
  .chrono { grid-template-columns: 44px auto minmax(0, 1fr); grid-template-areas: "rang logo id" "delai delai delai" "detail detail detail" "actions actions actions"; padding: 0 0 1rem; column-gap: .8rem; row-gap: .8rem; }
  .chrono .ch-rang { margin: 0; font-size: 2.3rem; border-right: 0; padding: .9rem 0 0 .9rem; justify-content: flex-start; }
  .chrono .pastille { width: 96px; height: 54px; padding: 6px 8px; margin-top: .9rem; }
  .chrono .ch-id { align-self: center; padding: .9rem .9rem 0 0; flex-direction: column; align-items: flex-start; gap: .35rem; }
  .chrono .ch-id h3 { font-size: 1.6rem; }
  .chrono .delai { border-left: 0; border-top: 2px solid var(--noir); border-bottom: 2px solid var(--noir); padding: .8rem .9rem; background: var(--creme-2); }
  .chrono.premier .delai { background: #241d1a; }
  .chrono .delai strong, .chrono .delai.court strong { font-size: 3.6rem; }
  .chrono .ch-detail { padding: 0 .9rem; }
  .faits { flex-direction: column; }
  .chrono .ch-actions { padding: .8rem .9rem 0; margin: 0; flex-wrap: wrap; }
  .chrono .ch-actions .note-bloc { flex: 1 1 100%; max-width: none; }
  .chrono .ch-actions .bouton { flex: 1; }
  .chrono.premier { box-shadow: 4px 4px 0 var(--framboise); }
  .sommaire { padding: 1rem; }
  .sommaire ol { grid-template-columns: 1fr 1fr; gap: .4rem; }
  .sommaire a { font-size: .82rem; padding: .55rem .6rem; }
  .astuce-defile { display: block; }
  .defile th, .defile td { padding: .65rem .7rem; }
  .outil { box-shadow: 4px 4px 0 var(--noir); margin-left: -4px; margin-right: 0; }
  .outil-tete { padding: 1rem; gap: .8rem; align-items: flex-start; }
  .outil-n { font-size: 2.5rem; }
  .outil-tete h3 { font-size: 1.45rem; }
  .outil-corps { padding: 1rem; }
  .champs { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .champs > div:first-child { grid-column: 1 / -1; }
  .champs select, .champs input { font-size: 16px; padding: .6rem; }
  .tuile strong { font-size: 2.1rem; }
  .echeancier li { grid-template-columns: 34px 1fr auto; gap: .5rem; padding: .5rem .7rem; font-size: .86rem; }
  .fiche { border-radius: 14px; margin: 1.6rem 0 2.4rem; }
  .fiche-tete { grid-template-columns: auto auto minmax(0, 1fr); gap: .8rem; padding: 1rem; }
  .fiche-tete .rg { font-size: 2.4rem; }
  .fiche-tete .pastille { width: 88px; height: 50px; padding: 6px 8px; }
  .fiche-tete .ident b { font-size: 1.55rem; }
  .fiche-tete .delai { grid-column: 1 / -1; }
  .fiche-tete .note-bloc { grid-column: 1 / -1; grid-row: auto; border-left: 0; padding-left: 0; flex-direction: row; align-items: center; gap: .8rem; }
  .fiche-tete .note-bloc .jauge { flex: 1; }
  .fiche-tete .note-chiffre { font-size: 2.3rem; }
  .fiche-corps { padding: 1.1rem 1rem 1.3rem; }
  .fiche-corps > h3 { font-size: 1.28rem; }
  .sec h3 { font-size: 1.22rem; }
  .plusmoins, .duo { grid-template-columns: 1fr; }
  table.caract th { width: 42%; }
  .vignettes { --n: 3 !important; }
  .vignettes.n2 { --n: 2 !important; } .vignettes.n4 { --n: 2 !important; }
  .vignettes.logos { --n: 3 !important; } .vignettes.logos figure { height: 62px; padding: 9px 10px; }
  .jr { grid-template-columns: 1fr; padding: 1.2rem; box-shadow: 4px 4px 0 var(--framboise); }
  .dix-huit { width: 70px; height: 70px; font-size: 1.9rem; }
  .tel { font-size: 2.4rem; }
  .pied-grille { grid-template-columns: 1fr; gap: 1.6rem; }
  .bouton { white-space: normal; text-align: center; line-height: 1.25; }
  .barre { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: .8rem; background: var(--noir); color: var(--creme); padding: .65rem 16px calc(.65rem + env(safe-area-inset-bottom)); border-top: 3px solid var(--framboise); transform: translateY(110%); transition: transform .25s; }
  .barre.visible { transform: none; }
  .barre .txt { font: 800 .92rem/1.25 var(--corps); min-width: 0; }
  .barre .txt small { display: block; font-weight: 600; font-size: .76rem; color: #c9b89b; }
  .barre .bouton { padding: .75rem 1.1rem; box-shadow: none; flex: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .barre, .bouton { transition: none; } }
