:root {
  --orange: #E85A1B;
  --orange-deep: #C94A12;
  --ink: #111111;
  --panel: #1A1A1A;
  --line: #2C2C2C;
  --muted: #9B9B9B;
  --text: #E8E8E8;
  --white: #FFFFFF;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Barlow Condensed", system-ui, sans-serif;
  --max: 1120px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
p { margin: 0 0 1em; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--orange); color: #fff; padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: #555; }
.btn-ghost:hover { border-color: #fff; }
.btn-link {
  background: transparent;
  color: #fff;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: auto;
  padding: 8px 0;
  font-weight: 600;
}
.btn-whatsapp { background: #1FAF5B; color: #fff; border-color: #1FAF5B; }
.btn-whatsapp:hover { background: #18964d; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; background: var(--orange); color: #fff; gap: 6px; }
.btn-sm .btn-ico { width: 15px; height: 15px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0d0d0d;
  border-bottom: 1px solid var(--line);
}
.topbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img {
  height: 48px;
  width: auto;
  max-width: min(260px, 52vw);
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}
.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #bdbdbd;
  padding: 8px 10px;
}
.main-nav a:hover,
.main-nav a.is-active { color: #fff; }
.header-cta-menu { display: none; }
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle i { display: block; height: 2px; background: #fff; }

/* Hero — photo first */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 42%, rgba(10,10,10,.25) 72%, rgba(10,10,10,.15) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 56px 20px 48px;
}
.hero-meta {
  margin: 0 0 10px;
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
  color: #fff;
  max-width: 12ch;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
  display: block;
}
.hero-text {
  max-width: 38ch;
  color: #d6d6d6;
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Services as rows — not icon cards */
.services {
  padding: 64px 0;
  background: #161616;
  border-top: 1px solid var(--line);
}
.sec-head { margin-bottom: 28px; max-width: 36rem; }
.sec-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.sec-head p { margin: 0; }
.service-list { display: grid; gap: 14px; }
.service-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.service-row-photo { height: 130px; }
.service-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-row-copy { padding: 16px 18px 16px 0; }
.service-row-copy h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.service-row-copy p { margin: 0 0 8px; font-size: .95rem; }
.service-row-copy a {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.service-row-copy a:hover { text-decoration: underline; }

/* About */
.about {
  padding: 64px 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r);
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-transform: uppercase;
  color: #fff;
}
.about-copy p { color: #bdbdbd; }
.plain-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  border-left: 2px solid var(--orange);
  padding-left: 14px;
}
.plain-list li {
  color: #ddd;
  font-weight: 600;
  font-size: 14px;
}

/* Gallery */
.gallery {
  padding: 64px 0;
  background: #151515;
  border-top: 1px solid var(--line);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-grid .span-2 {
  grid-column: span 2;
}
.gallery-grid .span-2 img { aspect-ratio: 16/9; }

/* Catalog */
.catalog-teaser {
  padding: 64px 0 72px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-media { aspect-ratio: 16/11; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat {
  margin: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-body h3 { font-size: 1.15rem; margin: 0; color: #fff; }
.product-body h3 a { text-decoration: none; }
.product-body h3 a:hover { color: var(--orange); }
.product-body p { margin: 0; font-size: .9rem; flex: 1; }
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.product-meta strong { color: #fff; font-size: 14px; }
.center-cta { text-align: center; margin-top: 24px; }

/* Inner pages */
.page-hero { max-width: var(--max); margin: 0 auto; padding: 48px 20px 16px; }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; color: #fff; }
.catalog-tools {
  max-width: var(--max);
  margin: 0 auto 24px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 200px auto;
  gap: 8px;
}
.catalog-tools input,
.catalog-tools select {
  background: var(--panel);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: var(--r);
  padding: 11px 12px;
  font: inherit;
}
.catalog { max-width: var(--max); margin: 0 auto; padding: 0 20px 64px; }
.filter-empty { text-align: center; color: var(--muted); padding: 40px; }
.product-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.detail-media img {
  width: 100%;
  border-radius: var(--r);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.detail-copy h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; color: #fff; }
.detail-meta { color: var(--muted); }
.detail-price { color: var(--orange); font-weight: 800; font-size: 1.25rem; }

/* Map mid (entre catálogo e CTA) */
.map-mid {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
}
.mid-map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1a1a;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.mid-map iframe {
  width: 100%;
  height: min(420px, 55vw);
  min-height: 280px;
  border: 0;
  display: block;
}
.map-mid-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 14px 0 0;
}
.map-mid-meta {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}
.map-open {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.map-open:hover { text-decoration: underline; }

/* Contact CTA */
.contact {
  background: var(--orange);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.contact-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-cta-bar h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
}
.contact-cta-bar p { margin: 0; color: rgba(255,255,255,.92); max-width: 42ch; }
.contact-cta-bar .btn-whatsapp {
  background: #111;
  border-color: #111;
  color: #fff;
}
.contact-cta-bar .btn-whatsapp:hover { background: #000; }

/* Footer — padrão projeto.md / catálogo */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,.88);
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 36px;
}
.footer-logo {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-brand p { color: rgba(255,255,255,.7); margin: 0 0 14px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px !important;
  margin: 0 !important;
}
.footer-nav a {
  display: inline !important;
  margin: 0 !important;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--orange); }
.site-footer h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .03em;
}
.footer-col p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
}
.site-footer .footer-col a {
  display: block;
  color: rgba(255,255,255,.88);
  margin-bottom: 8px;
  text-decoration: none;
  font-size: .95rem;
}
.site-footer .footer-col a:hover { color: var(--orange); }
.subfooter {
  border-top: 1px solid var(--line);
  background: #0a0a0a;
  padding: 14px 0;
}
.subfooter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #777;
}
.subfooter a { color: #999; text-decoration: none; }
.subfooter a:hover { color: var(--orange); }
.admin-link { opacity: .55; }

.btn-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.fab-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  z-index: 30;
}
.fab-wa svg {
  width: 28px;
  height: 28px;
}
.fab-wa:hover { background: #1ebe57; }

@media (max-width: 960px) {
  .service-row { grid-template-columns: 140px 1fr; }
  .about-grid,
  .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .span-2 { grid-column: span 2; }
  .about-photo img { aspect-ratio: 16/10; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  .header-cta-menu { display: inline-flex; margin-top: 6px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #111;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .hero { min-height: 70vh; align-items: center; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.82) 55%, rgba(10,10,10,.92) 100%);
  }
  .service-row { grid-template-columns: 1fr; }
  .service-row-photo { height: 160px; }
  .service-row-copy { padding: 14px 16px 18px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-cta-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}
