/* ============================================
   AYRES ENGENHARIA - CSS FIEL AO ORIGINAL
   Dark industrial theme - azul neon
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-body: #111111;
  --bg-dark: #000918;
  --bg-section: #0a0f1a;
  --bg-darker: #000000;
  --color-gold: rgb(134, 87, 4);
  --color-blue: rgb(0, 102, 255);
  --color-cyan: rgb(0, 188, 212);
  --color-white: #ffffff;
  --color-gray: rgb(102, 102, 102);
  --color-text-muted: rgba(255,255,255,0.65);
  --grad-blue: linear-gradient(150deg, rgb(0, 188, 212) 0%, rgb(0, 102, 255) 100%);
  --grad-text-blue: linear-gradient(50deg, rgb(0, 180, 255), rgb(0, 102, 255));
  --grad-text-degrade: linear-gradient(50deg, rgb(255,255,255), rgb(0, 180, 255));
  --grad-barra: linear-gradient(90deg, rgb(255,255,255) 0%, rgb(0,102,255) 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 30px;
  --radius-btn: 100px;
  --transition: 0.3s ease;
  --container-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-white);
  background: var(--bg-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 9, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,102,255,0.15);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(0, 9, 24, 0.99);
  box-shadow: 0 2px 20px rgba(0,102,255,0.15);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav-logo img { height: 48px; width: auto; filter: drop-shadow(0 0 6px rgba(0,120,255,.25)); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--grad-blue);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta {
  background: var(--grad-blue) !important;
  color: #fff !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-btn);
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.9; transform: translateY(-2px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); display: block; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,102,255,0.3);
}
.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,102,255,0.5);
  color: #fff;
}
.btn-outline-blue {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(0,102,255,0.5);
}
.btn-outline-blue:hover {
  background: rgba(0,102,255,0.15);
  border-color: var(--color-blue);
  color: #fff;
}

/* SEÇÕES */
.section { padding: 80px 0; position: relative; }
.section-dark { background: var(--bg-dark); }
.section-black { background: var(--bg-darker); }
.section-body { background: var(--bg-body); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }

.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.section-title .gold { color: var(--color-gold); }
.section-title .blue-grad {
  background: var(--grad-text-degrade);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle { font-size: 1rem; color: rgba(255,255,255,0.68); line-height: 1.7; text-align: center; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-body);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,9,24,0.2) 0%, rgba(17,17,17,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 3rem 1rem;
}
.hero-logo { margin: 0 auto 2rem; max-width: 520px; }
.hero-logo img {
  width: 100%; height: auto; margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(0,102,255,0.3));
}

/* CARDS DIVISÕES */
.divisoes { background: transparent; padding: 0 0 80px; }
.divisoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative; z-index: 2;
}

.meu-container-pai {
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.meu-container-pai:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,102,255,0.2);
}

.barra-filha {
  display: block;
  min-height: 3px; width: 100%;
  border-radius: 1000px;
  background: var(--grad-barra);
  transform: scaleX(0.5);
  transition: transform 0.3s ease-in-out;
  transform-origin: left bottom;
  margin-bottom: 1.5rem;
}
.meu-container-pai:hover .barra-filha { transform: scaleX(1); }

.divisao-label {
  font-size: 1.5rem; font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 0.3rem;
}

.palavra {
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.05rem; font-weight: 600;
  display: inline-block; margin-bottom: 1rem;
}

.palavra-com-efeito { color: var(--color-gray); transition: 0.4s; }
.meu-container-pai:hover .palavra-com-efeito {
  background: linear-gradient(90deg, #fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divisao-desc { font-size: 0.9rem; color: var(--color-gray); line-height: 1.6; margin-bottom: 1.25rem; }
.divisao-lista { margin-bottom: 1.5rem; }
.divisao-lista li {
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
  padding: 0.35rem 0; display: flex; align-items: center; gap: 0.5rem;
}
.divisao-lista li::before { content: '•'; color: var(--color-blue); font-size: 1.2rem; flex-shrink: 0; }

.divisao-logo-card { display: flex; justify-content: center; margin-top: 1rem; }
.divisao-logo-card img {
  height: 60px; width: auto; opacity: 0.85;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(0,102,255,0.3));
}
.meu-container-pai:hover .divisao-logo-card img {
  opacity: 1; filter: drop-shadow(0 0 16px rgba(0,102,255,0.6));
}
.grow { transition: transform var(--transition); }
.meu-container-pai:hover .grow { transform: scale(1.1); }

/* SOBRE */
.sobre-titulo {
  font-size: 2.5rem; font-weight: 700;
  text-align: center; margin-bottom: 1rem; color: var(--color-gold);
}
.sobre-titulo .azul {
  background: var(--grad-text-degrade);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sobre-subtitulo {
  text-align: center; color: rgba(255,255,255,0.72);
  font-size: 1rem; max-width: 750px;
  margin: 0 auto 3rem; line-height: 1.75;
}

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mvv-card {
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem; text-align: center;
  border: 1px solid rgba(0,102,255,0.15);
  transition: var(--transition);
}
.mvv-card:hover {
  border-color: rgba(0,102,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,102,255,0.15);
}
.mvv-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-blue);
  border: 1px solid rgba(0,102,255,0.3);
}
.mvv-icon svg { width: 30px; height: 30px; }
.mvv-card h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.mvv-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ATUAÇÃO */
.atuacao { background: #000; }
.atuacao-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.atuacao-content h2 {
  font-size: 2.5rem; font-weight: 800;
  line-height: 1.15; margin-bottom: 1.5rem;
  color: var(--color-gold);
}
.atuacao-content h2 .blue-grad {
  background: var(--grad-text-degrade);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; display: block;
}
.atuacao-content p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem; }
.atuacao-lista { margin-bottom: 2rem; }
.atuacao-lista li {
  padding: 0.65rem 0; display: flex; align-items: center;
  gap: 0.75rem; font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.atuacao-lista li::before { content: '•'; color: var(--color-blue); font-size: 1.4rem; flex-shrink: 0; }
.atuacao-map { display: flex; justify-content: center; align-items: center; }
.atuacao-map img { width: 100%; max-width: 520px; filter: drop-shadow(0 0 40px rgba(0,102,255,0.3)); }

/* CLIENTES */
.clientes { background: var(--bg-dark); padding: 60px 0; }
.clientes-header { text-align: center; margin-bottom: 2.5rem; }
.clientes-strip { background: #fff; overflow: hidden; padding: 1.5rem 0; }
.clientes-track {
  display: flex; gap: 3rem; align-items: center;
  animation: scrollClientes 30s linear infinite; width: max-content;
}
.clientes-track img { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
@keyframes scrollClientes { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* CTA */
.cta-section { background: var(--bg-dark); padding: 80px 0; }
.cta-box {
  border: 1px solid var(--color-blue);
  border-radius: 20px; padding: 3.5rem 3rem;
  text-align: center; max-width: 900px;
  margin: 0 auto; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,102,255,0.04); pointer-events: none;
}
.cta-box h2 { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.cta-box h2 .blue-grad {
  background: var(--grad-text-degrade);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-box p { font-size: 1rem; color: rgba(255,255,255,0.68); max-width: 640px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: #000; padding: 3rem 0 0; border-top: 1px solid rgba(0,102,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand-logo { margin-bottom: 1rem; }
.footer-brand-logo img { height: 50px; width: auto; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }
.footer h4 {
  color: #fff; font-size: 0.95rem; font-weight: 700;
  margin-bottom: 1rem; padding-bottom: 0.6rem; position: relative;
}
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--color-blue); border-radius: 2px; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--color-blue); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.85rem; font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-contact-item svg { color: var(--color-blue); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: var(--color-blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.25rem 0; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* WHATSAPP */
.whatsapp-float {
  position: fixed; bottom: 25px; right: 25px; z-index: 999;
  background: #25D366; color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ANIMAÇÕES */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVO */
@media (max-width: 1024px) {
  .divisoes-grid { grid-template-columns: repeat(2, 1fr); }
  .atuacao-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 300px; height: 100vh;
    background: var(--bg-dark); flex-direction: column;
    justify-content: center; gap: 2rem; padding: 2rem;
    transition: right var(--transition);
    border-left: 1px solid rgba(0,102,255,0.2);
  }
  .nav-menu.active { right: 0; }
  .nav-toggle { display: flex; }
  .divisoes-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.9rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .cta-box h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-logo { max-width: 300px; }
}
