
/* ==============================
   Catálogo (versão moderna)
   Usa a base do style.css do site
   ============================== */

:root {
  --catalog-max: 1120px;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* marca o item ativo no menu */
.site-nav a.nav-active {
  position: relative;
  color: #ffffff;
}

.site-nav a.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 82, 204, 1), rgba(215, 25, 32, 1), rgba(229, 249, 0, 1));
  opacity: 0.9;
}

/* ==============================
   HERO
   ============================== */
.catalog-hero {
  position: relative;
  overflow: hidden;
  padding: 5.25rem 0 3.75rem;
  background: radial-gradient(circle at 10% 10%, rgba(0, 82, 204, 0.28), transparent 55%),
              radial-gradient(circle at 90% 25%, rgba(215, 25, 32, 0.26), transparent 55%),
              radial-gradient(circle at 50% 110%, rgba(229, 249, 0, 0.12), transparent 45%),
              linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.80));
}

.catalog-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 45%, rgba(255,255,255,0.06)),
    radial-gradient(circle at 35% 20%, rgba(255,255,255,0.10), transparent 55%),
    url("imagens/bckprod.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.05);
  pointer-events: none;
}

.catalog-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.catalog-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
}

.catalog-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.catalog-hero p strong {
  color: rgba(255, 255, 255, 0.95);
}

.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.catalog-hero__note {
  margin-top: 1.25rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
}

.catalog-hero__panel {
  display: grid;
  gap: 1rem;
}

.panel-card {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--glass), rgba(255, 255, 255, 0.03));
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
}

.panel-title {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.panel-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  margin-bottom: 0.85rem;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(229, 249, 0, 0.92);
  font-weight: 700;
  text-decoration: none;
}

.panel-link:hover {
  text-decoration: underline;
}

/* ==============================
   SEÇÕES
   ============================== */
.catalog-section {
  position: relative;
}

.catalog-section--alt {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.92));
}

.catalog-section--alt .section-header h2,
.catalog-section--alt .section-header p,
.catalog-section--alt .section-tag {
  color: #ffffff;
}

.catalog-section--alt .section-header p {
  color: rgba(255, 255, 255, 0.78);
}

/* ==============================
   SUBLIMAÇÃO
   ============================== */
.finish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.75rem;
}

.finish-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff, #f4f6fb);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.finish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
}

.finish-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(0, 82, 204, 0.14), transparent 55%),
              radial-gradient(circle at 80% 25%, rgba(215, 25, 32, 0.14), transparent 55%),
              linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0));
  border: 1px solid rgba(2, 6, 23, 0.08);
  aspect-ratio: 5 / 7; /* 200x280 (referência) */
  display: grid;
  place-items: center;
}

.finish-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-top: -1.5rem;
}

.finish-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.finish-code {
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #0b1020;
}

.finish-sub {
  color: rgba(2, 6, 23, 0.62);
  font-weight: 700;
  font-size: 0.92rem;
}

.finish-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(0, 82, 204, 1), rgba(215, 25, 32, 1), rgba(229, 249, 0, 1));
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
}

/* ==============================
   CORES TRADICIONAIS
   ============================== */
.catalog-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.catalog-search span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.catalog-search input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  outline: none;
}

.catalog-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.catalog-search input:focus {
  border-color: rgba(229, 249, 0, 0.35);
  box-shadow: 0 0 0 4px rgba(229, 249, 0, 0.12);
}

.catalog-tools__hint {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 0.25rem;
}

.colors-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.color-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.color-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 249, 0, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.swatch {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--swatch, #64748b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 10px 22px rgba(0, 0, 0, 0.25);
  position: relative;
}

.swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.26), transparent 45%);
  pointer-events: none;
}

.color-code {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.color-cta {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 650;
  font-size: 0.92rem;
}

.catalog-download {
  margin-top: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 15% 20%, rgba(0, 82, 204, 0.22), transparent 55%),
              radial-gradient(circle at 85% 20%, rgba(215, 25, 32, 0.18), transparent 55%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-download__text {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

/* ==============================
   RESPONSIVO
   ============================== */
@media (max-width: 980px) {
  .catalog-hero__inner {
    grid-template-columns: 1fr;
  }

  .finish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .colors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .catalog-tools__hint {
    padding-bottom: 0;
  }

  .catalog-download {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .catalog-hero {
    padding: 4.25rem 0 3rem;
  }

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

  .colors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatch {
    width: 40px;
    height: 40px;
  }
}
