/* @import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap";
.alert {
  position: fixed;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  font-family: "Open Sans", sans-serif;
}

.text-center {
  text-align: center !important;
}

.btncookie-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.btncookie {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  cursor: pointer;
  color: black;
  background: white;
  border: none;
}

.cookiealert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 99999999999999999999999999999999;
  opacity: 1;
  visibility: hidden;
  border-radius: 0;
  transform: translateY(100%);
  color: #fff;
  background: rgb(33 35 39 / 90%);
}

.cookiealert.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
}

.cookiealert .acceptcookies {
  margin-left: 10px;
  vertical-align: baseline;
}

.centro-cookie {
  position: relative;
  width: 1400px;
  max-width: 90%;
  margin: 10px auto;
  display: block;
}

.politica {
  font-weight: bolder;
  color: #fff;
  text-decoration: none;
} */

/* =========================================
   AVISO DE COOKIES
   ========================================= */

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999999999;
  width: min(430px, calc(100% - 30px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  font-family: "Open Sans", sans-serif;
}

/* Escondido depois de aceitar */
.cookie-banner.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  pointer-events: none;
}

/* Texto */
.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__text p {
  margin: 0;
  color: var(--cor-cinza);
  font-family: var(--fonte-texto);
  font-size: 12px;
  line-height: 1.6;
}

/* Link */
.cookie-banner__text a {
  color: var(--cor-primaria);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  text-decoration: none;
}

/* Botão */
.cookie-banner__accept {
  flex: 0 0 auto;

  padding: 11px 16px;

  border: 0;
  border-radius: 0;

  background: var(--cor-primaria);
  color: #fff;

  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;

  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.cookie-banner__accept:hover {
  background: var(--cor-secundaria);
}

.cookie-banner__accept:active {
  transform: translateY(1px);
}

/* =========================================
   RESPONSIVO
   ========================================= */

@media (max-width: 600px) {
  .cookie-banner {
    right: 15px;
    bottom: 15px;

    width: calc(100% - 30px);

    gap: 14px;

    padding: 16px;
  }

  .cookie-banner__text p {
    font-size: 11px;
    line-height: 1.5;
  }

  .cookie-banner__accept {
    padding: 10px 14px;
    font-size: 11px;
  }
}

/* Celulares muito estreitos */
@media (max-width: 400px) {
  .cookie-banner {
    align-items: flex-end;
    gap: 10px;
  }

  .cookie-banner__accept {
    padding: 10px 12px;
  }
}
