:root {
  --azul: #1A3A6B;
  --azul-medio: #1E5FA8;
  --vermelho: #C0281E;
  --vermelho-escuro: #8B1A12;
  --branco: #ffffff;
  --cinza-claro: #F4F6FA;
  --cinza-texto: #555;
  --whatsapp: #25D366;
  --font-titulo: 'Barlow Condensed', sans-serif;
  --font-corpo: 'Barlow', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-corpo); color: #222; background: var(--branco); }

/* ── NAV ── */
nav {
  background: var(--azul);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo-text { line-height: 1; }
.nav-logo-text .n1 {
  color: var(--vermelho);
  font-family: var(--font-titulo);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.nav-logo-text .n2 {
  color: rgba(255,255,255,0.75);
  font-family: var(--font-titulo);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--branco); }
.nav-cta {
  background: var(--whatsapp);
  color: var(--branco) !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: 13px !important;
}
.nav-cta:hover { background: #1ebe58 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: white; display: block; }
.mobile-menu {
  display: none;
  background: var(--azul);
  padding: 16px 5%;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.open { display: flex; }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── HERO ── */
.hero {
  background: var(--azul);
  padding: 72px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(192,40,30,0.08);
}
.hero::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(30,95,168,0.2);
}
.hero-inner { max-width: 700px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(192,40,30,0.2);
  color: #f0877f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-left: 3px solid var(--vermelho);
}
.hero h1 {
  font-family: var(--font-titulo);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  color: var(--branco);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero h1 span { color: var(--vermelho); }
.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--whatsapp);
  color: var(--branco);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: #1ebe58; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--branco);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, transform 0.1s;
}
.btn-secondary:hover { border-color: var(--branco); transform: translateY(-1px); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--font-titulo);
  font-size: 38px;
  font-weight: 800;
  color: var(--vermelho);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 4px; letter-spacing: 0.05em; }

/* ── SECTIONS ── */
.section { padding: 64px 5%; }
.section-alt { background: var(--cinza-claro); }
.section-dark { background: var(--azul); }
.section-title {
  font-family: var(--font-titulo);
  font-size: 36px;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.section-dark .section-title { color: var(--branco); }
.section-sub {
  color: var(--cinza-texto);
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 520px;
}
.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.accent-line {
  width: 48px; height: 4px;
  background: var(--vermelho);
  margin-bottom: 16px;
  border-radius: 2px;
}

/* ── DIFERENCIAIS ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.diff-card {
  background: var(--branco);
  border-radius: 8px;
  padding: 24px 20px;
  border: 1px solid #e4e8f0;
  border-top: 3px solid var(--vermelho);
  transition: transform 0.2s, box-shadow 0.2s;
}
.diff-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,58,107,0.1); }
.diff-icon {
  width: 44px; height: 44px;
  background: var(--azul);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.diff-icon svg { width: 22px; height: 22px; fill: var(--branco); }
.diff-title { font-weight: 600; font-size: 15px; color: var(--azul); margin-bottom: 6px; }
.diff-text { font-size: 13px; color: var(--cinza-texto); line-height: 1.6; }

/* ── SERVIÇOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--branco);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(26,58,107,0.12); }
.service-header {
  background: var(--azul);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-num {
  font-family: var(--font-titulo);
  font-size: 32px;
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  min-width: 36px;
}
.service-header h3 {
  font-family: var(--font-titulo);
  font-size: 20px;
  font-weight: 700;
  color: var(--branco);
}
.service-body { padding: 20px; }
.service-body p { font-size: 14px; color: var(--cinza-texto); line-height: 1.65; margin-bottom: 14px; }
.service-tag {
  display: inline-block;
  background: var(--cinza-claro);
  color: var(--azul);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 2px;
  margin: 2px 2px 2px 0;
  letter-spacing: 0.05em;
}

/* ── PRODUTOS ── */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.produto-card {
  background: var(--branco);
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.produto-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,58,107,0.1); }
.produto-img {
  height: 120px;
  background: var(--cinza-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e4e8f0;
}
.produto-img span { font-size: 12px; color: #aaa; }
.produto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.produto-card:hover .produto-img img { transform: scale(1.06); }
.produto-info { padding: 16px; }
.produto-nome { font-weight: 600; font-size: 14px; color: var(--azul); margin-bottom: 4px; }
.produto-desc { font-size: 12px; color: var(--cinza-texto); margin-bottom: 10px; line-height: 1.5; }
.produto-cta {
  font-size: 12px;
  color: var(--vermelho);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--vermelho);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-titulo);
  font-size: 30px;
  font-weight: 800;
  color: var(--branco);
  max-width: 500px;
  line-height: 1.15;
}
.cta-band h2 span { color: rgba(255,255,255,0.65); }
.btn-branco {
  background: var(--branco);
  color: var(--vermelho);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.1s, opacity 0.2s;
}
.btn-branco:hover { opacity: 0.92; transform: translateY(-1px); }

/* ── SOBRE ── */
.sobre-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sobre-foto {
  background: var(--cinza-claro);
  border-radius: 8px;
  border: 1px solid #e4e8f0;
  position: relative;
  overflow: hidden;
}
.sobre-foto::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 6px;
  background: var(--vermelho);
}
.sobre-foto span { color: #bbb; font-size: 13px; }
.sobre-foto img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.sobre-texto h2 {
  font-family: var(--font-titulo);
  font-size: 38px;
  font-weight: 800;
  color: var(--azul);
  line-height: 1.1;
  margin-bottom: 16px;
}
.sobre-texto h2 span { color: var(--vermelho); }
.sobre-texto p { font-size: 15px; color: var(--cinza-texto); line-height: 1.75; margin-bottom: 14px; }
.sobre-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.sobre-num-card {
  background: var(--azul);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}
.sobre-num-card .num {
  font-family: var(--font-titulo);
  font-size: 34px;
  font-weight: 800;
  color: var(--vermelho);
  line-height: 1;
}
.sobre-num-card .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ── CONTATO ── */
.contato-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contato-info h3 {
  font-family: var(--font-titulo);
  font-size: 22px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 20px;
}
.info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.info-dot {
  width: 10px; height: 10px;
  background: var(--vermelho);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.info-item p { font-size: 14px; color: #444; line-height: 1.6; }
.info-item strong { color: var(--azul); }
.mapa-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(26,58,107,0.13);
  border: 2px solid var(--azul);
}
.mapa-iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}
.mapa-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--branco);
  color: var(--azul);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  z-index: 1;
  letter-spacing: 0.02em;
}
.mapa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--azul);
  color: var(--branco);
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.mapa-cta:hover { background: var(--azul-medio); }
.form-contato h3 {
  font-family: var(--font-titulo);
  font-size: 22px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 20px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--azul);
  display: block;
  margin-bottom: 5px;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #dde2ec;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-corpo);
  color: #333;
  background: var(--branco);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--azul-medio); }
.form-group textarea { height: 90px; resize: vertical; }
.btn-form {
  background: var(--vermelho);
  color: var(--branco);
  padding: 13px 28px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-corpo);
  transition: background 0.2s;
}
.btn-form:hover { background: var(--vermelho-escuro); }
.btn-form:disabled { opacity: 0.65; cursor: not-allowed; }

/* ── FOOTER ── */
footer {
  background: #0f2347;
  padding: 40px 5% 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .n1 {
  color: var(--vermelho);
  font-family: var(--font-titulo);
  font-size: 22px;
  font-weight: 800;
}
.footer-brand .n2 {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-titulo);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  color: var(--branco);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-col a,
.footer-col p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  line-height: 1.5;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 12px; }

/* ── WHATSAPP FLUTUANTE ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--whatsapp);
  color: var(--branco);
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-float svg { width: 20px; height: 20px; fill: white; }

/* ── PAGE HEADER (páginas internas) ── */
.page-header {
  background: var(--azul);
  padding: 48px 5% 40px;
}
.page-header h1 {
  font-family: var(--font-titulo);
  font-size: 42px;
  font-weight: 800;
  color: var(--branco);
  margin-bottom: 8px;
}
.page-header p { color: rgba(255,255,255,0.65); font-size: 15px; }
.breadcrumb { color: rgba(255,255,255,0.45); font-size: 12px; margin-bottom: 16px; }
.breadcrumb span { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 48px 5% 40px; }
  .hero p { font-size: 15px; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero::before, .hero::after { display: none; }

  /* Sections */
  .section { padding: 44px 5%; }
  .section-title { font-size: 28px; }

  /* Layouts de grid 2 colunas → 1 coluna */
  .sobre-layout,
  .contato-layout { grid-template-columns: 1fr; gap: 32px; }

  /* Sobre: foto vem antes do texto no mobile */
  .sobre-foto { order: -1; }
  .sobre-nums { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* CTA band */
  .cta-band { flex-direction: column; text-align: center; gap: 16px; }
  .cta-band h2 { font-size: 24px; }
  .btn-branco { width: 100%; text-align: center; }

  /* Page header */
  .page-header { padding: 36px 5% 28px; }
  .page-header h1 { font-size: 30px; }

  /* WhatsApp flutuante menor no mobile */
  .wa-float { padding: 10px 16px; font-size: 13px; bottom: 16px; right: 16px; }

  /* Formulário */
  .btn-form { font-size: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .sobre-nums { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .diff-grid { grid-template-columns: 1fr; }
  .produtos-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .sobre-texto h2 { font-size: 28px; }
}
