/* ============================================
   VIVI CUPCAKES — Landing Page v1.0
   Estilos específicos da landing (importa DS)
   ============================================ */

/* --- UTILITY CLASSES (Tailwind CDN replacement) --- */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-3 { gap: 0.75rem; }
.gap-5 { gap: 1.25rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.max-w-xs { max-width: 20rem; }
.rounded-full { border-radius: 9999px; }
.opacity-80 { opacity: 0.8; }
.font-display { font-family: var(--font-display); }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-rosa-light { color: var(--vivi-rosa-light); }
.text-marrom-light { color: var(--vivi-marrom-light); }
.text-marrom-lighter { color: var(--vivi-marrom-lighter); }
.bg-marrom-dark { background-color: var(--vivi-marrom-dark); }
.transition-colors { transition: color 0.25s, background-color 0.25s; }
.hover\:text-rosa:hover { color: var(--vivi-rosa); }
.border-marrom-light\/20 { border-color: rgba(139, 112, 114, 0.2); border-style: solid; }

@media (min-width: 1024px) {
  .lg\:justify-start { justify-content: flex-start; }
}

/* --- INLINE STYLE REPLACEMENTS --- */
.lp-nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  gap: 0.375rem;
}

.lp-hero-subtitle {
  color: var(--vivi-marrom-light);
  max-width: 480px;
}

.lp-slider-label {
  color: var(--vivi-rosa);
  margin-bottom: 0.25rem;
}

.lp-slider-title {
  font-size: 1.125rem;
}

.lp-catalog-intro {
  color: var(--vivi-marrom-light);
  max-width: 560px;
  margin-top: 1rem;
}

.lp-scroll-hint-full {
  grid-column: 1 / -1;
}

.lp-badge-dot {
  background: var(--vivi-verde);
}

.lp-copyright {
  color: rgba(139, 112, 114, 0.5);
}

/* --- SKIP NAVIGATION --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--vivi-rosa);
  color: var(--vivi-white);
  border-radius: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* --- HERO LAYOUT --- */
.lp-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  padding: 7rem var(--section-px) 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .lp-hero {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    padding: 0 var(--section-px);
    min-height: 100vh;
  }

  .lp-hero-text {
    padding: 8rem 0 4rem;
  }
}

.lp-hero-text {
  position: relative;
  z-index: 10;
}

@media (max-width: 1023px) {
  .lp-hero-text {
    text-align: center;
  }
}

/* --- HERO IMAGE --- */
.lp-hero-image-wrap {
  position: relative;
  z-index: 10;
}

.lp-hero-image {
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 30px 80px var(--vivi-rosa-glow),
    0 0 0 1px rgba(242, 114, 140, 0.08);
  animation: lp-hero-float 10s ease-in-out infinite;
  will-change: transform;
}

.lp-hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .lp-hero-image img {
    max-height: 75vh;
  }
}

.lp-hero-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(87, 55, 58, 0.12), transparent);
  pointer-events: none;
}

@keyframes lp-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Glow ring behind image */
.lp-hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 2rem;
  background: radial-gradient(ellipse at center, var(--vivi-rosa-glow), transparent 70%);
  z-index: -1;
  animation: glow-box 4s ease-in-out infinite;
  opacity: 0.5;
  will-change: transform, opacity;
}

/* --- HERO TITLE --- */
.lp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  color: var(--vivi-marrom);
  line-height: 1;
  margin-bottom: 1.25rem;
  position: relative;
}

/* --- DEADLINE BADGE --- */
.lp-deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  background: var(--vivi-rosa-lighter);
  color: var(--vivi-rosa-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 0 20px rgba(242, 114, 140, 0.15);
  animation: lp-deadline-glow 3s ease-in-out infinite;
}

@keyframes lp-deadline-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(242, 114, 140, 0.15); }
  50% { box-shadow: 0 0 30px rgba(242, 114, 140, 0.3), 0 0 50px rgba(242, 114, 140, 0.1); }
}

/* --- PRODUCT SLIDER --- */
.lp-slider-section {
  position: relative;
  z-index: 10;
  padding: 2rem 0 1.5rem;
  background: var(--vivi-white);
  border-top: 1px solid var(--vivi-cinza-lighter);
}

.lp-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-px);
  margin-bottom: 1rem;
}

.lp-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.25rem;
  padding: 0.5rem var(--section-px) 1.5rem;
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  scrollbar-width: none;
}

.lp-slider::-webkit-scrollbar { display: none; }

.lp-slider-card {
  flex-shrink: 0;
  width: 155px;
  scroll-snap-align: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease-smooth);
}

@media (min-width: 768px) {
  .lp-slider-card { width: 190px; }
}

.lp-slider-card:hover {
  transform: translateY(-4px) scale(1.03);
}

.lp-slider-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 6px 20px rgba(87, 55, 58, 0.08);
  transition: box-shadow 0.35s, transform 0.35s;
}

.lp-slider-card:hover .lp-slider-img {
  box-shadow: 0 12px 35px var(--vivi-rosa-glow);
}

.lp-slider-name {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--vivi-marrom);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.lp-slider-price {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--vivi-rosa);
}

.lp-slider-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: var(--vivi-verde-light);
  color: var(--vivi-verde-dark);
  margin-top: 0.375rem;
}

/* Slider Arrows */
.lp-slider-nav {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.lp-slider-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--vivi-cinza-lighter);
  background: var(--vivi-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  color: var(--vivi-marrom-light);
  padding: 0;
}

.lp-slider-arrow:hover {
  border-color: var(--vivi-rosa);
  color: var(--vivi-rosa);
  background: var(--vivi-rosa-lighter);
}

/* --- MINI PRODUCT CIRCLES (hero accent) --- */
.lp-hero-mini-products {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 1023px) {
  .lp-hero-mini-products {
    justify-content: center;
  }
}

.lp-hero-mini-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vivi-white);
  box-shadow: 0 4px 12px rgba(87, 55, 58, 0.1);
  transition: transform 0.3s;
}

.lp-hero-mini-img:hover {
  transform: scale(1.15);
}

.lp-hero-mini-products picture:not(:first-child) {
  margin-left: -0.5rem;
}

.lp-hero-mini-text {
  font-size: 0.75rem;
  color: var(--vivi-marrom-light);
  font-weight: 500;
}

.lp-hero-mini-text strong {
  color: var(--vivi-rosa);
  font-weight: 700;
}

/* --- BACKGROUND DECORATIONS --- */
.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    var(--vivi-cream) 0%,
    var(--vivi-rosa-lighter) 30%,
    var(--vivi-cream) 55%,
    var(--vivi-rosa-light) 85%,
    var(--vivi-cream) 100%
  );
  background-size: 400% 400%;
  animation: hero-gradient 14s ease-in-out infinite;
}

/* Arabesco reposicionado */
.lp-arabesco {
  position: absolute;
  z-index: 1;
  opacity: 0.05;
  pointer-events: none;
  color: var(--vivi-marrom);
}

.lp-arabesco.top-right {
  top: -40px; right: -40px;
}

.lp-arabesco.bottom-left {
  bottom: -60px; left: -60px;
  transform: rotate(180deg);
}

/* ============================================
   CATALOG SECTION
   ============================================ */

.lp-catalog {
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* Product Card — Full Screen */
.lp-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  align-content: center;
  padding: 4rem var(--section-px);
  position: relative;
  transition: box-shadow 1.2s ease-out;
}

.lp-product:nth-child(even) {
  background: var(--vivi-cream-dark);
}

@media (min-width: 1024px) {
  .lp-product {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem var(--section-px);
    max-width: var(--container-max);
    margin: 0 auto;
  }

  .lp-product-reverse .lp-product-img-wrap {
    order: 2;
  }

  .lp-product-reverse .lp-product-body {
    order: 1;
  }
}

/* Product Image */
.lp-product-img-wrap {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 50px rgba(87, 55, 58, 0.1);
  transition: box-shadow 0.5s var(--ease-smooth);
}

.lp-product:hover .lp-product-img-wrap {
  box-shadow: 0 20px 60px var(--vivi-rosa-glow);
}

.lp-product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-smooth);
}

.lp-product:hover .lp-product-img {
  transform: scale(1.03);
}

/* Product Body */
.lp-product-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

@media (min-width: 1024px) {
  .lp-product-body {
    padding: 1.5rem 0;
  }
}

.lp-product-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--vivi-marrom);
  line-height: 1.1;
}

.lp-product-desc {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--vivi-marrom-light);
  line-height: 1.7;
  max-width: 520px;
}

.lp-product-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.lp-product-price {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vivi-rosa);
  letter-spacing: -0.02em;
}

.lp-product-detail {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--vivi-cinza-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
}

/* Product Highlight (from slider click) */
/* ============================================
   VIDEO CTA SECTION
   ============================================ */

.lp-video-cta {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vivi-marrom-dark);
}

.lp-video-cta video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.lp-video-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 37, 40, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Card container */
.lp-video-card {
  position: relative;
  z-index: 10;
  cursor: default;
}

/* Glow behind card */
.lp-video-card-glow {
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--vivi-rosa-light), var(--vivi-rosa));
  border-radius: 1.25rem;
  filter: blur(15px);
  opacity: 0.15;
  transition: opacity 1s ease;
}

.lp-video-card:hover .lp-video-card-glow {
  opacity: 0.6;
  transition-duration: 0.3s;
}

/* Rotating beam */
.lp-video-card-beam {
  position: absolute;
  inset: -2px;
  border-radius: 1.25rem;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}

.lp-video-card:hover .lp-video-card-beam {
  opacity: 1;
}

.lp-video-card-beam::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, var(--vivi-rosa) 360deg);
  animation: glow-spin 6s linear infinite;
}

/* Card inner */
.lp-video-card-inner {
  position: relative;
  padding: 3.5rem 3rem;
  background: rgba(61, 37, 40, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.lp-video-card-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px var(--vivi-rosa-glow);
}

.lp-video-card-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--vivi-white);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.lp-video-card-divider {
  width: 3rem;
  height: 1px;
  background: var(--vivi-rosa-light);
  border: none;
  margin: 1rem 0;
}

.lp-video-card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vivi-rosa-light);
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .lp-video-card-inner {
    padding: 2.5rem 2rem;
    margin: 0 1rem;
  }
}

@keyframes product-highlight {
  0% { box-shadow: 0 0 0 0 var(--vivi-rosa-glow); }
  40% { box-shadow: 0 0 40px 8px var(--vivi-rosa-glow), inset 0 0 0 2px var(--vivi-rosa-light); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.product-highlight {
  animation: product-highlight 1.4s ease-out;
}
