/* ==========================================================================
   EXSTO Automation — Estilos da Página Inicial
   ========================================================================== */

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0B1638;
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: #43C1C6;
  text-decoration: none;
}

a:hover {
  color: #8BE3E6;
}

/* ==========================================================================
   Área do Fundo (Desativada / Bloqueada para Cliques)
   ========================================================================== */
.background-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Desativa cliques, seleção e interações no fundo */
  pointer-events: none;
  user-select: none;
  filter: brightness(0.65) blur(1.5px);
  transition: filter 0.3s ease;
}

/* ==========================================================================
   Cabeçalho (Header)
   ========================================================================== */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(16px, 4vw, 56px);
  background: #0B1638;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-logo {
  height: 54px;
  width: auto;
  display: block;
}

.lang-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #C9D3EC;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.lang-btn.active {
  border-color: #43C1C6;
  background: rgba(67, 193, 198, 0.12);
  color: #FFFFFF;
}

.lang-btn:hover {
  border-color: #43C1C6;
}

.flag-icon {
  border-radius: 3px;
  display: block;
}

/* ==========================================================================
   Seção Hero / Chamada Principal
   ========================================================================== */
.hero-section {
  padding: 44px clamp(16px, 4vw, 56px) 36px;
  text-align: center;
  background: #0B1638;
}

.hero-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.hero-subtitle {
  margin: 4px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #43C1C6;
}

/* ==========================================================================
   Painéis Verticais (Saneamento & Indústria)
   ========================================================================== */
.main-panels {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-height: 560px;
}

.vpanel {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF;
  flex: 1 1 480px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.vpanel:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.vpanel .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.vpanel-industria .bg {
  object-position: 60% 30%;
}

.vpanel:hover .bg {
  transform: scale(1.06);
}

.vpanel-overlay {
  position: absolute;
  inset: 0;
}

.vpanel-saneamento .vpanel-overlay {
  background: linear-gradient(180deg, rgba(11, 22, 56, 0.35) 0%, rgba(11, 22, 56, 0.55) 45%, rgba(9, 62, 84, 0.92) 100%);
}

.vpanel-industria .vpanel-overlay {
  background: linear-gradient(180deg, rgba(11, 22, 56, 0.30) 0%, rgba(11, 22, 56, 0.55) 45%, rgba(11, 22, 56, 0.94) 100%);
}

.vpanel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(28px, 4vw, 56px);
}

.vpanel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

.vpanel-icon-saneamento {
  background: #43C1C6;
  color: #0B1638;
}

.vpanel-icon-industria {
  background: #1E9BD7;
  color: #FFFFFF;
}

.vpanel-title {
  margin: 0;
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.vpanel-desc {
  margin: 0;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.5;
  color: #E3EAF7;
}

.vpanel .cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid #FFFFFF;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: gap .3s ease, background .3s ease;
  color: #FFFFFF;
}

.vpanel:hover .cta {
  gap: 18px;
  background: #FFFFFF;
  color: #0B1638;
}

/* ==========================================================================
   Rodapé (Footer)
   ========================================================================== */
.site-footer {
  background: #081030;
  border-top: 3px solid #43C1C6;
  padding: 28px clamp(16px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 16px;
  color: #DCE4F3;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-whatsapp:hover {
  color: #43C1C6;
}

/* ==========================================================================
   Overlay e Banner Ativo (Em Breve)
   ========================================================================== */
/* Bloqueador de cliques da tela inteira por trás do aside */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(11, 22, 56, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: all;
  cursor: default;
}

/* O Aside que é o ÚNICO elemento ativo */
.coming-soon-banner {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-height: 280px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  box-sizing: border-box;
  overflow: hidden;
  background: rgba(150, 214, 240, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 60px rgba(11, 22, 56, 0.45);
  pointer-events: auto; /* Mantém cliques e interações ativos exclusivamente aqui */
}

.soon-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0) 65%);
  background-size: 250% 100%;
  animation: soonSheen 7s linear infinite;
  pointer-events: none;
}

@keyframes soonSheen {
  from {
    background-position: 160% 0;
  }
  to {
    background-position: -60% 0;
  }
}

.soon-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 920px;
  text-align: center;
  color: #0B1638;
}

.soon-logo {
  height: 42px;
  width: auto;
  display: block;
}

.soon-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #0B1638;
}

.soon-desc {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  color: #0B1638;
}

.soon-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #0B1638;
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(11, 22, 56, 0.25);
  cursor: pointer;
}

.soon-cta:hover {
  transform: translateY(-2px);
  background: #142456;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(11, 22, 56, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .soon-sheen {
    animation: none;
  }
}

