/* ============================================================
   style.css — RDS Led Engenharia
   Dark theme · Glassmorphism · Poppins + Inter + JetBrains Mono
   ============================================================ */

/* ---------- RESET & VARIÁVEIS ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:           hsl(228, 78%, 4%);
  --bg-card:      hsl(228, 50%, 6%);
  --fg:           hsl(0, 0%, 100%);
  --primary:      #00a650;
  --primary-rgb:  13, 110, 253;
  --secondary:    rgba(255,255,255,0.06);
  --accent:       hsl(160, 100%, 50%);
  --accent-rgb:   0, 255, 178;
  --cyan-rgb:     0, 212, 255;
  --muted:        hsl(228, 30%, 12%);
  --muted-fg:     hsl(220, 10%, 60%);
  --border:       hsl(228, 20%, 15%);
  --radius:       0.75rem;
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(var(--primary-rgb), 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--primary-rgb), 0.5); }

/* ---------- UTILITÁRIOS ---------- */
.container       { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm    { max-width: 56rem;  margin: 0 auto; padding: 0 1.5rem; }
.text-center     { text-align: center; }
.text-primary    { color: var(--primary); }
.text-accent     { color: var(--accent); }
.text-secondary  { color: var(--secondary); }
.text-muted      { color: var(--muted-fg); }
.text-xs         { font-size: 0.75rem; }
.font-mono       { font-family: var(--font-mono); }
.font-bold       { font-weight: 700; }
.flex            { display: flex; }
.items-center    { align-items: center; }
.gap-2           { gap: 0.5rem; }
.mb-4            { margin-bottom: 1rem; }
.mb-12           { margin-bottom: 3rem; }
.mt-1            { margin-top: 0.25rem; }
.ml-1            { margin-left: 0.25rem; }
.mr-1            { margin-right: 0.25rem; }
.mx-auto         { margin-left: auto; margin-right: auto; }
.rounded-3xl     { border-radius: 1.5rem; }

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.glass-hover {
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.glass-hover:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.15);
}

.gradient-text {
  background: linear-gradient(135deg, #696a6b, #00D4FF, #00FFB2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-blue  { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3), 0 0 60px rgba(var(--primary-rgb), 0.1); }
.glow-cyan  { box-shadow: 0 0 20px rgba(var(--cyan-rgb), 0.3),    0 0 60px rgba(var(--cyan-rgb), 0.1); }
.glow-green { box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3),  0 0 60px rgba(var(--accent-rgb), 0.1); }

.grid-pattern {
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover { background: hsl(130, 98%, 45%); }
.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
}
.btn-outline-accent:hover { background: rgba(var(--accent-rgb), 0.1); }
.btn-pill   { border-radius: 9999px; }
.btn-full   { width: 100%; }
.btn-lg     { padding: 0.875rem 2rem; font-size: 0.9375rem; height: 3.5rem; }
.btn-xl     { padding: 1rem 2.5rem;  font-size: 1.125rem;  height: 4rem; }
.icon-sm    { width: 1.125rem; height: 1.125rem; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.5s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(var(--primary-rgb), 0.2);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted-fg);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: -0.15rem;
}

/* Desktop links */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* Desktop CTA */
.nav-cta { display: none; align-items: center; gap: 0.75rem; }
.nav-whatsapp {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-whatsapp:hover { opacity: 0.8; }

/* Mobile toggle */
.nav-toggle {
  background: none; border: none; cursor: pointer;
  color: #fff; padding: 0.5rem;
  display: flex; align-items: center;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

/* Mobile menu */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  margin: 0.5rem 1rem;
  border-radius: 1rem;
}
.mobile-menu.open {
  display: block;
  max-height: 600px;
  opacity: 1;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu ul { list-style: none; padding: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a {
  display: block; padding: 0.75rem 1rem;
  font-size: 0.875rem; color: var(--muted-fg);
  text-decoration: none; border-radius: 0.75rem;
  transition: all 0.2s;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.mobile-cta {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-links  { display: flex; }
  .nav-cta    { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  transform: scale(1.08);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,8,22,0.8) 0%, rgba(5,8,22,0.7) 50%, rgba(5,8,22,1) 100%),
    linear-gradient(to right,  rgba(5,8,22,1)   0%, rgba(5,8,22,0.6) 50%, transparent 100%);
}
.hero-grid { position: absolute; inset: 0; opacity: 0.3; z-index: 1; }

.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: 0.12; z-index: 1; pointer-events: none;
}
.orb-blue { width: 24rem; height: 24rem; top: 25%; right: 25%; background: radial-gradient(circle, #0D6EFD, transparent); animation: orbFloat 8s ease-in-out infinite; }
.orb-cyan { width: 20rem; height: 20rem; bottom: 25%; left: 25%; background: radial-gradient(circle, #00D4FF, transparent); animation: orbFloat 10s ease-in-out infinite reverse; }

@keyframes orbFloat {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(30px,-20px); }
}

.hero-content {
  position: relative; z-index: 10;
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 8rem 1.5rem 8rem;
}

.slide-content {
  display: none;
  max-width: 48rem;
  animation: slideIn 0.7s ease forwards;
}
.slide-content.active { display: block; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.badge-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(0.8)} }
.hero-badge span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted-fg); letter-spacing: 0.12em; text-transform: uppercase; }

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-fg);
  max-width: 40rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; }
.stat-item   { display: flex; align-items: center; gap: 0.75rem; }
.stat-value  { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; }
.stat-label  { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.1em; }

/* Arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.06);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.1); }
.slider-arrow svg   { width: 1.5rem; height: 1.5rem; }
.arrow-prev { left: 1rem; }
.arrow-next { right: 1rem; }
@media (min-width: 640px) { .arrow-prev { left: 1.5rem; } .arrow-next { right: 1.5rem; } }

/* Dots */
.slider-dots {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; align-items: center; gap: 0.75rem;
}
.dot {
  border: none; cursor: pointer; border-radius: 9999px;
  background: rgba(255,255,255,0.3); width: 0.5rem; height: 0.5rem;
  transition: all 0.3s ease;
}
.dot.active { width: 2rem; background: var(--primary); box-shadow: 0 0 10px rgba(var(--primary-rgb),0.5); }

/* Progress */
.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.08); z-index: 20; }
.hero-progress-bar { height: 100%; background: var(--primary); width: 0; }

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  padding: 6rem 0;
}
.section-grid { position: absolute; inset: 0; opacity: 0.2; }
.section-bordered {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, rgba(var(--primary-rgb),0.3), transparent) 1;
}

.section-header  { margin-bottom: 4rem; }
.section-tag     { font-family: var(--font-mono); font-size: 0.7rem; color: var(--primary); letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-bottom: 0.75rem; }
.section-title   { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.875rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem; text-align: center; }
.section-desc   { color: var(--muted-fg); font-size: 1.125rem; max-width: 40rem; line-height: 1.7; text-align: center; margin: 0 auto; }

/* ---------- ABOUT ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.stat-card       { border-radius: 1rem; padding: 2rem 1.5rem; text-align: center; }
.stat-number     { font-family: var(--font-mono); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.stat-card-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: #fff; margin-top: 0.5rem; }
.stat-card-desc  { font-size: 0.75rem; color: var(--muted-fg); margin-top: 0.25rem; }

.about-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

.about-image-wrap { position: relative; border-radius: 1rem; overflow: hidden; }
.about-img { width: 100%; height: 25rem; object-fit: cover; border-radius: 1rem; display: block; }
@media (min-width: 640px) { .about-img { height: 31rem; } }
.about-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 60%); }
.about-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  border-radius: 0.75rem; padding: 1rem;
}
.about-badge .font-bold { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }

/* Timeline */
.timeline-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; margin-bottom: 2rem; }
.timeline {position: relative;padding-left: 2rem;border-left: 1px solid #fff;}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2.5rem; top: 0.25rem;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--primary); border: 3px solid var(--bg);
}
.timeline-year { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.timeline-text { color: var(--muted-fg); margin-top: 0.25rem; font-size: 0.9375rem; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card { border-radius: 1rem; padding: 1.5rem; cursor: default; transition: all 0.5s; }
.service-card:hover .service-title { color: var(--primary); }
.service-icon-wrap {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: transform 0.3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1); }
.service-icon-wrap svg { width: 1.75rem; height: 1.75rem; color: #fff; }
.service-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; color: #fff; margin-bottom: 0.5rem; transition: color 0.2s; }
.service-desc  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

/* Icon background colors */
.service-icon-blue    { background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(37,99,235,.05)); border: 1px solid rgba(59,130,246,.15); }
.service-icon-cyan    { background: linear-gradient(135deg, rgba(6,182,212,.2),  rgba(8,145,178,.05)); border: 1px solid rgba(6,182,212,.15); }
.service-icon-amber   { background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(217,119,6,.05)); border: 1px solid rgba(245,158,11,.15); }
.service-icon-violet  { background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(109,40,217,.05));border: 1px solid rgba(139,92,246,.15); }
.service-icon-emerald { background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(5,150,105,.05)); border: 1px solid rgba(16,185,129,.15); }
.service-icon-orange  { background: linear-gradient(135deg, rgba(249,115,22,.2), rgba(234,88,12,.05)); border: 1px solid rgba(249,115,22,.15); }
.service-icon-pink    { background: linear-gradient(135deg, rgba(236,72,153,.2), rgba(219,39,119,.05));border: 1px solid rgba(236,72,153,.15); }
.service-icon-teal    { background: linear-gradient(135deg, rgba(20,184,166,.2), rgba(15,118,110,.05));border: 1px solid rgba(20,184,166,.15); }

/* Hover border colors */
.service-color-blue:hover    { border-color: rgba(59,130,246,.4)  !important; }
.service-color-cyan:hover    { border-color: rgba(6,182,212,.4)   !important; }
.service-color-amber:hover   { border-color: rgba(245,158,11,.4)  !important; }
.service-color-violet:hover  { border-color: rgba(139,92,246,.4)  !important; }
.service-color-emerald:hover { border-color: rgba(16,185,129,.4)  !important; }
.service-color-orange:hover  { border-color: rgba(249,115,22,.4)  !important; }
.service-color-pink:hover    { border-color: rgba(236,72,153,.4)  !important; }
.service-color-teal:hover    { border-color: rgba(20,184,166,.4)  !important; }

/* ---------- PROJECTS ---------- */
.filter-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500;
  cursor: pointer; border: none; transition: all 0.3s;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted-fg);
}
.filter-btn:hover  { color: #fff; background: rgba(255,255,255,0.05); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 0 20px rgba(var(--primary-rgb),0.3); }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative; overflow: hidden; border-radius: 1rem; cursor: pointer;
  transition: opacity 0.4s, transform 0.4s;
}
.project-card img {
  width: 100%; height: 18.75rem; object-fit: cover;
  transition: transform 0.7s ease; display: block;
}
.project-card:hover img { transform: scale(1.1); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(5,8,22,0.4) 50%, transparent 100%);
  opacity: 0.6; transition: opacity 0.5s;
}
.project-card:hover .project-overlay { opacity: 0.9; }

.project-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
  transform: translateY(0.5rem); transition: transform 0.5s;
}
.project-card:hover .project-info { transform: none; }

.project-tag {
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: 9999px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  color: var(--primary); background: rgba(var(--primary-rgb),0.1);
  border: 1px solid rgba(var(--primary-rgb),0.2); margin-bottom: 0.75rem;
}
.project-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: #fff; }
.project-specs { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.25rem; }

/* Featured card */
@media (min-width: 640px) {
  .project-featured            { grid-column: span 2; }
  .project-featured img        { height: 31rem; }
}
@media (min-width: 1024px) {
  .project-featured img        { height: 31rem; }
}

/* ---------- DIFFERENTIALS ---------- */
.diff-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(3, 1fr); } }

.diff-card { border-radius: 1rem; padding: 2rem; display: flex; align-items: flex-start; gap: 1rem; }
.diff-icon {
  width: 3rem; height: 3rem; flex-shrink: 0;
  border-radius: 0.75rem;
  background: rgba(var(--primary-rgb),0.1);
  border: 1px solid rgba(var(--primary-rgb),0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: background 0.3s;
}
.diff-icon svg { width: 1.5rem; height: 1.5rem; }
.diff-card:hover .diff-icon { background: rgba(var(--primary-rgb),0.2); }
.diff-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; color: #fff; margin-bottom: 0.25rem; }
.diff-desc  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-wrap { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-slide { min-width: 100%; }

.testimonial-card { padding: 2rem; text-align: center; }
@media (min-width: 640px) { .testimonial-card { padding: 3rem; } }

.testimonial-quote-icon { width: 2.5rem; height: 2.5rem; color: rgba(var(--primary-rgb),0.3); margin: 0 auto 1.5rem; }
.stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 1.5rem; }
.star-icon { width: 1.25rem; height: 1.25rem; }
.testimonial-text {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.9);
  line-height: 1.7; font-style: italic; max-width: 40rem; margin: 0 auto 2rem;
}
.testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.testimonial-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(var(--primary-rgb),0.2);
  border: 1px solid rgba(var(--primary-rgb),0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: var(--primary);
}
.testimonial-name { font-family: var(--font-heading); font-weight: 700; color: #fff; }
.testimonial-role { font-size: 0.875rem; color: var(--muted-fg); }

.testimonial-controls {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 2rem;
}
.t-arrow {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,0.03); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted-fg); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.t-arrow:hover { color: #fff; background: rgba(255,255,255,0.1); }
.t-arrow svg { width: 1.25rem; height: 1.25rem; }
.t-dots { display: flex; gap: 0.5rem; align-items: center; }

/* ---------- PARTNERS ---------- */
.section-partners { overflow: hidden; }
.partners-track-wrap { position: relative; }
.partners-fade-left, .partners-fade-right {
  position: absolute; top: 0; bottom: 0; width: 8rem; z-index: 10; pointer-events: none;
}
.partners-fade-left  { left:  0; background: linear-gradient(to right, var(--bg), transparent); }
.partners-fade-right { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.partners-track {
  display: flex;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}
@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  flex-shrink: 0; border-radius: 0.75rem; padding: 1.25rem 2rem;
  margin: 0 0.75rem; min-width: 11.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem;
  color: rgba(180,180,200,0.5); white-space: nowrap; letter-spacing: -0.01em;
  transition: border-color 0.3s;
}
.partner-logo:hover { border-color: rgba(var(--primary-rgb),0.3) !important; }

/* ---------- CTA ---------- */
.section-cta { overflow: hidden; }
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb),0.3) 0%, transparent 60%);
  opacity: 0.2;
}
.cta-title  { font-size: clamp(2rem, 5vw, 3.75rem); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.cta-contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  margin-top: 4rem; font-size: 0.875rem; color: var(--muted-fg);
}
.cta-contact-item { display: flex; align-items: center; gap: 0.5rem; }
.cta-contact-item svg { width: 1rem; height: 1rem; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; gap: 2.5rem; padding: 4rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .logo-name { font-size: 1.125rem; }
.footer-desc  { font-size: 0.875rem; color: var(--muted-fg); max-width: 22rem; line-height: 1.7; margin-top: 1rem; }
.footer-city  { font-size: 0.75rem; color: rgba(150,150,170,0.5); margin-top: 1rem; }

.footer-col-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: #fff; margin-bottom: 1rem; }
.footer-col ul    { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { font-size: 0.875rem; color: var(--muted-fg); cursor: pointer; transition: color 0.2s; }
.footer-link:hover { color: #fff; }

.footer-bottom {
  padding: 2rem 0; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  text-align: center; font-size: 0.75rem; color: rgba(150,150,170,0.5);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- FLOATING DOCK ---------- */
.floating-dock {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 50;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(100px);
  transition: opacity 0.4s, transform 0.4s;
}
.floating-dock.visible {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dock-inner {
  border-radius: 9999px; padding: 0.5rem;
  display: flex; align-items: center; gap: 0.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.dock-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem; border-radius: 9999px;
  text-decoration: none; transition: background 0.3s;
}
.dock-item:hover { background: rgba(255,255,255,0.1); }
.dock-item svg  { width: 1.25rem; height: 1.25rem; }
.dock-item span { font-size: 0.875rem; font-weight: 500; color: #fff; display: none; }
@media (min-width: 640px) { .dock-item span { display: inline; } }



/* ================================================================= */
/* CORREÇÃO DO LAYOUT DE PRODUTOS - RDS INSTALAÇÕES */
/* ================================================================= */

/* Força o plano de fundo escuro na página e na seção */
body, .project-area {
    background-color: #05070c !important;
}

/* Força o grid do Bootstrap a funcionar e ficar lado a lado */
.grid-produtos {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Alinhamento dos botões de filtro */
.filter-button-group .btn {
    border-radius: 20px !important;
    padding: 6px 18px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}
.filter-button-group .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Container da imagem: fundo branco para destacar componentes industriais */
.product-card .position-relative {
    height: 220px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

/* Evita que a foto do produto estique, passe por cima do texto ou quebre */
.product-card .position-relative img {
    max-width: 85% !important;
    max-height: 85% !important;
    object-fit: contain !important;
    width: auto !important;
    height: auto !important;
    position: static !important; /* Remove posicionamentos antigos que quebravam o layout */
}

/* Garante o fundo correto do card onde fica o texto */
.product-card {
    background: #111625 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.1) !important;
}

/* Força os textos a ficarem brancos e visíveis */
.product-card .card-title {
    color: #ffffff !important;
}

/* MATAR BARRAS LATERAIS ANTIGAS (SIDEBAR) QUE ESTÃO ESPREMENDO OS PRODUTOS */
.sidebar, aside, #sidebar, .widget-area {
    display: none !important;
}



/* ================================================================= */
/* CORE ARCHITECTURE CSS - PREMIUM DARK THEME 2025/2026             */
/* ================================================================= */

:root {
    --bg-main: #05070c;
    --bg-surface: #111625;
    --bg-glass: rgba(17, 22, 37, 0.7);
    --border-glass: rgba(255, 255, 255, 0.06);
    --accent-blue: #00d2ff;
    --accent-primary: #0056ff;
    --text-muted: #8a99ad;
}

/* Forçamento do Escopo Dark Eliminando Resíduos do Blog Antigo */
body, .project-area, .project-area-search, .blog-area {
    background-color: #0e131a !important;
    color: #ffffff !important;
}

/* Alinhamento de Linhas e Grids Modernos */
.modern-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px;
    margin-left: -15px;
}

/* Card de Engenharia Avançada com Glassmorphism */
.rds-premium-card {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease !important;
}

.rds-premium-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 210, 255, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.08) !important;
}

/* Isolador de Proporção de Imagens Industriais */
.rds-img-container {
    height: 240px;
    background-color: #ffffff !important; /* Mantém fundo limpo para destacar a peça */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.rds-img-container img {
    max-width: 82% !important;
    max-height: 82% !important;
    object-fit: contain !important;
    width: auto !important;
    height: auto !important;
    transition: transform 0.5s ease;
}

.rds-premium-card:hover .rds-img-container img {
    transform: scale(1.04);
}

/* Botões com Micro-interações */
.rds-btn-action {
    border-radius: 30px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 9px 24px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.rds-btn-blue {
    background-color: var(--accent-primary) !important;
    color: #ffffff !important;
}
.rds-btn-blue:hover {
    background-color: #0045cc !important;
    box-shadow: 0 0 20px rgba(0, 86, 255, 0.4);
}

.rds-btn-green {
    background-color: #28a745 !important;
    color: #ffffff !important;
}
.rds-btn-green:hover {
    background-color: #1e7e34 !important;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.4);
}

/* Badges Flutuantes Metálicos */
.rds-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-uppercase: uppercase;
    letter-spacing: 0.5px;
}
div#rdsNavDrawer.rds-nav-bar {
    background: rgba(#343a40) !important; /* Troque pela sua cor */
}