/* =====================================================================
   NFD • CSS compartilhado das páginas institucionais
   ---------------------------------------------------------------------
   Usado por: /software/sobre, /software/faq, /software/suporte,
              /software/privacidade, /software/reembolso
   ===================================================================== */

:root {
  --bg-body: #000000;
  --bg-card: rgba(10, 10, 12, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #00e085;
  --accent-dim: #1a7f4d;
  --danger: #ff4d4d;
  --warn: #facc15;
  --text-main: #ffffff;
  --text-muted: #b0b6bf;
  --text-dim: #6b7280;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0,0,0,0.6);
}

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

html, body {
  background: var(--bg-body);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  font-size: 15px;
  min-height: 100vh;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0,224,133,0.06), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(0,224,133,0.04), transparent 50%);
  background-attachment: fixed;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== TOP BAR ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-main); }
.topbar-logo img { width: 34px; height: 34px; filter: drop-shadow(0 0 14px rgba(0,224,133,0.32)); }
.topbar-logo span { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.5px; }
.topbar-logo .accent { color: var(--accent); }
/* Wordmark "NFD" — premium, Space Grotesk */
.topbar-logo .brand {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
  color: var(--text-main);
  position: relative;
  padding-left: 12px;
}
.topbar-logo .brand::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 18px;
  background: linear-gradient(180deg, transparent, rgba(0,224,133,0.5), transparent);
}
.topbar-logo:hover .brand { color: var(--accent); transition: color .18s; }
@media (max-width: 480px) {
  .topbar-logo .brand { font-size: 1.22rem; padding-left: 10px; }
  .topbar-logo img { width: 30px; height: 30px; }
}
.topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-action {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.btn-action:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-action.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-color: var(--accent); color: #000;
}
.btn-action.primary:hover { box-shadow: 0 0 24px rgba(0,224,133,0.4); color: #000; }

/* ===== HERO ===== */
.hero { text-align: center; padding: 60px 24px 32px; max-width: 980px; margin: 0 auto; }
.hero-tag {
  display: inline-block; padding: 6px 14px;
  background: rgba(0,224,133,0.10); border: 1px solid rgba(0,224,133,0.28);
  border-radius: 99px; font-size: 0.72rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.hero p { color: var(--text-muted); font-size: 1.02rem; max-width: 720px; margin: 0 auto; }
.hero-meta {
  margin-top: 18px; font-size: 0.78rem; color: var(--text-dim);
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.hero-meta i { color: var(--accent); margin-right: 4px; }

/* ===== CONTAINER ===== */
.container { max-width: 880px; margin: 0 auto; padding: 0 24px 80px; }

/* ===== CARD DE CONTEÚDO ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow);
}
@media (max-width: 640px) { .card { padding: 24px 22px; } }

.card h2 {
  font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; margin-top: 28px;
  display: flex; align-items: center; gap: 12px;
}
.card h2:first-child { margin-top: 0; }
.card h2 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(0,224,133,0.12); color: var(--accent);
  font-size: 0.85rem; font-weight: 800;
}
.card h3 { font-size: 1.02rem; font-weight: 700; margin: 18px 0 10px; color: var(--text-main); }
.card p { color: var(--text-muted); margin-bottom: 12px; }
.card ul, .card ol { color: var(--text-muted); padding-left: 22px; margin-bottom: 12px; }
.card ul li, .card ol li { margin-bottom: 8px; line-height: 1.65; }
.card strong { color: var(--text-main); }

/* ===== FAQ ITEM ===== */
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; background: rgba(255,255,255,0.02);
}
.faq-q {
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: 0; color: var(--text-main);
  padding: 16px 20px; font-size: 0.96rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: inherit;
}
.faq-q::after {
  content: '+'; color: var(--accent); font-size: 1.4rem; font-weight: 300;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 800px; padding: 0 20px 18px; }
.faq-a p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 8px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ===== BOXES ===== */
.info-box {
  background: rgba(0,224,133,0.05); border: 1px solid rgba(0,224,133,0.20);
  border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: 8px;
  margin: 16px 0; color: var(--text-muted); font-size: 0.92rem;
}
.info-box i { color: var(--accent); margin-right: 6px; }

.warn-box {
  background: rgba(250,204,21,0.06); border: 1px solid rgba(250,204,21,0.24);
  border-left: 3px solid var(--warn);
  padding: 14px 18px; border-radius: 8px;
  margin: 16px 0; color: var(--text-muted); font-size: 0.92rem;
}
.warn-box i { color: var(--warn); margin-right: 6px; }

.danger-box {
  background: rgba(255,77,77,0.06); border: 1px solid rgba(255,77,77,0.24);
  border-left: 3px solid var(--danger);
  padding: 14px 18px; border-radius: 8px;
  margin: 16px 0; color: var(--text-muted); font-size: 0.92rem;
}
.danger-box i { color: var(--danger); margin-right: 6px; }

/* ===== CTA WHATSAPP ===== */
.cta-whats {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important; padding: 14px 24px; border-radius: 12px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,0.30);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-whats:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.45); text-decoration: none; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.6); padding: 28px 24px;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
}
.footer-l { display: flex; align-items: center; gap: 14px; }
.footer-l img { height: 32px; filter: drop-shadow(0 0 12px rgba(0,224,133,.35)); }
.footer-l p { font-size: .76rem; color: var(--text-dim); margin: 0; line-height: 1.5; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: .84rem; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
