/* Vendas — coleção da Conf. Aliança 26.
   Carregado DEPOIS de styles.css (o CSS da conferência, copiado inteiro):
   aqui só entra o que a landing de venda tem e a conferência não —
   hero com foto do ensaio, grade de produtos, lookbook e passos.
   Nada de estilo inline no HTML: o CSP fecha style-src em 'self'. */

/* atrasos do reveal (a conferência usa style="transition-delay" inline;
   aqui vira classe por causa do CSP) */
.d1 { transition-delay: 80ms; }
.d2 { transition-delay: 160ms; }
.d3 { transition-delay: 240ms; }
.d4 { transition-delay: 320ms; }
.d5 { transition-delay: 400ms; }

/* ---------- hero com a foto do ensaio ---------- */
.hero--foto { min-height: 92svh; }
.hero__photo {
  position: absolute; inset: 0;
  background: url("../assets/img/hero-colecao.webp") center 30% / cover no-repeat;
  filter: saturate(0.9) contrast(1.05);
}
@media (max-width: 720px) {
  .hero__photo { background-image: url("../assets/img/hero-colecao-mobile.webp"); background-position: 62% 30%; }
}
.hero--foto .hero__smoke { opacity: 0.55; mix-blend-mode: screen; }
.hero--foto .hero__veil {
  background: linear-gradient(180deg, rgba(6,6,7,0.35) 0%, rgba(6,6,7,0.55) 45%, rgba(6,6,7,0.92) 85%, var(--void-900) 100%);
}
.hero--foto .hero__lockup { font-size: clamp(3.4rem, 12vw, 9rem); }
.hero__lead { max-width: 560px; }
.hero__precos {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.hero__precos .badge { font-size: 12px; }
.hero__precos .badge strong { color: var(--light); margin-left: 6px; }

/* ---------- grade de produtos ---------- */
.colecao { padding: clamp(72px, 10vh, 120px) 0; position: relative; }
.colecao__head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.colecao__head .section-title { margin: 14px 0 16px; }
.colecao__lead { color: var(--text-secondary); font-size: var(--fs-lead); line-height: 1.55; }
.produtos {
  display: grid; gap: clamp(18px, 2.5vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.produto {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface-card); border: 1px solid var(--void-500);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.produto:hover { transform: translateY(-4px); box-shadow: var(--glow-flame); border-color: rgba(255,41,0,0.55); }
.produto__figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--void-700); }
.produto__figure img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease-out); }
.produto:hover .produto__figure img { transform: scale(1.04); }
.produto__figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,6,7,0.85) 100%);
}
/* boné não tem foto do ensaio: o card usa o pictograma sobre a fumaça */
.produto__figure--icone {
  display: grid; place-items: center;
  background: var(--void-700) url("../assets/img/smoke-bg.webp") center/cover no-repeat;
}
.produto__figure--icone img { width: 58%; height: auto; object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(255,41,0,0.35)); }
.produto__icone {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 52px; height: 52px; padding: 9px; border-radius: 12px;
  background: rgba(6,6,7,0.7); border: 1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.produto__icone img { width: 100%; height: 100%; object-fit: contain; transform: none; transition: none; }
.produto__cores {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-expanded); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light-dim);
}
.produto__cor { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); display: inline-block; }
.produto__cor--preta { background: #1b1b1f; }
.produto__cor--off { background: #efe9dd; }
.produto__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.produto__nome {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; color: var(--light); letter-spacing: -0.01em;
}
.produto__desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; }
.produto__preco { display: flex; align-items: flex-end; gap: 6px; margin-top: auto; padding-top: 14px; }
.produto__preco .price-card__int { font-size: clamp(2.6rem, 5vw, 3.2rem); }
.produto__preco .price-card__cents { font-size: 1.4rem; }
.produto__preco .price-card__currency { font-size: 16px; margin-bottom: 8px; }
.produto .btn { margin-top: 12px; }
.produto__pgto { font-family: var(--font-expanded); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light-faint); text-align: center; }

/* ---------- lookbook ---------- */
.lookbook { padding: clamp(56px, 8vh, 96px) 0; background: var(--void-800); border-top: 1px solid var(--void-500); border-bottom: 1px solid var(--void-500); }
.lookbook__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.lookbook__grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(12, 1fr); grid-auto-rows: 180px;
}
.lookbook__item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--void-500); }
.lookbook__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.lookbook__item:hover img { transform: scale(1.04); }
.lookbook__item--a { grid-column: span 4; grid-row: span 3; }
.lookbook__item--b { grid-column: span 4; grid-row: span 2; }
.lookbook__item--c { grid-column: span 4; grid-row: span 2; }
.lookbook__item--d { grid-column: span 4; grid-row: span 1; object-position: top; }
.lookbook__item--e { grid-column: span 4; grid-row: span 1; }
@media (max-width: 720px) {
  .lookbook__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .lookbook__item--a, .lookbook__item--b, .lookbook__item--c { grid-column: span 1; grid-row: span 1; }
  .lookbook__item--a { grid-column: span 2; grid-row: span 2; }
  .lookbook__item--d, .lookbook__item--e { grid-column: span 1; }
}
.lookbook__frase {
  margin-top: 28px; font-family: var(--font-expanded); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 12px; color: var(--light-faint); text-align: center;
}
.lookbook__frase strong { color: var(--flame-500); }

/* ---------- passos ---------- */
.passos { padding: clamp(72px, 10vh, 120px) 0; }
.passos__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 36px; }
.passo { padding: 26px; background: var(--surface-card); border: 1px solid var(--void-500); border-radius: var(--radius-lg); }
.passo__num { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; background: var(--flame-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.passo__t { font-family: var(--font-expanded); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--light); margin: 14px 0 8px; }
.passo p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; }
.passos__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* link "pular para a coleção": invisível até receber foco pelo teclado */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--flame-500); color: var(--void-900);
  font-family: var(--font-expanded); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* contato para dúvidas (pedido do Gustavo em 20/09) */
.passos__duvidas { margin-top: 28px; color: var(--text-secondary); font-size: 1rem; }
.passos__duvidas a { color: var(--flame-500); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- celular: achados do teste em 5 viewports (20/09) ----------
   1) o .btn da conferência tem white-space: nowrap; "Ainda não tem ingresso? ↗"
      dava 369px e estourava a largura em 360/375. Em tela estreita os CTAs
      viram largura total e podem quebrar linha.
   2) alvos de toque: btn--sm (37px), link de dúvidas (16px) e links do
      rodapé (22px) ficavam abaixo dos 44px. */
@media (max-width: 520px) {
  .hero__cta, .passos__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .passos__cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
  .lookbook__head .btn { width: 100%; white-space: normal; }
}
@media (pointer: coarse) {
  .btn--sm { min-height: 44px; }
  .passos__duvidas a, .footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (pointer: coarse) {
  /* o resto do que ficou abaixo de 44px na segunda rodada do teste */
  .nav__brand, .nav__links a, .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero__precos .badge { min-height: 44px; padding-top: 0; padding-bottom: 0; }
}

/* camiseta em duas cores: um checkout por cor (pedido de 20/09) */
.produto__escolha { font-family: var(--font-expanded); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light-faint); margin-top: 6px; }
.produto__opcoes { display: flex; flex-direction: column; gap: 10px; }
.produto__opcoes .btn { margin-top: 0; gap: 10px; }
.produto__opcoes .produto__cor { width: 12px; height: 12px; flex: none; }
.btn--outline .produto__cor--preta { border-color: rgba(255,255,255,0.35); }

/* boné: mockup recortado (fundo bege removido) flutuando sobre a fumaça */
.produto__figure--recorte {
  display: grid; place-items: center;
  background: var(--void-700) url("../assets/img/smoke-bg.webp") center/cover no-repeat;
}
.produto__figure--recorte > img:not(.produto__icone img) {
  width: 86%; height: auto; object-fit: contain;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(255,41,0,0.22));
}
