/* ===================== */
/* Reset e Configurações */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

/* Garante que nenhum elemento ultrapasse a largura da tela */
html, body {
  width: 100%;
  overflow-x: hidden;
  height: 100%;
  font-family: 'Raleway', sans-serif;
}

body {
  background-color: #fff;
}

/* ===================== */
/* Novo Header Premium (clean e sem fundo) */
/* ===================== */
.new-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 15px 40px;
  z-index: 1000;
}
.new-header .header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.new-header .nav-left {
  display: flex;
  align-items: center;
}
.new-header .brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-right: 30px;
}
.new-header .nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.new-header .nav li {
  margin-right: 20px;
}
.new-header .nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}
.new-header .nav a:hover {
  color: #b5651d;
}

/* ===================== */
/* Hero Section */
/* ===================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.hero-text h1 {
  font-size: 56px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  margin-bottom: 20px;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}

/* Botão Fale Conosco */
.cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: rgba(181,101,29,0.95);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(181,101,29,0.8);
}
.cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 60%);
  filter: blur(15px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.cta-btn:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}
.cta-btn .steam {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 8px;
  height: 30px;
  background: linear-gradient(0deg, rgba(255,255,255,0.7), transparent);
  filter: blur(2px);
  opacity: 0;
  transform: translateX(-50%);
  animation: none;
}
.cta-btn:hover .steam {
  animation: steamRise 2s ease-out infinite;
}
@keyframes steamRise {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(-60%, -20px) scale(1.2);
    opacity: 0.5;
  }
  50% {
    transform: translate(-40%, -40px) scale(1.3);
    opacity: 0.3;
  }
  75% {
    transform: translate(-50%, -60px) scale(1.5);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -80px) scale(1.7);
    opacity: 0;
  }
}

/* ===================== */
/* Products Section */
/* ===================== */
.produtos {
  padding: 120px 20px 80px;
  background: #fff;
  text-align: center;
  margin-top: 100px;
}
.section-header {
  font-size: 32px;
  font-weight: 700;
  color: #5D4037;
  margin-bottom: 40px;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 40px;
}

/* Cards (Vue component) */
.card-wrap {
  margin: 10px;
  perspective: 800px;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-wrap:hover .card-info {
  transform: translateY(0);
  opacity: 1;
}
.card {
  position: relative;
  width: 240px;
  height: 320px;
  background: #333;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.66), inset 0 0 0 5px #333, inset 0 0 0 6px rgba(255,255,255,0.5);
  transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.card-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: 0.5s, opacity 5s;
  pointer-events: none;
}
.card-info {
  padding: 20px;
  position: absolute;
  bottom: 0;
  color: #fff;
  transform: translateY(40%);
  opacity: 0;
  transition: 0.5s;
}
.card-info h1 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 0 10px 10px rgba(0,0,0,0.5);
}

/* ===================== */
/* Brand Story Section */
/* ===================== */
.brand-story {
  padding: 80px 20px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-content {
  display: flex;
  max-width: 1200px;
  align-items: center;
}
.story-content img {
  width: 300px;
  border-radius: 10px;
  margin-right: 40px;
}
.story-text {
  text-align: left;
}
.story-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #5D4037;
}
.story-text p {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

/* ===================== */
/* Instagram Section */
/* ===================== */
.instagram {
  padding: 100px 20px;
  background: #f5f5f5;
  text-align: center;
}
.instagram h2 {
  font-size: 38px;
  margin-bottom: 50px;
}
.instagram-marquee {
  overflow: hidden;
}
.marquee-content {
  display: flex;
  animation: marquee 25s linear infinite;
}
.marquee-content img {
  width: 220px;
  margin-right: 15px;
  border-radius: 12px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== */
/* Footer */
/* ===================== */
.footer {
  background: #333;
  color: #fff;
  padding: 20px 40px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-content a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-content a:hover {
  color: #b5651d;
}

/* ===================== */
/* Modal para Detalhe do Produto */
/* ===================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 80%;
  max-width: 900px;
  max-height: 90%;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: modalAppear 0.5s ease-out;
  position: relative;
}
@keyframes modalAppear {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #b5651d;
  cursor: pointer;
  transition: transform 0.3s;
}
.modal-close:hover {
  transform: scale(1.1);
}
.modal-body {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.modal-left {
  flex: 1;
  padding-right: 20px;
}
.modal-left h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #333;
}
.modal-left p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 10px;
}
.modal-divider {
  border: none;
  border-bottom: 1px solid #8B4513;
  margin: 10px 0;
}
.modal-notes h3,
.modal-suggestions h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #333;
}
.modal-suggestions li {
  border-bottom: 1px solid #8B4513;
  padding: 10px 0;
}
.modal-suggestions li:last-child {
  border-bottom: none;
}
.modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carousel {
  position: relative;
  width: 100%;
}
.carousel-images {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
}
.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
/* Regras para o carrossel funcionar corretamente */
.carousel-item {
  display: none;
}
.carousel-item.active {
  display: block;
}
.carousel-dots {
  text-align: center;
  margin-top: 15px;
}
.carousel-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dots span:hover {
  transform: scale(1.3);
}
.carousel-dots span.active {
  background: #b5651d;
}
.suggestion-icon {
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-right: 5px;
}

/* ===================== */
/* Responsividade */
/* ===================== */
@media (max-width: 768px) {
  .new-header { padding: 15px 20px; }
  .brand { font-size: 28px; }
  .hero-text h1 { font-size: 40px; }
  .cta-btn { font-size: 18px; padding: 12px 24px; }
  .section-header { font-size: 28px; }
  .card { width: 220px; height: 300px; }
  .container { padding: 20px 40px; }
  .modal-body {
    flex-direction: column;
  }
  .modal-right {
    padding: 10px 0;
  }
}
