/* ================= RESET & CONFIG ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #FAFAFA;
  --black: #000000;
  --orange: #FF5500;
  --pink: #F3D5E8;
  --yellow: #FDE047;
  --green: #10B981;
  --wpp: #128C7E;
  --tg: #0284C7;
  
  --border: 2.5px solid #000000;
  --shadow-sm: 3px 3px 0px #000000;
  --shadow-md: 5px 5px 0px #000000;
  --shadow-lg: 8px 8px 0px #000000;
  --shadow-active: 1px 1px 0px #000000;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--black);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fundo Milimetrado */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
  pointer-events: none;
}

/* ================= LOJAS SE MOVENDO NO FUNDO ================= */
.marquee-container {
  position: absolute;
  top: 18%;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(-2deg);
}

.marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: scroll 26s linear infinite;
}

.store-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  text-transform: uppercase;
  padding: 4px 18px;
  border: 2.5px dashed #000;
  border-radius: 8px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= ESTRUTURA GERAL ================= */
.page-layout {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ================= HEADER ================= */
.navbar {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.nav-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-live .dot {
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.pill-badge-top {
  background: var(--yellow);
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* ================= GRID PRINCIPAL (DESKTOP) ================= */
.hero-section {
  width: 100%;
  padding: 20px 32px 50px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

/* COLUNA ESQUERDA */
.hero-content {
  display: flex;
  flex-direction: column;
}

.tag-workspace {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: var(--border);
  box-shadow: 2px 2px 0px #000;
  padding: 6px 14px;
  background: #FFF;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.tag-workspace svg {
  width: 14px;
  height: 14px;
  fill: #000;
}

.main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.desc {
  font-size: 1.12rem;
  line-height: 1.5;
  color: #222;
  max-width: 520px;
  margin-bottom: 28px;
}

/* BOTÕES DE APONTAMENTO */
.buttons-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin-bottom: 26px;
}

.btn-brutal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: var(--border);
  box-shadow: var(--shadow-md);
  padding: 16px 22px;
  border-radius: 12px;
  text-decoration: none;
  color: #FFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.btn-brutal:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-brutal:active {
  box-shadow: var(--shadow-active);
  transform: translate(2px, 2px);
}

.btn-wpp {
  background-color: var(--wpp);
}

.btn-tg {
  background-color: var(--tg);
}

.btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon {
  width: 26px;
  height: 26px;
  fill: #FFF;
}

.badge-sub {
  font-size: 0.72rem;
  background: #000;
  color: #FFF;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* FAIXA DE BENEFÍCIOS */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  max-width: 520px;
  margin-bottom: 16px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111;
}

.trust-item svg {
  width: 17px;
  height: 17px;
  fill: #000;
  flex-shrink: 0;
}

/* BLOCO DE LOJAS (USADO NO MOBILE) */
.mobile-stores-card {
  display: none; 
}

/* ================= COLUNA DIREITA (DESKTOP): OFERTA + ARTE ================= */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}

.graphic-grid {
  position: absolute;
  top: 10px;
  right: 15px;
  display: grid;
  grid-template-columns: repeat(4, 46px);
  grid-template-rows: repeat(2, 46px);
  z-index: 1;
}

.grid-cell {
  border: 1.5px solid #000;
  background: #FFF;
}

.grid-cell.colored {
  background: var(--pink);
}

.rotating-badge {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 100px;
  height: 100px;
  z-index: 4;
  animation: rotate 18s linear infinite;
}

.rotating-badge svg {
  width: 100%;
  height: 100%;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sparkle {
  position: absolute;
  width: 22px;
  height: 22px;
  fill: #000;
  z-index: 4;
}
.sp-1 { top: 0px; right: 20px; }
.sp-2 { bottom: 10px; left: 15px; }

/* CARD DE OFERTA REAL NO PC */
.deal-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 390px;
  background: #FFF;
  border: var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease;
}

.deal-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.deal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.deal-status {
  font-size: 0.72rem;
  font-weight: 800;
  color: #047857;
  background: #D1FAE5;
  border: 1px solid #10B981;
  padding: 3px 8px;
  border-radius: 6px;
}

.deal-store {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #000;
}

.deal-tag-pill {
  display: inline-block;
  background: var(--orange);
  color: #FFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 4px 10px;
  border: 2px solid #000;
  border-radius: 6px;
  box-shadow: 2px 2px 0px #000;
  margin-bottom: 8px;
}

.deal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.deal-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.price-old {
  font-size: 0.88rem;
  text-decoration: line-through;
  color: #666;
}

.price-new {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: #000;
}

.deal-coupon {
  background: #F4F4F5;
  border: 1.5px dashed #000;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.deal-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1.5px solid #EEE;
  padding-top: 10px;
  font-size: 0.72rem;
  color: #666;
  font-weight: 600;
}

/* Pílula Original */
.promo-pill {
  position: relative;
  z-index: 3;
  background: var(--pink);
  border: var(--border);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 10px 24px 10px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: center;
}

.pill-circle {
  width: 48px;
  height: 48px;
  background-color: var(--orange);
  border: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 2px 2px 0px #000;
}

.pill-circle svg {
  width: 24px;
  height: 24px;
  fill: #FFF;
}

.soundbars {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
}

.bar {
  width: 3.5px;
  background-color: #000;
  border-radius: 4px;
}

.bar:nth-child(1) { height: 18px; }
.bar:nth-child(2) { height: 30px; }
.bar:nth-child(3) { height: 12px; }
.bar:nth-child(4) { height: 26px; }
.bar:nth-child(5) { height: 10px; }
.bar:nth-child(6) { height: 22px; }


/* ================= NO CELULAR (MOBILE): PREENCHE TUDO ================= */
@media (max-width: 960px) {
  
  .page-layout {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 12px;
  }

  .navbar {
    padding: 14px 18px 8px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .status-live {
    display: none;
  }

  .hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 18px 10px;
    gap: 0;
  }

  /* ESCONDE A OFERTA NO CELULAR */
  .hero-showcase {
    display: none !important;
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
  }

  .tag-workspace {
    font-size: 0.68rem;
    padding: 4px 8px;
    margin-bottom: 10px;
  }

  .main-title {
    font-size: clamp(2.2rem, 10vw, 2.7rem);
    line-height: 0.98;
    margin-bottom: 10px;
  }

  .desc {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  /* BOTÕES GRANDES E VISÍVEIS */
  .buttons-group {
    width: 100%;
    max-width: 100%;
    gap: 12px;
    margin-bottom: 18px;
  }

  .btn-brutal {
    width: 100%;
    padding: 16px 18px;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
  }

  /* BLOCO INFERIOR QUE PREENCHE O RESTO DA TELA */
  .hero-bottom-block {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .trust-strip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
  }

  .trust-item {
    font-size: 0.78rem;
  }

  /* CARD DAS LOJAS NO FINAL DA TELA DO CELULAR */
  .mobile-stores-card {
    display: block;
    background: #FFF;
    border: 2px solid #000;
    box-shadow: 2px 2px 0px #000;
    border-radius: 10px;
    padding: 10px 12px;
  }

  .stores-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 6px;
  }

  .stores-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .stores-pill-list span {
    font-size: 0.72rem;
    font-weight: 700;
    background: #F4F4F5;
    border: 1px solid #DDD;
    padding: 3px 8px;
    border-radius: 6px;
  }
}