/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0a0f1a;
  color: #fff;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #0f1940;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s;
}

/* ✨ Efeito de traço azul no hover */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #1e90ff;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #1e90ff;
}

/* ===== HOME ===== */
.home {
  height: 100vh;
  background: url('home.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.home .overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 12px;
}

.home h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.home p {
  font-size: 1.2em;
}

.cta {
  display: inline-block;
  background: linear-gradient(90deg, #1ed760, #1db954);
  padding: 12px 25px;
  margin-top: 20px;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s;
}

.cta:hover {
  transform: scale(1.05);
}

/* ===== SOBRE ===== */
.sobre {
  background: linear-gradient(rgba(10,15,26,0.7), rgba(10,15,26,0.7)),
  url('sobre.jpg') no-repeat center center/cover;
height: 100vh;                  /* mesma altura da tela que a Home */
display: flex;                  /* centraliza verticalmente */
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 20px;               /* padding lateral para telas menores */
}

.sobre h2 {
  color: #1e90ff;
  margin-bottom: 20px;
}

.sobre p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.1em;
}

/* ===== SERVIÇOS ===== */
.servicos {
  background: #0f1940;
  color: #fff;
  height: 100vh;                  /* ocupa a tela toda */
  display: flex;                  /* centraliza verticalmente */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.servicos h2 {
  color: #1e90ff;
  margin-bottom: 30px;
}

.servicos-container {
  display: flex;
  justify-content: center;   /* centraliza os cards horizontalmente */
  align-items: flex-start;    /* alinha os cards no topo */
  gap: 20px;                  /* espaçamento entre os cards */
  flex-wrap: nowrap;          /* impede quebra de linha */
  max-width: 1000px;
  overflow-x: auto;           /* permite rolagem horizontal em telas pequenas */
  padding-bottom: 10px;
}

.servico {
  background: #1a2540;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.servico:hover {
  transform: translateY(-5px);
}

/* ===== CONTATO ===== */
.contato {
  padding: 100px 50px;
  background: #0f1940;
  text-align: center;
}

.contato h2 {
  color: #1e90ff;
  margin-bottom: 20px;
}

.contato form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contato input,
.contato textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.contato button {
  background: linear-gradient(90deg, #0b3d91, #062d6b);
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.whatsapp-contato {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.whatsapp-contato img {
  width: 30px;
}

/* ===== ÁREA DO CLIENTE ===== */
.area-cliente {
  padding: 100px 50px;
  background: #0a0f1a;
  text-align: center;
}

.area-cliente h2 {
  color: #1e90ff;
  margin-bottom: 20px;
}

#login-box,
#chamadas-box {
  max-width: 500px;
  margin: 0 auto;
  background: #1a2540;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

#login-box input,
#chamadas-box input,
#chamadas-box textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  border: none;
}

#login-box button,
#chamadas-box button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(90deg, #0b3d91, #062d6b);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
}

#login-box button:hover,
#chamadas-box button:hover {
  opacity: 0.9;
}

/* ===== WHATSAPP FIXO ===== */
.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
}

.whatsapp-fixo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.3s;
}

.whatsapp-fixo img:hover {
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
  background: #062d6b;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sobre,
  .servicos,
  .contato,
  .area-cliente {
    padding: 60px 20px;
  }
}