/* ===============================
   RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul: #1f3c88;
  --amarelo: #f5c400;
  --cinza-claro: #f7f9fc;
  --cinza-texto: #333;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--cinza-claro);
  color: var(--cinza-texto);
  line-height: 1.7;
}

/* ===============================
   HEADER
================================ */
header {
  background: #ffffff;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
}

header img {
  height: 50px;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--azul);
  font-weight: 600;
  transition: color .3s;
}

nav a:hover {
  color: var(--amarelo);
}

/* ===============================
   HERO
================================ */
.hero {
  min-height: 90vh;
  background: url("../images/site.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 60px;
}

.hero-box {
  background: rgba(255,255,255,.95);
  padding: 50px;
  border-radius: 20px;
  max-width: 780px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.hero-box h1 {
  font-size: 2.8rem;
  color: var(--azul);
  margin-bottom: 15px;
}

.hero-box h2 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 25px;
}

.hero-box p {
  margin-bottom: 30px;
}

/* ===============================
   BUTTONS
================================ */
.btn {
  display: inline-block;
  background: var(--amarelo);
  color: #000;
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

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

/* ===============================
   SECTIONS
================================ */
.section {
  padding: 90px 60px;
  max-width: 1200px;
  margin: auto;
}

.section h1 {
  font-size: 2.4rem;
  color: var(--azul);
  margin-bottom: 35px;
}

.section h2 {
  font-size: 1.4rem;
  color: var(--azul);
  margin: 35px 0 15px;
}

/* ===============================
   CARDS
================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.07);
  transition: transform .3s;
}

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

.card h2 {
  margin-bottom: 15px;
}

/* ===============================
   FAQ
================================ */
.card + .card {
  margin-top: 25px;
}

/* ===============================
   FOOTER
================================ */
footer {
  background: #0f0f0f;
  color: #fff;
  padding: 45px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer a {
  color: var(--amarelo);
  text-decoration: none;
  margin-right: 20px;
  font-weight: 500;
}

footer img {
  height: 42px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  header {
    padding: 15px 25px;
    flex-direction: column;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    margin: 0 12px;
  }

  .hero {
    padding: 35px;
  }

  .hero-box {
    padding: 35px;
  }

  .hero-box h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 70px 30px;
  }
}

@media (max-width: 480px) {
  .hero-box h1 {
    font-size: 1.9rem;
  }

  .hero-box h2 {
    font-size: 1.1rem;
  }
}
.team-img {
  width: 100%;
  max-width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 20px;
}
.card {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.card p {
  flex-grow: 1;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}