@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url(/assets/bootstrap-5.3.0-dist/css/bootstrap.min.css);

:root {
  --blue: #1a4fee;
  --yellow: #fde400;
  --green: #7dfdc7;
}

*,
body {
  font-family: "Montserrat", sans-serif;
}

.btn {
  font-size: 1.3rem;
}

.text-blue {
  color: var(--blue);
}

.text-green {
  color: var(--green);
}

.border-blue {
  border-color: var(--blue) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--blue) !important;
}

.flatpickr-day.selected {
  background: var(--blue) !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  border-color: var(--blue) !important;
}

.form-select-lg,
input.form-control-lg {
  border-color: #212529 !important;
  border-width: 1.9px !important;
  border-style: solid !important;
}

.price-cut {
  position: relative;
  /* Para posicionar o traço em relação ao elemento pai */
  display: inline-block;
  /* Para que o elemento tenha apenas a largura necessária */
}

.price-cut::before {
  content: "";
  /* Conteúdo vazio */
  position: absolute;
  /* Posição absoluta em relação ao elemento pai */
  top: 60%;
  /* Posiciona o traço na metade da altura do elemento pai */
  left: -10%;
  /* Posiciona o traço no canto esquerdo do elemento pai */
  width: 120%;
  /* O traço terá a largura total do elemento pai */
  height: 2px;
  /* Altura do traço */
  background-color: red;
  /* Cor do traço */
  transform-origin: left center;
  /* Define o ponto de rotação como o canto esquerdo do traço */
  transform: translateY(-60%) rotate(-4deg);
  /* Aplica a rotação de 15 graus e centraliza verticalmente */
}

.btn-green {
  font-weight: bold;
  background-color: #7dfdc7;
  color: #1a4fee;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-green:hover {
  background-color: #6acdb5;
}

.btn-green:focus {
  background-color: #7dfdc7;
  box-shadow: 0 0 0 0.2rem rgba(125, 253, 199, 0.5);
}

.btn-green:active {
  background-color: #7dfdc7;
  color: #1a4fee;
}

.btn-blue {
  background-color: #0071bc;
  color: white;
  border: 2px solid #0071bc;
}

.btn-outline-blue {
  background-color: transparent;
  color: #0071bc;
  border: 2px solid #0071bc;
}

.btn-outline-secondary {
  background-color: transparent;
  color: #6c757d;
  border: 2px solid #6c757d;
}

/* Desativa a seleção de texto em todos os elementos */
.noselect {
  -webkit-touch-callout: none;
  /* Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Não permitir seleção de texto */
}

.modal {
  z-index: 99999 !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 400;
}

.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"],
.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:invalid:not([multiple])[size="1"] {
  border-color: #212529 !important;
  border-width: 1.9px;
}

/* Correção: aplicar layout flexível à raiz */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

header {
  background-color: var(--blue);
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.chat-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0071bc;
  color: #fff;
  padding: 10px 14px;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1000;
  user-select: none;
}

.content {
  flex: 1;
  /* Ocupa o espaço todo restante */
}

.footer {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 14px;
}

.footer>* {
  max-width: 960px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
  text-align: left;
}

.footer-logo {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  flex: 1 1 200px;
}

.footer-logo img {
  height: 45px;
  margin-bottom: 0.25rem;
}

.footer-info {
  flex: 1 1 200px;
  line-height: 1.5;
  font-size: 14px;
}

.footer-social {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #ddd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 13px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-info a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.footer-links a:hover {
  color: #ddd;
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-info,
  .footer-logo {
    flex: 1 1 100%;
  }
}