/* ============================================================
   Deepwave Tecnologia — estilos de componentes e páginas.
   Tokens (cores, fontes, espaçamento) vivem em tokens.css.
   ============================================================ */

/* ============================================================
   RESET
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* ============================================================
   TIPOGRAFIA BASE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-primary);
  line-height: 1.2;
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(10, 14, 13, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
  transition: border-color var(--transition-base);
  display: flex;
  align-items: center;
}

.nav.scrolled {
  border-bottom-color: var(--color-line-3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav__ring {
  width: 26px; height: 26px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__ring-dot { width: 8px; height: 8px; background: var(--color-accent); border-radius: 50%; }
.nav__brand { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0.04em; }
.nav__brand-sub { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-faint); }

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

.nav__link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-dim);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link.active {
  color: var(--color-accent);
}

.nav__cta {
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background var(--transition-base);
}
.nav__cta:hover { background: #b6ff3a; color: var(--color-bg); }

.nav__lang {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: var(--space-lg);
  padding-left: var(--space-lg);
  border-left: 0.5px solid var(--color-border-neutral);
}

.lang-switcher {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
  letter-spacing: 0.05em;
}

.lang-switcher.active,
.lang-switcher:hover {
  color: var(--color-accent);
}

/* Hamburguer */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--space-sm);
  width: 36px;
  height: 36px;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu mobile */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface-1);
  border-bottom: var(--border-subtle);
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-xs);
  z-index: 99;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: 0.9375rem;
  padding: var(--space-sm) 0;
  border-bottom: 0.5px solid var(--color-border-neutral);
}

.nav__mobile .nav__link:last-of-type {
  border-bottom: none;
}

.nav__mobile .nav__lang {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  margin-top: var(--space-sm);
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--color-accent);
  color: #080808;
  font-weight: 700;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: #00e07a;
  border-color: #00e07a;
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border-neutral);
  color: var(--color-text-secondary);
}

.btn--ghost:hover {
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
}

/* ============================================================
   RÓTULOS DE SEÇÃO
   ============================================================ */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text-primary);
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
  display: block;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  color: var(--color-text-primary);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================================
   GRID DE SERVIÇOS
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border-green);
  border: 1px solid var(--color-border-green);
  border-radius: 6px;
  overflow: hidden;
  margin-top: var(--space-2xl);
}

.services-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: var(--color-surface-1);
  padding: var(--space-2xl);
  transition: background var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--color-surface-2);
}

.service-card__cta {
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.service-card__cta:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-lg);
  color: var(--color-accent);
  flex-shrink: 0;
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: auto;
}

/* ============================================================
   CARD FRAUDTALON
   ============================================================ */

.product-card {
  background: #0d0d0d;
  border: 1px solid var(--color-border-green);
  border-radius: 6px;
  padding: var(--space-2xl) var(--space-3xl);
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(212, 130, 10, 0.08);
  border: 1px solid rgba(212, 130, 10, 0.25);
  color: var(--color-alert);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.product-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
}

.product-card__desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 620px;
  line-height: 1.75;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-sm);
}

.product-card__pills {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-neutral);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
}

/* ============================================================
   INTRO DE SEÇÃO + LISTAS (PROBLEMAS / EXPERIÊNCIA)
   ============================================================ */

.section-intro {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 720px;
  margin-top: var(--space-lg);
}

.problems-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.problems-list__item {
  position: relative;
  padding: var(--space-lg) var(--space-lg) var(--space-lg) calc(var(--space-lg) + 1.25rem);
  background: var(--color-surface-1);
  border: var(--border-green);
  border-radius: 4px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.problems-list__item::before {
  content: "?";
  position: absolute;
  left: var(--space-lg);
  top: var(--space-lg);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.experience-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.experience-list .pill {
  font-size: 0.8125rem;
  padding: 0.4rem 0.9rem;
}

/* ============================================================
   POR QUE A DEEPWAVE
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.why-item {
  padding: var(--space-xl);
  border: var(--border-green);
  border-radius: 4px;
  background: var(--color-surface-1);
}

.why-item__number {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: block;
  letter-spacing: 0.05em;
}

.why-item__text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   BLOG CARDS (homepage)
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.blog-card {
  background: var(--color-surface-1);
  border: var(--border-green);
  border-radius: 4px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: border-color var(--transition-base);
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--color-accent);
}

.blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.blog-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-primary);
  line-height: 1.4;
  flex: 1;
  margin: 0;
}

.blog-card__link {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-base);
}

.blog-card:hover .blog-card__link {
  gap: var(--space-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid var(--color-border-neutral);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  align-items: center;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-text-primary);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.footer__social a {
  color: var(--color-text-muted);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social a:hover {
  color: var(--color-text-primary);
}

.footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 0.5px solid var(--color-border-neutral);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.footer__bottom > * + *::before {
  content: "\00b7";
  margin-right: 0.75rem;
  color: var(--color-text-muted);
}

.footer__email {
  color: inherit;
}

/* ============================================================
   PÁGINAS INTERNAS — hero, conteúdo, lista e navegação de posts
   ============================================================ */

/* ---------- HERO ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 0 64px;
  border-bottom: 1px solid var(--color-line-2);
  background:
    radial-gradient(ellipse 60% 120% at 0% 0%, rgba(158, 255, 0, 0.07), transparent 60%),
    linear-gradient(var(--color-gridline) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--color-gridline) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--color-bg);
}

.page-hero__eyebrow,
.page-hero__back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.page-hero__back {
  text-decoration: none;
  color: var(--color-text-faint);
  transition: color var(--transition-base);
}

.page-hero__back:hover {
  color: var(--color-accent);
}

.page-hero__title {
  font-size: clamp(2.125rem, 5.2vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 22ch;
  text-wrap: balance;
}

.page-hero__lead {
  margin-top: var(--space-lg);
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-text-dim);
}

.post-meta > * + *::before {
  content: "/";
  margin-right: var(--space-md);
  color: var(--color-text-ghost);
}

/* ---------- CORPO ---------- */

.content-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg) var(--space-4xl);
}

.post-content {
  max-width: 760px;
}

.content-wrapper--page .post-content {
  max-width: 820px;
}

.post-content > :first-child {
  margin-top: 0;
}

.content-wrapper h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.content-wrapper h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

.content-wrapper h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.content-wrapper p {
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.content-wrapper--post p,
.content-wrapper--post li {
  font-size: 1.125rem;
}

.content-wrapper strong {
  color: var(--color-text);
  font-weight: 600;
}

.content-wrapper a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(158, 255, 0, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-base);
}

.content-wrapper a:hover {
  text-decoration-color: var(--color-accent);
}

/* Parágrafo só com um link em negrito vira botão (CTA) */
.post-content p > strong:only-child > a:only-child {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 3px;
  text-decoration: none;
  transition: filter var(--transition-base), transform var(--transition-base);
}

.post-content p > strong:only-child > a:only-child:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.content-wrapper a.btn--primary {
  color: var(--color-bg);
  text-decoration: none;
}

/* Listas */
.content-wrapper ul,
.content-wrapper ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.content-wrapper ul { list-style: disc; }
.content-wrapper ol { list-style: decimal; }

.content-wrapper li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.content-wrapper li::marker {
  color: var(--color-accent);
}

/* Listas de página: linhas com marcador, estilo terminal */
.content-wrapper--page .post-content > ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--color-line-2);
}

.content-wrapper--page .post-content > ul > li {
  position: relative;
  margin: 0;
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-bottom: 1px solid var(--color-line-2);
  color: var(--color-text);
}

.content-wrapper--page .post-content > ul > li::before {
  content: "›";
  position: absolute;
  left: 0.25rem;
  font-family: var(--font-mono);
  color: var(--color-accent);
}

/* Seções numeradas nas páginas */
.content-wrapper--page .post-content {
  counter-reset: section;
}

.content-wrapper--page .post-content > h2 {
  counter-increment: section;
}

.content-wrapper--page .post-content > h2::before {
  content: counter(section, decimal-leading-zero) " /";
  display: block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--color-accent);
}

.content-wrapper hr {
  border: 0;
  border-top: 1px solid var(--color-line-2);
  margin: var(--space-2xl) 0;
}

.content-wrapper hr + h2 {
  margin-top: 0;
}

/* Citação, código, tabela, imagem */
.content-wrapper blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-line-2);
  border-left: 2px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  color: var(--color-text);
}

.content-wrapper blockquote p:last-child {
  margin-bottom: 0;
}

.content-wrapper code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-bg-deep);
  border: 1px solid var(--color-line-2);
  padding: 0.12em 0.4em;
  border-radius: 3px;
  color: var(--color-accent);
}

.content-wrapper pre {
  background: var(--color-bg-deep);
  border: 1px solid var(--color-line-2);
  border-radius: 6px;
  padding: var(--space-lg);
  overflow-x: auto;
  margin-bottom: var(--space-lg);
}

.content-wrapper pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
}

.content-wrapper th,
.content-wrapper td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--color-line-2);
}

.content-wrapper th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.content-wrapper img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: var(--space-xl) auto;
  border: 1px solid var(--color-line-2);
  border-radius: 6px;
}

.post-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  max-width: 760px;
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-line-2);
}

/* ---------- NAVEGAÇÃO ENTRE POSTS ---------- */

.post-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin-top: var(--space-2xl);
}

.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-line-2);
  border-radius: 6px;
  transition: border-color var(--transition-base);
}

.content-wrapper a.post-nav__item {
  text-decoration: none;
}

.post-nav__item:hover {
  border-color: var(--color-accent);
}

.post-nav__item--next {
  text-align: right;
}

.post-nav__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.post-nav__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

/* ---------- LISTA DE POSTS (/blogs) ---------- */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-line-2);
  border-radius: 6px;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.post-card:hover {
  border-color: rgba(158, 255, 0, 0.5);
  background: var(--color-bg-deep);
}

.post-card--featured {
  grid-column: 1 / -1;
  padding: var(--space-2xl);
}

.post-card__meta {
  display: flex;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.post-card--featured .post-card__title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  max-width: 28ch;
}

.post-card:hover .post-card__title {
  color: var(--color-accent);
}

.post-card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.post-card__more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent);
}

@media (max-width: 600px) {
  .page-hero { padding: calc(var(--nav-height) + 48px) 0 40px; }
  .post-card--featured { padding: var(--space-xl); }
  .post-nav__item--next { text-align: left; }
}

/* ============================================================
   CTA BANNER (home)
   ============================================================ */

.cta-banner {
  background: var(--color-surface-1);
  border-top: 1px solid var(--color-border-green);
  border-bottom: 1px solid var(--color-border-green);
  padding: var(--space-3xl) 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.cta-banner__title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.cta-banner__desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
  }
}

/* ============================================================
   PÁGINA DE CONTATO
   ============================================================ */

.contact-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 600px;
}

.content-wrapper a.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  background: #25d366;
  color: #080808;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 3px;
  transition: background var(--transition-base);
  text-decoration: none;
  width: fit-content;
}

.content-wrapper a.btn-whatsapp:hover {
  background: #1eb356;
  color: #080808;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 680px;
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-line-2);
  border-radius: 6px;
}

@media (max-width: 600px) {
  .contact-form { padding: var(--space-lg); }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-neutral);
  border-radius: 3px;
  padding: 0.625rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  transition: border-color var(--transition-base);
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
}

.contact-form select option {
  background: var(--color-surface-2);
  color: var(--color-text-primary);
}

.contact-email {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.contact-email a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ANIMAÇÃO FADE-IN (Intersection Observer)
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .problems-list {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: var(--space-xl);
  }

  .product-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer__links {
    gap: var(--space-lg);
  }

  .post-item {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   LEAD MAGNET (captura de e-mail)
   ============================================================ */

.lead-magnet {
  background: var(--color-surface-1);
  border: var(--border-green);
  border-radius: 6px;
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.lead-magnet h3 {
  margin-top: 0;
}

.lead-magnet__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.lead-magnet__form input[type="email"] {
  flex: 1 1 260px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-neutral);
  border-radius: 3px;
  padding: 0.625rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-primary);
}

.lead-magnet__form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ============================================================
   CHECKLIST (lead magnet imprimível)
   ============================================================ */

.checklist-intro {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 720px;
}

.checklist-print {
  margin: var(--space-md) 0 var(--space-xl);
}

.checklist-doc ul {
  list-style: none;
  padding-left: 0;
}

.checklist-doc ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.9rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.checklist-doc ul li input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-accent);
}

.checklist-cta {
  background: var(--color-surface-1);
  border: var(--border-green);
  border-radius: 6px;
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.checklist-cta p {
  margin-bottom: var(--space-sm);
}

@media print {
  .nav,
  .footer,
  .checklist-print,
  .checklist-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .checklist-doc,
  .checklist-doc h2,
  .checklist-doc ul li {
    color: #000;
  }
}

/* ============================================================
   HOME — TERMINAL DARK (redesign §2–§5)
   ============================================================ */

/* Helpers de cor mono/semânticas */
.dh-accent { color: var(--color-accent); }
.dh-warn   { color: var(--color-warn); }
.dh-crit   { color: var(--color-crit); }
.dh-dim    { color: var(--color-text-faint); }

/* Label de seção mono */
.dh-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--color-text-faint);
  margin-bottom: 18px;
}
.dh-label--accent { color: var(--color-accent); letter-spacing: 0.2em; }
.dh-label--center { text-align: center; }

/* Títulos / lead */
.dh-h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 22px;
}
.dh-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 0 48px;
}

/* Seções */
.dh-section { padding: 96px 0; }
.dh-section--tight { padding-top: 0; }
.dh-section--bordered { border-top: 1px solid var(--color-line); }

/* Botões */
.dh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}
.dh-btn--primary { background: var(--color-accent); color: var(--color-bg); }
.dh-btn--primary:hover { background: #b6ff3a; }
.dh-btn--ghost { border-color: var(--color-line-3); color: var(--color-text); font-weight: 500; }
.dh-btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.dh-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.dh-cta-row--center { justify-content: center; }

/* ---------- BOOT OVERLAY ---------- */
#dh-boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
.dh-boot__scan {
  position: absolute;
  left: 0; right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(158,255,0,0.06), transparent);
  animation: dh-scan 3.2s linear infinite;
  pointer-events: none;
}
.dh-boot__inner {
  width: min(620px, 86vw);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.95;
  position: relative;
}
.dh-boot__label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  color: var(--color-text-faint);
  font-size: 12px; letter-spacing: 0.14em;
}
.dh-boot__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-accent);
  animation: dh-pulse 1.4s ease-in-out infinite;
}
.dh-boot__log { color: var(--color-text-dim); white-space: pre-wrap; min-height: 180px; }
.dh-boot__cursor {
  display: inline-block; width: 8px; height: 15px;
  background: var(--color-accent); vertical-align: -2px;
  animation: dh-blink 1s steps(1) infinite;
}
.dh-boot__skip { margin-top: 18px; color: var(--color-text-ghost); font-size: 11px; letter-spacing: 0.1em; }

@keyframes dh-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes dh-scan  { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes dh-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ---------- HERO ---------- */
.dh-hero { position: relative; padding: 90px 0 80px; overflow: hidden; }
.dh-hero__grid {
  position: absolute; inset: 0; opacity: 0;
  background-image:
    linear-gradient(var(--color-gridline) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-gridline) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000, transparent 80%);
}
.dh-hero__fx { position: absolute; inset: 0; pointer-events: none; }
.dh-hero__glow { position: absolute; inset: 0; pointer-events: none; }
.dh-hero__content { position: relative; z-index: 1; }
.dh-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 920px;
}
.dh-hero__line { display: block; }
.dh-hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 0 40px;
}

/* ---------- TERMINAL PANEL ---------- */
.dh-term {
  background: var(--color-bg-deep);
  border: 1px solid var(--color-line-2);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.dh-hero__term { margin-top: 56px; max-width: 600px; }
.dh-term__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-line);
}
.dh-term__bar--split { justify-content: space-between; }
.dh-term__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-line-3); }
.dh-term__name { margin-left: 8px; color: var(--color-text-faint); }
.dh-term__bar--split .dh-term__name { margin-left: 0; }
.dh-term__live { animation: dh-pulse 1.6s ease-in-out infinite; }
.dh-term__body { padding: 18px 20px; line-height: 2; color: var(--color-text-dim); }
.dh-term__body--loose { padding: 22px; line-height: 2.1; }
.dh-term__verdict { margin-top: 10px; }

/* ---------- STAT STRIP ---------- */
.dh-stats {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.dh-stats__item { flex: 1; min-width: 220px; padding: 34px 40px; }
.dh-stats__item:not(:last-child) { border-right: 1px solid var(--color-line); }
.dh-stats__num { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--color-text); }
.dh-stats__label { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-dim); margin-top: 6px; }

/* ---------- PROBLEMAS ---------- */
.dh-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--color-line-2);
  border: 1px solid var(--color-line-2);
  border-radius: 5px;
  overflow: hidden;
}
.dh-problems__item {
  background: var(--color-bg);
  padding: 26px 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #c4d0c9;
}

/* ---------- CARDS (serviços / blog) ---------- */
.dh-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.dh-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line-2);
  border-radius: 6px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.dh-card:hover { border-color: var(--color-line-3); }
.dh-card__idx { font-family: var(--font-mono); color: var(--color-accent); font-size: 13px; margin-bottom: 22px; }
.dh-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin: 0 0 12px; color: var(--color-text); }
.dh-card__desc { font-size: 15px; line-height: 1.65; color: var(--color-text-dim); margin: 0 0 26px; flex: 1; }
.dh-card__link { font-family: var(--font-mono); font-size: 13px; color: var(--color-accent); }
.dh-card__link:hover { text-decoration: underline; }
.dh-card__link--end { margin-top: auto; }
/* blog card variant */
.dh-card--post { padding: 30px; gap: 16px; }
.dh-card--post:hover { border-color: var(--color-line-3); }
.dh-card__date { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-faint); }
.dh-card__title--post { font-size: 19px; line-height: 1.35; margin: 0; }

/* ---------- DIAGNÓSTICO BAND ---------- */
.dh-section--band { padding: 0 0 96px; }
.dh-band {
  background: linear-gradient(120deg, #0e1512, var(--color-bg));
  border: 1px solid var(--color-line-2);
  border-radius: 8px;
  padding: 48px;
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.dh-band__text { max-width: 560px; }
.dh-band__title { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; }
.dh-band__desc { font-size: 16px; line-height: 1.6; color: var(--color-text-muted); margin: 0; }
.dh-band__cta { white-space: nowrap; }

/* ---------- FRAUDTALON ---------- */
.dh-fraudtalon { border-top: 1px solid var(--color-line); background: var(--color-bg-deep); padding: 96px 0; }
.dh-fraudtalon__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}
.dh-fraudtalon .dh-h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.025em; }
.dh-fraudtalon .dh-lead { max-width: 520px; }
.dh-chips { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.dh-chip {
  font-family: var(--font-mono); font-size: 12px; color: var(--color-accent);
  border: 1px solid var(--color-line-3); border-radius: 100px; padding: 7px 14px;
}

/* ---------- EXPERIÊNCIA ---------- */
.dh-exp { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: center; }
.dh-exp .dh-lead { margin-bottom: 0; max-width: 480px; }
.dh-exp__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.dh-exp__item { font-family: var(--font-mono); font-size: 14px; color: #c4d0c9; display: flex; gap: 12px; }

/* ---------- POR QUE A DEEPWAVE ---------- */
.dh-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.dh-why__item { border-top: 2px solid var(--color-line-3); padding: 28px 4px 0; }
.dh-why__item--lead { border-top-color: var(--color-accent); }
.dh-why__num { font-family: var(--font-mono); font-size: 36px; font-weight: 600; color: var(--color-text-faint); margin-bottom: 18px; }
.dh-why__item--lead .dh-why__num { color: var(--color-accent); }
.dh-why__text { font-size: 18px; line-height: 1.5; color: var(--color-text); margin: 0; }

/* ---------- BLOG HEAD ---------- */
.dh-blog__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.dh-blog__head .dh-h2 { margin: 0; }

/* ---------- CONTATO ---------- */
.dh-contact { position: relative; overflow: hidden; padding: 110px 0; text-align: center; }
.dh-contact__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--color-gridline) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-gridline) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
}
.dh-contact__inner { position: relative; max-width: 720px; margin: 0 auto; padding: 0 var(--space-lg); }
.dh-contact__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.05; margin: 0 0 24px;
}
.dh-contact__desc { font-size: 18px; line-height: 1.6; color: var(--color-text-muted); margin: 0 0 40px; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 720px) {
  .dh-section { padding: 64px 0; }
  .dh-fraudtalon { padding: 64px 0; }
  .dh-contact { padding: 80px 0; }
  .dh-band { padding: 32px; }
  .dh-exp__list { grid-template-columns: 1fr; }
  .dh-stats__item { padding: 26px 24px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  #dh-boot { display: none !important; }
  .dh-hero__grid { opacity: 1 !important; }
  .dh-boot__scan, .dh-boot__dot, .dh-term__live { animation: none; }
}
