/* ==========================================================================
   THIAGO MULTIMARCAS — DESIGN SYSTEM & ESTILO OFICIAL
   Curadoria de Moda Masculina · Padrão Internacional
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
}

:root {
  --bg-base: #0D0E10;
  --bg-surface: #141518;
  --bg-card: #18191D;
  --bg-card-hover: #1E2024;
  --text-white: #FFFFFF;
  --text-support: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.65);
  --gold-core: #C5A059;
  --gold-light: #ECCF8D;
  --gold-border: rgba(197, 160, 89, 0.24);
  --gold-border-subtle: rgba(236, 207, 141, 0.16);
  --gold-glow: rgba(197, 160, 89, 0.14);
  --bronze-label: #B8863A;
  --radius-card: 18px;
  --radius-button: 9999px;
  --radius-sm: 8px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-base);
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   ACESSIBILIDADE & FOCO
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--gold-core);
  color: #0D0E10;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   ESTRUTURA & CONTAINER
   ========================================================================== */

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 32px 16px 48px;
}

.content-container {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   HUD & MARCADORES
   ========================================================================== */

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-button);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hud-marker {
  font-weight: 700;
  color: var(--gold-core);
}

.hud-symbol {
  color: var(--gold-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   HERO / CABEÇALHO
   ========================================================================== */

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

.brand-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-core) 60%, var(--bronze-label));
  box-shadow: 0 8px 24px var(--gold-glow);
}

.brand-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg-surface);
}

.brand-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.brand-tagline {
  font-size: 0.95rem;
  color: var(--text-support);
  line-height: 1.55;
  max-width: 460px;
  margin-bottom: 24px;
}

/* ==========================================================================
   BOTÃO CTA PRINCIPAL HERO (ACIMA DA DOBRA)
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  min-height: 54px;
  padding: 14px 28px;
  background: var(--gold-core);
  color: #0D0E10;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-button);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.28);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(236, 207, 141, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.support-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  display: inline-block;
}

/* ==========================================================================
   VITRINE (ESTEIRA INFINITA)
   ========================================================================== */

.vitrine-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 16px;
  margin-bottom: 36px;
  overflow: hidden;
}

.vitrine-header-wrap {
  max-width: 580px;
  margin: 0 auto 16px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vitrine-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.btn-pause-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  min-width: 48px;
  padding: 8px 16px;
  background: rgba(20, 21, 24, 0.85);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-button);
  color: var(--text-support);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth);
}

.btn-pause-track:hover {
  background: var(--bg-card);
  border-color: var(--gold-border);
  color: var(--text-white);
}

.btn-pause-track svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.icon-play {
  display: none;
}

.btn-pause-track[aria-pressed="true"] .icon-pause {
  display: none;
}

.btn-pause-track[aria-pressed="true"] .icon-play {
  display: block;
}

.vitrine-viewport {
  width: 100%;
  overflow: hidden;
  padding: 12px 0 24px;
}

.vitrine-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.vitrine-group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

/* ==========================================================================
   CARD DE PRODUTO (3:4 — 270x360 px)
   ========================================================================== */

.product-card {
  position: relative;
  width: 270px;
  height: 360px;
  flex-shrink: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  box-shadow: 0 12px 32px #0000008c;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  cursor: pointer;
}

.product-card:hover,
.product-card.is-active,
.product-card:focus-within {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold-light);
  box-shadow: 0 18px 40px #000000b3, 0 0 20px var(--gold-glow);
}

.card-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.product-card:hover .card-media img,
.product-card.is-active .card-media img,
.product-card:focus-within .card-media img {
  transform: scale(1.06);
  filter: brightness(0.82);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 14, 16, 0.92) 0%, rgba(13, 14, 16, 0.4) 50%, rgba(13, 14, 16, 0.1) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.product-card:hover .card-overlay,
.product-card.is-active .card-overlay,
.product-card:focus-within .card-overlay {
  opacity: 1;
  visibility: visible;
}

.btn-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  background: var(--gold-core);
  color: #0D0E10;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-button);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px #00000066;
  transform: translateY(12px);
  transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}

.product-card:hover .btn-card-cta,
.product-card.is-active .btn-card-cta,
.product-card:focus-within .btn-card-cta {
  transform: translateY(0);
}

.btn-card-cta:hover {
  background: var(--gold-light);
}

.btn-card-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   DESTINOS OFICIAIS (2 LINKS REAIS: WHATSAPP E INSTAGRAM)
   ========================================================================== */

.links-section {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.dest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.dest-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-core);
  background: var(--bg-card);
  box-shadow: 0 10px 26px #00000066, 0 0 16px var(--gold-glow);
}

.dest-card-featured {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, var(--bg-surface) 65%);
}

.dest-left {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.dest-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  flex-shrink: 0;
}

.dest-card-featured .dest-icon-wrap {
  background: var(--gold-core);
  color: #0D0E10;
  border-color: var(--gold-light);
}

.dest-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.dest-text {
  display: flex;
  flex-direction: column;
}

.dest-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.dest-desc {
  font-size: 0.85rem;
  color: var(--text-support);
  line-height: 1.4;
  margin-top: 2px;
}

.dest-arrow {
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--transition-smooth), color var(--transition-smooth);
}

.dest-card:hover .dest-arrow {
  transform: translate(3px, -3px);
  color: var(--gold-core);
}

.dest-arrow svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL & LGPD
   ========================================================================== */

.page-footer {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--gold-border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-support);
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-compliance {
  max-width: 480px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}

/* ==========================================================================
   PÁGINA 404
   ========================================================================== */

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.error-container {
  max-width: 500px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-card);
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 16px 40px #00000099;
}

.error-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 12px 0 14px;
}

.error-desc {
  font-size: 0.95rem;
  color: var(--text-support);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE-FIRST)
   ========================================================================== */

@media (min-width: 600px) {
  .page-wrapper {
    padding: 48px 24px 64px;
  }
  .brand-title {
    font-size: 2.15rem;
  }
}

/* WCAG: Modo de Movimento Reduzido */
@media (prefers-reduced-motion: reduce) {
  .vitrine-track {
    transform: none !important;
  }
  .vitrine-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .vitrine-group {
    scroll-snap-align: start;
  }
  .btn-pause-track {
    display: none !important;
  }
  .product-card,
  .btn-primary,
  .dest-card,
  .card-media img {
    transition: none !important;
  }
}
