/* Reset e base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a4d8f;
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid #f4a261;
  outline-offset: 2px;
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #133a6b;
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
  border-radius: 0 0 6px 0;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top banner */
.top-banner {
  background: #f9eac2;
  color: #5c4510;
  font-size: 0.85rem;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid #f2dea3;
}

.top-banner strong {
  color: #3d2e0b;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a4d8f;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand:hover, .brand:focus {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  color: #1a4d8f;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text small {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.main-nav a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.main-nav a:hover, .main-nav a:focus {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

/* Main */
main {
  padding: 24px 0;
}

section {
  padding: 36px 0;
}

.bg-alt {
  background: #f6f8fb;
}

h1, h2, h3 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  color: #1a4d8f;
  margin-bottom: 14px;
}

h1 em {
  color: #d97845;
  font-style: normal;
}

h2 {
  font-size: 1.45rem;
  color: #1a4d8f;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.1rem;
  margin: 16px 0 6px;
}

p {
  margin-bottom: 12px;
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

li {
  margin-bottom: 8px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
  text-align: center;
  padding: 56px 0 44px;
}

.badge {
  display: inline-block;
  background: rgba(26, 77, 143, 0.08);
  color: #1a4d8f;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero p {
  color: #4a5568;
  max-width: 680px;
  margin: 0 auto 18px;
  font-size: 1.05rem;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 18px;
}

.hero-list li {
  position: relative;
  padding-left: 18px;
  color: #4a5568;
  font-weight: 600;
}

.hero-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #2a6b5b;
  font-weight: 800;
}

.hero-meta {
  font-size: 0.95rem;
  color: #4a5568;
}

/* Lists */
.feature-list {
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a4d8f;
  font-weight: 700;
}

.info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 14px;
}

.info-list li {
  margin-bottom: 8px;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: #1a4d8f;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

/* FAQ details */
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  color: #1a4d8f;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 18px 16px;
  margin: 0;
  color: #4a5568;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  background: #1a4d8f;
  color: #fff;
  text-decoration: none;
}

.btn:hover, .btn:focus {
  background: #133a6b;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Placeholder */
.placeholder {
  color: #b45309;
  font-weight: 600;
  background: #fffbeb;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: #1a242f;
  color: #c9d1d9;
  padding: 44px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #f4a261;
  padding: 14px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.footer-links-title {
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.footer-links a {
  color: #9fb0c2;
}

.footer-links a:hover, .footer-links a:focus {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  color: #8e9dad;
  font-size: 0.8rem;
}

.site-footer a {
  color: #9fb0c2;
}

.site-footer a:hover, .site-footer a:focus {
  color: #fff;
}

/* Legal pages */
.legal-page {
  padding: 32px 0;
}

.legal-page h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 28px;
}

.legal-page p, .legal-page li {
  color: #374151;
}

.legal-page ul {
  padding-left: 22px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 22px;
}

.breadcrumb a {
  color: #1a4d8f;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a4d8f;
    flex-direction: column;
    padding: 10px 16px;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 42px 0 36px;
  }

  section {
    padding: 28px 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.55rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
