/* ═══════════════════════════════════════════════════════════════
   TECLECOM – main.css
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:      #050a12;
  --bg2:     #0a1220;
  --accent:  #00d4ff;
  --accent2: #ff6a00;
  --text:    #c8d8e8;
  --white:   #f0f8ff;
  --card:    rgba(0,212,255,0.04);
  --border:  rgba(0,212,255,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Grid de fundo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAVEGAÇÃO ─────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: rgba(5,10,18,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--accent); }

#site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
#site-nav ul a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
#site-nav ul a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 8px 22px !important;
  font-weight: 600 !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.3s !important;
}
.nav-cta:hover { background: #fff !important; }

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

.hero-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,106,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 14px;
  margin-bottom: 28px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  animation: fadeUp 0.8s ease both;
}

h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: 0.04em;
  animation: fadeUp 0.8s 0.15s ease both;
}
h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  margin: 24px 0 42px;
  max-width: 520px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* ── BOTÕES ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); color: #000; }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── CUBO 3D ───────────────────────────────────────────────────── */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 1s 0.5s ease both;
}
.cube-wrap {
  perspective: 800px;
  width: 200px; height: 200px;
}
.cube {
  width: 200px; height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 14s linear infinite;
}
.cube-face {
  position: absolute;
  width: 200px; height: 200px;
  border: 1.5px solid var(--accent);
  background: rgba(0,212,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  color: rgba(0,212,255,0.4);
  letter-spacing: 0.15em;
}
.cube-face.front  { transform: translateZ(100px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(100px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(100px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.2);
  animation: orbitSpin 8s linear infinite;
}
.orbit1 { width: 320px; height: 320px; top: 50px; left: 50px; }
.orbit2 { width: 380px; height: 380px; top: 20px; left: 20px; animation-duration: 13s; animation-direction: reverse; border-color: rgba(255,106,0,0.15); }
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--accent);
}
.orbit2 .orbit-dot { background: var(--accent2); box-shadow: 0 0 12px var(--accent2); }

/* ── STATS BAR ─────────────────────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 38px 6%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,212,255,0.02);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 4px;
}

/* ── SEÇÕES ────────────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 100px 6%;
}

#services { background: var(--bg2); }
#about    { background: var(--bg2); }

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
h2 .accent { color: var(--accent); }

.section-desc {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 300;
  margin-bottom: 60px;
}

/* ── SERVIÇOS ──────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }

.service-card.highlight { border-color: rgba(255,106,0,0.35); }
.service-card.highlight::before { background: linear-gradient(90deg, transparent, var(--accent2), transparent); }
.service-card.highlight:hover { border-color: rgba(255,106,0,0.6); }

.service-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }

.service-title {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.service-card.highlight .service-title { color: var(--accent2); }

.service-text { font-size: 0.95rem; color: var(--text); font-weight: 300; line-height: 1.7; }

/* ── COMO FUNCIONA ─────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step { text-align: center; padding: 0 24px; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 24px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.step-text { font-size: 0.9rem; color: var(--text); font-weight: 300; }

/* ── SOBRE ─────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; height: 360px; }
.about-box {
  position: absolute;
  border: 1px solid var(--border);
  background: var(--card);
}
.ab1 { width: 220px; height: 220px; top: 0; left: 0; animation: floatBox 5s ease-in-out infinite; }
.ab2 { width: 180px; height: 180px; bottom: 0; right: 0; animation: floatBox 5s 1.5s ease-in-out infinite; border-color: rgba(255,106,0,0.3); }
.ab3 { width: 100px; height: 100px; bottom: 60px; left: 60px; animation: floatBox 5s 0.7s ease-in-out infinite; }
.ab-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ab1 .ab-inner::before { content: 'TI'; font-family: 'Orbitron', monospace; font-size: 2.5rem; color: rgba(0,212,255,0.15); font-weight: 900; }
.ab2 .ab-inner::before { content: '3D'; font-family: 'Orbitron', monospace; font-size: 2rem; color: rgba(255,106,0,0.2); font-weight: 900; }
.ab3 .ab-inner::before { content: '∞'; font-family: 'Orbitron', monospace; font-size: 1.8rem; color: rgba(0,212,255,0.2); font-weight: 900; }

.about-text p { font-size: 1.05rem; color: var(--text); font-weight: 300; margin-bottom: 20px; }
.feature-list { list-style: none; margin-top: 32px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}
.feature-list li::before { content: '▸'; color: var(--accent); font-size: 0.8rem; }

/* ── CONTATO ───────────────────────────────────────────────────── */
#contact { text-align: center; }

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--border);
  padding: 60px;
  background: var(--card);
  clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
  position: relative;
}
.contact-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-info { display: flex; justify-content: center; gap: 48px; margin-top: 40px; flex-wrap: wrap; }
.ci-item { text-align: center; }
.ci-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.ci-val { font-size: 1.05rem; color: var(--white); font-weight: 500; text-decoration: none; transition: color 0.3s; display: block; }
a.ci-val:hover { color: var(--accent); }

.contact-form { margin-top: 44px; display: grid; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input, textarea, select {
  width: 100%;
  background: rgba(0,212,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: rgba(200,216,232,0.35); }

.form-feedback {
  font-size: 0.95rem;
  padding: 10px 0;
  min-height: 32px;
  font-weight: 500;
}
.form-feedback.success { color: var(--accent); }
.form-feedback.error   { color: #ff6a6a; }

#form-submit { justify-self: center; }

/* ── FOOTER ────────────────────────────────────────────────────── */
#site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 38px 6%;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: rgba(200,216,232,0.4);
  letter-spacing: 0.06em;
}
#site-footer a { color: var(--accent); text-decoration: none; }
.logo-footer {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: block;
}
.logo-footer span { color: var(--accent); }

/* ── ANIMAÇÕES ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rotateCube {
  from { transform: rotateX(20deg) rotateY(0deg); }
  to   { transform: rotateX(20deg) rotateY(360deg); }
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes floatBox {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── RESPONSIVO ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #site-nav ul  { display: none; }
  .hero-visual  { display: none; }
  .about-grid   { grid-template-columns: 1fr; }
  .about-visual { height: 220px; }
  .steps::before{ display: none; }
  .contact-box  { padding: 36px 24px; clip-path: none; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-info { gap: 28px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  .stats-bar { gap: 30px; }
  section { padding: 70px 5%; }
}
