/* Consentimento de cookies, Adalberto Chagas Academy. Autocontido: funciona em qualquer página. */
.acc-root, .acc-root * { box-sizing: border-box; }
.acc-root[hidden] { display: none !important; }
.acc-root {
  --acc-navy: #0E1B2B; --acc-navy-2: #16283F; --acc-navy-3: #1E3350;
  --acc-gold: #C6A45A; --acc-gold-2: #E4C787; --acc-paper: #F4EFE4; --acc-ink: #17212E; --acc-lede: #B9C2CF;
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2147483000; margin-inline: auto; max-width: 960px;
  background: var(--acc-navy-2); color: var(--acc-paper);
  border: 1px solid rgba(198, 164, 90, 0.45); border-radius: 12px;
  box-shadow: 0 20px 60px rgba(14, 27, 43, 0.55);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.55;
  padding: 20px 24px; max-height: calc(100vh - 32px); overflow: auto;
}
.acc-root.acc-in { animation: acc-rise 0.28s ease-out both; }
@keyframes acc-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acc-root.acc-in { animation: none; } }

.acc-title { margin: 0 0 6px; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--acc-paper); }
.acc-title:focus { outline: none; }
.acc-text { margin: 0; color: var(--acc-lede); max-width: 68ch; }
.acc-text a { color: var(--acc-gold-2); text-decoration: underline; text-underline-offset: 3px; }

.acc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.acc-btn {
  appearance: none; cursor: pointer; min-height: 44px; padding: 10px 20px; border-radius: 8px;
  font: 600 14px/1.2 'IBM Plex Sans', system-ui, sans-serif; letter-spacing: 0.01em;
  border: 1.5px solid var(--acc-gold); background: var(--acc-gold); color: var(--acc-ink);
}
.acc-btn.acc-ghost { background: transparent; color: var(--acc-gold-2); border-color: rgba(198, 164, 90, 0.55); }
@media (hover: hover) {
  .acc-btn:hover { background: var(--acc-gold-2); border-color: var(--acc-gold-2); color: var(--acc-ink); }
}
.acc-btn:focus-visible, .acc-switch input:focus-visible + .acc-track, .acc-text a:focus-visible {
  outline: 2px solid var(--acc-gold-2); outline-offset: 3px;
}

.acc-panel { margin-top: 16px; border-top: 1px solid rgba(198, 164, 90, 0.25); padding-top: 8px; }
.acc-panel[hidden] { display: none; }
.acc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(198, 164, 90, 0.15); }
.acc-row:last-of-type { border-bottom: 0; }
.acc-row h3 { margin: 0 0 2px; font: 600 15px/1.3 'IBM Plex Sans', system-ui, sans-serif; color: var(--acc-paper); }
.acc-row p { margin: 0; font-size: 13.5px; color: var(--acc-lede); max-width: 62ch; }
.acc-fixed { flex: none; font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc-gold-2); padding-top: 4px; }

.acc-switch { position: relative; flex: none; display: inline-block; width: 52px; height: 30px; margin-top: 2px; }
.acc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.acc-track { position: absolute; inset: 0; border-radius: 999px; background: var(--acc-navy); border: 1.5px solid rgba(198, 164, 90, 0.55); transition: background 0.2s; }
.acc-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--acc-lede); transition: transform 0.2s, background 0.2s; }
.acc-switch input:checked + .acc-track { background: var(--acc-gold); border-color: var(--acc-gold); }
.acc-switch input:checked + .acc-track::after { transform: translateX(22px); background: var(--acc-ink); }
@media (prefers-reduced-motion: reduce) { .acc-track, .acc-track::after { transition: none; } }

.acc-link-open { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: rgba(198, 164, 90, 0.6); text-underline-offset: 3px; cursor: pointer; }
.acc-link-open:focus-visible { outline: 2px solid var(--acc-gold-2); outline-offset: 3px; }

@media (max-width: 640px) {
  .acc-root { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); padding: 16px; font-size: 14px; }
  .acc-actions { flex-direction: column; }
  .acc-btn { width: 100%; }
  .acc-row { gap: 14px; }
}
