
:root{--dark:#182430;--slate:#34414c;--orange:#e8762a;--ink:#17212c;--muted:#657487;--soft:#f4f6f8;--white:#fff;--shadow:0 18px 48px rgba(24,36,48,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.6;background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,92%);margin:0 auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(15,23,42,.06)}.header-inner{height:84px;display:flex;justify-content:space-between;align-items:center}.brand img{height:58px;width:auto}.main-nav{display:flex;gap:28px;font-weight:800;color:#243044}.main-nav a{position:relative}.main-nav a:after{content:"";position:absolute;left:0;bottom:-8px;width:0;height:3px;background:var(--orange);transition:.25s}.main-nav a:hover:after{width:100%}.nav-toggle{display:none;background:none;border:0;flex-direction:column;gap:5px}.nav-toggle span{width:28px;height:3px;background:var(--dark)}.hero{min-height:710px;position:relative;display:flex;align-items:center;background:var(--dark);overflow:hidden}.hero-bg{position:absolute;inset:0;background:url('../images/slideshow/ferragens-profissionais.jpg') center/cover no-repeat;transition:opacity .35s}.hero-bg.is-changing{opacity:0}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,16,24,.84),rgba(10,16,24,.52),rgba(10,16,24,.12))}.hero-content{position:relative;z-index:2;color:#fff;transition:.25s}.hero-content.is-changing{opacity:0;transform:translateY(10px)}.eyebrow,.section-kicker{display:inline-block;text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:900;color:var(--orange);margin-bottom:18px}.hero h1{font-size:clamp(2.8rem,6vw,5.4rem);line-height:.98;margin:0 0 24px;max-width:960px}.hero p{font-size:1.2rem;max-width:740px;color:#e8edf5;margin:0 0 34px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:14px 24px;font-weight:900;border:2px solid transparent;cursor:pointer}.btn.primary{background:var(--orange);color:#fff}.btn.ghost{border-color:rgba(255,255,255,.6);color:#fff}.btn.ghost:hover{background:#fff;color:var(--dark)}.hero-dots{position:absolute;z-index:3;bottom:34px;left:50%;transform:translateX(-50%);display:flex;gap:10px}.hero-dots button{width:12px;height:12px;border:0;border-radius:50%;background:rgba(255,255,255,.45)}.hero-dots .active{background:var(--orange)}.section{padding:88px 0}.soft{background:var(--soft)}.stats{padding:28px 0;background:var(--dark);color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stats-grid div{padding:22px;border-left:1px solid rgba(255,255,255,.15)}.stats-grid strong{display:block;font-size:2rem}.stats-grid span{color:#c9d7e8}.split{display:grid;grid-template-columns:1fr 1.15fr;gap:70px;align-items:center}h2{font-size:clamp(2rem,4vw,3.3rem);line-height:1.1;margin:0 0 24px;color:var(--dark)}h3{color:var(--dark);line-height:1.2}p{color:var(--muted)}.cards,.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:36px}.cards article,.feature-grid div,.contact-card,.contact-form{background:#fff;border:1px solid #e5ebf2;border-radius:22px;padding:30px;box-shadow:var(--shadow)}.product-areas{grid-template-columns:repeat(5,1fr)}.services-list{grid-template-columns:repeat(3,1fr)}.client-gallery,.installations-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:34px}.installations-grid{grid-template-columns:repeat(3,1fr)}.client-gallery article,.installations-grid article{border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#fff}.client-gallery img{height:230px;width:100%;object-fit:cover}.installations-grid img{height:300px;width:100%;object-fit:cover}.brands-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:34px}.brands-grid.compact .brand-card:nth-child(n+19){display:none}.brand-card{min-height:118px;background:#fff;border:1px solid #e5ebf2;border-radius:20px;padding:22px;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);transition:.25s}.brand-card:hover{transform:translateY(-4px)}.brand-card img{max-height:75px;width:auto;object-fit:contain}.center{text-align:center;margin-top:34px}.cta{padding:80px 0;background:linear-gradient(135deg,var(--dark),#0d151f);color:#fff}.cta h2,.cta p{color:#fff}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.page-hero{padding:108px 0;background:linear-gradient(135deg,var(--dark),var(--slate));color:#fff}.page-hero h1{font-size:clamp(2.35rem,5vw,4.5rem);line-height:1.05;margin:0 0 20px;max-width:960px}.page-hero p{color:#dbe7f5;max-width:760px}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:start}.contact-card small,.site-footer small{display:block;font-size:.76rem;opacity:.78}.contact-form label{display:block;font-weight:800;color:var(--dark);margin-bottom:16px}.contact-form input,.contact-form textarea{width:100%;margin-top:8px;border:1px solid #d7e0ec;border-radius:14px;padding:14px;font:inherit}.legal .container{max-width:850px}.site-footer{background:#0d151f;color:#d8e3f0;padding-top:70px}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.35fr;gap:34px}.footer-logo{max-width:230px;background:#fff;border-radius:14px;padding:12px;margin-bottom:18px}.site-footer h3{color:#fff}.site-footer p,.site-footer a{color:#c7d4e3}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:10px 0}.complaints img{max-width:170px;margin-top:18px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:50px;padding:22px 0;color:#b8c7d8}.footer-bottom a{color:#fff}@media(max-width:1100px){.product-areas{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.nav-toggle{display:flex}.main-nav{display:none;position:absolute;top:84px;left:0;right:0;background:#fff;flex-direction:column;padding:24px;box-shadow:0 18px 35px rgba(0,0,0,.12)}.main-nav.open{display:flex}.hero{min-height:650px}.split,.contact-grid,.cta-inner{grid-template-columns:1fr;display:grid}.cards,.feature-grid,.timeline,.stats-grid,.services-list,.product-areas,.client-gallery,.installations-grid,.footer-grid{grid-template-columns:1fr}.stats-grid div{border-left:0;border-bottom:1px solid rgba(255,255,255,.12)}.site-footer{text-align:center}.footer-logo,.complaints img{margin-left:auto;margin-right:auto}.site-footer ul{display:inline-block;text-align:center}.footer-grid>div{display:flex;flex-direction:column;align-items:center}.client-gallery img,.installations-grid img{height:auto}}

/* =====================================================
   LIGHTBOX - Produtos em destaque e instalações
===================================================== */

.lightbox-link{
  display:block;
  cursor:zoom-in;
  position:relative;
}

.lightbox-link::after{
  content:"Ver imagem";
  position:absolute;
  right:14px;
  bottom:14px;
  background:rgba(24,36,48,.88);
  color:#fff;
  font-size:.78rem;
  font-weight:700;
  padding:7px 11px;
  border-radius:999px;
  opacity:0;
  transform:translateY(6px);
  transition:.25s ease;
  pointer-events:none;
}

.lightbox-link:hover::after{
  opacity:1;
  transform:translateY(0);
}

.lightbox-link img{
  transition:transform .28s ease, filter .28s ease;
}

.lightbox-link:hover img{
  transform:scale(1.025);
  filter:brightness(.92);
}

.lightbox-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(4,10,18,.92);
  display:none;
  align-items:center;
  justify-content:center;
  padding:32px;
}

.lightbox-modal.open{
  display:flex;
}

.lightbox-modal img{
  max-width:min(1200px,92vw);
  max-height:86vh;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.45);
  background:#fff;
}

.lightbox-close{
  position:fixed;
  top:24px;
  right:28px;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#182430;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
  z-index:10000;
}

.lightbox-nav{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:#182430;
  font-size:2rem;
  cursor:pointer;
  z-index:10000;
}

.lightbox-prev{
  left:28px;
}

.lightbox-next{
  right:28px;
}

@media(max-width:700px){
  .lightbox-modal{
    padding:18px;
  }

  .lightbox-close{
    top:14px;
    right:14px;
  }

  .lightbox-nav{
    width:44px;
    height:44px;
    font-size:1.6rem;
  }

  .lightbox-prev{
    left:12px;
  }

  .lightbox-next{
    right:12px;
  }
}


/* =====================================================
   IPM v1.1 - Melhorias comerciais e visuais
===================================================== */

.section-intro{
  max-width:820px;
  margin:18px 0 38px;
  color:var(--muted);
  font-size:1.08rem;
}

.why-ipm{
  background:#fff;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:36px;
}

.why-grid article,
.empresa-cards article{
  background:#fff;
  border:1px solid #e5ebf2;
  border-radius:22px;
  padding:30px;
  box-shadow:var(--shadow);
  transition:.3s ease;
}

.why-grid article:hover,
.empresa-cards article:hover{
  transform:translateY(-6px);
}

.why-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(232,118,42,.12);
  font-size:1.8rem;
  margin-bottom:18px;
}

.empresa-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.empresa-cards span{
  color:var(--orange);
  font-weight:900;
}

.ipm-numbers{
  background:linear-gradient(135deg,#182430,#2f3b46);
  color:#fff;
  padding:54px 0;
}

.numbers-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.numbers-grid div{
  text-align:center;
  padding:26px 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  background:rgba(255,255,255,.06);
}

.numbers-grid strong{
  display:block;
  font-size:2.25rem;
  line-height:1;
  color:#fff;
  margin-bottom:10px;
}

.numbers-grid span{
  color:#d8e2ec;
  font-weight:700;
}

.brands-tools{
  max-width:420px;
  margin:0 auto 34px;
}

.brands-tools input{
  width:100%;
  border:1px solid #d8e0ea;
  border-radius:999px;
  padding:15px 22px;
  font:inherit;
  outline:none;
}

.brands-tools input:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 4px rgba(232,118,42,.12);
}

.brands-grid .brand-card img{
  filter:grayscale(100%);
  opacity:.78;
  transition:.3s ease;
}

.brands-grid .brand-card:hover img{
  filter:none;
  opacity:1;
}

.brands-grid .brand-card{
  transition:.3s ease;
}

.brands-grid .brand-card:hover{
  transform:translateY(-6px);
}

@media(max-width:900px){
  .why-grid,
  .empresa-cards,
  .numbers-grid{
    grid-template-columns:1fr;
  }

  .section-intro{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }

  .site-footer,
  .site-footer *{
    text-align:center !important;
  }

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