/* =========================================================
   GLOBAL.CSS — INFRONEX PREMIUM FINAL
========================================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --bg-main:#020409;
  --bg-card:rgba(10,17,29,.82);
  --green:#00FF9C;
  --blue:#0A84FF;
  --white:#ffffff;
  --text:#d8d8d8;
  --muted:#9fa7b3;
  --border:rgba(255,255,255,.10);
  --border-green:rgba(0,255,156,.32);
  --shadow:0 30px 90px rgba(0,0,0,.45);
  --glow:0 0 45px rgba(0,255,156,.22);
}

/* =========================================================
   HTML / BODY
========================================================= */

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',Arial,sans-serif;

  background:
    radial-gradient(circle at top left,rgba(10,132,255,.14),transparent 32%),
    radial-gradient(circle at bottom right,rgba(0,255,156,.10),transparent 30%),
    var(--bg-main);

  color:var(--white);
  line-height:1.6;
  overflow-x:hidden;
  min-height:100vh;
}

body::before{
  display:none;
}

/* =========================================================
   BASE
========================================================= */

a{
  color:inherit;
  text-decoration:none;
}

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

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

button{
  cursor:pointer;
}

.container{
  width:88%;
  max-width:1320px;
  margin:0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;

  background:rgba(2,4,9,.72);
  backdrop-filter:blur(20px);

  border-bottom:1px solid rgba(0,255,156,.14);

  box-shadow:0 10px 40px rgba(0,0,0,.30);

  transition:.3s ease;
}

.header-content{
  height:86px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:28px;
}

/* =========================================================
   LOGO
========================================================= */

.logo{
  display:flex;
  align-items:center;
  justify-content:center;

  padding:12px 22px;

  border-radius:20px;

  background:
    linear-gradient(
      145deg,
      rgba(8,14,24,.82),
      rgba(4,8,14,.92)
    );

  border:1px solid rgba(0,255,156,.12);

  backdrop-filter:blur(16px);

  box-shadow:
    0 10px 35px rgba(0,0,0,.28);

  transition:.3s ease;
}

.logo:hover{
  transform:translateY(-2px);

  border-color:rgba(0,255,156,.28);
}

.logo img{
  height:62px;
  width:auto;
  display:block;
}
/* =========================================================
   NAV PREMIUM
========================================================= */

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

  padding:8px;

  border-radius:24px;

  background:rgba(255,255,255,.052);

  border:1px solid rgba(255,255,255,.10);

  box-shadow:
    inset 0 0 28px rgba(10,132,255,.06),
    0 10px 35px rgba(0,0,0,.18);
}

.nav a{
  position:relative;

  display:flex;
  align-items:center;
  justify-content:center;

  min-height:48px;

  padding:0 22px;

  border-radius:17px;

  color:#e9eef5;

  font-size:14px;
  font-weight:900;

  overflow:hidden;

  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

.nav a:hover{
  color:#ffffff;

  background:rgba(255,255,255,.06);

  transform:translateY(-2px);
}

.nav a.active{
  color:#00110a;

  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--blue)
    );

  box-shadow:
    0 0 28px rgba(0,255,156,.34),
    inset 0 0 14px rgba(255,255,255,.20);
}

.nav a.active::before{
  content:"";

  position:absolute;

  top:0;
  left:-120%;

  width:70%;
  height:100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.30),
      transparent
    );

  transform:skewX(-20deg);

  animation:menuShine 3.5s infinite;
}

.nav a span,
.nav a i{
  position:relative;
  z-index:2;
}

@keyframes menuShine{
  0%{
    left:-120%;
  }

  45%{
    left:160%;
  }

  100%{
    left:160%;
  }
}

/* =========================================================
   HEADER BUTTON
========================================================= */

.btn-header{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:9px;

  padding:14px 21px;

  border-radius:17px;

  color:var(--white);

  font-size:14px;
  font-weight:900;

  border:1px solid rgba(0,255,156,.40);

  background:
    linear-gradient(
      135deg,
      rgba(0,255,156,.10),
      rgba(10,132,255,.10)
    );

  transition:.3s ease;

  white-space:nowrap;
}

.btn-header:hover{
  color:#00110a;

  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--blue)
    );

  transform:translateY(-3px);

  box-shadow:0 0 42px rgba(0,255,156,.38);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle{
  display:none;

  width:48px;
  height:48px;

  border-radius:16px;

  border:1px solid rgba(255,255,255,.16);

  background:rgba(255,255,255,.065);

  color:var(--white);

  font-size:22px;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:10px;

  min-height:52px;

  padding:15px 26px;

  border-radius:16px;

  font-weight:900;

  transition:.3s ease;
}

.btn-primary{
  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--blue)
    );

  color:#00110a;

  border:none;

  box-shadow:
    0 0 35px rgba(0,255,156,.28),
    inset 0 0 16px rgba(255,255,255,.22);
}

.btn-primary:hover{
  transform:translateY(-4px);

  box-shadow:
    0 0 58px rgba(10,132,255,.48),
    0 0 28px rgba(0,255,156,.30);
}

.btn-secondary{
  color:var(--white);

  border:1px solid rgba(10,132,255,.70);

  background:
    linear-gradient(
      135deg,
      rgba(10,132,255,.10),
      rgba(0,255,156,.045)
    );
}

.btn-secondary:hover{
  transform:translateY(-4px);

  border-color:rgba(0,255,156,.55);

  background:
    linear-gradient(
      135deg,
      rgba(10,132,255,.22),
      rgba(0,255,156,.12)
    );
}

/* =========================================================
   TAGLINE
========================================================= */

.tagline{
  display:inline-flex;
  align-items:center;

  gap:8px;

  color:var(--green);

  font-size:14px;
  font-weight:950;

  letter-spacing:1px;

  text-transform:uppercase;
}

.tagline::before{
  content:"";

  width:9px;
  height:9px;

  border-radius:50%;

  background:var(--green);

  box-shadow:0 0 18px rgba(0,255,156,.75);
}

/* =========================================================
   TEXTS
========================================================= */

h1,
h2,
h3,
h4{
  color:var(--white);
  font-weight:950;
}

p{
  color:var(--text);
}

section{
  padding:110px 0;
}

/* =========================================================
   FORM
========================================================= */

input,
select,
textarea{
  width:100%;

  background:rgba(7,11,18,.95);

  border:1px solid rgba(255,255,255,.13);

  color:var(--white);

  border-radius:15px;

  padding:16px;

  outline:none;

  transition:.3s ease;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--green);

  box-shadow:0 0 0 4px rgba(0,255,156,.08);
}

textarea{
  resize:vertical;
}

/* =========================================================
   FOOTER
========================================================= */

.footer{
  background:#000;

  padding-top:70px;

  border-top:1px solid rgba(255,255,255,.08);
}

.footer-content{
  display:grid;

  grid-template-columns:1.25fr 1fr 1fr 1fr;

  gap:38px;
}

.footer-logo{
  height:52px;

  background:#fff;

  padding:8px;

  border-radius:10px;

  margin-bottom:14px;
}

.footer h4{
  margin-bottom:14px;
  font-size:18px;
}

.footer a{
  display:block;

  color:#aeb6c2;

  margin-bottom:9px;

  transition:.25s ease;
}

.footer a:hover{
  color:var(--green);
}

.footer-bottom{
  text-align:center;

  padding:24px 0;

  margin-top:45px;

  border-top:1px solid rgba(255,255,255,.08);
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */

.whatsapp-float{
  position:fixed;

  right:26px;
  bottom:26px;

  width:66px;
  height:66px;

  border-radius:22px;

  background:
    linear-gradient(
      135deg,
      #00ff9c,
      #0a84ff
    );

  color:#00110a;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:30px;

  z-index:9999;

  box-shadow:
    0 0 0 8px rgba(0,255,156,.08),
    0 0 45px rgba(0,255,156,.45);

  transition:.3s ease;
}

.whatsapp-float:hover{
  transform:
    translateY(-5px)
    scale(1.05);

  box-shadow:
    0 0 0 10px rgba(0,255,156,.10),
    0 0 60px rgba(10,132,255,.55);
}

/* =========================================================
   REVEAL ANIMATION PREMIUM
========================================================= */

.reveal{
  opacity:0;

  transform:translateY(40px);

  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.reveal-active{
  opacity:1;

  transform:translateY(0);
}

/* =========================================================
   SCROLLBAR PREMIUM
========================================================= */

::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-track{
  background:#020409;
}

::-webkit-scrollbar-thumb{
  background:
    linear-gradient(
      180deg,
      #00FF9C,
      #0A84FF
    );

  border-radius:999px;
}

/* =========================================================
   SELECTION
========================================================= */

::selection{
  background:#00FF9C;
  color:#000;
}

/* =========================================================
   MELHORIAS PREMIUM
========================================================= */

.service-card,
.process-card,
.diff-item,
.value-card,
.about-box,
.highlight-box,
.legal-box,
.product-card,
.related-card{
  will-change:transform;
}

.service-card:hover,
.process-card:hover,
.diff-item:hover,
.value-card:hover,
.product-card:hover,
.related-card:hover{
  transform:
    translateY(-8px)
    scale(1.01);
}

/* =========================================================
   GLASS EFFECT
========================================================= */

.service-card,
.process-card,
.about-box,
.diff-item,
.value-card,
.contact-form,
.contact-panel,
.highlight-box,
.legal-box{
  backdrop-filter:blur(20px);
}

/* =========================================================
   TITLES PREMIUM
========================================================= */

.section-title h2,
.hero-text h1,
.page-hero h1,
.store-hero h1{
  text-wrap:balance;
}

/* =========================================================
   WHATSAPP PULSE
========================================================= */

.pulse-whatsapp{
  animation:whatsappPulse 1.2s ease;
}

@keyframes whatsappPulse{
  0%{
    transform:scale(1);
  }

  30%{
    transform:scale(1.08);
  }

  60%{
    transform:scale(.96);
  }

  100%{
    transform:scale(1);
  }
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media(max-width:900px){

  .header-content{
    height:82px;
  }

  .btn-header{
    display:none;
  }

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .nav{
    position:fixed;

    top:96px;
    left:16px;
    right:16px;

    display:none;

    flex-direction:column;

    gap:8px;

    padding:16px;

    border-radius:24px;

    background:rgba(2,4,9,.96);

    box-shadow:
      0 24px 80px rgba(0,0,0,.45),
      inset 0 0 28px rgba(10,132,255,.08);
  }

  .nav.active{
    display:flex;
  }

  .nav a{
    width:100%;
    min-height:50px;
  }

  section{
    padding:80px 0;
  }

  .footer-content{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-logo{
    margin-left:auto;
    margin-right:auto;
  }
}

@media(max-width:480px){

  .container{
    width:92%;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
  }

  .whatsapp-float{
    width:58px;
    height:58px;

    right:18px;
    bottom:18px;

    font-size:26px;

    border-radius:18px;
  }
}