
:root{
  --bg:#000000;
  --surface:#0d0d0d;
  --surface-2:#111111;
  --surface-3:#171717;
  --line:#2A2A2A;
  --primary:#01FCFF;
  --primary-2:#00B8C8;
  --text:#FFFFFF;
  --muted:#B8B8B8;
  --container:1200px;
  --radius:22px;
  --shadow:0 22px 70px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Montserrat,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 90% 10%, rgba(1,252,255,.08), transparent 26%),
    radial-gradient(circle at 10% 40%, rgba(1,252,255,.03), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 20%);
  pointer-events:none;
  z-index:-2;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.section{
  padding:100px 0;
  position:relative;
}
.section-dark{
  background:linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.02));
  border-top:1px solid rgba(1,252,255,.08);
  border-bottom:1px solid rgba(1,252,255,.08);
}
.section-heading{
  max-width:860px;
  margin:0 auto 46px;
  text-align:center;
}
.eyebrow{
  display:inline-block;
  margin-bottom:12px;
  color:var(--primary);
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.78rem;
}
h1,h2,h3{
  margin:0 0 18px;
  font-family:Cinzel,serif;
  line-height:1.12;
}
h1{font-size:clamp(2.8rem, 5.4vw, 5.4rem)}
h2{
  font-size:clamp(2rem, 4vw, 3.2rem);
}
h3{
  font-size:1.28rem;
}
p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.8;
}
.highlight{
  color:var(--primary);
  font-weight:700;
  margin-top:10px;
}

.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(1,252,255,.14);
}
.header-inner{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{display:flex;align-items:center}
.logo{width:170px;height:auto}

.nav{
  display:flex;
  align-items:center;
  gap:22px;
}
.nav a{
  position:relative;
  color:#fff;
  font-size:.95rem;
  font-weight:500;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;bottom:-8px;
  width:0;height:2px;
  background:var(--primary);
  transition:.28s ease;
}
.nav a:hover::after,
.nav a:focus-visible::after{width:100%}

.menu-toggle{
  display:none;
  width:48px;
  height:48px;
  border-radius:14px;
  background:rgba(1,252,255,.08);
  color:var(--primary);
  border:1px solid rgba(1,252,255,.16);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 26px;
  border:none;
  border-radius:999px;
  font-weight:700;
  background:var(--primary);
  color:#000;
  box-shadow:0 0 0 rgba(1,252,255,0);
  transition:.28s ease;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 30px rgba(1,252,255,.18);
}
.btn-secondary{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
}
.btn-secondary:hover{
  border-color:var(--primary);
  color:var(--primary);
  box-shadow:none;
}
.btn-header{white-space:nowrap}

.hero{
  padding-top:60px;
  min-height:calc(100vh - 88px);
  display:flex;
  align-items:center;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.hero-content strong{color:#fff}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:30px 0 36px;
}
.hero-metrics{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.hero-metrics div{
  padding:18px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(1,252,255,.12);
}
.hero-metrics strong{
  display:block;
  margin-bottom:6px;
  font-size:1rem;
}
.hero-metrics span{
  display:block;
  color:var(--muted);
  line-height:1.5;
  font-size:.92rem;
}

.hero-media{
  position:relative;
  min-height:620px;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:32px;
  border:1px solid rgba(1,252,255,.16);
  box-shadow:var(--shadow);
}
.hero-media::before{
  content:"";
  position:absolute;
  inset:-12px -12px auto auto;
  width:120px;height:120px;
  border-radius:50%;
  background:rgba(1,252,255,.12);
  filter:blur(50px);
  z-index:-1;
}
.hero-badge{
  position:absolute;
  left:24px;
  bottom:24px;
  right:24px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 20px;
  border-radius:18px;
  background:rgba(0,0,0,.68);
  border:1px solid rgba(1,252,255,.18);
  backdrop-filter:blur(14px);
}
.hero-badge i{
  font-size:1.6rem;
  color:var(--primary);
}
.hero-badge strong{
  display:block;
  margin-bottom:4px;
}
.hero-badge span{
  color:var(--muted);
  font-size:.95rem;
}

.cards{
  display:grid;
  gap:22px;
}
.cards-3{
  grid-template-columns:repeat(3, minmax(0,1fr));
}
.cards-5{
  grid-template-columns:repeat(5, minmax(0,1fr));
}
.card{
  padding:28px;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  border:1px solid rgba(1,252,255,.14);
  box-shadow:0 16px 40px rgba(0,0,0,.28);
  transition:.3s ease;
}
.card:hover{
  transform:translateY(-6px);
  border-color:rgba(1,252,255,.35);
}
.card i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:62px;
  height:62px;
  border-radius:16px;
  margin-bottom:18px;
  color:var(--primary);
  font-size:1.4rem;
  background:rgba(1,252,255,.08);
  box-shadow:0 0 22px rgba(1,252,255,.08);
}

.parallax-banner{
  position:relative;
  padding:110px 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75)),
    var(--banner-image);
  background-position:center;
  background-size:cover;
  background-attachment:fixed;
  border-top:1px solid rgba(1,252,255,.12);
  border-bottom:1px solid rgba(1,252,255,.12);
  text-align:center;
}
.parallax-banner p{
  max-width:760px;
  margin-inline:auto;
  color:#e8e8e8;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}
.service-card,
.material-card{
  overflow:hidden;
  border-radius:24px;
  background:var(--surface);
  border:1px solid rgba(1,252,255,.14);
  box-shadow:0 20px 50px rgba(0,0,0,.32);
}
.service-card img,
.material-card img{
  width:100%;
  object-fit:cover;
}
.service-card img{height:240px}
.material-card img{height:210px}
.service-card-content,
.material-card-content{
  padding:24px;
}
.service-card-content i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:54px;height:54px;
  border-radius:14px;
  color:var(--primary);
  background:rgba(1,252,255,.08);
  margin-bottom:16px;
}

.section-split{
  background:
    radial-gradient(circle at 10% 20%, rgba(1,252,255,.03), transparent 20%),
    transparent;
}
.split-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:44px;
  align-items:center;
}
.split-image img{
  width:100%;
  height:100%;
  min-height:560px;
  object-fit:cover;
  border-radius:28px;
  border:1px solid rgba(1,252,255,.14);
  box-shadow:var(--shadow);
}
.value-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.value-list span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(1,252,255,.14);
  color:#fff;
  font-size:.95rem;
}
.value-list i{color:var(--primary)}

.material-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.gallery-item{
  position:relative;
  padding:0;
  overflow:hidden;
  border:none;
  border-radius:24px;
  background:#111;
  box-shadow:0 20px 45px rgba(0,0,0,.34);
}
.gallery-item img{
  width:100%;
  height:320px;
  object-fit:cover;
  transition:transform .45s ease;
}
.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 30%, rgba(0,0,0,.82));
}
.gallery-item span{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:2;
  text-align:left;
  color:#fff;
  font-weight:700;
}
.gallery-item:hover img{transform:scale(1.06)}

.timeline{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:22px;
}
.timeline-item{
  display:flex;
  gap:18px;
  padding:24px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(1,252,255,.14);
}
.timeline-icon{
  flex:0 0 58px;
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:rgba(1,252,255,.08);
  color:var(--primary);
  font-size:1.3rem;
}
.center{text-align:center;margin-top:34px}

.faq-list{
  max-width:900px;
  margin:0 auto;
  display:grid;
  gap:16px;
}
.faq-item{
  border:1px solid rgba(1,252,255,.14);
  border-radius:20px;
  background:rgba(255,255,255,.02);
  overflow:hidden;
}
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px;
  background:none;
  border:none;
  color:#fff;
  font-weight:700;
  text-align:left;
}
.faq-question i{
  color:var(--primary);
  transition:transform .25s ease;
}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}
.faq-answer p{
  padding:0 24px 24px;
  margin:0;
}
.faq-item.active .faq-answer{max-height:220px}
.faq-item.active .faq-question i{transform:rotate(45deg)}

.cta-box{
  padding-top:40px;
  padding-bottom:60px;
}
.cta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  align-items:stretch;
}
.cta-content,
.quote-panel{
  padding:32px;
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(1,252,255,.1), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(1,252,255,.16);
}
.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:28px 0;
}
.contact-list{
  display:grid;
  gap:14px;
}
.contact-list div{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.contact-list i{
  color:var(--primary);
  margin-top:4px;
}
.contact-list small{
  display:block;
  color:#7e7e7e;
  margin-top:4px;
}

.quote-panel h3{margin-bottom:12px}
.quote-form{
  display:grid;
  gap:16px;
}
.quote-form label{
  display:grid;
  gap:10px;
}
.quote-form span{
  color:#fff;
  font-weight:600;
}
.quote-form input,
.quote-form textarea{
  width:100%;
  border:none;
  outline:none;
  color:#fff;
  padding:16px 18px;
  border-radius:16px;
  background:#0b0b0b;
  border:1px solid rgba(1,252,255,.16);
}
.quote-form textarea{
  min-height:150px;
  resize:vertical;
}

.footer{
  background:#050505;
  border-top:1px solid rgba(1,252,255,.12);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:30px;
  padding:48px 0 24px;
}
.footer-logo{margin-bottom:14px}
.footer h3{
  font-size:1rem;
  margin-bottom:16px;
}
.footer ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.footer li,.footer p,.footer a{color:var(--muted)}
.footer a:hover{color:var(--primary)}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:20px 0 32px;
  border-top:1px solid rgba(255,255,255,.05);
}
.footer-bottom p{margin:0}
.footer-note{max-width:520px;text-align:right}

.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1100;
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--primary);
  color:#000;
  font-size:2rem;
  box-shadow:0 0 35px rgba(1,252,255,.32);
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.08)}
  100%{transform:scale(1)}
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:1200;
  display:none;
  place-items:center;
  padding:24px;
  background:rgba(0,0,0,.92);
}
.lightbox.active{display:grid}
.lightbox-content{
  width:min(1100px, 100%);
  text-align:center;
}
.lightbox-content img{
  width:100%;
  max-height:78vh;
  object-fit:contain;
  border-radius:22px;
  border:1px solid rgba(1,252,255,.18);
}
.lightbox-content p{
  margin-top:14px;
  color:#fff;
  font-weight:700;
}
.lightbox-close{
  position:absolute;
  top:18px;
  right:18px;
  width:50px;
  height:50px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:1.5rem;
}

.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.active{
  opacity:1;
  transform:none;
}

@media (max-width: 1180px){
  .cards-5{grid-template-columns:repeat(3, minmax(0,1fr))}
  .material-grid,
  .service-grid,
  .gallery-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width: 980px){
  .header-inner{min-height:80px}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .nav{
    position:absolute;
    top:100%;
    left:50%;
    right:auto;
    width:100vw;
    margin-left:-50vw;
    display:grid;
    gap:0;
    background:rgba(0,0,0,.97);
    border-bottom:1px solid rgba(1,252,255,.14);
    transform:translateY(-12px);
    opacity:0;
    pointer-events:none;
    transition:.28s ease;
  }
  .nav.active{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }
  .nav a{
    width:100%;
    padding:18px 20px;
    border-top:1px solid rgba(255,255,255,.04);
  }
  .btn-header{display:none}
  .hero-grid,
  .split-grid,
  .cta-grid{grid-template-columns:1fr}
  .hero{padding-top:38px;min-height:auto}
  .hero-media{min-height:420px}
  .hero-metrics{grid-template-columns:1fr}
  .cards-3,
  .cards-5,
  .timeline{grid-template-columns:1fr}
  .parallax-banner{
    background-attachment:scroll;
    padding:80px 0;
  }
  .footer-grid,
  .footer-bottom{grid-template-columns:1fr;display:grid}
  .footer-note{text-align:left}
}
@media (max-width: 640px){
  .container{width:min(var(--container), calc(100% - 24px))}
  .header-inner{gap:12px; padding-inline:0;}
  .logo{width:145px;}
  .section{padding:76px 0}
  .logo{width:142px}
  .hero-media img{border-radius:22px}
  .service-grid,
  .material-grid,
  .gallery-grid{grid-template-columns:1fr}
  .gallery-item img{height:260px}
  .cta-content,.quote-panel,.card,.timeline-item,.service-card-content,.material-card-content{padding:22px}
  .hero-actions,.cta-actions{display:grid}
  .btn{width:100%}
  .whatsapp-float{right:16px;bottom:16px;width:58px;height:58px}
}

.material-icons-grid .card span{
  display:block;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(1,252,255,.12);
  color:#8f8f8f;
  font-size:.88rem;
  line-height:1.6;
}
.material-icons-grid .card i{
  width:70px;
  height:70px;
  font-size:1.8rem;
}

.service-icons-grid .card span{
  display:block;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(1,252,255,.12);
  color:#8f8f8f;
  font-size:.88rem;
  line-height:1.6;
}
.service-icons-grid .card i{
  width:70px;
  height:70px;
  font-size:1.8rem;
}

/* Correção de overflow horizontal no mobile */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 980px){
  .nav{
    width:100%;
    left:0;
    margin-left:0;
  }

  .hero,
  .section,
  .container,
  .hero-grid,
  .split-grid,
  .cta-grid,
  .gallery-grid,
  .service-grid,
  .material-grid {
    max-width:100%;
    overflow-x:hidden;
  }

  .hero-media,
  .hero-media img,
  .gallery-item,
  .gallery-item img {
    max-width:100%;
  }
}

@media (max-width: 640px){
  .hero-media{
    min-height:0;
    height:380px;
    overflow:hidden;
    border-radius:22px;
  }

  .hero-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    border-radius:22px;
  }

  .hero-badge{
    left:14px;
    right:14px;
    bottom:14px;
  }
}

/* Ajuste definitivo mobile hero e barras */
html {
  width:100%;
  overflow-x:hidden;
}
body {
  width:100%;
  overflow-x:hidden;
  overflow-y:auto;
}
@media (max-width:640px){
  .hero{
    width:100%;
    min-height:0;
    height:auto;
    padding-top:28px;
    padding-bottom:40px;
    overflow:hidden;
  }

  .hero-grid{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:30px;
    overflow:hidden;
  }

  .hero-content{
    width:100%;
    max-width:100%;
  }

  .hero-media{
    width:100%;
    height:300px;
    min-height:300px;
    overflow:hidden;
    position:relative;
  }

  .hero-media img{
    width:100%;
    max-width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  .hero-badge{
    left:10px;
    right:10px;
    bottom:10px;
    padding:12px;
    max-width:calc(100% - 20px);
  }

  .hero-badge span{
    font-size:.78rem;
  }
}

/* CORRECAO EXTRA MOBILE - HERO SEM ESTOURO */
@media (max-width:640px){
  *{box-sizing:border-box;}
  html, body{
    overflow-x:hidden !important;
    width:100% !important;
    max-width:100% !important;
  }

  main, header, footer, section, .container{
    max-width:100% !important;
    width:100% !important;
  }

  .hero{
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    padding:24px 0 40px !important;
  }

  .hero .container{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  .hero-grid{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    gap:24px !important;
  }

  .hero-media{
    width:100% !important;
    height:260px !important;
    min-height:260px !important;
    max-height:260px !important;
    margin:0 !important;
  }

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

  .hero-badge{
    transform:none !important;
  }
}


/* CORRECAO FINAL OVERFLOW MOBILE - TODAS AS SECOES */
@media (max-width: 980px){
  html, body {
    overflow-x: clip !important;
  }

  body {
    position: relative;
  }

  .container,
  .section,
  main,
  header,
  footer,
  .section-dark,
  .gallery-grid,
  .gallery-item,
  .split-grid,
  .cta-grid,
  .cards-3,
  .cards-5,
  .service-grid,
  .material-grid {
    max-width: 100% !important;
  }

  .nav {
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
  }

  .gallery-item img,
  .material-card img,
  .service-card img,
  img {
    max-width: 100% !important;
  }

  .section,
  .parallax-banner,
  .cta,
  .footer {
    overflow: hidden;
  }

  [data-aos],
  .animate,
  .reveal {
    max-width: 100%;
  }
}

/* CORRECAO GERAL MOBILE - REMOVER ESTOURO DOS BLOCOS */
@media (max-width: 640px){
  *{box-sizing:border-box;}
  html, body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
  }

  body, main, header, footer, section, div{
    max-width:100%;
  }

  .section,
  .section-dark,
  .parallax-banner,
  .cta,
  .footer{
    width:100% !important;
    overflow:hidden !important;
  }

  .container{
    width:100% !important;
    max-width:100% !important;
    padding-left:12px !important;
    padding-right:12px !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .gallery-grid,
  .service-grid,
  .material-grid,
  .cards-3,
  .cards-5,
  .timeline,
  .split-grid,
  .cta-grid,
  .footer-grid{
    width:100% !important;
    max-width:100% !important;
    display:grid;
    grid-template-columns:1fr !important;
    overflow:hidden !important;
  }

  .card,
  .service-card,
  .material-card,
  .gallery-item,
  .timeline-item{
    width:100% !important;
    max-width:100% !important;
  }

  img, video, svg, canvas{
    max-width:100% !important;
    height:auto;
  }

  .whatsapp-float{
    max-width:58px;
  }
}
