/* ==========================================================================
   WFS MANUTENÇÕES - DESIGN SYSTEM & FOLHA DE ESTILOS CSS3 MODERNA
   Conceito: Fundo Geral Cinza & Branco Industrial + Cards Técnicos Escuros com Legenda Branca
   Identidade: Amarelo Industrial & Rigor em Alto Vácuo
   ========================================================================== */

/* 1. VARIÁVEIS CSS (:ROOT) & RESET */
:root {
  /* Paleta Base do Site: Fundo Cinza & Branco Técnico */
  --bg-deep: #f1f5f9;          /* Slate 100 - transição suave */
  --bg-main: #f8fafc;          /* Slate 50 - cinza claro elegante para o site */
  --bg-surface: #ffffff;       /* Branco puro para seções e modais */
  --bg-elevated: #f1f5f9;      /* Cinza sutil para hovers */

  /* Cards Escuros Técnicos com Legendas Brancas (Padrão WFS) */
  --bg-card: #13151b;          /* Grafite escuro / obsidiana técnica */
  --bg-card-hover: #181b24;    /* Leve elevação no hover do card */
  --bg-card-subtle: #1c202b;

  /* Bordas dos Cards e Seções */
  --border-card: rgba(255, 255, 255, 0.12);
  --border-card-hover: rgba(245, 158, 11, 0.5);
  --border-subtle: #e2e8f0;    /* Borda para seções claras */
  --border-medium: #cbd5e1;
  --border-bright: #94a3b8;

  /* Cores de Destaque & Sinais Técnicos (Amarelo Industrial) */
  --accent-yellow-main: #F59E0B;        /* Cor de destaque principal (botões, detalhes): #F59E0B */
  --accent-yellow-hover: #D97706;       /* Hover dos botões: #D97706 */
  --accent-yellow-text: #0F172A;        /* Texto interno dos botões amarelos: #0F172A com font-weight: 700 */
  --accent-yellow-highlight: #FBBF24;   /* Destaque de texto em fundo escuro (como 'Metalizadoras' no H1): #FBBF24 */
  --accent-yellow-glow: rgba(245, 158, 11, 0.35);

  /* Mapeamento de compatibilidade total para seletores existentes */
  --accent-purple: #F59E0B;
  --accent-purple-light: #FBBF24;
  --accent-purple-bright: #FBBF24;
  --accent-purple-dark: #D97706;
  --accent-purple-deep: #B45309;
  --accent-purple-glow: rgba(245, 158, 11, 0.35);

  /* Aliases para compatibilidade total com os seletores existentes */
  --accent-blue: #F59E0B;
  --accent-cyan: #FBBF24;
  --accent-cyan-glow: rgba(245, 158, 11, 0.28);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-green: #10b981;
  --accent-red: #ef4444;

  /* Tipografia: Fundo Claro (Títulos de Seção) */
  --text-pure: #0f172a;        /* Títulos de seção no fundo claro */
  --text-primary: #1e293b;     /* Texto geral no fundo claro */
  --text-secondary: #475569;   /* Subtítulos de seção no fundo claro */
  --text-muted: #64748b;

  /* Tipografia: Dentro dos Cards Escuros (Legendas Brancas & Tons Prateados) */
  --card-text-pure: #ffffff;   /* Título dentro do card escuro */
  --card-text-primary: #f1f5f9;
  --card-text-secondary: #cbd5e1; /* Parágrafo/descrição dentro do card escuro */
  --card-text-muted: #94a3b8;
  --metal-silver: #cbd5e1;
  --metal-platinum: #f1f5f9;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Efeitos, Espaçamento & Transições */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.16);
  --shadow-card: 0 8px 28px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 16px 40px rgba(245, 158, 11, 0.22), 0 4px 12px rgba(0, 0, 0, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
}

/* Reset Universal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Imagens e Mídias */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links & Botões Básicos */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

/* Container de Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Estilos de Seção Geral - Fundo Cinza & Branco Técnico */
.section {
  padding: 85px 0;
  position: relative;
  z-index: 1;
}

.section-dark {
  background-color: #ffffff;
}

.section-services {
  background-color: #f8fafc;
}

.section-organization {
  background-color: #f8fafc;
}

.section-vacuum-scale {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-contact {
  background-color: #f1f5f9;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple-dark);
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-tag-cyan,
.section-tag-purple {
  color: var(--accent-purple-dark);
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* Painel de Elevação Card - Estilo Escuro Tecnológico com Legenda Branca */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
}

/* Text Highlights */
.text-gradient {
  color: #FBBF24;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .text-gradient {
  color: #FBBF24;
  -webkit-text-fill-color: #FBBF24;
  background: none;
}

.text-accent {
  color: #FBBF24;
  font-weight: 600;
}

.text-white {
  color: #ffffff;
}

/* ==========================================================================
   2. BOTÕES & CALL TO ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: #F59E0B;
  color: #0F172A;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary span,
.btn-primary strong,
.btn-primary p {
  color: #0F172A;
  font-weight: 700;
}

.btn-primary svg {
  color: #0F172A;
  stroke: currentColor;
}

.btn-primary svg[fill="currentColor"] {
  fill: #0F172A;
}

.btn-primary:hover {
  background: #D97706;
  color: #0F172A;
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(217, 119, 6, 0.5);
}

.btn-primary:hover span,
.btn-primary:hover strong,
.btn-primary:hover p,
.btn-primary:hover svg {
  color: #0F172A;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #F59E0B;
  color: #D97706;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: rotate(45deg);
  animation: shine-sweep 4s infinite;
}

@keyframes shine-sweep {
  0% { transform: translateX(-100%) rotate(45deg); }
  30%, 100% { transform: translateX(100%) rotate(45deg); }
}

/* ==========================================================================
   3. BARRA SUPERIOR & HEADER
   ========================================================================== */
.top-announcement {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #b45309;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.announcement-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.announcement-link {
  color: var(--accent-purple-dark);
  font-weight: 600;
  font-size: 0.82rem;
}

.announcement-link:hover {
  text-decoration: underline;
}

/* Header Sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #82858b;
  background-image: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.14) 100%),
    url('brushed_steel_bg.jpg');
  background-repeat: repeat-x;
  background-position: center center;
  background-size: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: #74777d;
  background-image: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.22) 100%),
    url('brushed_steel_bg.jpg');
  background-repeat: repeat-x;
  background-position: center center;
  background-size: cover;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-bottom-color: rgba(0, 0, 0, 0.45);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.brand-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.brand-tagline {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b0f19;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand-sub {
  font-size: 0.68rem;
  color: #0b0f19;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Nav Desktop */
.nav-desktop {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  flex-wrap: nowrap;
}

.nav-link {
  font-size: clamp(0.85rem, 0.9vw, 0.92rem);
  font-weight: 600;
  color: #0f172a;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-link:hover,
.nav-link.active {
  color: #000000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #000000;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 0;
  z-index: 110;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #0f172a;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
}

.menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Drawer Mobile */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-medium);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right var(--transition-normal);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo {
  height: 32px;
  width: auto;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}

.drawer-close {
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
}

.drawer-close:hover {
  color: var(--text-pure);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-link:hover,
.mobile-link:active {
  color: var(--accent-purple-dark);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   4. HERO SECTION - Fundo Cinza/Branco & Cards Técnicos
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
  background-color: #0d1117;
}

/* Fundo do Hero com a Imagem da Metalizadora Industrial Completa */
.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.02);
  filter: contrast(1.04) brightness(1.02);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Suave vinheta e gradientes para integração com header e seção sobre */
  background: 
    linear-gradient(180deg, 
      rgba(255, 255, 255, 0.72) 0%, 
      rgba(255, 255, 255, 0.15) 16%, 
      rgba(15, 23, 42, 0.15) 55%, 
      rgba(255, 255, 255, 0.45) 86%, 
      #ffffff 100%
    ),
    radial-gradient(circle at 80% 25%, rgba(245, 158, 11, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.hero-bg-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, transparent 75%);
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
}

.glow-1 {
  top: -10%;
  right: 15%;
  width: 480px;
  height: 480px;
  background: var(--accent-purple-light);
}

.glow-2 {
  bottom: 0%;
  left: 5%;
  width: 360px;
  height: 360px;
  background: var(--accent-purple);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   EFEITO DE NUVEM OPACA NAS LEGENDAS DO HERO
   Garante contraste supremo, visão opaca da máquina ao fundo e estética de nuvem orgânica
   ========================================================================== */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-content-cloud {
  position: relative;
  padding: 24px 28px 26px;
  border-radius: 36px;
  max-width: 660px;
}

.hero-cloud-fx {
  position: absolute;
  inset: -36px -48px -36px -52px;
  z-index: -1;
  pointer-events: none;
  /* Formato orgânico de nuvem suave e difusa */
  border-radius: 54px;
  background: 
    radial-gradient(ellipse 90% 80% at 35% 38%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.65) 45%, rgba(255, 255, 255, 0.3) 72%, transparent 100%),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.35) 45%, transparent 75%),
    radial-gradient(circle at 40% 82%, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 80%),
    radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.3) 45%, transparent 75%),
    rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 42% 48%, #000 45%, rgba(0, 0, 0, 0.75) 65%, transparent 95%);
  mask-image: radial-gradient(ellipse 90% 85% at 42% 48%, #000 45%, rgba(0, 0, 0, 0.75) 65%, transparent 95%);
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.85));
}

/* Camada externa de névoa/bruma para esfumaçar os contornos */
.hero-cloud-fx::before {
  content: '';
  position: absolute;
  inset: -25px -35px;
  border-radius: 56px;
  background: radial-gradient(ellipse at 42% 48%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.22) 55%, transparent 82%);
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}

/* Nuance de brilho violeta industrial sutil */
.hero-cloud-fx::after {
  content: '';
  position: absolute;
  top: 0%;
  left: 15%;
  width: 65%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-content-cloud {
    padding: 20px 16px;
    border-radius: 24px;
    max-width: 100%;
  }
  .hero-cloud-fx {
    inset: -14px -16px;
    border-radius: 28px;
  }
  .hero-cloud-fx::before {
    inset: -16px -18px;
    filter: blur(14px);
  }
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-purple);
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-pure);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

/* KPIs - Cards Escuros Tecnológicos com Legendas Claras */
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  padding-top: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.kpi-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.kpi-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-purple-bright);
  line-height: 1.15;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--card-text-muted);
  line-height: 1.3;
}

/* Showcase Card Metalizadora - Card Escuro de Controle Industrial */
.hero-showcase {
  position: relative;
}

.showcase-card {
  padding: 16px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--card-text-secondary);
}

.dot-live {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-purple-bright);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.showcase-media-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.showcase-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.03);
}

/* Badges flutuantes */
.floating-tech-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.ftc-top {
  top: 16px;
  left: 16px;
}

.ftc-bottom {
  bottom: 16px;
  right: 16px;
}

.ftc-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ftc-icon-amber {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}

.ftc-content {
  display: flex;
  flex-direction: column;
}

.ftc-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.ftc-desc {
  font-size: 0.72rem;
  color: var(--card-text-secondary);
}

.showcase-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.spec-label {
  color: var(--card-text-muted);
  margin-right: 4px;
}

.spec-value {
  color: #ffffff;
  font-weight: 500;
}

/* ==========================================================================
   5. SEÇÃO SOBRE & OS 3 PILARES TÉCNICOS (CARDS ESCUROS COM LEGENDAS BRANCAS)
   - Solicitado pelo usuário: "Intervenção holística", "Instrumentação Leybold",
     "Preparação e higienização": cards escuros com legendas brancas.
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-card:hover {
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.pillar-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.pillar-card:hover .pillar-img {
  transform: scale(1.05);
}

.pillar-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(15, 17, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.pillar-chip-blue,
.pillar-chip-purple {
  color: var(--accent-purple-bright);
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(217, 119, 6, 0.25);
}

.pillar-chip-green {
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(6, 78, 59, 0.5);
}

.pillar-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-purple-bright);
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #ffffff; /* Legenda/Título branco solicitado pelo usuário */
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar-text {
  font-size: 0.92rem;
  color: var(--card-text-secondary); /* Cinza prateado claro legível */
  line-height: 1.6;
  margin-bottom: 20px;
}

.pillar-bullets {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-bullets li {
  font-size: 0.84rem;
  color: var(--card-text-primary);
  position: relative;
  padding-left: 16px;
}

.pillar-bullets li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--accent-purple-light);
}

/* ==========================================================================
   6. ESPECIALIDADES & SERVIÇOS (CARDS ESCUROS COM LEGENDAS BRANCAS)
   - Solicitado pelo usuário: "pode deixar da cor que estava, os cards escuros
     com a legenda branca".
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.services-grid-4 {
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 860px) {
  .services-grid.services-grid-4,
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px;
  }

  .services-grid-4 .service-card {
    padding: 38px 36px;
    min-height: 240px;
  }
}

.service-card {
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: rgba(245, 158, 11, 0.28);
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff; /* Legenda branca solicitada pelo usuário */
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--card-text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-badge {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-purple-bright);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   7. GALERIA INTERATIVA ANTES E DEPOIS (SLIDER)
   ========================================================================== */
.compare-tabs-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  width: 100%;
}

.compare-tabs-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  flex: 1;
  min-width: 0;
}

.compare-tabs-container::-webkit-scrollbar {
  display: none;
}

.compare-tabs-container.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.compare-tabs {
  display: flex;
  gap: 12px;
  min-width: max-content;
  align-items: center;
}

.tab-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--card-text-primary);
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transition: all var(--transition-fast);
}

.tab-arrow-btn:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.tab-arrow-btn:active {
  transform: scale(0.94);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--card-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--border-card-hover);
}

.tab-btn.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.tab-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-purple-bright);
  background: rgba(245, 158, 11, 0.2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Barra de Navegação entre Casos (Mobile & Desktop) */
.case-navigation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.case-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.case-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.case-nav-btn:active {
  transform: translateY(1px);
}

.case-indicator-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.case-dot.active {
  width: 24px;
  border-radius: 6px;
  background: var(--accent-purple-bright);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.comparison-showcase {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.comparison-case {
  display: none;
}

.comparison-case.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

.case-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.case-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-amber);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.case-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
  margin-bottom: 6px;
}

.case-desc {
  font-size: 0.92rem;
  color: var(--card-text-secondary);
}

.slider-controls-toolbar {
  display: inline-flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-start;
}

.btn-toggle-view {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--card-text-secondary);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-toggle-view:hover {
  color: #ffffff;
}

.btn-toggle-view.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* O Componente Slider em si (Câmara Estúdio Dark para Alto Contraste de Metais) */
.slider-compare {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  height: clamp(380px, 54vw, 620px);
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  background: #090a0d;
}

.img-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background: #090a0d;
}

.img-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  display: block;
}

.img-after {
  left: 0;
  right: 0;
  width: 100%;
}

.img-before {
  left: 0;
  z-index: 2;
  border-right: 2px solid var(--accent-purple-light);
  background: #090a0d;
}

/* Mantém o aspect ratio idêntico na imagem de cima para alinhamento pixel-perfect */
.img-before img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.layer-pill {
  position: absolute;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 5;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.pill-before {
  left: 14px;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
}

.pill-after {
  right: 14px;
  background: rgba(5, 150, 105, 0.9);
  color: #ffffff;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

.handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent-purple-light);
  box-shadow: 0 0 12px var(--accent-purple);
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent-purple);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.25), 0 0 14px var(--accent-purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  cursor: ew-resize;
  pointer-events: auto;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.handle-button:hover,
.slider-compare:active .handle-button {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 24px var(--accent-purple);
}

/* Métricas do rodapé do caso */
.case-footer-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
}

.m-label {
  color: var(--card-text-muted);
}

.m-val {
  color: var(--accent-purple-bright);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Card Extra de Castelos Difusores */
.castelos-extra-card {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.castelos-img-wrap {
  height: 260px;
}

.castelos-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.castelos-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-purple-bright);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 600;
}

.castelos-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.castelos-desc {
  font-size: 0.92rem;
  color: var(--card-text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.castelos-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.c-badge {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   8. PADRÃO DE ORGANIZAÇÃO & TUBULAÇÕES (CARDS ESCUROS COM LEGENDA BRANCA)
   ========================================================================== */
.org-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.org-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
}

.org-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.org-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-purple-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.org-card-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff; /* Legenda branca no card escuro */
}

.org-card-text {
  font-size: 0.92rem;
  color: var(--card-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.org-compare-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.org-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.org-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.org-thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.badge-red {
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
}

.badge-green {
  background: rgba(5, 150, 105, 0.9);
  color: #fff;
}

.org-thumb-caption {
  display: block;
  font-size: 0.75rem;
  color: var(--card-text-secondary);
  padding: 6px 10px;
  background: rgba(15, 17, 23, 0.95);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.org-media-feature {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.org-large-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.org-media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.92) 100%);
  display: flex;
  flex-direction: column;
}

.overlay-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-amber);
  font-weight: 600;
}

.overlay-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.org-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.org-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--card-text-primary);
}

.org-features svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================================================
   9. VÍDEO & GARANTIA ZERO VAZAMENTO
   ========================================================================== */
.leak-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.leak-content {
  display: flex;
  flex-direction: column;
}

.section-lead {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 16px;
  font-style: italic;
  border-left: 3px solid var(--accent-purple-dark);
  padding-left: 16px;
  color: var(--text-pure);
}

.section-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.leak-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.leak-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.lp-bullet {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-purple-bright);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.lp-body {
  display: flex;
  flex-direction: column;
}

.lp-body strong {
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.lp-body span {
  font-size: 0.82rem;
  color: var(--card-text-secondary);
  line-height: 1.45;
}

/* Vídeo Player Custom */
.video-container {
  padding: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vh-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vh-rec-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.vh-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--card-text-secondary);
}

.vh-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-purple-bright);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.video-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  aspect-ratio: 16 / 9;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #F59E0B;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  z-index: 5;
}

.video-play-btn svg {
  color: #0F172A;
  fill: #0F172A;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #D97706;
  color: #0F172A;
  box-shadow: 0 0 35px rgba(217, 119, 6, 0.85);
}

.video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 6;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.video-wrapper:hover .video-controls-bar,
.video-wrapper.playing:hover .video-controls-bar {
  opacity: 1;
}

.v-btn {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.v-progress-container {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.v-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-purple-light);
  border-radius: 3px;
}

.video-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. ESCALA TÉCNICA DE VÁCUO (CARDS ESCUROS COM LEGENDA BRANCA)
   ========================================================================== */
.vacuum-scale-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.scale-card {
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
}

.scale-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--card-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.scale-badge-amber {
  color: var(--accent-amber);
}

.scale-badge-cyan {
  color: var(--accent-purple-bright);
}

.scale-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff; /* Legenda branca no card escuro */
  margin-bottom: 8px;
}

.scale-range {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-purple-bright);
  margin-bottom: 12px;
}

.scale-desc {
  font-size: 0.88rem;
  color: var(--card-text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.scale-tech {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--card-text-primary);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.scale-card-featured {
  border: 2px solid var(--accent-purple);
  background: linear-gradient(180deg, rgba(32, 26, 16, 0.98) 0%, rgba(18, 20, 26, 0.98) 100%);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
}

/* ==========================================================================
   11. FAQ ACCORDION (CARDS ESCUROS COM PERGUNTAS BRANCAS)
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-card-hover);
}

.faq-item.active {
  border-color: var(--accent-purple);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff; /* Pergunta branca no card escuro */
}

.faq-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent-purple-light);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--card-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   12. FORMULÁRIO DE CONTATO & ORÇAMENTO (PAINEL ESCURO COM LEGENDA BRANCA)
   ========================================================================== */
.contact-box {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #ffffff; /* Legenda branca no card escuro */
  margin-bottom: 14px;
  line-height: 1.25;
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--card-text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-card-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.cci-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cci-text {
  display: flex;
  flex-direction: column;
}

.cci-label {
  font-size: 0.75rem;
  color: var(--card-text-muted);
}

.cci-val {
  font-size: 0.94rem;
  color: #ffffff;
  font-weight: 600;
}

.security-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--card-text-secondary);
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Formulário em si */
.contact-form-wrapper {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--card-text-secondary);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--card-text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
  background: rgba(0, 0, 0, 0.7);
}

.form-group select option {
  background-color: #13151b;
  color: #ffffff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ==========================================================================
   GOOGLE MAPS FULL WIDTH (DE PONTA A PONTA DA TELA)
   ========================================================================== */
.full-map-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.map-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.map-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.map-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.map-icon {
  color: var(--accent-purple-dark);
  flex-shrink: 0;
}

.map-info-text {
  display: flex;
  flex-direction: column;
}

.map-info-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-purple-dark);
  margin-bottom: 2px;
  font-weight: 600;
}

.map-info-address {
  font-size: 0.95rem;
  color: var(--text-pure);
  font-weight: 600;
}

.map-container-full {
  width: 100%;
  height: 440px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.map-container-full iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  margin: 0;
}

/* ==========================================================================
   13. RODAPÉ INSTITUCIONAL - Base sólida e imponente em ardósia escura
   ========================================================================== */
.site-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 70px 0 0;
  font-size: 0.9rem;
  margin-top: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.f-brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-bio {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-purple-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links span {
  color: #cbd5e1;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-purple-light);
}

.footer-contact-p {
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-contact-p strong {
  color: #f1f5f9;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  background: #090d16;
  padding: 22px 0;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

/* ==========================================================================
   14. BOTÃO FLUTUANTE WHATSAPP & MODAL DE VÍDEO
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
}

.whatsapp-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2.5s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-pure);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Modal Player */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  z-index: 2;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #ffffff;
}

.modal-close {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--card-text-secondary);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 0;
  background: #000;
}

.modal-body video {
  width: 100%;
  max-height: 75vh;
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   15. BREAKPOINTS RESPONSIVOS (MOBILE-FIRST)
   ========================================================================== */

/* Mobile Compacto (< 600px) */
@media (max-width: 600px) {
  .header-actions .btn {
    display: none;
  }

  .header-container {
    height: 68px;
  }

  .brand-logo {
    gap: 10px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }
}

/* Tablet (>= 640px) */
@media (min-width: 640px) {
  .hero-kpis {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-compare-side {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-footer-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vacuum-scale-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop Intermediário (>= 900px) */
@media (min-width: 900px) {
  .nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .hero-section .hero-container {
    max-width: 1440px;
    padding-left: clamp(16px, 3.5vw, 48px);
    padding-right: clamp(16px, 3.5vw, 48px);
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
  }

  .hero-content {
    justify-self: start;
    margin-left: 0;
  }

  .hero-showcase {
    justify-self: end;
    width: 100%;
    max-width: 530px;
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid.services-grid-4,
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .org-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leak-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .contact-box {
    padding: 48px;
  }

  .castelos-extra-card {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .castelos-img-wrap {
    height: 100%;
    min-height: 280px;
  }

  .case-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .footer-container {
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  }

  .footer-bottom-flex {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Large Desktop (>= 1200px) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 60px 0 80px;
  }

  .hero-section .hero-container {
    max-width: 1540px;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
  }

  .hero-content {
    max-width: 680px;
  }

  .showcase-img {
    height: 420px;
  }
}

