/* ===== BASE ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f7fb;
  color: #333;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, #000 0%, #0d1b2a 100%);
  color: white;
  padding: 60px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: auto;
}

/* ===== ANIMAÇÃO DO LOGO ===== */
@keyframes moverLogo {
  0% {
    left: 0;
  }

  100% {
    left: calc(100% - 180px);
  }
}

.logo {
  position: absolute;
  top: 10px;
  width: 180px;
  height: auto;
  animation: moverLogo 10s linear infinite alternate;
  filter: drop-shadow(0 0 12px rgba(0,140,255,0.5));
}

.header-text {
  text-align: center;
  width: 100%;
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 4px;
  margin: 0;
  text-transform: uppercase;
  color: #ffffff;
}

header p {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  margin: 15px 0 25px;
  color: #cfd8dc;
}

/* ===== BOTÃO ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00b4db, #0083b0);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,131,176,0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,131,176,0.45);
}

/* ===== MENU ===== */
nav {
  background: #1b263b;
  padding: 12px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav li {
  margin: 0 12px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  padding: 8px 12px;
  border-radius: 6px;
}

nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #4fc3f7;
}

/* ===== SEÇÕES ===== */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  border-bottom: 3px solid #0083b0;
  padding-bottom: 10px;
  margin-bottom: 30px;
  font-size: clamp(24px, 3vw, 34px);
  color: #1b263b;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border: none;
  padding: 25px;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card h3 {
  color: #0083b0;
  margin-top: 0;
}

/* ===== FORMULÁRIO ===== */
#contato form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 550px;
  margin: 20px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

#contato label {
  font-weight: bold;
  color: #1b263b;
}

#contato input,
#contato textarea {
  padding: 14px;
  border: 1px solid #ccd6dd;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  transition: 0.3s;
}

#contato input:focus,
#contato textarea:focus {
  border-color: #0083b0;
  outline: none;
  box-shadow: 0 0 8px rgba(0,131,176,0.2);
}

#contato button {
  background: linear-gradient(135deg, #00b4db, #0083b0);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

#contato button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,131,176,0.3);
}

/* ===== LINKS ===== */
a {
  color: #0077b6;
}

a:hover {
  color: #023e8a;
}

/* ===== RODAPÉ ===== */
footer {
  background: #1b263b;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: clamp(12px, 2vw, 16px);
  margin-top: 40px;
}

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

  .logo {
    position: static;
    margin: 0 auto 20px;
    display: block;
    max-width: 120px;
    animation: none;
  }

  .header-container {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin: 8px 0;
  }

  header {
    padding: 40px 20px;
  }

  section {
    padding: 40px 18px;
  }
}
