/* FASS Advogados — aviso de consentimento de cookies (LGPD) */

@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1060px;
  margin-inline: auto;
  padding: 18px 22px;
  background: #181818;
  color: #ececec;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  animation: consent-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.consent__text {
  margin: 0;
  flex: 1 1 340px;
}

.consent__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.consent__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.consent__btn:focus-visible,
.footer__cookie:focus-visible {
  outline: 2px solid #ff6b42;
  outline-offset: 2px;
}

.consent__btn--primary {
  background: #f24e1e;
  color: #ffffff;
}

.consent__btn--primary:hover {
  background: #ff6b42;
}

.consent__btn--ghost {
  background: transparent;
  color: #ececec;
  border-color: rgba(255, 255, 255, 0.32);
}

.consent__btn--ghost:hover {
  border-color: #ffffff;
}

/* Botão do rodapé que reabre o aviso */
.footer__cookie {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer__cookie:hover {
  color: #ff6b42;
}

@media (prefers-reduced-motion: reduce) {
  .consent {
    animation: none;
  }
}
