@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background: #e8d5b7;
  box-shadow: 0 8px 18px rgba(62, 42, 24, .28);
}

.pagina-inicial {
  position: relative;
  isolation: isolate;
  background-color: transparent;
}

#silk-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    url("../logs/cafefundo.png"),
    radial-gradient(circle at 20% 30%, #fdf8f2 0%, transparent 60%),
    linear-gradient(135deg, #f5ebe0 0%, #e8d5b7 100%);
  background-size: 180px, cover, cover;
  background-repeat: repeat, no-repeat, no-repeat;
  opacity: 0.85;
}

#silk-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 235, 224, 0.85);
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cinzel", serif;
  font-weight: 700;
}
.brew-hero {
  position: relative; min-height: clamp(420px, 72vh, 640px);
  display: flex; align-items: center; overflow: hidden;}

.brew-hero .hero-slides { 
  position: absolute; 
  inset: 0; 
}

.brew-hero .hero-slide {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  opacity: 0; 
  transition: opacity 1s ease;
}

.brew-hero .hero-slide.active { 
  opacity: 1; 
}

.brew-hero .hero-overlay {
  position: absolute; 
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 26, 15, .85) 0%, rgba(46, 26, 15, .5) 45%, rgba(46, 26, 15, .12) 100%);
}

.brew-hero .hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 3;
}

.brew-hero .hero-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 253, 250, .45); cursor: pointer; transition: background .2s ease;
}

.brew-hero .hero-dots .dot.active { 
  background: #fffdfa; 
}

.brew-hero__content {
  position: relative; 
  z-index: 2; 
  width: 100%;
  max-width: var(--brew-max); 
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 2.5rem); 
  color: #fffdfa;
}

.brew-hero h1 {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 700; line-height: 1.05;
  margin: 0 0 1rem; color: #fff;
}

.brew-hero__lede {
  font-size: clamp(1rem, 2vw, 1.2rem); max-width: 32rem;
  margin: 0 0 1.8rem; color: #f3ebe1; line-height: 1.5;
}

.brew-btn {
  color: #fff;
  text-decoration: none;
}

.brew-btn:visited,
.brew-btn:hover,
.brew-btn:active,
.brew-btn:focus,
.brew-btn:focus-visible {
  color: #fff;
  text-decoration: none;
}

.cat-decoration {
  position: absolute;
  top: 1rem;
  left: -3px;
  width: 80px;
  height: 190px;
  opacity: 0.8;
  z-index: 10;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.container-mapa.gato-descendo .cat-decoration,
.container-mapa:has(.botao-acao:hover) .cat-decoration {
  transform: translateY(84px);
}

@media (prefers-reduced-motion: reduce) {
  .cat-decoration {
    transition: none;
  }
}

.container {
  max-width: 97%;
  margin: 0 auto;
}

h2.section-title {
  color: #f7ece0;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 3rem;
}

.products-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  padding: 1rem 0.5rem;
  scrollbar-width: none;
}

.products-grid::-webkit-scrollbar {
  display: none;
}
.product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 280px;
  border: solid 4px #e8d5b7;
  box-sizing: border-box;
}

.product-card.brown {
  background-color: #6b3410;
  color: #f7ece0;
  box-shadow: 0 10px 15px rgba(61, 26, 10, 0.25);
}

.product-card.cream {
  background-color: #fffaf3;
  color: #3d1a0a;
  box-shadow: 0 4px 6px rgba(99, 31, 8, 0.12);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px rgba(61, 26, 10, 0.3);
}

.product-image-wrapper {
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  background: var(--brew-cream-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-circle {
  width: 100%; height: 100%; border-radius: 0; background: transparent;
}

.product-image-circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
} 

.product-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 16px 0 12px;
  letter-spacing: 0.05em;
  line-height: 1.12;
}

.product-price-badge {
  padding: 0.3rem 1.3rem;
  border-radius: 9999px;
  margin-top: auto;
  margin-bottom: 0.55rem;
  font-weight: 600;
  font-size: 1.3rem;
}

.product-card.brown .product-price-badge {
  background-color: #f7ece0;
  color: #94300f;
}

.product-card.cream .product-price-badge {
  background-color: #94300f;
  color: #fffaf3;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f7ece0;
  color: #3d1a0a;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(61, 26, 10, 0.35);
  z-index: 10;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

.carousel-btn:hover {
  background-color: #631f08;
  color: #f7ece0;
  transform: translateY(-50%) scale(1.1);
}

.hero-overlay {
   inset: 0;
  
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  
}

.brew-promo__eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600;
  color: var(--brew-cream); margin: 0 0 .4rem;
}

.hero-text {
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; 
  color: #3a1b04; margin: 0;
}

#titulo-selecao-casa {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; 
  color: #8b4513;
  margin: 0; line-height: 1.1;
}

.home-section-heading__rubrica {
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600;
  color: #3a1b04; 
  color: var(--brew-accent); margin: 0 0 .3rem;
}

.home-section-heading h2, #titulo-selecao-casa {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; color: var(--brew-brown-deep);
  margin: 0; line-height: 1.1;
}

.prev-btn {
  left: max(-20px, calc(-1.5vw + 2px));
}

.next-btn {
  right: max(-20px, calc(-1.5vw + 2px));
}
.ver-mais-produtos {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #e8d5b7;
}

.products-grid a.link-ver-mais,
.products-grid a.link-ver-mais:link,
.products-grid a.link-ver-mais:visited,
.products-grid a.link-ver-mais:hover,
.products-grid a.link-ver-mais:active {
  padding: 1rem;
  color: #fffdfa;
  font-family: "Cinzel Decorative", serif;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: pre-line;
}
:root {
  --fundo-marrom: #631f08;
  --botao-bege: #f7ece0;
  --branco: #fffaf3;
}

.container-mapa {
  background-color: var(--fundo-marrom);
  width: 98%;
  height: 270px;
  border-radius: 22px;
  display: flex;
  padding: 10px;
  box-sizing: border-box;
  border: 3px solid #8b4513;
  box-shadow: 0 10px 30px rgba(42, 24, 16, 0.4);
  position: relative;
  margin: 1%;
  margin-bottom: 50px;
}

.secao-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px 15px 60px;
  position: relative;
}

.texto-titulo {
  color: var(--branco);
  font-size: 26px;
  font-family: "Cinzel Decorative", serif;
  text-align: center;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
}

.botao-acao {
  background-color: var(--botao-bege);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 8px rgba(42, 24, 16, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
  margin-left: 3.5rem;
}

.botao-acao:hover {
  transform: scale(1.1);
  background-color: #fffaf3;
}

.botao-acao img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.secao-mapa {
  flex: 2.2;
  background-color: #f7ece0;
  border-radius: 21px;
  overflow: hidden;
  margin: -9px;
  position: relative;
}

.secao-mapa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5e6d3;
  z-index: 0;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: relative;
  z-index: 1;
}

.estado-vazio-carrossel {
  color: #f7ece0;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.icone-volume {
  font-size: 18px;
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .container-mapa {
    width: 95%;
    flex-direction: column;
    height: auto;
  }

  .secao-info {
    padding: 20px;
  }

  .silhueta-gato {
    display: none;
  }

  .secao-mapa {
    flex: none;
    height: 260px;
    min-height: 240px;
  }

  .secao-mapa iframe {
    height: 100%;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-text {
    font-size: 2rem;
  }

  .promotion-title {
    font-size: 2rem;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 16rem;
    margin: 1rem;
  }

  .hero-text {
    font-size: 1.5rem;
  }
}

.product-card {
  cursor: pointer;
}
