/* aide.css — pastille d'aide flottante + formulaire de retour (voir aide.js) */
.aide-root { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: var(--sans, Inter, sans-serif); }
.aide-fab { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold, #d4af37); background: #141416; color: var(--gold, #d4af37);
  font-family: var(--serif, serif); font-size: 24px; font-weight: 600; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5); transition: background .15s, color .15s, transform .15s; }
.aide-fab:hover, .aide-root.open .aide-fab { background: var(--gold, #d4af37); color: #0a0a0b; transform: scale(1.05); }
.aide-panel { position: absolute; right: 0; bottom: 58px; width: min(360px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto;
  background: var(--bg-elev, #141416); border: 1px solid var(--border, #2a2a2e); border-top: 2px solid var(--gold, #d4af37);
  border-radius: 8px; padding: 16px 16px 14px; box-shadow: 0 18px 50px rgba(0,0,0,0.6); color: var(--text, #f2f2f2); font-size: 13px; }
.aide-panel[hidden] { display: none; }
.aide-head { position: relative; margin-bottom: 10px; padding-right: 28px; }
.aide-kicker { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold, #d4af37); }
.aide-head h4 { font-family: var(--serif, serif); font-size: 22px; font-weight: 600; line-height: 1.1; margin: 2px 0 0; }
.aide-x { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border: none; background: none; color: var(--text-dim, #9a9a9f); font-size: 22px; cursor: pointer; }
.aide-x:hover { color: var(--gold, #d4af37); }
.aide-intro { color: var(--text-dim, #9a9a9f); margin: 0 0 10px; line-height: 1.5; }
.aide-faq { display: grid; gap: 2px; margin-bottom: 12px; }
.aide-faq details { border-bottom: 1px solid var(--border, #2a2a2e); }
.aide-faq summary, .aide-bug summary { cursor: pointer; padding: 8px 0; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
.aide-faq summary::-webkit-details-marker, .aide-bug summary::-webkit-details-marker { display: none; }
.aide-faq summary::before { content: "+"; color: var(--gold, #d4af37); width: 12px; flex-shrink: 0; }
.aide-faq details[open] summary::before { content: "–"; }
.aide-faq p { margin: 0 0 10px 20px; color: var(--text-dim, #9a9a9f); line-height: 1.55; }
.aide-faq kbd { font-family: inherit; font-size: 11px; border: 1px solid var(--border, #2a2a2e); border-radius: 3px; padding: 0 4px; }
.aide-bug { border: 1px solid var(--border, #2a2a2e); border-radius: 6px; padding: 0 10px; margin-bottom: 8px; }
.aide-bug summary::before { content: "⚠"; color: var(--gold, #d4af37); }
.aide-bug[open] { padding-bottom: 10px; }
.aide-form textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 84px; background: var(--bg, #0a0a0b); color: var(--text, #f2f2f2);
  border: 1px solid var(--border, #2a2a2e); border-radius: 4px; padding: 8px 10px; font: inherit; font-size: 16px; }
@media (min-width: 721px) { .aide-form textarea { font-size: 13px; } }
.aide-form textarea:focus { outline: none; border-color: var(--gold-dim, #a88a2b); }
.aide-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.aide-note { font-size: 11px; color: var(--text-mute, #5a5a5f); }
.aide-send { background: var(--gold, #d4af37); color: #0a0a0b; border: none; border-radius: 4px; padding: 7px 16px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.aide-send:disabled { opacity: .6; cursor: wait; }
.aide-thanks { padding: 12px; border: 1px solid var(--gold-dim, #a88a2b); border-radius: 4px; color: var(--gold, #d4af37); text-align: center; margin-bottom: 6px; }
.aide-link { background: none; border: none; padding: 4px 0; color: var(--text-dim, #9a9a9f); font: inherit; font-size: 12px; cursor: pointer; }
.aide-link:hover { color: var(--gold, #d4af37); }
.aide-footer-link { display: inline-block; margin-top: 4px; background: none; border: 1px solid var(--border, #2a2a2e); border-radius: 20px; padding: 6px 16px;
  color: var(--text-dim, #9a9a9f); font: inherit; font-size: 12px; letter-spacing: 0.04em; cursor: pointer; transition: border-color .15s, color .15s; }
.aide-footer-link:hover { border-color: var(--gold-dim, #a88a2b); color: var(--gold, #d4af37); }
@media (max-width: 720px) { .aide-root { right: 14px; bottom: 14px; } .aide-fab { width: 42px; height: 42px; font-size: 21px; } }
@media print { .aide-root { display: none; } }
