/* ============================================================
   COOKIE CONSENT BANNER — Foco Total
   Inclua este arquivo em todas as páginas onde desejar o modal
   ============================================================ */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1a1a1a;
  color: #f0f0f0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  border-top: 3px solid #9F0120;

  /* Começa oculto — JS exibe quando necessário */
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Texto + link de política */
#cookie-banner .cookie-text {
  flex: 1;
  min-width: 0;
}

#cookie-banner .cookie-text a {
  color: #e8a0aa;
  text-decoration: underline;
  white-space: nowrap;
}

#cookie-banner .cookie-text a:hover {
  color: #ffffff;
}

/* Grupo de botões */
#cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

/* Botão primário — Aceitar */
#cookie-accept {
  background: #9F0120;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

#cookie-accept:hover {
  background: #c0001f;
  transform: translateY(-1px);
}

/* Botão secundário — Recusar (discreto) */
#cookie-decline {
  background: transparent;
  color: #aaaaaa;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

#cookie-decline:hover {
  border-color: #888;
  color: #cccccc;
}

/* ── Responsivo ── */
@media (max-width: 640px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 18px 22px;
  }

  #cookie-banner .cookie-actions {
    width: 100%;
  }

  #cookie-accept {
    flex: 1;
    text-align: center;
  }

  #cookie-decline {
    flex: 1;
    text-align: center;
  }
}
