/* Elétrica Mec - Estilos principais + toque moderno */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --primary: #26589D;
  --primary-light: #3d6eb5;
  --accent: #01AFF0;
  --text: #1a1d21;
  --text-muted: #5c6370;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(38, 88, 157, 0.08);
  --shadow-hover: 0 12px 40px rgba(38, 88, 157, 0.15);
  --transition: 0.3s ease;
}
body {
  font-family: var(--font-sans);
  color: var(--text);
}

/* ---- Header ---- */
/* Degradê: branco à esquerda (logo) → azul institucional à direita (menus) */
.navbar-eletrica {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #eef3f9 14%,
    #8faed4 38%,
    #2d5a94 58%,
    #1e467a 78%,
    #1e467a 100%
  ) !important;
  min-height: 70px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
/* Texto da marca quando não há imagem (fica sobre o branco do degradê) */
.navbar-eletrica .navbar-brand-text {
  color: #1e467a !important;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-shadow: none;
}
.navbar-eletrica .nav-link {
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.navbar-eletrica .nav-link:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}
.navbar-eletrica .nav-link.active {
  color: #fff !important;
  border-bottom-color: #01AFF0;
}
.navbar-eletrica .dropdown-toggle::after {
  color: rgba(255, 255, 255, 0.9);
}
.navbar-eletrica .dropdown-menu-eletrica {
  background: #1e467a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-hover);
}
.navbar-eletrica .dropdown-menu-eletrica .dropdown-item {
  color: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
}
.navbar-eletrica .dropdown-menu-eletrica .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ========== BANNERS PADRÃO ÚNICO (todas as páginas) ========== */
/* Altura padrão: 42vh (mín. 320px) em todas as páginas internas; home 48vh */
.page-banner,
.banner-full-area.hero-single {
  position: relative;
  overflow: hidden;
  min-height: 42vh;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.banner-full-area.hero-single {
  min-height: 48vh;
}
.page-banner .page-banner-bg,
.hero-single .banner-full-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Páginas internas (Sobre, Serviços, Contato): imagem com mais foco, sem desfoque */
.page-banner .page-banner-bg {
  filter: brightness(0.78);
}
/* Home: imagem com mais foco (sem desfoque) para valorizar a foto */
.hero-single .banner-full-bg.banner-blur {
  filter: brightness(0.82);
}
/* Overlay: gradiente azul para leitura (menos opaco para a imagem aparecer) */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(38, 88, 157, 0.55) 0%,
    rgba(20, 50, 90, 0.65) 100%
  );
}
.banner-full-overlay {
  content: '';
  background: linear-gradient(
    90deg,
    rgba(180, 60, 40, 0.82) 0%,
    rgba(120, 50, 45, 0.6) 35%,
    rgba(38, 88, 157, 0.5) 65%,
    rgba(30, 50, 80, 0.4) 100%
  );
}
.page-banner .container,
.banner-full-content {
  position: relative;
  z-index: 2;
}
.min-vh-hero {
  min-height: 48vh;
  min-height: 320px;
}
.page-banner-title,
.hero-titulo-ref {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.hero-titulo-ref {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}
.hero-lead-ref {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  opacity: 0.95;
}
/* Botão hero: azul claro, cantos arredondados */
.btn-hero-cta {
  background: #01AFF0;
  color: #fff !important;
  border: 0;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.btn-hero-cta:hover {
  background: #0299d4;
  color: #fff !important;
}

/* ---- Serviços: 3 cards ---- */
.services-section {
  background: #E9ECEF;
}
.card-servico {
  background: #26589D;
  color: #fff;
  border-radius: 0;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: background 0.25s ease;
}
.card-servico:hover {
  background: #1e467a;
}
/* Ícones dos cards em azul claro */
.card-servico-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  color: #01AFF0;
}
.card-servico-titulo {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.services-section-title {
  color: #2c3e50;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
}
.services-section-texto {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---- Red Vent + Qualificações ---- */
.red-vent-section {
  background: #E9ECEF;
}
.red-vent-img {
  max-width: 220px;
}
.red-vent-title {
  color: #FF3131;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.red-vent-title .resto {
  color: #2c3e50;
  font-weight: 600;
}
.qualificacoes-title {
  font-weight: 700;
  color: #26589D;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
/* Badges: borda azul, fundo claro */
.nr-badges-ref {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}
.nr-badge-ref {
  display: inline-block;
  background: #fff;
  color: #26589D;
  border: 2px solid #26589D;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Compromisso e Confiança (seções abaixo de Serviços) */
.compromisso-title,
.confianca-title {
  color: #2c3e50;
  font-size: 1.35rem;
}
.link-page {
  color: #dc3545 !important;
  font-size: 0.85rem;
}
.link-page:hover {
  text-decoration: underline !important;
  color: #c82333 !important;
}

/* Navbar logo (quando usar imagem) */
.navbar-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Parceiros carousel */
.carousel-parceiros .parceiro-logo {
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(0.6);
}
.carousel-control-parceiros {
  width: 40px;
  opacity: 0.8;
}
.authority-logo {
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(0.7);
  opacity: 0.85;
}

/* Página Clientes - grid de logos */
.clientes-page .clientes-logo-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(38, 88, 157, 0.08);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.clientes-page .clientes-logo-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.clientes-page .clientes-logo-img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.5);
  transition: filter 0.25s ease;
}
.clientes-page .clientes-logo-box:hover .clientes-logo-img {
  filter: grayscale(0);
}

/* ---- Footer melhorado ---- */
.footer-eletrica {
  background: linear-gradient(180deg, #1e467a 0%, #163558 100%);
  color: rgba(255, 255, 255, 0.95);
}
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(1, 175, 240, 0.25);
  color: #01AFF0;
  border-radius: var(--radius);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.footer-col-title {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-info {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #01AFF0;
}
.footer-bottom {
  background: rgba(0, 0, 0, 0.15);
}
.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}
.footer-nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-link:hover {
  color: #01AFF0;
}
.footer-credit {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}
.footer-credit .footer-link {
  color: rgba(255, 255, 255, 0.9);
}
.footer-credit .footer-link:hover {
  color: #01AFF0;
}

/* Botão WhatsApp flutuante */
.btn-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 999;
  text-decoration: none;
}
.btn-whatsapp-float:hover {
  color: #fff;
  transform: scale(1.05);
}

/* ---- Página Sobre Nós (moderna) ---- */
.sobre-page .py-5.bg-white {
  background: #f8f9fb !important;
}
.sobre-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
}
.sobre-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.sobre-page .bg-light {
  background: #fff !important;
  box-shadow: 0 -1px 0 rgba(0,0,0,0.06);
}
/* Título dentro da caixa (evita “sair” do card no mobile) */
.sobre-mvv-title {
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(38, 88, 157, 0.12);
}
.sobre-mvv-row > [class*='col-'] {
  min-width: 0;
}
.sobre-mvv-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(38, 88, 157, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .sobre-mvv-box {
    padding: 1.75rem;
    min-height: 100%;
  }
}
.sobre-mvv-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.sobre-mvv-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  flex: 1 1 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.sobre-qualificacao-title {
  color: var(--primary);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  margin-bottom: 1rem !important;
}
.sobre-qualificacao-intro {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}
.sobre-lista-pontos {
  list-style: none;
  padding-left: 0;
  color: var(--text);
  line-height: 1.8;
}
.sobre-lista-pontos li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}
.sobre-lista-pontos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.sobre-lista-setas {
  list-style: none;
  padding-left: 0;
  color: var(--text);
  line-height: 1.8;
}
.sobre-lista-setas li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
}
.sobre-lista-setas li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent);
}

/* ---- Página Serviços (moderna) ---- */
.servicos-page .servicos-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.servicos-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.6);
}
.servicos-page .servicos-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38, 88, 157, 0.88) 0%, rgba(20, 50, 90, 0.85) 100%);
  z-index: 0;
}
.servicos-hero .container {
  z-index: 1;
}
.servicos-hero-title {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.servicos-page .py-5.bg-white {
  background: #f8f9fb !important;
}
.servicos-section-title {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  margin-bottom: 1.5rem !important;
}
.servicos-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.servicos-page .rounded.shadow {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.servicos-azul {
  background: linear-gradient(160deg, #26589D 0%, #1e467a 100%);
  position: relative;
}
.servicos-azul-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.servicos-azul-item {
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  line-height: 1.7;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  height: 100%;
  transition: background var(--transition), transform var(--transition);
}
.servicos-azul-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.servicos-azul-item i {
  color: #01AFF0;
  font-size: 1.1rem;
}
.servicos-page .bg-light {
  background: #fff !important;
}
.carousel-servicos {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.carousel-servicos-img {
  max-height: 420px;
  object-fit: cover;
}
.carousel-servicos .carousel-control-prev,
.carousel-servicos .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(38, 88, 157, 0.9);
  opacity: 1;
  border: 2px solid rgba(255,255,255,0.3);
}
.servicos-ensaios-title {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  margin-bottom: 1.5rem !important;
}
.servicos-ensaios-item {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid rgba(38, 88, 157, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.servicos-ensaios-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.servicos-ensaios-item i {
  font-size: 1.25rem;
  color: var(--primary);
}
.servicos-page .btn-primary {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.servicos-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(38, 88, 157, 0.35);
}

/* ---- Página Soprador Térmico Red Vent ---- */
.soprador-hero-banner {
  background: linear-gradient(90deg, #26589D 0%, #26589D 45%, #2d6bb8 70%, #3a7ac9 100%);
  min-height: 42vh;
  min-height: 320px;
  padding: 3rem 0;
  border-top: 3px solid rgba(255, 255, 255, 0.15);
}
.soprador-hero-row {
  min-height: 38vh;
  min-height: 260px;
}
.soprador-hero-produto-img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.soprador-hero-nome {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.02em;
}
.soprador-secao-titulo {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.soprador-lista-aplicacoes li {
  margin-bottom: 1rem;
  padding-left: 0;
  line-height: 1.65;
  color: var(--text);
}
.soprador-especs {
  background: #2c3e50;
  color: rgba(255, 255, 255, 0.9);
}
.soprador-especs-titulo {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.soprador-espec-item {
  padding: 1.25rem;
  height: 100%;
}
.soprador-espec-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}
.soprador-espec-nome {
  color: #fff;
  font-size: 1.05rem;
}
.soprador-espec-texto {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}
.soprador-cta-titulo {
  color: var(--text);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

/* ---- Contato: ícones e formulário moderno (Bootstrap 5 + mobile) ---- */
.contato-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 88, 157, 0.1);
  border-radius: var(--radius);
  font-size: 1.25rem;
}
.form-contato-moderno .input-group-text {
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(38, 88, 157, 0.06);
  border-color: rgba(38, 88, 157, 0.2);
}
.form-contato-moderno .form-control {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-color: rgba(38, 88, 157, 0.2);
}
.form-contato-moderno .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(1, 175, 240, 0.2);
}
.form-contato-moderno .input-group-lg .input-group-text {
  padding: 0.75rem 1rem;
}
@media (min-width: 768px) {
  .form-contato-moderno .btn-lg.w-100 { width: auto; }
}

/* ---- Sobre: ícones MVV ---- */
.sobre-mvv-title .bi {
  font-size: 1.1em;
  margin-right: 0.35rem;
  vertical-align: -0.15em;
}

/* ---- UX unificada: mobile e web (Bootstrap 5) ---- */
@media (max-width: 767.98px) {
  .page-banner,
  .banner-full-area.hero-single {
    min-height: 38vh;
    min-height: 280px;
  }
  .page-banner-title,
  .hero-titulo-ref {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
  }
}
/* Áreas de toque e foco visível (mobile + acessibilidade) */
.btn:not(.btn-sm) { min-height: 44px; }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; }
.form-contato-moderno .input-group-lg .form-control,
.form-contato-moderno .input-group-lg .input-group-text { min-height: 52px; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
