/* ==========================================================================
   HOME (index.html) — regras específicas desta página
   ========================================================================== */

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: 70px;
  overflow: hidden;
  z-index: 1;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 207, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 207, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text .eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 4px;
  color: var(--electric);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-text .eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--electric);
  box-shadow: var(--glow-blue);
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .line-gold {
  color: var(--gold);
}

.hero-title .line-electric {
  color: var(--electric);
  text-shadow: 0 0 30px rgba(0, 207, 255, 0.4);
}

.hero-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 500px;
}

.hero-desc {
  font-size: 0.88rem;
  color: rgba(143, 168, 200, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

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

/* ─── HERO VISUAL ─── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-halo {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.halo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 207, 255, 0.25);
  animation: spin linear infinite;
}

.halo-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  animation-duration: 20s;
}

.halo-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  animation-duration: 15s;
  animation-direction: reverse;
  border-color: rgba(240, 165, 0, 0.2);
}

.halo-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  animation-duration: 10s;
}

.halo-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: var(--glow-blue);
}

.halo-ring:nth-child(1) .halo-dot {
  top: -3px;
  left: calc(50% - 3px);
}

.halo-ring:nth-child(2) .halo-dot {
  top: -3px;
  left: calc(50% - 3px);
  background: var(--gold);
  box-shadow: var(--glow-gold);
}

.halo-ring:nth-child(3) .halo-dot {
  top: -3px;
  left: calc(50% - 3px);
}

.logo-core {
  position: relative;
  z-index: 5;
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0, 207, 255, 0.4)) drop-shadow(0 0 60px rgba(240, 165, 0, 0.2));
  animation: pulse 4s ease-in-out infinite;
}

.halo-energy {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 207, 255, 0.08) 0%, transparent 70%);
  animation: breathe 4s ease-in-out infinite;
}

/* ─── TECH HOLO ─── */
.tech-holo {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 200px;
  opacity: 0.9;
}

.holo-panel {
  background: rgba(0, 207, 255, 0.04);
  border: 1px solid rgba(0, 207, 255, 0.2);
  padding: 12px 16px;
  border-radius: 2px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--electric);
  line-height: 1.8;
  animation: flicker 8s infinite;
}

.holo-panel .dot {
  color: var(--gold);
}

/* ─── DIFERENCIAIS ─── */
#diferenciais {
  padding: 100px 5%;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(10, 24, 41, 0.8);
  border: 1px solid rgba(0, 207, 255, 0.12);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  border-color: rgba(0, 207, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 207, 255, 0.15);
}

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

.card:nth-child(2):hover {
  border-color: rgba(240, 165, 0, 0.4);
  box-shadow: 0 20px 60px rgba(240, 165, 0, 0.15);
}

.card:nth-child(2) .card-icon {
  color: var(--gold);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
  color: var(--electric);
  filter: drop-shadow(0 0 8px currentColor);
}

.card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--white);
}

.card-text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}

.card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover .card-line {
  opacity: 1;
}

/* ─── SOBRE ─── */
#sobre {
  padding: 100px 5%;
  background: var(--navy);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-text .section-label {
  justify-content: flex-start;
}

.sobre-text .section-label::after {
  display: none;
}

.sobre-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.sobre-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 40px;
}

.sobre-indicators {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(0, 207, 255, 0.04);
  border: 1px solid rgba(0, 207, 255, 0.1);
  border-left: 3px solid var(--electric);
  transition: all 0.3s;
}

.indicator:nth-child(2) {
  border-left-color: var(--gold);
}

.indicator:nth-child(2) .ind-icon {
  color: var(--gold);
}

.indicator:nth-child(3) {
  border-left-color: #00FF99;
}

.indicator:nth-child(3) .ind-icon {
  color: #00FF99;
}

.indicator:nth-child(4) {
  border-left-color: #FF4D8F;
}

.indicator:nth-child(4) .ind-icon {
  color: #FF4D8F;
}

.indicator:hover {
  background: rgba(0, 207, 255, 0.08);
  transform: translateX(4px);
}

.ind-icon {
  font-size: 1.2rem;
}

.ind-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ind-dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  animation: blink 2s infinite;
}

/* SOBRE VISUAL */
.sobre-visual {
  position: relative;
}

.circuit-board {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

.circuit-svg {
  width: 100%;
  height: 100%;
}

/* ─── IMPACTO ─── */
#impacto {
  padding: 80px 5%;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.05), rgba(240, 165, 0, 0.03));
  border-top: 1px solid rgba(0, 207, 255, 0.1);
  border-bottom: 1px solid rgba(0, 207, 255, 0.1);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 207, 255, 0.08);
}

.stat {
  background: var(--navy);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.stat:hover {
  background: rgba(0, 207, 255, 0.04);
}

.stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.stat:hover::after {
  transform: scaleX(1);
}

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--electric);
  text-shadow: 0 0 30px rgba(0, 207, 255, 0.4);
  display: block;
  margin-bottom: 8px;
}

.stat:nth-child(2) .stat-num {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(240, 165, 0, 0.4);
}

.stat:nth-child(4) .stat-num {
  color: #00FF99;
  text-shadow: 0 0 30px rgba(0, 255, 153, 0.4);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Share Tech Mono', monospace;
}

/* ─── CTA ─── */
#cta {
  padding: 120px 5%;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 207, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-title span {
  color: var(--electric);
}

.cta-text {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 48px;
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sobre-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text .eyebrow {
    justify-content: center;
  }

  .hero-sub,
  .hero-desc {
    max-width: 100%;
  }

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

  .hero-visual {
    order: -1;
  }

  .logo-halo {
    width: 260px;
    height: 260px;
  }

  .logo-core {
    width: 140px;
    height: 140px;
  }

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

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

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