/* ============================================
   CHAVEIRO KADOSH — Osasco/SP
   Tema: escuro premium + dourado
   ============================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #101014;
  --bg-3: #16161c;
  --card: #14141a;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #f5b301;
  --gold-2: #ffd257;
  --white: #f4f4f2;
  --muted: #a3a3ad;
  --muted-2: #6f6f79;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --font-display: "Archivo", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Tipografia ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.gold { color: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}

.section-sub {
  color: var(--muted);
  max-width: 620px;
  margin-top: 14px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn svg { flex: none; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #17130a;
  box-shadow: 0 10px 30px rgba(245, 179, 1, 0.25);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(245, 179, 1, 0.38); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.btn-dark {
  background: #1a1a20;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-dark:hover { background: #23232b; transform: translateY(-2px); }

.btn-sm { padding: 11px 20px; font-size: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-2), var(--gold) 60%, #b98600);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #17130a;
  box-shadow: 0 6px 18px rgba(245, 179, 1, 0.35);
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav { display: flex; gap: 6px; }

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover { color: var(--white); }

.main-nav a.active {
  color: var(--gold);
  background: rgba(245, 179, 1, 0.1);
}

.header-cta { display: flex; align-items: center; gap: 14px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.header-phone svg { color: var(--gold); }

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c55e;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
  transition: transform 0.18s ease;
}

.wa-float:hover { transform: scale(1.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 90px 0 70px;
  background:
    linear-gradient(100deg, rgba(11, 11, 13, 0.97) 0%, rgba(11, 11, 13, 0.82) 45%, rgba(11, 11, 13, 0.25) 100%),
    url("../img/hero-keys.webp") center 30% / cover no-repeat;
}

.hero-content { max-width: 640px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.pill svg { color: var(--gold); }

.pill-solid {
  background: rgba(245, 179, 1, 0.12);
  border-color: rgba(245, 179, 1, 0.4);
  color: var(--gold-2);
}

.hero-sub { color: var(--muted); font-size: 1.08rem; margin: 22px 0 34px; max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.trust-item { display: flex; align-items: center; gap: 12px; }

.trust-item svg { color: var(--gold); flex: none; }

.trust-item strong { display: block; font-size: 0.95rem; }

.trust-item span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }

.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.18s ease;
}

.link-arrow:hover { gap: 14px; }

/* ---------- Cards de categoria ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cat-card:hover { transform: translateY(-5px); border-color: rgba(245, 179, 1, 0.35); }

.cat-card:hover::after { opacity: 1; }

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245, 179, 1, 0.1);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 20px;
}

.cat-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.cat-card p { color: var(--muted); font-size: 0.92rem; }

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Linhas de serviço ---------- */
.service-row {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 44px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 26px;
}

.service-row:last-child { margin-bottom: 0; }

.service-media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.service-row:hover .service-media img { transform: scale(1.04); }

.service-body h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.service-body > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #d6d6da;
}

.check-list svg { color: var(--gold); flex: none; margin-top: 3px; }

/* ---------- Estatísticas ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.about-copy p { color: var(--muted); margin-bottom: 16px; }

.about-copy p strong { color: var(--white); }

.about-points { margin: 26px 0 32px; display: grid; gap: 14px; }

/* ---------- Passos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.step h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.06em; margin-bottom: 10px; }

.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Portfólio ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-card:hover { transform: translateY(-5px); border-color: rgba(245, 179, 1, 0.35); }

.work-media { aspect-ratio: 3 / 2; overflow: hidden; }

.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.work-card:hover .work-media img { transform: scale(1.05); }

.work-body { padding: 22px 24px 26px; }

.work-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(245, 179, 1, 0.12);
  border: 1px solid rgba(245, 179, 1, 0.3);
  margin-bottom: 12px;
}

.work-body h3 { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.3; margin-bottom: 10px; }

.work-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
}

.work-meta svg { color: var(--gold); flex: none; }

/* Filtros do portfólio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.filter-btn:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }

.filter-btn.active {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: transparent;
  color: #17130a;
}

/* ---------- Área de atendimento ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 26px; }

.area-tag {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  font-weight: 600;
  color: #d6d6da;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.area-tag:hover { border-color: rgba(245, 179, 1, 0.5); color: var(--gold-2); }

.address-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.address-line svg { color: var(--gold); flex: none; }

.address-line strong { color: var(--white); }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative;
  padding: 110px 0;
  text-align: center;
  background:
    linear-gradient(rgba(11, 11, 13, 0.88), rgba(11, 11, 13, 0.94)),
    url("../img/sobre-rack.jpg") center / cover no-repeat fixed;
}

.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }

.cta-band p { color: var(--muted); margin: 18px auto 36px; max-width: 520px; }

.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- Banner acima do footer ---------- */
.pre-footer {
  background: linear-gradient(rgba(15, 15, 18, 0.82), rgba(15, 15, 18, 0.9)), url("../img/svc-automotivo.jpg") center / cover no-repeat;
  padding: 56px 0;
  text-align: center;
}

.pre-footer p {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto;
  color: var(--white);
}

.pre-footer p .gold { font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding: 70px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-desc { color: var(--muted); font-size: 0.92rem; margin: 18px 0 24px; max-width: 300px; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul { display: grid; gap: 12px; }

.footer-col a, .footer-col li { color: var(--muted); font-size: 0.9rem; transition: color 0.15s ease; }

.footer-col a:hover { color: var(--gold-2); }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }

.footer-contact svg { color: var(--gold); flex: none; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; color: var(--muted-2); }

.footer-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .service-row { grid-template-columns: 1fr; }
  .service-media { max-height: 300px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  .header-cta .btn { display: none; }
  .cat-grid, .steps, .works-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: auto; }
  .hero-trust { gap: 20px; }
  .cta-band { background-attachment: scroll; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* Menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--white);
}

@media (max-width: 768px) {
  .nav-toggle { display: grid; place-items: center; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 11, 13, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 14px 4%;
    gap: 4px;
  }

  .main-nav.open a { padding: 14px 12px; }
}
