/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fontes e cores */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

h1, h2 {
  color: #0a3d62;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  background: url('bg.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero .logo {
  max-width: 230px;
  margin-bottom: 15px;
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.hero .logo:hover {
  transform: scale(1.05);
}
.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #e74c3c;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
}
.hero .btn:hover {
  background: #c0392b;
}

/* Navbar */
.navbar {
  background: #1e3799;
  padding: 10px;
  text-align: center;
}
.navbar ul {
  list-style: none;
}
.navbar li {
  display: inline;
  margin: 0 15px;
}
.navbar a {
  color: white;
  font-weight: bold;
}
.navbar a:hover {
  text-decoration: underline;
}

/* Seções */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
  background: #fff;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Serviços em grid */
.services {
  background: #f1f1f1;
  padding: 40px 20px;
  text-align: center;
}
.services h2 {
  margin-bottom: 20px;
}
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.services .card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  font-weight: bold;
  color: #0a3d62;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.services .card:hover {
  transform: translateY(-5px);
}

/* Contato */
.contact {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
}
.form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form input, .form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.form button {
  padding: 12px;
  background: #1e3799;
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
.form button:hover {
  background: #0c2461;
}

/* Footer */
footer {
  text-align: center;
  background: #0a3d62;
  color: #fff;
  padding: 15px;
  margin-top: 30px;
}
        .contato-container {
            max-width: 800px;
            margin: 20px auto;
            padding: 30px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #0a3d62;
        }
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #1e3799;
        }
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .btn-enviar {
            background: #1e3799;
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            transition: background 0.3s;
        }
        .btn-enviar:hover {
            background: #0c2461;
        }
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
        }
        .alert-success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .alert-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .voltar {
            text-align: center;
            margin-top: 20px;
        }
        .voltar a {
            color: #1e3799;
            text-decoration: none;
            font-weight: bold;
        }
        .voltar a:hover {
            text-decoration: underline;
        }
