/* ==========================================================================
   ATTI'S STORE — PREMIUM FASHION REDIRECTOR & EDITORIAL HUB
   Design System & Tokens (O COPY Standard)
   ========================================================================== */

:root {
  /* Paleta de Cores Oficial & Editorial */
  --attis-pink: #FF66B3;
  --attis-pink-light: #FFA1CE;
  --attis-pink-blush: #FFE4EF;
  --attis-pink-deep: #D8267E;
  --attis-pink-glow: rgba(255, 102, 179, 0.35);

  --bg-dark: #0A080C;
  --bg-surface: rgba(24, 16, 22, 0.94);
  --bg-surface-hover: rgba(38, 25, 34, 0.96);
  --bg-glass: rgba(255, 255, 255, 0.04);

  --border-subtle: rgba(255, 102, 179, 0.18);
  --border-active: rgba(255, 102, 179, 0.55);

  --text-pure: #FFFFFF;
  --text-muted: #E2CFD8;
  --text-dim: #A6929C;

  /* Tipografia */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-editorial: 'Playfair Display', serif;

  /* Espaçamentos e Raios */
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-sm: 12px;
  --transition-smooth: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* Reset Global & Reset Mobile-First */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body.attis-body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-pure);
  line-height: 1.5;
  overflow-x: hidden !important;
  width: 100%;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Atmosférico Contínuo */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  will-change: transform;
}

.orb-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--attis-pink) 0%, rgba(216, 38, 126, 0) 70%);
}

.orb-mid {
  top: 45%;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--attis-pink-deep) 0%, rgba(10, 8, 12, 0) 70%);
  opacity: 0.18;
}

.orb-bottom {
  bottom: 0;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--attis-pink) 0%, rgba(10, 8, 12, 0) 70%);
  opacity: 0.15;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (TICKER)
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #180d15, #22121e, #180d15);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 20;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--attis-pink-light);
  animation: tickerScroll 24s linear infinite;
}

.ticker-dot {
  margin: 0 14px;
  opacity: 0.5;
}

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

/* ==========================================================================
   APP LAYOUT (MOBILE-FIRST HUB)
   ========================================================================== */
.app-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 580px; /* Largura padrão editorial de luxo para biolinks */
  margin: 0 auto;
  padding: 24px 20px 100px 20px;
}

/* ==========================================================================
   BRAND HERO & IDENTIDADE
   ========================================================================== */
.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 24px 0;
}

.avatar-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.avatar-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--attis-pink), #ffffff, var(--attis-pink-deep));
  box-shadow: 0 8px 24px var(--attis-pink-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.avatar-ring:hover {
  transform: scale(1.04);
}

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

.verified-sparkle {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  color: var(--attis-pink);
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.verified-sparkle svg {
  width: 16px;
  height: 16px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.brand-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.badge-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--attis-pink);
  background: rgba(255, 102, 179, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.editorial-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   CUPOM INTERATIVO (BEMVINDA5)
   ========================================================================== */
.coupon-box {
  width: 100%;
  margin-top: 4px;
}

.coupon-card {
  background: linear-gradient(135deg, rgba(255, 102, 179, 0.1), rgba(20, 14, 19, 0.8));
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-card);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.coupon-card:hover {
  border-color: var(--attis-pink);
  box-shadow: 0 6px 22px var(--attis-pink-glow);
}

.coupon-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.coupon-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.coupon-code {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--attis-pink-light);
  letter-spacing: 0.08em;
}

.btn-copy-coupon {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 102, 179, 0.2);
  border: 1px solid var(--border-active);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy-coupon:hover, .btn-copy-coupon:active {
  background: var(--attis-pink);
  color: #0C0A0E;
}

.btn-copy-coupon.copied {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #000000 !important;
}

.copy-icon {
  width: 14px;
  height: 14px;
}

.coupon-hint {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ==========================================================================
   SHINY SWEEP GLOW (O EFEITO REFINADO DE ELITE)
   ========================================================================== */
.shiny-sweep {
  position: relative;
  overflow: hidden;
}

.shiny-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}

.shiny-sweep:hover::after,
.shiny-sweep:active::after {
  animation: sweepAnim 0.75s ease-out forwards;
}

@keyframes sweepAnim {
  0% { left: -80%; }
  100% { left: 160%; }
}

/* ==========================================================================
   CTA MASTER (COMPRAR NO SITE OFICIAL)
   ========================================================================== */
.cta-master-container {
  margin: 18px 0 28px 0;
  width: 100%;
}

.btn-master {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--attis-pink) 0%, var(--attis-pink-deep) 100%);
  color: #0E070B;
  text-decoration: none;
  border-radius: var(--radius-card);
  padding: 16px 20px;
  box-shadow: 0 8px 26px var(--attis-pink-glow), 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-master:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 102, 179, 0.5);
}

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

.btn-master .btn-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-master .btn-icon-left {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0E070B;
}

.btn-master .btn-icon-left svg {
  width: 22px;
  height: 22px;
}

.btn-master .btn-text-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
}

.btn-master .btn-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0C0A0E;
}

.btn-master .btn-subtitle {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(14, 7, 11, 0.82);
}

.btn-master .btn-icon-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0C0A0E;
}

.btn-master .btn-icon-arrow svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   VITRINE EDITORIAL SHOWCASE (ESTEIRA CONTÍNUA EM LOOP AUTOMÁTICO)
   ========================================================================== */
.editorial-showcase {
  margin-bottom: 32px;
  width: 100%;
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}

.showcase-header {
  text-align: left;
  margin-bottom: 14px;
  padding-left: 4px;
}

.showcase-pretitle {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--attis-pink);
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-pure);
}

.marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-card);
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  user-select: none;
}

.marquee-belt {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  padding-right: 14px !important;
  flex-shrink: 0 !important;
  animation: marqueeGlide 22s linear infinite !important;
  will-change: transform;
}

.marquee-viewport:hover .marquee-belt,
.marquee-viewport:active .marquee-belt {
  animation-play-state: paused !important;
}

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

.showcase-card {
  flex: 0 0 175px !important;
  width: 175px !important;
  min-width: 175px !important;
  max-width: 175px !important;
  height: 240px !important;
  display: block !important;
  text-decoration: none;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
}

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

.showcase-card:hover .showcase-img {
  transform: scale(1.06);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 8, 12, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  pointer-events: none;
}

.showcase-tag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--attis-pink-light);
  text-transform: uppercase;
}

.showcase-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-top: 2px;
}

/* ==========================================================================
   CATEGORIAS REAIS EM DESTAQUE (BENTO LINKS)
   ========================================================================== */
.quick-categories {
  margin-bottom: 28px;
  width: 100%;
}

.section-label {
  text-align: left;
  margin-bottom: 12px;
  padding-left: 4px;
}

.section-label span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.category-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--text-pure);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  min-height: 58px;
}

.category-tile:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 179, 0.18);
}

.category-tile:active {
  transform: scale(0.98);
}

.tile-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 102, 179, 0.12);
  color: var(--attis-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.tile-icon svg {
  width: 18px;
  height: 18px;
}

.tile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex-grow: 1;
}

.tile-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.tile-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tile-arrow {
  font-size: 1.1rem;
  color: var(--attis-pink-light);
  font-weight: 700;
  margin-left: 8px;
}

/* Tile de Promoção */
.promo-tile {
  background: linear-gradient(135deg, rgba(216, 38, 126, 0.2), rgba(26, 18, 24, 0.8));
  border-color: rgba(255, 102, 179, 0.35);
}

.promo-tile .tile-icon {
  background: rgba(255, 102, 179, 0.25);
}

.tile-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0A080C;
  background: var(--attis-pink);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   SUPORTE VIP WHATSAPP
   ========================================================================== */
.support-strip {
  margin-bottom: 24px;
  width: 100%;
}

.btn-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(26, 18, 24, 0.85));
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: #FFFFFF;
  transition: var(--transition-smooth);
  min-height: 56px;
}

.btn-support:hover {
  border-color: #25D366;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
}

.support-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.18);
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.support-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.support-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex-grow: 1;
}

.support-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.support-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.support-arrow {
  color: #25D366;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================================================
   CANAIS SECUNDÁRIOS (INSTAGRAM, SPOTIFY, TROCAS)
   ========================================================================== */
.secondary-channels {
  margin-bottom: 28px;
  width: 100%;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  min-height: 72px;
}

.channel-card:hover {
  border-color: var(--attis-pink);
  color: #FFFFFF;
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

.channel-svg {
  width: 20px;
  height: 20px;
  color: var(--attis-pink-light);
  margin-bottom: 6px;
}

.channel-name {
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   FOOTER & BENEFÍCIOS OFICIAIS
   ========================================================================== */
.brand-footer {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefits-cluster {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.benefit-icon {
  color: var(--attis-pink);
  display: flex;
  align-items: center;
}

.benefit-icon svg {
  width: 16px;
  height: 16px;
}

.footer-legal {
  font-size: 0.7rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==========================================================================
   STICKY BAR FLUTUANTE (MOBILE ACTION)
   ========================================================================== */
.floating-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: rgba(10, 8, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.floating-sticky-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-floating-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 540px;
  background: var(--attis-pink);
  color: #0A080C;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px var(--attis-pink-glow);
  transition: var(--transition-smooth);
}

.btn-floating-cta:active {
  transform: scale(0.97);
}

.cta-mini-arrow {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   RESPONSIVIDADE & REDUCED MOTION
   ========================================================================== */
@media (max-width: 360px) {
  .app-layout {
    padding: 18px 14px 90px 14px;
  }
  .brand-name {
    font-size: 1.7rem;
  }
  .channels-grid {
    gap: 6px;
  }
  .channel-name {
    font-size: 0.65rem;
  }
}

@media (min-width: 768px) {
  .app-layout {
    padding-top: 40px;
  }
  .showcase-card {
    flex: 0 0 210px;
    width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .shiny-sweep::after {
    display: none !important;
  }
  .marquee-belt {
    animation: none !important;
  }
  .marquee-viewport {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
  }
}

/* ==========================================================================
   GARANTIA INCONDICIONAL DE VISIBILIDADE & CARREGAMENTO MOBILE
   ========================================================================== */
.coupon-box,
.coupon-card,
.cta-master-container,
.btn-master,
.quick-categories,
.categories-grid,
.category-tile,
.support-strip,
.btn-support,
.secondary-channels,
.channels-grid,
.channel-card,
.brand-footer,
.benefits-cluster {
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-master {
  display: block !important;
}

.categories-grid {
  display: flex !important;
}

.channels-grid {
  display: grid !important;
}
