:root {
  color-scheme: dark;
  --bg: #080808;
  --bg-soft: #101010;
  --panel: rgba(21, 21, 21, 0.72);
  --panel-solid: #151515;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7efe4;
  --muted: #b7aa9d;
  --muted-2: #7d7369;
  --accent: #d38a43;
  --accent-2: #ffbf73;
  --danger: #ff6b6b;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .42);
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(211, 138, 67, .16), transparent 34rem),
    radial-gradient(circle at 84% 4%, rgba(159, 58, 29, .16), transparent 32rem),
    linear-gradient(180deg, #080808 0%, #101010 46%, #080808 100%);
  min-height: 100vh;
}

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

.ambient {
  position: fixed;
  inset: auto;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .18;
  z-index: -1;
}
.ambient-one { left: -11rem; top: 12rem; background: #e18e3a; }
.ambient-two { right: -9rem; bottom: 4rem; background: #8f2a1e; }

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 9, 9, .62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 25px;
  background: linear-gradient(135deg, var(--accent), #6c3518);
  color: #160c06;
  font-weight: 800;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 14px 34px rgba(211,138,67,.22);
}
.brand strong { display: block; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 12px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .2s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.07); }

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #180d07;
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, #9a5525);
  box-shadow: 0 18px 40px rgba(211, 138, 67, .24);
}
.btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-small { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.btn-full { width: 100%; }

.hero {
  min-height: calc(100svh - 100px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  padding: clamp(58px, 8vw, 110px) 0 44px;
}
.eyebrow {
  display: inline-flex;
  color: var(--accent-2);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 12px;
  margin-bottom: 16px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--display);
  letter-spacing: -.05em;
  line-height: .96;
}
h1 { font-size: clamp(3.15rem, 8vw, 7.2rem); margin-bottom: 22px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.hero-copy p,
.section-title p,
.process p,
.contact p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.78;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.trust-row span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
}

.hero-art {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.blade-card {
  width: min(100%, 560px);
  aspect-ratio: 1.02;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    radial-gradient(circle at 68% 20%, rgba(211,138,67,.24), transparent 36%),
    rgba(20,20,20,.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(2deg);
}
.blade-card::before {
  content: "";
  position: absolute;
  width: 78%; height: 18%;
  left: 8%; top: 47%;
  background: linear-gradient(90deg, #787f84 0%, #f7efe4 48%, #6a7178 100%);
  clip-path: polygon(0 50%, 80% 14%, 100% 50%, 80% 84%);
  transform: rotate(-18deg);
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.45));
}
.blade-card::after {
  content: "";
  position: absolute;
  width: 31%; height: 9%;
  right: 9%; top: 51%;
  border-radius: 999px;
  background: linear-gradient(90deg, #25130b, #a55c29);
  transform: rotate(-18deg);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.22);
}
.shine {
  position: absolute;
  inset: -20% auto auto -30%;
  width: 44%; height: 140%;
  transform: rotate(28deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}
.spec-card {
  position: absolute;
  width: min(280px, 68%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(13,13,13,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0,0,0,.32);
}
.spec-card b { display: block; margin-bottom: 8px; }
.spec-card small { color: var(--muted); line-height: 1.5; }
.spec-top { top: 70px; right: 0; }
.spec-bottom { bottom: 64px; left: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 70px;
}
.stats article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
}
.stats strong { display: block; font-family: var(--display); color: var(--accent-2); font-size: 2.1rem; }
.stats span { color: var(--muted); }

.catalog { padding: 58px 0 30px; }
.section-title { max-width: 780px; margin-bottom: 28px; }
.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.filter-chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  transition: .2s ease;
}
.filter-chip:hover,
.filter-chip.active {
  color: #170c06;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-color: transparent;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17,17,17,.74);
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,191,115,.36);
  background: rgba(24,24,24,.88);
}
.product-media {
  display: block;
  position: relative;
  aspect-ratio: 1.25;
  overflow: hidden;
  background: #0d0d0d;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-media img { transform: scale(1.045); }
.status-pill {
  position: absolute;
  left: 14px; top: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(0,0,0,.56);
  backdrop-filter: blur(14px);
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.product-head span { color: var(--accent-2); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.product-head strong { color: var(--text); font-size: 13px; }
.product-body p { color: var(--muted); line-height: 1.65; }
.product-specs {
  display: grid;
  gap: 9px;
  margin: auto 0 18px;
  padding: 0;
}
.product-specs div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.product-specs dt { color: var(--muted-2); font-size: 12px; }
.product-specs dd { margin: 0; color: #e7d9c8; font-size: 13px; }
.btn-product {
  width: 100%;
  color: #1b0e07;
  background: linear-gradient(135deg, #f5c586, #c67c37);
}
.product-card.hidden { display: none; }

.process,
.contact {
  margin-top: 78px;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(17,17,17,.74);
  box-shadow: var(--shadow);
}
.process {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.process-steps article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0,0,0,.24);
}
.process-steps span {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #160b05;
  background: var(--accent-2);
  font-weight: 900;
}
.process-steps b { display: block; margin-bottom: 8px; }
.process-steps p { font-size: .96rem; line-height: 1.55; }
.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 74px;
}
.contact > div { max-width: 680px; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}
.footer strong { display: block; color: var(--text); margin-bottom: 6px; }

.lead-dialog {
  width: min(620px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--text);
  background: rgba(16,16,16,.92);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  padding: 0;
}
.lead-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(6px); }
.lead-card { padding: 22px; position: relative; }
.dialog-close {
  position: absolute;
  right: 14px; top: 14px;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.lead-preview {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 16px;
  align-items: center;
  padding-right: 36px;
  margin-bottom: 18px;
}
.lead-preview img { width: 145px; aspect-ratio: 1.15; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.lead-preview span { color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 900; }
.lead-preview p { color: var(--muted); line-height: 1.55; margin: 0; }
.lead-fields { display: grid; gap: 12px; }
.lead-fields label { color: var(--muted); font-size: 14px; }
.lead-fields input, .lead-fields textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline: 0;
  padding: 14px 14px;
  resize: vertical;
}
.lead-fields input:focus, .lead-fields textarea:focus { border-color: rgba(255,191,115,.55); box-shadow: 0 0 0 4px rgba(211,138,67,.12); }

select {
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  cursor: pointer;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 44px 14px 14px;
  background:
    linear-gradient(45deg, transparent 50%, var(--accent-2) 50%) calc(100% - 22px) calc(50% - 3px) / 7px 7px no-repeat,
    linear-gradient(135deg, var(--accent-2) 50%, transparent 50%) calc(100% - 17px) calc(50% - 3px) / 7px 7px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}
select option,
select optgroup {
  background-color: #151515;
  color: #f7efe4;
}
select option:checked {
  background-color: #d38a43;
  color: #170b05;
}
.lead-card .btn { margin-top: 16px; }
.dialog-note { margin: 12px 0 0; color: var(--muted-2); font-size: 13px; text-align: center; }

.reveal { opacity: 0; transform: translateY(20px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .hero-art { min-height: 440px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section-shell, .site-header { width: min(100% - 22px, 1180px); }
  .site-header { top: 8px; padding: 10px; }
  .brand small { display: none; }
  .site-header .btn-small { display: none; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-art { min-height: 365px; }
  .spec-card { display: none; }
  .stats, .product-grid, .process-steps { grid-template-columns: 1fr; }
  .contact { align-items: stretch; flex-direction: column; }
  .footer { flex-direction: column; }
  .lead-preview { grid-template-columns: 1fr; padding-right: 30px; }
  .lead-preview img { width: 100%; max-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Ajustes finais: selects/modais no mesmo padrão escuro do site. */
select {
  background-color: #141414 !important;
  color: #f7efe4 !important;
  border-color: rgba(255,255,255,.14) !important;
  color-scheme: dark;
}
select option,
select optgroup {
  background: #141414 !important;
  color: #f7efe4 !important;
}
select option:checked {
  background: #d38a43 !important;
  color: #170b05 !important;
}
.dialog-close:hover {
  border-color: rgba(255,191,115,.48);
  background: rgba(211,138,67,.18);
}
