:root {
  /* Colors - ACX Estruturas Palette (Industrial Bronze) */
  --acx-steel-blue: #8B5E3C;
  --acx-steel-light: #A67C52;
  --acx-deep-indigo: #2C1E16;
  --acx-graphite: #111827;
  --acx-slate: #4B5563;
  --acx-mist: #F3F4F6;
  --acx-paper: #F9FAFB;
  --acx-platinum: #E5E7EB;
  --acx-white: #FFFFFF;
  --acx-border: rgba(0, 0, 0, 0.08);
  --acx-border-light: rgba(255, 255, 255, 0.2);

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --container-max: 1280px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 35, 50, 0.12);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--acx-slate);
  background: var(--acx-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; color: var(--acx-graphite); line-height: 1.1; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.bg-paper { background: var(--acx-paper); }
.bg-mist { background: var(--acx-mist); }

/* ── Components ── */
.glass-panel {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(74, 107, 138, 0.1);
  color: var(--acx-steel-blue);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(74, 107, 138, 0.1);
  margin-bottom: 24px;
}

.highlight { color: var(--acx-steel-blue); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--acx-steel-blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--acx-deep-indigo); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 31px;
  background: transparent;
  color: var(--acx-slate);
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  border: 1px solid var(--acx-slate);
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline:hover { background: var(--acx-slate); color: #fff; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; display: flex; align-items: center;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  height: 72px;
  border-bottom: 1px solid var(--acx-border);
}
.nav-container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.logo .light { color: var(--acx-steel-blue); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--acx-slate); }
.nav-link:hover { color: var(--acx-steel-blue); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: center;
}
.hero-content h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-content p { font-size: 18px; color: var(--acx-slate); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 60px; }
.hero-stats { display: grid; grid-cols: 4; gap: 16px; display: flex; }
.hero-stat-card {
  flex: 1; padding: 24px; border-radius: var(--radius-lg);
  text-align: center;
}
.hero-stat-card .num { display: block; font-size: 32px; font-weight: 800; color: var(--acx-steel-blue); font-family: 'Syne', sans-serif; }
.hero-stat-card .label { font-size: 12px; font-weight: 500; color: var(--acx-slate); text-transform: uppercase; }

.hero-visual { position: relative; }
.hero-video-wrap {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}
.hero-video-wrap video { width: 100%; height: 100%; object-fit: contain; }

/* ── About Section ── */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.about-content h2 { font-size: 42px; margin-bottom: 24px; }
.about-content p { font-size: 17px; margin-bottom: 20px; color: var(--acx-slate); }
.about-visual { position: relative; }
.about-img-wrap {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; padding: 8px;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-lg) - 8px); }

/* ── Projects Grid ── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.project-card {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  padding: 8px; overflow: hidden; transition: var(--transition);
  cursor: pointer;
}
.project-card:hover { transform: translateY(-12px) rotate(1deg); }
.project-img-inner {
  width: 100%; height: 100%; border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden; position: relative;
}
.project-img-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card:hover img { transform: scale(1.15); }

/* ── Solutions Grid ── */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  padding: 32px; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 16px;
  transition: var(--transition);
}
.solution-card:hover { transform: translateY(-8px); border-color: rgba(74, 107, 138, 0.3); }
.solution-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(74, 107, 138, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--acx-steel-blue);
}
.solution-card h3 { font-size: 20px; }
.solution-card p { font-size: 14px; flex-grow: 1; }
.solution-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--acx-steel-blue);
}
.solution-link::after {
  content: '→'; transition: transform 0.3s ease;
}
.solution-link:hover::after { transform: translateX(4px); }

/* ── Why ACX (Shimmer Cards) ── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.shimmer-card {
  padding: 32px; border-radius: var(--radius-lg);
  display: flex; gap: 20px; align-items: flex-start;
}
.shimmer-icon {
  padding: 12px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow-sm); color: var(--acx-steel-blue);
}

/* ── Marquee ── */
.marquee-wrap { padding: 48px 0; border-top: 1px solid var(--acx-border); border-bottom: 1px solid var(--acx-border); overflow: hidden; }
.marquee-inner { display: flex; gap: 16px; animation: marquee 30s linear infinite; width: max-content; }
.marquee-tag {
  padding: 12px 24px; border-radius: 100px;
  background: rgba(229, 231, 235, 0.3);
  color: var(--acx-deep-indigo); font-weight: 500; font-size: 14px;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── CTA ── */
.cta-box {
  background: linear-gradient(135deg, var(--acx-steel-blue) 0%, var(--acx-deep-indigo) 100%);
  padding: 100px 24px; border-radius: var(--radius-xl);
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-box h2 { font-size: 48px; color: #fff; margin-bottom: 24px; }
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btn { background: #fff !important; color: var(--acx-deep-indigo) !important; }

/* ── Footer ── */
.footer {
  background: var(--acx-graphite); color: var(--acx-platinum);
  padding: 80px 0 40px; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-logo span { color: var(--acx-steel-light); }
.footer-desc { font-size: 14px; color: var(--acx-slate); max-width: 280px; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--acx-slate); }
.footer-links a:hover { color: var(--acx-steel-light); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--acx-slate);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .projects-grid, .solutions-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .projects-grid, .solutions-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 42px; }
  .nav-links { display: none; }
}
/* ── Logo Typography & Shimmer Effect ── */
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--acx-steel-blue);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.logo span {
  font-weight: 400;
  color: var(--acx-slate);
  opacity: 0.8;
}

.shimmer-text {
  background: linear-gradient(
    90deg, 
    var(--acx-steel-blue) 0%, 
    var(--acx-steel-blue) 40%, 
    #D4AF37 50%, 
    var(--acx-steel-blue) 60%, 
    var(--acx-steel-blue) 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.logo:hover .shimmer-text {
  animation-duration: 1.5s;
}
