/* AUGEUM · banner de cookies · augeumdigital.com.br
   Escuro para servir aos dois registros do site: o institucional (fundo #080810)
   e a serie por nicho (fundo claro). Paleta de contexto/DESIGN.md. */
:root {
  --ac-primary: #D91B7A;
  --ac-primary-claro: #F0479A;
  --ac-roxo: #8B2FBE;
  --ac-surface: #120D18;
  --ac-ink: #F1F5F9;
  --ac-muted: #A7B1C2;
  --ac-line: rgba(255, 255, 255, 0.12);
  --ac-soft: rgba(217, 27, 122, 0.14);
  --ac-radius: 14px;
  --ac-z: 2147483000;
  --ac-font: var(--font-jakarta), "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#augeum-cookie-bar, #augeum-cookie-bar *, #augeum-cookie-modal, #augeum-cookie-modal * { box-sizing: border-box; }
#augeum-cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--ac-z);
  background: var(--ac-surface); color: var(--ac-ink);
  border-top: 1px solid var(--ac-line); box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  font-family: var(--ac-font); font-size: 15px; line-height: 1.55;
  transform: translateY(110%); transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
#augeum-cookie-bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(135deg, var(--ac-roxo), var(--ac-primary));
}
#augeum-cookie-bar.is-visible { transform: translateY(0); }
.acb-wrap {
  max-width: 1100px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.acb-copy { flex: 1 1 420px; min-width: 260px; }
.acb-copy h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #fff; font-family: var(--ac-font); }
.acb-copy p { margin: 0; color: var(--ac-muted); font-size: 14px; }
.acb-copy a { color: var(--ac-primary-claro); text-decoration: underline; font-weight: 600; }
.acb-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.acb-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-family: var(--ac-font);
  font-size: 14px; padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  transition: filter .15s, background .15s, color .15s;
}
.acb-btn:focus-visible { outline: 3px solid var(--ac-primary-claro); outline-offset: 2px; }
.acb-btn--primary { background: var(--ac-primary); color: #fff; }
.acb-btn--primary:hover { filter: brightness(1.1); }
.acb-btn--ghost { background: transparent; color: var(--ac-ink); border: 1px solid var(--ac-line); }
.acb-btn--ghost:hover { background: var(--ac-soft); }
.acb-btn--link { background: transparent; color: var(--ac-muted); padding: 12px 10px; text-decoration: underline; border-radius: 0; }
.acb-btn--link:hover { color: var(--ac-ink); }

#augeum-cookie-modal {
  position: fixed; inset: 0; z-index: calc(var(--ac-z) + 1);
  display: none; align-items: center; justify-content: center; padding: 16px;
  background: rgba(8, 8, 16, 0.7); backdrop-filter: blur(2px);
}
#augeum-cookie-modal.is-open { display: flex; }
.acm-card {
  background: var(--ac-surface); color: var(--ac-ink); width: 100%; max-width: 560px;
  max-height: 88vh; overflow: auto; border-radius: var(--ac-radius);
  border: 1px solid var(--ac-line); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  font-family: var(--ac-font);
}
.acm-head { padding: 24px 26px 8px; }
.acm-head h2 { margin: 0 0 6px; font-size: 19px; color: #fff; }
.acm-head p { margin: 0; font-size: 14px; color: var(--ac-muted); }
.acm-body { padding: 8px 26px 4px; }
.acm-row { padding: 18px 0; border-top: 1px solid var(--ac-line); display: flex; gap: 16px; align-items: flex-start; }
.acm-row:first-child { border-top: 0; }
.acm-row-txt { flex: 1; }
.acm-row-txt h3 { margin: 0 0 4px; font-size: 15px; color: #fff; }
.acm-row-txt p { margin: 0; font-size: 13.5px; color: var(--ac-muted); }
.acm-switch { position: relative; width: 46px; height: 26px; flex: 0 0 auto; margin-top: 2px; }
.acm-switch input { opacity: 0; width: 0; height: 0; }
.acm-slider { position: absolute; inset: 0; background: #3A3345; border-radius: 26px; transition: background .2s; cursor: pointer; }
.acm-slider::before {
  content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.acm-switch input:checked + .acm-slider { background: var(--ac-primary); }
.acm-switch input:checked + .acm-slider::before { transform: translateX(20px); }
.acm-switch input:focus-visible + .acm-slider { outline: 3px solid var(--ac-primary-claro); outline-offset: 2px; }
.acm-switch input:disabled + .acm-slider { background: var(--ac-primary); opacity: .5; cursor: not-allowed; }
.acm-foot {
  padding: 18px 26px 24px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
  border-top: 1px solid var(--ac-line); position: sticky; bottom: 0; background: var(--ac-surface);
}

@media (max-width: 760px) {
  .acb-wrap { padding: 16px; gap: 14px; }
  .acb-actions { width: 100%; }
  .acb-btn--primary, .acb-btn--ghost { flex: 1 1 auto; text-align: center; }
}
