/* Banner de consentimento. Segue o sistema visual do site e nao depende
   das variaveis das outras folhas, para funcionar em qualquer pagina. */

.consentimento {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
  background: #1c2117;
  border-block-start: 1px solid rgba(230, 227, 216, 0.2);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 300;
}

.consentimento-texto {
  margin: 0;
  flex: 1 1 34ch;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #a8a99b;
  text-wrap: pretty;
}

.consentimento-texto a {
  color: #74c063;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consentimento-acoes {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Recusar tem o mesmo peso visual de Aceitar: a LGPD exige que negar
   seja tao facil quanto consentir. */
.consentimento-btn {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  min-block-size: 44px;
  border-radius: 3px;
  border: 1px solid rgba(230, 227, 216, 0.28);
  background: transparent;
  color: #e6e3d8;
  cursor: pointer;
  transition: border-color 0.18s, background-color 0.18s;
}

.consentimento-btn:hover { border-color: rgba(230, 227, 216, 0.55); }

.consentimento-btn-sim {
  background: #3f7d3a;
  border-color: #3f7d3a;
  color: #fff;
}

.consentimento-btn-sim:hover { background: #56a04d; border-color: #56a04d; }

.consentimento-btn:focus-visible {
  outline: 2px solid #c8961f;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .consentimento { flex-direction: column; align-items: stretch; }
  .consentimento-acoes { justify-content: stretch; }
  .consentimento-btn { flex: 1; }
}
