/* style.css - Layout principal, responsivo, paleta moderna, gradientes, cards, grid flexível */
:root {
  --primary: #1e293b; /* azul escuro */
  --secondary: #2d6cdf; /* azul médio */
  --accent: #34d399; /* verde suave */
  --bg: #f3f4f6; /* cinza claro */
  --text: #22223b;
  --card-bg: #fff;
  --shadow: 0 4px 24px rgba(44,62,80,0.08);
  --radius: 16px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
header, footer {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: #fff;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
}
header {
  padding: 0;
  box-shadow: var(--shadow);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}
nav .logo {
  font-size: 1.7rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #fff;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding-top: 80px; /* espaço para header fixo */
  padding: 0;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
nav ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
  position: absolute;
  left: 0; bottom: -4px;
}
nav ul li a:hover {
  color: var(--accent);
}
nav ul li a:hover::after {
  width: 100%;
}
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(120deg, var(--primary) 60%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 3rem 2rem;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}
.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
  margin: 0.5rem;
  text-decoration: none;
  display: inline-block;
}
.btn:hover {
  background: var(--secondary);
  transform: scale(1.06);
  text-decoration: none;
}
.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary);
  text-align: center;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 260px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  border: 2px solid #e5e7eb;
}
.card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(44,62,80,0.16);
  border-color: var(--accent);
}
.card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}
.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.card-desc {
  color: #444;
  font-size: 1rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
input, textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius);
  border: 1px solid #d1d5db;
  font-size: 1rem;
  background: #f9fafb;
  transition: border 0.2s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
footer {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  font-size: 1rem;
  margin-top: 3rem;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
  opacity: 0;
  animation: fade-in 1.2s 0.2s forwards;
}
@media (max-width: 900px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: 2rem 0.5rem;
  }
  .card {
    min-width: 90vw;
    max-width: 98vw;
  }
  nav {
    flex-direction: column;
    gap: 1rem;
  }
}
