/* Vitória Autopeças e Recuperadora — landing */

:root {
  --charcoal: #1a1a1a;
  --charcoal-soft: #242424;
  --graphite: #2e2e2e;
  --amber: #f5c518;
  --amber-dark: #d4a60a;
  --amber-glow: rgba(245, 197, 24, 0.15);
  --offwhite: #f4f2ed;
  --muted: #a8a59c;
  --text-on-dark: #f4f2ed;
  --text-muted-dark: #b0aca3;
  --radius: 14px;
  --container: 1120px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 0.45em;
  font-weight: 400;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: var(--amber);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 999px;
  padding: 12px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--amber);
  color: var(--charcoal);
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover { background: #1ebe57; border-color: #1ebe57; }
.btn-ghost {
  background: transparent;
  color: var(--offwhite);
  border-color: rgba(244, 242, 237, 0.45);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.btn-small { padding: 8px 16px; font-size: 0.85rem; }
.btn-large { padding: 14px 26px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.18);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--offwhite);
  white-space: nowrap;
}
.brand span { color: var(--amber); }
.nav-desktop {
  display: none;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted-dark);
}
.nav-desktop a:hover { color: var(--amber); }

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  background: var(--charcoal);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0.72) 45%, rgba(26,26,26,0.94) 100%),
    linear-gradient(90deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.35) 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 48px 20px 56px;
  max-width: 720px;
  margin-right: auto;
}
.eyebrow,
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin: 0 0 10px;
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  color: var(--offwhite);
  margin-bottom: 0.3em;
}
.hero-title span { color: var(--amber); }
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  max-width: 34em;
  margin-bottom: 1.25em;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  margin-bottom: 1.5em;
  color: var(--offwhite);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding: 72px 0;
}
.section-dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
}
.section-dark .section-title { color: var(--offwhite); }
.section-dark .section-lead { color: var(--text-muted-dark); }
.section-amber {
  background: var(--charcoal-soft);
  color: var(--text-on-dark);
}
.section-amber .section-title { color: var(--offwhite); }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.35em;
}
.section-lead {
  font-size: 1.05rem;
  color: #5a564e;
  max-width: 40em;
  margin-bottom: 2em;
}

/* Services */
.service-groups {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px) {
  .service-groups { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--graphite);
  border: 1px solid rgba(245, 197, 24, 0.18);
  border-radius: var(--radius);
  padding: 24px 22px 28px;
  height: 100%;
}
.service-card h3 {
  font-size: 1.55rem;
  color: var(--amber);
  margin: 12px 0 14px;
}
.service-card ul li {
  position: relative;
  padding: 7px 0 7px 16px;
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.service-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Vehicles */
.vehicles-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) {
  .vehicles-grid { grid-template-columns: repeat(3, 1fr); }
}
.vehicle-card {
  background: var(--charcoal);
  color: var(--offwhite);
  border-radius: var(--radius);
  padding: 28px 22px;
  border-left: 4px solid var(--amber);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vehicle-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  color: var(--amber);
}
.vehicle-sub {
  font-size: 0.92rem;
  color: var(--text-muted-dark);
}

/* Why */
.why-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 700px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-card {
  background: var(--graphite);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(245, 197, 24, 0.12);
}
.why-card h3 {
  font-size: 1.45rem;
  color: var(--amber);
  margin-bottom: 0.4em;
}
.why-card p {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.95rem;
}

/* Location */
.loc-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 800px) {
  .loc-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
}
.hours-list {
  margin: 20px 0 28px;
  max-width: 320px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  color: var(--text-muted-dark);
}
.hours-list strong { color: var(--offwhite); font-weight: 600; }
.loc-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245, 197, 24, 0.2);
  background: var(--graphite);
}
.loc-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.loc-photo figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Contact */
.contact-wrap { text-align: left; }
.contact-cards {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a857c;
}
.contact-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal);
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: var(--text-muted-dark);
  padding: 36px 0 100px;
  border-top: 1px solid rgba(245, 197, 24, 0.15);
  font-size: 0.9rem;
}
.footer-inner p { margin: 0 0 6px; }
.footer-inner strong { color: var(--amber); }
.footer-meta { font-size: 0.82rem; opacity: 0.85; }

/* Sticky WhatsApp */
.sticky-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s, background 0.2s;
}
.sticky-wa:hover {
  transform: translateY(-2px);
  background: #1ebe57;
}
.sticky-wa svg { flex-shrink: 0; }

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

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