/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* FUNDO DA LOGO EMBAÇADO */
/* 1. ADICIONAR LOGO AO FUNDO DO SITE */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background-image: url("../img/LogoFundo.png"); /* Verifique se o caminho está correto */
  background-color: rgba(10, 132, 255, 0.1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: blur(20px); /* Ajuste o embaçado aqui */
  opacity: 0.1;       /* Ajuste a visibilidade aqui */
  z-index: -2;        /* Fica atrás de tudo */
  pointer-events: none;
}

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

/* VARIÁVEIS */
:root {
  --bg-dark: #000;
  --bg-light: #0a0a0a;
  --text-primary: #fff;
  --text-secondary: #b3b3b3;
  --accent: #0a84ff;
  --gradient: linear-gradient(120deg, #0a84ff, #5e17eb);
}

/* NAVBAR */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: background 0.4s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.logo-link {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
  text-decoration: none; /* Garante que não apareça sublinhado */
}

.logo-link:hover {
  opacity: 0.8; /* Dá um feedback visual sutil ao passar o mouse */
}

.logo-img {
  width: 40px; 
  height: auto;
  display: block;
}

nav a.active {
  opacity: 0.5;
}


nav a {
  margin-left: 32px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--text-primary);
}

/* HERO */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10%;
  position: relative;
  overflow: hidden;

  /* controle via JS */
  --bg-opacity: 0.45;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Removemos o fundo preto sólido para deixar a logo do body aparecer */
  background: radial-gradient(circle at top, rgba(10, 132, 255, 0.15), transparent 70%);
  z-index: -1;
}


.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* BOTÃO */
.btn-primary {
  padding: 14px 36px;
  border-radius: 40px;
  background: var(--gradient);
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(10, 132, 255, 0.4);
}

/* SEÇÕES */
section {
  padding: 140px 10%;
}

.section-header {
  max-width: 700px;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.card {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.card h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

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

/* ANIMAÇÕES */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

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

/* FOOTER INTERATIVO */
.footer-contact {
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.95),
      rgb(1, 5, 73));
  padding: 80px 10% 40px;
  border-top: 1px solid rgb(0, 0, 0);
}

.footer-btn {
  display: inline-block;
  margin: 32px auto 48px;
  padding: 12px 32px;
  font-size: 0.95rem;
}


.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* BOTÃO */
.footer-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.footer-toggle:hover {
  opacity: 0.7;
}

.footer-toggle .arrow {
  font-size: 2rem;
  transition: transform 0.4s ease;
}

/* CONTEÚDO OCULTO */
.footer-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease;
  text-align: center;
}

/* ATIVO */
.footer-content.active {
  max-height: 300px;
  opacity: 1;
  margin-top: 32px;
}

.footer-content.active+.footer-bottom {
  margin-top: 40px;
}

/* TEXTO */
.footer-text {
  color: #b3b3b3;
  margin-bottom: 32px;
  font-size: 1rem;
}

/* LINKS */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 1rem;
  color: #fff;
  position: relative;
  padding-bottom: 6px;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient);
  transition: width 0.4s ease;
}

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

/* ROTAÇÃO DO ÍCONE */
.footer-content.active~.footer-toggle .arrow {
  transform: rotate(45deg);
}

/* BASE */
.footer-bottom {
  margin-top: 24px;
  font-size: 0.8rem;
  color: #777;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .footer-links {
    gap: 20px;
  }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  section {
    padding: 100px 8%;
  }
}