/* ============================================
   TECHPERÍCIA — styles.css
   ============================================ */

:root {
  --bg:        #070605;
  --bg-alt:    #100d09;
  --surface:   #14110d;
  --border:    #3b2a12;
  --tech:      #d29a2f;
  --tech-glow: rgba(210, 154, 47, 0.2);
  --pericia:   #f0c56e;
  --pericia-glow: rgba(240, 197, 110, 0.16);
  --text:      #f4efe6;
  --text-muted:#c6b398;
  --white:     #ffffff;
  --radius:    12px;
  --radius-lg: 20px;
  --font:      'Outfit', sans-serif;
  --transition: 0.3s ease;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 10%, rgba(210, 154, 47, 0.12), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(210, 154, 47, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7, 6, 5, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7, 6, 5, 0.98);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span { color: var(--tech); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
  background: var(--tech);
  color: #1b1308 !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-nav:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--tech);
  color: #1b1308;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--tech); color: var(--tech); }
.btn-full { width: 100%; justify-content: center; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 54% at 66% 34%, rgba(210, 154, 47, 0.15) 0%, transparent 72%),
    radial-gradient(ellipse 42% 38% at 14% 72%, rgba(210, 154, 47, 0.09) 0%, transparent 64%);
}
.hero-content {
  position: relative;
  max-width: 700px;
}
.badge {
  display: inline-block;
  background: var(--tech-glow);
  color: var(--tech);
  border: 1px solid rgba(210, 154, 47, 0.35);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.highlight { color: var(--tech); }
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ DIFERENCIAIS ============ */
.diferenciais {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.diferencial-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}
.diferencial-item i { color: var(--tech); font-size: 1.3rem; }

/* ============ SECTION COMMON ============ */
.services { padding: 100px 0; }
.services.alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.tech {
  background: var(--tech-glow);
  color: var(--tech);
  border: 1px solid rgba(210, 154, 47, 0.35);
}
.section-tag.pericia {
  background: var(--pericia-glow);
  color: var(--pericia);
  border: 1px solid rgba(240, 197, 110, 0.35);
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============ SERVICE CARDS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--tech);
  box-shadow: 0 8px 32px var(--tech-glow);
}
.services.alt .service-card:hover {
  border-color: var(--pericia);
  box-shadow: 0 8px 32px var(--pericia-glow);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-icon.tech { background: var(--tech-glow); color: var(--tech); }
.service-icon.pericia { background: var(--pericia-glow); color: var(--pericia); }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ============ ESPECIALIZACOES ============ */
.especializacoes {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(16, 13, 9, 0.8) 0%, rgba(7, 6, 5, 0.9) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.especializacoes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.special-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
}
.special-card h3 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.12rem;
}
.special-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
}

/* ============ SOBRE ============ */
.sobre {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.sobre-text .section-tag { margin-bottom: 16px; }
.sobre-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
.sobre-text > p { color: var(--text-muted); margin-bottom: 28px; }
.sobre-lista { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.sobre-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}
.sobre-lista i { color: var(--tech); }

.sobre-aside {
  display: grid;
  gap: 20px;
}

.perito-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 17, 13, 0.98) 0%, rgba(7, 6, 5, 0.96) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 520px;
  justify-self: end;
}

.perito-foto {
  width: 100%;
  height: clamp(340px, 44vw, 520px);
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.perito-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
}

.perito-card strong {
  color: var(--white);
  font-size: 0.98rem;
}

.perito-card span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.sobre-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 4px;
}
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tech);
  line-height: 1;
  margin-bottom: 8px;
}
.plus { font-size: 1.2rem; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; }

/* ============ CONTATO ============ */
.contato { padding: 100px 0; }
.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contato-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin: 16px 0;
}
.contato-info > p { color: var(--text-muted); margin-bottom: 36px; }
.contato-canais { display: flex; flex-direction: column; gap: 20px; }
.canal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.canal:hover { border-color: var(--pericia); }
.canal i { font-size: 1.4rem; color: var(--pericia); min-width: 24px; text-align: center; }
.canal div { display: flex; flex-direction: column; }
.canal strong { color: var(--white); font-size: 0.95rem; }
.canal span { color: var(--text-muted); font-size: 0.88rem; }

/* FORM */
.contato-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tech);
}
.form-group select option { background: var(--surface); }
.form-feedback {
  font-size: 0.9rem;
  text-align: center;
  min-height: 20px;
  color: var(--pericia);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer .logo { margin-bottom: 8px; }
.footer > .container > div > p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--tech); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { color: var(--tech); border-color: var(--tech); }
.footer-copy {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .especializacoes-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-inner, .contato-inner { grid-template-columns: 1fr; gap: 48px; }
  .sobre-aside { gap: 18px; }
  .perito-card { max-width: 100%; justify-self: stretch; }
  .sobre-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { align-items: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .especializacoes-grid { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .perito-foto { height: 360px; object-position: center 12%; }
  .sobre-stats { grid-template-columns: repeat(2, 1fr); }
  .contato-form { padding: 24px 20px; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
