/* --------------------------------------------------------------------------
   MOB STORE — Design System & Tokens Oficiais
   Paleta: Amarelo Banana Elegante + Preto Profundo + Branco Puro
   Tipografia: Instrument Serif (Display) + Instrument Sans (Corpo / UI)
-------------------------------------------------------------------------- */

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores Principais da MOB STORE */
  --brand-yellow: #F5CE38;
  --brand-yellow-deep: #D4AD20;
  --brand-yellow-glow: rgba(245, 206, 56, 0.35);
  --brand-dark: #070709;
  --brand-ink: #0D0E13;
  --paper: #FFFFFF;
  --paper-soft: #F5F5F7;
  --paper-muted: #8E8E9A;

  /* Superfícies & Luz (Zero Caixas Cinzas de Sistema) */
  --veil-1: rgba(245, 206, 56, 0.08);
  --veil-2: rgba(255, 255, 255, 0.04);
  --edge: rgba(255, 255, 255, 0.12);
  --edge-highlight: rgba(255, 255, 255, 0.22);
  --edge-yellow: rgba(245, 206, 56, 0.4);

  /* Tipografia */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-text: 'Instrument Sans', Montserrat, sans-serif;

  /* Escala de Espaçamento e Transição */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 20px;
  --radius-btn: 999px;
  --container-max: 720px;
  --container-wide: 1140px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--brand-dark);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-text);
  background-color: var(--brand-dark);
  color: var(--paper);
  min-height: 100vh;
  overflow-x: hidden !important;
  position: relative;
  line-height: 1.6;
}

@media (max-width: 480px) {
  body {
    padding-bottom: 84px;
  }
}

/* Fundo Global Contínuo Animado */
.field-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(65% 50% at 20% 15%, rgba(245, 206, 56, 0.10), transparent 70%),
    radial-gradient(50% 45% at 85% 35%, rgba(255, 255, 255, 0.04), transparent 70%),
    radial-gradient(70% 60% at 50% 90%, rgba(245, 206, 56, 0.07), transparent 75%),
    var(--brand-dark);
  background-size: 150% 150%;
  animation: fieldDrift 28s ease-in-out infinite alternate;
}

@keyframes fieldDrift {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  100% { background-position: 15% 10%, 85% 20%, 48% 90%, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .field-ambient {
    animation: none;
  }
}

/* Canvas 3D de Fundo */
#webgl-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Layout Geral & Container */
.page-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-content {
  width: 100%;
  max-width: var(--container-max);
  padding: 32px 20px 60px;
}

@media (min-width: 768px) {
  .main-content {
    padding: 48px 32px 80px;
  }
}

/* --------------------------------------------------------------------------
   HERO SECTION (Sem Badge, Foco Editorial & Conversão Imediata)
-------------------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.brand-emblem-wrap {
  position: relative;
  margin-bottom: 20px;
}

.brand-emblem-glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, var(--brand-yellow-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(14px);
  z-index: -1;
}

.brand-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--edge-yellow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 var(--edge-highlight);
  background: #000;
  display: block;
}

.hero-caps-label {
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 12px;
  opacity: 0.95;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 12px;
}

.hero-title .highlight {
  color: var(--brand-yellow);
  font-style: italic;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--paper-muted);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   AÇÃO PRINCIPAL NA HERO (Visível sem rolar em 390x844)
-------------------------------------------------------------------------- */
.hero-cta-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.btn-primary-hero {
  position: relative;
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--brand-yellow);
  color: #070709;
  border-radius: var(--radius-btn);
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 28px var(--brand-yellow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.btn-primary-hero:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 36px rgba(245, 206, 56, 0.55);
}

.btn-primary-hero .btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Efeito Shiny Sweep Glow */
.shiny-sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 80%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shinySweep 4.5s ease-in-out infinite;
}

@keyframes shinySweep {
  0%, 65% { left: -120%; }
  100% { left: 180%; }
}

.hero-microcopy {
  font-size: 0.8rem;
  color: var(--paper-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-microcopy svg {
  width: 14px;
  height: 14px;
  fill: var(--brand-yellow);
}

/* --------------------------------------------------------------------------
   BENDING MARQUEE DA IDENTIDADE (Faixa Inclinada Dinâmica)
-------------------------------------------------------------------------- */
.marquee-band {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  padding: 14px 0;
  background: var(--brand-yellow);
  color: #070709;
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-0.85deg);
  margin-bottom: 40px;
  margin-top: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.marquee-content {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marqueeRoll 24s linear infinite;
}

.marquee-item {
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #070709;
}

@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-content {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   CARDS DE LINK PRIME (Hierarquia e Elegância Autoral)
-------------------------------------------------------------------------- */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  min-height: 72px;
  border-radius: var(--radius-card);
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-yellow);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--edge-yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 40px -15px var(--brand-yellow-glow);
}

.link-card:hover::before {
  opacity: 1;
}

.link-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(245, 206, 56, 0.12);
  border: 1px solid rgba(245, 206, 56, 0.25);
  color: var(--brand-yellow);
  flex-shrink: 0;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease);
}

.link-card:hover .link-icon-box {
  transform: scale(1.05);
  background: var(--brand-yellow);
  color: #070709;
}

.link-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.link-text-content {
  flex: 1;
  min-width: 0;
}

.link-card-title {
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.3;
}

.link-card-desc {
  font-size: 0.82rem;
  color: var(--paper-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.link-arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  color: var(--paper-muted);
  flex-shrink: 0;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), color 0.32s var(--ease), border-color 0.32s var(--ease);
}

.link-arrow-circle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.link-card:hover .link-arrow-circle {
  transform: translateX(4px) rotate(-45deg);
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #070709;
}

/* Card Featured Invertido */
.link-card--featured {
  background: rgba(245, 206, 56, 0.08);
  border-color: rgba(245, 206, 56, 0.45);
}

.link-card--featured .link-icon-box {
  background: var(--brand-yellow);
  color: #070709;
}

/* --------------------------------------------------------------------------
   CURADORIA EDITORIAL — SCROLL MASK & STACK (Fotos Reais)
-------------------------------------------------------------------------- */
.curation-section {
  width: 100%;
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 20px;
  text-align: left;
}

.section-label-caps {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--paper);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 480px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.editorial-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.editorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--edge-yellow);
}

.editorial-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
}

.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.editorial-card:hover .editorial-img {
  transform: scale(1.04);
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(7, 7, 9, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.editorial-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 4px;
}

.editorial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.25;
}

.editorial-cta-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-yellow);
  text-decoration: none;
  transition: opacity 0.2s;
}

.editorial-cta-link:hover {
  opacity: 0.85;
}

.editorial-cta-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   DADOS REAIS, LOCALIZAÇÃO & LOGÍSTICA
-------------------------------------------------------------------------- */
.data-blocks-section {
  width: 100%;
  margin-bottom: 48px;
}

.data-card {
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.data-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-yellow), transparent);
}

.data-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 8px;
  display: block;
}

.data-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 8px;
}

.data-description {
  font-size: 0.92rem;
  color: var(--paper-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION ACESSÍVEL (Perguntas Reais)
-------------------------------------------------------------------------- */
.faq-section {
  width: 100%;
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.28s var(--ease);
}

.faq-item[open] {
  border-color: var(--edge-yellow);
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-text);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--paper);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brand-yellow);
  stroke-width: 2.2;
  transition: transform 0.28s var(--ease);
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--paper-muted);
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   RODAPÉ EDITORIAL
-------------------------------------------------------------------------- */
.footer {
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--edge);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 6px;
}

.footer-info {
  font-size: 0.8rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

.footer-rights {
  margin-top: 12px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   CTA WHATSAPP FLUTUANTE (Ícone Oficial SVG)
-------------------------------------------------------------------------- */
.wa-float-btn {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #FFFFFF;
  z-index: 900;
  text-decoration: none;
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.wa-float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 38px -4px rgba(37, 211, 102, 0.75);
}

.wa-float-btn:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .wa-float-btn {
    width: 54px;
    height: 54px;
    right: 16px;
  }
  .wa-float-btn svg {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float-btn {
    transition: none;
  }
}
