:root {
  --navy-deep: #001019;
  --navy: #001b2e;
  --blue: #003f9a;
  --cyan: #00c0fe;
  --cyan-light: #00ccfe;
  --green: #00b809;
  --text: #cbd5e1;
  --text-dim: #94a3b8;
  --white: #fff;
  --border: rgba(255, 255, 255, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-VariableFont_slnt%2Cwght.woff2') format('woff2');
}
html { scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }
a { color: var(--cyan); text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 16, 25, 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 34px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.header-nav a:hover { color: var(--cyan); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 13px 26px; transition: transform .15s, background .15s;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--cyan); color: var(--navy-deep); }
.btn-primary:hover { background: var(--cyan-light); transform: translateY(-1px); }

/* Article */
.article { padding: 40px 0 64px; }
.crumbs { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--cyan); }
.badge {
  display: inline-block; background: rgba(0, 192, 254, 0.15); color: var(--cyan);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.article h1 {
  color: var(--white); font-size: clamp(28px, 5vw, 44px); line-height: 1.15;
  font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 12px;
}
.subtitle { font-size: clamp(18px, 2.6vw, 22px); color: var(--cyan-light); font-weight: 500; line-height: 1.4; margin: 6px 0 10px; }
.meta { color: var(--text-dim); font-size: 14px; margin-bottom: 28px; }
.lead { font-size: 20px; color: #e2e8f0; margin-bottom: 28px; }
.article h2 {
  color: var(--white); font-size: clamp(22px, 3.5vw, 28px); font-weight: 700;
  margin: 40px 0 14px; letter-spacing: -0.01em;
}
.article p { margin-bottom: 18px; }
.article strong { color: var(--white); font-weight: 600; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border: 1px solid rgba(0, 192, 254, 0.3);
  border-radius: 18px; padding: 30px; margin: 36px 0; text-align: center;
}
.cta-box h3 { color: var(--white); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.cta-box p { color: #dbeafe; margin-bottom: 20px; }
/* CTA do meio: mais discreto (sem gradiente) para não competir com o final */
.cta-mid { background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.cta-mid h3 { font-size: 20px; }
.cta-mid p { color: var(--text); }

/* Vídeo (YouTube embed) */
.video-embed { margin: 32px 0; }
.video-frame { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed figcaption { margin-top: 10px; font-size: 13px; color: var(--text-dim); text-align: center; }

/* FAQ */
.faq { margin-top: 44px; }
.faq details {
  border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--white); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--cyan); }
.faq details p { padding-bottom: 14px; }

/* Cards / índice */
.blog-index { padding: 48px 0 64px; }
.blog-index h1 { color: var(--white); font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 32px 0; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(0, 192, 254, 0.4); }
.card-badge { color: var(--cyan); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.card h3 { color: var(--white); font-size: 18px; font-weight: 700; line-height: 1.3; }
.card p { color: var(--text-dim); font-size: 14px; flex: 1; }
.card-link { color: var(--cyan); font-size: 14px; font-weight: 600; }

.related { margin-top: 52px; border-top: 1px solid var(--border); padding-top: 32px; }
.related h2 { color: var(--white); font-size: 22px; margin-bottom: 20px; }

/* Benefícios */
.benefits { background: rgba(0, 192, 254, 0.06); border: 1px solid rgba(0, 192, 254, 0.2); border-radius: 16px; padding: 24px 28px; margin: 32px 0; }
.benefits h2 { margin: 0 0 14px; font-size: 20px; }
.benefits ul { list-style: none; margin: 0; }
.benefits li { position: relative; padding-left: 30px; margin-bottom: 10px; color: #e2e8f0; }
.benefits li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* Índice por categoria */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.cat-nav a { font-size: 13px; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; }
.cat-nav a:hover { color: var(--cyan); border-color: rgba(0, 192, 254, 0.4); }
.cat-group { margin-top: 44px; scroll-margin-top: 90px; }
.cat-title { color: var(--white); font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cat-title span { font-size: 13px; font-weight: 600; color: var(--cyan); background: rgba(0, 192, 254, 0.12); border-radius: 999px; padding: 3px 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--navy); padding: 44px 0; margin-top: 40px; }
.site-footer .wrap { max-width: 1120px; text-align: center; }
.footer-logo { height: 36px; margin-bottom: 14px; }
.site-footer p { color: var(--text-dim); max-width: 520px; margin: 0 auto 18px; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 18px; }
.footer-links a { color: var(--text-dim); font-size: 14px; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-size: 13px; color: #64748b; }

/* WhatsApp FAB */
.wa-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 184, 9, 0.4); transition: transform .15s;
}
.wa-fab:hover { transform: scale(1.06); }
