/* Zezinho Autopecas — Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ───────────────── Variables ───────────────── */
:root {
  --red: #b91c1c;
  --red-hover: #991b1b;
  --text: #111;
  --muted: #666;
  --border: #e5e5e5;
  --alt-bg: #f9f9f7;
  --white: #fff;
  --shadow-card: 0 1px 4px rgba(0,0,0,.06);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,.10);
  --radius: 8px;
  --container: 1120px;
  --nav-h: 68px;
}

/* ───────────────── Container ───────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ───────────────── Navigation ───────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark span {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.5px;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color .15s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background .15s, transform .1s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.nav-cta svg { flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
  gap: 12px;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }

.nav-mobile-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius);
  border-bottom: none !important;
}

/* ───────────────── Hero ───────────────── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 36px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background .15s, transform .1s;
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.6);
  transition: border-color .15s, background .15s;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

/* ───────────────── Section Titles ───────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* ───────────────── Cards ───────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px 22px 24px;
}

.card-icon {
  width: 44px;
  height: 44px;
  background: #fef2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--red);
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ───────────────── Grid Layouts ───────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ───────────────── Sections ───────────────── */
section {
  padding: 72px 0;
}

section.alt { background: var(--alt-bg); }

/* ───────────────── Services List ───────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  transition: box-shadow .2s;
}

.service-detail:hover {
  box-shadow: var(--shadow-card-hover);
}

.service-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.service-detail-body {
  padding: 28px 32px;
}

.service-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-detail-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.service-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.service-meta-item svg { color: var(--red); flex-shrink: 0; }

.service-checklist {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.service-check svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* ───────────────── Parts Grid ───────────────── */
.parts-category {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}

.parts-category:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.parts-cat-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.parts-cat-body {
  padding: 18px 20px 22px;
}

.parts-cat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.parts-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.parts-cat-list li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.parts-cat-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ───────────────── Trust / Features ───────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: #fef2f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--red);
}

.trust-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-label {
  font-size: 13px;
  color: var(--muted);
}

/* ───────────────── Info Blocks ───────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.info-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

.info-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.info-content .section-title { margin-bottom: 16px; }

.info-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ───────────────── CTA Banner ───────────────── */
.cta-banner {
  background: var(--red);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: transform .15s, box-shadow .15s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ───────────────── Contact ───────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: #fef2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.contact-item-value a {
  color: var(--red);
}

/* Contact Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
}

.form-submit:hover { background: var(--red-hover); }

/* ───────────────── Sobre / About ───────────────── */
.about-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-data-item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--alt-bg);
}

.about-data-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.about-data-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 10px 12px;
  color: var(--text);
}

.hours-table td:last-child {
  font-weight: 600;
  text-align: right;
}

.hours-closed { color: var(--muted); }

/* ───────────────── Policy / Terms Pages ───────────────── */
.policy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 80px;
}

.policy-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.policy-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.policy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 10px;
}

.policy-content p,
.policy-content li {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-content ul {
  margin-left: 20px;
  list-style: disc;
  margin-bottom: 12px;
}

/* ───────────────── Footer ───────────────── */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand-mark {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-brand-mark span {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.5px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #888;
  transition: color .15s;
}

.footer-links a:hover { color: #fff; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #888;
  line-height: 1.45;
}

.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }

.footer-cnpj {
  font-size: 11px;
  color: #555;
  margin-top: 16px;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: #555;
}

/* ───────────────── Floating WhatsApp ───────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
}

/* ───────────────── Cookie Banner ───────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #1a1a1a;
  color: #ddd;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-banner.hidden { display: none; }

.cookie-banner p { max-width: 700px; }

.cookie-banner a { color: #fff; text-decoration: underline; }

.cookie-accept {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  font-family: inherit;
}

.cookie-accept:hover { background: var(--red-hover); }

/* ───────────────── Reveal Animation ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ───────────────── Breadcrumb ───────────────── */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  background: var(--alt-bg);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ───────────────── Responsive ───────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 52px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }

  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail-img { min-height: 180px; height: 180px; }

  .info-grid { grid-template-columns: 1fr; }
  .info-img img { height: 280px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > *:first-child { grid-column: auto; }

  .about-data { grid-template-columns: 1fr; }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero { min-height: 440px; }

  .cta-banner { padding: 48px 0; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }
  .service-meta { flex-direction: column; gap: 8px; }
}
