/* Caristeo Controle — Materiais Gratuitos: Base CSS */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f8faff;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ──────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12, 23, 139, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
}
.site-nav a.logo img { height: 28px; display: block; }
.site-nav .nav-actions { display: flex; align-items: center; gap: 20px; }
.site-nav .nav-back {
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500;
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: color 0.15s;
}
.site-nav .nav-back:hover { color: #fff; }
.site-nav .nav-back svg { width: 14px; height: 14px; }
.site-nav .btn-nav {
  background: #3DD0F6; color: #0C178B;
  font-size: 13px; font-weight: 700; letter-spacing: 0.2px;
  padding: 8px 20px; border-radius: 100px; text-decoration: none;
  transition: opacity 0.15s;
}
.site-nav .btn-nav:hover { opacity: 0.88; }

/* ── HERO / COVER ─────────────────────────────────────── */
.cover {
  background: linear-gradient(135deg, #0C178B 0%, #0F45AC 55%, #00AFF0 100%);
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 120px 40px 80px; text-align: center;
  position: relative; overflow: hidden;
}
.cover::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cover-inner { position: relative; z-index: 1; }
.cover .logo-wrap { margin-bottom: 40px; }
.cover .logo-wrap img { height: 36px; }
.cover .badge {
  background: #3DD0F6; color: #0C178B;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 28px; display: inline-block;
  font-family: 'DM Sans', 'Inter', sans-serif;
}
.cover h1 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  color: white; font-size: clamp(28px, 5vw, 44px); font-weight: 800;
  line-height: 1.15; margin-bottom: 20px; max-width: 620px;
  letter-spacing: -0.5px;
}
.cover .subtitle {
  color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.7;
  max-width: 500px; margin-bottom: 40px;
}
.cover .meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
  color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}
.cover .meta span { display: flex; align-items: center; gap: 6px; }

/* ── CONTENT ──────────────────────────────────────────── */
.page { max-width: 860px; margin: 0 auto; padding: 64px 40px 40px; background: white; }
.section { margin-bottom: 48px; }

h2 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  color: #0C178B; font-size: 22px; font-weight: 700;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 3px solid #3DD0F6;
}
h3 {
  color: #0F45AC; font-size: 16px; font-weight: 700; margin: 24px 0 10px;
  font-family: 'DM Sans', 'Inter', sans-serif;
}
p { color: #4a4a6a; font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
ul, ol { color: #4a4a6a; font-size: 15px; line-height: 1.8; padding-left: 24px; margin-bottom: 12px; }
li { margin-bottom: 6px; }

table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
th { background: #0C178B; color: white; padding: 12px 16px; text-align: left; font-weight: 700; }
td { padding: 10px 16px; border-bottom: 1px solid #e8ecf5; color: #3a3a5a; }
tr:nth-child(even) td { background: #f8faff; }
.total-row td { background: #0C178B !important; color: white !important; font-weight: 700; }

.tip {
  background: #f0f7ff; border-left: 4px solid #3DD0F6;
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0;
}
.tip strong { color: #0C178B; }

.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.check-box { width: 22px; height: 22px; border: 2px solid #0C178B; border-radius: 4px; flex-shrink: 0; margin-top: 2px; }

/* ── CTA SECTION ──────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0C178B 0%, #0F45AC 60%, #00AFF0 100%);
  padding: 64px 40px; text-align: center;
}
.cta-section h2 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  color: white !important; font-size: 26px; font-weight: 800;
  border: none !important; padding: 0 !important; margin-bottom: 12px;
}
.cta-section p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 32px; }
.cta-section .btn-cta-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: #3DD0F6; color: #0C178B;
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 15px; font-weight: 800; padding: 14px 32px;
  border-radius: 100px; text-decoration: none; transition: opacity 0.15s;
}
.cta-section .btn-cta-main:hover { opacity: 0.88; }
.cta-section .cta-note {
  margin-top: 16px; color: rgba(255,255,255,0.5); font-size: 12px;
}

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: #0B0F19; padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.site-footer img { height: 22px; }
.site-footer-links { display: flex; gap: 24px; align-items: center; }
.site-footer-links a {
  color: rgba(255,255,255,0.4); font-size: 13px; text-decoration: none;
  transition: color 0.15s;
}
.site-footer-links a:hover { color: rgba(255,255,255,0.75); }
.site-footer .copy { color: rgba(255,255,255,0.3); font-size: 12px; }

/* ── DOC FOOTER (within page) ─────────────────────────── */
.footer-doc {
  margin-top: 60px; padding-top: 24px; border-top: 2px solid #e8ecf5;
  display: flex; justify-content: space-between; align-items: center;
  color: #9999b5; font-size: 12px;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 640px) {
  .site-nav { padding: 0 20px; }
  .cover { padding: 100px 24px 60px; }
  .page { padding: 48px 20px 32px; }
  .cta-section { padding: 48px 24px; }
  .site-footer { flex-direction: column; text-align: center; padding: 24px 20px; }
}

@media print {
  .site-nav, .cta-section, .site-footer { display: none; }
  body { background: white; }
  .cover { min-height: auto; page-break-after: always; }
  .page { padding: 40px; }
}
