/* =========================================================
   ALS Equipamentos – estilo do site
   Para trocar as cores, mude só as variáveis abaixo.
   ========================================================= */
:root {
  --laranja: #e9521e;        /* cor da marca (logo) */
  --laranja-escuro: #c4400f;
  --preto: #161616;
  --cinza-escuro: #2b2b2b;
  --cinza: #6b6b6b;
  --cinza-claro: #f3f3f1;
  --branco: #ffffff;
  --zap: #25d366;            /* verde do WhatsApp */
  --zap-escuro: #1da851;
  --raio: 12px;
  --sombra: 0 6px 24px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section { scroll-margin-top: 72px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--preto);
  background: var(--branco);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--laranja-escuro); }

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 600; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-zap { background: var(--zap); color: #fff; }
.btn-zap:hover { background: var(--zap-escuro); }
.btn-claro { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.btn-claro:hover { background: rgba(255, 255, 255, .24); }
.btn-grande { font-size: 1.15rem; padding: 16px 28px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--preto);
  color: #fff;
  border-bottom: 3px solid var(--laranja);
}
.topo-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.marca img { width: 44px; height: 44px; border-radius: 50%; }
.marca strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.marca small { display: block; font-size: .72rem; color: #cfcfcf; letter-spacing: .02em; }
.menu { display: flex; gap: 22px; }
.menu a { color: #e6e6e6; text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover { color: var(--laranja); }
.btn-topo { padding: 9px 16px; font-size: .9rem; }

/* ---------- Destaque (hero) ---------- */
.hero {
  background: linear-gradient(135deg, var(--preto) 0%, #3a1d12 60%, var(--laranja-escuro) 100%);
  color: #fff;
  padding: 56px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: var(--laranja);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.hero h1 span { color: #ffb48a; }
.hero h1 { margin-bottom: .1em; }
.hero-marca { margin: 0 0 18px; font-size: 1.15rem; font-weight: 600; color: #ffd2b8; letter-spacing: .01em; }
.hero-pontos { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-pontos li { position: relative; padding-left: 26px; color: #f2f2f2; font-weight: 500; }
.hero-pontos li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--laranja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero-sub { font-size: 1.1rem; color: #eee; max-width: 52ch; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.hero-fone { color: #ddd; margin: 0; }
.hero-fone a { color: #fff; font-weight: 600; text-decoration: none; }
.hero-foto img {
  border-radius: var(--raio);
  border: 1px solid rgba(170, 205, 240, .35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 60px rgba(60, 120, 190, .25);
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

/* ---------- Seções ---------- */
.secao { padding: 64px 0; }
.secao-sub { color: var(--cinza); max-width: 70ch; margin: 0 0 32px; }
.secao-escura { background: var(--preto); color: #fff; }
.secao-escura .secao-sub, .secao-escura p { color: #ddd; }
.secao-cinza { background: var(--cinza-claro); }

/* ---------- Peças ---------- */
.pecas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.peca {
  background: #fff;
  border: 1px solid #e8e8e4;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
}
.peca img, .peca-icone {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.peca-icone {
  display: grid;
  place-items: center;
  background: var(--cinza-claro);
  color: var(--laranja);
}
.peca-icone svg { width: 72px; height: 72px; }
.peca { padding-bottom: 12px; }
.peca h3 { margin: 14px 16px 4px; }
.peca p { margin: 0 16px; color: var(--cinza); font-size: .93rem; }
.peca p.cod { font-size: .8rem; line-height: 1.45; letter-spacing: .01em; }
.peca p.cod span { white-space: nowrap; }
.pecas-mais { margin: 28px 0 0; color: var(--cinza); }

/* ---------- Busca e filtros do catálogo ---------- */
.filtros { display: flex; flex-direction: column; gap: 14px; margin: 0 0 16px; }
.busca input {
  width: 100%; max-width: 520px; padding: 12px 18px 12px 46px; font: inherit; color: var(--preto);
  border: 1px solid #d6d6d1; border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 16px center / 18px no-repeat;
}
.busca input:focus { outline: 2px solid var(--laranja); outline-offset: 1px; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--preto); cursor: pointer; white-space: nowrap;
  background: #fff; border: 1px solid #d6d6d1; border-radius: 999px; padding: 7px 14px;
}
.chip span { color: var(--cinza); font-size: .8rem; margin-left: 2px; }
.chip:hover { border-color: var(--laranja); }
.chip.ativo { background: var(--preto); border-color: var(--preto); color: #fff; }
.chip.ativo span { color: #ffb48a; }
.contagem { color: var(--cinza); font-size: .9rem; margin: 0 0 14px; }
.ver-todas { text-align: center; margin: 26px 0 0; }
.btn-ver-todas { font: inherit; font-weight: 600; border: 0; cursor: pointer; background: var(--preto); color: #fff; }
.btn-ver-todas:hover { background: var(--laranja-escuro); }
.sem-resultado { padding: 20px 22px; background: var(--cinza-claro); border-radius: var(--raio); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sob medida ---------- */
.sob-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.passos { padding-left: 0; list-style: none; counter-reset: passo; margin: 20px 0 28px; }
.passos li {
  counter-increment: passo;
  position: relative;
  padding-left: 52px;
  margin-bottom: 18px;
  color: #ddd;
}
.passos li strong { color: #fff; }
.passos li::before {
  content: counter(passo);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--laranja);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.sob-foto img { border-radius: var(--raio); width: 100%; }
.legenda { font-size: .85rem; color: #bbb !important; margin: 10px 0 0; }

/* ---------- Sob medida (só texto) ---------- */
.sob-texto { max-width: 780px; text-align: left; }
.sob-intro { font-size: 1.15rem; line-height: 1.6; margin: 0 0 8px; }

/* ---------- Galeria ---------- */
.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.galeria figure { margin: 0; }
.galeria img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}
.galeria figcaption { margin-top: 8px; line-height: 1.35; }
.galeria figcaption strong { display: block; font-size: .95rem; }
.galeria figcaption span { display: block; font-size: .8rem; color: var(--cinza); }

/* ---------- Contato ---------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contato-info dl { margin: 28px 0 0; }
.contato-info dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cinza);
  margin-top: 16px;
}
.contato-info dd { margin: 2px 0 0; font-size: 1.05rem; }
.mapa iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}
.mapa-link { display: inline-block; margin-top: 10px; font-size: .9rem; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--preto); color: #bbb; padding: 32px 0; font-size: .9rem; }
.rodape-inner { display: flex; align-items: center; gap: 20px; }
.rodape-foto { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.rodape strong { color: #fff; }
.rodape p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.zap-flutuante {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--zap);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  z-index: 20;
}
.zap-flutuante:hover { background: var(--zap-escuro); }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .menu { display: none; }
  .hero-grid, .sob-grid, .contato-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 40px 0 36px; }
  .hero-foto { order: -1; }
  .hero-foto img { max-width: 300px; }
  .secao { padding: 48px 0; }
  .rodape-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: thin; }
  .marca small { display: none; }
  .marca strong { font-size: .95rem; }
  .marca img { width: 38px; height: 38px; }
  .btn-topo { padding: 8px 14px; font-size: .85rem; }
  .pecas-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .peca { padding-bottom: 10px; }
  .peca h3 { margin: 10px 10px 4px; font-size: 1rem; }
  .peca p { margin: 0 10px; font-size: .82rem; }
  .peca p.cod { font-size: .74rem; }
  .peca-icone svg { width: 48px; height: 48px; }
  .hero-acoes .btn { width: 100%; justify-content: center; }
  .btn-grande { width: 100%; justify-content: center; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
}
