/* ============================================================
   ZeniTh System — style.css
   Design: futurista, tecnológico, premium
   Paleta: fundo escuro #050514 + azul neon + roxo + branco
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  /* Cores principais */
  --bg:        #050514;
  --bg2:       #08091a;
  --bg3:       #0d0e20;
  --card:      rgba(255,255,255,0.035);
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f5;
  --text2:     #8888aa;

  /* Neon / Accent */
  --neon:      #4f9eff;
  --neon2:     #00d4ff;
  --purple:    #a855f7;
  --pink:      #ec4899;
  --green:     #22c55e;
  --yellow:    #f59e0b;

  /* UI */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 8px 40px rgba(0,0,0,0.5);
  --glow:      0 0 30px rgba(79,158,255,0.25);
  --trans:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Melhora performance de scroll */
  scroll-padding-top: 70px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  /* Antialiasing para texto nítido */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Imagens responsivas por padrão */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ===== SKIP NAV (Acessibilidade) ===== */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--neon);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 600;
  transition: top .2s;
}
.skip-nav:focus { top: 0; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--neon); border-radius: 99px; }

/* ===== GLASS ===== */
.glass {
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ===== NEON TEXT ===== */
.neon-text { color: var(--neon); }

/* ===== SEÇÃO PADRÃO ===== */
section {
  padding: 5.5rem 0;
  position: relative;
}

/* Badge de seção */
.sec-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(79,158,255,0.1);
  border: 1px solid rgba(79,158,255,0.2);
  color: var(--neon);
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 99px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .85rem;
}

.sec-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .6rem;
}

.sec-sub {
  color: var(--text2);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ===== BOTÕES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  color: #fff;
  padding: .8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 0 24px rgba(79,158,255,0.3);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(79,158,255,0.5);
}
.btn-primary.full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: .9rem 0;
  transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(5,5,20,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nav-logo span { color: var(--neon); }
.nav-logo small {
  font-size: .5rem;
  letter-spacing: 4px;
  color: var(--text2);
  font-weight: 400;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
  justify-content: center;
  list-style: none;
}
.nav-links a {
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text2);
  transition: var(--trans);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--card); }

/* CTA */
.nav-cta {
  background: var(--neon);
  color: #fff;
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  transition: var(--trans);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(79,158,255,0.25);
}
.nav-cta:hover { background: var(--neon2); box-shadow: var(--glow); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
#inicio {
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Canvas de partículas */
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  flex: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Badge hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(79,158,255,0.08);
  border: 1px solid rgba(79,158,255,0.2);
  color: var(--neon);
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  letter-spacing: .5px;
}
.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulse-dot 1.4s ease infinite alternate;
}
@keyframes pulse-dot { to { opacity: .3; } }

/* Título hero */
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: .75rem;
}
.hero-title .neon-text {
  text-shadow: 0 0 40px rgba(79,158,255,0.5);
}
.hero-system {
  font-size: clamp(1.2rem, 3.5vw, 2.2rem);
  letter-spacing: 8px;
  color: var(--text2);
  font-weight: 300;
}

/* Typewriter */
.hero-tagline {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--text2);
  line-height: 1.6;
  min-height: 2.8em;
  margin-bottom: .5rem;
}
.hero-tagline::after {
  content: '|';
  color: var(--neon);
  animation: blink .7s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

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

/* Ícones hero */
.hero-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text2);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-icon-circle {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(79,158,255,0.1);
  border: 1px solid rgba(79,158,255,0.2);
  color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--trans);
}
.hero-icon-item:hover .hero-icon-circle {
  background: rgba(79,158,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(79,158,255,0.25);
}

/* Botões hero */
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  color: #fff;
  padding: .85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  transition: var(--trans);
  box-shadow: 0 0 28px rgba(79,158,255,0.35);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(79,158,255,0.5); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--text);
  padding: .85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: var(--trans);
}
.btn-hero-ghost:hover { border-color: var(--neon); color: var(--neon); background: rgba(79,158,255,0.05); }

/* Visual hero — mockup */
.hero-visual { position: relative; z-index: 1; }
.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,158,255,0.12) 0%, transparent 70%);
  animation: orb-pulse 5s ease infinite alternate;
  pointer-events: none;
}
@keyframes orb-pulse { to { transform: translate(-50%,-50%) scale(1.3); opacity: .4; } }

.hero-mockup {
  position: relative;
  z-index: 2;
  padding: .75rem;
  animation: float 7s ease infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: .6rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  padding: .2rem .65rem;
  font-size: .65rem;
  color: var(--text2);
  margin-left: .25rem;
}
.mockup-nav {
  height: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  margin-bottom: .6rem;
}
.mockup-hero-area {
  background: rgba(79,158,255,0.05);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: .6rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.mh-line {
  height: 7px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
}
.mh-line.w70 { width: 70%; }
.mh-line.w50 { width: 50%; }
.mh-line.neon-line { background: rgba(79,158,255,0.4); }
.mh-btn {
  width: 80px; height: 22px;
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  border-radius: 6px;
  margin-top: .25rem;
}
.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .4rem;
}
.mc {
  height: 40px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Stats bar */
.stats-bar {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2.5rem;
  gap: .2rem;
}
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon);
  line-height: 1;
}
.stat-plus { font-size: 1.2rem; color: var(--neon); font-weight: 700; margin-left: 2px; }
.stat-label {
  font-size: .7rem;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}
.stat-div {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: .75rem 0;
}

/* ===== SOBRE ===== */
#sobre { background: var(--bg2); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.sobre-text p {
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: .93rem;
}
.sobre-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1.25rem 0 1.75rem;
  list-style: none;
}
.sobre-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  font-weight: 500;
}
.sobre-list li i { color: var(--neon); }

.sobre-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sobre-card {
  padding: 1.35rem;
  transition: var(--trans);
}
.sobre-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79,158,255,0.15); }
.sobre-card.full { grid-column: span 2; }

.sc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(79,158,255,0.12);
  color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: .85rem;
}
.sc-icon.purple { background: rgba(168,85,247,0.12); color: var(--purple); }
.sc-icon.green  { background: rgba(34,197,94,0.12);  color: var(--green); }

.sobre-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.sobre-card p  { font-size: .82rem; color: var(--text2); line-height: 1.6; }

/* ===== SERVIÇOS ===== */
#servicos { background: var(--bg); }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
}
.servico-card {
  padding: 1.75rem 1.5rem;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(79,158,255,0.15);
}

.srv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(79,158,255,0.12);
  color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  transition: var(--trans);
}
.srv-icon.pink   { background: rgba(236,72,153,0.12); color: var(--pink); }
.srv-icon.green  { background: rgba(34,197,94,0.12);  color: var(--green); }
.srv-icon.purple { background: rgba(168,85,247,0.12); color: var(--purple); }

.servico-card:hover .srv-icon { transform: scale(1.1); }

.servico-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.servico-card p  { font-size: .82rem; color: var(--text2); line-height: 1.6; margin-bottom: 1rem; }

.srv-list {
  display: flex; flex-direction: column; gap: .35rem;
  list-style: none;
}
.srv-list li {
  font-size: .78rem;
  color: var(--text2);
  display: flex; align-items: center; gap: .45rem;
}
.srv-list li::before { content: '→'; color: var(--neon); font-size: .72rem; }

/* Linha decorativa hover */
.srv-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--neon2));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--trans);
}
.srv-line.pink   { background: linear-gradient(90deg, var(--pink), #f472b6); }
.srv-line.green  { background: linear-gradient(90deg, var(--green), #4ade80); }
.srv-line.purple { background: linear-gradient(90deg, var(--purple), #c084fc); }
.servico-card:hover .srv-line { transform: scaleX(1); }

/* ===== PORTFÓLIO ===== */
#portfolio { background: var(--bg2); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.portfolio-item { border-radius: var(--radius); overflow: hidden; }

.portfolio-img-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
/* Placeholder quando não há imagem */
.portfolio-placeholder {
  height: 260px;
  background: var(--bg3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--text2);
  font-size: .88rem;
  border-radius: var(--radius);
}
.portfolio-placeholder i { font-size: 2.5rem; opacity: .3; }

/* Quando a imagem for adicionada */
.portfolio-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: transform .4s ease;
}
.portfolio-item:hover .portfolio-img-wrap img { transform: scale(1.04); }

/* Overlay hover */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,5,20,0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--trans);
  border-radius: var(--radius);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.po-content { text-align: center; padding: 2rem; }
.po-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--neon); margin-bottom: .4rem; }
.po-content p  { font-size: .83rem; color: var(--text2); margin-bottom: 1rem; }
.po-tag {
  display: inline-block;
  background: rgba(79,158,255,0.15);
  color: var(--neon);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.po-tag.po-pink   { background: rgba(236,72,153,0.15); color: var(--pink); }
.po-tag.po-green  { background: rgba(34,197,94,0.15);  color: var(--green); }
.po-tag.po-purple { background: rgba(168,85,247,0.15); color: var(--purple); }

.portfolio-cta { text-align: center; }
.portfolio-cta p { color: var(--text2); margin-bottom: 1rem; }

/* ===== CONTATO ===== */
#contato { background: var(--bg); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
}

.contato-canais h3,
.contato-form h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.canal-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: .75rem;
  transition: var(--trans);
  cursor: pointer;
}
.canal-card:hover { border-color: var(--neon); transform: translateX(4px); }

.canal-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  background: rgba(79,158,255,0.12);
  color: var(--neon);
}
.canal-icon.green { background: rgba(34,197,94,0.12);  color: var(--green); }
.canal-icon.pink  { background: rgba(236,72,153,0.12); color: var(--pink); }

.canal-card div { flex: 1; }
.canal-card strong { display: block; font-size: .9rem; font-weight: 700; }
.canal-card span  { display: block; font-size: .78rem; color: var(--text2); margin-top: 1px; }
.canal-tag {
  display: inline-block;
  background: rgba(79,158,255,0.1);
  color: var(--neon);
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .5rem;
  border-radius: 99px;
  margin-top: 3px;
}
.canal-arrow { color: var(--text2); font-size: .8rem; transition: var(--trans); }
.canal-card:hover .canal-arrow { color: var(--neon); transform: translateX(3px); }

.contato-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.ci-item {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.ci-item > i {
  width: 28px;
  text-align: center;
  color: var(--neon);
  flex-shrink: 0;
}
.ci-item strong { display: block; font-size: .82rem; font-weight: 700; }
.ci-item span   { display: block; font-size: .76rem; color: var(--text2); }

/* Formulário */
.contato-form { padding: 1.75rem; }
.fg { margin-bottom: .85rem; }
.fg label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .3rem;
}
.fg label span { color: var(--neon); }
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: .62rem .9rem;
  font-size: .87rem;
  font-family: inherit;
  outline: none;
  transition: var(--trans);
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(79,158,255,0.1);
}
.fg select option { background: #0d0e20; }
.fg textarea { resize: vertical; min-height: 80px; }

/* Form Success */
.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-success i {
  font-size: 2.5rem;
  color: var(--green);
  display: block;
  margin-bottom: .75rem;
}
.form-success h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.form-success p  { color: var(--text2); font-size: .88rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: .5rem;
}
.footer-logo small {
  font-size: .45rem;
  letter-spacing: 4px;
  color: var(--text2);
  font-weight: 400;
}
.footer-brand p {
  color: var(--text2);
  font-size: .83rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 280px;
}
.footer-socials { display: flex; gap: .5rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--text2);
  transition: var(--trans);
}
.footer-socials a:hover { color: var(--neon); border-color: var(--neon); background: rgba(79,158,255,0.08); }

.footer-links { display: flex; gap: 3rem; }
.fl-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .85rem; color: var(--text); }
.fl-col a  { display: block; font-size: .82rem; color: var(--text2); margin-bottom: .4rem; transition: var(--trans); }
.fl-col a:hover { color: var(--neon); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text2);
}

/* ===== BACK TO TOP ===== */
#back-top {
  position: fixed;
  bottom: 5.5rem; right: 1.5rem;
  z-index: 99;
  width: 42px; height: 42px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text2);
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--trans);
  opacity: 0; pointer-events: none;
}
#back-top.show { opacity: 1; pointer-events: auto; }
#back-top:hover { color: var(--neon); border-color: var(--neon); background: rgba(79,158,255,0.08); }

/* ===== WHATSAPP FLOAT ===== */
#whats-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 99;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--trans);
}
#whats-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.55); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
  .servicos-grid { grid-template-columns: repeat(2,1fr); }
  .hero-visual { display: none; }
  .hero-container { grid-template-columns: 1fr; }
  .hero-content { max-width: 640px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .sobre-grid    { grid-template-columns: 1fr; }
  .contato-grid  { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; }
  .footer-links  { flex-wrap: wrap; gap: 2rem; }
  .stats-bar { gap: 0; }
  .stat-item { padding: 1.25rem 1.5rem; }
}

@media (max-width: 768px) {
  /* Menu mobile */
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(5,5,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: .4rem;
    transform: translateY(-110%);
    transition: var(--trans);
    border-bottom: 1px solid var(--border);
    z-index: 490;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .65rem 1.5rem; font-size: .95rem; }
  .hamburger { display: flex; }
  .nav-cta    { display: none; }

  .portfolio-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .hero-icons { gap: 1rem; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-ghost { justify-content: center; }
}

@media (max-width: 480px) {
  .servicos-grid { grid-template-columns: 1fr; }
  .sobre-cards   { grid-template-columns: 1fr; }
  .sobre-card.full { grid-column: span 1; }
  .stats-bar     { flex-direction: column; }
  .stat-div      { width: 60px; height: 1px; margin: 0; align-self: center; }
  .footer-links  { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-icons    { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; }
}
