/* ==========================================================================
   DBJ VALVE MANAGER - INSTITUTIONAL WEBSITE STYLESHEET
   Clean, Modern, Responsive & Premium Pure CSS3
   ========================================================================== */

/* --- 1. CSS Variables & Design Tokens --- */
:root {
  /* Brand Palette (Inspired by DBJ Valve Manager App) */
  --color-primary-dark: #0A1E40;     /* Deep Navy Base */
  --color-primary: #0E2A5A;          /* DBJ Brand Dark Blue */
  --color-primary-light: #18448A;    /* Accent Blue */
  --color-accent: #2563EB;           /* Vibrant Tech Blue */
  --color-accent-hover: #1D4ED8;     /* Darker Accent */
  --color-accent-light: #3B82F6;     /* Glow & Highlights */
  --color-cyan: #06B6D4;             /* Tech Cyan */
  --color-green: #10B981;            /* Status Positive / OK */
  --color-green-dark: #059669;
  --color-amber: #F59E0B;            /* Warning / Alert */
  --color-red: #EF4444;              /* Defect / Error */
  --color-purple: #8B5CF6;           /* Premium Accent */

  /* Neutral Surface Palette */
  --bg-page: #FFFFFF;
  --bg-light: #F8FAFC;               /* Light Gray Neutral */
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --bg-dark-surface: #0E2A5A;
  
  /* Text Colors */
  --text-main: #0F172A;              /* High contrast Slate 900 */
  --text-muted: #475569;             /* Slate 600 */
  --text-light: #94A3B8;             /* Slate 400 */
  --text-white: #FFFFFF;
  --text-blue-light: #93C5FD;

  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Shadows & Depth */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(14, 42, 90, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(14, 42, 90, 0.08), 0 2px 6px -1px rgba(14, 42, 90, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(14, 42, 90, 0.12), 0 4px 10px -2px rgba(14, 42, 90, 0.04);
  --shadow-xl: 0 20px 40px -6px rgba(14, 42, 90, 0.18);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.35);

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  
  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. CSS Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- 3. Layout & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue { color: var(--color-accent); }
.text-green { color: var(--color-green); }
.text-amber { color: var(--color-amber); }
.text-red { color: var(--color-red); }
.text-purple { color: var(--color-purple); }
.text-cyan { color: var(--color-cyan); }
.text-white { color: var(--text-white); }

.bg-blue-subtle { background-color: rgba(37, 99, 235, 0.08); }
.bg-green-subtle { background-color: rgba(16, 185, 129, 0.08); }
.bg-amber-subtle { background-color: rgba(245, 158, 11, 0.08); }
.bg-purple-subtle { background-color: rgba(139, 92, 246, 0.08); }

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- 4. Section Headers --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(37, 99, 235, 0.09);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- 5. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.0625rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* --- 6. Top Announcement Bar --- */
.announcement-bar {
  background-color: #07152B;
  color: var(--text-light);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.badge-pill {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--text-white);
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.announcement-link {
  color: var(--color-cyan);
  font-weight: 700;
  margin-left: 4px;
}

.announcement-link:hover {
  text-decoration: underline;
}

/* --- 7. Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(14, 42, 90, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-white);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.brand-title strong {
  font-weight: 800;
  color: #60A5FA;
}

.brand-subtitle {
  font-size: 0.6875rem;
  color: var(--text-blue-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #CBD5E1;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent-light);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-only {
  display: inline-flex;
}

/* Mobile Hamburger */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--color-primary-dark);
  z-index: 1100;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.4);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
}

.drawer-link {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #E2E8F0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link:hover {
  color: var(--color-accent-light);
}

.drawer-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
}

.drawer-overlay.show {
  display: block;
}

/* --- 8. Hero Section --- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #15376C 0%, #0E2A5A 50%, #081730 100%);
  color: var(--text-white);
  padding: 80px 0 110px 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #93C5FD;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-white);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* Hero Right: Mockup Stage & Floating Cards */
.mockup-stage {
  position: relative;
  padding: 24px 0;
}

.floating-card {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  animation: floatCard 4s ease-in-out infinite alternate;
}

.float-top-left {
  top: -12px;
  left: -24px;
}

.float-bottom-right {
  bottom: -16px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.glass-card {
  background: rgba(15, 30, 60, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-white);
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.bg-blue-light { background-color: rgba(37, 99, 235, 0.3); color: #93C5FD; }
.bg-green-light { background-color: rgba(16, 185, 129, 0.3); color: #6EE7B7; }

.float-text {
  display: flex;
  flex-direction: column;
}

.float-label {
  font-size: 0.6875rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.float-text strong {
  font-size: 0.875rem;
  color: var(--text-white);
}

/* Central Mockup Frame */
.app-mockup-frame {
  background: #0E2A5A;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(37, 99, 235, 0.2);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.mockup-header-bar {
  background: #081B3B;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.window-url-bar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.6875rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 280px;
}

.window-url-bar svg {
  width: 12px;
  height: 12px;
  color: #10B981;
}

.mockup-screen-content {
  background: #FFFFFF;
  color: var(--text-main);
  padding: 0;
  overflow: hidden;
}

/* Hero Screenshot Showcase & Fallback Placeholder */
.hero-screen-container {
  position: relative;
  width: 100%;
  min-height: 380px;
  background: #0B1F44;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-real-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-placeholder-card {
  width: 100%;
  height: 100%;
  min-height: 380px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, #15376C 0%, #0A1D3D 100%);
  color: var(--text-white);
}

.hero-ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #93C5FD;
  margin-bottom: 20px;
}

.hero-ph-brand {
  margin-bottom: 16px;
}

.hero-ph-logo {
  max-width: 240px;
  height: auto;
  margin: 0 auto;
}

.hero-ph-text {
  font-size: 0.9375rem;
  color: #CBD5E1;
  max-width: 440px;
  margin-bottom: 24px;
  line-height: 1.55;
}

.hero-ph-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ph-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.hero-ph-btn {
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

/* --- 9. Pillars / About Cards --- */
.pillar-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 10. Audience Cards (Para quem é) --- */
.audience-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  text-align: left;
}

.audience-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.audience-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.audience-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.audience-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.audience-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- 11. Features Grid (Recursos) --- */
.feature-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-info h4 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.feature-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- 12. Screens Showcase & Filter --- */
.screens-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--text-muted);
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.screen-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.screen-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.screen-preview-box {
  position: relative;
  background: #0B1F44;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Real Screen Image */
.real-screen-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--transition-slow);
}

.screen-card:hover .real-screen-img {
  transform: scale(1.04);
}

.img-hidden {
  display: none !important;
}

/* Elegant Placeholder for Missing Screenshots */
.elegant-placeholder {
  width: 100%;
  min-height: 240px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, #15376C 0%, #091A38 100%);
  color: var(--text-white);
  gap: 10px;
}

.placeholder-hidden {
  display: none !important;
}

.ph-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: #93C5FD;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-icon svg {
  width: 24px;
  height: 24px;
}

.ph-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ph-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.ph-sub {
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #94A3B8;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Screen Hover Overlay */
.screen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 90, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.screen-card:hover .screen-overlay {
  opacity: 1;
}

.btn-zoom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-zoom svg {
  width: 16px;
  height: 16px;
}

.screen-card-footer {
  padding: 18px;
  background: #FFFFFF;
}

.screen-card-footer h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.screen-card-footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- 13. Benefits Grid --- */
.benefits-grid {
  gap: 32px;
}

.benefit-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.benefit-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-content h3 {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 14. Timeline (Como Funciona) --- */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 42, 90, 0.3);
  position: relative;
  z-index: 2;
}

.step-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.step-header h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.step-tag {
  background: #EFF6FF;
  color: #2563EB;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 15. Differentials (Diferenciais) --- */
.diff-grid {
  gap: 28px;
}

.diff-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.diff-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #E2E8F0;
  line-height: 1;
  margin-bottom: 16px;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.diff-card h3 {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 16. CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #0A1E40 0%, #0E2A5A 60%, #15376C 100%);
  color: var(--text-white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-shape {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-container {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* --- 17. Contact Section & Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: #0E2A5A;
  color: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-lead {
  font-size: 0.9375rem;
  color: #93C5FD;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item strong {
  display: block;
  font-size: 0.9375rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-bottom: 4px;
}

.contact-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #60A5FA;
}

.contact-link:hover {
  text-decoration: underline;
}

.support-badge-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.support-badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-badge-icon svg {
  width: 18px;
  height: 18px;
}

.support-badge-box p {
  font-size: 0.8125rem;
  color: #E2E8F0;
  line-height: 1.45;
}

/* Contact Form */
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--text-main);
  background-color: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus {
  background-color: #FFFFFF;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-status-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.form-status-message.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status-message.error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* --- 18. Lightbox Modal --- */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 64, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  width: 100%;
  max-width: 920px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: zoomDialog 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomDialog {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 20;
}

.lightbox-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.lightbox-header {
  padding: 24px 28px 16px 28px;
  border-bottom: 1px solid #E2E8F0;
}

.lightbox-header h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.lightbox-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.lightbox-body {
  padding: 20px;
  background: #081730;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 75vh;
  overflow: auto;
}

.lightbox-img-full {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.lightbox-footer {
  padding: 16px 28px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: flex-end;
}

/* --- 19. Footer --- */
.footer {
  background-color: #071733;
  color: #CBD5E1;
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-about .footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94A3B8;
  margin: 18px 0 24px 0;
  max-width: 340px;
}

.footer-app-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-app-box span {
  font-size: 0.75rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
}

.footer-links a:hover {
  color: #60A5FA;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
}

.footer-contact-list span {
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-list a {
  font-size: 0.875rem;
  color: #93C5FD;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --- 20. Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust-grid {
    max-width: 600px;
    margin: 0 auto;
  }

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

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

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-desktop, .desktop-only {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .hero-title {
    font-size: 2.125rem;
  }

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

  .cta-title {
    font-size: 1.875rem;
  }

  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .floating-card {
    display: none; /* Keep mobile view clean */
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8125rem;
  }

  .hero-trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-item {
    justify-content: center;
    text-align: left;
  }

  .contact-info-card, .contact-form-card {
    padding: 24px 18px;
  }
}

/* TESTE TEMPORÁRIO - remover saltos/piscadas no carregamento */
*, *::before, *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
}

.hero-visual,
.hero-content,
.glass-card,
.floating-card,
.screen-card,
[data-animate] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
