/* =========================================
   GLOBAL: Prevent horizontal overflow on mobile
   ========================================= */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media screen and (max-width: 600px) {
  .button.whatsapp {
    font-size: 36px !important;
    padding: 0 12px !important;
    width: 100%;
    justify-content: center;
  }

  .button.whatsapp span {
    font-size: 28px !important;
  }
}

/* =========================================
   MODAL: Comunicado Importante
   ========================================= */

#comunicado-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeInOverlay .25s ease;
}

#comunicado-overlay.oculto {
  display: none;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#comunicado-modal {
  background: #fff;
  border-radius: 10px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
  overflow: hidden;
  animation: slideUp .3s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

#comunicado-header {
  background: #c0392b;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  position: relative;
}

#comunicado-x {
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: .25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: .8;
  transition: opacity .2s;
  flex-shrink: 0;
}

#comunicado-x:hover {
  opacity: 1;
}

#comunicado-x:focus {
  outline: none;
}

#comunicado-icone {
  background: rgba(255, 255, 255, .15);
  border-radius: 8px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#comunicado-titulo {
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  line-height: 1.3;
}

#comunicado-corpo {
  padding: 1.5rem 1.75rem 1.25rem;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  font-size: .97rem;
  line-height: 1.7;
}

#comunicado-corpo p {
  margin-bottom: .85rem;
  font-weight: 500;
}

#comunicado-corpo p:last-child {
  margin-bottom: 0;
}

#comunicado-corpo strong {
  font-weight: 700;
}

#comunicado-fechar {
  display: block;
  width: calc(100% - 3.5rem);
  margin: .5rem 1.75rem 1.5rem;
  background: #04568A;
  border: none;
  border-radius: 4px;
  color: #fff;
  padding: .75rem 1rem;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

#comunicado-fechar:hover {
  background: #003150;
}

#comunicado-fechar:focus {
  outline: none;
}

/* =========================================
   SECTION: Orçamento (somente WhatsApp)
   ========================================= */

#orcamento .hero-body {
  padding: 120px 1.5rem;
}

#orcamento .orcamento-box {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#orcamento h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

#orcamento h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 1.25rem auto 0;
  border-radius: 2px;
  background-color: #24BFF3;
}

#orcamento .subtitle {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

#orcamento .subtitle strong {
  color: #fff;
  font-weight: 700;
}

#orcamento .buttons {
  justify-content: center;
  margin-bottom: 0;
}

#orcamento .button.whatsapp {
  border-radius: 8px;
  padding: 8px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#orcamento .button.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}

#orcamento .button.whatsapp .fa-whatsapp {
  margin-right: 12px;
}

#orcamento .orcamento-hint {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
}

@media screen and (max-width: 1023px) {
  #orcamento .hero-body {
    padding: 70px 1.5rem;
  }

  #orcamento h1 {
    font-size: 3rem;
  }
}

@media screen and (max-width: 600px) {
  #orcamento .hero-body {
    padding: 50px 1rem;
  }

  #orcamento h1 {
    font-size: 2.5rem;
  }

  #orcamento .subtitle {
    font-size: 18px;
    margin-bottom: 2rem;
  }

  #orcamento .button.whatsapp {
    padding: 8px 12px !important;
  }
}
