/* ===== Home Showcase Hero ===== */
.hero-showcase {
  padding-top: calc(122px + var(--space-5));
  padding-bottom: var(--space-6);
  background: var(--color-white);
}

.hero-showcase__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(220px, auto);
  gap: var(--space-3);
}

.hero-showcase__card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-gray-light);
  isolation: isolate;
  transition: box-shadow var(--transition-mid);
}

.hero-showcase__card:hover {
  box-shadow: var(--shadow-md);
}

.hero-showcase__card:hover .hero-showcase__media img {
  transform: scale(1.04);
}

.hero-showcase__card--main {
  grid-row: span 2;
  min-height: 620px;
  background: var(--color-rose);
}

.hero-showcase__card--wide {
  grid-column: span 2;
  background: #f8e8e8;
}

.hero-showcase__card--small {
  min-height: 280px;
}

.hero-showcase__card--vm { background: #e8ecf2; }
.hero-showcase__card--mobel { background: var(--color-gray-light); }
.hero-showcase__card--deko { background: var(--color-rose); }
.hero-showcase__card--design { background: #f5fbfa; }

.hero-showcase__media,
.hero-showcase__media img,
.hero-showcase__media .temka-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-showcase__media img {
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-showcase__card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Fade só na base (mantém o texto legível) deixando o topo da foto nítido */
  background: linear-gradient(180deg, rgba(255,255,255,0) 32%, rgba(255,255,255,0.5) 64%, rgba(255,255,255,0.85) 100%);
  pointer-events: none;
}

.hero-showcase__card--main::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 38%, rgba(255,255,255,0.58) 72%, rgba(255,255,255,0.92) 100%);
}

.hero-showcase__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.hero-showcase__label {
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.hero-showcase__title {
  max-width: 12ch;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
}

.hero-showcase__card--wide .hero-showcase__title {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.4vw, 3.8rem);
}

.hero-showcase__card--small .hero-showcase__title {
  max-width: 12ch;
  font-size: var(--text-2xl);
}

.hero-showcase__desc {
  max-width: 34ch;
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.hero-showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.hero-showcase__actions .hero-showcase__link {
  margin-top: 0;
}

.hero-showcase__link--secondary {
  color: rgba(26, 26, 26, 0.72);
  letter-spacing: 0.06em;
}

/* CTA primário do card principal — botão sólido (1ª dobra mais clara) */
.hero-showcase__card--main .hero-showcase__link:not(.hero-showcase__link--secondary) {
  background: var(--color-near-black);
  color: var(--color-white);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  letter-spacing: 0.08em;
  transition: background var(--transition-mid), transform var(--transition-fast);
}

.hero-showcase__card--main .hero-showcase__link:not(.hero-showcase__link--secondary):hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.hero-showcase__card--main .hero-showcase__link:not(.hero-showcase__link--secondary):active {
  transform: translateY(1px);
}

@media (max-width: 1279px) {
  .hero-showcase {
    padding-top: calc(106px + var(--space-3));
  }

  .hero-showcase__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-showcase__card--main,
  .hero-showcase__card--wide {
    grid-column: span 2;
    grid-row: auto;
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .hero-showcase__grid {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-2);
  }

  .hero-showcase__card {
    flex: 0 0 min(82vw, 340px);
    min-height: 430px;
    scroll-snap-align: start;
  }

  .hero-showcase__title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .hero-showcase__card--small {
    min-height: 320px;
  }
}

/* ===== Home Editorial Hero ===== */
.hero-editorial {
  padding-top: calc(122px + var(--space-4));
  padding-bottom: var(--space-4);
  background: var(--color-white);
}

.hero-editorial__panel {
  position: relative;
  min-height: clamp(500px, 56vw, 650px);
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(247, 221, 220, 0.96) 0%, rgba(247, 221, 220, 0.96) 44%, rgba(247, 221, 220, 0.82) 100%),
    var(--color-rose);
  isolation: isolate;
}

.hero-editorial__panel::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 6px;
  background: var(--color-yellow);
}

.hero-editorial__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.hero-editorial__label {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.hero-editorial__title {
  max-width: 20ch;
  font-size: clamp(2.45rem, 3.5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-editorial__desc {
  max-width: 46ch;
  margin-top: var(--space-3);
  color: rgba(26, 26, 26, 0.76);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.hero-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-editorial__scene {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

.hero-editorial__surface {
  position: absolute;
  right: 7%;
  bottom: 11%;
  width: min(620px, 76%);
  aspect-ratio: 1 / 0.23;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(107, 80, 55, 0.26), rgba(107, 80, 55, 0.06) 64%, rgba(107, 80, 55, 0) 100%),
    repeating-radial-gradient(circle at 50% 45%, rgba(112, 79, 41, 0.18) 0 1px, transparent 1px 7px);
  transform: rotate(-2deg);
}

.hero-editorial__plinth {
  position: absolute;
  z-index: 1;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(239, 184, 183, 0.92), rgba(220, 102, 100, 0.64));
  box-shadow: var(--shadow-sm);
}

.hero-editorial__plinth--low {
  right: 30%;
  bottom: 22%;
  width: clamp(86px, 8vw, 130px);
  height: clamp(84px, 8vw, 126px);
}

.hero-editorial__plinth--tall {
  right: 10%;
  bottom: 25%;
  width: clamp(78px, 7vw, 112px);
  height: clamp(170px, 18vw, 250px);
}

.hero-editorial__product,
.hero-editorial__lamp {
  position: absolute;
  z-index: 3;
}

.hero-editorial__product {
  right: 12%;
  bottom: 11%;
  width: min(690px, 82%);
  height: min(540px, 78%);
}

.hero-editorial__lamp {
  right: 5%;
  top: 12%;
  width: min(155px, 16%);
  height: min(260px, 38%);
}

.hero-editorial__product img,
.hero-editorial__lamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(26, 26, 26, 0.16));
}

.hero-editorial__product .temka-image-placeholder,
.hero-editorial__lamp .temka-image-placeholder {
  background: rgba(255, 255, 255, 0.34);
}

.hero-editorial__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  padding: var(--space-3) clamp(0rem, 2vw, var(--space-3)) 0;
}

.hero-editorial__stats a {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.hero-editorial__stats a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.hero-editorial__stats strong {
  flex: 0 0 auto;
  font-family: var(--font-alt);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-editorial__stats span {
  min-width: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.35;
}

@media (max-width: 1279px) {
  .hero-editorial {
    padding-top: calc(106px + var(--space-3));
  }

  .hero-editorial__panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-editorial__copy {
    padding-bottom: var(--space-4);
  }

  .hero-editorial__scene {
    min-height: clamp(340px, 52vw, 520px);
  }

  .hero-editorial__product {
    right: 16%;
    width: min(560px, 70%);
    height: min(440px, 78%);
  }
}

@media (max-width: 760px) {
  .hero-editorial {
    padding-top: calc(106px + var(--space-2));
  }

  .hero-editorial__panel {
    border-radius: var(--radius-md);
  }

  .hero-editorial__copy {
    padding: var(--space-4);
  }

  .hero-editorial__title {
    max-width: 18ch;
    font-size: clamp(1.8rem, 8.2vw, 2.45rem);
    line-height: 1.05;
  }

  .hero-editorial__desc {
    font-size: var(--text-base);
    margin-top: var(--space-2);
  }

  .hero-editorial__actions {
    gap: var(--space-2);
    margin-top: var(--space-4);
  }

  .hero-editorial__scene {
    min-height: 280px;
  }

  .hero-editorial__surface {
    right: 5%;
    bottom: 10%;
    width: 88%;
  }

  .hero-editorial__product {
    right: 9%;
    bottom: 10%;
    width: 82%;
    height: 74%;
  }

  .hero-editorial__lamp {
    right: 4%;
    top: 4%;
    width: 18%;
    height: 44%;
  }

  .hero-editorial__plinth--low {
    right: 36%;
    bottom: 22%;
  }

  .hero-editorial__plinth--tall {
    right: 7%;
    bottom: 24%;
  }

  .hero-editorial__stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1) var(--space-2);
    padding-inline: 0;
  }

  .hero-editorial__stats a {
    padding: var(--space-2) 0;
  }
}
