/* ==========================================================================
   TAG MINI — MODA INFANTIL OFICIAL
   Design System: Black & White Editorial Luxury / High Contrast Contemporary
   Typography: Outfit (Display) + Plus Jakarta Sans (UI & Body)
   Zero Emojis • Pure SVG Icons • 100% Mobile-First Responsive
   ========================================================================== */

/* --- Reset & Design Tokens --- */
:root {
  --bg-body: #080808;
  --bg-surface: #111114;
  --bg-surface-elevated: #16161A;
  --bg-surface-hover: #1A1A20;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-bright: rgba(255, 255, 255, 0.28);

  --text-pure: #FFFFFF;
  --text-high: #F4F4F5;
  --text-muted: #A1A1AA;
  --text-faint: #71717A;
  
  --brand-cta-bg: #FFFFFF;
  --brand-cta-text: #09090B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-smooth: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-high);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-body);
  overflow-x: hidden !important;
  position: relative;
  line-height: 1.5;
  padding-bottom: 110px; /* Respiro inferior garantido para o dock flutuante */
}

/* Atmosfera de Fundo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  max-width: 100vw;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   1. TICKER SUPERIOR (PILARES OFICIAIS)
   ========================================================================== */
.ticker-wrapper {
  position: relative;
  width: 100%;
  background: #000000;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  z-index: 40;
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tickerScroll 24s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ticker-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}

@keyframes tickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   2. CONTAINER CENTRAL
   ========================================================================== */
.site-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 18px 36px;
  position: relative;
  z-index: 10;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 4px;
}

.hero-avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 16px;
}

.hero-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  filter: blur(8px);
}

.hero-avatar-border {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.25) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background-color: #000000;
}

.hero-crest-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-pure);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.badge-icon {
  color: #FFFFFF;
}

.hero-typography {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: pulseIndicator 2.4s infinite ease-in-out;
}

@keyframes pulseIndicator {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.brand-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text-pure);
  text-transform: uppercase;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 310px;
  line-height: 1.45;
}

/* ==========================================================================
   4. MASTER CTA COM BORDER BEAM ROTATIVO CONTÍNUO (SHOPEE)
   ========================================================================== */
.master-cta-section {
  width: 100%;
}

.shopee-master-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 12px 36px -4px rgba(0, 0, 0, 0.7), 
    0 0 24px -2px rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

.shopee-master-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 16px 40px -4px rgba(0, 0, 0, 0.8), 
    0 0 32px rgba(255, 255, 255, 0.28);
}

.shopee-border-beam {
  position: absolute;
  inset: -150%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 260deg,
    rgba(255, 255, 255, 0.25) 290deg,
    #FFFFFF 330deg,
    rgba(255, 255, 255, 0.95) 350deg,
    transparent 360deg
  );
  animation: borderBeamSpin 3.2s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes borderBeamSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.shopee-master-button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 64px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F7 100%);
  color: var(--brand-cta-text);
  border-radius: 14px;
  padding: 15px 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.shopee-master-button:active {
  transform: translateY(1px);
}

.button-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.button-icon-box {
  width: 44px;
  height: 44px;
  background: #09090B;
  color: #FFFFFF;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: var(--transition-spring);
}

.shopee-master-wrapper:hover .button-icon-box {
  transform: scale(1.06);
}

.button-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.button-eyebrow {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #52525B;
  text-transform: uppercase;
}

.button-label {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #09090B;
  line-height: 1.2;
  text-transform: uppercase;
}

.button-sub {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  color: #71717A;
}

.button-arrow {
  color: #09090B;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.shopee-master-wrapper:hover .button-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   SHINY SWEEP EFFECT (HOVER & TOUCH)
   ========================================================================== */
.shiny-sweep {
  position: relative;
}

.shiny-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.45) 50%, 
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg) translate3d(0, 0, 0);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shiny-sweep:hover::after,
.shiny-sweep.sweeping::after {
  opacity: 1;
  animation: shineAnimation 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shineAnimation {
  0% { transform: rotate(25deg) translateX(-180%); }
  100% { transform: rotate(25deg) translateX(480%); }
}

/* ==========================================================================
   5. BOTOES DOS CANAIS OFICIAIS (FULL-WIDTH EDITORIAL LUXURY)
   ========================================================================== */
.channels-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 2px;
}

.heading-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.heading-text {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Linha de Ação do Canal — Full-Width, Ergonômico & Sem Cortes */
.channel-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #131316 0%, #0A0A0D 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.channel-action-row:hover {
  background: linear-gradient(180deg, #18181D 0%, #0E0E12 100%);
  border-color: rgba(255, 255, 255, 0.24);
  border-top-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.channel-action-row:active {
  transform: scale(0.99);
}

.channel-row-main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

/* Molduras de Emblema Proporcionais */
.channel-emblem-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: var(--transition-spring);
}

.channel-action-row:hover .channel-emblem-box {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
}

/* SHEIN: Moldura Horizontal com Logo em Proporção Original e Nítida */
.emblem-shein {
  width: 68px;
  height: 38px;
  padding: 0 6px;
  border-color: rgba(255, 255, 255, 0.16);
}

.emblem-tiktok {
  color: #FFFFFF;
}

.emblem-temu {
  color: #FB923C;
}

.emblem-instagram {
  color: #FFFFFF;
}

/* Textos da Linha */
.channel-row-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.channel-row-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.channel-row-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Seta Indicadora */
.channel-row-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 10px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.channel-action-row:hover .channel-row-arrow {
  background: #FFFFFF;
  color: #09090B;
  border-color: #FFFFFF;
  transform: translate(2px, -2px);
}

/* ==========================================================================
   6. AFIRMAÇÃO DE MARCA: COMPOSIÇÃO ABERTA & LINHAS FINAS (ZERO CARA DE IA)
   ========================================================================== */
.brand-manifesto-section {
  display: flex;
  flex-direction: column;
  padding: 8px 4px 4px;
  position: relative;
  z-index: 10;
}

.manifesto-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.manifesto-header {
  margin-bottom: 16px;
}

.manifesto-kicker {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.manifesto-statements {
  display: flex;
  flex-direction: column;
}

.manifesto-entry {
  padding: 14px 0;
}

.manifesto-entry-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.manifesto-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.01em;
}

.manifesto-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
}

.manifesto-sep {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   7. FOOTER INSTITUCIONAL
   ========================================================================== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 10px 10px;
  color: var(--text-faint);
}

.footer-crest {
  color: var(--text-muted);
  margin-bottom: 2px;
  opacity: 0.8;
}

.footer-brand-line {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--text-muted);
}

.footer-brand-line strong {
  color: var(--text-high);
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 10px;
  max-width: 340px;
  line-height: 1.4;
}

/* ==========================================================================
   8. DOCK FLUTUANTE INFERIOR NO MOBILE (SMART FLOATING DOCK)
   ========================================================================== */
.mobile-sticky-dock {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  right: 16px;
  max-width: 420px;
  margin: 0 auto;
  z-index: 100;
  transform: translateY(140%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-sticky-dock.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-dock-btn {
  display: block;
  width: 100%;
  height: 50px;
  background: #FFFFFF;
  color: #09090B;
  border-radius: var(--radius-pill);
  box-shadow: 
    0 10px 28px rgba(0, 0, 0, 0.85),
    0 0 16px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.sticky-dock-btn:active {
  transform: scale(0.98);
}

.dock-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   9. RESPONSIVIDADE & BREAKPOINTS
   ========================================================================== */
@media (max-width: 360px) {
  .site-container {
    padding: 16px 12px 30px;
  }

  .brand-title {
    font-size: 28px;
  }

  .brand-tagline {
    font-size: 13px;
  }

  .shopee-master-button {
    padding: 14px 14px;
    min-height: 58px;
  }

  .button-label {
    font-size: 14px;
  }

  .channel-action-row {
    padding: 10px 12px;
    min-height: 58px;
  }

  .emblem-shein {
    width: 60px;
    height: 34px;
  }

  .channel-row-title {
    font-size: 14px;
  }

  .channel-row-sub {
    font-size: 11px;
  }
}

@media (min-width: 641px) {
  .site-container {
    max-width: 500px;
    padding-top: 36px;
  }

  .mobile-sticky-dock {
    display: none;
  }

  body {
    padding-bottom: 36px;
  }
}

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

  .shopee-border-beam {
    animation: none;
  }

  .status-indicator {
    animation: none;
  }

  .shiny-sweep::after {
    animation: none;
    display: none;
  }

  * {
    transition: none !important;
  }
}
