/* ════════════════════════════════
   TOKENS
════════════════════════════════ */

/* // Importação do Google Fonts com pesos comum (400, 500, 700) */
/* Inter removido — trio aprovado: Syne / DM Mono / Arial */

/* @font-face {
  font-family: 'Inter';
  src:
    url('fonts/Inter-Regular.woff2') format('woff2'),
    url('fonts/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src:
    url('fonts/Inter-Bold.woff2') format('woff2'),
    url('fonts/Inter-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
} */

:root {
  --black: #0a0a0a;
  --carbon: #111111;
  --surface: #161616;
  --surface2: #1c1c1c;
  --border: #222222;
  --border2: #2e2e2e;
  --accent: #c8ff00;
  --accent-glow: rgba(200, 255, 0, 0.1);
  --white: #f5f4f0;
  --gray: #888888;
  --gray2: #aaaaaa;
  --mid: #444444;

  --warn: #ff6b63;
  --warn-light: rgba(255, 59, 48, 0.1);
  --green: #16a34a;
  --green-light: rgba(52, 199, 89, 0.06);

  --radius-sm: 6px;

  --sans: 'Syne', sans-serif;
  --mono: 'DM Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--surface);
  color: var(--white);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  cursor: none;
}

.mb-1 {
  margin-bottom: 8px;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

/* ── CURSOR ── */
#cur {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s;
}

#cur-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(200, 255, 0, 0.35);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

a:hover~#cur,
button:hover~#cur {
  width: 16px;
  height: 16px;
}

/* ── GRID ── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ════════════════════════════════
   NAV
════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 88px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);

  /* // centraliza  */
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  border-radius: 0 0 4px 4px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── telas menores ── */
@media (max-width: 768px) {
  .nav-logo img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .nav-logo img {
    width: 20px;
    height: 20px;
  }
}

.nav-logo-mark {
  width: 26px;
  height: 26px;
}

.nav-word {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

/* Submenu escondido por padrão */
.nav-menu li {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  list-style: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Exibe ao passar o mouse no item pai */
/* .nav-menu li:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
} */

/* Itens do Submenu */
.nav-submenu li a {
  line-height: 40px !important;
  /* Altura menor para subitens */
  font-size: 9px !important;
  border-bottom: none !important;
  padding: 0 20px !important;
  text-align: left;
}

.nav-submenu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent) !important;
}

.nav-menu li a {
  display: block;
  padding: 0 18px;
  line-height: 60px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  cursor: none;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

.nav-menu li a:hover {
  color: var(--white);
}

.nav-menu li a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-cta {
  padding: 9px 22px;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black) !important;
  text-decoration: none;
  cursor: none;
  transition:
    background 0.2s,
    transform 0.2s;
}

.nav-cta:hover {
  background: #d4ff26;
  color: var(--gray) !important;
  transform: translateY(-1px);
}

/* ════════════════════════════════
   CSS ADICIONAL PARA RESPONSIVIDADE
════════════════════════════════ */

/* Botão Hamburguer - Escondido no Desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 210;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

/* Animação do X quando o menu estiver ativo */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ════ MEDIA QUERY: TABLETS E CELULARES ════ */
/* Breakpoint alinhado ao gate do JS (window.innerWidth <= 992) para
   evitar zona morta onde o hambúrguer aparece mas o clique não responde. */
@media (max-width: 992px) {
  nav {
    padding: 0 24px;
    /* Menos espaço nas laterais */
  }

  .nav-toggle {
    display: block;
    /* Mostra o hambúrguer */
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    /* Escondido para fora da tela */
    width: 280px;
    height: calc(100vh - 60px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 10px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Quando o menu ganha a classe .active, ele desliza para dentro */
  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    line-height: 50px;
    width: 100%;
    border-bottom: none !important;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    line-height: 36px !important;
  }

  .hero-h1 {
    font-size: 40px !important;
  }

  /* Ajustes do Submenu para Mobile */
  .nav-submenu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-left: 2px solid var(--border);
    padding: 0;
    margin-left: 10px;

    /* Escondido por padrão via max-height para animação suave */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: none;
    transition: all 0.3s ease-in-out;
  }

  /* Classe para abrir o submenu no mobile via JS */
  .nav-submenu.open {
    max-height: 500px !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 10px 0;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  /* Desativa o efeito de hover do desktop no mobile */
  .nav-menu li:hover .nav-submenu {
    opacity: 0;
    visibility: hidden;
  }
}

/* ════ ENVOLVER O HOVER APENAS PARA DESKTOP ════ */
@media (min-width: 993px) {
  .nav-menu li:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ════════════════════════════════
   PAGES
════════════════════════════════ */
.page {
  display: none;
  padding-top: 60px;
}

.page.active {
  display: block;
}

/* ════════════════════════════════
   SHARED COMPONENTS
════════════════════════════════ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.chip::before {
  content: '//';
  color: var(--border2);
}

section {
  position: relative;
  z-index: 1;
  /* Reduzimos o padding lateral em telas menores para não esmagar o conteúdo */
  /* padding: 6rem 2rem; */
  width: 100%;
}

.section-pad {
  padding: 4rem 6rem;
}

.section-inner {
  max-width: 1600px;
  margin: 0 auto;
}

/* Criamos um container para segurar o conteúdo no meio em telas gigantes */
section .container {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  column-rule: red;
}

.section-sub {
  color: var(--gray2);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.section-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray2);
  max-width: 560px;
  margin-bottom: 64px;
}

/* divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* reveal */
.r {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.r.v {
  opacity: 1;
  transform: none;
}

/* btn styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  cursor: none;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
}

.btn-primary:hover {
  background: #d4ff26;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 255, 0, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--gray2);
  border: 1px solid var(--border2);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--mid);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.3);
}

.btn-outline-accent:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

/* ════════════════════════════════
   HOME — HERO
════════════════════════════════ */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.055) 0%, transparent 65%);
  pointer-events: none;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.15s forwards;
}

.hero-kicker::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 8.5vw, 112px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 860px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}

.hero-h1 .ac {
  color: var(--accent);
  display: block;
}

.hero-h1 .ol {
  -webkit-text-stroke: 1px rgba(245, 244, 240, 0.25);
  color: transparent;
  display: block;
}

.hero-sub {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray2);
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.7s 0.45s forwards;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-breadcrumb span {
  color: #888;
}

.hero-breadcrumb .sep {
  color: #444;
}

.hero h1 {
  color: var(--white);
  max-width: 1000px;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-mid);
}

.hero-sub {
  font-size: 18px;
  color: #aaa;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}

/* Hero network visual */
.hero-net {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  animation: fadeIn 1.2s 0.8s forwards;
  pointer-events: none;
}

/* O PROBLEMA  */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.tag-green {
  background: var(--green-light);
  color: var(--green);
}

/* ── PROBLEMA ── */
.problem-service {
  border-top: 1px solid rgba(168, 229, 0, 0.08);
  border-bottom: 1px solid rgba(168, 229, 0, 0.08);
}

/* .problem {
  background: var(--accent-light);
} */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}

.problem-text p {
  font-size: 17px;
  color: var(--gray2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.problem-text strong {
  color: var(--accent);
}

.problem-risks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.risk-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--border);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
}

.risk-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.risk-item h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.risk-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* // ======================== */

/* ── NORMAS ── */
.norms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.norm-card {
  padding: 28px;
  border: 1px solid var(--border);

  border-radius: var(--radius);
  background: var(--border);
  position: relative;
  overflow: hidden;

  /* ── hover baseline ── */
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;
  will-change: transform, box-shadow;
  cursor: default;
}

.norm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--white);
  transition: height 0.3s ease;
}

.norm-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px -8px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  /* falsa borda interna que brilha */
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.025);
  /* leve clareada */
}

.norm-card .norm-id {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.norm-card:hover::before {
  height: 4px;
  /* barra superior um pouco mais grossa */
}

.norm-card:hover .norm-id {
  color: var(--white);
  transition: color 0.3s ease;
}

.norm-card:hover p {
  color: rgba(255, 255, 255, 0.7);
  /* texto um pouco mais claro */
  transition: color 0.3s ease;
}

.norm-card h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.norm-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 16px;
}

.norm-card .norm-param {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.param-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border: 1px solid var(--gray);
  color: var(--white);
  border-radius: 20px;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
  /* <-- novo */
}

.norm-card:hover .param-chip {
  border-color: rgba(255, 255, 255, 0.25);
}

.norm-card.new-norm .param-chip {
  background: var(--accent-glow);
  color: var(--accent);
  border: none;
}

/* ── new-norm (destaque) ── */
.norm-card.new-norm::before {
  background: var(--accent);
}

.norm-card.new-norm .norm-id {
  color: var(--accent);
}

.norm-card.new-norm .param-chip {
  background: var(--accent-glow);
  color: var(--accent);
  border: none;
}

.norm-card.new-norm:hover {
  box-shadow:
    0 12px 40px -8px rgba(200, 255, 0, 0.12),
    /* glow verde no hover */
    0 0 0 1px rgba(200, 255, 0, 0.08);
  border-color: rgba(200, 255, 0, 0.2);
  background: rgba(200, 255, 0, 0.03);
}

.norm-card.new-norm:hover::before {
  height: 4px;
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.3);
  /* brilho na barra */
}

.new-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--carbon);
  border-radius: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.norm-card:hover .new-badge {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(200, 255, 0, 0.25);
}

/* ── responsivo (opcional: desliga hover em touch) ── */
@media (hover: hover) {
  .norm-card:hover {
    transform: translateY(-6px);
    /* … mantém o hover acima … */
  }
}

@media (hover: none) {
  .norm-card {
    /* sem transform em touch — evita "ghost hover" */
  }
}

/* // ================== */

/* ── FLUXO ── */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border2);
}

.flow-step {
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--carbon);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.flow-step h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

/* ── PRODUTOS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.product-card {
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-glow);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.25s,
    transform 0.25s;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: rgb(200 255 0 / 13%);
}

.product-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
}

/* ── Produto em desenvolvimento ── */
.product-card.dev {
  border: 1px dashed #2a2a2a;
  background: transparent;
  opacity: 0.55;
  position: relative;
}
.product-card.dev:hover {
  border-color: #333;
  transform: none;
  background: transparent;
}
.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-family: 'DM Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #555;
  border: 1px dashed #2a2a2a;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.dev-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #444;
}
.product-card.dev .btn-outline {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
  font-style: italic;
}

.product-header {
  padding: 24px 24px 0;
  border-bottom: 1px solid var(--accent-glow);
}

.product-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-card.featured .product-tag {
  color: var(--accent);
}

.product-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.product-subtitle {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.4;
}

.product-sensors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 20px;
}

.sensor-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--gray);
  color: var(--gray);
  border-radius: 20px;
}

.sensor-chip.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.product-body {
  padding: 20px 24px;
  flex: 1;
}

.product-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-body li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--gray2);
  align-items: flex-start;
}

.product-body li::before {
  content: '✓';
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-footer {
  padding: 16px 24px 24px;
}

.btn-outline {
  display: block;
  text-align: center;
  padding: 11px;
  border: 1px solid var(--gray2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

.product-card.featured .btn-outline {
  background: var(--accent);
  color: var(--carbon);
  border-color: var(--accent);
}

.product-card.featured .btn-outline:hover {
  opacity: 0.88;
}

.recommended-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--carbon);
  border-radius: 20px;
  margin-bottom: 8px;
}

/* =============  */

/* ── PLATAFORMA ── */
.platform {
  background: var(--black);
}

.platform h2,
.platform .section-sub {
  color: var(--white);
}

.platform .section-sub {
  color: #aaa;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.plat-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  align-items: flex-start;
}

.plat-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.plat-item h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}

.plat-item p {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

/* ── ROI ── */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}

.carbon-bg-section {
  background-color: var(--carbon);
}

.roi-side {
  padding: 36px;
  border-radius: var(--radius);
}

.roi-side.before {
  background: var(--warn-light);
  border: 1px solid rgba(255, 59, 48, 0.25);
}

.roi-side.after {
  background: var(--green-light);
  border: 1px solid rgba(52, 199, 89, 0.18);
}

.roi-side h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.roi-side.before h3 {
  color: var(--warn);
}

.roi-side.after h3 {
  color: var(--green);
}

.roi-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roi-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--gray2);
  align-items: flex-start;
  line-height: 1.45;
}

.roi-list li .ico {
  flex-shrink: 0;
  font-size: 15px;
  margin-top: 1px;
}

/* ── QUEM COMPRA ── */
/* .buyers {
  background: var(--gray-50);
} */

.buyers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.buyer-card {
  padding: 28px;
  background: var(--border);
  border: 1px solid var(--border2);
  border-radius: var(--radius);

  /* ── hover animation ── */
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;
  will-change: transform, box-shadow;
  cursor: default;
}

.buyer-card:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 36px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.buyer-card h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ── anima o título ── */
.buyer-card:hover h3 {
  color: var(--white);
  transition: color 0.3s ease;
}

.buyer-card p {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ── anima o parágrafo ── */
.buyer-card:hover p {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.buyer-trigger {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--border2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* ── anima o trigger ── */
.buyer-card:hover .buyer-trigger {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.buyer-trigger span {
  color: var(--gray);
  font-weight: 400;
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.buyer-card:hover .buyer-trigger span {
  color: var(--accent);
  transition: color 0.3s ease;
}

.buyer-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ── desliga hover em touch ── */
@media (hover: hover) {
  .buyer-card:hover {
    transform: translateY(-3px);
  }
}

@media (hover: none) {
  .buyer-card {
    transition: none;
  }
}

/* ── SETORES ── */
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.sector-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--border2);
  border-radius: 20px;
  color: var(--gray2);
}

/* ── CTA ── */
.cta-section {
  background: var(--accent);
  padding: 96px 0;
  text-align: center;
  border-top: none;
}

.cta-section h2 {
  color: var(--carbon);
  max-width: 1000px;
  margin: 0 auto 16px;
}

.cta-section p {
  color: var(--border2);
  font-size: 17px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--carbon);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  /* border-radius: var(--radius-sm); */
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-white:hover {
  opacity: 0.92;
}

.btn-white-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--carbon);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  /* border-radius: var(--radius-sm); */
  border: 1px solid var(--carbon);
  text-decoration: none;
  transition: border-color 0.2s;
}

.btn-white-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.cta-section .btn-white-ghost:hover {
  border-color: rgba(0, 0, 0, 0.8);
  background: #00000017;
}

/* ── SECTION HEADER ── */
.section-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.65;
  margin-top: 18px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
    /* padding: 0 0px; */
  }

  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .section-title {
    font-size: clamp(25px, 3.5vw, 52px);
  }

  .problem-grid,
  .roi-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .products-grid,
  .buyers-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .flow-steps::before {
    display: none;
  }

  .norms-grid {
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .hero-norms {
    flex-direction: column;
  }
}

/* ============ Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.7s 0.85s forwards;
}

.stat {
  padding: 28px 40px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  font-family: 'Syne', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-l {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ════════════════════════════════
   HOME — VALUE
════════════════════════════════ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 0;
}

.v-card {
  background: var(--black);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.v-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  transition: background 0.3s;
}

.v-card:hover {
  background: var(--surface);
}

.v-card:hover::after {
  background: var(--accent);
}

.v-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  transition: border-color 0.3s;
}

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

.v-icon svg {
  width: 20px;
  height: 20px;
}

.v-n {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Syne', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  transition: color 0.3s;
}

.v-card:hover .v-n {
  color: var(--border2);
}

.v-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.v-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
}

/* ── FLOW STRIP ── */
.flow {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
}

.flow-node {
  flex: 1;
  padding: 36px 28px;
  border-right: 1px solid var(--border);
}

.flow-node:last-child {
  border-right: none;
}

.flow-node.hl {
  background: rgba(200, 255, 0, 0.04);
}

.flow-tag {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.flow-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.flow-node.hl .flow-name {
  color: var(--accent);
}

.flow-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

.flow-arr {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--mid);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── HOW ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.how-cell {
  background: var(--black);
  padding: 52px 44px;
  display: flex;
  gap: 28px;
  transition: background 0.3s;
}

.how-cell:hover {
  background: var(--surface);
}

.how-num {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--border2);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  transition: color 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .how-num {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 20px 24px;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

.how-cell:hover .how-num {
  color: var(--accent);
}

.how-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.how-body p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--gray);
}

/* ── SECTORS ── */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sectors-section {
  background-color: var(--carbon);
}

.sec-card {
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition:
    border-color 0.25s,
    transform 0.25s;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.sec-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.sec-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.sec-card:hover::after {
  transform: scaleX(1);
}

.sec-icon {
  font-size: 26px;
  margin-bottom: 14px;
}

.sec-name {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.sec-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--accent);
  padding: 72px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-strip h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.1;
}

.btn-dark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--black);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-dark:hover {
  background: #111;
  transform: translateY(-2px);
}

/* ════════════════════════════════
   SOLUTIONS PAGE
════════════════════════════════ */
.page-hero {
  padding: 90px 4rem 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;

  /* position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 4rem 4rem 4rem;
      overflow: hidden; */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-content a {
  margin-top: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(149, 229, 0, 0.08);
  border: 1px solid rgba(130, 229, 0, 0.25);
  padding: 0.4rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.2s step-end infinite;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.045) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.page-hero h1 .highlight,
h2 .highlight {
  color: var(--accent);
  position: relative;
}

.page-hero p.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray2);
  opacity: 0.75;
  max-width: 520px;
  animation: fadeInUp 0.6s 0.2s ease both;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.page-hero p {
  font-size: 16px;
  color: var(--gray2);
  max-width: 500px;
  line-height: 1.85;
}

/* Solutions grid */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.sol-card {
  background: var(--black);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 2px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
  cursor: none;
}

.sol-card:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.sol-icon-wrap {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: border-color 0.3s;
}

.sol-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.sol-card:hover .sol-icon-wrap {
  border-color: var(--accent);
}

.sol-vertical {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.sol-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.sol-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  flex: 1;
}

.sol-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  cursor: none;
  margin-top: 8px;
  transition: gap 0.2s;
}

.sol-card:hover .sol-link {
  gap: 14px;
}

/* ── COMPLIANCE BANNER ── */
.compliance-banner {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid rgba(168, 229, 0, 0.1);
  border-bottom: 1px solid rgba(168, 229, 0, 0.1);
  padding: 1.2rem 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
}

.compliance-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gray2);
  white-space: nowrap;
  flex-shrink: 0;
}

.compliance-items {
  display: flex;
  gap: 2.5rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.compliance-items.is-marquee {
  display: block;
}

.compliance-track {
  display: flex;
  width: max-content;
  animation: complianceMarquee var(--compliance-marquee-duration, 42s) linear infinite;
  will-change: transform;
}

.compliance-set {
  display: flex;
  gap: 2.5rem;
  flex-shrink: 0;
  padding-right: 2.5rem;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.c-item::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.8rem;
}

/* ════════════════════════════════
   PRODUCTS PAGE — EXPANDABLE CARDS
════════════════════════════════ */

.prod-family-header {
  padding: 24px 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .prod-family-header {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
  }
}

.prod-filter {
  padding: 32px 0px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge */
}

.prod-filter::-webkit-scrollbar {
  display: none;                /* Chrome / Safari */
}

.filter-btn {
  padding: 7px 18px;
  border: 1px solid var(--border2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  background: transparent;
  cursor: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--mid);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.prod-list {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
}

/* Product row */
.prod-row {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.prod-row:last-child {
  border-bottom: none;
}

.prod-header {
  display: grid;
  grid-template-columns: 48px 1fr auto auto 48px;
  align-items: center;
  gap: 24px;
  padding: 28px 48px;
  cursor: none;
  transition: background 0.2s;
  user-select: none;
}

.prod-header:hover {
  background: var(--surface);
}

.prod-index {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--border2);
}

.prod-row.open .prod-index {
  color: var(--accent);
}

.prod-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prod-tag {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.prod-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prod-short {
  font-size: 11px;
  color: var(--gray);
  max-width: 400px;
}

.prod-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--border2);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}

.prod-status.live {
  border-color: var(--accent);
  color: var(--accent);
}

.prod-status.live::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.prod-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.3s;
}

.prod-row:hover .prod-toggle {
  background: var(--border);
}

.prod-row.open .prod-toggle {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.prod-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--gray);
  transition: color 0.2s;
}

.prod-row.open .prod-toggle svg {
  color: var(--black);
}

/* Expandable body */
.prod-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--surface);
}

.prod-row.open .prod-body {
  max-height: 2000px; /* aumentado para acomodar foto + specs */
}

.prod-body-inner {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.prod-col {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  min-width: 0;
  overflow: hidden;
}

.prod-col:last-child {
  border-right: none;
}

.prod-col-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.prod-desc-full {
  font-size: 12px;
  color: var(--gray2);
  line-height: 1.85;
  margin-bottom: 28px;
}

.prod-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prod-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 11px;
  color: var(--gray2);
  line-height: 1.6;
}

.prod-feat::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 1px;
}

.prod-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  color: var(--gray);
}

.spec-val {
  color: var(--white);
  text-align: right;
}

.prod-actions {
  padding: 24px 48px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ════════════════════════════════
   ABOUT PAGE
════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.about-cell {
  background: var(--black);
  padding: 56px 48px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-cell {
    padding: 56px 32px;
  }
}

.about-cell.accent-bg {
  background: rgba(200, 255, 0, 0.04);
  border: 1px solid rgba(200, 255, 0, 0.15);
}

.about-big {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.about-p {
  font-size: 14px;
  color: var(--gray2);
  line-height: 1.9;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.pillar {
  background: var(--black);
  padding: 40px 32px;
  border-top: 2px solid var(--border);
  transition:
    border-color 0.3s,
    background 0.3s;
}

.pillar:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.pillar-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--border2);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}

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

.pillar h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.pillar p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* ════════════════════════════════
   CONTACT PAGE
════════════════════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
}

.contact-left {
  padding: 48px 50px 80px 85px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-right {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.contact-left h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-left p {
  font-size: 16px;
  color: var(--gray2);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-val {
  font-size: 14px;
  color: var(--gray2);
}

/* Form */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-input,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

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

.form-textarea {
  height: 120px;
  resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--mid);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot-logo {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.foot-sub {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}

.foot-tag {
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.1em;
}

/* ìcones de redes sociais  */
.social-links {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  padding: 20px 0;
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
  /* Quadrado levemente arredondado como os cards */
}

.social-btn i {
  font-size: 18px;
}

.social-btn:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-3px);
  border-color: var(--accent);
}

/* ════════════════════════════════
   SUBPÁGINAS
════════════════════════════════ */

/* ── LIVE WIDGET ── */
.hero-widget {
  position: absolute;
  right: 4rem;
  top: 60%;
  transform: translateY(-50%);
  z-index: 2;
  animation: fadeInRight 0.8s 0.4s ease both;
}

.widget-card {
  background: #121414;
  border: 1px solid rgba(0, 229, 11, 0.2);
  padding: 1.5rem;
  width: 320px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(38, 229, 0, 0.1);
}

.widget-header .title {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--white);
}

.status-ok {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.status-ok::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.readings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.reading-box {
  background: rgb(5 36 9 / 60%);
  border: 1px solid rgba(9, 255, 0, 0.15);
  padding: 1rem;
  text-align: center;
}

.reading-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gray2);
  margin-bottom: 0.5rem;
}

.reading-value {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.reading-value .unit {
  font-size: 0.8rem;
  opacity: 0.6;
}

.reading-value.warn {
  color: var(--accent);
}

.mini-chart {
  height: 48px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 1rem;
}

.bar {
  flex: 1;
  background: rgba(19, 229, 0, 0.15);
  border-top: 1px solid rgba(46, 229, 0, 0.4);
  border-radius: 1px 1px 0 0;
  transition: height 0.5s ease;
}

.bar.active {
  background: rgba(73, 229, 0, 0.3);
  border-color: var(--accent);
}

.widget-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--gray2);
  letter-spacing: 0.08em;
}

.widget-footer span {
  color: var(--accent);
}

/* Floating badges */
.badge-float {
  position: absolute;
  background: rgba(19, 48, 13, 0.95);
  border: 1px solid rgba(53, 229, 0, 0.25);
  padding: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  animation: float 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.badge-float.b1 {
  top: -2rem;
  right: 2rem;
  animation-delay: 0s;
}

.badge-float.b2 {
  bottom: 1rem;
  left: -2rem;
  animation-delay: 2s;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(168, 229, 0, 0.08);
  border: 1px solid rgba(149, 229, 0, 0.08);
}

.feature-card {
  background: var(--carbon);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  background: var(--surface);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(149, 229, 0, 0.08);
  border: 1px solid rgba(130, 229, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.feature-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: rgba(130, 229, 0, 0.2);
  letter-spacing: 0.1em;
}

.feature-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ── SERVICE MODEL ── */
.service-section {
  background: var(--surface);
  border-top: 1px solid rgba(0, 229, 195, 0.08);
  border-bottom: 1px solid rgba(0, 229, 195, 0.08);
}

.service-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 229, 195, 0.08);
  position: relative;
}

.service-section .step-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  width: 28px;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.step-content h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Calibration card */
.cal-card {
  background: var(--carbon);
  border: 1px solid rgba(160, 229, 0, 0.15);
  padding: 2rem;
  position: relative;
}

.cal-card::before {
  content: 'CERTIFICADO';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  background: var(--accent);
  color: var(--mid);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 0.15rem 0.5rem;
  font-weight: 700;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 229, 195, 0.1);
}

.cal-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 0.3rem;
}

.cal-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

.cal-seal {
  width: 52px;
  height: 52px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.cal-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  border-bottom: 1px dotted rgba(0, 229, 195, 0.08);
}

.cal-row .key {
  color: var(--gray);
  letter-spacing: 0.05em;
}

.cal-row .val {
  color: var(--accent);
}

.cal-footer {
  margin-top: 1.2rem;
  background: rgba(149, 229, 0, 0.06);
  border: 1px solid rgba(168, 229, 0, 0.15);
  padding: 0.8rem 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-align: center;
}

/* ── PORTAL PREVIEW ── */
.portal-section {
  background: linear-gradient(180deg, var(--carbon) 0%, var(--surface) 100%);
}

.portal-preview {
  background: var(--surface2);
  border: 1px solid rgba(157, 255, 0, 0.2);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  margin-top: 3rem;
}

.portal-topbar {
  background: var(--deep);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(157, 255, 0, 0.068);
}

.portal-dots {
  display: flex;
  gap: 5px;
}

.portal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.portal-url {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.3rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.portal-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 340px;
}

.portal-sidebar {
  background: var(--deep);
  padding: 1.2rem;
  border-right: 1px solid rgba(179, 255, 0, 0.1);
}

.sidebar-logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(149, 229, 0, 0.1);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 0.2rem;
  border-radius: 2px;
  transition: all 0.2s;
}

.sidebar-item.active {
  background: rgba(168, 229, 0, 0.1);
  color: var(--accent);
  border-left: 2px solid var(--accent);
}

.portal-main {
  padding: 1.5rem;
  overflow: hidden;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.stat-box {
  background: var(--deep);
  border: 1px solid rgba(145, 255, 0, 0.1);
  padding: 0.8rem;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 0.3rem;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-value.ok {
  color: var(--accent);
}

.stat-value.alert {
  color: var(--accent);
}

.chart-area {
  background: var(--deep);
  border: 1px solid rgba(123, 255, 0, 0.1);
  padding: 1rem;
  height: 160px;
  position: relative;
  overflow: hidden;
}

.chart-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.chart-svg {
  width: 100%;
  height: 100px;
}

/* COCKPIT ; */
.cockpit-container {
  /* background: var(--deep); */
  background: var(--surface2);
  border: 1px solid rgba(200, 255, 0, 0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* margin-top: 1rem; */
}

/* Telemetria */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #baff0021;
}

.tel-item {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-end;
}

.tel-label {
  font-family: var(--mono);
  /* color: var(--muted); */
  color: var(--gray);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.tel-val {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
}

.tel-update {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--accent);
  opacity: 0.8;
}

/* Logs / Terminal */
.log-terminal {
  background: var(--carbon);
  border-left: 3px solid var(--accent);
  padding: 1rem;
  height: 180px;
  overflow-y: auto;
}

.log-line {
  font-family: var(--mono);
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.2rem;
}

.log-time {
  color: var(--muted);
  margin-right: 8px;
}

.log-msg.sys {
  color: #00e5c3;
}

.log-msg.alert {
  color: #ff6b35;
  font-weight: bold;
}

.log-msg.user {
  color: #7ec8e3;
}

/* Controles */
.cockpit-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-direction: row;
}

.cockpit-controls .cockpit-input[type='datetime-local']::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.cockpit-input {
  background: #111;
  border: 1px solid var(--border);
  color: var(--gray2);
  padding: 5px 10px;
  font-size: 0.75rem;
  font-family: var(--mono);
}

.btn-download {
  background: var(--accent);
  color: var(--mid);
  border: none;
  padding: 8px 16px;
  font-family: var(--mono);
  font-weight: bold;
  font-size: 0.7rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-download:hover {
  opacity: 0.9;
}

#portal-preview {
  display: flex;
  /* height: 100vh; */
  min-height: 70vh;
  background: var(--industrial-bg);
}

.portal-sidebar ul {
  list-style: none;
}

.portal-nav-item {
  /* padding: 20px 24px; */
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--industrial-border);
  font-size: 16px;
  font-weight: 500;

  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 0.2rem;
  border-radius: 2px;
  transition: all 0.2s;
}

.portal-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 4px 0 0 var(--industrial-accent);
}

.portal-nav-item.active {
  background: rgba(168, 229, 0, 0.1);
  color: #ffffff;
  /* box-shadow: inset 4px 0 0 #357abd; */
  border-left: 2px solid var(--accent);
}

/* .icon {
      font-size: 20px;
      margin-right: 16px;
      width: 24px;
      text-align: center;
  } */

.portal-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portal-header {
  padding: 20px 24px;
  background: var(--industrial-panel);
  border-bottom: 1px solid var(--industrial-border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.portal-url {
  /* font-family: 'Courier New', monospace; */
  font-family: var(--mono);
  font-size: 18px;
  color: var(--industrial-accent);
  background: var(--industrial-secondary);
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--industrial-border);
}

.portal-tab-contents {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.portal-tab-content {
  display: none;
  height: 100%;
  /* padding: 32px; */
  overflow-y: auto;
  background: var(--industrial-bg);
}

.portal-tab-content.active {
  display: block;
}

.preview-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  height: 100%;
}

.metric-card {
  background: var(--industrial-panel);
  border: 1px solid var(--industrial-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
}

.metric-card h3 {
  color: #a0a8b0;
  font-size: 14px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-value {
  font-size: 36px;
  font-weight: bold;
  color: var(--industrial-accent);
  margin-bottom: 8px;
}

.metric-change {
  font-size: 14px;
  color: #4ade80;
}

.chart-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--industrial-accent), #357abd);
  border-radius: 8px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  opacity: 0.8;
}

.sidebar-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(30%) brightness(0.9);
  /* Subtle industrial matte effect */
}

/* Disabled styles for cockpit controls */
.cockpit input:disabled,
.cockpit button:disabled,
.cockpit select:disabled,
.cockpit .disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #4a4a4a;
  /* Dark industrial gray */
  color: #888;
  border-color: #666;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  /* Industrial inset shadow for disabled look */
}

/* General disabled class for consistency */
.disabled {
  pointer-events: none;
  user-select: none;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.report-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.report-card:hover {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.report-card .icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* Flaticon icons assumed to be loaded via font */
.report-card .flaticon-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.plan-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray2);
  color: var(--surface);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.plan-status::before {
  content: '🔒';
  font-size: 1rem;
}

.plan-details-panel {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.plan-details-panel .title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.plan-details-panel .title::before {
  content: '💎';
  font-size: 1.5rem;
}

.plan-data-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.plan-data-row:last-child {
  border-bottom: none;
}

.plan-data-row label {
  color: var(--gray);
  font-size: 0.95rem;
}

.plan-data-row .value {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  text-align: right;
}

.plan-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.plan-footer .tag {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.plan-footer .tag.active {
  background: #10b981;
  color: white;
}

.plan-footer .tag.inactive {
  background: var(--gray2);
  color: var(--surface);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reports-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .plan-details-panel {
    padding: 1.5rem;
  }
}

/* ── SETORES ── */
.setores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.setor-card {
  background: var(--surface);
  border: 1px solid rgba(160, 229, 0, 0.1);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: border-color 0.3s;
}

.setor-card:hover {
  border-color: rgba(130, 229, 0, 0.3);
}

.setor-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.setor-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.setor-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.setor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(205, 227, 126, 0.08);
  border: 1px solid rgba(205, 227, 126, 0.2);
  padding: 0.2rem 0.5rem;
}

/* ── PLAN ── */
.plan-section {
  background: var(--surface);
  border-top: 1px solid rgba(0, 229, 195, 0.08);
}

.plan-card {
  background: var(--carbon);
  border: 1px solid rgba(130, 229, 0, 0.2);
  padding: 3rem;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.plan-name {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.plan-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.plan-price {
  text-align: right;
}

.plan-price .per {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.3rem;
}

.plan-price .amount {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.plan-price .note {
  font-size: 0.7rem;
  color: var(--gray);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.plan-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  margin-bottom: 2.5rem;
}

.plan-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.plan-item::before {
  content: '→';
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  margin-top: 0.08rem;
  flex-shrink: 0;
}

.plan-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* ── ANIMATIONS ── */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes complianceMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px) translateY(-50%);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100vh);
  }
}

/* Scanline effect */
.scanline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(transparent, rgba(149, 229, 0, 0.04), transparent);
  animation: scanline 8s linear infinite;
  pointer-events: none;
  z-index: 999;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }

  .page-hero {
    padding: 40px 48px 60px;
  }

  .hero,
  .section,
  .page-hero,
  .contact-left,
  .contact-right {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Contato mobile: formulário sobe para o topo (ação principal primeiro) */
  .contact-right {
    order: -1;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-left {
    border-right: none;
    border-top: 1px solid var(--border);
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-net {
    display: none;
  }

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

  .stat {
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
  }

  .value-grid,
  .sol-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .how-grid,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .prod-body-inner {
    grid-template-columns: 1fr;
  }

  .prod-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 20px;
  }

  .cta-strip {
    flex-direction: column;
    padding: 52px 20px;
  }

  .prod-header {
    grid-template-columns: 32px 1fr 36px;
    gap: 12px;
    padding: 24px 24px;
  }

  .prod-short,
  .prod-status {
    display: none;
  }

  footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 28px 20px;
  }

  .flow {
    flex-direction: column;
  }

  .flow-arr {
    display: none;
  }

  .prod-filter {
    padding: 20px;
  }

  .prod-actions {
    flex-wrap: wrap;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .compliance-banner {
    flex-direction: column;
    gap: 1rem;
  }

  .section-lead {
    margin-bottom: 24px;
  }

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

  .cockpit-controls {
    align-items: self-start;
    flex-direction: column;
  }

  .cockpit-container {
    padding: 1rem;
  }

  .portal-main {
    padding: 1rem;
  }

  .tel-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .page-hero {
    flex-direction: column;
  }

  .hero-widget {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 3rem;
    animation: fadeInUp 0.6s 0.4s ease both;
  }

  .hero-widget .widget-card {
    width: 100%;
  }

  .service-inner {
    grid-template-columns: 1fr;
  }

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

  .portal-body {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    display: none;
  }

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

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 0rem 1.5rem;
  }

  .section-pad {
    padding: 4rem 0rem;
  }

  .hero {
    padding: 0rem 1rem 3rem;
    min-height: calc(100vh - 200px);
  }

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

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

  .plan-includes {
    grid-template-columns: 1fr;
  }

  .plan-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .plan-price {
    text-align: left;
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .compliance-banner {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TIERS COMPLEMENTARES
   Cobertura: ultrawide ≥1920, desktop, laptop, tablet, mobile
   Acrescenta sem sobrescrever a estrutura existente.
   ════════════════════════════════════════════════════════════════ */

/* ── Salvaguardas globais (qualquer viewport) ── */
html,
body {
  max-width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Wrappers/containers preservam padding interno em qualquer tela */
section .container,
.section-inner {
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}

/* Padding fluido para .section-pad — mantém 4rem/6rem em desktop,
   reduz suavemente em telas menores sem quebrar o ritmo. */
.section-pad {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 6rem);
}

/* Hero: padding lateral fluido */
.hero {
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

/* Evitar quebra de palavras longas em títulos */
.hero-h1,
.section-title,
.page-hero h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* ══════════════════════════════════════════════
   ULTRAWIDE — 1920px+ (1080p ultrawide, 1440p, 4K)
   Expande o canvas e respira mais.
   ══════════════════════════════════════════════ */
@media (min-width: 1920px) {

  nav,
  section .container,
  .section-inner {
    max-width: 1800px;
  }

  .section-pad {
    padding: 5rem 7rem;
  }

  .hero {
    padding: 96px 72px 80px;
  }

  .hero-h1 {
    max-width: 1100px;
  }

  .hero-sub {
    max-width: 540px;
    font-size: 17px;
  }

  .section-lead,
  .section-sub {
    max-width: 680px;
  }

  /* Contato centralizado em ultrawide — vira um card limitado no centro */
  .contact-wrap {
    max-width: 1400px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}

/* ══════════════════════════════════════════════
   ULTRAWIDE EXTREMO — 2560px+ (1440p ultrawide, 5K, 32:9)
   ══════════════════════════════════════════════ */
@media (min-width: 2560px) {

  nav,
  section .container,
  .section-inner {
    max-width: 2100px;
  }

  .contact-wrap {
    max-width: 1600px;
  }

  body {
    font-size: 17px;
  }

  .section-pad {
    padding: 6rem 8rem;
  }

  .hero {
    padding: 120px 96px 96px;
  }

  .hero-h1 {
    max-width: 1280px;
  }

  .hero-sub,
  .section-sub,
  .section-lead {
    font-size: 18px;
  }

  /* Strips full-bleed continuam acompanhando o conteúdo */
  .cta-strip {
    padding-left: 96px;
    padding-right: 96px;
  }
}

/* ══════════════════════════════════════════════
   DESKTOP / LAPTOP — 1280px a 1599px
   Faixa onde a maioria dos notebooks vive.
   ══════════════════════════════════════════════ */
@media (max-width: 1599px) and (min-width: 1281px) {
  nav {
    padding: 0 56px;
  }

  .section-pad {
    padding: 4rem 4rem;
  }

  .hero {
    padding: 72px 40px 56px;
  }
}

/* ══════════════════════════════════════════════
   LAPTOP / TABLET LANDSCAPE — 993px a 1280px
   Nav ainda em desktop (corte da nav: 992px),
   mas grids de 4 colunas começam a apertar.
   ══════════════════════════════════════════════ */
@media (max-width: 1280px) and (min-width: 993px) {
  nav {
    padding: 0 32px;
  }

  /* Menu desktop apertado: reduz gaps e fonte para caber no iPad landscape (~1024) */
  .nav-menu {
    gap: 4px;
  }

  .nav-menu li a {
    font-size: 11px;
    padding: 0 10px;
  }

  .nav-cta {
    padding: 0 14px !important;
  }

  .section-pad {
    padding: 3.5rem 3rem;
  }

  .hero {
    padding: 64px 32px 48px;
  }

  /* 4 colunas → 2 colunas para evitar cards estreitos demais */
  .sectors {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .v-card,
  .how-cell {
    padding: 36px 28px;
  }

  .hero-net {
    transform: scale(0.85);
    transform-origin: top right;
  }
}

/* ══════════════════════════════════════════════
   TABLET — 901px a 992px
   Nav já é hambúrguer (corte 992px, alinhado ao JS).
   Refinamos espaçamento sem colapsar grids.
   ══════════════════════════════════════════════ */
@media (max-width: 992px) and (min-width: 901px) {
  .section-pad {
    padding: 3rem 2.5rem;
  }

  .hero {
    padding: 56px 28px 40px;
  }

  .sectors,
  .value-grid,
  .sol-grid,
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .how-grid,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .v-card,
  .how-cell {
    padding: 32px 24px;
  }

  .hero-net {
    transform: scale(0.7);
    transform-origin: top right;
    opacity: 0.55;
  }

  /* Form em 2 colunas ainda funciona aqui */
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ══════════════════════════════════════════════
   MOBILE — ≤640px (refina o que ≤768 já trata)
   Aperto fino de espaçamento e tipografia.
   ══════════════════════════════════════════════ */
@media (max-width: 640px) {

  section .container,
  .section-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-pad {
    padding: 3rem 0;
  }

  .hero {
    padding: 40px 20px 32px;
    min-height: auto;
  }

  .hero-h1 {
    font-size: clamp(36px, 9vw, 56px) !important;
    line-height: 1.02;
    margin-bottom: 24px;
  }

  .hero-kicker {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-btns {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: clamp(26px, 6.5vw, 38px);
  }

  .section-lead,
  .section-sub {
    font-size: 14px;
    margin-bottom: 36px;
  }

  /* Grids: tudo em coluna única */
  .stats,
  .sectors,
  .value-grid,
  .sol-grid,
  .pillar-grid,
  .how-grid,
  .about-grid,
  .contact-wrap,
  .problem-grid,
  .norms-grid,
  .features-grid,
  .telemetry-grid,
  .flow-steps,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .v-card,
  .how-cell,
  .sec-card,
  .sol-card {
    padding: 28px 22px;
  }

  /* CTA strip */
  .cta-strip {
    padding: 40px 20px;
    text-align: center;
    gap: 20px;
  }

  .cta-strip h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  /* Page hero */
  .page-hero {
    padding: 32px 20px 40px;
  }

  .page-hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  /* Banner de compliance: scroll horizontal suave caso volte a flex-row */
  .compliance-banner {
    overflow: hidden;
  }

  /* Botões em geral mais clicáveis */
  .btn {
    padding: 14px 24px;
    font-size: 11px;
  }

  /* Nav drawer mais largo em telas estreitas */
  .nav-menu {
    width: min(320px, 88vw);
  }
}

/* ══════════════════════════════════════════════
   MOBILE PEQUENO — ≤480px
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
  nav {
    padding: 0 16px;
    height: 56px;
  }

  .nav-menu {
    top: 56px;
    height: calc(100vh - 56px);
  }

  section .container,
  .section-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 32px 16px 28px;
  }

  .hero-h1 {
    font-size: clamp(32px, 9.5vw, 44px) !important;
    letter-spacing: -0.02em;
  }

  .section-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .v-card,
  .how-cell,
  .sec-card,
  .sol-card {
    padding: 24px 18px;
  }

  .cta-strip {
    padding: 32px 16px;
  }

  .stat {
    padding: 14px 18px;
  }
}

/* ══════════════════════════════════════════════
   MOBILE MÍNIMO — ≤360px (iPhone SE 1ª gen e afins)
   ══════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-h1 {
    font-size: 30px !important;
  }

  .section-title {
    font-size: 22px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .nav-logo {
    transform: scale(0.92);
    transform-origin: left center;
  }
}

/* ══════════════════════════════════════════════
   ORIENTAÇÃO — paisagem em telefones (altura curta)
   Evita hero de 100vh comendo a tela inteira.
   ══════════════════════════════════════════════ */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 48px 32px 32px;
  }

  .hero-h1 {
    font-size: clamp(32px, 5vw, 48px) !important;
    margin-bottom: 16px;
  }

  .hero-kicker {
    margin-bottom: 12px;
  }
}

/* ══════════════════════════════════════════════
   PREFERÊNCIAS DO USUÁRIO
   ══════════════════════════════════

   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.faq-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  font-family: "Syne", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.faq-a {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 760px;
}

/* ══════════════════════════════════════════════
   BLOG — LISTAGEM
   ══════════════════════════════════════════════ */

/* Filtros de categoria */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.blog-filter {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--gray);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.blog-filter:hover,
.blog-filter.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* Grid de cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
}

.blog-grid--related {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Card individual */
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 36px;
  background: var(--black);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
  cursor: none;
}

.blog-card:hover {
  background: var(--surface);
}

.blog-card-cat {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.blog-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
}

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

.blog-card-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  flex: 1;
  margin: 0;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-card-meta {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}

.blog-card-link {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  transition: letter-spacing 0.2s;
}

.blog-card:hover .blog-card-link {
  letter-spacing: 0.28em;
}

/* ══════════════════════════════════════════════
   BLOG — ARTIGO
   ══════════════════════════════════════════════ */

/* Breadcrumb */
.article-breadcrumb {
  padding: 100px 0 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb-sep {
  color: var(--border2);
}

.breadcrumb-current {
  color: var(--white);
}

/* Header do artigo */
.article-header {
  padding: 32px 0 48px;
}

.article-cat {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
}

.article-cat::before {
  content: '// ';
  color: var(--border2);
}

.article-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-size: 13px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item svg {
  color: var(--accent);
}

.article-meta-sep {
  color: var(--border2);
}

/* Corpo do artigo */
.article-body {
  padding-bottom: 4rem;
}

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

.article-lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray2);
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.article-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
}

.article-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 6px;
}

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

.article-highlight {
  margin: 2rem 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  font-style: normal;
}

/* CTA inline no artigo */
.article-cta {
  margin-top: 4rem;
  padding: 48px;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.article-cta-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 12px 0 12px;
  line-height: 1.15;
}

.article-cta-text p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 480px;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.btn-dark-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid var(--border2);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
  cursor: none;
}

.btn-dark-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Responsivo ── */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    padding: 32px 24px;
  }

  .article-cta {
    padding: 32px 24px;
    flex-direction: column;
    gap: 24px;
  }

  .article-cta-actions {
    flex-direction: column;
  }

  .article-content {
    max-width: 100%;
  }

  .breadcrumb {
    flex-wrap: wrap;
  }
}

/* ══════════════════════════════════════════════
   LINK INTERNO — artigo → solução
   ══════════════════════════════════════════════ */
.article-sol-link {
  margin: 2.5rem 0;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

.article-sol-link-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.article-sol-link-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  transition: color 0.2s;
}

.article-sol-link-cta:visited {
  color: var(--white);
}

.article-sol-link-cta:hover {
  color: var(--accent);
}

.article-sol-link-arrow {
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.2s;
}

.article-sol-link-cta:hover .article-sol-link-arrow {
  transform: translateX(6px);
}

.article-sol-link-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════
   LINK INTERNO — solução → blog
   ══════════════════════════════════════════════ */
.sol-blog-list {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.sol-blog-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s;
  gap: 16px;
}

.sol-blog-link:first-child {
  border-top: 1px solid var(--border);
}

.sol-blog-link:hover {
  color: var(--accent);
}

.sol-blog-link-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.sol-blog-link-arrow {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.sol-blog-link:hover .sol-blog-link-arrow {
  transform: translateX(6px);
}
