@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* ══════════════════════════════════════════
   VARIÁVEIS
══════════════════════════════════════════ */
:root {
  --vermelho: #C8201F;
  --vermelho-hover: #a81a19;
  --azul: #2196C9;
  --azul-escuro: #1A2B4A;
  --azul-claro: #EBF5FB;
  --cinza-claro: #F4F8FC;
  --cinza-texto: #555E70;
  --branco: #FFFFFF;
  --verde-wpp: #25D366;
  --sombra: 0 4px 20px rgba(26,43,74,0.10);
  --sombra-hover: 0 8px 32px rgba(26,43,74,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', sans-serif;
  --transicao: all 0.25s ease;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--azul-escuro);
  background: var(--branco);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ══════════════════════════════════════════
   LAYOUT UTILITÁRIOS
══════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 90px 0; }
.section-azul { background: var(--azul-claro); }
.section-cinza { background: var(--cinza-claro); }
.section-escuro { background: var(--azul-escuro); }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vermelho);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--azul-escuro);
  line-height: 1.2;
}
.section-title span { color: var(--vermelho); }
.section-sub {
  font-size: 18px;
  color: var(--cinza-texto);
  margin-top: 14px;
  max-width: 620px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ══════════════════════════════════════════
   BOTÕES
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transicao);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--vermelho);
  color: var(--branco);
  border-color: var(--vermelho);
}
.btn-primary:hover {
  background: var(--vermelho-hover);
  border-color: var(--vermelho-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,32,31,0.35);
}
.btn-secondary {
  background: var(--azul);
  color: var(--branco);
  border-color: var(--azul);
}
.btn-secondary:hover {
  background: #1a7faa;
  border-color: #1a7faa;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--azul);
  border-color: var(--azul);
}
.btn-outline:hover {
  background: var(--azul);
  color: var(--branco);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--branco);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--verde-wpp);
  color: var(--branco);
  border-color: var(--verde-wpp);
  font-size: 14px;
  padding: 12px 24px;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   CARDS
══════════════════════════════════════════ */
.card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--sombra);
  transition: var(--transicao);
}
.card:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-5px);
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--branco);
  box-shadow: 0 2px 12px rgba(26,43,74,0.08);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(26,43,74,0.15);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-logo img {
  max-height: 52px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  font-weight: 600;
  font-size: 15px;
  color: var(--azul-escuro);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transicao);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--vermelho);
}
.nav-menu .nav-cta {
  background: var(--vermelho);
  color: var(--branco) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  margin-left: 8px;
}
.nav-menu .nav-cta:hover {
  background: var(--vermelho-hover);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--azul-escuro);
  border-radius: 2px;
  transition: var(--transicao);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,43,74,0.88) 0%, rgba(26,43,74,0.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}
.hero-text { max-width: 680px; }
.hero-text h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: var(--branco);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-text h1 strong { color: #5cc8f0; }
.hero-text p {
  font-size: 19px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero pequeno (páginas internas) */
.hero-small {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-small .hero-overlay {
  background: linear-gradient(135deg, rgba(26,43,74,0.90), rgba(33,150,201,0.70));
}
.hero-small .hero-content { padding: 60px 24px; }
.hero-small h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--branco);
  margin-bottom: 12px;
}
.hero-small p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
}

/* ══════════════════════════════════════════
   SEÇÃO SOLUÇÃO (cards de serviços)
══════════════════════════════════════════ */
.solucao-intro { margin-bottom: 48px; }
.solucao-intro .tag-azul {
  color: var(--azul);
  font-weight: 700;
  font-size: 17px;
  margin-top: 8px;
}
.servico-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--sombra);
  transition: var(--transicao);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.servico-card:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-5px);
  border-left: 4px solid var(--vermelho);
}
.servico-icon {
  width: 52px;
  height: 52px;
  background: var(--azul-claro);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.servico-icon svg { color: var(--azul); }
.servico-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--azul-escuro);
}

/* ══════════════════════════════════════════
   SEÇÃO QUEM SOMOS (split)
══════════════════════════════════════════ */
.qs-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.qs-img {
  border-radius: var(--radius);
  box-shadow: var(--sombra-hover);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.qs-bullets { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.qs-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}
.qs-bullets li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--vermelho);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   SEGMENTOS (foto cards)
══════════════════════════════════════════ */
.segmento-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  cursor: default;
}
.segmento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.segmento-card:hover img { transform: scale(1.07); }
.segmento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,43,74,0.85) 0%, rgba(26,43,74,0.2) 60%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition: var(--transicao);
}
.segmento-card:hover .segmento-overlay {
  background: linear-gradient(to top, rgba(26,43,74,0.75) 0%, rgba(33,150,201,0.25) 60%);
}
.segmento-overlay span {
  font-weight: 700;
  color: var(--branco);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════════
   GALERIA
══════════════════════════════════════════ */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.galeria-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.galeria-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  background: var(--azul-escuro);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(33,150,201,0.12);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  background: rgba(200,32,31,0.10);
  border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--branco);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════
   CATÁLOGO — PRODUTO CARDS
══════════════════════════════════════════ */
.produto-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--sombra);
  transition: var(--transicao);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 4px solid transparent;
}
.produto-card:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-5px);
  border-top-color: var(--azul);
}
.produto-icon {
  width: 60px;
  height: 60px;
  background: var(--azul-claro);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.produto-icon svg { color: var(--azul); }
.produto-titulo {
  font-size: 18px;
  font-weight: 700;
  color: var(--azul-escuro);
}
.produto-desc {
  font-size: 14px;
  color: var(--cinza-texto);
  line-height: 1.6;
  flex: 1;
}
.catalogo-link-externo {
  text-align: center;
  margin: 40px 0 0;
  padding: 32px;
  background: var(--azul-claro);
  border-radius: var(--radius);
}

/* ══════════════════════════════════════════
   DIFERENCIAIS (Quem Somos)
══════════════════════════════════════════ */
.diferencial-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--sombra);
  transition: var(--transicao);
  text-align: center;
}
.diferencial-card:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-5px);
}
.diferencial-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #ffeaea, #ffe0e0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.diferencial-icon svg { color: var(--vermelho); }
.diferencial-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.diferencial-card p {
  font-size: 14px;
  color: var(--cinza-texto);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   LISTA COM CHECK / BULLETS
══════════════════════════════════════════ */
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin: 28px 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.check-list li::before {
  content: '✓';
  color: var(--vermelho);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

/* Tags de segmentos */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.tag-badge {
  background: var(--azul-claro);
  color: var(--azul-escuro);
  border: 1.5px solid rgba(33,150,201,0.25);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transicao);
}
.tag-badge:hover {
  background: var(--azul);
  color: var(--branco);
  border-color: var(--azul);
}

/* ══════════════════════════════════════════
   CONTATO — FORMULÁRIO
══════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-escuro);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #dde4ee;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--azul-escuro);
  transition: var(--transicao);
  background: var(--branco);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(33,150,201,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 13px;
  color: var(--cinza-texto);
  margin-top: 8px;
}

.contato-info-card {
  background: var(--azul-escuro);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: var(--branco);
  height: 100%;
}
.contato-info-card h2 { color: var(--branco); margin-bottom: 28px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.info-item-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item-text p { font-size: 13px; opacity: 0.7; margin-bottom: 2px; }
.info-item-text strong { font-size: 15px; }
.social-links { display: flex; gap: 12px; margin-top: 28px; }
.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicao);
}
.social-link:hover { background: var(--azul); }
.social-link svg { color: var(--branco); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--azul-escuro);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-logo { max-height: 54px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 280px;
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 20px;
}
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: var(--transicao);
}
.footer-links-list a:hover { color: var(--branco); padding-left: 4px; }
.footer-contato p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicao);
}
.footer-social a:hover { background: var(--vermelho); }
.footer-social svg { color: var(--branco); width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: var(--transicao);
}
.footer-legal a:hover { color: var(--branco); }

/* ══════════════════════════════════════════
   WHATSAPP FLUTUANTE
══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 62px;
  height: 62px;
  background: var(--verde-wpp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transicao);
  animation: pulse-wpp 2.2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}
.whatsapp-float svg { color: var(--branco); }
@keyframes pulse-wpp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,0.75), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ══════════════════════════════════════════
   ANIMAÇÕES
══════════════════════════════════════════ */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVIDADE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .galeria-grid { grid-template-columns: repeat(3, 1fr); }
  .qs-split { gap: 40px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--branco);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    padding: 24px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 20px; }
  .nav-menu .nav-cta { font-size: 16px; padding: 14px 32px; }

  .hero-text h1 { font-size: clamp(28px, 7vw, 40px); }
  .hero-buttons { flex-direction: column; align-items: flex-start; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .qs-split { grid-template-columns: 1fr; }
  .qs-img { height: 280px; }
  .check-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contato-info-card { margin-top: 32px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero { min-height: 92vh; }
  .hero-small { min-height: 44vh; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-float { width: 54px; height: 54px; bottom: 20px; right: 20px; }
  .btn-lg { padding: 15px 32px; font-size: 15px; }
  .tags-grid { gap: 8px; }
}

/* no-scroll (lightbox aberto) */
body.no-scroll { overflow: hidden; }
