/* ============================================================
   HM Acessórios Industriais — Design System
   Conceito: limpo e corporativo (referência Lorenzetti)
   Cores extraídas da logo oficial
   ============================================================ */

:root {
  /* Marca */
  --red: #D30A1B;
  --red-dark: #B00817;
  --blue: #0A52A3;
  --blue-light: #047BC4;
  --navy: #0D3C91;
  --navy-dark: #082B6B;

  /* Neutros */
  --gray: #E2E3E4;
  --line: #E7E8EC;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --ink: #22272E;
  --muted: #5A6472;
  --white: #FFFFFF;

  /* Efeitos */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(20, 35, 70, 0.08);
  --shadow: 0 10px 30px rgba(20, 35, 70, 0.10);
  --shadow-lg: 0 18px 44px rgba(20, 35, 70, 0.14);
  --border: 1px solid var(--line);

  /* Tipografia */
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

.lead { font-size: 1.1rem; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 3px;
  background: var(--red);
}

.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 0.75rem; }

.title-line { position: relative; padding-bottom: 0.9rem; }
.title-line::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  background: var(--red);
}
.section-head .title-line::after { left: 50%; transform: translateX(-50%); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  line-height: 1.2;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); color: var(--white); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: #FFE8EA; color: var(--red); }

.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--red); }

.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: var(--white); }

.btn-block { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 0.9rem; }

.btn-whatsapp { background: #128C7E; color: var(--white); }
.btn-whatsapp:hover { background: #0E735F; color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,0.88); font-size: 0.8rem; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 9px 24px;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar a:hover { color: #FFE8EA; }
.topbar .tb-items { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar svg { width: 14px; height: 14px; stroke: var(--red); flex: 0 0 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
}
.header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--red);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--navy); }
.brand:hover { color: var(--navy); }

/* Logo oficial em "chip" branco — garante contraste do logo
   (vermelho/azul escuros) sobre qualquer fundo. */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
  line-height: 0;
}
.logo-chip img {
  height: 44px;
  width: auto;
  display: block;
}
.footer .logo-chip img { height: 40px; }

@media (max-width: 480px) {
  .logo-chip img { height: 38px; }
  .brand-text { display: none; }
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.brand-text strong em { font-style: normal; color: var(--red); }
.brand-text small {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Navegação ---------- */
.nav { display: flex; align-items: center; gap: 1.75rem; }

.nav ul { display: flex; align-items: center; gap: 0.25rem; }

.nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #333B4A;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--red); }
.nav-link.is-active { color: var(--red); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 2px;
  height: 2px;
  background: var(--red);
}

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 3px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 0.75rem 24px 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 48px rgba(20, 35, 70, 0.16);
    border-top: var(--border);
  }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav-link { padding: 0.85rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-link.is-active::after { display: none; }
  .nav-cta { padding-top: 1rem; }
  .nav-cta .btn { width: 100%; }
  body.nav-open .nav { transform: translateY(0); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: var(--border);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  padding: 88px 0 96px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.hero-tag svg { width: 16px; height: 16px; stroke: var(--red); }

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 span { color: var(--red); }
.hero p { color: var(--muted); font-size: 1.12rem; max-width: 34em; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2.5rem; }
.hero-meta .meta-item { display: flex; align-items: center; gap: 0.6rem; color: #3A4351; font-size: 0.92rem; font-weight: 500; }
.hero-meta svg { width: 20px; height: 20px; stroke: var(--red); flex: 0 0 20px; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 460px; object-fit: cover; }

.hero-badge {
  position: absolute;
  left: -18px; bottom: -22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 290px;
}
.hero-badge svg { width: 34px; height: 34px; stroke: var(--red); flex: 0 0 34px; }
.hero-badge b { font-family: var(--font-head); font-size: 0.95rem; color: var(--navy); display: block; line-height: 1.25; }
.hero-badge span { font-size: 0.8rem; color: var(--muted); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 72px; gap: 2.5rem; }
  .hero-photo img { height: 340px; }
  .hero-badge { left: 12px; bottom: 16px; }
}

/* ---------- Trust / números ---------- */
.trust-bar { background: var(--white); border-bottom: var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 36px 0;
}
.trust-item { border-left: 3px solid var(--red); padding-left: 1.25rem; }
.trust-item svg { width: 28px; height: 28px; stroke: var(--red); margin-bottom: 0.5rem; }
.trust-item b {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}
.trust-item span { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 920px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 480px) {
  .trust-bar { padding: 0 0.5rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 28px 0; }
  .trust-item {
    border-left: none;
    padding-left: 0;
    background: var(--gray-light, #f5f6f8);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
  }
  .trust-item svg { width: 30px; height: 30px; margin: 0 auto 0.5rem; stroke: var(--red); }
  .trust-item b { font-size: 1.4rem; }
  .trust-item span { font-size: 0.78rem; }
}

/* ---------- Linhas de produtos ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 43, 107, 0) 35%, rgba(8, 43, 107, 0.82) 100%);
}
.cat-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.1rem 1.15rem 1.2rem;
}
.cat-body h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.15rem; }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #FFB3BA;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cat-link:hover { color: var(--white); }
.cat-link svg { width: 15px; height: 15px; }

@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Cards de produto ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }

.product-icon {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--red);
}
.product-icon svg { width: 46%; height: 46%; stroke-width: 2.4; }
.product-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-body { padding: 1.15rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.02rem; margin-bottom: 0.3rem; color: var(--navy); }
.product-card .sku { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.55rem; letter-spacing: 0.02em; }
.product-card p { font-size: 0.88rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }

.product-tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.prod-actions { display: flex; gap: 0.5rem; }
.product-card .btn { padding: 0.6rem 0.85rem; font-size: 0.76rem; flex: 1; }

.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prod-link:hover { color: var(--navy); }
.prod-link svg { width: 15px; height: 15px; }

@media (max-width: 1024px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .catalog-grid { grid-template-columns: 1fr; } }

/* ---------- Pilares (Comprar / Consertar) ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pillar {
  background: var(--white);
  border: var(--border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pillar-serv { border-top-color: var(--blue); }

.pillar .pillar-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(211, 10, 27, 0.08);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.pillar-serv .pillar-icon { background: rgba(10, 82, 163, 0.08); }
.pillar-icon svg { width: 30px; height: 30px; stroke: var(--red); }
.pillar-serv .pillar-icon svg { stroke: var(--blue); }
.pillar h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.pillar p { color: var(--muted); margin-bottom: 1.25rem; flex: 1; }
.pillar ul { margin-bottom: 1.5rem; }
.pillar ul li {
  color: #3A4351;
  padding: 0.28rem 0 0.28rem 1.5rem;
  position: relative;
  font-size: 0.92rem;
}
.pillar ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.82rem;
  width: 7px; height: 7px;
  background: var(--red);
  transform: rotate(45deg);
}
.pillar-serv ul li::before { background: var(--blue); }
.pillar .btn { align-self: flex-start; }

@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Como funciona (passos) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { border-top: 3px solid var(--line); padding-top: 1.25rem; transition: border-color 0.25s; }
.step:hover { border-top-color: var(--red); }
.step .step-icon { display: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Marcas ---------- */
.brands-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.75rem; }
.brand-chip {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A93A3;
  transition: color 0.2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.brand-chip:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }

.faq-item {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: var(--red); box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary svg {
  width: 20px; height: 20px;
  stroke: var(--red);
  flex: 0 0 20px;
  transition: transform 0.25s;
}
.faq-item[open] summary svg { transform: rotate(180deg); }

.faq-item .faq-body { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--white); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 64px 0;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-inner p { color: rgba(255,255,255,0.92); max-width: 46em; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Formulários ---------- */
.form-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group label em { color: var(--red); font-style: normal; }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 82, 163, 0.12);
  background: var(--white);
}

.form-error { color: var(--red); font-size: 0.78rem; display: none; }
.form-group.invalid .form-error { display: block; }
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select { border-color: var(--red); }

.form-note { font-size: 0.8rem; color: var(--muted); }

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; stroke: #16A34A; margin: 0 auto 1rem; }
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }

/* ---------- Breadcrumb / page-hero ---------- */
.page-hero {
  background: var(--bg-soft);
  border-bottom: var(--border);
  padding: 56px 0;
}
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero p { color: var(--muted); max-width: 46em; font-size: 1.05rem; }

.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--navy); font-weight: 600; }

/* ---------- Filtros de produtos ---------- */
.catalog-toolbar {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.search-box svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  stroke: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: var(--bg);
}
.search-box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,82,163,0.12); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pill {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--red); color: var(--red); }
.filter-pill.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.catalog-count { font-size: 0.85rem; color: var(--muted); }
.catalog-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.catalog-empty svg { width: 56px; height: 56px; stroke: var(--gray); margin: 0 auto 1rem; }

/* ---------- Serviços ---------- */
.service-hero-band {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.service-hero-band .big-icon {
  width: 76px; height: 76px;
  border-radius: 16px;
  background: rgba(211,10,27,0.08);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.service-hero-band .big-icon svg { width: 42px; height: 42px; stroke: var(--red); }
.service-hero-band h2 { margin-bottom: 0.6rem; }
.service-hero-band .btn { margin-top: 1rem; }

.repair-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.repair-item {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.repair-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.repair-item svg { width: 26px; height: 26px; stroke: var(--blue); flex: 0 0 26px; }
.repair-item b { color: var(--navy); display: block; font-size: 0.95rem; }
.repair-item span { font-size: 0.83rem; color: var(--muted); }

@media (max-width: 820px) {
  .service-hero-band { grid-template-columns: 1fr; }
  .repair-list { grid-template-columns: 1fr; }
}

/* ---------- Página Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-visual {
  background: linear-gradient(150deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-visual svg { width: 56px; height: 56px; stroke: var(--white); margin-bottom: 1.25rem; }
.about-visual h3 { color: var(--white); margin-bottom: 0.6rem; }
.about-visual p { color: rgba(255,255,255,0.85); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.value-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.value-card svg { width: 36px; height: 36px; stroke: var(--red); margin: 0 auto 0.75rem; }
.value-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card .cc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(211,10,27,0.08);
  display: grid;
  place-items: center;
  flex: 0 0 48px;
}
.contact-card .cc-icon svg { width: 24px; height: 24px; stroke: var(--red); }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--muted); }
.contact-card a { color: var(--blue); }
.contact-card a:hover { color: var(--red); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #128C7E;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.4);
  transition: transform 0.25s, background 0.25s;
}
.wa-float:hover { transform: scale(1.07); background: #0E735F; color: var(--white); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float .wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(18,140,126,0.5);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); }
.footer-top { border-top: 3px solid var(--red); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: 60px 0;
}
.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer .brand { margin-bottom: 1rem; }
.footer .brand-text strong { color: var(--white); }
.footer .brand-text strong em { color: var(--red); }
.footer .brand-text small { color: rgba(255,255,255,0.6); }
.footer p { font-size: 0.92rem; }
.footer ul li { margin-bottom: 0.55rem; }
.footer ul a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer ul a:hover { color: var(--white); }

.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--red); flex: 0 0 18px; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--red); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--navy); color: var(--white); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--white); }
