/* =====================================================================
   GEOVEX Industrial — logo novo no cabeçalho/rodapé + tela de abertura
   Arquivo independente: para desligar a abertura, basta remover o
   bloco "GEOVEX: tela de abertura" do index.html.
   ===================================================================== */

/* ---- Logo novo (cabeçalho e rodapé) ---- */
.logo-link img{height:26px; width:auto;}
.foot-logo{height:46px; width:auto; filter:none;}
@media (max-width:560px){
  .logo-link img{height:22px;}
}

/* ---- Tela de abertura ---- */
.gx-pre{
  position:fixed; inset:0; z-index:99999;
  display:flex; align-items:center; justify-content:center;
  background:#071326;
  color:#b9d6f5;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  transition:opacity .55s ease, visibility 0s linear .55s;
  /* trava de segurança: se o JavaScript falhar, a tela some sozinha */
  animation:gxFailsafe .5s ease 6s forwards;
}
html.gx-skip .gx-pre{display:none;}
html.gx-loading, html.gx-loading body{overflow:hidden;}
.gx-pre.gx-done{opacity:0; visibility:hidden; pointer-events:none;}
.gx-pre.gx-done .gx-pre-inner{transform:scale(1.04);}
.gx-pre-inner{
  width:min(78vw, 520px);
  display:flex; flex-direction:column; align-items:center;
  transition:transform .55s ease;
}
.gx-logo{width:100%; height:auto; display:block; overflow:visible;}

/* letras desenhadas pelo traço */
.gx-d{stroke-dasharray:1.03 1.03; stroke-dashoffset:1.03; animation:gxDraw .75s cubic-bezier(.6,.05,.25,1) forwards;}
.gx-d1{animation-delay:.05s;}
.gx-d2{animation-delay:.17s;}
.gx-d3{animation-delay:.29s;}
.gx-d5{animation-delay:.53s;}
/* letras cheias (V e X) */
.gx-f{opacity:0; animation:gxFade .45s ease forwards;}
.gx-f4{animation-delay:.5s;}
.gx-f6{animation-delay:.74s;}
/* INDUSTRIAL + filetes */
.gx-ind{opacity:0; animation:gxFade .5s ease 1.05s forwards;}
.gx-rule{transform-box:fill-box; transform:scaleX(0); animation:gxRule .55s cubic-bezier(.6,.05,.25,1) 1.15s forwards;}
.gx-rule-l{transform-origin:right center;}
.gx-rule-r{transform-origin:left center;}

/* barra de progresso */
.gx-bar{
  width:100%; height:3px; margin-top:34px;
  background:rgba(255,255,255,.12); border-radius:3px; overflow:hidden;
}
.gx-bar span{
  display:block; height:100%; width:100%;
  background:#1E9BFF; border-radius:3px;
  transform:scaleX(0); transform-origin:left center;
  transition:transform .7s cubic-bezier(.4,0,.2,1);
}

/* linha de status */
.gx-status{
  margin-top:16px; min-height:22px;
  display:flex; align-items:center; justify-content:center; gap:9px;
  font-size:13px; font-weight:600; letter-spacing:.04em; text-align:center;
}
.gx-ic{width:20px; height:20px; flex:none; color:#1E9BFF;}
.gx-ic-gear{animation:gxSpin 1.6s linear infinite;}
.gx-ic-ok{display:none; color:#35d07f;}
.gx-pre.gx-ok .gx-ic-gear{display:none;}
.gx-pre.gx-ok .gx-ic-ok{display:block; animation:gxPop .35s cubic-bezier(.3,1.6,.5,1) both;}
.gx-pre.gx-ok .gx-status{color:#ffffff;}

@keyframes gxDraw{to{stroke-dashoffset:0;}}
@keyframes gxFade{from{opacity:0;} to{opacity:1;}}
@keyframes gxRule{to{transform:scaleX(1);}}
@keyframes gxSpin{to{transform:rotate(360deg);}}
@keyframes gxPop{from{transform:scale(.4); opacity:0;} to{transform:scale(1); opacity:1;}}
@keyframes gxFailsafe{to{opacity:0; visibility:hidden; pointer-events:none;}}

@media (max-width:560px){
  .gx-bar{margin-top:26px;}
  .gx-status{font-size:12px;}
}
@media (prefers-reduced-motion: reduce){
  .gx-d{animation:none; stroke-dashoffset:0;}
  .gx-f, .gx-ind{animation:none; opacity:1;}
  .gx-rule{animation:none; transform:none;}
  .gx-ic-gear{animation:none;}
  .gx-pre, .gx-pre-inner, .gx-bar span{transition-duration:.01s;}
}

/* =====================================================================
   Ajustes do banner no celular e tablet (até 900px)
   - remove a coluna escura que aparecia ao lado do texto
   - tira o botão "Ver produtos" que ficava por cima do título
   ===================================================================== */
@media (max-width:900px){
  .hero{display:block;}
  .hero-location-tag{display:none;}
  .hero-slide-cta{display:none;}
  .hero-bg{height:78vw; max-height:460px; min-height:300px;}
  .hero-bg::after{background:linear-gradient(180deg, rgba(10,37,64,.10) 0%, rgba(10,37,64,.45) 45%, rgba(10,37,64,.92) 82%, var(--navy) 100%);}
  .hero-inner{padding:clamp(120px, 38vw, 230px) 18px 30px; gap:20px;}
  .hero-benefits{display:grid; grid-template-columns:1fr 1fr; gap:12px 14px;}
  .hero-ctas .btn{justify-content:center; text-align:center; min-height:50px;}
  .hero-badge-card{width:100%;}
}
@media (max-width:360px){
  .hero-benefits{grid-template-columns:1fr;}
}

/* Ícone oficial do WhatsApp (só entra se o arquivo img/whatsapp-oficial.svg existir) */
img.gx-wpp-oficial{display:block; flex:none; width:18px; height:18px;}
.wpp-float img.gx-wpp-oficial{width:34px; height:34px;}

/* =====================================================================
   Cabeçalho no computador: antes o carrinho ficava cortado para fora da
   tela em notebooks. Agora o menu é mais compacto e, em telas de até
   1360px, vira o botão de menu (igual ao celular).
   ===================================================================== */
header.main .header-row{max-width:1520px;}
@media (min-width:1361px){
  .header-row{gap:18px;}
  .header-nav{gap:14px;}
  .header-nav a{font-size:12.5px; letter-spacing:.01em;}
}
@media (min-width:1361px) and (max-width:1560px){
  .header-nav{gap:11px;}
  .header-nav a{font-size:12px; letter-spacing:0;}
  .logo-link img{height:24px;}
  .header-actions .icon-btn .lbl{display:none;}
}
@media (min-width:901px) and (max-width:1360px){
  .header-nav{display:none;}
  .burger{display:flex; background:var(--panel-2); border:1px solid var(--line-strong); border-radius:8px; width:40px; height:40px; align-items:center; justify-content:center; color:var(--navy);}
  .burger svg{width:20px; height:20px;}
  .header-nav.mobile-open{
    display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:#fff;
    border-bottom:1px solid var(--line); padding:16px 22px; gap:14px; z-index:45; align-items:flex-start;
  }
  .header-nav.mobile-open a{font-size:14px;}
}
