/* AUGEUM · Consent Mode v2 + Banner de Cookies (LGPD) — Unicive Polo Campo Grande - Piratininga
   Adaptado do padrão validado no Camparim Advogados (2026-05-31). Cores/fonte trocadas para a marca Unicive. */
:root {
  --ac-primary:  #006652;   /* verde Unicive (--brand) */
  --ac-accent:   #FFC571;   /* dourado Unicive (--gold) */
  --ac-surface:  #ffffff;
  --ac-ink:      #2b333d;
  --ac-muted:    #5b6573;
  --ac-line:     #e4e7ec;
  --ac-soft:     #E3F2EF;   /* verde suave (--brand-soft) */
  --ac-radius:   14px;
  --ac-shadow:   0 -8px 40px rgba(16,24,40,.16);
  --ac-z:        2147483000;
  --ac-font: 'RethinkSans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#augeum-cookie-bar, #augeum-cookie-bar * { 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: var(--ac-shadow);
  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.is-visible { transform: translateY(0); }
.acb-wrap {
  max-width: 1180px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.acb-copy { flex: 1 1 420px; min-width: 280px; }
.acb-copy h2 {
  margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--ac-primary);
  letter-spacing: -.01em; font-family: var(--ac-font);
}
.acb-copy p { margin: 0; color: var(--ac-muted); font-size: 14px; }
.acb-copy a { color: var(--ac-primary); 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);
  padding: 12px 20px; border-radius: 999px; transition: filter .15s, background .15s, color .15s;
  white-space: nowrap;
}
.acb-btn:focus-visible { outline: 3px solid var(--ac-accent); outline-offset: 2px; }
.acb-btn--primary { background: var(--ac-primary); color: #fff; }
.acb-btn--primary:hover { filter: brightness(1.08); }
.acb-btn--ghost { background: transparent; color: var(--ac-primary); 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-primary); }

/* Painel "Personalizar" */
#augeum-cookie-modal {
  position: fixed; inset: 0; z-index: calc(var(--ac-z) + 1);
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(16,24,40,.55); 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);
  box-shadow: 0 24px 80px rgba(16,24,40,.35);
  font-family: var(--ac-font);
}
.acm-head { padding: 24px 26px 8px; }
.acm-head h2 { margin: 0 0 6px; font-size: 19px; color: var(--ac-primary); }
.acm-head p { margin: 0; font-size: 13.5px; 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: var(--ac-primary); }
.acm-row-txt p { margin: 0; font-size: 13px; color: var(--ac-muted); }
/* Toggle */
.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: #cdd3db; 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,.25);
}
.acm-switch input:checked + .acm-slider { background: var(--ac-primary); }
.acm-switch input:checked + .acm-slider::before { transform: translateX(20px); }
.acm-switch input:disabled + .acm-slider { background: var(--ac-primary); opacity: .55; 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; }
}
