/* =====================================================
   VA SISTEMAS — Design System CSS
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* === CSS Variables=== */
:root {
  --radius: 1rem;

  --background: 222 47% 5%;
  --foreground: 210 20% 92%;
  --card: 222 40% 8%;
  --card-foreground: 210 20% 92%;
  --primary: 90 50% 60%;
  --primary-foreground: 222 47% 5%;
  --secondary: 180 18% 50%;
  --secondary-foreground: 210 20% 95%;
  --muted: 222 25% 12%;
  --muted-foreground: 215 12% 55%;
  --accent: 90 50% 60%;
  --accent-foreground: 222 47% 5%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;
  --border: 222 25% 16%;
  --input: 222 25% 16%;
  --ring: 90 50% 60%;

  /* Glow helpers */
  --glow-green: 90 50% 60%;
  --glow-teal: 180 18% 50%;
  --surface-glass: 222 30% 10%;
  --surface-elevated: 222 28% 12%;

  --light-bg: 210 33% 98%;
  --light-fg: 222 47% 11%;
  --light-muted: 215 16% 47%;
  --light-card: 0 0% 100%;
  --light-border: 214 20% 90%;

  /* Hex helpers mantidos para compatibilidade interna */
  --primary-hex: #96ce61;
  --secondary-hex: #669899;

  /* Gradients */
  --grad-hero: radial-gradient(ellipse 70% 50% at 30% 30%, hsl(90 50% 60% / 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 75% 25%, hsl(180 18% 50% / 0.06) 0%, transparent 55%),
    hsl(222 47% 5%);
  --grad-primary: linear-gradient(135deg, #96ce61 0%, #7da951 100%);
  --grad-accent: linear-gradient(135deg, #96ce61 0%, #7da951 100%);
  --grad-card: linear-gradient(135deg, hsl(222 40% 8% / 0.95) 0%, hsl(222 40% 8% / 0.75) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px hsl(90 50% 60% / 0.18), 0 0 60px hsl(90 50% 60% / 0.06);
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--glow-green) / 0.1);
}

::-webkit-scrollbar-thumb {
  background: #96CE61;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #719c49;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
}

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

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

ul {
  list-style: none;
}

/* === Layout Utilities === */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.glass {
  background: hsl(var(--surface-glass) / 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / 0.5);
  transition: background 350ms ease, border-color 350ms ease,
    transform 350ms ease, box-shadow 350ms ease;
}

.glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px hsl(var(--glow-green) / 0.12), 0 8px 16px hsl(0 0% 0% / 0.1);
  border-color: hsl(var(--glow-green) / 0.25);
}

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

.text-gradient-green {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(135deg, hsl(var(--glow-green)), hsl(90 60% 75%));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  background-color: hsl(222 47% 5% / 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background-color: hsl(222 47% 5% / 0.97);
  box-shadow: var(--shadow-sm);
  border-bottom-color: hsl(var(--glow-green) / 0.12);
}


.site-header .inner {
  display: flex;
  height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .inner {
  height: 3.75rem;
}

.site-header .logo img {
  height: 2rem;
  width: auto;
}

/* Desktop Nav */
.site-header .inner > nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-header nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: all 0.25s ease;
  position: relative;
  padding: 0.25rem 0;
}

.site-header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width 0.25s ease;
  border-radius: 99px;
}

.site-header nav a:hover::after,
.site-header nav a.active::after {
  width: 100%;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: hsl(var(--foreground));
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-fale {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: border-color 0.15s, color 0.15s;
}

.btn-fale:hover {
  border-color: hsl(var(--glow-teal) / 0.4);
  color: hsl(var(--primary));
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  background: none;
}

.menu-toggle svg {
  width: 1rem;
  height: 1rem;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.97);
  backdrop-filter: blur(16px);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.5rem;
  max-width: 1152px;
  margin: 0 auto;
}

.mobile-nav nav a {
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  padding: 1rem 0;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.mobile-nav nav a:last-child {
  border-bottom: none;
}

.mobile-nav.open {
  display: block;
}

/* === FOOTER === */
.site-footer {
  /* border-top: 1px solid hsl(var(--border)); */
  background-color: hsl(var(--background));
}

.site-footer .inner {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 5fr 2fr 2fr 2fr;
  }
}

.footer-brand p {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

.footer-col ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: hsl(var(--foreground));
}

.footer-bottom {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* === SECTION HELPERS === */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

.section-label::before {
  content: '';
  display: block;
  height: 1px;
  width: 1.5rem;
  background-color: hsl(var(--glow-teal) / 0.6);
}

.section-title {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

/* === PAGE HERO === */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid hsl(var(--border));
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at top, hsl(var(--glow-teal) / 0.08) 0%, transparent 60%);
}

.page-hero .inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.page-hero h1 {
  margin-top: 1rem;
  max-width: 48rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

.page-hero p {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background: var(--grad-primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px hsl(var(--glow-green) / 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsl(var(--glow-green) / 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--card));
  color: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background: var(--grad-accent);
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--accent-foreground));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px hsl(var(--glow-green) / 0.2);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsl(var(--glow-green) / 0.35);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.btn-dark:hover {
  background-color: hsl(90 60% 55%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === ICONS (inline SVG helper) === */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* === HERO SECTION (index) === */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid hsl(var(--border));
  background: var(--grad-hero);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 15% 20%, hsl(90 50% 60% / 0.08) 0%, transparent 8%),
    radial-gradient(circle at 85% 35%, hsl(180 18% 50% / 0.06) 0%, transparent 8%),
    radial-gradient(circle at 25% 70%, hsl(90 50% 60% / 0.05) 0%, transparent 8%),
    radial-gradient(circle at 90% 75%, hsl(180 18% 50% / 0.05) 0%, transparent 8%);
  opacity: 0.6;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero .inner {
  position: relative;
  z-index: 2;
  padding: 0 0 7rem 0;
}

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.hero-badge span {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: hsl(var(--accent));
  display: inline-block;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: hsl(var(--foreground));
}

.hero h1 .text-primary {
  color: hsl(var(--primary));
}

.hero p {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  background: hsl(var(--card));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--glow-green) / 0.35);
  box-shadow: 0 10px 30px 0 hsl(var(--glow-green) / 0.15);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--primary));
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

/* === SECTION GRID === */
.section {
  border-bottom: 1px solid hsl(var(--border));
}

.section.bg-alt {
  background-color: hsl(222 40% 7%);
}

.section.bg-light {
  background-color: #fafafa;
}

.section.bg-light .section-label {
  color: hsl(var(--primary));
}

.section.bg-light .section-title,
.section.bg-light h2,
.section.bg-light h3,
.section.bg-light h4 {
  color: #333;
}

.section.bg-light p,
.section.bg-light li {
  color: #666;
}

.section.bg-light .pilar-item {
  background: hsl(var(--card));
  border: 1px solid #e0e0e0;
  color: #666;
}

.section.bg-light .pilar-item h3 {
  color: #333;
}

.section.bg-light .founder-card {
  background: hsl(var(--card)) !important;
  color: #666;
}

.section.bg-light .founder-card h4 {
  color: hsl(var(--primary));
}

.section.bg-light .founder-card p {
  color: #666;
}

.section.bg-light .founder-education {
  background: hsl(var(--card) / 0.5) !important;
}

.section.bg-light .founder-education h4 {
  color: #333;
}

.section.bg-light .founder-education strong {
  color: #333;
}

.section.bg-light .mvv-card {
  color: #666;
}

.section.bg-light .mvv-card h3 {
  color: #333;
}

.section.bg-light .mvv-card p {
  color: #666;
}

.section .inner {
  padding: 5rem 0;
}

/* === SYSTEM CARDS === */
.systems-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.system-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: var(--grad-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.system-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, hsl(var(--glow-green) / 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.system-card:hover {
  transform: translateY(-8px);
  border-color: hsl(var(--glow-green) / 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.system-card:hover::before {
  opacity: 1;
}

.system-badge {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
}

.system-card h3 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

.system-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.system-card ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.system-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.check-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--accent));
}

.system-card .link-more {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  transition: gap 0.2s;
}

.system-card .link-more:hover {
  gap: 0.625rem;
}

/* === DIFFERENTIALS === */
.diff-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}

.diff-item {
  background: var(--grad-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.diff-item:hover {
  transform: translateY(-6px);
  border-color: hsl(var(--glow-green) / 0.25);
  box-shadow: var(--shadow-md);
}

.diff-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.diff-item h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.diff-item p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* === MODULE CARDS === */
.module-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.module-card {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: var(--grad-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: hsl(var(--glow-green) / 0.25);
  box-shadow: var(--shadow-md);
}

.module-card.highlight {
  border-color: hsl(var(--glow-teal) / 0.4);
  background: linear-gradient(135deg, hsl(var(--surface-elevated)) 0%, hsl(var(--surface-glass)) 100%);
  color: hsl(var(--foreground));
  box-shadow: 0 10px 30px hsl(var(--glow-green) / 0.08);
}

.module-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
}

.module-card.highlight .module-tag {
  color: hsl(var(--primary));
}

.module-card h3 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.module-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.module-card.highlight p {
  color: hsl(var(--foreground));
  opacity: 0.9;
}

.module-card ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.module-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.dot {
  margin-top: 0.5rem;
  height: 0.25rem;
  width: 0.25rem;
  border-radius: 9999px;
  flex-shrink: 0;
  background: hsl(var(--primary));
}

.module-card.highlight .dot {
  background: hsl(var(--accent));
}

.features-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.feature-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--glow-teal) / 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.feature-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.feature-item p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* === TRAZ VALOR === */
.tv-feature-list {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.tv-feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.tv-feature-item:last-child {
  border-bottom: none;
}

.tv-num {
  font-size: 0.875rem;
  font-family: monospace;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.tv-feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.tv-feature-item p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* === CTA DARK === */
.cta-dark {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--glow-green) / 0.25);
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--surface-elevated)) 100%);
  padding: 3.5rem 2rem;
  color: hsl(var(--foreground));
}

.cta-dark h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-dark p {
  margin-top: 0.75rem;
  font-size: 1rem;
  opacity: 0.7;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

/* === SOBRE PAGE === */
.historia-grid {
  display: grid;
  gap: 3rem;
}

.historia-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.historia-content .highlight {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.pilares-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}

.pilar-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.pilar-item:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--glow-teal) / 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pilar-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.pilar-item h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.pilar-item p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.numeros-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.numero-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.numero-item:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--glow-green) / 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.numero-value {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--primary));
}

.numero-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

.extras-grid {
  display: grid;
  gap: 1.25rem;
}

.extra-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.extra-item:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--glow-teal) / 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.extra-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.extra-item h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.extra-item p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* === NOTICIAS PAGE === */
.destaque-article {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2rem;
}

.destaque-thumb {
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
}

.noticia-cat {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--primary));
}

.destaque-article h2,
.destaque-article h3 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

.destaque-article p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.noticia-meta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.noticia-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.link-ler {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  transition: gap 0.2s;
}

.link-ler:hover {
  gap: 0.625rem;
}

.noticias-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.noticia-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.noticia-card:hover {
  border-color: hsl(var(--glow-teal) / 0.4);
}

.noticia-thumb {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--muted)) 100%);
  overflow: hidden;
}

.noticia-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noticia-card h3 {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
}

.noticia-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid hsl(var(--border) / 0.6);
  padding-top: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* === EBOOKS PAGE === */
.ebooks-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.ebook-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.ebook-card:hover {
  border-color: rgba(102, 152, 153, 0.4);
}

.ebook-cover {
  display: flex;
  aspect-ratio: 3/4;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--secondary) 0%, var(--card) 100%);
}

.ebook-cover svg {
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(102, 152, 153, 0.6);
}

.ebook-tag {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.ebook-card h3 {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.ebook-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ebook-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(227, 232, 234, 0.6);
  padding-top: 1rem;
}

.ebook-pages {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.link-baixar {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s;
}

.link-baixar:hover {
  gap: 0.625rem;
}

/* Newsletter box */
.newsletter-box {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.newsletter-form input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--glow-teal) / 0.2);
}

/* === CONTATO PAGE === */
.contato-grid {
  display: grid;
  gap: 3rem;
}

.channels-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: opacity 0.15s;
}

.channel-item a {
  transition: opacity 0.15s;
}

.channel-item a:hover {
  opacity: 0.7;
}

.channel-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

.channel-value {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.contact-form {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2rem;
}

.contact-form h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.contact-form>p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.form-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--glow-teal) / 0.2);
}

.form-field textarea {
  resize: vertical;
}

/* Alert messages */
.alert {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.alert.success {
  display: block;
  background: hsl(var(--glow-green) / 0.1);
  border: 1px solid hsl(var(--glow-green) / 0.3);
  color: hsl(var(--foreground));
}

.alert.error {
  display: block;
  background: hsl(var(--destructive) / 0.08);
  border: 1px solid hsl(var(--destructive) / 0.3);
  color: hsl(var(--foreground));
}

/* === LOADING STATE === */
.loading-cards {
  display: grid;
  gap: 1.5rem;
}

.loading-card {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  animation: pulse 1.5s infinite;
}

.loading-bar {
  height: 0.75rem;
  border-radius: 4px;
  background: hsl(var(--secondary));
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

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

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

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

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

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

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

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

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

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

@media (min-width: 768px) {
  .page-hero .inner {
    padding: 7rem 0;
  }

  .section .inner {
    padding: 7rem 0;
  }

  .hero .inner {
    padding: 0 0 10rem;
  }

  .destaque-article {
    grid-template-columns: 5fr 8fr;
    padding: 2.5rem;
  }

  .destaque-article h2,
  .destaque-article h3 {
    font-size: 1.875rem;
  }

  .cta-row {
    flex-direction: row;
    align-items: center;
  }

  .historia-grid {
    grid-template-columns: 5fr 7fr;
  }

  .contato-grid {
    grid-template-columns: 5fr 7fr;
  }

  .btn-fale {
    display: inline-flex;
  }

  .newsletter-box {
    display: grid;
    grid-template-columns: 8fr 4fr;
    align-items: center;
    gap: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
  }

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

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

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

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

  .tv-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

@media (max-width: 767px) {
  .site-header .inner > nav {
    display: none;
  }

  .btn-fale {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* === REVEAL ON SCROLL === */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.reveal-delay-4 {
  transition-delay: 0.48s;
}

/* === PREMIUM GLOW EFFECT & MICRO-INTERACTIONS === */
.btn-primary,
.btn-accent,
.btn-outline,
.btn-dark,
.btn-fale {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Float Animations */
@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-medium {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

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

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes spin-gear {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes draw-path {
  0% {
    stroke-dashoffset: 1000;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse-glow {

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

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

.float-slow-anim {
  animation: float-slow 7s ease-in-out infinite;
}

.float-medium-anim {
  animation: float-medium 5s ease-in-out infinite;
}

.spin-gear-anim {
  animation: spin-gear 12s linear infinite;
}

.spin-gear-reverse-anim {
  animation: spin-gear 15s linear infinite reverse;
}

/* Logo Placeholder inside cards */
.system-logo-placeholder {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.system-logo-placeholder img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.system-logo-placeholder::after {
  content: 'Adicionar logotipo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--glow-teal) / 0.04);
  border: 1px dashed hsl(var(--glow-teal) / 0.2);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.system-logo-placeholder:has(img)::after {
  display: none;
}

/* === PREMIUM HOVER EFFECTS === */
.btn-primary,
.btn-accent {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: none;
}

.btn-primary:hover::after,
.btn-accent:hover::after {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

/* Card Hover Micro-interactions */
.system-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.system-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.system-card .link-more svg {
  transition: transform 0.3s ease;
}

.system-card:hover .link-more svg {
  transform: translateX(6px);
}

.diff-item svg {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.diff-item:hover svg {
  transform: scale(1.15) rotate(6deg);
}
