/* Marcelo Baterias — visual de oficina real (Potengi/Natal) */
:root {
  --ink: #121612;
  --ink-2: #2a322c;
  --mute: #5a645c;
  --paper: #f3f1ea;
  --paper-2: #e7e4da;
  --white: #fffcf7;
  --green: #0f5c38;
  --green-deep: #0a3d26;
  --green-soft: #d9ebe1;
  --bolt: #f2c12e;
  --rust: #8a5a2b;
  --line: rgba(18, 22, 18, 0.14);
  --wa: #1fa855;
  --max: 1080px;
  --font-sign: "Barlow Condensed", Impact, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 900px 420px at 0% 0%, rgba(15, 92, 56, 0.07), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 40%, var(--paper) 100%);
  line-height: 1.55;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; background: none; cursor: pointer; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Top strip like a shop awning —— */
.topbar {
  background: var(--ink);
  color: #d7ddd8;
  font-size: 0.84rem;
  border-bottom: 3px solid var(--bolt);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.topbar a:hover { color: var(--bolt); }

.topbar-phones {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-weight: 600;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 241, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 26px;
  height: 34px;
  color: var(--bolt);
  filter: drop-shadow(1px 1px 0 #111);
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.logo-text strong {
  font-family: var(--font-sign);
  font-weight: 800;
  font-style: italic;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  color: var(--green);
  text-transform: none;
}

.logo-text em {
  font-family: var(--font-sign);
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 1.35rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}

.nav a:hover,
.nav a.is-active {
  color: var(--green);
  border-bottom-color: var(--bolt);
}

.header-cta {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  border-bottom: 3px solid var(--green-deep);
}

.header-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: #fff;
  border-bottom-color: var(--green-deep);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  border-bottom: 3px solid #178a45;
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-lg { padding: 0.95rem 1.35rem; font-size: 1.02rem; }

/* —— Hero: storefront —— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: #eef6f1;
  border-bottom: 6px solid var(--bolt);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 61, 38, 0.94) 0%, rgba(10, 61, 38, 0.78) 46%, rgba(10, 61, 38, 0.55) 100%),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=70") center/cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.45) 10px,
    rgba(255, 255, 255, 0.45) 11px
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: clamp(2.8rem, 7vw, 4.5rem) 0;
  align-items: end;
}

.hero-kicker {
  display: inline-block;
  background: var(--bolt);
  color: #1a1608;
  font-family: var(--font-sign);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 0.3rem 0.65rem;
  margin-bottom: 1rem;
}

.brand-display {
  font-family: var(--font-sign);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3.6rem, 11vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.28);
}

.brand-display .bolt {
  color: var(--bolt);
  font-style: normal;
  margin-left: 0.08em;
}

.btn-on-dark {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-on-dark:hover {
  background: #fff;
  color: var(--green-deep);
}

.brand-sub {
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  margin-bottom: 1.1rem;
  color: #cce5d7;
}

.hero h1 {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.1;
  max-width: 16ch;
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

.hero-lead {
  max-width: 38ch;
  color: #c5d8cc;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-family: var(--font-sign);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-phones a {
  border-bottom: 2px solid rgba(242, 193, 46, 0.55);
}

.hero-phones a:hover { color: var(--bolt); }

.quote-box {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid #111;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
  padding: 1.35rem 1.25rem;
}

.quote-box h2 {
  font-family: var(--font-sign);
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.quote-box > p {
  color: var(--mute);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.quote-form {
  display: grid;
  gap: 0.75rem;
}

.quote-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 2px solid #111;
  border-radius: var(--radius);
  background: #fff;
}

.quote-form input:focus,
.quote-form select:focus {
  outline: 2px solid var(--bolt);
  outline-offset: 1px;
}

.quote-form .btn { width: 100%; }
.quote-note { font-size: 0.8rem; color: var(--mute); text-align: center; }

.geo-box {
  display: grid;
  gap: 0.35rem;
}

.btn-geo {
  width: 100%;
  border-style: dashed;
}

.btn-geo:disabled {
  opacity: 0.7;
  cursor: wait;
}

.geo-status {
  font-size: 0.8rem;
  color: var(--mute);
  min-height: 1.1em;
}

.geo-status.is-ok {
  color: var(--green);
  font-weight: 600;
}

.geo-status.is-error {
  color: #9b2c2c;
  font-weight: 600;
}

/* Route picker — Como chegar */
.route-picker {
  margin-top: 1rem;
}

.btn-route {
  min-width: 11rem;
}

.map-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 2px solid #111;
  border-radius: var(--radius);
  padding: 0;
  width: min(92vw, 380px);
  max-width: min(92vw, 380px);
  height: fit-content;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2);
}

.map-dialog::backdrop {
  background: rgba(10, 14, 12, 0.55);
}

.map-dialog-inner {
  padding: 1.35rem 1.25rem 1.15rem;
}

.map-dialog h3 {
  font-family: var(--font-sign);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.map-dialog p {
  color: var(--mute);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.map-dialog-actions {
  display: grid;
  gap: 0.55rem;
}

.map-dialog-actions .btn {
  width: 100%;
  justify-content: center;
}

.map-dialog-close {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.65rem;
  font-weight: 700;
  color: var(--mute);
  text-align: center;
}

.map-dialog-close:hover {
  color: var(--ink);
}

/* —— Sections —— */
.section {
  padding: clamp(2.8rem, 6vw, 4.2rem) 0;
}

.section-dark {
  background: var(--ink);
  color: #e8ece9;
}

.section-dark .mute,
.section-dark p { color: #aeb8b1; }

.section-band {
  background: var(--green-soft);
  border-block: 1px solid rgba(15, 92, 56, 0.18);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.section-head h2 {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.section-head p { color: var(--mute); }

.tag {
  display: inline-block;
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--green);
  margin-bottom: 0.45rem;
}

/* Fact strip — not cards */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid #111;
  background: var(--white);
}

.fact {
  padding: 1.15rem 1.1rem;
  border-right: 2px solid #111;
}

.fact:last-child { border-right: 0; }

.fact strong {
  display: block;
  font-family: var(--font-sign);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.fact span { color: var(--mute); font-size: 0.92rem; }

/* Service rows */
.service-rows {
  display: grid;
  gap: 0;
  border-top: 2px solid #111;
}

.service-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 2px solid #111;
  align-items: start;
}

.service-row b {
  font-family: var(--font-sign);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
}

.service-row h3 {
  font-family: var(--font-sign);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.service-row p { color: var(--mute); max-width: 52ch; }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.prose { color: var(--mute); font-size: 1.05rem; }
.prose + .prose { margin-top: 0.85rem; }

.check-list {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  padding-left: 1.35rem;
  position: relative;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--bolt);
  border: 1.5px solid #111;
}

/* Workshop panel */
.workshop-panel {
  position: relative;
  min-height: 280px;
  border: 2px solid #111;
  background:
    linear-gradient(160deg, rgba(15, 92, 56, 0.8), rgba(10, 61, 38, 0.55)),
    url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1000&q=70") center/cover;
  color: #fff;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 8px 8px 0 rgba(15, 92, 56, 0.25);
}

.workshop-panel strong {
  font-family: var(--font-sign);
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1;
}

.workshop-panel span {
  opacity: 0.9;
  margin-top: 0.35rem;
}

/* Lines as ticket tags */
.tickets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ticket {
  border: 2px solid #111;
  background: var(--white);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.ticket:hover {
  background: var(--bolt);
}

/* Brand rail */
.brand-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
  padding: 1.1rem 0;
}

.brand-rail span {
  font-family: var(--font-sign);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.45;
}

.brand-rail .label {
  opacity: 1;
  color: var(--green);
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* Steps as numbered tape */
.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.step i {
  font-family: var(--font-sign);
  font-style: normal;
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--bolt);
  color: #111;
  border: 2px solid #111;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
}

.step h3 {
  font-family: var(--font-sign);
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.step p { color: var(--mute); }

/* Page hero inner */
.page-hero {
  background: var(--green-deep);
  color: #eef6f1;
  border-bottom: 5px solid var(--bolt);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.page-hero h1 {
  font-family: var(--font-sign);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 0.95;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: #c5d8cc;
  max-width: 46ch;
}

.breadcrumb {
  display: flex;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: #9fb5a8;
  margin-bottom: 0.7rem;
}

.breadcrumb a:hover { color: var(--bolt); }

/* Contact */
.contact-list {
  display: grid;
  gap: 1.4rem;
}

.contact-item {
  border-left: 5px solid var(--bolt);
  padding-left: 1rem;
}

.contact-item h3 {
  font-family: var(--font-sign);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.contact-item p { color: var(--mute); }

.contact-item a {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: var(--font-sign);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  border-bottom: 2px solid var(--bolt);
}

.map-frame {
  border: 2px solid #111;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
  background: var(--paper-2);
}

.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* FAQ simple */
.faq-list { display: grid; gap: 0.35rem; max-width: 40rem; }

.faq-item {
  border-bottom: 2px solid #111;
  padding-bottom: 0.55rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-sign);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.5rem 0.8rem 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
}

.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--mute); padding-bottom: 0.45rem; }

/* CTA */
.cta-shop {
  background:
    linear-gradient(90deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  border-top: 5px solid var(--bolt);
}

.cta-shop .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.cta-shop h2 {
  font-family: var(--font-sign);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1;
  max-width: 16ch;
}

.cta-shop p {
  color: #cce5d7;
  margin: 0.45rem 0 0;
}

.cta-shop .btn-primary {
  background: var(--bolt);
  color: #111;
  border-bottom-color: #b89012;
}

/* Footer */
.site-footer {
  background: #0d100e;
  color: #b7c0ba;
  padding: 2.5rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer-brand strong {
  font-family: var(--font-sign);
  font-style: italic;
  font-size: 1.7rem;
  color: #fff;
  display: block;
}

.footer-brand p { margin-top: 0.45rem; max-width: 30ch; }

.footer-col h4 {
  font-family: var(--font-sign);
  text-transform: uppercase;
  color: var(--bolt);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.93rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: #fff;
  border-bottom: 1px solid rgba(242, 193, 46, 0.7);
  display: inline;
}

.footer-bottom a:hover {
  color: var(--bolt);
}

/* FAB */
.fab-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.fab-wa:hover { transform: translateY(-2px); }
.fab-wa svg { width: 26px; height: 26px; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container,
  .split,
  .facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .facts { border: 2px solid #111; }
  .fact { border-right: 0; border-bottom: 2px solid #111; }
  .fact:last-child { border-bottom: 0; }

  .service-row { grid-template-columns: 1fr; gap: 0.25rem; }

  .nav {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 2px solid #111;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1rem 0.8rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .topbar-address { display: none; }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  .hero-actions .btn,
  .cta-shop .btn { width: 100%; }
  .brand-display { font-size: 3.3rem; }
}
