/* ===========================
   WOLF3D SISTEMAS — STYLE
   =========================== */

:root {
  --black:   #000000;
  --bg:      #0a0a0a;
  --bg2:     #111111;
  --bg3:     #1a1a1a;
  --border:  rgba(255,255,255,0.08);
  --amber:   #e8a000;
  --amber2:  #f5b800;
  --white:   #ffffff;
  --gray:    #aaaaaa;
  --gray2:   #666666;
  --radius:  12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --shadow: 0 4px 32px rgba(0,0,0,0.5);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

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

.accent { color: var(--amber); }

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--black);
}
.btn-primary:hover { background: var(--amber2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,160,0,0.35); }

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn-outline:hover { background: rgba(232,160,0,0.1); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name { letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 8px; padding: 9px 20px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,160,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,0,0.12);
  color: var(--amber);
  border: 1px solid rgba(232,160,0,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  transition: transform 0.4s ease;
}
.hero-logo:hover { transform: scale(1.02); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--amber);
  border-radius: 100px;
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* ===========================
   STATS
   =========================== */

.stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -0.04em;
}
.stat-item span {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}

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

.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(232,160,0,0.12);
  color: var(--amber);
  border: 1px solid rgba(232,160,0,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ===========================
   SERVICES CARDS
   =========================== */

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

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(232,160,0,0.35);
  background: var(--bg3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,160,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--amber);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-list li {
  font-size: 0.85rem;
  color: var(--gray2);
  padding: 5px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===========================
   SOBRE
   =========================== */

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
  display: inline-block;
}

.sobre-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.sobre-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amber);
  color: var(--black);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(232,160,0,0.3);
}
.sobre-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.sobre-badge span {
  font-size: 0.75rem;
  font-weight: 600;
}

.sobre-content .section-tag { display: inline-block; }
.sobre-content .section-title { text-align: left; margin-bottom: 20px; }
.sobre-content p { color: var(--gray); margin-bottom: 16px; }
.sobre-content p strong { color: var(--white); }

.sobre-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,160,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.pillar-icon svg { width: 20px; height: 20px; }

.pillar div strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.pillar div span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===========================
   TECNOLOGIAS
   =========================== */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tech-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.tech-item:hover {
  border-color: rgba(232,160,0,0.3);
  color: var(--white);
  background: var(--bg3);
  transform: translateY(-3px);
}

.tech-icon { font-size: 1.8rem; }

/* ===========================
   CTA BANNER
   =========================== */

.cta-banner {
  background: linear-gradient(135deg, #111 0%, #1a1200 50%, #111 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(232,160,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===========================
   CONTATO
   =========================== */

.contato-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contato-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,160,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.contato-icon svg { width: 20px; height: 20px; }

.contato-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contato-item strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contato-item a,
.contato-item span {
  font-size: 0.95rem;
  color: var(--white);
  transition: color var(--transition);
}
.contato-item a:hover { color: var(--amber); }

/* FORM */
.contato-form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option { background: var(--bg3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(232,160,0,0.5);
  box-shadow: 0 0 0 3px rgba(232,160,0,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray2);
  margin-top: 12px;
}

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

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

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand strong { display: block; font-size: 0.95rem; }
.footer-brand span { font-size: 0.8rem; color: var(--gray2); }

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--gray2);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  width: 100%;
  font-size: 0.78rem;
  color: var(--gray2);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.1rem; color: var(--white); }

  .hero { padding: 90px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-logo { max-width: 280px; margin: 0 auto; }
  .hero-sub { max-width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; }

  .sobre-inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre-badge { right: 0; }

  .tech-grid { grid-template-columns: repeat(3, 1fr); }

  .contato-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-brand { margin-right: 0; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contato-form { padding: 24px 20px; }
}
