:root {
  --royal-blue: #143678;
  --royal-dark: #0c224d;
  --royal-light: #eef3fc;
  --silver: #d4dbe6;
  --silver-dark: #8a96ab;
  --white: #ffffff;
  --bg-page: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #475569;
  --whatsapp: #1ea952;
  --whatsapp-hover: #178a42;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
}

a {
  color: var(--royal-blue);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cabeçalho */
header {
  background-color: var(--white);
  border-bottom: 2px solid var(--silver);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--royal-blue);
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--royal-blue);
}

.btn-nav {
  background-color: var(--royal-blue);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 6px;
}

.btn-nav:hover {
  background-color: var(--royal-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal-blue) 100%);
  color: var(--white);
  padding: 72px 0;
  border-bottom: 4px solid var(--silver);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--silver);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.35rem;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 820px;
}

.hero p {
  font-size: 1.12rem;
  color: #e2e8f0;
  max-width: 740px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-whats {
  background-color: var(--whatsapp);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.2s;
}

.btn-whats:hover {
  background-color: var(--whatsapp-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--silver);
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Seções Gerais */
section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--white);
  border-top: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
}

.section-header {
  margin-bottom: 38px;
}

.section-header h2 {
  font-size: 1.85rem;
  color: var(--royal-blue);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 720px;
}

/* Grid de Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--silver);
  border-top: 4px solid var(--royal-blue);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(12, 34, 77, 0.04);
}

.card h3 {
  color: var(--royal-blue);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Caixa de Metodologia / Autoridade */
.highlight-box {
  background-color: var(--royal-light);
  border-left: 5px solid var(--royal-blue);
  padding: 28px;
  border-radius: 6px;
}

.highlight-box h3 {
  color: var(--royal-blue);
  margin-bottom: 10px;
}

.check-list {
  list-style: none;
  margin-top: 16px;
}

.check-list li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--royal-blue);
  font-weight: 800;
}

/* FAQ */
details {
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

summary {
  font-weight: 700;
  color: var(--royal-blue);
  cursor: pointer;
  font-size: 1.04rem;
}

details p {
  margin-top: 12px;
  color: var(--text-muted);
}

/* Artigos */
.article-meta {
  font-size: 0.85rem;
  color: var(--silver-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.article-body {
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: 8px;
  padding: 36px;
  max-width: 820px;
  margin: 0 auto;
}

.article-body h1 {
  color: var(--royal-blue);
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.article-body h2 {
  color: var(--royal-blue);
  font-size: 1.4rem;
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
}

/* Rodapé */
footer {
  background-color: var(--royal-dark);
  color: #cbd5e1;
  padding: 48px 0 28px;
  border-top: 4px solid var(--silver);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

footer a {
  color: #cbd5e1;
}

footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 219, 230, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* Botão Flutuante WhatsApp */
.float-whats {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background-color: var(--whatsapp);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.float-whats:hover {
  background-color: var(--whatsapp-hover);
}

@media (max-width: 680px) {
  .hero h1 { font-size: 1.8rem; }
  .article-body { padding: 22px; }
}