/*======================================================================
# INDEX.CSS - Estilos Página Inicial (VERSÃO NOVA)
# Carrossel suave + Imagens corretas
======================================================================*/
/* Forçar todas as páginas a começarem no topo */
html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
}

/* Prevenir scroll restoration do navegador */
html {
  scroll-padding-top: 0;
}

* {
  scroll-margin-top: 0;
}
/*======================================================================
# SEÇÃO DE BENEFÍCIOS - MODERNA
======================================================================*/
.benefits-section-modern {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fafc 0%, #e6f7f8 100%);
  position: relative;
  overflow: hidden;
}

.benefits-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(106, 197, 202, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/*--------------------------------------------------------------
# Grid Desktop
--------------------------------------------------------------*/
.benefits-grid-desktop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.benefit-card {
  position: relative;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card-inner {
  background: rgba(255, 255, 255, 0.95);
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(106, 197, 202, 0.15);
  border: 2px solid rgba(106, 197, 202, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.benefit-card-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(106, 197, 202, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.benefit-card:hover .benefit-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(106, 197, 202, 0.25);
  border-color: rgba(106, 197, 202, 0.3);
}

.benefit-card:hover .benefit-card-inner::before {
  left: 100%;
}

.benefit-icon-modern {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(106, 197, 202, 0.4);
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.icon-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card:hover .icon-glow {
  opacity: 0.7;
}

.benefit-card:hover .benefit-icon-modern {
  transform: scale(1.1) rotate(10deg);
}

.benefit-icon-modern i {
  font-size: 32px;
  color: white;
  z-index: 2;
  position: relative;
  transition: transform 0.4s ease;
}

.benefit-card:hover .benefit-icon-modern i {
  transform: scale(1.1);
}

.benefit-content-modern {
  text-align: center;
}

.benefit-title-modern {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px 0;
  font-family: var(--heading-font);
  transition: color 0.3s ease;
}

.benefit-card:hover .benefit-title-modern {
  color: var(--primary-dark);
}

.benefit-desc-modern {
  font-size: 14px;
  color: var(--light-text);
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

/*--------------------------------------------------------------
# Carrossel Mobile - Touch Friendly
--------------------------------------------------------------*/
.benefits-carousel-mobile {
  display: none;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 20px 0 50px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}

.carousel-track.grabbing {
  cursor: grabbing;
  transition: none;
}

.benefit-slide {
  flex: 0 0 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-slide .benefit-card-inner {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(106, 197, 202, 0.15);
  border: 2px solid rgba(106, 197, 202, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 200px;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.benefit-slide .benefit-icon-modern {
  position: relative;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(106, 197, 202, 0.4);
  transition: all 0.4s ease;
  flex-shrink: 0;
  margin: 0 auto;
}

.benefit-slide .benefit-icon-modern i {
  font-size: 36px;
  color: white;
  z-index: 2;
  position: relative;
}

.benefit-slide .benefit-content-modern {
  text-align: center;
  width: 100%;
}

.benefit-slide .benefit-title-modern {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px 0;
  font-family: var(--heading-font);
  text-align: center;
}

.benefit-slide .benefit-desc-modern {
  font-size: 15px;
  color: var(--light-text);
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/*--------------------------------------------------------------
# Indicadores
--------------------------------------------------------------*/
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(106, 197, 202, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(106, 197, 202, 0.5);
}

.indicator:hover:not(.active) {
  background: rgba(106, 197, 202, 0.6);
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Responsividade
--------------------------------------------------------------*/
@media (max-width: 1200px) {
  .benefits-grid-desktop {
    gap: 25px;
  }
  
  .benefit-card-inner {
    padding: 30px 20px;
  }
  
  .benefit-icon-modern {
    width: 70px;
    height: 70px;
  }
  
  .benefit-icon-modern i {
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .benefits-grid-desktop {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .benefits-section-modern {
    padding: 60px 0;
  }
  
  .benefits-grid-desktop {
    display: none !important;
  }
  
  .benefits-carousel-mobile {
    display: block !important;
  }
  
  .benefit-slide {
    padding: 0 15px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .benefit-slide .benefit-card-inner {
    padding: 40px 25px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .benefit-title-modern {
    font-size: 20px;
    text-align: center !important;
    width: 100%;
  }
  
  .benefit-desc-modern {
    font-size: 15px;
    text-align: center !important;
    width: 100%;
  }
  
  .benefit-slide .benefit-icon-modern {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .benefit-slide .benefit-icon-modern i {
    font-size: 36px;
  }
  
  .benefit-slide .benefit-content-modern {
    width: 100%;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .benefits-section-modern {
    padding: 50px 0;
  }
  
  .benefit-slide {
    padding: 0 10px;
  }
  
  .benefit-slide .benefit-card-inner {
    padding: 35px 20px;
    min-height: 180px;
  }
  
  .benefit-slide .benefit-icon-modern {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 10px auto !important;
  }
  
  .benefit-slide .benefit-icon-modern i {
    font-size: 32px;
  }
  
  .benefit-title-modern {
    font-size: 18px;
    text-align: center !important;
  }
  
  .benefit-desc-modern {
    font-size: 14px;
    text-align: center !important;
  }
}

@media (max-width: 400px) {
  .benefit-slide .benefit-card-inner {
    padding: 30px 15px;
    min-height: 160px;
  }
  
  .benefit-slide .benefit-icon-modern {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 10px auto !important;
  }
  
  .benefit-slide .benefit-icon-modern i {
    font-size: 28px;
  }
  
  .benefit-title-modern {
    font-size: 16px;
    text-align: center !important;
  }
  
  .benefit-desc-modern {
    font-size: 13px;
    text-align: center !important;
  }
}

/*======================================================================
# SEÇÃO NOVIDADES MÁGICAS
======================================================================*/
.magic-novelties-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0fafc, #e6f7f8);
  position: relative;
  overflow: hidden;
}

.magic-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.magic-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffd700, #ffc107);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-icon {
  font-size: 18px;
}

.magic-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 30px;
  font-family: var(--heading-font);
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-color);
}

.title-word {
  position: relative;
  transition: all 0.3s ease;
}

.title-word:hover {
  transform: scale(1.05);
  color: var(--primary-color);
}

.magic-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}

.separator-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 10px;
}

.separator-crystal {
  margin: 0 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(106, 197, 202, 0.3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(106, 197, 202, 0.3);
}

.crystal-inner {
  font-size: 24px;
}

.magic-subtitle {
  font-size: 1.3rem;
  color: var(--light-text);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Grid de Cards
--------------------------------------------------------------*/
.magic-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.magic-card {
  position: relative;
  height: 550px;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.magic-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.7);
}

.magic-card:hover .bg-image {
  transform: scale(1.1);
  filter: brightness(0.9);
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
}

/* Overlays específicos por categoria */
.magic-card[data-category="meninos"] .bg-overlay {
  background: linear-gradient(135deg, rgba(74, 172, 254, 0.6) 0%, rgba(0, 242, 254, 0.3) 50%, rgba(102, 126, 234, 0.8) 100%);
}

.magic-card[data-category="meninas"] .bg-overlay {
  background: linear-gradient(135deg, rgba(255, 154, 158, 0.6) 0%, rgba(254, 207, 239, 0.3) 50%, rgba(240, 147, 251, 0.8) 100%);
}

.magic-card[data-category="acessorios"] .bg-overlay {
  background: linear-gradient(135deg, rgba(255, 216, 155, 0.6) 0%, rgba(252, 182, 159, 0.3) 50%, rgba(255, 144, 104, 0.8) 100%);
}

.magic-card[data-category="brinquedos"] .bg-overlay {
  background: linear-gradient(135deg, rgba(168, 237, 234, 0.6) 0%, rgba(132, 250, 176, 0.3) 50%, rgba(116, 185, 255, 0.8) 100%);
}

.card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.category-icon {
  position: relative;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.magic-card:hover .category-icon {
  transform: scale(1.15);
}

/* Cores específicas dos ícones */
.magic-card[data-category="meninos"] .category-icon {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.magic-card[data-category="meninas"] .category-icon {
  background: linear-gradient(135deg, #ff9a9e, #f093fb);
}

.magic-card[data-category="acessorios"] .category-icon {
  background: linear-gradient(135deg, #ffd89b, #fcb69f);
}

.magic-card[data-category="brinquedos"] .category-icon {
  background: linear-gradient(135deg, #a8edea, #84fab0);
}

.category-icon i {
  font-size: 32px;
  color: white;
  z-index: 2;
}

.magic-card[data-category="acessorios"] .category-icon i,
.magic-card[data-category="brinquedos"] .category-icon i {
  color: var(--text-color);
}

.card-number {
  font-size: 80px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--heading-font);
  line-height: 1;
  text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}

.card-info {
  flex: 1;
  text-align: center;
  color: white;
}

.category-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  font-family: var(--heading-font);
  text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.7);
}

.card-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.card-action {
  margin-top: auto;
}

.magic-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 18px 35px;
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 100%;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  transition: left 0.5s ease;
  z-index: 1;
}

.magic-button:hover .btn-bg {
  left: 0;
}

.magic-button:hover {
  color: var(--text-color);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-text {
  position: relative;
  z-index: 3;
}

.btn-arrow {
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.magic-button:hover .btn-arrow {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Footer Mágico
--------------------------------------------------------------*/
.magic-footer {
  text-align: center;
  margin-top: 60px;
}

.footer-decoration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.magic-heart {
  position: relative;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(255, 107, 107, 0.4);
}

.heart-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(238, 90, 36, 0.3));
  filter: blur(15px);
}

.magic-heart i {
  color: white;
  font-size: 40px;
  z-index: 2;
  position: relative;
}

.footer-text p {
  font-size: 1.4rem;
  color: var(--light-text);
  font-weight: 600;
  margin: 0;
}

/*======================================================================
# RESPONSIVIDADE
======================================================================*/

/* Desktop grande */
@media (max-width: 1400px) {
  .magic-cards-grid {
    gap: 25px;
  }
  
  .magic-card {
    height: 520px;
  }
}

/* Desktop médio */
@media (max-width: 1200px) {
  .benefits-row {
    gap: 25px;
  }
  
  .magic-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .magic-title {
    font-size: 3.5rem;
  }
}

/* Tablet grande */
@media (max-width: 900px) {
  .magic-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .magic-title {
    font-size: 3rem;
  }
  
  .magic-card {
    height: 500px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .benefits-section {
    padding: 50px 0;
  }
  
  .benefits-row {
    display: none;
  }
  
  .mobile-carousel-container {
    display: block;
  }
  
  .magic-novelties-section {
    padding: 80px 0;
  }
  
  .magic-header {
    margin-bottom: 60px;
  }
  
  .magic-title {
    font-size: 2.5rem;
    gap: 15px;
  }
  
  .magic-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 60px;
  }
  
  .magic-card {
    height: 380px;
  }
  
  .category-icon {
    width: 50px;
    height: 50px;
  }
  
  .category-icon i {
    font-size: 22px;
  }
  
  .card-number {
    font-size: 50px;
  }
  
  .card-title {
    font-size: 1.6rem;
  }
  
  .magic-heart {
    width: 80px;
    height: 80px;
  }
  
  .magic-heart i {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .magic-novelties-section {
    padding: 60px 0;
  }
  
  .magic-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .magic-card {
    height: 340px;
  }
  
  .card-content {
    padding: 20px 15px;
  }
  
  .category-icon {
    width: 45px;
    height: 45px;
  }
  
  .category-icon i {
    font-size: 20px;
  }
  
  .card-number {
    font-size: 40px;
  }
  
  .card-title {
    font-size: 1.4rem;
  }
  
  .card-description {
    font-size: 13px;
    margin-bottom: 20px;
  }
  
  .magic-button {
    padding: 12px 20px;
    font-size: 12px;
    gap: 8px;
  }
  
  .footer-text p {
    font-size: 1.1rem;
  }
  
  .mobile-carousel-container {
    height: 120px;
  }
  
  .mobile-carousel .benefit-item {
    flex: 0 0 240px;
    margin-right: 12px;
    padding: 18px 15px;
  }
}

/* Mobile pequeno */
@media (max-width: 400px) {
  .magic-card {
    height: 320px;
  }
  
  .card-content {
    padding: 18px 12px;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .card-description {
    font-size: 12px;
  }
  
  .magic-button {
    padding: 12px 20px;
    font-size: 12px;
    gap: 8px;
  }
  
  .mobile-carousel-container {
    height: 110px;
  }
  
  .mobile-carousel .benefit-item {
    flex: 0 0 220px;
    margin-right: 10px;
    padding: 15px 12px;
  }
}