/* AUGEUM · Consent Mode v2 + Banner de Cookies (LGPD) · Quintal Brincante, copiado do molde do Cáscio Cardoso em 04/12/2026.
   Tema claro com as cores e a fonte do site (branco, marrom #4E3629, laranja #FF8F1C, Fira Sans). */
:root {
  --ac-primary:  #4e3629;   /* marrom da marca: botão principal */
  --ac-accent:   #ff8f1c;   /* laranja da marca: foco e links */
  --ac-surface:  #ffffff;
  --ac-ink:      #33261e;
  --ac-muted:    #75655a;
  --ac-line:     #eadfd3;
  --ac-soft:     #faf6f1;
  --ac-radius:   18px;
  --ac-shadow:   0 -10px 40px rgba(78,54,41,.16);
  --ac-z:        2147483000;
  --ac-font: "Fira Sans", system-ui, -apple-system, "Segoe UI", 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;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  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: 18px 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 4px; font-size: 17px; font-weight: 700; color: var(--ac-primary); }
.acb-copy p { margin: 0; color: var(--ac-muted); font-size: 14px; }
.acb-copy a { color: var(--ac-primary); text-decoration: underline; text-decoration-color: var(--ac-accent); text-underline-offset: 2px; 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: 99px; 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.15); }
.acb-btn--ghost { background: transparent; color: var(--ac-primary); border: 2px solid var(--ac-primary); padding: 10px 18px; }
.acb-btn--ghost:hover { background: var(--ac-soft); }
.acb-btn--link { background: transparent; color: var(--ac-muted); padding: 12px 8px; 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(51,38,30,.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(51,38,30,.3); font-family: var(--ac-font);
}
.acm-head { padding: 24px 26px 8px; }
.acm-head h2 { margin: 0 0 6px; font-size: 20px; color: var(--ac-primary); }
.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: var(--ac-primary); }
.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: #d8cbbd; 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);
}

/* Celular: banner compacto. A barra de atalhos (Reservar, Festas, WhatsApp) e o botão flutuante
   sobem para cima do banner enquanto ele está aberto, para o WhatsApp nunca ficar coberto. */
@media (max-width: 760px) {
  #augeum-cookie-bar { font-size: 13px; line-height: 1.45; }
  .acb-wrap { padding: 12px 14px; gap: 10px; }
  .acb-copy { flex-basis: 100%; min-width: 0; }
  .acb-copy h2, .acb-long { display: none; }
  .acb-copy p { font-size: 13px; }
  .acb-actions { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .acb-btn { padding: 11px 14px; min-height: 44px; }
  .acb-btn--ghost { padding: 9px 12px; }
  .acb-btn--link { padding: 11px 4px; }
  .acb-btn--primary, .acb-btn--ghost { flex: 1 1 auto; text-align: center; }
}
body.acb-open .barra { bottom: var(--acb-h, 0px); }
body.acb-open .wa-float { bottom: calc(var(--acb-h, 0px) + 18px); }
@media (max-width: 859px) { body.acb-open .barra + .wa-float { bottom: calc(var(--acb-h, 0px) + 80px); } }
