/* ===== Reset & Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  color: #333;
  line-height: 1.6;
  padding-top: 80px;
}

.seo-keywords {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

/* ===== Navbar ===== */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 55px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: #C94632;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding: 8px 0 !important;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #C94632, #ff6b6b);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: #C94632 !important;
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero:hover img {
  transform: scale(1.02);
}

/* ===== Seções ===== */
section {
  padding: 80px 0;
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 2px 5px rgba(0, 0, 0, 0.04);
}

h2 {
  text-align: center;
  color: #C94632;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #C94632, #ff6b6b);
  border-radius: 2px;
}

.sobre p {
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 25px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

/* ===== Produtos ===== */
.products-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products {
  display: flex;
  gap: 30px;
  max-width: 100%;
  margin: auto;
  padding: 20px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.products::-webkit-scrollbar {
  display: none;
}

.products-grid {
  margin-top: 30px;
  overflow-x: auto;
  padding: 20px 0;
}

.products-grid .row {
  flex-wrap: nowrap;
  margin: 0;
  padding: 0 10px;
}

.products-grid .product {
  height: 350px;
  min-width: 220px;
  margin: 0 10px;
}

.products-grid .product-front img {
  height: 150px;
  object-fit: contain;
}

.products-grid .product-front h3 {
  font-size: 1.2rem;
  margin-top: 10px;
}

.products-grid .product-back {
  padding: 20px;
}

.products-grid .product-back .product-description {
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.products-grid .btn-primary {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Esconde a barra de rolagem mas mantém a funcionalidade */
.products-grid::-webkit-scrollbar {
  display: none;
}

.products-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (min-width: 1200px) {
  .products-grid {
    overflow-x: visible;
  }
  
  .products-grid .row {
    justify-content: center;
  }
  
  .products-grid .product {
    height: 400px;
    min-width: 250px;
  }
  
  .products-grid .product-front img {
    height: 180px;
  }
  
  .products-grid .product-front h3 {
    font-size: 1.3rem;
  }
  
  .products-grid .product-back .product-description {
    font-size: 1rem;
  }
  
  .products-grid .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

.carousel {
  padding: 20px 0;
  position: relative;
}

.carousel-item {
  padding: 20px;
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(201, 70, 50, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(201, 70, 50, 1);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #C94632;
  opacity: 0.5;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  opacity: 1;
  background-color: #C94632;
  transform: scale(1.2);
}

/* Botões com ícones */
.btn i {
  font-size: 1.2em;
  margin-right: 8px;
}

.btn-success i {
  color: #fff;
}

.btn-instagram i {
  color: #fff;
}

.product {
  background: transparent;
  border-radius: 20px;
  overflow: visible;
  height: 450px;
  position: relative;
  perspective: 1000px;
  margin-bottom: 30px;
}

.product-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.03);
}

.product:hover .product-inner {
  transform: rotateY(180deg);
}

.product-front, .product-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.03);
}

.product-front {
  transform: rotateY(0deg);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-back {
  transform: rotateY(180deg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.product-front img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}

.product-front h3 {
  color: #C94632;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.product-back .product-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 25px;
}

.btn-primary {
  background: linear-gradient(90deg, #C94632 0%, #ff6b6b 100%);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ff6b6b 0%, #C94632 100%);
  transform: translateY(-2px);
}

/* ===== Call to Action ===== */
.cta {
  padding: 40px 20px;
}

.cta h2 {
  color: #C94632;
  font-size: 2rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
  padding-bottom: 15px;
}

.cta h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #C94632, #ff6b6b);
  border-radius: 2px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.cta-buttons a {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 12px 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  gap: 10px;
}

.cta-buttons .whatsapp {
  background-color: #25D366;
  color: #fff;
}

.cta-buttons .whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-3px) scale(1.04);
}

.cta-buttons .instagram {
  background: linear-gradient(90deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #fff;
}

.cta-buttons .instagram:hover {
  filter: brightness(1.1) drop-shadow(0 2px 8px #fd1d1d44);
  transform: translateY(-3px) scale(1.04);
}

.cta-buttons img {
  height: 22px;
  width: 22px;
  margin-right: 8px;
}

@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .cta-buttons a {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 0;
  }
}

/* ===== Mapa ===== */
.map {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.map iframe {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  border: none;
  border-radius: 20px;
  display: block;
  margin: auto;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 4px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
}

.map iframe:hover {
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.12),
    0 6px 12px rgba(0, 0, 0, 0.06);
}

/* ===== Rodapé ===== */
footer {
  text-align: center;
  background: linear-gradient(135deg, #C94632 0%, #ff6b6b 100%);
  color: #fff;
  padding: 25px 0;
  font-size: 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* ===== Responsividade ===== */
@media (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .carousel-arrow.prev {
    left: 0;
  }
  .carousel-arrow.next {
    right: 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .navbar {
    padding: 10px 0;
  }

  .logo img {
    height: 45px;
  }

  .logo span {
    font-size: 1.3rem;
  }

  .product {
    height: 500px;
  }

  .product-front img {
    height: 200px;
  }

  .product-front h3 {
    font-size: 1.4rem;
  }

  .product-back {
    padding: 20px;
  }

  .product-back .product-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .btn {
    width: 100%;
  }

  .nav-container {
    padding: 10px 20px;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100vw;
    width: 70vw;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px 30px;
    gap: 30px;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  section {
    padding: 40px 20px;
  }

  .products-container {
    padding: 0;
  }

  .products {
    gap: 15px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .product {
    min-width: calc(100% - 40px);
    height: 650px;
    margin: 0 20px;
  }

  .product-front img {
    width: 280px;
    height: 280px;
    margin-bottom: 20px;
    object-fit: contain;
  }

  .product-front h3 {
    font-size: 1.6rem;
    margin: 15px 0;
  }

  .product-back {
    padding: 30px 20px;
  }

  .product-back .product-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .product-back button {
    padding: 15px 30px;
    font-size: 1.2rem;
    width: 90%;
  }

  .cta {
    padding: 40px 20px;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta a {
    padding: 12px 25px;
    font-size: 1.1rem;
  }

  .scroll-button {
    width: 35px;
    height: 35px;
  }

  .scroll-button svg {
    width: 20px;
    height: 20px;
  }

  .product-front img, .product-back img {
    width: 210px;
    height: 210px;
    margin-bottom: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 70vw;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px 30px;
    gap: 30px;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }

  .carousel-indicators {
    bottom: -40px;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
    margin: 20px 0;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .product {
    height: 450px;
  }

  .product-front img {
    height: 180px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 35px;
    height: 35px;
    margin: 0 5px;
  }

  .carousel-indicators {
    bottom: -35px;
  }

  .carousel-indicators button {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* ===== Animações ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 0.8s ease-out forwards;
}

.product {
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
}

/* Botão hambúrguer */
.menu-toggle {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 3px 0;
  background: #C94632;
  border-radius: 2px;
  transition: 0.3s;
}

/* Overlay para escurecer o fundo ao abrir o menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 999;
  transition: opacity 0.3s;
}
.menu-overlay.active {
  display: block;
}

/* Animação do botão hambúrguer */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.menu-toggle span {
  transition: 0.3s;
}

/* ===== Call to Action ===== */
.btn-success {
  background-color: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.2);
  transition: all 0.3s ease;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.3);
  color: #fff;
}

.btn img {
  height: 28px;
  width: 28px;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .btn-success, .btn-instagram {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .btn img {
    height: 24px;
    width: 24px;
  }
}

@media (max-width: 576px) {
  .btn-success, .btn-instagram {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .btn img {
    height: 22px;
    width: 22px;
  }
}


