:root {
  --blue: #004aad;
  --blue-accent: #0096ff;
  --muted: #6b7280;
  --bg: #f9fafb; /* cor de fundo igual à página cursos */
  --card: #f8fafc;
  --radius: 12px;
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  margin: 0;
  color: #111;
  background: var(--bg);
}

/* ====================== HEADER ====================== */
header {
  background: #f1f3f5; /* cinza clarinho */
  color: #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
}

/* Menu principal */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #111; /* preto */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--blue);
}

/* Botão hambúrguer */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #111; /* visível no fundo cinza */
  border-radius: 2px;
  transition: 0.3s;
}

/* Animação do botão ativo */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ====================== MENU MOBILE ====================== */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #f1f3f5; /* cinza clarinho */
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  nav a {
    color: #111; /* preto no mobile */
  }

  nav a:hover {
    color: var(--blue);
  }

  .hamburger span {
    background: #111;
  }
}

/* ====================== CONTAINER ====================== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================== BOTÕES ====================== */
.btn-primary {
  background: var(--blue);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn {
  background: var(--blue);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn:hover {
  background: #003b8a;
}

/* ====================== HERO ====================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 40px;
  align-items: center;
  padding: 64px 0;
}

.hero h1 {
  font-size: 32px;
  margin: 0 0 18px;
  color: var(--blue);
}

.hero p {
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.5;
}

.card-cta {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-accent) 100%);
  color: white;
  padding: 22px;
  border-radius: 12px;
  text-align: center;
}

.card-cta p {
  color: rgba(255,255,255,0.9);
  margin: 8px 0 16px;
}

/* ====================== FEATURES ====================== */
.features {
  display: flex;
  gap: 18px;
  margin: 40px 0;
}

.feature {
  background: white;
  padding: 18px;
  border-radius: 10px;
  flex: 1;
  min-height: 110px;
  box-shadow: 0 6px 20px rgba(14,27,50,0.05);
}

.feature h4 {
  margin: 0 0 8px;
}

/* ====================== SEÇÕES ====================== */
section {
  padding: 40px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case {
  background: white;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(14,27,50,0.06);
}

.cta-banner {
  background: var(--blue);
  color: white;
  padding: 36px;
  border-radius: 12px;
  text-align: center;
}

/* ====================== FOOTER ====================== */
footer {
  background: #004aad;
  color: white;
  padding: 30px 0;
  margin-top: 40px;
}

footer a {
  color: white;
  text-decoration: none;
}

/* ====================== CURSOS ====================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.course {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(10,20,40,0.05);
}

.course h3 {
  margin-top: 0;
  color: var(--blue);
}

.course ul {
  color: var(--muted);
  padding-left: 18px;
}

.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:18px;}
    .step{background:white; border-radius:10px; padding:18px; box-shadow:0 6px 18px rgba(10,20,40,0.05); text-align:center;}
    .services{display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:18px;}
    .service{padding:18px; background:var(--card); border-radius:10px;}
    
/* ====================== RESPONSIVO ====================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .features {
    flex-direction: column;
  }
}
