/*
Theme Name: Visual2 Pro
Theme URI: https://grupovisual2.com.br
Author: Grupo Visual2
Author URI: https://grupovisual2.com.br
Description: Tema institucional para Grupo Visual2 com serviços de TI, CFTV, controle de acesso e clientes.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: visual2-pro
*/

:root{
  --primary:#0a1f44;
  --secondary:#111827;
  --accent:#25d366;
  --light:#f5f7fb;
  --text:#1f2937;
  --muted:#6b7280;
  --white:#ffffff;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}

a{color:inherit}

.site-header{
  background:var(--primary);
  color:var(--white);
}

.header-inner{
  max-width:1180px;
  margin:0 auto;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand h1{
  margin:0;
  font-size:28px;
  letter-spacing:.3px;
}

.brand p{
  margin:4px 0 0;
  color:#dbeafe;
  font-size:14px;
}

.main-nav{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:center;
}

.main-nav a{
  color:var(--white);
  text-decoration:none;
  font-weight:600;
  font-size:15px;
}

.main-nav a:hover{text-decoration:underline}

.hero{
  background:linear-gradient(135deg,#0a1f44 0%,#123b78 100%);
  color:var(--white);
  padding:80px 20px;
}

.hero-inner{
  max-width:1180px;
  margin:0 auto;
}

.hero h2{
  font-size:42px;
  line-height:1.15;
  max-width:760px;
  margin:0 0 18px;
}

.hero p{
  max-width:680px;
  font-size:19px;
  color:#e5efff;
  margin:0 0 28px;
}

.btn{
  display:inline-block;
  background:var(--accent);
  color:var(--white);
  padding:14px 22px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.btn:hover{filter:brightness(.95)}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:60px 20px;
}

.section-title{
  color:var(--primary);
  font-size:32px;
  margin:0 0 12px;
}

.section-subtitle{
  color:var(--muted);
  max-width:760px;
  margin:0 0 34px;
}

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

.service-card{
  background:var(--white);
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:26px;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
}

.service-card h3{
  color:var(--primary);
  margin-top:0;
}

.light-section{background:var(--light)}

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

.client-card{
  background:var(--white);
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:22px 16px;
  text-align:center;
  text-decoration:none;
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  transition:transform .2s ease, box-shadow .2s ease;
}

.client-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(15,23,42,.12);
}

.client-card img{
  max-width:145px;
  max-height:70px;
  object-fit:contain;
  margin-bottom:14px;
}

.client-card span{
  font-weight:700;
  color:var(--primary);
  font-size:14px;
}

.contact-box{
  background:var(--primary);
  color:var(--white);
  border-radius:18px;
  padding:34px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:22px;
}

.contact-box h2{
  margin:0 0 8px;
}

.contact-box p{
  margin:0;
  color:#dbeafe;
}

.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  background:var(--accent);
  color:var(--white);
  width:58px;
  height:58px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:27px;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  z-index:999;
}

.site-footer{
  background:#07172f;
  color:#dbeafe;
  text-align:center;
  padding:24px 20px;
}

@media(max-width:900px){
  .header-inner{flex-direction:column;text-align:center}
  .hero h2{font-size:34px}
  .services-grid{grid-template-columns:1fr}
  .clients-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:520px){
  .clients-grid{grid-template-columns:1fr}
  .hero{padding:55px 20px}
  .hero h2{font-size:29px}
}
