/* ============================================================
   ADCE Site Institucional — Design System
   Tema: ADCE Institucional (Light — baseado no logo)
   Paleta: Azul Claro + Verde Claro + Creme (do logo ADCE)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
  --bg-primary: #f5f2ec;
  --bg-secondary: #eae6df;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f0ede7;
  --bg-surface-glass: rgba(255, 255, 255, 0.75);
  --border: #d4cfc6;
  --border-subtle: rgba(168, 216, 234, 0.3);

  --blue-primary: #A8D8EA;
  --blue-dark: #7bbdd4;
  --blue-lighter: #c5e8f5;
  --blue-glow: rgba(168, 216, 234, 0.3);

  --green-primary: #B8E6C8;
  --green-dark: #8acca0;
  --green-lighter: #d4f0de;
  --green-glow: rgba(184, 230, 200, 0.3);

  --accent: #5a9e6f;
  --accent-blue: #5a8fa3;

  --gold: #d4a843;
  --gold-glow: rgba(212, 168, 67, 0.2);

  --text-primary: #2d3436;
  --text-secondary: #5f6b72;
  --text-muted: #8e9aa0;

  --success: #5a9e6f;
  --warning: #d4a843;
  --error: #c0392b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(168, 216, 234, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-float: 0 8px 40px rgba(0, 0, 0, 0.1);

  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary); /* Fundo padrão, sobreposto pelo video */
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#global-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

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

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

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

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), #c9963a, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== GATE OVERLAY ==================== */
.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-container {
  width: 90%;
  max-width: 480px;
  text-align: center;
  position: relative;
}

.gate-logo {
  margin-bottom: 2rem;
}

.gate-logo h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.gate-logo p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gate-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gate-input-group {
  position: relative;
}

.gate-input-group label {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.gate-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
  outline: none;
}

.gate-input::placeholder {
  color: var(--text-muted);
}

.gate-input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.gate-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.gate-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gate-btn:hover::before {
  opacity: 1;
}

.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
}

.gate-btn:active {
  transform: translateY(0);
}

.gate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.gate-btn .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.gate-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  line-height: 1.6;
}

.gate-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.gate-error.visible {
  display: block;
}

/* ==================== PARTICLES CANVAS ==================== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  background: rgba(245, 242, 236, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 2rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.navbar-brand .eco-dot {
  width: 10px;
  height: 10px;
  background: var(--green-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-primary);
  animation: pulse-dot 2s ease infinite;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-normal);
}

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

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==================== HERO SECTION (video-only) ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  /* No background — video shows through */
}

/* Legacy — keep hidden */
.hero-map { display: none; }
.hero-map-overlay { display: none; }

/* ==================== CONTENT SECTIONS (scroll over video) ==================== */
.content-section {
  position: relative;
  z-index: 1;
  padding: 0 2rem 4rem;
}

.content-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  background: rgba(245, 242, 236, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.content-card h2 {
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.content-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.content-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.content-card p strong {
  color: var(--text-primary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceDown 2s ease infinite;
}

.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--green-primary);
  border-radius: 2px;
  animation: scrollDot 2s ease infinite;
}

/* ==================== TEXT GRADIENT MUTED ==================== */
.text-gradient-muted {
  background: linear-gradient(135deg, var(--text-muted), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
}

/* ==================== A TESE SECTION ==================== */
.tese {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-subtle);
}

.tese-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.tese-text h2 {
  margin-bottom: 1.5rem;
}

.tese-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.tese-text p strong {
  color: var(--text-primary);
}

.tese-stamp {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(90, 158, 111, 0.08);
  border: 1px solid rgba(90, 158, 111, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
}

.tese-stamp-icon {
  color: var(--accent);
  font-size: 0.6rem;
}

.tese-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tese-icon-block {
  width: 100%;
  padding: 2.5rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.tese-icon-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.tese-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  flex: 1;
}

.tese-icon-old {
  background: rgba(192, 57, 43, 0.05);
  border: 1px solid rgba(192, 57, 43, 0.15);
}

.tese-icon-new {
  background: rgba(90, 158, 111, 0.08);
  border: 1px solid rgba(90, 158, 111, 0.2);
}

.tese-icon-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.tese-icon-symbol {
  font-size: 2.5rem;
  line-height: 1;
}

.tese-icon-old .tese-icon-symbol {
  color: var(--text-muted);
}

.tese-icon-new .tese-icon-symbol {
  color: var(--accent);
}

.tese-icon-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.tese-icon-old .tese-icon-tag {
  color: var(--text-muted);
}

.tese-icon-new .tese-icon-tag {
  color: var(--accent);
}

.tese-icon-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.tese-icon-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ==================== O PROBLEMA SECTION ==================== */
.problema {
  background: var(--bg-primary);
}

.problema-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problema-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.problema-stat-card:hover {
  border-color: rgba(192, 57, 43, 0.3);
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.08);
  transform: translateY(-2px);
}

.problema-stat-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.problema-stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--error);
  line-height: 1;
}

.problema-stat-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==================== ECOSSISTEMA SECTION ==================== */
.ecossistema {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-subtle);
}

.eco-category {
  margin-bottom: 3rem;
}

.eco-category:last-child {
  margin-bottom: 0;
}

.eco-category-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.eco-category-header h3 {
  font-size: 1.3rem;
}

.eco-category-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.eco-grid-hw {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.eco-grid-infra {
  grid-template-columns: 1fr 1fr;
}

.eco-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green-primary));
  opacity: 0;
  transition: opacity var(--transition-normal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.eco-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

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

.eco-card-hw:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.eco-card-hw::before {
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

.eco-card-infra:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 4px 20px var(--blue-glow);
}

.eco-card-infra::before {
  background: linear-gradient(90deg, var(--accent-blue), var(--blue-primary));
}

.eco-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.eco-card-body h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.eco-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.eco-card-body .product-tag {
  margin-top: 0;
}

/* ==================== IMPACT STATS GRID ==================== */
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.impact-closing {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.impact-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: normal;
  border: none;
  padding: 0;
}

.impact-closing-text {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Infra product tag color fix */
.product-tag.infra {
  background: rgba(168, 216, 234, 0.15);
  color: var(--accent-blue);
}

/* ==================== SECTION BASE ==================== */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.75rem;
}

/* ==================== MANIFESTO SECTION ==================== */
.manifesto {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-subtle);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.manifesto-text h2 {
  margin-bottom: 1.5rem;
}

.manifesto-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.manifesto-text .highlight-stat {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--green-primary);
}

.manifesto-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--border-subtle);
}

.manifesto-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.manifesto-image:hover img {
  transform: scale(1.05);
}

/* Comparison cards */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
}

.comparison-card.bad {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

.comparison-card.good {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.2);
}

.comparison-card h4 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-card.bad h4 {
  color: var(--error);
}

.comparison-card.good h4 {
  color: var(--green-primary);
}

.comparison-card ul {
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.comparison-card li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.comparison-card.bad li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--error);
  font-weight: bold;
}

.comparison-card.good li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: bold;
}

/* ==================== PRODUCTS SECTION ==================== */
.products {
  background: var(--bg-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: default;
}

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

.product-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

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

.product-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.product-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--green-glow);
  color: var(--green-primary);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

.product-tag.hardware {
  background: var(--gold-glow);
  color: var(--gold);
}

.product-tag.infra {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

/* ==================== HARDWARE SECTION ==================== */
.hardware {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hardware::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  pointer-events: none;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.hardware-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.hardware-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-glow);
  transform: translateY(-4px);
}

.hardware-card .hw-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.hardware-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.hardware-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ==================== IMPACT SECTION ==================== */
.impact {
  background: transparent;
  position: relative;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.impact-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--border-subtle);
}

.impact-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-glow);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-primary);
  display: block;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ==================== VALUES SECTION ==================== */
.values {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

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

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-secondary));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  margin: 0 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--green-glow), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
}

/* ==================== FOOTER ==================== */
.footer {
  background: rgba(245, 242, 236, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-amor {
  text-align: right;
}

.footer-amor .amor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==================== FADE ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }

/* ==================== KEYFRAMES ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDot {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--green-primary); }
  50% { opacity: 0.6; box-shadow: 0 0 20px var(--green-primary); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .manifesto-grid,
  .impact-grid,
  .tese-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .comparison-cards {
    grid-template-columns: 1fr;
  }

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

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

  .eco-grid-infra {
    grid-template-columns: 1fr;
  }
}

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

  .content-section {
    padding: 0 1rem 3rem;
  }

  .content-card {
    padding: 2.5rem 1.75rem;
  }

  .navbar-links {
    display: none;
  }

  .navbar-mobile-btn {
    display: block;
  }

  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 11, 9, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

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

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

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

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

  .footer-amor {
    text-align: center;
  }

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

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

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

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

  .eco-grid-hw {
    grid-template-columns: 1fr 1fr;
  }

  .tese-icon-comparison {
    flex-direction: column;
    gap: 1rem;
  }

  .tese-icon-arrow {
    transform: rotate(90deg);
  }

  .cta-banner {
    margin: 0 1rem;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hardware-grid {
    grid-template-columns: 1fr;
  }

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

  .eco-grid-hw {
    grid-template-columns: 1fr;
  }

  .gate-logo h1 {
    font-size: 2.5rem;
  }
}
