@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #334155;
  --primary-dark: #1e293b;
  --accent: #0891b2;
  --accent-dark: #0e7490;
  --secondary: #94a3b8;
  --alert-bg: #1e293b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Rubik', 'Work Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); }

section { padding: 2.5rem 0; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

.skip-nav {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}
.skip-nav:focus { left: 0; }

/* ========== INFO TOPO (disclaimer bar) ========== */
.info-topo {
  background: var(--alert-bg);
  color: #fff;
  padding: 0.6rem 0;
  font-size: 0.82rem;
  text-align: center;
  border-bottom: 2px solid var(--accent);
}
.info-topo p {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  line-height: 1.5;
}
.info-topo strong { color: #fff; }

/* ========== HEADER ========== */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 0.9rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  flex: 1;
  min-width: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text strong { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.logo-text span { font-size: 0.75rem; color: rgba(255,255,255,0.75); }

/* ========== BADGE INDEPENDENTE ========== */
.badge-independente {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  flex-shrink: 0;
}
.badge-texto { font-size: 0.78rem; font-weight: 600; color: #fff; }
.badge-subtexto { font-size: 0.68rem; color: rgba(255,255,255,0.7); }

/* ========== MENU TOGGLE (mobile hamburger) ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ========== MAIN NAV ========== */
.main-nav { display: flex; gap: 0.2rem; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ========== INFO FINANCIAMENTO ========== */
.info-financiamento {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  font-size: 0.82rem;
  text-align: center;
  color: var(--text-muted);
}
.info-financiamento a { color: var(--accent); }

/* ========== TRILHA NAVEGACAO (breadcrumbs) ========== */
.trilha-navegacao {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  font-size: 0.83rem;
}
.trilha-navegacao .container {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}
.trilha-navegacao a { color: var(--accent); text-decoration: none; }
.trilha-navegacao a:hover { text-decoration: underline; }
.trilha-navegacao span[aria-current] { color: var(--text); font-weight: 500; }

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.page-header h1 { font-size: 2.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.05rem; color: rgba(255,255,255,0.82); }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.hero h1 { font-size: 2.3rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.25; }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ========== INFORMATIVO TRANSPARENCIA ========== */
.informativo-transparencia {
  background: #fff7ed;
  border: 2px solid #fb923c;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.informativo-transparencia h3 { color: #c2410c; font-size: 1rem; margin-bottom: 0.5rem; }
.informativo-transparencia p { color: #7c2d12; font-size: 0.92rem; line-height: 1.6; }

/* ========== REFERENCIAS GOV ========== */
.referencias-gov {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.referencias-gov h3 { color: #166534; font-size: 1rem; margin-bottom: 0.75rem; }
.referencias-gov ul { list-style: none; padding: 0; }
.referencias-gov li { padding: 0.3rem 0; font-size: 0.9rem; }
.referencias-gov a { color: #15803d; font-weight: 500; }
.referencias-gov em { color: #4b5563; font-size: 0.85rem; display: block; margin-top: 0.5rem; }

/* ========== FAQ SECTION ========== */
.faq-section { padding: 3rem 0; background: var(--bg-light); }
.faq-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ========== GOLPES SECTION ========== */
.golpes-section { padding: 3rem 0; background: #fff; }
.golpes-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.alerta-box {
  background: #fef2f2;
  border: 2px solid #fca5a5;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.alerta-box p { color: #7f1d1d; font-weight: 600; font-size: 0.95rem; }
.sinais-fraude {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.sinal-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--bg-light);
  border-radius: 8px;
  padding: 1rem;
}
.sinal-icon { font-size: 1.4rem; flex-shrink: 0; }
.sinal-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ========== CANAIS SECTION ========== */
.canais-section { padding: 3rem 0; background: var(--bg-light); }
.canais-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}
.canais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.canal-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}
.canal-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.canal-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.canal-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.canal-card span { font-size: 0.8rem; color: var(--accent); font-weight: 500; }

/* ========== CARDS SECTION ========== */
.cards-section { padding: 3rem 0; background: #fff; }
.cards-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow); }
.card-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--primary); }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.card a { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.card a:hover { text-decoration: underline; }

/* ========== REQUISITOS SECTION ========== */
.req-section { padding: 3rem 0; background: var(--bg-light); }
.req-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.req-item {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
}
.req-item .req-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.req-item h3 { font-size: 0.88rem; font-weight: 600; color: var(--primary); }
.req-item p { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ========== TRANSPARENCIA SECTION ========== */
.transp-section { padding: 3rem 0; background: #fff; }
.transp-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}
.transp-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.transp-box h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); }
.nao-list { list-style: none; padding: 0; }
.nao-list li { padding: 0.3rem 0; font-size: 0.9rem; color: var(--text-muted); }
.nao-list li::before { content: '❌ '; }

/* ========== CONTENT PAGES ========== */
.content-wrap { max-width: 860px; margin: 0 auto; }
.content-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}
.content-wrap h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin: 1.25rem 0 0.5rem; }
.content-wrap p { font-size: 0.95rem; line-height: 1.75; color: var(--text); margin-bottom: 0.75rem; }
.content-wrap ul, .content-wrap ol { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.content-wrap li { font-size: 0.93rem; line-height: 1.7; color: var(--text); margin-bottom: 0.25rem; }
.content-wrap table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.content-wrap th { background: var(--primary); color: #fff; padding: 0.6rem 0.8rem; text-align: left; }
.content-wrap td { padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--border); }
.content-wrap tr:nth-child(even) td { background: var(--bg-light); }

/* ========== STEPS ========== */
.steps { counter-reset: step; margin: 1.5rem 0; }
.step-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.step-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.step-content h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.step-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand .site-logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.65); }
.cnpj-footer { font-size: 0.8rem; margin-top: 0.5rem; color: rgba(255,255,255,0.55) !important; }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.55);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ========== COOKIE BANNER ========== */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: #fff;
  z-index: 9999;
  border-top: 3px solid var(--accent);
}
.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; }
.btn-negar {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
}
.btn-basicos {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
}
.btn-aceito {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
}

/* ========== BACK TO TOP ========== */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 999;
}

/* ========== FADE IN ========== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ========== RESPONSIVE 768px ========== */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: flex; }
  .main-nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .page-header h1 { font-size: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========== RESPONSIVE 480px ========== */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .canais-grid { grid-template-columns: 1fr 1fr; }
  .cookie-inner { flex-direction: column; }
  .hero h1 { font-size: 1.4rem; }
}
