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

:root {
  --bg: #050608;
  --card: #0b0f14;
  --primary: #1ff1dc;
  --accent: #0bbfb0;
  --text: #e5f9f6;
  --muted: #9ca3af;
  --border: rgba(255,255,255,0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.85),
      rgba(0,0,0,0.65)
    ),
    var(--bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.2rem;
}

.header-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0rem; /* controla a distância entre imagem e texto */
}

.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 12px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* MENU */

.nav{
  margin-left: -60px;
}

.nav a {
  margin: 0 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

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

}

/* BOTÃO */
.btn-primary {
  background: var(--primary);
  color: #001b1a;
  border: none;
  border-radius: 14px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(31,241,220,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 35px rgba(31,241,220,0.55);
}

/* ================= HERO ================= */

.hero {
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* FUNDO + GRID */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(31,241,220,0.15), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(11,191,176,0.12), transparent 60%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* LINHA ANIMADA */
.scan-line {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(31,241,220,0.7),
    transparent
  );
  opacity: 0.6;
  animation: scanMove 6s linear infinite;
}

@keyframes scanMove {
  0% { top: -20%; opacity: 0; }
  20% { opacity: 0.6; }
  50% { opacity: 0.9; }
  100% { top: 120%; opacity: 0; }
}

/* CONTEÚDO HERO */
.hero-content {
  position: relative;
  max-width: 820px;
  text-align: center;
  z-index: 2;
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(31,241,220,0.35);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  background: rgba(31,241,220,0.05);
}

/* PONTO PULSANTE */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(31,241,220,0.8);
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* TÍTULO */
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.text-glow {
  color: var(--primary);
  text-shadow:
    0 0 15px rgba(31,241,220,0.35),
    0 0 35px rgba(31,241,220,0.25);
}

.text-gradient {
  background: linear-gradient(
    90deg,
    #1ff1dc 0%,
    #17e1e6 40%,
    #0bbfb0 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 6px rgba(31,241,220,0.35),
    0 0 18px rgba(31,241,220,0.25);

  position: relative;
}

/* TEXTO */
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
  margin: auto;
}

/* AÇÕES */
.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(31,241,220,0.6);
  color: var(--text);
  padding: 0.6rem 1.4rem;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline:hover {
  background: rgba(31,241,220,0.08);
  box-shadow: 0 0 30px rgba(31,241,220,0.25);
}

/* ================= SECTIONS ================= */

.section {
  padding: 6rem 1.2rem;
  text-align: center;
}

.section.dark {
  background: #070b10;
}

.section-tag {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ================= FOOTER ================= */

.footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #050608;
}

/* ================= RESPONSIVO ================= */

@media (max-width: 768px) {
  .nav { display: none; }
  .hero-actions { flex-direction: column; }
}

/* ================= Grid Dos Serviços ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* Card agora funciona como <a> sem parecer link */
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  cursor: pointer;
}

/* Remove qualquer sublinhado interno */
.service-card * {
  text-decoration: none;
}

/* Hover visual preservado */
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31,241,220,0.35);
  box-shadow: 0 0 40px rgba(31,241,220,0.15);
}

/* Ícone */
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  background: rgba(31,241,220,0.08);
  box-shadow: 0 0 18px rgba(31,241,220,0.25);
}

/* Título */
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

/* Texto */
.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;

  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);

  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Revela no hover do card */
.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

/* Micro interação no texto */
.service-card:hover .service-link {
  text-shadow: 0 0 10px rgba(31,241,220,0.45);
}


/* Responsivo */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ================= sobre nos ================= */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at center, rgba(31,241,220,0.12), transparent 65%);
}

.metric {
  text-align: center;
}

.metric-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 18px rgba(31,241,220,0.35);
}

.metric-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.about-section {
  background: #050608;
}

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 5rem 1.2rem;
}

.about-text h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin-bottom: 1.2rem;
}

.about-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
}

.about-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.terminal {
  background: linear-gradient(
    180deg,
    rgba(31,241,220,0.12),
    rgba(0,0,0,0.2)
  );
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(31,241,220,0.25);
  box-shadow: 0 0 60px rgba(31,241,220,0.15);
}

.terminal-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-body {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: #bffbf5;
}

.terminal-body p {
  margin: 0.4rem 0;
}

.terminal-body .ok {
  color: #5af7c7;
}

.terminal-body .active {
  color: var(--primary);
}

@media (max-width: 900px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-list {
    grid-template-columns: 1fr;
  }
}


/* ================= Contatos ================= */
.contact-section {
  padding: 6rem 1.2rem;
  background:
    radial-gradient(circle at center, rgba(31,241,220,0.08), transparent 65%),
    #050608;
  text-align: center;
}

.contact-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );
  border: 1px solid var(--border);
}

.info-card strong {
  text-align: left;
  display: block;
  font-size: 0.95rem;
}

.info-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31,241,220,0.1);
  box-shadow: 0 0 18px rgba(31,241,220,0.25);
  font-size: 1.2rem;
}

.contact-form {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: left;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: #1a1f26;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7a828f;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(31,241,220,0.5);
  box-shadow: 0 0 12px rgba(31,241,220,0.25);
}

.contact-form button {
  width: 100%;
  margin-top: 1.4rem;
}


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

  .contact-section {
    text-align: left;
  }
}

/* Reaproveita animação dos cards de serviço */
.info-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31,241,220,0.35);
  box-shadow: 0 0 40px rgba(31,241,220,0.15);
}

/* ================= footer ================= */

.footer {
  border-top: 1px solid var(--border);
  background: #050608;
  padding: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0b0f14;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(31,241,220,0.25);
}

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

  .footer-social {
    justify-content: center;
  }
}

/* ================= sevices pages ================= */

.service-hero {
  min-height: 100vh;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 0 60px rgba(31,241,220,0.15);
}

.service-text h2 {
  margin-bottom: 1rem;
}

.service-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-list li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.6rem;
}

.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.section-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-detail.reverse {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .service-detail.reverse {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
}


