/* ===== INOVA REDES DE PROTEÇÃO — DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --blue:       #1565C0;
  --blue-dark:  #0D47A1;
  --blue-light: #1976D2;
  --teal:       #26C6DA;
  --teal-light: #4DD0E1;
  --bg:         #F5F9FC;
  --text:       #263238;
  --text-light: #546E7A;
  --white:      #FFFFFF;
  --border:     #E0ECF4;
  --shadow:     0 4px 24px rgba(21,101,192,.10);
  --shadow-md:  0 8px 40px rgba(21,101,192,.15);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--text-light); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-label { font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-title { margin-bottom: 14px; }
.section-sub   { font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; text-align: center; }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-family: 'Poppins', sans-serif;
  font-size: .95rem; font-weight: 600; cursor: pointer; border: none;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary   { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp  { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline-white:hover { background: var(--white); color: var(--blue); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 24px;
}
.logo { flex-shrink: 0; min-width: 120px; }
.logo img { height: 48px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: .92rem; font-weight: 500;
  color: var(--text); transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--blue); background: rgba(21,101,192,.07); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); display: block; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 20px 20px; border-top: 1px solid var(--border); background: var(--white);
}
.mobile-menu a { padding: 10px 14px; border-radius: 8px; font-weight: 500; }
.mobile-menu a:hover { background: var(--bg); }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, #1976D2 50%, var(--teal) 100%);
  position: relative; overflow: hidden; padding-top: 70px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'%3E%3Cpath d='M0 0l60 60M60 0L0 60'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; padding: 80px 0; }
.hero-text { color: var(--white); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 50px; padding: 6px 16px; font-size: .85rem; font-weight: 500; margin-bottom: 24px; }
.hero-title { color: var(--white); margin-bottom: 20px; }
.hero-title span { color: var(--teal-light); }
.hero-desc { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-features { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.hero-feature { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: .9rem; }
.hero-feature i { color: var(--teal-light); }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: 0 24px 80px rgba(0,0,0,.3); width: 100%; }
.hero-image-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--white); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
}
.hero-image-badge .num { font-size: 1.6rem; font-weight: 800; color: var(--blue); font-family: 'Poppins', sans-serif; }
.hero-image-badge .lbl { font-size: .8rem; color: var(--text-light); line-height: 1.3; }

/* ===== CARDS DE SERVIÇO ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: var(--transition); cursor: pointer;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card-body { padding: 24px; }
.service-card-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(38,198,218,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; margin-top: -38px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.service-card-icon i { color: var(--teal); font-size: 1.1rem; }
.service-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.service-card p { font-size: .9rem; }

/* ===== GALERIA PREVIEW ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 16px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: .85rem; font-weight: 500; }
.gallery-placeholder { background: var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed #b0c4d8; }
.gallery-placeholder i { font-size: 2rem; color: #b0c4d8; }
.gallery-placeholder span { font-size: .8rem; color: #b0c4d8; text-align: center; padding: 0 12px; }

/* ===== ÁREA DE ATENDIMENTO ===== */
.area-section { background: linear-gradient(135deg, var(--blue) 0%, #1976D2 60%, var(--teal) 100%); color: var(--white); }
.area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.area-text h2 { color: var(--white); margin-bottom: 16px; }
.area-text p  { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cities-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
.city-item    { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: .9rem; }
.city-item i  { color: var(--teal-light); font-size: .8rem; }
.area-why h3  { color: var(--white); margin-bottom: 16px; }
.why-list     { display: flex; flex-direction: column; gap: 12px; }
.why-item     { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); }
.why-item i   { color: var(--teal-light); }

/* ===== CTA WHATSAPP ===== */
.cta-whatsapp { background: #1A2E4A; padding: 60px 0; }
.cta-inner    { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text h2  { color: var(--white); margin-bottom: 8px; font-size: 1.8rem; }
.cta-text p   { color: rgba(255,255,255,.7); }

/* ===== FAQ ===== */
.faq-list     { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item     { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--text); cursor: pointer; text-align: left; transition: var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-question i { transition: transform var(--transition); color: var(--teal); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer   { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 24px 20px; font-size: .95rem; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ===== FOOTER ===== */
.footer { background: #0F1E30; color: rgba(255,255,255,.8); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 260px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: var(--transition); }
.footer-socials a:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.footer-col h4 { color: var(--white); font-family: 'Poppins', sans-serif; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .9rem; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-col ul a:hover { color: var(--teal-light); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.footer-contact-item i { color: var(--teal); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.4); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { color: var(--white); font-size: 1.6rem; }
@keyframes pulse-green {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.8); }
}

/* ===== LOJA ===== */
.loja-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.loja-tab { padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: .9rem; cursor: pointer; border: 2px solid var(--border); background: var(--white); color: var(--text); transition: var(--transition); font-family: 'Poppins', sans-serif; }
.loja-tab.active, .loja-tab:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.produtos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.produto-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.produto-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.produto-img { position: relative; }
.produto-img img { width: 100%; height: 220px; object-fit: cover; }
.produto-badge { position: absolute; top: 12px; left: 12px; background: var(--teal); color: var(--white); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; font-family: 'Poppins', sans-serif; }
.produto-body { padding: 24px; }
.produto-body h3 { margin-bottom: 8px; }
.produto-body p  { font-size: .9rem; margin-bottom: 16px; }
.produto-specs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.produto-spec { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.produto-spec strong { color: var(--text); }
.produto-spec span   { color: var(--text-light); }

/* ===== GALERIA PÁGINA ===== */
.galeria-filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border-radius: 50px; border: 2px solid var(--border); background: var(--white); font-weight: 500; font-size: .88rem; cursor: pointer; transition: var(--transition); font-family: 'Poppins', sans-serif; }
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.galeria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galeria-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; cursor: pointer; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galeria-item:hover img { transform: scale(1.06); }
.galeria-cap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); padding: 12px 14px 10px; color: var(--white); font-size: .82rem; transform: translateY(100%); transition: var(--transition); }
.galeria-item:hover .galeria-cap { transform: translateY(0); }

/* ===== LIGHTBOX ===== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: var(--white); font-size: 2rem; cursor: pointer; background: none; border: none; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: var(--white); font-size: 2rem; cursor: pointer; background: rgba(255,255,255,.1); border: none; border-radius: 50%; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ===== FORMULÁRIO ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--text); font-family: 'Poppins', sans-serif; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px;
  font-size: .95rem; font-family: 'Inter', sans-serif; color: var(--text);
  background: var(--white); transition: border-color var(--transition); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { text-align: center; margin-top: 8px; }

/* ===== PÁGINA INTERNA (HERO PEQUENO) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  padding: 120px 0 60px; color: var(--white); text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.8); margin-top: 12px; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; margin-bottom: 16px; font-size: .85rem; opacity: .8; }
.breadcrumb a:hover { opacity: 1; }

/* ===== SOBRE ===== */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sobre-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.sobre-img img { width: 100%; height: 420px; object-fit: cover; }
.diferenciais-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 32px; }
.diferencial-item { background: var(--bg); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; }
.diferencial-item i { font-size: 1.4rem; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.diferencial-item h4 { font-size: .95rem; margin-bottom: 4px; }
.diferencial-item p  { font-size: .85rem; }

/* ===== CONTATO ===== */
.contato-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.contato-infos { display: flex; flex-direction: column; gap: 24px; }
.contato-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contato-info-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(21,101,192,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contato-info-icon i { color: var(--blue); font-size: 1.1rem; }
.contato-info-item h4 { margin-bottom: 2px; font-size: .95rem; }
.contato-info-item p  { font-size: .9rem; }
.mapa-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.mapa-embed iframe { width: 100%; height: 380px; border: none; display: block; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .sobre-grid    { grid-template-columns: 1fr; }
  .sobre-img     { order: -1; }
  .area-inner    { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0; }
  .hero-image { display: none; }
  .nav, .header-cta .btn-secondary { display: none; }
  .hamburger { display: flex; }
  .services-grid, .produtos-grid, .galeria-grid, .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr; }
  .form-grid     { grid-template-columns: 1fr; }
  .contato-grid  { grid-template-columns: 1fr; }
  .cta-inner     { flex-direction: column; text-align: center; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .sobre-img img { height: 280px; }
  .cities-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .services-grid, .produtos-grid, .galeria-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
}
