
    :root{
      --primary:#0f2a44;   /* azul institucional */
      --secondary:#1e4f8f; /* azul médio */
      --accent:#f5a623;    /* amarelo obra */
      --bg-light:#f4f6f8;
      --text-dark:#1b1b1b;
      --white:#ffffff;
      --shadow:0 10px 30px rgba(0,0,0,.15);
    }

    *{box-sizing:border-box}
    body{
      margin:0;
      font-family:Montserrat,system-ui,sans-serif;
      color:var(--text-dark);
      background:var(--bg-light);
      line-height:1.6;
    }
    a{text-decoration:none;color:inherit}

    /* BOTÃO WHATSAPP FLUTUANTE */
    .whatsapp-float{
      position:fixed;
      bottom:18px;
      right:18px;
      width:64px;
      height:64px;
      /* no solid background: SVG provides the circular logo */
      background-color:transparent;
      background-repeat:no-repeat;
      background-position:center;
      background-size:60% auto;
      border:none;
      box-shadow:0 8px 30px rgba(16,24,32,0.28);
      color:transparent; /* hide text fallback */
      border-radius:999px;
      display:inline-block;
      box-shadow:0 6px 20px rgba(0,0,0,0.18);
      z-index:120;
      text-indent:-9999px;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .whatsapp-float:hover{ transform:translateY(-3px); transition:transform .18s ease }

    @media (max-width:600px){
      .whatsapp-float{ width:56px; height:56px; bottom:14px; right:14px; background-size:48% }
    }

/* Animações: pulse + bounce/vibrate */
@keyframes whatsapp-pulse {
  0% { transform: translateY(0) scale(1); box-shadow:0 6px 18px rgba(0,0,0,0.14); }
  50% { transform: translateY(-6px) scale(1.06); box-shadow:0 18px 36px rgba(0,0,0,0.22); }
  100% { transform: translateY(0) scale(1); box-shadow:0 6px 18px rgba(0,0,0,0.14); }
}

@keyframes whatsapp-vibrate {
  0% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.whatsapp-float{
  /* combine both animations with different durations and timing */
  animation: whatsapp-pulse 3.2s ease-in-out infinite 0s, whatsapp-vibrate 6s linear infinite 0.5s;
}

.whatsapp-float:hover{ animation-play-state: paused; }

@media (max-width:600px){
  .whatsapp-float{ animation: whatsapp-pulse 3.2s ease-in-out infinite 0s, whatsapp-vibrate 6s linear infinite 1s }
}

@media (prefers-reduced-motion: reduce){
  .whatsapp-float{ animation: none !important; }
}

    /* HERO */
    .hero{
      background:linear-gradient(rgba(15,42,68,.9),rgba(15,42,68,.9)),url('/img/obra-bg.jpg') center/cover no-repeat;
      color:#fff;
      padding:110px 6% 120px;
      text-align:center;
    }
    .hero .logo{
      max-width:200px;
      margin-bottom:40px;
    }
    .hero h1{
      font-size:clamp(34px,5vw,56px);
      font-weight:800;
      line-height:1.1;
      margin-bottom:16px;
    }
    .hero h2{
      font-size:18px;
      font-weight:500;
      opacity:.95;
      margin-bottom:18px;
    }
    .hero p{
      max-width:820px;
      margin:0 auto 40px;
      opacity:.9;
    }

    /* FORM */
    .lead-form{
      max-width:420px;
      margin:0 auto;
      display:flex;
      flex-direction:column;
      gap:14px;
      background:#ffffff;
      padding:28px;
      border-radius:8px;
      box-shadow:var(--shadow);
    }
    .lead-form input{
      padding:14px;
      border-radius:4px;
      border:1px solid #ddd;
      font-family:inherit;
    }
    .lead-form button{
      background:var(--accent);
      color:var(--primary);
      font-weight:800;
      padding:16px;
      border:none;
      cursor:pointer;
      border-radius:4px;
      transition:.3s;
    }
    .lead-form button:hover{filter:brightness(.9)}

    /* SECTION */
    section{
      padding:80px 6%;
      background:#fff;
    }
    section.alt{
      background:var(--bg-light);
    }
    section h2{
      text-align:center;
      font-size:clamp(28px,4vw,42px);
      font-weight:800;
      margin-bottom:40px;
      color:var(--primary);
    }

    /* EQUIPAMENTOS */
    .equip-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
      gap:24px;
      max-width:1100px;
      margin:auto;
    }
    .equip{
      background:#fff;
      border-radius:6px;
      box-shadow:var(--shadow);
      overflow:hidden;
      text-align:center;
    }
    .equip img{
      width:100%;
      height:180px;
      object-fit:cover;
    }
    .equip h3{
      padding:18px;
      font-size:16px;
      font-weight:700;
      background:#f9fafb;
    }

    /* CLIENTES — carousel colorido */
    .clients-carousel{
      display:flex;
      align-items:center;
      gap:16px;
      max-width:1100px;
      margin:0 auto;
      position:relative;
    }
    .clients-track-wrapper{
      overflow:hidden;
      flex:1 1 auto;
    }
    .clients-track{
      display:flex;
      gap:24px;
      align-items:center;
      padding:8px 4px;
    }
    .clients-track img{
      display:block;
      width:160px;
      max-width:100%;
      height:80px;
      object-fit:contain;
      filter:none; /* manter cores originais */
      opacity:1;
      transition:transform .25s ease,opacity .25s ease;
    }
    .clients-track img:hover{ transform:scale(1.03); }

    /* Responsividade */
    @media(max-width:900px){
      .clients-track img{ width:130px; height:64px }
    }
    @media(max-width:600px){
      .clients-carousel{ gap:8px }
      .clients-track img{ width:110px; height:56px }
    }

    /* CTA FINAL */
    .cta{
      background:linear-gradient(135deg,var(--primary),var(--secondary));
      color:#fff;
      text-align:center;
    }
    .cta h2{
      color:#fff;
      margin-bottom:30px;
    }
    .cta a{
      display:inline-block;
      background:var(--accent);
      color:var(--primary);
      font-weight:800;
      padding:18px 36px;
      border-radius:6px;
    }

    @media(max-width:600px){
      .hero{padding:80px 6%}
      .hero .logo{max-width:150px}
    }
 
    /* HERO MODELO TECVIA — ADAPTADO PARA DA FONTE */
.hero-tecvia{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  padding: 110px 6%;
  /* foto de asfalto com gradiente de marca por cima */
  background: linear-gradient(135deg, rgba(15,42,68,0.72), rgba(30,79,143,0.58)), url('/img/vibroacabadora.jpeg') center/cover no-repeat;
  color: #fff;
  align-items: center;
  position: relative; /* necessário para o overlay de textura */
}

/* Textura sutil no hero (overlay via SVG data URL) */
/* textura asfalto: grão/pequenas pedras + veias sutis */
.hero-tecvia::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* padrão repetido simulando pequenas pedras/agrupamentos do asfalto */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><defs><pattern id='p' width='12' height='12' patternUnits='userSpaceOnUse'><rect width='12' height='12' fill='%230f2a44' fill-opacity='0'/><circle cx='2' cy='3' r='0.8' fill='%23000000' fill-opacity='0.10'/><circle cx='7' cy='2' r='0.7' fill='%23ffffff' fill-opacity='0.035'/><circle cx='10' cy='8' r='0.9' fill='%23000000' fill-opacity='0.085'/><circle cx='4' cy='9' r='0.6' fill='%23ffffff' fill-opacity='0.025'/></pattern></defs><rect width='100%' height='100%' fill='url(%23p)'/></svg>");
  background-repeat: repeat;
  opacity: 0.06; /* reduzido para integrar com a foto */
  mix-blend-mode: multiply; /* escurece e dá textura ao fundo */
  z-index: 1;
}

/* nenhuma faixa vegetal — usamos apenas a foto de asfalto + textura */

/* garantir conteúdo acima da textura */
.hero-tecvia .hero-left,
.hero-tecvia .hero-right{
  position: relative;
  z-index: 3;
}

/* Marca d'água do logo no hero (inspirado na imagem fornecida) */
/* removida a marca d'água em favor da estrada */


/* LADO ESQUERDO */
.hero-left{
  max-width: 620px;
}

.hero-logo{
  max-width: 220px;
  margin-bottom: 40px;
}

.hero-tecvia h1{
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 20px;
}

/* reduz a segunda linha do h1 para melhor hierarquia visual */
.hero-subline{
  display:block;
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 8px;
  color: #ffffff;
  opacity: 0.95;
}

/* destaque do nome da marca dentro do subline */
.hero-brand{
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.8px;
}

.hero-tecvia h1 strong{
  color: var(--accent, #f5a623);
}

.hero-text{
  font-size: 18px;
  opacity: .95;
  max-width: 520px;
  margin-bottom: 28px;
}

/* BOTÃO WHATSAPP */
.hero-whatsapp{
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 600;
}

/* LADO DIREITO — FORM */
.hero-right{
  display: flex;
  justify-content: center;
}

.hero-form{
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,.1);
  padding: 32px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.hero-form label{
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.hero-form input{
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
}

.hero-form button{
  width: 100%;
  padding: 16px;
  background: var(--accent, #f5a623);
  color: #0f2a44;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 8px;
}

/* MOBILE — IGUAL TECVIA */
@media (max-width: 900px){
  .hero-tecvia{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 90px 6%;
  }

  .hero-left{
    margin: auto;
  }

  .hero-logo{
    margin: 0 auto 28px;
  }

  .hero-text{
    margin-left: auto;
    margin-right: auto;
  }

  .hero-form{
    margin-top: 40px;
  }
}

/* EQUIPAMENTOS — MODELO TECVIA */
.equipments{
  padding: 100px 6%;
  background: #f4f6f8;
  text-align: center;
}

.equipments h2{
  font-size: clamp(32px, 4vw, 44px);
  color: #0f2a44;
  font-weight: 800;
  margin-bottom: 14px;
}

.equip-subtitle{
  max-width: 820px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #333;
}

/* GRID */
.equipments-grid{
  display: grid;
  /* Forçar 3 cards por linha em larguras de desktop */
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

/* Responsividade: 2 colunas em telas médias, 1 coluna em mobile */
@media (max-width: 1024px){
  .equipments-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px){
  .equipments-grid{
    grid-template-columns: 1fr;
  }
}

.equipment-card{
  background: #ffffff;
  padding: 40px 28px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.equipment-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
}

.equipment-card h3{
  font-size: 16px;
  font-weight: 700;
  color: #0f2a44;
}

/* imagem principal do card de equipamento */
.equipment-card img{
  display:block;
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:18px;
}

/* ÍCONE */
.equip-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f5a623;
  font-size: 26px;
}

/* CTA */
.equip-cta{
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* Botão 'VER MAIS' na seção de equipamentos */
.equipments .equip-more{
  display:inline-block;
  margin-top: 22px;
  background: var(--secondary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15,42,68,0.12);
  transition: transform .18s ease, box-shadow .18s ease, opacity .12s ease;
}
.equipments .equip-more:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,42,68,0.14);
  opacity: 0.98;
}

/* MOBILE */
@media (max-width: 768px){
  .equipments{
    padding: 80px 6%;
  }
  .equip-subtitle{
    font-size: 16px;
    margin-bottom: 44px;
  }
}

/* TOAST DE SUCESSO */
.toast{
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 360px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  /* transition: opacity .4s ease, transform .4s ease; */
  z-index: 9999;
}

.toast strong{
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.toast p{
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* visível */
.toast.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* mobile */
@media (max-width: 600px){
  .toast{
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: unset;
  }
}

/* LIGHTBOX EQUIPAMENTOS */
.equipment-card img{
  cursor: zoom-in;
}

/* overlay */
.image-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.image-lightbox.show{
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img{
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: zoomIn .25s ease;
}

@keyframes zoomIn{
  from{
    transform: scale(.92);
    opacity: .6;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}

/* botão fechar */
.image-lightbox .close{
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

/* LINKS SIMPLES NO CTA */
.cta-links{
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

/* links sem fundo */
.cta-links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none !important;
  box-shadow: none !important;
  padding: 0;
}

/* imagens */
.cta-links img{
  height: 26px;
  width: auto;
  opacity: 0.9;
  transition: opacity .2s ease, transform .2s ease;
}

/* hover sutil */
.cta-links a:hover img{
  opacity: 1;
  transform: translateY(-2px);
}

/* logo dafonte um pouco maior */
.cta-links a:first-child img{
  height: 30px;
}

/* AJUSTE DO BOTÃO CTA NO MOBILE */
@media (max-width: 600px){
  .cta a{
    padding: 14px 22px;          /* antes: 18px 36px */
    font-size: 14px;             /* reduz o texto */
    border-radius: 8px;          /* menos “botão gigante” */
    max-width: 90%;              /* evita estourar largura */
  }
}
