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

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  background: url('fundo-tecnologia.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Overlay escuro */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

/* HEADER */
.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(10,25,60,0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
  flex-wrap: wrap;
}

/* Logo + título */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: clamp(50px, 8vw, 180px);
  height: auto;
}

.titulo h1 {
  margin: 0;
  font-size: clamp(20px, 3vw, 34px);
  color: #fff;
}

.titulo p {
  margin: 0;
  font-size: clamp(12px, 1.5vw, 16px);
  color: #ccc;
}

/* MENU */
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.menu a:hover {
  color: #00c3ff;
}

.menu a.active {
  color: #00c3ff;
  font-weight: 600;
}

/* Botão hamburguer */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* HERO */
.hero {
  padding: 80px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-img {
  max-width: 360px;
  width: 100%;
  margin-top: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg,#007bff,#0056d2);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* SEÇÕES */
.section {
  padding: 60px 20px;
  text-align: center;
}

/* CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
  color: #0b1e3c;
}

.card h3,
.card p {
  color: #0b1e3c;
}

.card:hover {
  transform: translateY(-8px);
}

.highlight {
  color: #007bff;
  font-weight: 600;
  font-size: 20px;
}

.badge {
  background: #ffcc00;
  color: #000;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
}

/* CONTAINER (páginas internas) */
.container {
  max-width: 800px;
  margin: 80px auto;
  padding: 30px;
  text-align: center;
  background: rgba(10,25,60,0.7);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.container h1 {
  margin-bottom: 20px;
  font-size: 32px;
}

.container p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #ddd;
}

/* FOOTER */
footer {
  background: rgba(10,25,60,0.9);
  padding: 25px;
  text-align: center;
  margin-top: 40px;
  color: #ccc;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 16px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  width: 90%;
  max-width: 420px;
  color: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.close {
  float: right;
  cursor: pointer;
  font-weight: bold;
}

/* RESPONSIVO */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
    gap: 12px;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 10px;
    width: 100%;
  }

  .container {
    margin: 60px 15px;
    padding: 20px;
  }

  .container {
    border: 1px solid rgba(255,255,255,0.08);
  }
}