/* Sessao Stage (desktop 1.6.38). Segue os tokens e os padroes de site.css e mobile-showcase.css. */
.nord-showcase {
  position: relative;
  background:
    radial-gradient(1100px 520px at 50% 4%, rgba(201, 47, 80, 0.2), transparent 72%),
    linear-gradient(180deg, #090a0d 0%, #120b10 48%, #090a0d 100%);
  border-bottom: 1px solid var(--line);
}

.nord-hero-card {
  border: 1px solid #633546;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0e13;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 108, 136, 0.06);
}

.nord-hint-touch,
.nord-swipe-hint {
  display: none;
}

.nord-pano-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  background:
    radial-gradient(900px 260px at 50% 78%, rgba(201, 47, 80, 0.2), transparent 76%),
    #07080b;
  scrollbar-width: thin;
  scrollbar-color: #5b3040 transparent;
}

.nord-pano {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.nord-pano img {
  width: 100%;
  height: auto;
}

.nord-loupe {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 250px;
  margin: -125px 0 0 -125px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(9, 10, 13, 0.55);
  background: #101116 no-repeat;
  pointer-events: none;
  z-index: 2;
}

.nord-hero-card figcaption,
.nord-view-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 22px 28px;
  background: #111319;
}

.nord-hero-card figcaption strong,
.nord-view-card figcaption strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nord-hero-card figcaption div > span,
.nord-view-card figcaption div > span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.nord-gallery-block {
  margin-top: 68px;
  min-width: 0;
  max-width: 100%;
}

.nord-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 22px;
}

.nord-gallery-header h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -0.035em;
}

.nord-gallery-header p {
  font-size: 14px;
  color: var(--muted);
  max-width: 440px;
}

.nord-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  max-width: 100%;
}

.nord-tabs button {
  border: 1px solid #262933;
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 42px;
  background: #14161c;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s;
}

.nord-tabs button:hover {
  color: #ffffff;
  border-color: #69384a;
  transform: translateY(-1px);
}

.nord-tabs button[aria-pressed="true"] {
  color: #ffe4eb;
  background: linear-gradient(135deg, #552133 0%, #3a1825 100%);
  border-color: #a94764;
  box-shadow: 0 8px 24px rgba(201, 47, 80, 0.22);
}

.nord-view-card {
  border: 1px solid #3c2a34;
  border-radius: 16px;
  background: #0d0f14;
  overflow: hidden;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.55);
}

.nord-view-frame {
  display: block;
  cursor: zoom-in;
  background: #07080b;
}

.nord-view-frame img {
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  transition: opacity 0.18s ease;
}

.nord-view-frame img.is-swapping {
  opacity: 0.25;
}

.nord-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.nord-pillar {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px;
  background: linear-gradient(180deg, #14151c 0%, #101116 100%);
}

.nord-pillar h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.nord-pillar p {
  font-size: 14px;
  line-height: 1.75;
}

.nord-note {
  margin-top: 26px;
  max-width: 980px;
}

.nord-cta-bar {
  margin-top: 30px;
  padding: 24px 28px;
  border: 1px solid #593242;
  border-radius: 12px;
  background: linear-gradient(115deg, #25151e 0%, #15131a 60%, #111318 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.nord-cta-copy {
  flex: 1 1 420px;
}

.nord-cta-copy strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nord-cta-copy span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.nord-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* telas largas: o instrumento (3,9:1) passa da coluna do texto para ganhar tamanho, centrado na pagina */
@media (min-width: 1361px) {
  .nord-hero-card {
    width: min(1760px, calc(100vw - 80px));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .nord-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (hover: none) {
  .nord-hint-desktop {
    display: none;
  }
  .nord-hint-touch {
    display: inline;
  }
  .nord-loupe {
    display: none;
  }
}

@media (max-width: 760px) {
  .nord-hint-desktop {
    display: none;
  }
  .nord-hint-touch {
    display: inline;
  }
  /* no celular o instrumento inteiro ficaria com 90 px de altura: altura fixa e deslize lateral, como no app */
  .nord-pano img {
    width: auto;
    max-width: none;
    height: clamp(210px, 34vh, 300px);
  }
  .nord-swipe-hint {
    display: block;
    padding: 9px 18px 0;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--faint);
    background: #111319;
  }
  .nord-loupe {
    display: none;
  }
  .nord-gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nord-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-inline: -4px;
    padding-inline: 4px;
    scrollbar-width: thin;
  }
  .nord-tabs button {
    flex: none;
    font-size: 12px;
    padding: 8px 14px;
    min-height: 38px;
  }
  .nord-hero-card figcaption,
  .nord-view-card figcaption {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 12px;
  }
  .nord-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .nord-cta-bar {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nord-view-frame img,
  .nord-tabs button {
    transition: none;
  }
}
