:root {
  --vermelho: #d81f26;
  --vermelho-escuro: #b3151c;
  --azul: #0f2a4a;
  --azul-claro: #16406e;
  --cinza-bg: #f6f8fb;
  --texto: #1f2937;
  --cinza-texto: #4a5568;
  --fonte: 'Inter', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--fonte);
  color: var(--texto);
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.2rem; }

/* Cabeçalho */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.site-brand { font-weight: 800; font-size: 1.2rem; color: var(--vermelho); }
.site-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.site-nav > a { color: var(--texto); font-weight: 600; }
.site-nav a.btn { margin-left: 0; }
.site-nav .nav-area { display: flex; gap: 0.6rem; margin-left: 0.4rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--azul), var(--azul-claro));
  color: #fff;
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; opacity: 0.92; max-width: 640px; margin: 0 auto 2rem; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primario { background: var(--vermelho); color: #fff; }
.btn-primario:hover { background: var(--vermelho-escuro); }
.btn-claro { background: #fff; color: var(--azul); }
.btn-contorno { border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.btn-verde { background: #16a34a; color: #fff; }
.btn-verde:hover { background: #15803d; }

/* Seções */
.section { padding: 4rem 0; }
.section.alternada { background: var(--cinza-bg); }
.section h2 { text-align: center; font-size: 2rem; margin-bottom: 0.6rem; }
.section .sub { text-align: center; color: var(--cinza-texto); margin-bottom: 2.5rem; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.feature {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 0 8px 30px rgba(15,42,74,0.06);
}
.feature .icone { font-size: 2rem; }
.feature h3 { margin: 0.6rem 0 0.4rem; font-size: 1.15rem; }
.feature p { color: var(--cinza-texto); font-size: 0.95rem; }

.cta {
  background: linear-gradient(135deg, var(--vermelho), #8e1218);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}
.cta h2 { font-size: 1.9rem; margin-bottom: 1rem; }

/* Rodapé */
.site-footer { background: var(--azul); color: #cbd5e1; padding: 2rem 0; text-align: center; font-size: 0.9rem; }

/* Formulários (páginas públicas) */
.form-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(15,42,74,0.06);
  margin: 0 auto;
}
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--texto); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--fonte);
  color: var(--texto);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--vermelho); }
.form-hint { font-size: 0.85rem; color: var(--cinza-texto); margin-top: 0.3rem; }
.form-acoes { margin-top: 1rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-pequeno { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-cinza { background: #e2e8f0; color: var(--texto); }
.btn-cinza:hover { background: #cbd5e1; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-claro); }

/* Avisos / flashes */
.flash { padding: 0.9rem 1rem; border-radius: 10px; margin-bottom: 1rem; text-align: center; font-weight: 600; }
.flash-sucesso { background: #e6f6ec; color: #1c7a3e; }
.flash-erro { background: #fde8e8; color: #b3151c; }
.flash-aviso { background: #fff7e6; color: #8a5a00; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .site-nav > a:not(.btn) { display: none; }
  .site-nav { gap: 0.6rem; }
  .site-nav .nav-area { margin-left: 0; }
}
