/* Estilos das páginas /blog — base extraída do index.html (cores, botões, nav, menu mobile e rodapé). */
:root {
  --c: #00C2CB;
  --p: #7030E8;
  --p-lt: #9B6BFF;
  --pk: #C020A0;
  --n0: #07142A;
  --n1: #0A1830;
  --n2: #0C1E36;
  --n3: #12345C;
  --txt: #EEF3FA;
  --sub: rgba(226, 234, 246, 0.66);
  --dim: rgba(226, 234, 246, 0.44);
  --line: rgba(190, 215, 255, 0.14);
  --glass: rgba(20, 44, 78, 0.42);
  --glass-hi: rgba(32, 64, 108, 0.5);
  --grad: linear-gradient(135deg, #00C2CB 0%, #7030E8 50%, #C020A0 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body {
  background: linear-gradient(180deg, var(--n1) 0%, var(--n2) 28%, #0f2a4c 62%, #154372 100%);
  color: var(--txt);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  will-change: transform;
}

.btn-w {
  background: #fff;
  color: #0a0a12;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.btn-w:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(0, 194, 203, 0.3);
}

.btn-ghost {
  background: rgba(7, 24, 44, 0.55);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-g {
  background: var(--grad);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 8px 32px rgba(112, 48, 232, .35);
}

.btn-g:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 14px 48px rgba(112, 48, 232, .5);
}

.btn .arr {
  transition: transform .35s var(--ease);
}

.btn:hover .arr {
  transform: translateX(4px);
}

/* ═════ NAV ═════ */
#nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1160px;
  z-index: 1000;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, box-shadow .5s, top .5s var(--ease);
}

#nav.s {
  top: 12px;
  background: rgba(8, 22, 42, 0.72);
  border-color: var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}

.nav-w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.nav-dropdown-btn {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  transition: color .2s;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-dropdown-btn:hover {
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn svg {
  width: 10px;
  height: 10px;
  transition: transform .3s;
}

.nav-dropdown:hover .nav-dropdown-btn svg,
.nav-dropdown.force-open .nav-dropdown-btn svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 300px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(8, 22, 42, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.force-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.86rem;
  transition: background .2s, color .2s;
}

.nav-drop-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-drop-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-cta {
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background .3s, color .3s, border-color .3s;
}

.nav-cta:hover {
  background: #fff;
  color: #0a0a12;
  border-color: #fff;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1003;
  position: relative;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 18, 0.6);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(320px, 84vw);
  background: rgba(8, 22, 42, 0.98);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  z-index: 1002;
  padding: 96px 20px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu.open {
  transform: none;
}

.mobile-menu-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 6px 12px 8px;
}

.mobile-menu-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 12px;
  border-radius: 10px;
}

.mobile-menu-link:active,
.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--line);
  margin: 12px;
}

.mobile-menu .btn {
  margin-top: 16px;
}

footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

.foot-l {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.foot-l img {
  height: 22px;
}

.foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.foot-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.foot-links a:hover {
  color: #fff;
}

.foot-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ═════ BLOG (páginas /blog) ═════ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
#nav { background: rgba(8, 22, 42, 0.72); border-color: var(--line); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
.nav-link.on { color: #fff; }
.nav-link.on::after { content: ''; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--grad); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.page-head { padding: 150px 0 40px; }
.eyebrow { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.page-head h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.15; margin: 14px 0 16px; letter-spacing: -.02em; }
.page-head p.lead { color: var(--sub); font-size: 1.12rem; max-width: 760px; }
.grad-t { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* listagem */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; padding-bottom: 100px; }
.post-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-4px); border-color: rgba(155, 107, 255, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.post-card .pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.post-card h2 { font-family: 'Poppins', sans-serif; font-size: 1.22rem; line-height: 1.35; font-weight: 600; }
.post-card p { color: var(--sub); font-size: .95rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .82rem; color: var(--dim); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; font-family: 'Montserrat', sans-serif; letter-spacing: .04em; background: rgba(0, 194, 203, .12); color: #7FE7EC; border: 1px solid rgba(0, 194, 203, .28); }

/* artigo */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-bottom: 100px; }
.article-body { min-width: 0; font-size: 1.06rem; color: rgba(238, 243, 250, .9); }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1.3; margin-top: 2.2em; color: #fff; scroll-margin-top: 110px; }
.article-body h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.18rem; margin-top: 1.8em; color: #fff; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .5em; }
.article-body strong { color: #fff; }
.article-body a { color: #7FE7EC; text-underline-offset: 3px; }
.article-body .src { font-size: .82rem; color: var(--dim); }
.callout { padding: 20px 24px; border-radius: 16px; background: rgba(112, 48, 232, .12); border: 1px solid rgba(155, 107, 255, .32); }
.callout.warn { background: rgba(240, 168, 40, .1); border-color: rgba(240, 168, 40, .32); }
.callout p + p { margin-top: .6em; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kpi { padding: 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.kpi b { display: block; font-family: 'Poppins', sans-serif; font-size: 1.9rem; line-height: 1.1; }
.kpi span { font-size: .88rem; color: var(--sub); }
.timeline { list-style: none; padding: 0 !important; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 16px rgba(112, 48, 232, .6); }
.timeline li b { display: block; font-family: 'Poppins', sans-serif; color: #fff; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: 'Montserrat', sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); background: rgba(20, 44, 78, .5); }
tr:last-child td { border-bottom: 0; }
.checklist { list-style: none; padding: 0 !important; counter-reset: c; }
.checklist li { counter-increment: c; position: relative; padding: 14px 18px 14px 58px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.checklist li::before { content: counter(c); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .85rem; color: #fff; }
.faq details { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); padding: 16px 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--c); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--sub); }

/* sumário lateral */
.toc { position: sticky; top: 110px; align-self: start; padding: 22px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); font-size: .9rem; }
.toc b { display: block; font-family: 'Montserrat', sans-serif; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; color: var(--sub); text-decoration: none; }
.toc a:hover { color: #fff; }
.toc .btn { margin-top: 16px; width: 100%; padding: 12px 18px; }

/* ferramenta (vídeo + liberação) */
.tool { scroll-margin-top: 100px; margin-top: 2.4em; padding: 28px; border-radius: 24px; background: linear-gradient(160deg, rgba(20, 44, 78, .75), rgba(12, 30, 54, .9)); border: 1px solid rgba(155, 107, 255, .35); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.tool h2 { margin-top: 0 !important; }
.tool video { width: 100%; border-radius: 16px; margin-top: 18px; background: #000; aspect-ratio: 16 / 9; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.tool-note { margin-top: 12px; font-size: .85rem; color: var(--dim); }
.unlocked { display: none; margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: rgba(34, 197, 139, .1); border: 1px solid rgba(34, 197, 139, .35); }
.unlocked.on { display: block; }
.unlocked p { color: rgba(238, 243, 250, .9); }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.step-card { padding: 22px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.step-card h3 { margin-top: 0 !important; display: flex; align-items: center; gap: 10px; }
.step-card h3 i { width: 26px; height: 26px; border-radius: 8px; display: inline-block; flex: none; }
.step-card ol { margin-top: 12px; }
.prompt { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(7, 20, 42, .8); border: 1px solid var(--line); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.55; color: #cfe3ff; white-space: pre-wrap; }
.copy-btn { margin-top: 8px; background: none; border: 0; color: #7FE7EC; font: 600 .85rem 'Montserrat', sans-serif; cursor: pointer; padding: 4px 0; }

/* modal de lead */
.lead-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 9, 20, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lead-modal.open { display: flex; }
.lead-box { width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px; border-radius: 22px; background: #0c1e36; border: 1px solid rgba(155, 107, 255, .35); box-shadow: 0 40px 100px rgba(0, 0, 0, .55); position: relative; }
.lead-box h3 { font-family: 'Poppins', sans-serif; font-size: 1.4rem; line-height: 1.3; }
.lead-box > p { color: var(--sub); margin-top: 6px; font-size: .95rem; }
.lead-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: #fff; font-size: 1.3rem; cursor: pointer; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.lead-grid .full { grid-column: 1 / -1; }
.fld2 label { display: block; font-size: .84rem; font-weight: 600; color: rgba(238, 243, 250, .85); margin-bottom: 6px; }
.fld2 input, .fld2 select { width: 100%; height: 46px; border-radius: 12px; border: 1px solid rgba(190, 215, 255, .28); background: rgba(7, 20, 42, .7); color: #fff; padding: 0 14px; font: inherit; font-size: .95rem; }
.fld2 select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9fb4d6 50%), linear-gradient(135deg, #9fb4d6 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.fld2 select option { color: #0a1830; }
.fld2 input:focus, .fld2 select:focus { outline: none; border-color: var(--p-lt); box-shadow: 0 0 0 3px rgba(155, 107, 255, .25); }
.fld2 .hint { display: block; margin-top: 4px; font-size: .78rem; color: var(--dim); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(190, 215, 255, .28); background: rgba(7, 20, 42, .7); font-weight: 500; cursor: pointer; }
.radio-row input { accent-color: #9B6BFF; width: auto; height: auto; }
.consent2 { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--sub); margin-top: 6px; }
.consent2 input { margin-top: 3px; accent-color: #9B6BFF; }
.lead-err { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(240, 80, 110, .12); border: 1px solid rgba(240, 80, 110, .35); color: #ffb3c1; font-size: .9rem; }
.lead-err.on { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-box .btn { width: 100%; margin-top: 18px; }

@media (max-width: 1024px) {
  .article { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .page-head { padding-top: 120px; }
  .kpis, .steps, .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .tool { padding: 18px; }
  .lead-box { padding: 22px 18px; }
  .tool-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
