@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap');

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  background: url("../imag/coworkers-addressing-innovation-initiatives-research.webp") no-repeat center center/cover;
  color: white;
  padding: 80px 120px;
  text-align: left;
  margin-top: 120px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2,61,124,0.9), rgba(0,76,153,0.8));
}

.hero-banner h1 {
  position: relative;
  font-size: 42px;
  font-weight: 700;
  z-index: 1;
  letter-spacing: 1px;
}

/* ===== SEÇÃO DE SERVIÇOS ===== */
.servico {
  position: relative;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

.servico-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  gap: 40px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

/* Alternância automática */
.servico:nth-child(even) .servico-conteudo {
  flex-direction: row-reverse;
}

/* Imagens uniformes */
.servico-img {
  flex: 1 1 50%;
  width: 80%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.servico-img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* Texto */
.servico-texto {
  flex: 1 1 50%;
  padding: 30px 40px;
}

.servico-texto h3 {
  font-size: 18px;
  color: #001f3f;
  margin-bottom: 10px;
}

.servico-texto p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.servico-texto ul {
  padding-left: 18px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* Botão */
.btn {
  display: inline-block;
  margin-top: 15px;
  background-color: #004aad;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #002d70;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .hero-banner {
    padding: 70px 80px;
    margin-top: 50px;
  }
  .hero-banner h1 {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .hero-banner {
    padding: 60px 50px;
    text-align: center;
    margin-top: 100px;
  }
  .hero-banner h1 {
    font-size: 30px;
    margin: 0 auto;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 70px 40px;
    text-align: center;
    margin-top: 80px;
  }
  .hero-banner h1 {
    font-size: 26px;
    line-height: 1.4;
  }
}

/* ===== Ajuste específico para 810x1080px ===== */
@media screen and (max-width: 810px) and (max-height: 1080px) {
  .hero-banner {
    padding: 65px 40px;
    margin-top: 80px;
    text-align: center;
  }
  .hero-banner h1 {
    font-size: 28px;
    line-height: 1.4;
  }
  .servico {
    padding: 40px 0;
  }
  .servico-conteudo {
    flex-direction: column;
    gap: 20px;
    max-width: 90%;
  }
  .servico-img {
    height: 220px;
  }
  .servico-texto {
    padding: 20px;
    text-align: center;
  }
  .servico-texto h3 {
    font-size: 17px;
  }
}

/* ===== Ajuste para 600px ===== */
@media (max-width: 600px) {
  .hero-banner {
    padding: 80px 25px;
    margin-top: 70px;
  }
  .hero-banner h1 {
    font-size: 24px;
    line-height: 1.4;
  }
  .servico-img {
    height: 100px;
  }
  .servico-texto h3 {
    font-size: 16px;
  }
  .servico-texto p,
  .servico-texto ul {
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .hero-banner {
    padding: 50px 20px;
    border-radius: 0 0 12px 12px;
    margin-top: 70px;
  }
  .hero-banner h1 {
    font-size: 20px;
    line-height: 1.3;
  }
}
