/* Garantir grid dos cards de produtos na home */
@media (max-width: 1200px) {
  .produtos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .produtos-grid {
    grid-template-columns: 1fr;
  }
}
/* home.css: estilos exclusivos da página inicial (index.html) */

/* Reset para garantir full width */
* {
    box-sizing: border-box;
}

body {
    font-family: Poppins;
    background: linear-gradient(135deg, #f0ead8 0%, #e8e0ce 50%);
    color: #000000;
    overflow-x: hidden;
    position: relative;
    margin: 100;
    padding: 0;
}
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(204, 135, 122, 0.12) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(230, 100, 85, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, rgba(255, 120, 93, 0.06) 3px, transparent 3px);
    background-size: 100px 100px, 50px 50px, 150px 150px;
    pointer-events: none;
    z-index: -3;
}
.index-container {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10;
}
.hero-section {
    text-align: center;
    padding: 0 2rem 4rem;
    margin-bottom: 4rem;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #4a4a4a, #6a6a6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 auto 3rem;
    line-height: 1.6;
    max-width: 600px;
}

/* === Hero Carousel Full Width === */
.hero-carousel {
  width: 100vw;
  margin: -3rem 0 0 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

/* === Carrossel/Banner === */
.carousel {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f4ed 0%, #ede4d3 50%, #e6dcc9 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; 
  left: 0;
  margin: 0;
  padding: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}
.carousel-slide.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}
.carousel-slide.prev {
  transform: translateX(-100%);
}
.carousel-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1800px;
  margin: auto;
  gap: 4rem;
}
.carousel-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
  padding: 2rem 0;
}
.carousel-text h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: -1px;
  color: #2c2c2c;
  text-shadow: none;
  line-height: 1.1;
}
.carousel-text p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #666;
  text-shadow: none;
  line-height: 1.5;
  max-width: 500px;
}
.carousel-text .btn-primary {
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(204,135,122,0.25);
  transition: all 0.3s ease;
}
.carousel-text .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204,135,122,0.35);
}
.carousel-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.carousel-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.carousel-image {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* === Layouts Flexíveis do Carrossel === */
.carousel-content.reverse {
  flex-direction: row-reverse;
}

/* Layout: Imagem clicável - imagem ocupa todo o espaço */
.carousel-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

/* Classe específica para links clicáveis com imagem completa */
.carousel-clickable-full {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Classe para mostrar imagem cobrindo todo o espaço */
.carousel-fit-contain {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Classes adicionais para controle fino do posicionamento */
.carousel-fit-cover {
  object-fit: cover !important;
  object-position: center !important;
}

.carousel-fit-top {
  object-fit: cover !important;
  object-position: center top !important;
}

.carousel-fit-bottom {
  object-fit: cover !important;
  object-position: center bottom !important;
}

.carousel-image-link:hover {
  opacity: 0.95;
}

.carousel-full-img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: relative;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

.carousel-image-link:hover {
  opacity: 0.95;
}

.carousel-full-img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 10;
  background-color: #f8f4ed;
}

/* Layout: Imagem em tela cheia */
.carousel-full-image {
  width: 100%;
  height: 100%;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-clickable-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-clickable-link:hover {
  transform: scale(1.02);
}

.carousel-clickable-link .carousel-full-image {
  transition: filter 0.3s ease;
}

.carousel-clickable-link:hover .carousel-full-image {
  filter: brightness(1.1);
}

.carousel-overlay-text {
  background: rgba(0,0,0,0.4);
  padding: 3rem 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  max-width: 600px;
}

.carousel-overlay-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-overlay-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Layout: Texto centralizado com imagem de fundo */
.carousel-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-center-text {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  backdrop-filter: blur(15px);
}

.carousel-center-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.carousel-center-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Layout: Apenas texto */
.carousel-text-only {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.carousel-text-only h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.carousel-text-only p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

/* Layout: Imagem no topo, texto embaixo */
.carousel-vertical {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-image-top {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-text-bottom {
  padding: 2rem;
  background: rgba(255,255,255,0.95);
}

.carousel-text-bottom h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.carousel-text-bottom p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Layout: Editor Personalizado (Canva) */
.carousel-custom-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.custom-element {
  transition: all 0.3s ease;
}

.custom-element:hover {
  transform: scale(1.02) rotate(var(--rotation, 0deg));
}

.custom-button {
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.custom-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  text-decoration: none;
  color: white !important;
}

.custom-text {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.custom-shape-triangulo {
  margin: auto;
}
.carousel-placeholder {
  width: 500px;
  height: 400px;
  background: linear-gradient(135deg, #cc877a, #e66455);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 10px 40px rgba(204,135,122,0.3);
}
.carousel-btn {
  position: absolute;
  background: none;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.carousel-btn:hover {

  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}
.carousel-dots span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dots span.active {
  background: #cc877a;
  transform: scale(1.2);
}
.carousel-dots span:hover {
  background: rgba(204,135,122,0.8);
}
@media (max-width: 1200px) {
  .carousel-content {
    padding: 0 2rem;
    gap: 2rem;
  }
  .carousel-placeholder {
    width: 400px;
    height: 320px;
  }
  .carousel-image {
    max-height: 320px;
  }
}
@media (max-width: 900px) {
  .carousel {
    min-height: 500px;
  }
  .carousel-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .carousel-text {
    text-align: center;
    max-width: 100%;
  }
  .carousel-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .carousel-text p {
    font-size: 1.1rem;
    max-width: 100%;
  }
  .carousel-placeholder {
    width: 320px;
    height: 240px;
    font-size: 1.2rem;
  }
  .carousel-image {
    max-height: 240px;
  }
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .hero-section {
        padding: 0 1rem 3rem;
    }
    .produtos-destaque {
        padding: 3rem 1rem;
    }
    .carousel {
        min-height: 450px;
    }
    .carousel-content {
        padding: 0 1rem;
        gap: 1rem;
    }
    .carousel-text h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }
    .carousel-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .carousel-text .btn-primary {
        padding: 14px 32px;
        font-size: 1rem;
    }
    .carousel-placeholder {
        width: 280px;
        height: 200px;
        font-size: 1rem;
    }
    .carousel-image {
        max-height: 200px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .carousel-btn.prev { left: 15px; }
    .carousel-btn.next { right: 15px; }
    
    /* Responsividade para layouts flexíveis */
    .carousel-full-img {
        min-height: 450px;
        height: 450px;
        object-fit: cover;
    }
    
    .carousel-fit-contain {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .carousel-full-image {
        min-height: 450px;
        background-size: cover;
    }
    
    .carousel-overlay-text,
    .carousel-center-text {
        padding: 2rem 1rem;
    }
    
    .carousel-overlay-text h1,
    .carousel-center-text h1,
    .carousel-text-only h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .carousel-text-bottom {
        padding: 1.5rem 1rem;
    }
    
    .carousel-vertical {
        flex-direction: column;
    }
    
    .carousel-image-top {
        max-height: 60%;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Layouts de imagem em dispositivos pequenos */
    .carousel-full-img {
        min-height: 350px;
        height: 350px;
        object-fit: cover;
    }
    
    .carousel-fit-contain {
        object-fit: cover !important;
    }
    
    .carousel-full-image {
        min-height: 350px;
        background-size: cover;
    }
  }