/* ==========================================================================
   VIDROS CABINE — site institucional
   ========================================================================== */

:root{
  --navy: #0E2740;
  --navy-light: #14304F;
  --green: #3C8A2E;
  --green-dark: #2C6B22;
  --green-darker: #1F4A18;
  --gray-text: #5B6470;
  --bg-light: #F4F6F8;
  --white: #FFFFFF;
  --border: #E6E9EC;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(14,39,64,0.08);
  --container: 1180px;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:'Open Sans', Arial, sans-serif;
  color:var(--navy);
  line-height:1.55;
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,
.heading-font{
  font-family:'Montserrat', Arial, sans-serif;
  font-weight:800;
  letter-spacing:.2px;
}

a{text-decoration:none;color:inherit;}
ul{list-style:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.section-eyebrow-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-bottom:42px;
}
.section-eyebrow-wrap .line{
  height:2px;
  width:60px;
  background:var(--green);
  border-radius:2px;
}
.section-title{
  font-size:1.45rem;
  text-align:center;
  letter-spacing:.5px;
  color:var(--navy);
  text-transform:uppercase;
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:.92rem;
  letter-spacing:.4px;
  padding:14px 26px;
  border-radius:7px;
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-green{
  background:var(--green);
  color:var(--white);
  box-shadow:0 8px 20px rgba(60,138,46,.35);
}
.btn-green:hover{background:var(--green-dark);}
.btn-navy{
  background:var(--navy);
  color:var(--white);
  font-size:.78rem;
  padding:11px 22px;
  box-shadow:0 6px 16px rgba(14,39,64,.25);
}
.btn-navy:hover{background:var(--navy-light);}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--white);
  box-shadow:0 2px 14px rgba(14,39,64,.08);
}
.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0 10px;
  gap:20px;
}
.logo-link{display:flex;align-items:center;flex-shrink:0;}
.logo-link img{height:78px;width:auto;}

.contact-info{
  display:flex;
  align-items:center;
  gap:18px;
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:.92rem;
  color:var(--navy);
  flex-wrap:wrap;
  justify-content:flex-end;
}
.contact-info a{
  display:flex;
  align-items:center;
  gap:8px;
  transition:color .15s ease;
}
.contact-info a:hover{color:var(--green);}
.contact-info i.fa-whatsapp{color:var(--green);font-size:1.15rem;}
.contact-info i.fa-envelope{color:var(--green);font-size:1.05rem;}
.contact-divider{color:var(--border);font-weight:400;}

.navbar{
  border-top:1px solid var(--border);
}
.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.main-nav{
  display:flex;
  gap:34px;
  padding:0;
}
.main-nav a{
  display:inline-block;
  padding:14px 2px;
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:.86rem;
  letter-spacing:.3px;
  color:var(--navy);
  text-transform:uppercase;
  position:relative;
  border-bottom:3px solid transparent;
  transition:color .15s ease;
}
.main-nav a:hover,
.main-nav a.active{
  color:var(--green);
  border-bottom-color:var(--green);
}

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  padding:14px 0;
}
.nav-toggle span{
  width:26px;height:3px;background:var(--navy);border-radius:2px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  background:linear-gradient(180deg,#FBFCFD 0%, #FFFFFF 60%);
  overflow:hidden;
}
.hero-grid{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:560px;
}
.hero-grid .hero-content{flex:1 1 51%;max-width:51%;}
.hero-grid .hero-image{flex:1 1 49%;max-width:49%;}
.hero-content h1{
  font-size:2.55rem;
  line-height:1.16;
  text-transform:uppercase;
  margin-bottom:18px;
}
.hero-content h1 .line-navy{color:var(--navy);display:block;}
.hero-content h1 .line-green{color:var(--green);display:block;}

.hero-content p.lead{
  font-size:1rem;
  color:var(--gray-text);
  max-width:430px;
  margin-bottom:22px;
}

.checklist{display:flex;flex-direction:column;gap:11px;margin-bottom:30px;}
.checklist li{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:.95rem;
  color:var(--navy);
}
.checklist .check-ico{
  width:22px;height:22px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-size:.7rem;
  flex-shrink:0;
}

.hero-image{
  position:relative;
  height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.hero-image img{
  width:100%;
  height:480px;
  object-fit:cover;
  border-radius:14px 0 0 14px;
  box-shadow:-30px 30px 0 -10px rgba(60,138,46,0.07);
}

/* ==========================================================================
   BRANDS STRIP
   ========================================================================== */
.brands{padding:64px 0 56px;background:var(--white);}
.brands-grid{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.brands-grid .brand-card{flex:1 1 calc(12.5% - 13px);max-width:calc(12.5% - 13px);}
.brand-card{
  border:1px solid var(--border);
  border-radius:8px;
  padding:14px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--white);
  transition:box-shadow .2s ease, transform .2s ease;
  aspect-ratio:1/1;
}
.brand-card:hover{box-shadow:var(--shadow);transform:translateY(-3px);}
.brand-card img{width:100%;height:100%;object-fit:contain;}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products{padding:30px 0 70px;background:var(--white);}
.products-grid{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
}
.products-grid .product-card{flex:1 1 calc(33.333% - 18px);max-width:calc(33.333% - 18px);}
.product-card{
  display:flex;
  align-items:stretch;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  min-height:230px;
}
.product-photo{
  position:relative;
  flex:0 0 42%;
  overflow:hidden;
  clip-path:polygon(0 0,100% 0,78% 100%,0 100%);
}
.product-photo img{
  width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;right:0;bottom:0;
}
.product-body{
  flex:1;
  padding:24px 22px 22px 6px;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.product-icon{
  position:absolute;
  top:18px;
  left:-26px;
  width:48px;height:48px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-size:1.15rem;
  box-shadow:0 6px 14px rgba(60,138,46,.4);
  border:3px solid var(--white);
}
.product-body h3{
  font-size:1rem;
  text-transform:uppercase;
  margin-top:30px;
  line-height:1.3;
  color:var(--navy);
}
.product-body p{
  font-size:.87rem;
  color:var(--gray-text);
  flex-grow:1;
}
.product-body .btn-navy{align-self:flex-start;}

/* ==========================================================================
   FEATURES BAR
   ========================================================================== */
.features-bar{
  background:var(--navy);
  padding:42px 0;
}
.features-grid{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
}
.features-grid .feature-item{flex:1 1 calc(25% - 23px);max-width:calc(25% - 23px);}
.feature-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.feature-item .ico{
  flex-shrink:0;
  width:46px;height:46px;
  border-radius:50%;
  border:2px solid var(--green);
  color:var(--green);
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;
}
.feature-item h4{
  color:var(--green);
  font-size:.85rem;
  text-transform:uppercase;
  margin-bottom:6px;
  letter-spacing:.3px;
}
.feature-item p{
  color:#C9D3DC;
  font-size:.82rem;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works{padding:72px 0;background:var(--white);}
.how-grid{
  display:flex;
  gap:50px;
  align-items:flex-start;
}
.how-grid .how-left{flex:1 1 auto;min-width:0;}
.how-grid .how-right{flex:0 0 300px;width:300px;}
.steps{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  position:relative;
}
.steps .step{flex:1 1 calc(25% - 5px);max-width:calc(25% - 5px);}
.step{
  text-align:center;
  position:relative;
  padding:0 8px;
}
.step:not(:last-child)::after{
  content:"";
  position:absolute;
  top:16px;
  left:calc(50% + 36px);
  right:calc(-50% + 36px);
  border-top:2px dashed #C9D3DC;
}
.step-num{
  width:32px;height:32px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  font-family:'Montserrat',sans-serif;
  font-weight:800;
  font-size:.95rem;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
  position:relative;
  z-index:2;
}
.step .step-ico{
  font-size:1.7rem;
  color:var(--navy);
  margin-bottom:14px;
}
.step h4{
  font-size:.8rem;
  text-transform:uppercase;
  margin-bottom:8px;
  color:var(--navy);
  line-height:1.3;
}
.step p{font-size:.78rem;color:var(--gray-text);}

.whatsapp-card{
  background:var(--navy);
  border-radius:var(--radius);
  padding:30px 26px;
  text-align:center;
  color:var(--white);
}
.whatsapp-card .wa-ico{
  width:60px;height:60px;
  border-radius:50%;
  background:var(--green);
  display:flex;align-items:center;justify-content:center;
  font-size:1.7rem;
  margin:0 auto 18px;
}
.whatsapp-card h4{
  font-size:.95rem;
  text-transform:uppercase;
  margin-bottom:10px;
  line-height:1.4;
}
.whatsapp-card .wa-number{
  font-size:1.3rem;
  font-weight:800;
  color:var(--green);
  margin-bottom:18px;
  font-family:'Montserrat',sans-serif;
}
.whatsapp-card .btn-green{width:100%;justify-content:center;}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{background:var(--navy);color:#C9D3DC;}
.footer-main{padding:56px 0 40px;}
.footer-grid{
  display:flex;
  flex-wrap:wrap;
  gap:36px;
}
.footer-grid .footer-col{flex:1 1 calc(25% - 27px);max-width:calc(25% - 27px);}
.footer-grid .footer-about{flex:1 1 calc(28% - 27px);max-width:calc(28% - 27px);}
.footer-about img{height:70px;margin-bottom:14px;}
.footer-about p{font-size:.85rem;color:#AEB9C4;}
.footer-col h3{
  color:var(--green);
  font-size:.92rem;
  text-transform:uppercase;
  margin-bottom:16px;
  letter-spacing:.4px;
}
.footer-col p{font-size:.87rem;color:#AEB9C4;}
.footer-contact-list{display:flex;flex-direction:column;gap:11px;}
.footer-contact-list li{display:flex;align-items:center;gap:10px;font-size:.87rem;}
.footer-contact-list i{color:var(--green);width:16px;text-align:center;}
.footer-contact-list a:hover{color:var(--white);}
.footer-map{
  border-radius:8px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  height:150px;
}
.footer-map iframe{width:100%;height:100%;border:0;filter:grayscale(.15);}

.footer-bottom{
  background:var(--navy-light);
  text-align:center;
  padding:16px 0;
  font-size:.8rem;
  color:#AEB9C4;
  border-top:1px solid rgba(255,255,255,.08);
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float{
  position:fixed;
  bottom:24px;
  right:24px;
  width:58px;height:58px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-size:1.7rem;
  box-shadow:0 8px 22px rgba(0,0,0,.25);
  z-index:999;
  animation:pulse 2.4s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 8px 22px rgba(0,0,0,.25),0 0 0 0 rgba(60,138,46,.55);}
  70%{box-shadow:0 8px 22px rgba(0,0,0,.25),0 0 0 14px rgba(60,138,46,0);}
  100%{box-shadow:0 8px 22px rgba(0,0,0,.25),0 0 0 0 rgba(60,138,46,0);}
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .brands-grid .brand-card{flex:1 1 calc(25% - 11px);max-width:calc(25% - 11px);}
  .products-grid .product-card{flex:1 1 100%;max-width:100%;}
  .how-grid{flex-direction:column;}
  .how-grid .how-right{width:100%;}
  .how-grid .whatsapp-card{max-width:420px;}
}

@media (max-width:860px){
  .header-top{padding:12px 0 8px;}
  .logo-link img{height:58px;}
  .contact-info{font-size:.78rem;gap:12px;}
  .nav-toggle{display:flex;}
  .main-nav{
    position:absolute;
    top:100%;left:0;right:0;
    background:var(--white);
    flex-direction:column;
    gap:0;
    box-shadow:0 12px 18px rgba(0,0,0,.1);
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }
  .main-nav.open{max-height:420px;}
  .main-nav a{padding:14px 24px;width:100%;border-bottom:1px solid var(--border);}
  .navbar .container{position:relative;}

  .hero-grid{flex-direction:column;min-height:auto;padding:36px 0;}
  .hero-grid .hero-content,
  .hero-grid .hero-image{max-width:100%;}
  .hero-content{order:1;text-align:center;}
  .hero-content .checklist{align-items:flex-start;width:max-content;max-width:100%;margin:0 auto 30px;}
  .hero-content p.lead{margin:0 auto 22px;}
  .hero-content h1{font-size:1.9rem;}
  .hero-image{order:2;margin-top:26px;justify-content:center;}
  .hero-image img{border-radius:14px;height:300px;}

  .features-grid .feature-item{flex:1 1 calc(50% - 15px);max-width:calc(50% - 15px);}
  .steps .step{flex:1 1 100%;max-width:100%;}
  .step:not(:last-child)::after{display:none;}
  .footer-grid .footer-col,
  .footer-grid .footer-about{flex:1 1 calc(50% - 18px);max-width:calc(50% - 18px);}
}

@media (max-width:560px){
  .contact-info{display:none;}
  .brands-grid .brand-card{flex:1 1 calc(50% - 7px);max-width:calc(50% - 7px);}
  .product-card{flex-direction:column;min-height:auto;}
  .product-photo{flex:0 0 180px;clip-path:none;width:100%;}
  .product-body{padding:34px 20px 20px;}
  .product-icon{left:20px;top:-24px;}
  .product-body h3{margin-top:8px;}
  .features-grid .feature-item{flex:1 1 100%;max-width:100%;}
  .footer-grid .footer-col,
  .footer-grid .footer-about{flex:1 1 100%;max-width:100%;}
}
