/* ==========================================================================
   Amani, página de prints (prints/). Herda tokens, nav, botões e rodapé de
   landing.css; aqui só o que é próprio da vitrine de telas.

   Formas seguem o sistema da landing: containers 20px, screenshots 12px,
   moldura de celular com raio maior pra lembrar o aparelho.
   ========================================================================== */

.prints-hero {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.prints-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prints-title {
  margin-top: 1.2rem;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.prints-lede {
  margin-top: 1.2rem;
  max-width: 52ch;
  color: var(--text-dim);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.prints-section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.prints-section .section-title + .shot,
.prints-section .section-lede + .phones {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

/* ---------- print com legenda ---------- */

.shot {
  display: grid;
  gap: 1.1rem;
}

.shot + .shot,
.shot + .shot-pair,
.phones + .shot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.shot--wide {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .shot--wide {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    align-items: end;
    gap: 2rem;
  }
}

.shot-frame {
  display: block;
  padding: clamp(0.5rem, 1.2vw, 0.9rem);
  border: 1px solid var(--border);
  border-radius: var(--r-box);
  background:
    radial-gradient(40rem 20rem at 50% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.3s var(--ease), transform 0.5s var(--ease);
}

.shot-frame:hover {
  border-color: var(--accent-line);
}

.shot-frame:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shot-frame img {
  width: 100%;
  border-radius: var(--r-img);
  background: #121016;
}

.shot-text h3 {
  font-size: 1.2rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.shot-text p {
  margin-top: 0.4rem;
  max-width: 40ch;
  color: var(--text-dim);
  text-wrap: pretty;
}

.shot-pair .shot + .shot {
  margin-top: 0;
}

.shot-pair {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 760px) {
  .shot-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* modais recortados: altura igual nos dois lados do par */
.shot-frame--tall img {
  aspect-ratio: 6 / 7;
  object-fit: cover;
  object-position: top;
}

/* ---------- celulares ---------- */

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 62rem;
}

@media (max-width: 700px) {
  .phones {
    grid-template-columns: repeat(3, minmax(15rem, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 1rem;
    scrollbar-width: none;
  }

  .phones::-webkit-scrollbar {
    display: none;
  }

  .phone {
    scroll-snap-align: center;
  }
}

.phone-frame {
  display: block;
  padding: 0.55rem;
  border: 1px solid var(--border-strong);
  border-radius: 2.4rem;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  transition: border-color 0.3s var(--ease), transform 0.5s var(--ease);
}

.phone-frame img {
  width: 100%;
  border-radius: 1.9rem;
  background: #121016;
}

.phone-frame:hover {
  border-color: var(--accent-line);
}

.phone-frame:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.phone-caption {
  margin-top: 0.9rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .shot-frame:hover,
  .phone-frame:hover {
    transform: translateY(-3px);
  }

  .phone:nth-child(2) .phone-frame {
    transform: translateY(-1.5rem);
  }

  .phone:nth-child(2) .phone-frame:hover {
    transform: translateY(calc(-1.5rem - 3px));
  }
}

/* ---------- chamada final ---------- */

.prints-cta {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.prints-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prints-cta-inner .section-title {
  max-width: none;
}

.prints-cta-inner .btn {
  margin-top: 1.8rem;
}

/* print dos widgets é quase quadrado: coluna menor pra não dominar a página */
@media (min-width: 900px) {
  .shot--widgets {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
  }
}
