:root {
  --bg: #000;
  --bg-soft: #0a0a0a;
  --card: #0f0f0f;
  --border: rgba(255,255,255,0.06);
  --text: #e6e6e6;
  --text-soft: #9ca3af;
  --accent: #00d4ff;

  --font-main: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* altura do header */
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;

}
header.hide {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

/* NAV */
nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
}

nav a:hover {
  color: var(--text);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.08), transparent 70%);
  top: -100px;
  left: -100px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  max-width: 700px;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.2rem;
  margin-top: 15px;
  max-width: 650px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-soft);
  margin-top: 10px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #00aacc);
  color: #000;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,212,255,0.3);
}

.btn-secondary {
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  transition: 0.25s;
}

.btn-secondary:hover {
  border-color: var(--accent);
}

/* SECTIONS */
section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

/* TITLES */
h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

/* TEXT */
p {
  color: var(--text-soft);
  max-width: 700px;
}

/* GRIDS */
.service-grid,
.solution-grid,
.impacto-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* CARDS */
.service-card,
.solution-card,
.impacto-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 10px;
  transition: 0.25s;
}

.service-card:hover,
.solution-card:hover,
.impacto-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* LIST */
.solution-card ul {
  margin: 15px 0;
  padding-left: 20px;
}

.solution-card li {
  margin-bottom: 6px;
}

/* CONTACT */
.contact-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  border: 1px solid var(--border);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  width: 160px;
  transition: 0.25s;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* FOOTER PREMIUM AJUSTADO */
.footer {
  background: linear-gradient(to top, #050505, #0a0a0a);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 50px 20px;

  display: flex;
  justify-content: center;
}

.footer .container {
  max-width: 1000px;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center; /* 🔥 centralização real */
  justify-content: center;
  text-align: center;
  gap: 8px;
}

/* TEXTO PRINCIPAL */
.footer p {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
}

/* INFO SECUNDÁRIA */
.footer .mini-info {
  font-size: 0.8rem;
  color: #6b7280;
}

/* LINKS */
.footer-nav {
  margin-top: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* 🔥 resolve mobile */
  gap: 8px;
}

.footer-nav a {
  color: #00d4ff;
  text-decoration: none;
  font-size: 0.85rem;
  position: relative;
  transition: 0.3s;
}

/* LINHA ANIMADA */
.footer-nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  background: #00d4ff;
  left: 0;
  bottom: -3px;
  transition: 0.3s;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* DIVISOR */
.footer-nav span {
  color: #444;
}

/* ===== ANIMAÇÃO (COM JS) ===== */
.hidden {
  opacity: 0;
  transform: translateY(30px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  nav ul {
    display: none;
  }
}