:root {
  --color-navy: #0e234c;
  --color-blue: #183b82;
  --color-sky: #4f8fd7;
  --color-steel: #687382;
  --color-silver: #d8dde3;
  --color-smoke: #f4f7fa;
  --color-line: #dce2e8;
  --shadow-steel: 0 16px 42px rgba(15, 35, 76, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:focus-visible {
  outline: 3px solid rgba(79, 143, 215, 0.45);
  outline-offset: 2px;
}

.site-header {
  box-shadow: 0 8px 24px rgba(14, 35, 76, 0.06);
}

.brand-logo {
  filter: drop-shadow(0 5px 10px rgba(14, 35, 76, 0.12));
}

.footer-logo {
  filter: saturate(0.82) brightness(1.2);
}

.nav-link,
.mobile-nav-link {
  color: #334155;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-link {
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
}

.nav-link:hover,
.mobile-nav-link:hover {
  color: var(--color-blue);
  background: #eef4fb;
}

.mobile-nav-link {
  border-radius: 6px;
  display: block;
  padding: 0.82rem 0.75rem;
}

.icon-button,
.btn-primary,
.btn-secondary,
.filter-button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  min-width: 0;
  text-decoration: none;
}

.icon-button {
  background: #eef4fb;
  border: 1px solid #cdd8e6;
  color: var(--color-blue);
  height: 2.55rem;
  width: 2.55rem;
}

.icon-button:hover {
  background: #dfeaf7;
}

.btn-primary {
  background: var(--color-blue);
  border: 1px solid var(--color-blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(24, 59, 130, 0.18);
  line-height: 1;
}

.btn-primary:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: var(--color-navy);
  line-height: 1;
}

.btn-secondary:hover {
  border-color: var(--color-sky);
  color: var(--color-blue);
  transform: translateY(-1px);
}

.btn-primary svg,
.btn-secondary svg,
.icon-button svg,
.filter-button svg,
.contact-row svg {
  flex: 0 0 auto;
  height: 1.05rem;
  width: 1.05rem;
}

.metal-band {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.92), rgba(232, 237, 242, 0.84) 42%, rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(104, 115, 130, 0.08) 0 1px, transparent 1px 7px);
}

.brand-plate {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(220, 226, 233, 0.78)),
    repeating-linear-gradient(90deg, rgba(71, 85, 105, 0.08) 0 1px, rgba(255, 255, 255, 0.05) 1px 8px);
  border: 1px solid rgba(148, 163, 184, 0.44);
  border-radius: 8px;
  box-shadow: var(--shadow-steel);
  padding: clamp(1rem, 3vw, 2rem);
}

.eyebrow {
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toolbar-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .toolbar-grid {
    grid-template-columns: minmax(0, 1fr) 13rem;
  }
}

.search-field,
.select-field,
.quote-form label {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.search-field,
.select-field {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: flex;
  gap: 0.55rem;
  min-width: 0;
  padding: 0 0.85rem;
}

.search-field svg,
.select-field svg {
  color: var(--color-blue);
  flex: 0 0 auto;
  height: 1rem;
  width: 1rem;
}

.search-field input,
.select-field select,
.quote-form input,
.quote-form select,
.quote-form textarea {
  background: transparent;
  border: 0;
  color: #0f172a;
  font: inherit;
  min-width: 0;
  width: 100%;
}

.search-field input,
.select-field select {
  height: 2.85rem;
  outline: 0;
}

.segmented-control {
  background: #edf2f7;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
}

.filter-button {
  background: transparent;
  border: 1px solid transparent;
  color: #475569;
  cursor: pointer;
  min-height: 2.25rem;
  padding: 0.45rem 0.7rem;
}

.filter-button:hover,
.filter-button.is-active {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(15, 35, 76, 0.08);
}

.product-card {
  background: #fff;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 35, 76, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.product-card:hover {
  border-color: #b8c7d8;
  box-shadow: var(--shadow-steel);
  transform: translateY(-2px);
}

.product-figure {
  align-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(150deg, #f9fbfd, #d9dee5 54%, #f8fafc),
    repeating-linear-gradient(90deg, rgba(71, 85, 105, 0.08) 0 1px, transparent 1px 7px);
  border-bottom: 1px solid #dce2e8;
  display: flex;
  justify-content: center;
  min-height: 13rem;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.product-figure::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  content: "";
  height: 100%;
  left: -48%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 42%;
}

.product-svg {
  filter: drop-shadow(0 18px 20px rgba(15, 35, 76, 0.16));
  height: 88%;
  max-height: 14rem;
  position: relative;
  width: 88%;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
}

.product-title {
  color: var(--color-navy);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
}

.product-description {
  color: #475569;
  display: -webkit-box;
  font-size: 0.94rem;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag,
.status-tag {
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.38rem 0.5rem;
}

.tag {
  background: #eef4fb;
  color: var(--color-blue);
}

.status-tag {
  background: #eef7f2;
  color: #17664a;
}

.price {
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 850;
}

.product-actions {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr;
  margin-top: auto;
}

@media (min-width: 420px) {
  .product-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.section-band {
  background:
    linear-gradient(180deg, #f7f9fc, #eef3f8),
    repeating-linear-gradient(90deg, rgba(104, 115, 130, 0.05) 0 1px, transparent 1px 7px);
  border-bottom: 1px solid #dce2e8;
  border-top: 1px solid #dce2e8;
}

.info-tile,
.line-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dce2e8;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 35, 76, 0.06);
  min-width: 0;
  padding: 1.15rem;
}

.info-tile svg,
.line-item svg {
  color: var(--color-blue);
  height: 1.4rem;
  width: 1.4rem;
}

.info-tile strong,
.line-item h3 {
  color: var(--color-navy);
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 0.85rem;
}

.info-tile span,
.line-item p {
  color: #64748b;
  display: block;
  font-size: 0.93rem;
  line-height: 1.55;
  margin-top: 0.4rem;
}

.map-panel {
  background: #e8eef4;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: var(--shadow-steel);
  min-height: 18rem;
  overflow: hidden;
  position: relative;
}

.map-grid {
  background:
    linear-gradient(90deg, rgba(24, 59, 130, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(24, 59, 130, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, #f8fafc, #d9e1ea);
  background-size: 44px 44px, 44px 44px, auto;
  height: 100%;
  inset: 0;
  position: absolute;
}

.map-marker {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(14, 35, 76, 0.18);
  color: var(--color-navy);
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  left: 50%;
  max-width: calc(100% - 2rem);
  padding: 0.85rem 1rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.map-marker svg {
  color: var(--color-blue);
  height: 1.3rem;
  width: 1.3rem;
}

.contact-row {
  align-items: center;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  color: #334155;
  display: flex;
  gap: 0.7rem;
  max-width: 27rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  text-decoration: none;
}

.contact-row:hover {
  border-color: var(--color-sky);
  color: var(--color-blue);
}

.quote-form {
  background: #f8fafc;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 35, 76, 0.08);
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.quote-form label {
  display: grid;
  gap: 0.45rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  min-height: 2.8rem;
  outline: 0;
  padding: 0.72rem 0.8rem;
}

.quote-form textarea {
  line-height: 1.55;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.search-field:focus-within,
.select-field:focus-within {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 4px rgba(79, 143, 215, 0.14);
}

.modal-shell {
  inset: 0;
  position: fixed;
  z-index: 60;
}

.modal-shell.is-open {
  display: block;
}

.modal-backdrop {
  background: rgba(7, 18, 39, 0.62);
  inset: 0;
  position: absolute;
}

.modal-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.28);
  left: 50%;
  max-height: calc(100vh - 2rem);
  max-width: 62rem;
  overflow: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 2rem), 62rem);
}

.modal-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .modal-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.modal-media {
  background: #eef3f8;
  border-bottom: 1px solid #dce2e8;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 820px) {
  .modal-media {
    border-bottom: 0;
    border-right: 1px solid #dce2e8;
  }
}

.modal-main-figure {
  border: 1px solid #d2dbe6;
  border-radius: 8px;
  min-height: 16rem;
}

.modal-info {
  padding: 1.25rem;
}

@media (min-width: 820px) {
  .modal-info {
    padding: 1.7rem;
  }
}

.detail-section {
  border-top: 1px solid #dce2e8;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
}

.gallery-section {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.section-title {
  align-items: center;
  color: var(--color-navy);
  display: flex;
  font-size: 0.95rem;
  font-weight: 850;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}

.section-title svg {
  color: var(--color-blue);
  height: 1rem;
  width: 1rem;
}

.full-description {
  color: #475569;
  display: grid;
  gap: 0.75rem;
  line-height: 1.65;
}

.full-description p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) and (max-width: 819px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  background: #fff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.55rem;
}

.gallery-thumb {
  align-items: center;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, #f9fbfd, #d9e1ea),
    repeating-linear-gradient(90deg, rgba(71, 85, 105, 0.06) 0 1px, transparent 1px 7px);
  border: 1px solid #dce2e8;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0.35rem;
}

.gallery-thumb .product-svg {
  height: 100%;
  width: 100%;
}

.gallery-item strong {
  color: var(--color-navy);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
}

.gallery-item span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.spec-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.spec-list div {
  background: #f8fafc;
  border: 1px solid #dce2e8;
  border-radius: 6px;
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
}

.spec-list dt {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-list dd {
  color: #0f172a;
  font-size: 0.94rem;
  margin: 0;
}

.empty-state {
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #b7c3d0;
  border-radius: 8px;
  color: #64748b;
  display: flex;
  gap: 0.7rem;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 11rem;
  padding: 1.5rem;
  text-align: center;
}

@media (max-width: 640px) {
  .store-hero h1,
  .shop-section h2,
  .section-band h2,
  #contato h2,
  #linhas h2 {
    overflow-wrap: anywhere;
  }

  .brand-plate {
    padding: 0.85rem;
  }

  .segmented-control {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .filter-button {
    flex: 0 0 auto;
  }
}