/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
  margin-top: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Banner rotativo */
.banner {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  animation: slide 12s infinite;
  width: 200%;
}

.slides img {
  width: 100vw;
  height: 300px;
  object-fit: cover;
}

@keyframes slide {
  0%, 45% {
    transform: translateX(0);
  }
  55%, 100% {
    transform: translateX(-100vw);
  }
}

/* Seções gerais */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

h2.section-title {
  color: #2C6E49;
  margin-bottom: 20px;
  text-align: center;
}

/* Lista de equipamentos */
.equipamentos ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  list-style: none;
  padding-left: 0;
}

.equipamentos li {
  background: #F2F2F2;
  padding: 15px;
  border-radius: 8px;
}

/* Mapa */
.mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Contato */
.contato form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contato input,
.contato textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contato button {
  padding: 10px;
  background: #97BC62;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contato button:hover {
  background: #82a653;
}

/* Rodapé */
footer {
  background: #2C6E49;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* WhatsApp */
.whatsapp-link {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* Responsividade */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .btn-voltar-corptech {
    top: 70px;
    right: 10px;
  }
}

header {
  background-color: #2C6E49;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.shrink {
  padding: 10px 0;
}

.logoTop {
  height: 80px;
  transition: all 0.3s ease;
}

header.shrink .logoTop {
  height: 45px;
}

nav ul {
display: flex;
justify-content: center;
flex-wrap: wrap;
list-style: none;
gap: 20px;
}
nav a {
color: #fff;
text-decoration: none;
font-weight: bold;
}


.spacer { 
  height: 195px; 
}


.banner { position: relative; overflow: hidden; margin-top: 0; }
.slides {
display: flex;
animation: slide 12s infinite;
width: 200%;
}
.slides img {
width: 100vw;
height: 300px;
object-fit: cover;
}
@keyframes slide {
0%, 45% { transform: translateX(0); }
55%, 100% { transform: translateX(-100vw); }
}


section {
padding: 40px 20px;
max-width: 1000px;
margin: auto;
}
h2.section-title {
color: #2C6E49;
margin-bottom: 20px;
text-align: center;
}

.equipamento {
display: flex;
flex-wrap: wrap;
align-items: center;
margin-bottom: 40px;
gap: 20px;
}
.equipamento img {
width: 100%;
max-width: 400px;
height: auto;
border-radius: 8px;
}
.equipamento:nth-child(even) { 
  flex-direction: row-reverse; 
}
.equipamento div {
 flex: 1; 
}
.mapa iframe {
width: 100%;
height: 300px;
border: none;
}
.contato form {
display: flex;
flex-direction: column;
}
.scroll-top {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 80px; /* acima do WhatsApp */
  right: 20px;  /* mesmo alinhamento do WhatsApp */
  background-color: #2C6E49;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
  transition: background 0.3s ease;
}

.scroll-top:hover {
  background-color: #1b4a32;
}
header nav {
    background: #c6d1a4;
    padding: 1px 0px 12px 0px;
    border: 3px solid;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav a {
  color: #2C6E49; /* verde escuro nos links */
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}
.localizacao {
  background-color: #f4a261; /* Laranja */
  padding: 40px 0;
}

.conteudo-localizacao {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #a8d5a2; /* Verde clarinho do conteúdo */
  border-radius: 10px;
}
section#localizacao {
    max-width: 100vw;
    border-bottom: 2px dotted #2c6e49;
    background-color: #c6d1a4;
    border-top: 2px dotted #2c6e49;
}
.equipamento {
    background-color: #c6d1a4;
    border-radius: 60px;
}
.equipamento div {
    padding: 20px;
}
section {
  scroll-margin-top: 110px !important;
}
html {
  scroll-behavior: smooth;
}
#equipamentos {
  scroll-margin-top: 110px !important;
}
.servicos {
  text-align: center;
  padding: 60px 20px;
}

.cards-servicos {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.card {
    background-color: #c6d1a4;
    color: #fff;
    font-weight: 600;
    border: 2px solid #2c6e49;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    flex: 1 1 250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 40px;
  color: #2c6e49;
  margin-bottom: 15px;
}
section.servicos {
    text-align: center;
	border-top: 2px dotted #2c6e49;
    border-bottom: 2px dotted #2c6e49;
	background: #c6d1a43b;
}
section.servicos h2, section.servicos h3 {
    color: #2c6e49;
    margin-bottom: 10px;
}
footer {
  background-color: #212529;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  font-size: 15px;
}

footer .horario {
  margin-top: 10px;
  color: #04a5e6;
}

.equipamento.leve {
    background: linear-gradient(90deg, #d9e8c5, #ffffff);
    padding: 20px;
    border-radius: 60px;
    margin: 20px 0;
}
.equipamento.pesado {
    background: linear-gradient(270deg, #d9e8c5, #ffffff);
    padding: 20px;
    border-radius: 60px;
    margin: 20px 0;
}

.btn-voltar-site {
  position: absolute;
  top: 10px;
  right: 20px;
  background-color: #2C6E49;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  z-index: 1001;
}

.btn-voltar-site:hover {
  background-color: #1b4a32;
}

.fa {
    font-family: "FontAwesome" !important;
    font-weight: var(--fa-style, 600);
}
section#equipamentos p, section#equipamentos h2, section#equipamentos h3 {
    text-align: center;
}
footer a {
    text-decoration: solid;
    color: #03a2ec;
}
nav a:hover {
    color: #fff;
}




/* MOBILAO */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  background-color: #2C6E49;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 9999;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background-color: #2C6E49;
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  gap: 25px;
  transition: left 0.3s ease;
  z-index: 9998;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
}

.mobile-nav.active {
  left: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-top: -18px;
    border-radius: 90px;
    background-color: #00000000;
  }

  nav ul {
    display: none; /* esconde menu normal */
  }
}
@media (max-width: 768px) {
  .banner {
    margin-top: -34px;
  }
  .slides img {
    width: 100vw;
    height: auto !important;
    object-fit: cover;
  }
}