.hidden {
  display: none;
}

.fixed-action-btn {
  position: fixed;
  padding-top: 15px;
  margin-bottom: 0;
  z-index: 997;
  bottom: 135px;
  right: 14px;
}

.whatsapp {
  position: fixed;
  right: 23px;
  bottom: 23px;
  padding-top: 15px;
  margin-bottom: 0;
  z-index: 997;
  bottom: 75px;
  right: 14px;
}

.show li:target {
  visibility: visible;
}

.btn-floating {
  display: inline-block;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 57px;
  height: 57px;
  line-height: 40px;
  padding: 0;
  border-radius: 50%;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  cursor: pointer;
  vertical-align: middle;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-floating-whats {
  display: inline-block;
  color: #fff;
  overflow: hidden;
  z-index: 999;
  width: 57px;
  height: 57px;
  line-height: 40px;
  padding: 0;
  border-radius: 50%;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  cursor: pointer;
  vertical-align: middle;
  background-color: #01d14c;
  border-color: #01d14c;
}

.btn-floating.btn-large i {
  line-height: 56px;
  font-size: 30px;
}

.btn-floating-whats.btn-large i {
  line-height: 56px;
  font-size: 30px;
}

.btn-floating i {
  width: inherit;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 3.6rem;
  line-height: 40px;
}

.btn-floating-whats i {
  width: inherit;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 3.6rem;
  line-height: 40px;
}

.fixed-action-btn1 {
  -webkit-transform: translateY(-50%);
  transform: translateY(0em);
  width: 0px;
}

.fixed-action-btn1 a {
  margin-bottom: 15px;
  margin-left: -250px;
}

.telefone {
  background-color: #00d058;
  padding: 18px 26px 20px;
  border-radius: 20px;
  color: #ffff;
  font-weight: 800;
  font-size: 1em;
  opacity: 1;
}

.btn-floating1.btn-info {
  text-decoration: none;
}

.telefone i {
  font-size: 2ch;
}

.telefone span {
  background-color: #339c60;
  font-weight: 800;
  position: absolute;
  margin: 26px -40px;
  padding-left: 18px;
  line-height: 18px;
  font-size: 0.5em !important;
  padding-right: 13px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
}
@media screen and (min-width: 1920px) {
  .fixed-action-btn {
    right: 30px;
  }
  .whatsapp {
    right: 30px;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
  .fixed-action-btn {
    right: 20px;
  }
  .whatsapp {
    right: 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
  .fixed-action-btn {
    right: 14px;
  }
  .whatsapp {
    right: 14px;
  }
}

@media screen and (max-width:575px){
  .whatsapp {
    bottom: 67px;
    right: 10px;
  }
  .fixed-action-btn {
    position: fixed;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 997;
    bottom: 128px;
    right: 10px;
  }
  .telefone span {
    margin: 26px -41px;
  }
  .telefone {
    padding: 20px 27px 20px;
  }
  #copyright-hoogli {text-align: center;}
  .text-copy {
    text-align: center !important;
}
}

#popupModal .title {
  font-size: 50px;
  line-height: 60px;
  text-transform: uppercase;
  font-weight: 700;
  color: #2364a1;
}

#popupModal .modal-dialog {
    max-width: 700px;
    margin: 1.75rem auto;
}

#popupModal .modal-body {
    padding: 20px;
}

#popupModal .modal-dialog p {
    font-size: 18px;
    line-height: 28px;
    color: #656565; 
    margin-bottom: 3rem;
}

#popupModal a {
    display: inline-block;
    background-color: 2364a1;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s all;
}

/* Modal de Seleção de Unidades - Popup Compacto */
.modal-unidades-overlay {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    pointer-events: none;
}

.modal-unidades-overlay.active {
    display: block;
    pointer-events: auto;
}

.modal-unidades-content {
    background-color: #fff;
    border-radius: 12px;
    width: 400px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 200px;
    right: 14px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999999;
}

.modal-unidades-overlay.active .modal-unidades-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-unidades-header {
    background-color: #01d14c;
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-unidades-header h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    padding-right: 24px;
    line-height: 1.3;
}

.modal-unidades-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-unidades-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-unidades-body {
    padding: 0;
    max-height: 350px;
    overflow-y: auto;
}

.lista-unidades-modal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-unidade-modal {
    border-bottom: 1px solid #e0e0e0;
}

.item-unidade-modal:last-child {
    border-bottom: none;
}

.link-unidade-modal {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.link-unidade-modal:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}

.link-unidade-modal i {
    font-size: 24px;
    margin-right: 12px;
    width: 30px;
    text-align: center;
}

.link-unidade-modal i.fa-whatsapp,
.link-unidade-modal i.fab.fa-whatsapp {
    color: #01d14c;
}

.link-unidade-modal i.fa-phone {
    color: #007bff;
}

.info-unidade {
    display: flex;
    flex-direction: column;
}

.label-whatsapp {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.nome-unidade {
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.modal-unidades-footer {
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #01d14c;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background-color 0.3s;
    gap: 8px;
    width: 100%;
}

.btn-whatsapp-footer:hover {
    background-color: #01b844;
    color: #fff;
    text-decoration: none;
}

.btn-whatsapp-footer i {
    font-size: 16px;
}

/* Estilo para botão de telefone no footer */
.btn-whatsapp-footer i.fa-phone {
    font-size: 16px;
}

#modal-unidades-telefone .btn-whatsapp-footer {
    background-color: #007bff;
}

#modal-unidades-telefone .btn-whatsapp-footer:hover {
    background-color: #0056b3;
}

/* Ajustes responsivos */
@media screen and (max-width: 575px) {
    .modal-unidades-content {
        width: 320px;
        max-width: 90%;
        left: 50% !important;
        top: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
    }
    
    .modal-unidades-overlay.active .modal-unidades-content {
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    .modal-unidades-header h2 {
        font-size: 13px;
    }
    
    .link-unidade-modal {
        padding: 10px 14px;
    }
    
    .nome-unidade {
        font-size: 13px;
    }
    
    .btn-whatsapp-footer {
        font-size: 12px;
        padding: 9px 16px;
    }
}

/* Posicionamento para telas maiores */
@media screen and (min-width: 1920px) {
    .modal-unidades-content {
        right: 30px;
        bottom: 200px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .modal-unidades-content {
        right: 20px;
        bottom: 200px;
    }
}

