/*
Theme Name: WireConcept
Theme URI: https://wireconcept.com.br
Author: Mateus Kenji
Author URI: https://wireconcept.com.br
Description: Tema minimalista de alta performance desenvolvido sob medida para a WireConcept.
Version: 1.0.0
Text Domain: wireconcept
*/

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

:root {
  --bg: #0e0e10;
  --surface: #171719;
  --surface-hover: #1f2023;
  --border: #2a2b2f;
  --primary: #a8c7fa;       /* Azul claro Gemini */
  --primary-bright: #4c8bf5;/* Azul vivo para realces */
  --text: #f2f2f2;
  --muted: #9aa0a6;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── EFEITO DE LUZ (CREATIVIDADE E PROFUNDIDADE) ── */
.glow-bg {
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(76, 139, 245, 0.12) 0%, rgba(14, 14, 16, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw; height: 72px;
  background: rgba(14, 14, 16, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1.25rem;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  box-shadow: 0 0 10px rgba(76, 139, 245, 0.6);
}

.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}

.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 400; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 90vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 6vw 80px;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -0.02em; max-width: 900px;
  color: var(--text); z-index: 1;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 30%, var(--primary-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--muted); max-width: 630px;
  margin-top: 24px; font-weight: 300; z-index: 1;
}

.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; z-index: 1;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #050505;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  padding: 14px 28px; border-radius: 24px; text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: #d3e3fd; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  padding: 14px 28px; border-radius: 24px; text-decoration: none;
  border: 1px solid var(--border); transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

/* ── SECTIONS BASE ── */
section { position: relative; padding: 120px 6vw; }

.section-label {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 1px;
  color: var(--primary-bright); margin-bottom: 12px;
  font-family: var(--font-heading); text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500; line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 32px;
}

/* ── ABOUT ── */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.about-text { color: var(--muted); font-size: 1.1rem; }
.about-text p + p { margin-top: 20px; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { padding: 24px; border-left: 2px solid var(--border); transition: border-color 0.3s; }
.stat-box:hover { border-left-color: var(--primary-bright); }
.stat-num {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 400;
  color: var(--text); line-height: 1; margin-bottom: 8px;
}
.stat-label { color: var(--muted); font-size: 0.9rem; font-weight: 400; }

/* ── SERVICES ── */
.services-grid { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px; margin-top: 48px;
}

.service-card {
  background: var(--surface); padding: 40px 32px; border-radius: 20px;
  border: 1px solid var(--border); transition: border-color 0.3s, transform 0.2s;
}
.service-card:hover { 
  border-color: rgba(76, 139, 245, 0.3); 
  transform: translateY(-2px);
}

.service-icon { width: 32px; height: 32px; margin-bottom: 24px; color: var(--primary-bright); }
.service-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
.service-desc { color: var(--muted); font-size: 0.95rem; }

/* ── DIFFERENTIALS ── */
.diff {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start;
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.diff-list { display: flex; flex-direction: column; }
.diff-item { padding: 28px 0; border-bottom: 1px solid var(--border); display: flex; gap: 24px; }
.diff-item:first-child { border-top: 1px solid var(--border); padding-top: 0; }
.diff-item:last-child { border-bottom: none; padding-bottom: 0; }

.diff-icon { width: 26px; height: 26px; color: var(--primary); flex-shrink: 0; margin-top: 4px; }
.diff-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500; margin-bottom: 6px; }
.diff-text { color: var(--muted); font-size: 0.95rem; }

/* ── PORTAL DE ACESSO ── */
.portal {
  display: flex; justify-content: center;
  padding: 120px 20px 160px 20px;
  background: radial-gradient(circle at bottom, rgba(76, 139, 245, 0.07) 0%, rgba(14, 14, 16, 0) 50%);
}

.portal-container {
  max-width: 480px; width: 100%;
  background: linear-gradient(180deg, #1d1e22 0%, #151618 100%);
  border: 1px solid rgba(76, 139, 245, 0.2); 
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(76, 139, 245, 0.03);
  border-radius: 24px; padding: 44px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.portal-container:hover {
  border-color: rgba(76, 139, 245, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(76, 139, 245, 0.08);
}

.portal-header { text-align: center; margin-bottom: 36px; }
.portal-header h2 { font-family: var(--font-heading); font-size: 24px; color: var(--text); font-weight: 500; margin-bottom: 8px; }
.portal-header p { font-size: 14px; color: var(--muted); }

.portal-login-form { display: flex; flex-direction: column; gap: 20px; }
.portal-field { display: flex; flex-direction: column; gap: 8px; }
.portal-field label { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }

.portal-field-input {
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; 
  font-size: 15px; background-color: rgba(14, 14, 16, 0.6); color: var(--muted);
  font-family: var(--font-body); transition: border-color 0.2s;
}
.portal-field-input:disabled { cursor: not-allowed; opacity: 0.6; }

.portal-submit {
  background: linear-gradient(135deg, var(--primary) 0%, #8ab4f8 100%);
  color: #0c0d0e; border: none; padding: 15px;
  font-size: 15px; font-weight: 500; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, transform 0.1s; font-family: var(--font-body);
}
.portal-submit:hover { opacity: 0.95; }
.portal-submit:active { transform: scale(0.99); }

.portal-hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; opacity: 0.8; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 6vw;
  background: #09090b;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.legal-title {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(154, 160, 166, 0.6);
}

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .about, .diff, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-legal { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
}