/* ==========================================================================
   COOLMAY BRASIL - SERVIÇOS INDUSTRIAIS & ENGENHARIA
   Dominio: coolmay-brasil.com
   Design System: UI/UX Premium Minimalista (Identidade scada.coolmay-brasil.com)
   Layout: Corporativo Simétrico e Modular (Sem Bento Grid)
   ========================================================================== */

:root {
  color-scheme: light;

  /* Paleta UI/UX Premium SCADA COOLMAY */
  --ink: #09090b;
  --az: #0070f3;
  --az2: #0051a2;
  --az3: #3291ff;
  --bg: #ffffff;
  --alt: #fafafa;
  --line: #e4e4e7;
  --txt: #18181b;
  --dim: #52525b;
  --dim2: #a1a1aa;
  --ok: #10b981;
  --ok2: #059669;
  --amb: #f59e0b;
  --red: #ef4444;

  /* Geometria e Superfícies */
  --r: 16px;
  --r-sm: 8px;
  --r-btn: 10px;
  --r-panel: 24px;
  --container-width: 1160px;

  /* Sombras Vercel / Apple */
  --sh1: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --sh2: 0 4px 8px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.06);

  /* Transições e Curvas de Aceleração */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fast: 0.18s ease;

  /* Tipografia */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-size: 16px;
  line-height: 1.65;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Utilitários de Layout */
.container, .w {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: clamp(56px, 8vw, 92px) 0;
  position: relative;
}

.section-alt, .alt {
  background-color: var(--alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Cabeçalhos de Seção Padronizados */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--az2);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--az2), transparent);
}

.section-title {
  font-size: clamp(25px, 3.4vw, 34px);
  letter-spacing: -0.9px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--dim);
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.6;
}

/* ==========================================================================
   Header & Barra de Navegação
   ========================================================================== */
.top-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: var(--dim);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--az);
}

.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all var(--ease);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo img,
.brand-logo svg {
  height: 42px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

.brand-tagline {
  font-size: 11px;
  color: var(--az2);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-left: 2px solid var(--line);
  padding-left: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--dim);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color var(--ease-fast), background var(--ease-fast);
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover {
  color: var(--az);
  background: rgba(0, 112, 243, 0.06);
}

.nav-link.active {
  color: var(--az);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--az2);
}

/* Menu Dropdown de Serviços */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger svg {
  transition: transform var(--ease-fast);
}

.nav-item-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 280px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--ease-fast);
}

.dropdown-item strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.dropdown-item span {
  font-size: 11.5px;
  color: var(--dim2);
  margin-top: 2px;
  line-height: 1.3;
}

.dropdown-item:hover {
  background: #f4f8fe;
}

.dropdown-item:hover strong {
  color: var(--az);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   Botões (Padrão SCADA COOLMAY / Vercel)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

/* b1 / btn-primary: Preto Ink de alto contraste */
.b1, .btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
}
.b1:hover, .btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 8px rgba(0,0,0,.12), 0 12px 24px rgba(0,0,0,.1);
}
.b1:active, .btn-primary:active {
  transform: scale(0.98);
}

/* b2 / btn-outline: Branco com linha sutil e sombra fina */
.b2, .btn-outline {
  background: #ffffff;
  color: var(--txt);
  border-color: var(--line);
  box-shadow: var(--sh1);
}
.b2:hover, .btn-outline:hover {
  border-color: var(--dim2);
  transform: translateY(-1.5px);
  box-shadow: var(--sh2);
}
.b2:active, .btn-outline:active {
  transform: scale(0.98);
}

/* Variação de b2 para dentro de seções escuras (Hero / Banner escuro) */
.hero .b2, .cta-banner .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}
.hero .b2:hover, .cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.42);
}

/* b3 / btn-whatsapp: Verde conversão */
.b3, .btn-whatsapp {
  background: var(--ok);
  color: #ffffff;
  border-color: transparent;
}
.b3:hover, .btn-whatsapp:hover {
  background: var(--ok2);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Botão Azul Tecnológico */
.btn-accent, .b-az {
  background: var(--az);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3);
}
.btn-accent:hover, .b-az:hover {
  background: var(--az2);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(0, 112, 243, 0.45);
}

.sm {
  padding: 8px 15px;
  font-size: 13px;
  border-radius: var(--r-sm);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Hero Section Tecnológico (Fundo Escuro com Malha e Mesh)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: clamp(56px, 7vw, 84px) 0 clamp(50px, 6vw, 76px);
  background: radial-gradient(1100px 600px at 80% -10%, rgba(0, 112, 243, 0.18) 0%, transparent 62%),
              linear-gradient(158deg, #09090b 0%, #18181b 52%, #09090b 100%);
  border-bottom: 1px solid var(--line);
}

.hero .mesh {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(720px 460px at 22% 34%, #000 0%, transparent 78%);
  mask-image: radial-gradient(720px 460px at 22% 34%, #000 0%, transparent 78%);
}

.hero .w, .hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.tagline, .hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: #bcd4f2;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok2);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

.hero-content h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  font-weight: 700;
  color: #ffffff;
}

.hero-content h1 span.highlight, .hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #8fc0ff, #d7e8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: clamp(15.5px, 1.5vw, 17px);
  color: #b9cee9;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges, .strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #bcd4f2;
  font-weight: 550;
}

.hero-badge-item svg {
  color: var(--az3);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Painel de Cotação Rápida no Hero */
.hero-quick-card {
  background: rgba(12, 24, 38, 0.75);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 2.25rem 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  color: #dbe7f5;
}

.hero-quick-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.3px;
}

.hero-quick-card p {
  font-size: 0.875rem;
  color: #93aecf;
  margin-bottom: 1.5rem;
}

.quick-form-group {
  margin-bottom: 1.15rem;
}

.quick-form-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: #dbe7f5;
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   Campos de Formulário (com Focus em --az2)
   ========================================================================== */
input, select, textarea, .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: #fbfcfe;
  color: var(--txt);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast);
}

.hero-quick-card input, 
.hero-quick-card select, 
.hero-quick-card textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.hero-quick-card input:hover, 
.hero-quick-card select:hover, 
.hero-quick-card textarea:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-quick-card input:focus, 
.hero-quick-card select:focus, 
.hero-quick-card textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--az3);
  box-shadow: 0 0 0 4px rgba(50, 145, 255, 0.2);
  color: #ffffff;
}

.hero-quick-card select option {
  background-color: var(--ink);
  color: #ffffff;
}

input:hover, select:hover, textarea:hover, .form-control:hover {
  border-color: #b9d1f0;
}

input:focus, select:focus, textarea:focus, .form-control:focus {
  outline: none;
  border-color: var(--az2);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 111, 219, 0.12);
}

/* ==========================================================================
   Faixa de Pilares Principais (Visão Geral em 5 Eixos)
   ========================================================================== */
.pillars-bar {
  background: var(--bg);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  box-shadow: var(--sh1);
  transition: all 0.25s var(--ease);
}

.pillar-item:hover {
  border-color: var(--dim2);
  transform: translateY(-2px);
  box-shadow: var(--sh2);
}

.pillar-icon, .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--az);
  background: linear-gradient(145deg, #e8f2ff, #d6e7fb);
  box-shadow: inset 0 1px 0 #ffffff;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

.pillar-text h4 {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.25;
}

.pillar-text span {
  font-size: 0.725rem;
  color: var(--dim);
}

/* ==========================================================================
   Grids de Serviços Simétricos e Estruturados (Sem Bento Grid)
   ========================================================================== */
.services-grid-3, .g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.services-grid-2, .g2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.services-grid-4, .g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Card de Serviço Industrial Padrão */
.card, .service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--sh1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.card:hover, .service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh2);
  border-color: var(--dim2);
}

.service-card-media {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #f1f5f9;
  position: relative;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.service-card-media.contain-media {
  background: #ffffff;
  border: 1px solid #edf2f7;
  padding: 8px;
}

.service-card-media.contain-media img {
  object-fit: contain;
}

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

.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e8f2ff, #d6e7fb);
  box-shadow: inset 0 1px 0 #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--az);
  margin-bottom: 1.25rem;
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.65rem;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--dim);
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.service-feature-list {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--txt);
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.service-feature-item:last-child {
  margin-bottom: 0;
}

.service-feature-item svg {
  color: var(--ok);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.service-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.tag, .service-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--az);
  background: #edf5ff;
  border: 1px solid rgba(0, 112, 243, 0.15);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.btn-card-quote {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--az);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-btn);
  padding: 8px 14px;
  cursor: pointer;
  transition: all var(--ease-fast);
}

.btn-card-quote:hover {
  background: var(--az);
  color: #ffffff;
  border-color: var(--az);
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.25);
}

.btn-card-quote svg {
  width: 14px;
  height: 14px;
  transition: transform var(--ease-fast);
}

.btn-card-quote:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Seção de Destaque / Especificações Técnicas (Split Layout)
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.feature-split-content h3 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.feature-split-content p {
  font-size: 0.95rem;
  color: var(--dim);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-box {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-btn);
  box-shadow: var(--sh1);
}

.spec-box-number {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--az);
  margin-bottom: 0.2rem;
  letter-spacing: -0.3px;
}

.spec-box-label {
  font-size: 0.8125rem;
  color: var(--dim);
  line-height: 1.45;
}

.feature-preview-box {
  background: #0e1b2b;
  border: 1px solid #22354b;
  border-radius: var(--r);
  padding: 2.25rem;
  box-shadow: var(--sh2);
  color: #dbe7f5;
  position: relative;
}

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

.preview-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #7ee2a0;
  font-weight: 600;
}

.preview-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok2);
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
}

.preview-row-name {
  font-size: 0.875rem;
  font-weight: 550;
  color: #dbe7f5;
}

.preview-row-val {
  font-size: 0.8125rem;
  color: var(--az3);
  font-family: var(--font-mono);
}

.preview-media {
  width: 100%;
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Diferenciais & Conformidades Regulamentares
   ========================================================================== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.compliance-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--sh1);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.compliance-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh2);
  border-color: var(--dim2);
}

.compliance-badge, .sec-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--az2);
  background: #eef5ff;
  border: 1px solid #d4e5ff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-btn);
  margin-bottom: 1rem;
}

.compliance-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.compliance-card p {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.55;
}

/* ==========================================================================
   Como Trabalhamos (Processo em 4 Etapas)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 20px;
  box-shadow: var(--sh1);
  position: relative;
  transition: all 0.3s var(--ease);
}

.process-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh2);
  border-color: var(--dim2);
}

.process-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #e2e8f0;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
}

.process-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.55;
}

/* ==========================================================================
   Seção de Orçamento / Conversão WhatsApp
   ========================================================================== */
.cta-banner {
  background: radial-gradient(1100px 500px at 80% -10%, rgba(0, 112, 243, 0.2) 0%, transparent 62%),
              linear-gradient(158deg, #09090b 0%, #18181b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-panel);
  padding: 4rem 3rem;
  box-shadow: var(--sh2);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 720px;
}

.cta-banner h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 750;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1rem;
  color: #b9cee9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Modal de Cotação Rápida WhatsApp
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--sh2);
  color: var(--txt);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--dim);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--ease-fast);
}

.modal-close-btn:hover {
  color: var(--ink);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin-bottom: 0.35rem;
}

.modal-header p {
  font-size: 0.875rem;
  color: var(--dim);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: #334862;
  margin-bottom: 0.4rem;
}

.form-group textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

/* Botão Flutuante de WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--ok);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  z-index: 900;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}

.floating-whatsapp:hover {
  background-color: var(--ok2);
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.55);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

/* ==========================================================================
   Footer (Padrão SCADA COOLMAY: Dark #09090b)
   ========================================================================== */
footer, .footer {
  background: #09090b;
  color: var(--dim2);
  padding: 56px 0 32px;
  font-size: 14px;
  border-top: 1px solid #1f1f22;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--dim2);
  line-height: 1.6;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

.footer-domain-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cfe0f5;
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 11.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #c3d6ee;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--ease-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--dim2);
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  width: 17px;
  height: 17px;
  color: var(--az3);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12.5px;
  color: #6d86a6;
}

/* ==========================================================================
   Responsividade Mobile & Tablet
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .pillars-grid .pillar-item:last-child {
    grid-column: span 1;
  }

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

  .feature-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh2);
    gap: 0.75rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: flex;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--line);
    background: #fbfcfe;
    margin-top: 6px;
    border-radius: 8px;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  .top-bar {
    display: none;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .brand-logo img,
  .brand-logo svg {
    height: 32px;
  }

  .brand-tagline {
    font-size: 9.5px;
    padding-left: 8px;
  }

  .hero-content h1 {
    font-size: 2.15rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .services-grid-3,
  .services-grid-2,
  .services-grid-4,
  .compliance-grid,
  .process-grid,
  .pillars-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid .pillar-item:last-child {
    grid-column: span 1;
  }

  .hero-badges {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
}
