/* =========================
   BASE / RESET
========================= */
* {
  box-sizing: border-box;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  padding: 8px 0;
  background-color: rgb(255, 255, 255);
}

.navbar-nav .nav-link {
  font-size: 14px;
}

.navbar-nav .nav-item {
  margin-right: 0;
  margin-bottom: 10px;
  text-align: center;
}

.logo {
  height: 60px;
  width: auto;
}

/* =========================
   FOOTER
========================= */
footer {
  min-height: 100px;
  background-color: rgb(255, 255, 255);
  margin-top: 60px;
  padding: 0 15px;
}

/* =========================
   CONTAINER
========================= */
.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   SEÇÃO INÍCIO
========================= */
.conteudo-proposito {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.imagem-secao {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.imagem-inicio {
  flex: 0 1 480px;
}

.imagem-contato {
  height: auto;
  object-fit: contain;
}

.sobre {
  margin-top: 0;
}

/* =========================
   SEÇÃO SOBRE
========================= */
.logosobre {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logosobre:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

h2.esquerda {
  margin-left: 0;
  margin-top: 30px;
  text-align: center;
}

.espaço {
  text-decoration: underline rgb(252, 96, 96);
  text-decoration-thickness: 2px;
}

p.esquerda {
  text-align: center;
}

/* =========================
   LINHAS HR
========================= */
hr.esquerda,
hr.esquerda-2,
hr.direita,
hr.direita-2 {
  border: none;
  height: 4px;
  width: 80%;
  margin: 16px auto;
  border-radius: 999px;
  opacity: 0.85;
}

hr.esquerda {
  background: linear-gradient(90deg, transparent, #ff0202, transparent);
}

hr.esquerda-2 {
  background: linear-gradient(90deg, transparent, #2600ff, transparent);
}

hr.direita {
  background: linear-gradient(90deg, transparent, #ff0202, transparent);
}

hr.direita-2 {
  background: linear-gradient(90deg, transparent, #2903ff, transparent);
}

/* =========================
   BOTÕES
========================= */
.btn-orcamento {
  background-color: rgb(255, 255, 255);
  font-size: 16px;
  text-decoration: underline red;
  font-family: 'Verdana', sans-serif;
  padding: 8px 16px;
  border-radius: 24px;
  cursor: pointer;
}


.btn-voltar {
  display: inline-block;
  background-color: rgb(236, 78, 78);
  color: #fff;
  font-size: 16px;
  font-family: 'Verdana', sans-serif;
  padding: 10px 24px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.btn-voltar:hover {
  background-color: #db4d4d;
  color: #fff;
}

/* =========================
   LINKS
========================= */
a {
  text-decoration: none;
  color: inherit;
}
.menu {
  text-decoration: underline;
  text-decoration-color: red;
  text-decoration-thickness: 1px;
}

/* =========================
   FORMULÁRIO
========================= */
.form-box {
  margin-top: 20px;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.contatos {
  background-color: rgb(236, 78, 78);
  background: linear-gradient(to right, #ffffff, #db4d4d);
  padding-top: 30px;
  padding-bottom: 30px;
}

.enviar {
  background-color: rgb(236, 78, 78);
}
.enviar:hover {
  background-color: rgb(209, 141, 141);
}

.card-hover {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.card-hover:hover {
  border-color: rgb(240, 111, 111);
}

/* =========================
   SERVIÇOS PÚBLICOS
========================= */
.servicos-publicos {
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.servicos-kicker {
  color: #c52626;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.servicos-intro {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.servicos-destaques {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.servicos-destaques span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid #f2a2a2;
  border-radius: 999px;
  background-color: #fff;
  color: #8f1c1c;
  font-size: 0.9rem;
  font-weight: 600;
}

.servicos-aviso {
  max-width: 760px;
  padding: 0.9rem 1rem;
  border-left: 4px solid #ec4e4e;
  background-color: #fff;
  color: #5f3434;
  font-size: 0.92rem;
  line-height: 1.55;
}

.servicos-banner {
  overflow: hidden;
  border: 1px solid #f2a2a2;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 0.7rem 1.6rem rgba(181, 37, 37, 0.12);
}

.servicos-banner img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.servicos-banner figcaption {
  padding: 0.55rem 0.85rem;
  color: #6c4a4a;
  font-size: 0.78rem;
  font-style: italic;
  text-align: right;
}

.servicos-status {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #f2c5c5;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #6c4a4a;
  font-size: 0.9rem;
}

.servicos-status[data-estado="ativo"] {
  border-color: #e7b3b3;
  color: #7f1d1d;
}

.servicos-status[data-estado="erro"] {
  border-color: #e0b2b2;
  color: #7b3030;
}

.servicos-grupo-cabecalho {
  margin-bottom: 1rem;
}

.servicos-grupo-cabecalho h3 {
  margin: 0;
  color: #2e1a1a;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.servico-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid #f0caca;
  border-top: 4px solid #ec4e4e;
  border-radius: 0.85rem;
  background-color: #fff;
  box-shadow: 0 0.35rem 1rem rgba(87, 24, 24, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.servico-card:hover {
  border-color: #ed8585;
  box-shadow: 0 0.75rem 1.35rem rgba(87, 24, 24, 0.12);
  transform: translateY(-4px);
}

.servico-miniatura {
  width: 100%;
  margin: 0 0 0.85rem;
  overflow: hidden;
  border: 1px solid #f4caca;
  border-radius: 0.6rem;
  background-color: #fffafa;
}

.servico-miniatura img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.servico-miniatura figcaption {
  padding: 0.2rem 0.45rem;
  color: #806161;
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: center;
}

.servico-card h4 {
  margin-bottom: 0.55rem;
  color: #351c1c;
  font-size: 1.1rem;
}

.servico-card > p:first-of-type {
  flex-grow: 1;
  margin-bottom: 1rem;
  color: #634646;
  font-size: 0.93rem;
  line-height: 1.55;
}

.servico-valor {
  color: #a71d1d;
  font-weight: 700;
}

.servico-preco {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  background-color: #fff2f2;
}

.servico-disponibilidade {
  color: #806161;
  font-size: 0.78rem;
  line-height: 1.4;
}

.servico-card[data-disponivel="true"] .servico-disponibilidade {
  color: #8f1c1c;
  font-weight: 600;
}

.servico-card[data-disponivel="false"] .servico-disponibilidade {
  color: #856060;
}

.servicos-cta p {
  color: #5d3d3d;
}

.servicos-cta .btn-voltar {
  margin-top: 0;
}

/* =========================
   CARROSSEL
========================= */
.carrossel {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fafafa;
}

.anterior,
.proximo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  color: rgb(14, 9, 9);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}
.anterior { left: 10px; }
.proximo  { right: 10px; }

.anterior:hover,
.proximo:hover {
  background-color: rgba(226, 220, 220, 0.9);
}

/* Bolinhas indicadoras do carrossel */
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 96px);
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.32);
  z-index: 10;
}

.dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.ativo {
  background-color: rgb(236, 78, 78);
}

/* =========================================================
   TABLET (≥768px)
========================================================= */
@media (min-width: 768px) {

  .carrossel {
    height: 380px;
  }

  .anterior,
  .proximo {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  h2.esquerda {
    text-align: right;
  }

  p.esquerda {
    text-align: right;
  }
}

/* =========================================================
   DESKTOP (≥992px)
========================================================= */
@media (min-width: 992px) {

  .navbar {
    padding: 0;
  }

  .navbar-nav .nav-item {
    margin-right: 20px;
    margin-bottom: 0;
    text-align: left;
  }

  .logo {
    height: 100px;
  }

  .container {
    min-height: 330px;
    width: 90%;
  }

  .conteudo-proposito {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
  }

  .logosobre {
    width: 400px;
    max-width: 400px;
    height: 300px;
    margin: -100px 0 0;
  }

  h2.esquerda {
    margin-left: 800px;
    margin-top: 50px;
    text-align: right;
  }

  hr.esquerda,
  hr.esquerda-2,
  hr.direita,
  hr.direita-2 {
    width: 50%;
    margin-top: -10px;
  }

  hr.esquerda   { margin-right: auto; }
  hr.esquerda-2 { margin-left: auto; margin-right: 300px; }
  hr.direita    { margin-left: 500px; }
  hr.direita-2  { margin-left: auto; margin-right: -200px; }

  .btn-orcamento {
    font-size: 25px;
    padding: 10px 20px;
    border-radius: 28px;
    margin: 0 25px;
  }

  .carrossel {
    height: 500px;
  }

  .anterior,
  .proximo {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .anterior { left: 20px; }
  .proximo  { right: 20px; }

  .form-box {
    margin-top: -120px;
    margin-bottom: -210px;
  }
}

/* =========================
   PARCERIAS
========================= */
.parcerias-layout {
  align-items: stretch;
}

.parcerias-lista {
  display: grid;
  gap: 0.85rem;
}

.parcerias-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 106px;
  padding: 0.75rem 1rem;
  border: 1px solid #f0b8b8;
  border-radius: 0.75rem;
  background-color: #fff;
  box-shadow: 0 0.3rem 0.85rem rgba(87, 24, 24, 0.06);
}

.parcerias-logo-box {
  display: flex;
  flex: 0 0 160px;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 90px;
  overflow: hidden;
  border: 1px solid #f4d2d2;
  border-radius: 0.45rem;
  background-color: #fff;
}

.parcerias-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.parcerias-item h3 {
  margin: 0;
  color: #351c1c;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.parcerias-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.parcerias-figura {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  box-shadow: none;
}

.parcerias-figura img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

.parcerias-figura figcaption {
  padding-top: 0.45rem;
  color: #806161;
  font-size: 0.78rem;
  font-style: italic;
  text-align: center;
}

@media (max-width: 575.98px) {
  .parcerias-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .parcerias-logo-box {
    flex-basis: auto;
  }
}


/* Cartão único de destaque: Reboco em Gesso */
.servico-card-destaque {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.servico-card-destaque .servico-miniatura {
  flex: 0 0 320px;
  max-width: 320px;
  margin: 0;
}

.servico-card-destaque .servico-miniatura img {
  height: 200px;
  object-fit: cover;
}

.servico-card-destaque h4 {
  font-size: 1.35rem;
}

.servico-beneficios {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #634646;
  font-size: 0.98rem;
  line-height: 1.55;
}

.servico-beneficios li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
}

.servico-beneficios li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #ec4e4e;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .servico-card-destaque {
    flex-direction: column;
    align-items: stretch;
  }

  .servico-card-destaque .servico-miniatura {
    flex-basis: auto;
    max-width: none;
  }
}

/* Links da seção de contatos */
.link-contato {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.link-contato:hover,
.link-contato:focus-visible {
  color: #ec4e4e;
  text-decoration: underline;
}
