
/* Bestrosh Games — page d'assistance Nico Flap (/nicoflap/support), en plus de site.css. 19/11. */
[hidden] { display: none !important; }
.back-game { font-family: var(--title); font-size: 17px; letter-spacing: .04em; color: var(--ink); text-decoration: none; background: rgba(255, 251, 244, .75); border: 3px solid var(--ink); border-radius: 999px; padding: 6px 16px 7px; }
.back-game:hover { background: var(--gold); }
.btn.ghost { background: var(--paper); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.sup-hero { padding: 104px 0 64px; text-align: center; }
.sup-hero .stack { display: grid; justify-items: center; gap: 18px; position: relative; z-index: 2; }
.sup-hero .logo { width: min(260px, 62vw); height: auto; filter: drop-shadow(0 6px 0 rgba(30, 26, 36, .25)); }
.sup-hero h1 { font-size: clamp(34px, 6vw, 58px); color: var(--paper); text-shadow: 0 4px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink); }
.search { width: min(620px, 100%); }
.search input {
  width: 100%; font: inherit; font-weight: 800; font-size: 18px; color: var(--ink);
  padding: 16px 22px 16px 54px; border-radius: 999px; border: var(--line) solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  background: #fff url("../img/loupe.svg") 20px center / 22px no-repeat; outline: none;
}
.search input:focus { border-color: var(--ink); box-shadow: 0 6px 0 var(--ink), 0 0 0 5px var(--gold); }
.hero-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; margin-top: 6px; }
.hero-acts .btn { font-size: 19px; padding: 11px 22px 12px; }

/* FAQ */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 0; max-width: 860px; }
.chip { font-weight: 900; font-size: 15px; text-decoration: none; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 7px 16px; box-shadow: 0 4px 0 var(--ink); transition: transform .1s ease, box-shadow .1s ease; }
.chip:hover { background: var(--cream); }
.chip:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 34px; }
.faq-cat { scroll-margin-top: 20px; display: grid; gap: 12px; }
.faq-cat h3 { font-size: 28px; margin-bottom: 4px; }
.faq-cat h3::after { content: ""; display: block; width: 54px; height: 6px; border-radius: 3px; background: var(--coral); margin-top: 8px; }
details.faq-q { background: #fff; border: 4px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink); scroll-margin-top: 20px; }
details.faq-q summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; font-weight: 900; font-size: 18px; line-height: 1.3;
}
details.faq-q summary::-webkit-details-marker { display: none; }
details.faq-q summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--title); font-size: 22px; line-height: 1; background: var(--gold); border: 3px solid var(--ink); transition: transform .15s ease;
}
details.faq-q[open] summary::after { transform: rotate(45deg); background: var(--coral); color: var(--paper); }
details.faq-q summary:hover { color: var(--sky-3); }
.faq-a { padding: 0 20px 18px; font-size: 17px; }
.faq-a p, .faq-a li { margin-bottom: 8px; }
.faq-a ul, .faq-a ol { margin: 0 0 8px; padding-left: 22px; }
.faq-a a { color: var(--sky-3); font-weight: 900; }
.faq-a b { font-weight: 900; }
.faq-vide { text-align: center; font-weight: 800; }
.faq-vide a { color: var(--sky-3); }

/* Formulaire pas à pas */
.wiz {
  max-width: 720px; margin: 40px auto 0; background: #fff; border: var(--line) solid var(--ink); border-radius: 30px;
  box-shadow: 0 9px 0 var(--ink); padding: 26px 30px 30px; scroll-margin-top: 20px;
}
.wiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wiz-etape { font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; opacity: .7; }
.wiz-barre { flex: 1; height: 12px; border-radius: 6px; background: var(--cream); border: 3px solid var(--ink); overflow: hidden; }
.wiz-barre i { display: block; height: 100%; width: 25%; background: var(--coral); transition: width .25s ease; }
.pas { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.pas legend { font-family: var(--title); font-size: clamp(26px, 4vw, 34px); padding: 0; margin-bottom: 14px; }
.motifs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.motif {
  position: relative; display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 13px 14px; border: 3px solid var(--ink); border-radius: 16px; background: var(--paper);
  font-weight: 900; font-size: 15px; line-height: 1.2; transition: transform .1s ease, background .1s ease;
  min-width: 0; overflow-wrap: anywhere; hyphens: auto;
}
.motif:hover { transform: translateY(-2px); }
.motif input, .plat input, .services input { position: absolute; opacity: 0; pointer-events: none; }
.motif i { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--ink); background: var(--d, var(--gold)); }
.motif:has(input:checked) { background: var(--gold); box-shadow: 0 4px 0 var(--ink); transform: translateY(-2px); }
.motif:has(input:focus-visible), .plat:has(input:focus-visible), .services label:has(input:focus-visible) { outline: 3px solid var(--sky-2); outline-offset: 2px; }
.c-sky { --d: var(--sky); } .c-gold { --d: var(--gold); } .c-green { --d: #3DBE6A; } .c-coral { --d: var(--coral); }
.c-ink { --d: var(--ink); } .c-red { --d: #E5484D; } .c-violet { --d: var(--violet); } .c-teal { --d: var(--teal); } .c-grey { --d: #C9C2D1; }
.piste { background: #E7F5FF; border: 3px solid var(--sky-2); border-radius: 16px; padding: 12px 16px; font-size: 16px; }
.piste a { color: var(--sky-3); font-weight: 900; white-space: nowrap; }

.champ { display: grid; gap: 6px; }
.champ label, .champ .lab { font-weight: 900; font-size: 16px; }
.opt { font-weight: 700; font-size: 13px; opacity: .55; text-transform: lowercase; margin-left: 4px; }
.champ input[type=text], .champ input[type=email], .champ textarea {
  width: 100%; font: inherit; font-weight: 700; font-size: 17px; color: var(--ink);
  padding: 12px 15px; border: 3px solid var(--ink); border-radius: 14px; background: var(--paper); outline: none;
}
.champ textarea { resize: vertical; min-height: 150px; line-height: 1.45; }
.champ input:focus, .champ textarea:focus { background: #fff; box-shadow: 0 0 0 4px var(--gold); }
.champ input::placeholder, .champ textarea::placeholder { color: #9C94A6; font-weight: 700; }
.aide { font-size: 14px; opacity: .65; }
.compteur { justify-self: end; }
.bad input, .bad textarea { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .2); }
.motifs.bad .motif, .plateformes.bad .plat { border-color: #E5484D; }
.plateformes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plat { position: relative; cursor: pointer; }
.plat > span { display: block; text-align: center; font-family: var(--title); font-size: 20px; letter-spacing: .03em; padding: 14px 10px; border: 3px solid var(--ink); border-radius: 16px; background: var(--paper); }
.plat input:checked + span { background: var(--sky); box-shadow: 0 4px 0 var(--ink); transform: translateY(-2px); }
.services { display: flex; flex-wrap: wrap; gap: 8px; }
.services label { position: relative; cursor: pointer; }
.services label > span { display: inline-block; font-weight: 900; font-size: 15px; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); }
.services input:checked + span { background: var(--gold); }
.bloc { display: grid; gap: 16px; padding: 16px; border-radius: 18px; background: var(--paper); border: 3px dashed #D9CFC0; }
.bloc .champ input { background: #fff; }
.note { font-size: 15px; opacity: .8; }
.note a { color: var(--sky-3); font-weight: 900; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.recap { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 4px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--cream); font-size: 15px; }
.recap dt { font-weight: 900; }
.recap dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.wiz-err { margin-top: 16px; color: #C4282D; font-weight: 900; }
.wiz-err a { color: inherit; }
.wiz-acts { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.wiz-acts .btn { font-size: 19px; padding: 11px 24px 12px; }
.wiz-acts [data-retour] { margin-right: auto; }
.fin { text-align: center; justify-items: center; padding: 10px 0; }
.fin h3 { font-size: 36px; }
.fin .ref { font-size: 15px; opacity: .7; }
.ok-rond { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; font-weight: 900; color: var(--paper); background: #3DBE6A; border: var(--line) solid var(--ink); box-shadow: 0 6px 0 var(--ink); animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

@media (max-width: 700px) {
  .motifs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .motif { padding: 11px 10px; gap: 8px; font-size: 14.5px; }
  .motif i { width: 13px; height: 13px; border-width: 2.5px; }
  .plat > span { font-size: 18px; padding: 12px 8px; }
  .wiz { padding: 22px 18px 24px; border-radius: 24px; }
  .duo { grid-template-columns: 1fr; }
  .recap { grid-template-columns: 1fr; gap: 2px; }
  .recap dd { margin-bottom: 8px; }
  details.faq-q summary { font-size: 17px; padding: 14px 16px; }
  .faq-a { padding: 0 16px 16px; }
  .sup-hero { padding: 92px 0 52px; }
  .wiz-acts .btn { font-size: 17px; padding: 10px 18px 11px; }
}
