/* ==========================================================================
   TD AUTOMAÇÕES & METALURGIA - FOLHA DE ESTILOS PRINCIPAL
   Identidade: Azul & Preto Industrial | Alta Performance | Soldagem & Automação
   ========================================================================== */

:root {
  /* Paleta de Cores Primárias (Azul & Preto Moderno) */
  --bg-deep: #060911;
  --bg-dark: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(24, 36, 66, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);

  --steel-900: #0f172a;
  --steel-800: #1e293b;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-400: #94a3b8;
  --steel-200: #e2e8f0;
  --steel-100: #f1f5f9;
  --white: #ffffff;

  /* Acentos Azuis e Solda */
  --blue-primary: #0284c7;
  --blue-vibrant: #0099ff;
  --blue-glow: #00e1ff;
  --blue-dark: #0369a1;
  --blue-gradient: linear-gradient(135deg, #0284c7 0%, #00d4ff 100%);
  --blue-badge: rgba(0, 149, 255, 0.15);
  --border-glow: rgba(0, 180, 255, 0.25);

  /* Acentos Industriais Complementares */
  --spark-gold: #f59e0b;
  --spark-amber: #d97706;
  --success: #10b981;

  /* Tipografia */
  --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Sombras e Efeitos */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.8);
  --shadow-blue-glow: 0 0 25px rgba(0, 166, 255, 0.35);
  --shadow-blue-strong: 0 0 40px rgba(0, 212, 255, 0.5);

  /* Transições e Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--steel-200);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(0, 212, 255, 0.05) 0%, transparent 45%),
    linear-gradient(to bottom, #060911 0%, #080d1a 50%, #060911 100%);
  background-attachment: fixed;
}

/* Textura industrial sutil de grade */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  z-index: 1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Tipografia Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--steel-400);
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
.topbar {
  background-color: rgba(6, 9, 17, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--steel-400);
}

.topbar-item i,
.topbar-item svg {
  color: var(--blue-glow);
}

.topbar-badge {
  background: rgba(2, 132, 199, 0.2);
  color: var(--blue-glow);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-links a {
  color: var(--steel-200);
  font-weight: 500;
}

.topbar-links a:hover {
  color: var(--blue-glow);
}

/* Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 160, 255, 0.15);
  padding: 16px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8, 13, 26, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 160, 255, 0.25);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 56px;
  width: auto;
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284c7, #00d4ff);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.logo-icon-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: rotate(45deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  30%,
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}

.logo-brand span {
  color: var(--blue-glow);
}

.logo-tagline {
  font-size: 0.68rem;
  color: var(--steel-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--steel-200);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--blue-gradient);
  color: var(--bg-deep);
  box-shadow: 0 4px 18px rgba(0, 149, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
  color: #000;
}

.btn-outline {
  background: rgba(15, 23, 42, 0.6);
  color: var(--white);
  border: 1px solid rgba(0, 180, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(0, 149, 255, 0.15);
  border-color: var(--blue-glow);
  color: var(--blue-glow);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, rgba(0, 140, 255, 0.15) 0%, transparent 60%);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background: linear-gradient(90deg, var(--bg-deep) 0%, rgba(6, 9, 17, 0.8) 35%, rgba(6, 9, 17, 0.2) 100%),
    url('../assets/images/hero_welding.jpg') center right/cover no-repeat;
  opacity: 0.85;
  z-index: 1;
  border-bottom-left-radius: 60px;
}

/* Efeito de arco de solda pulsante no Hero */
.hero-bg-overlay::after {
  content: '';
  position: absolute;
  top: 45%;
  right: 25%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 225, 255, 0.7) 0%, rgba(0, 132, 255, 0.3) 40%, transparent 70%);
  filter: blur(25px);
  animation: arcFlash 3.5s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes arcFlash {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  25% {
    opacity: 0.9;
    transform: scale(1.15);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.85);
  }

  75% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

/* Layout do hero */
.hero-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}

@media (max-width: 992px) {
  .hero-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 150, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: var(--blue-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--blue-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue-glow);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-title span.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--steel-400);
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--blue-glow);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--steel-400);
  margin-bottom: 0;
  line-height: 1.3;
}

/* ==========================================================================
   SEÇÃO SELETOR RÁPIDO / HIGHLIGHTS
   ========================================================================== */
.highlights-bar {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  margin-bottom: 70px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue-gradient);
  opacity: 0.6;
  transition: var(--transition-fast);
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 255, 0.4);
  box-shadow: var(--shadow-blue-glow);
}

.highlight-card:hover::before {
  opacity: 1;
  width: 6px;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(2, 132, 199, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-glow);
  font-size: 1.4rem;
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.highlight-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.highlight-card p {
  font-size: 0.88rem;
  color: var(--steel-400);
  margin-bottom: 0;
}

/* ==========================================================================
   SEÇÕES GERAIS (TITLES E WRAPPERS)
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-glow);
  background: rgba(0, 160, 255, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--steel-400);
  line-height: 1.6;
}

/* ==========================================================================
   SOBRE NÓS & DIFERENCIAIS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 180, 255, 0.25);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(11, 17, 32, 0.95);
  border: 1px solid var(--blue-glow);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-blue-glow);
  backdrop-filter: blur(10px);
  max-width: 250px;
}

.about-badge-float h4 {
  font-size: 1.5rem;
  color: var(--blue-glow);
  margin-bottom: 4px;
}

.about-badge-float p {
  font-size: 0.8rem;
  color: var(--steel-200);
  margin-bottom: 0;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--steel-400);
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
  margin-bottom: 35px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-glow);
  font-size: 0.85rem;
}

.about-feature-item h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.about-feature-item p {
  font-size: 0.82rem;
  color: var(--steel-400);
  margin-bottom: 0;
}

/* ==========================================================================
   SERVIÇOS DE METALURGIA & SOLDAGEM (PILAR PRINCIPAL)
   ========================================================================== */
.services-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 180, 255, 0.4);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-blue-glow);
}

.service-card.featured {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 30px rgba(0, 140, 255, 0.2);
}

.service-card-header {
  margin-bottom: 20px;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(2, 132, 199, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-glow);
  font-size: 1.8rem;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--steel-400);
  line-height: 1.6;
  margin-bottom: 22px;
}

.service-list {
  list-style: none;
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--steel-200);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.service-list li svg,
.service-list li i {
  color: var(--blue-glow);
  font-size: 0.8rem;
}

/* ==========================================================================
   CATÁLOGO DE PRODUTOS & SERRALHERIA CAMPEIRA (TAB FILTER)
   ========================================================================== */
.catalog-section {
  padding: 90px 0;
}

.catalog-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.filter-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--steel-400);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--white);
  border-color: rgba(0, 212, 255, 0.4);
}

.filter-btn.active {
  background: var(--blue-gradient);
  color: var(--bg-deep);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 160, 255, 0.4);
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 255, 0.35);
  box-shadow: var(--shadow-blue-glow);
}

.product-thumb {
  height: 300px;
  background: #131b2e;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

/* Miniatura com duas fotos lado a lado (ex.: produto com ângulo extra) */
.product-thumb--dual {
  gap: 2px;
}

.product-thumb--dual img {
  width: 50%;
  flex-shrink: 0;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 9, 17, 0.85);
  color: var(--blue-glow);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(6px);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--white);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--steel-400);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-glow);
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  gap: 10px;
}

.product-badge-res {
  font-size: 0.78rem;
  color: var(--steel-400);
}



/* ==========================================================================
   PORTFÓLIO & GALERIA INDUSTRIAL
   ========================================================================== */
/* Carrossel lento e contínuo; pausa ao passar o mouse */
.gallery-grid {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: galleryScroll var(--gallery-duration, 80s) linear infinite;
}

.gallery-grid:hover .gallery-track,
.gallery-grid:focus-within .gallery-track {
  animation-play-state: paused;
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--gallery-shift, 50%) * -1));
  }
}

.gallery-item {
  position: relative;
  flex: 0 0 300px;
  margin-right: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 9, 17, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.9;
  transition: var(--transition-fast);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 140, 255, 0.2) 0%, rgba(6, 9, 17, 0.98) 100%);
}

.gallery-overlay h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-overlay span {
  font-size: 0.8rem;
  color: var(--blue-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   DEPOIMENTOS & AVALIAÇÕES
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 26px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
}

.stars {
  color: var(--spark-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-style: italic;
  color: var(--steel-200);
  font-size: 0.98rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  border: 2px solid var(--blue-glow);
}

.author-info h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--steel-400);
  margin-bottom: 0;
}

/* ==========================================================================
   CONTATO, ORÇAMENTO & MAPA RS/SC
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 180, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-card-box h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-card-box p.lead {
  color: var(--steel-400);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--steel-200);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(6, 9, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-glow);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-box h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-glow);
}

.info-links {
  list-style: none;
}

.info-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.info-links li svg {
  min-width: 18px;
  color: var(--blue-glow);
  margin-top: 3px;
}

.coverage-map-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(11, 17, 32, 0.9) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.coverage-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.badge-state {
  background: var(--blue-gradient);
  color: var(--bg-deep);
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #04060b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--steel-400);
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-cnpj {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--steel-400);
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--steel-400);
}

.footer-links a:hover {
  color: var(--blue-glow);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--steel-600);
  font-size: 0.82rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP & MODAL DE ORÇAMENTO
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
  font-size: 1.8rem;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.7);
  color: white;
}

/* Modal de Detalhes do Produto: foto ampliada + descrição ao lado */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.product-modal.active {
  display: flex;
}

.product-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  background: var(--bg-dark);
  border: 1px solid rgba(0, 180, 255, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.product-modal-media {
  flex: 1 1 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  background: #05070d;
  padding: 20px;
}

.product-modal-media img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.product-modal-cores {
  display: none;
  gap: 10px;
}

.product-modal-cores button {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: transparent;
  color: var(--steel-400);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.product-modal-cores button.active {
  background: rgba(2, 132, 199, 0.25);
  color: var(--white);
  border-color: var(--blue-glow);
}

.product-modal-info {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  overflow-y: auto;
}

.product-modal-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-glow);
  margin-bottom: 10px;
}

.product-modal-info h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.product-modal-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue-glow);
  margin-bottom: 14px;
}

.product-modal-info p {
  color: var(--steel-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-modal-badge {
  align-self: flex-start;
  background: rgba(2, 132, 199, 0.15);
  color: var(--blue-glow);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.product-modal-info .btn {
  margin-top: auto;
  align-self: flex-start;
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 17, 0.65);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

/* Modal Lightbox de Imagem */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.lightbox-video {
  display: none;
  width: auto;
  height: 80vh;
  max-width: 100%;
  aspect-ratio: 478 / 850;
  object-fit: contain;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-bg-overlay {
    width: 100%;
    opacity: 0.35;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 44px;
  }

  .topbar {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .btn-sm span {
    display: none;
  }

  .nav-actions .btn-sm {
    padding: 10px 14px;
  }

  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 180, 255, 0.2);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section,
  .catalog-section {
    padding: 60px 0;
  }

  .section-header {
    margin: 0 auto 40px;
  }

  .about-content h2 {
    font-size: 1.9rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item {
    flex-basis: 240px;
    height: 320px;
    margin-right: 16px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 22px;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }

  .product-thumb {
    height: 220px;
  }

  .contact-card-box,
  .info-box,
  .coverage-map-card {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Modal de produto: foto em cima, descrição embaixo */
  .product-modal-content {
    flex-direction: column;
    max-height: 92vh;
    overflow-y: auto;
  }

  .product-modal-media {
    padding: 16px;
  }

  .product-modal-media img {
    max-height: 42vh;
  }

  .product-modal-info {
    padding: 24px 20px 30px;
    overflow-y: visible;
  }

  .product-modal-info .btn {
    margin-top: 10px;
  }
}

/* Ajustes extras de celular */
@media (max-width: 768px) {
  .nav-menu {
    max-height: calc(100vh - 73px);
    overflow-y: auto;
  }

  .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .hero-bg-overlay {
    border-bottom-left-radius: 0;
  }

  .hero-bg-overlay::after {
    display: none;
  }

  .highlights-bar {
    margin-top: 0;
    padding-top: 30px;
    margin-bottom: 40px;
  }

  .about-grid {
    gap: 40px;
  }

  .about-image img {
    height: 300px;
  }

  .about-badge-float {
    right: 12px;
    bottom: -24px;
    padding: 14px 18px;
    max-width: 220px;
  }

  .about-badge-float h4 {
    font-size: 1.3rem;
  }

  .about-content {
    padding-top: 12px;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-content .btn {
    width: 100%;
  }

  .catalog-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px 8px;
    margin: 0 -16px 30px;
    scrollbar-width: none;
  }

  .catalog-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .service-card .btn {
    width: 100%;
  }

  .service-card:hover,
  .highlight-card:hover,
  .product-card:hover {
    transform: none;
  }

  .form-control {
    font-size: 16px;
    /* evita zoom automático do iOS */
  }

  .coverage-badges {
    flex-wrap: wrap;
  }

  .whatsapp-float-container {
    bottom: 18px;
    right: 18px;
  }

  .product-modal-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-close {
    top: -44px;
    right: 4px;
  }
}

/* Telas bem pequenas (celulares compactos) */
@media (max-width: 480px) {
  .hero-badge {
    align-items: flex-start;
    border-radius: var(--radius-md);
  }

  .hero-stats {
    gap: 14px;
    padding-top: 22px;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .gallery-item {
    flex-basis: 220px;
    height: 300px;
  }

  .product-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
  }

  .product-price {
    font-size: 1.2rem;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-footer .btn {
    width: 100%;
  }

  .contact-card-box,
  .info-box,
  .coverage-map-card {
    padding: 20px 16px;
  }

  .footer {
    padding: 50px 0 24px;
  }

  .container {
    padding: 0 16px;
  }

  .topbar-content {
    justify-content: center;
    text-align: center;
  }

  .logo-img {
    height: 36px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-sm {
    padding: 9px 12px;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .highlight-card {
    padding: 20px;
  }

  .service-card {
    padding: 22px 18px;
  }

  .catalog-filter {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-thumb {
    height: 160px;
  }

  .product-body {
    padding: 16px;
  }

  .product-title {
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 22px;
  }

  .contact-card-box h3 {
    font-size: 1.3rem;
  }

  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid {
    overflow-x: auto;
  }

  .gallery-track {
    animation: none;
  }
}