@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
    
/* ====== VARIÁVEIS CSS ====== */
:root {
  /* Cores principais */
  --lavender-mist: #f4effaff;
  --dark-amethyst: #2f184bff;
  --indigo-velvet: #532b88ff;
  --lavender-purple: #9b72cfff;
  --wisteria: rgb(138, 108, 175);
  
  /* Cores derivadas para melhor contraste */
  --text-primary: var(--dark-amethyst);
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-muted2: rgb(52, 16, 94);
  --border-light: #e2e8f0;
  --accent-primary: var(--indigo-velvet);
  --accent-secondary: var(--lavender-purple);
  --background-primary: var(--lavender-mist);
  --background-secondary: #ffffff;
}

/* ====== ESTILOS GLOBAIS ====== */
body {
  font-family: "Raleway", sans-serif;
  color: var(--text-primary);
  background: var(--background-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ====== BARRA PROMOCIONAL ====== */
.promo-bar {
  background: linear-gradient(135deg, var(--dark-amethyst), var(--indigo-velvet));
  color: var(--lavender-mist);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}


/* ====== CABEÇALHO PRINCIPAL ====== */
header {
  background: var(--background-secondary);
  border-bottom: 1px solid var(--wisteria);
}

.logo {
  font-weight: 700;
  color: var(--dark-amethyst) !important;
}

/* Barra de pesquisa */
.input-group {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--wisteria);
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(83, 43, 136, 0.1);
}

.input-group-text {
  background: var(--background-secondary);
  border: none;
  color: var(--text-muted);
}

.form-control {
  border: none;
  background: var(--background-secondary);
  padding: 8px;
  margin: 1px;
}

.form-control:focus {
  box-shadow: none;
  background: var(--background-secondary);
}

/* Ícones do cabeçalho */
.header-icon {
  cursor: pointer;
  transition: transform 0.2s ease;
  color: var(--dark-amethyst);
}

.header-icon:hover {
  transform: scale(1.1);
  color: var(--indigo-velvet);
}

.badge {
  background: var(--accent-primary) !important;
  font-size: 0.7rem;
}

/* ====== NAVEGAÇÃO ====== */
nav {
  background: var(--background-secondary);
  border-bottom: 1px solid var(--wisteria);
}

nav a {
  color: var(--text-primary) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--accent-primary) !important;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ====== SEÇÃO HERO ====== */
.hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lavender-mist) 0%, var(--wisteria) 100%);
}

.hero-content {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-content p {
  color: #14001b;
  margin-top: 10px;
  text-align: center;
}

.hero-image img {
  height: 100%;
  object-fit: contain;
}

.hero-left,
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* ====== BOTÕES ====== */
.btn-dark {
  background: var(--accent-primary) !important;
  border: 1px solid var(--accent-primary) !important;
  color: white;
  font-weight: 500;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-inscrever {
  background: #6A0DAD;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.btn-inscrever:hover {
  background: #500586;
  color: #fff;
  font-weight: 600;
}

.btn-dark:hover {
  background: var(--lavender-purple) !important;
  border-color: var(--lavender-purple) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 114, 207, 0.3);
}

.btn-outline-dark {
  border: 1px solid var(--accent-primary) !important;
  color: var(--accent-primary) !important;
  background: transparent;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background: var(--accent-primary) !important;
  color: white !important;
  transform: translateY(-2px);
}

/* ====== SEÇÃO DE CATEGORIAS ====== */
.category-card {
  background: var(--background-secondary);
  border-radius: 12px;
  border: 1px solid var(--wisteria);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card:hover {
  background: var(--lavender-purple);
  border-color: var(--lavender-purple);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(155, 114, 207, 0.2);
}

.category-card:hover .fw-semibold {
  color: white;
}

.category-card .fw-semibold {
  color: var(--dark-amethyst);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ====== CARDS DE PRODUTO ====== */
.product-card {
  background: var(--background-secondary);
  border-radius: 12px;
  border: 1px solid var(--wisteria);
  padding: 12px;
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(155, 114, 207, 0.15);
  border-color: var(--lavender-purple);
}

.product-image {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-name {
  font-weight: 600;
  color: var(--dark-amethyst);
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-price {
  font-weight: 700;
  color: var(--dark-amethyst);
  font-size: 1.1rem;
}

.product-old-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.sale-badge {
  background: var(--accent-primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* ====== CARDS PROMOCIONAIS ====== */
.promo-wrapper {
  width: 100%;
}

.promo-img-wrapper {
  width: 400px;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--wisteria);
}

.promo-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 25%,
    black 75%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 25%,
    black 75%,
    transparent 100%
  );
}

.promo-content {
  position: relative;
  z-index: 1;
  max-width: 50%;
  color: white;
}

.promo-card {
  background: var(--lavender-purple);
  border: 1px solid var(--wisteria);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  color: var(--dark-amethyst);
  position: relative;
  width: 90%;
  height: 290px;
  border-radius: 22px;
  overflow: hidden;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(155, 114, 207, 0.25);
  border-color: var(--indigo-velvet);
}

.promo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.promo-card .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-amethyst);
  margin-bottom: 0.5rem;
}

.promo-card .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-amethyst);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0;
  opacity: 0.8;
}

.promo-card .discount {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0;
  color: var(--dark-amethyst);
  line-height: 1;
}

.promo-card .promo-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--dark-wisteria);
  transition: color 0.3s ease;
  position: relative;
}

.promo-card .promo-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark-amethyst);
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: right;
}

.promo-card .promo-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* ====== CARROSSEL ====== */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  background: var(--accent-primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: 0 3px 12px rgba(83, 43, 136, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.carousel-control-prev {
  left: -24px;
}

.carousel-control-next {
  right: -24px;
}

.carousel-dots {
  height: 8px;
  width: 8px;
  background: var(--wisteria);
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.carousel-dots.active {
  background: var(--accent-primary);
  transform: scale(1.2);
}
/* ====== SEÇÃO DE AVALIAÇÕES ====== */
.reviews-section {
  background: var(--background-secondary);
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-top: 2rem;
}

.stars {
  font-size: 1rem;
  letter-spacing: 3px;
  font-weight: bold;
  line-height: 1;
}

.big-stars {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.stars-purple {
  color: var(--accent-primary);
  text-shadow: 0 2px 4px rgba(83, 43, 136, 0.2);
}

.reviews-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.link-purple {
  color: var(--accent-primary);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition);
}

.link-purple:hover {
  color: var(--lavender-purple);
  text-decoration: none;
}

.review-block {
  max-width: 240px;
  padding: 20px;
  margin-left: 20px;
  background: var(--lavender-mist);
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  transition: var(--transition);
  height: 100%;

}

.review-block:hover {
  border-color: var(--lavender-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.review-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-amethyst);
  margin-bottom: 8px;
  line-height: 1.3;
}

.review-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.review-author {
  font-size: 0.80rem;
  color: var(--text-muted);
  font-style: italic;
}


/* ====== RODAPÉ ====== */
.footer-section {
  background: none; /* remove a caixa branca de fundo */
  font-size: 0.9rem;
  padding: 40px 0;
  border-top: 1px solid #ddd; /* opcional, só pra separar do conteúdo */
}

.footer-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
}

.footer-links a:hover {
  color: #6A0DAD;
}

.footer-help-btn {
  background: #3f3f3f;
  border: none;
  font-size: 0.85rem;
  color: white;
}

.footer-location {
  font-size: 0.9rem;
  color: #444;
}

.dropdown-icon {
  font-size: 0.75rem;
  margin-left: 4px;
}

.footer-social {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social a {
  font-size: 28px;
  color: rgb(95, 41, 161);
  transition: all .3s ease;
}

.footer-social a:hover {
  color: var(--purple);
  transform: translateY(-3px);
}

/* ====== UTILITÁRIOS ====== */

.small-muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.section-title {
  color: var(--dark-amethyst);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.bg-light {
  background-color: var(--lavender-mist) !important;
}

.footer-divider {
  border: 0;
  height: 1px;
  width: 100%;
  background-color: #2f184bff;
  margin: 0;
}
/* ====== RESPONSIVIDADE ====== */

/* Tablet / telas médias */
@media (max-width: 992px) {
  .hero-img-left,
  .hero-img-right {
    opacity: 0.15;
    width: 40%; /* menor para não empurrar o layout */
  }

  .hero-section {
    flex-direction: column;
    padding: 40px 0;
    overflow: visible; /* impede corte */
  }

  .hero-content {
    max-width: 95%;
  }

  .hero-left img,
  .hero-right img {
    max-width: 100%;
    height: auto;
  }
}

/* Telas grandes */
@media (min-width: 1200px) {
  .hero {
    padding: 140px 0 100px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }

  .carousel-control-prev {
    left: -50px;
  }

  .carousel-control-next {
    right: -50px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .hero-section {
    padding: 20px 0;
    min-height: auto;
    overflow: visible; 
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero-left img,
  .hero-right img {
    max-width: 75%;
    height: auto;
    margin: 0 auto;
  }

  /* ===== Ajuste FINO para evitar corte lateral ===== */
  .container,
  .row,
  .col,
  section,
  .hero,
  body {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }

  /* ===== Controles do carrossel ===== */
  .carousel-control-prev,
  .carousel-control-next {
    display: flex;
    opacity: 1;
    width: 38px;
    height: 38px;
    top: 50%;
    transform: translateY(-50%);
  }

  .carousel-control-prev {
    left: 5px;
  }

  .carousel-control-next {
    right: 5px;
  }

  /* Cards */
  .product-image {
    height: 150px; /* menor para não cortar */
    object-fit: contain;
  }

  .promo-card {
    height: auto;
    padding: 1rem;
  }

  .promo-card .discount {
    font-size: 2rem;
  }
}
