/* ==========================================================================
   URBSKY — Catálogo de streetwear (site estático)
   Identidade visual herdada da loja antiga (Nuvemshop): preto/branco,
   wordmark grafite "URBSKY.", acento laranja queimado usado na estampa
   das peças. Tokens em variáveis CSS para facilitar ajuste fino de marca.
   ========================================================================== */

:root {
  /* Cores base da marca */
  --ink: #0d0d0d;
  --ink-soft: #2a2a2a;
  --paper: #ffffff;
  --paper-alt: #f4f3f1;
  --muted: #63666b;
  --muted-light: #9a9da2;
  --line: rgba(13, 13, 13, 0.12);
  --line-strong: rgba(13, 13, 13, 0.22);

  --accent: #d97b2c;
  --accent-dark: #a85c1c;
  --accent-light: #f0a45c;

  /* Tipografia */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-w: 1200px;
  --container-w-narrow: 720px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container-w); margin-inline: auto; padding-inline: var(--space-3); }
.container--narrow { max-width: var(--container-w-narrow); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--whatsapp { background: #25d366; color: #06210f; }
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(37, 211, 102, 0.55); }
.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.85rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: 0.9rem; }
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; filter: invert(1) brightness(2); }

.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav__list { display: flex; align-items: center; gap: var(--space-3); }
.nav__list a {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: #fff; border-color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 62px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-2) var(--space-3) var(--space-3);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0.2rem; width: 100%; }
  .nav__list a { display: block; width: 100%; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav__cta { margin-top: var(--space-2); align-self: flex-start; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.35) 0%, rgba(13,13,13,0.88) 78%, rgba(13,13,13,0.98) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: var(--space-6) var(--space-5);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  padding: 0.45rem 1rem; margin-bottom: var(--space-3);
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
  max-width: 14ch;
}
.hero__subtitle {
  margin-top: var(--space-3);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.82);
  max-width: 40ch;
}
.hero__actions { margin-top: var(--space-4); display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   Seções gerais
   ========================================================================== */
.section { padding-block: var(--space-6); }
.section--alt { background: var(--paper-alt); }
.section-header { max-width: 640px; margin-bottom: var(--space-5); }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-header p { margin-top: var(--space-2); color: var(--muted); font-size: 1.05rem; }

/* Feature rows (diferenciais) — alterna imagem esquerda/direita */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-5);
}
.feature-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row--reverse .feature-row__body { order: 1; }
.feature-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-alt);
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: var(--space-2); }
.feature-row__body p { color: var(--muted); font-size: 1.05rem; }
.feature-row__icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  color: var(--ink);
}
.feature-row__icon svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-row__media, .feature-row--reverse .feature-row__body { order: initial; }
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding-block: var(--space-6);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-transform: uppercase; }
.cta-band p { margin-top: var(--space-2); color: rgba(255,255,255,0.75); max-width: 46ch; margin-inline: auto; }
.cta-band .btn { margin-top: var(--space-4); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: var(--space-4); border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); }
.site-footer img { height: 20px; width: auto; filter: invert(1) brightness(2); opacity: 0.85; }
.site-footer small { font-size: 0.82rem; }

/* ==========================================================================
   Página Produtos — cabeçalho de página
   ========================================================================== */
.page-header {
  background: var(--ink);
  color: #fff;
  padding-block: var(--space-5) var(--space-4);
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; }
.page-header p { margin-top: var(--space-2); color: rgba(255,255,255,0.75); max-width: 46ch; margin-inline: auto; }

/* ==========================================================================
   Galeria de produtos + Lightbox (mesmo padrão do catálogo PR3D)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-3);
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  aspect-ratio: 4 / 5;
  text-align: left;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery-card:hover { transform: translateY(-8px) scale(1.015); border-color: var(--accent); box-shadow: 0 20px 46px -22px rgba(13,13,13,0.35); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.78) 100%);
  transition: background 0.4s var(--ease);
  pointer-events: none;
}
.gallery-card:hover::after { background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.86) 100%); }
.gallery-card__index {
  position: absolute; top: 0.8rem; left: 0.8rem;
  display: flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-heading); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  color: #fff; background: rgba(13,13,13,0.6); border: 1px solid rgba(255,255,255,0.18);
  padding: 0.28rem 0.55rem 0.28rem 0.42rem; border-radius: var(--radius-sm); z-index: 2; backdrop-filter: blur(6px);
}
.gallery-card__index::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.gallery-card__count {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: rgba(13,13,13,0.65); color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.6rem; border-radius: 999px; z-index: 2; backdrop-filter: blur(6px);
}
.gallery-card__footer {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem;
}
.gallery-card__tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 0.26rem 0.6rem; border-radius: 999px;
}
.gallery-card__caption { font-weight: 700; font-size: 0.98rem; color: #fff; }
.gallery-grid__loading { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 0.95rem; padding: var(--space-4) 0; }

.gallery-grid.is-grouped { display: block; }
.catalog-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-4); }
.catalog-filter__chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.55rem 1.05rem; cursor: pointer; transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.catalog-filter__chip:hover { color: var(--ink); border-color: var(--accent); }
.catalog-filter__chip[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.catalog-filter__count { font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; opacity: 0.8; }

.catalog-groups { display: flex; flex-direction: column; gap: var(--space-5); }
.catalog-group__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.7rem; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; margin-bottom: var(--space-3); }
.catalog-group__count { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.catalog-group__grid { margin: 0; }

@media (max-width: 560px) {
  .catalog-filter { gap: 0.45rem; }
  .catalog-filter__chip { font-size: 0.8rem; padding: 0.48rem 0.9rem; }
  .catalog-group__title { font-size: 1.15rem; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(6px);
  padding: var(--space-3);
}
.lightbox.is-open { display: flex; }
.lightbox__stage { position: relative; max-width: min(920px, 92vw); max-height: 86vh; width: 100%; }
.lightbox__img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: var(--radius-sm); background: #000; }
.lightbox__caption { color: rgba(255,255,255,0.75); text-align: center; margin-top: var(--space-2); font-size: 0.92rem; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.18); }
.lightbox__close { top: -56px; right: 0; }
.lightbox__prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: -60px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox__prev { left: 0; }
  .lightbox__next { right: 0; }
  .lightbox__close { top: -48px; }
}

/* Álbum (pasta aberta) — painel intermediário entre o card de produto e o lightbox */
.album-overlay {
  position: fixed; inset: 0; z-index: 150; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(10, 10, 10, 0.88); backdrop-filter: blur(6px);
  padding: var(--space-5) var(--space-3); overflow-y: auto;
}
.album-overlay.is-open { display: flex; }
.album-overlay__panel { position: relative; width: min(1080px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); }
.album-overlay__close {
  position: absolute; top: var(--space-3); right: var(--space-3);
  color: var(--ink); background: rgba(13,13,13,0.06); border: 1px solid var(--line-strong);
  border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease); z-index: 3;
}
.album-overlay__close:hover { background: rgba(13,13,13,0.14); }
.album-overlay__head { max-width: 640px; padding-right: 3rem; margin-bottom: var(--space-4); }
.album-overlay__eyebrow { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 0.5rem; }
.album-overlay__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.6rem; }
.album-overlay__caption { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.album-overlay__tag { display: inline-block; margin-top: 0.75rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 0.3rem 0.7rem; border-radius: 999px; }
.album-overlay__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-2); }
.photo-tile { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line); background: var(--paper-alt); transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.photo-tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.photo-tile:hover img { transform: scale(1.08); }

@media (max-width: 720px) {
  .album-overlay { padding: var(--space-4) var(--space-2); }
  .album-overlay__panel { padding: var(--space-3); }
  .album-overlay__head { padding-right: 2.6rem; }
  .album-overlay__grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-1); }
}

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #06210f;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 90; transition: transform 0.3s var(--ease);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Utilitários e botões extras (usados na página Personalizados)
   ========================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--on-dark:hover { border-color: #fff; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; gap: 0.5rem; margin-top: var(--space-3); font-family: var(--font-heading); font-weight: 700; color: var(--accent-light); }
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ==========================================================================
   Página Personalizados — capa
   ========================================================================== */
.custom-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.custom-hero__grain {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% 40%, rgba(217, 123, 44, 0.28), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(217, 123, 44, 0.12), transparent 70%);
}
.custom-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--space-4);
  padding-block: var(--space-6) var(--space-5);
}
.custom-hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em;
}
.custom-hero__title span { display: block; }
.custom-hero__title-accent { color: var(--accent); }
.custom-hero__subtitle { margin-top: var(--space-3); max-width: 44ch; font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: rgba(255, 255, 255, 0.78); }
.custom-hero__actions { justify-content: flex-start; }

.custom-hero__visual { position: relative; display: flex; justify-content: center; }
.hero-tee { position: relative; width: min(380px, 80vw); aspect-ratio: 400 / 440; animation: tee-float 6s ease-in-out infinite; }
.hero-tee__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-tee__body { fill: #1c1c1c; stroke: rgba(255, 255, 255, 0.16); stroke-width: 2; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.hero-tee__seam { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.hero-tee__print {
  position: absolute; left: 28%; width: 44%; top: 26%; height: 36%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  container-type: inline-size;
}
.hero-tee__word {
  font-family: var(--font-heading); font-weight: 900; font-size: 19cqw; line-height: 0.95;
  color: var(--accent); text-transform: uppercase; transform: rotate(-6deg);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.hero-tee__word.is-out { opacity: 0; transform: rotate(-6deg) scale(0.85); filter: blur(4px); }

.sticker { position: absolute; top: -4%; right: 2%; width: clamp(92px, 12vw, 128px); animation: sticker-spin 14s linear infinite; }
.sticker__bg { fill: var(--accent); }
.sticker__text { font-family: var(--font-heading); font-weight: 800; font-size: 11.5px; letter-spacing: 0.12em; fill: var(--ink); }
.sticker__star { font-size: 26px; fill: var(--ink); }

@keyframes tee-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes sticker-spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .custom-hero__inner { grid-template-columns: 1fr; text-align: center; padding-block: var(--space-5) var(--space-4); }
  .custom-hero__copy { display: flex; flex-direction: column; align-items: center; }
  .custom-hero__actions { justify-content: center; }
  .custom-hero__subtitle { margin-inline: auto; }
  .hero-tee { width: min(300px, 74vw); }
}

/* Faixa quadriculada + letreiro corrido */
.checker-strip {
  height: 22px;
  background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 22px 22px;
}
.marquee { background: var(--accent); color: var(--ink); overflow: hidden; padding-block: 0.85rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span {
  font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.marquee__track span::after { content: "\2726"; margin-inline: 1.4rem; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Página Personalizados — dois caminhos
   ========================================================================== */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.path-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: var(--space-4); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--paper-alt);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.path-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(13, 13, 13, 0.45); }
.path-card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.path-card__num {
  position: absolute; top: 0.4rem; right: 1.2rem;
  font-family: var(--font-heading); font-weight: 900; font-size: 5.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-strong);
}
.path-card--dark .path-card__num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.2); }
.path-card__icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink); margin-bottom: var(--space-3);
}
.path-card__icon svg { width: 28px; height: 28px; }
.path-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: var(--space-2); }
.path-card p { color: var(--muted); }
.path-card--dark p { color: rgba(255, 255, 255, 0.75); }
.path-card__list { margin: var(--space-3) 0 var(--space-4); display: grid; gap: 0.45rem; font-size: 0.95rem; font-weight: 500; }
.path-card__list li { display: flex; gap: 0.6rem; align-items: baseline; }
.path-card__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-1px); }
.path-card .btn { margin-top: auto; }

@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
  .path-card { padding: var(--space-3); }
  .path-card__num { font-size: 4.2rem; }
}

/* ==========================================================================
   Página Personalizados — Estúdio (prévia interativa)
   ========================================================================== */
.studio {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-4); align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: 0 30px 70px -50px rgba(13, 13, 13, 0.5);
}
.studio__stage {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; align-items: center;
  border-radius: var(--radius-md);
  background: radial-gradient(70% 60% at 50% 40%, #ffffff 0%, #e6e4e0 100%);
  padding: var(--space-4) var(--space-3) var(--space-3);
}
.studio__tee { position: relative; width: min(100%, 440px); aspect-ratio: 400 / 440; }
.studio__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.studio__body { transition: fill 0.35s var(--ease); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.22)); }
.studio__seam, .studio__fold { fill: none; stroke-width: 2; transition: stroke 0.35s var(--ease); }
.studio__fold { stroke-width: 1.5; }
.studio__shade { pointer-events: none; }

.studio__tee[data-color="preta"] .studio__body { fill: #171717; stroke: #2c2c2c; stroke-width: 2; }
.studio__tee[data-color="preta"] .studio__seam { stroke: rgba(255, 255, 255, 0.1); }
.studio__tee[data-color="preta"] .studio__fold { stroke: rgba(255, 255, 255, 0.05); }
.studio__tee[data-color="branca"] .studio__body { fill: #f7f7f5; stroke: rgba(13, 13, 13, 0.16); stroke-width: 2; }
.studio__tee[data-color="branca"] .studio__seam { stroke: rgba(13, 13, 13, 0.12); }
.studio__tee[data-color="branca"] .studio__fold { stroke: rgba(13, 13, 13, 0.06); }

/* Frente x costas: troca só o decote */
.studio__body--back, .studio__seam--back { display: none; }
.studio__tee[data-placement="costas-grande"] .studio__body--back,
.studio__tee[data-placement="costas-grande"] .studio__seam--back { display: inline; }
.studio__tee[data-placement="costas-grande"] .studio__body:not(.studio__body--back),
.studio__tee[data-placement="costas-grande"] .studio__seam--front { display: none; }

/* Área de impressão — coordenadas em % do viewBox 400x440 */
.studio__zone {
  position: absolute; overflow: hidden; container-type: inline-size;
  left: 28.75%; width: 42.5%; top: 20.5%; height: 47.7%;
  outline: 1.5px dashed transparent; outline-offset: 2px; border-radius: 4px;
  transition: left 0.45s var(--ease), top 0.45s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease), outline-color 0.25s var(--ease);
}
.studio__tee[data-placement="frente-peito"] .studio__zone { left: 57%; width: 15%; top: 20.5%; height: 12%; }
.studio__tee[data-placement="costas-grande"] .studio__zone { left: 26.25%; width: 47.5%; top: 15%; height: 57%; }
.studio__tee[data-color="preta"] .studio__zone { outline-color: rgba(255, 255, 255, 0.14); }
.studio__tee[data-color="branca"] .studio__zone { outline-color: rgba(13, 13, 13, 0.14); }
.studio__tee.is-dragging .studio__zone,
.studio__tee:hover .studio__zone { outline-color: var(--accent); }

.studio__art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  transform-origin: center;
}
.studio__art:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.studio__tee.is-dragging .studio__art { cursor: grabbing; }
.studio__img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
.studio__tee[data-color="branca"] .studio__img { mix-blend-mode: multiply; }
.studio__text {
  font-family: var(--font-heading); font-weight: 900; line-height: 0.95; text-transform: uppercase;
  text-align: center; overflow-wrap: anywhere; padding: 0.2em; pointer-events: none;
}
.studio__text.is-placeholder { opacity: 0.35; }

.studio__view-label {
  margin-top: var(--space-2);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.9rem;
}
.studio__disclaimer { margin-top: 0.6rem; font-size: 0.78rem; color: var(--muted); text-align: center; max-width: 38ch; }

.studio__controls { display: flex; flex-direction: column; gap: var(--space-3); }
.studio__group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.studio__group legend { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; margin-bottom: 0.8rem; padding: 0; }
.studio__panel { display: flex; flex-direction: column; gap: 0.9rem; }
.studio__panel[hidden] { display: none; }

.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-alt); border-radius: 999px; padding: 4px; }
.seg__btn { padding: 0.6rem 0.8rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 700; font-size: 0.88rem; color: var(--muted); transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.seg__btn[aria-selected="true"] { background: var(--ink); color: #fff; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label { font-size: 0.82rem; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; }
.field__label output { color: var(--ink); font-weight: 700; }
.field__hint { font-size: 0.8rem; color: var(--muted); }
.field input[type="text"] {
  font: inherit; font-size: 1rem; font-weight: 600; text-transform: uppercase;
  padding: 0.8rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field input[type="text"]::placeholder { text-transform: none; font-weight: 400; color: var(--muted-light); }
.field input[type="text"]:focus { outline: none; border-color: var(--accent); }
.field--range input { accent-color: var(--accent); width: 100%; }

.swatches { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.swatches .field__label { width: 100%; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sw); border: 1.5px solid var(--line-strong);
  box-shadow: 0 0 0 3px #fff, 0 0 0 3px transparent;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); }

.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center;
  border: 2px dashed var(--line-strong); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-2); cursor: pointer; background: var(--paper-alt);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.dropzone svg { width: 34px; height: 34px; color: var(--accent); }
.dropzone:hover, .dropzone.is-dragging, .dropzone:focus-within { border-color: var(--accent); background: #fff7ef; }
.dropzone.has-file { border-style: solid; border-color: var(--accent); }
.dropzone__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; overflow-wrap: anywhere; }
.dropzone__hint { font-size: 0.8rem; color: var(--muted); }
.studio__privacy { font-size: 0.8rem; color: var(--muted); padding-left: 0.8rem; border-left: 3px solid var(--accent); }

.tee-colors, .chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tee-color, .chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.88rem;
  padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.tee-color:hover, .chip:hover { border-color: var(--accent); }
.tee-color[aria-checked="true"], .chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tee-color__dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(128, 128, 128, 0.5); }

.link-btn { align-self: flex-start; font-size: 0.85rem; font-weight: 600; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }

.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; align-self: flex-start; }
.stepper__btn { width: 46px; font-size: 1.3rem; font-weight: 600; transition: background 0.2s var(--ease); }
.stepper__btn:hover { background: var(--paper-alt); }
.stepper input {
  width: 64px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield; background: transparent;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: #fff7ef; }

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; padding: var(--space-2); gap: var(--space-3); }
  /* No celular a prévia gruda no topo enquanto os controles rolam por baixo */
  .studio__stage { top: 62px; z-index: 5; padding: var(--space-2); box-shadow: 0 14px 24px -20px rgba(13, 13, 13, 0.5); }
  .studio__tee { width: min(100%, 34vh); }
  .studio__disclaimer { display: none; }
  .studio__view-label { margin-top: 0.4rem; }
}

/* ==========================================================================
   Página Personalizados — como funciona
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.step { position: relative; padding-top: var(--space-4); }
.step::before {
  content: ""; position: absolute; top: 22px; left: 52px; right: calc(-1 * var(--space-3));
  height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 900; font-size: 1.1rem;
  background: var(--ink); color: #fff; box-shadow: 0 0 0 5px #fff;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.step:hover .step__num { background: var(--accent); color: var(--ink); }
.step h3 { font-size: 1.15rem; margin: var(--space-3) 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: var(--space-2); }
  .step { padding: 0 0 var(--space-2) 64px; min-height: 44px; }
  .step::before { top: 50px; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px); }
  .step h3 { margin-top: 0.4rem; }
}

/* ==========================================================================
   Página Personalizados — a base (oversized premium)
   ========================================================================== */
.base-band { background: var(--ink); color: #fff; padding-block: var(--space-6); }
.base-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.base-band__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.base-band__media img { width: 100%; height: 100%; object-fit: cover; }
.base-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.base-band__body > p { margin-top: var(--space-2); color: rgba(255, 255, 255, 0.75); }
.spec-list { margin-top: var(--space-3); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.spec-list li { display: flex; flex-direction: column; gap: 0.2rem; padding: var(--space-2); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm); }
.spec-list strong { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: var(--accent); line-height: 1.1; }
.spec-list span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }

@media (max-width: 760px) {
  .base-band__inner { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ==========================================================================
   Página Personalizados — pra quem é
   ========================================================================== */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); }
.use {
  padding: var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line); background: #fff;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.use:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-6px) rotate(-0.6deg); }
.use__tag {
  display: inline-block; margin-bottom: var(--space-2);
  font-family: var(--font-heading); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 0.3rem 0.7rem; border-radius: 999px;
}
.use h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.use p { color: var(--muted); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.use:hover p { color: var(--ink); }

/* ==========================================================================
   Página Personalizados — dúvidas
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: 0.7rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-alt); font-size: 1.2rem; transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq__item p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

.cta-band--custom { position: relative; }
.cta-band--custom::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px;
  background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 22px 22px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-tee, .sticker, .marquee__track { animation: none; }
}
