/* Reset e Variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores Terrosas/Apetitosas */
  --primary-color: #d2691e; /* Chocolate */
  --secondary-color: #cd853f; /* Peru */
  --accent-color: #f4a460; /* Sandy Brown */
  --dark-brown: #8b4513; /* Saddle Brown */
  --light-orange: #ff8c42; /* Laranja */
  --cream: #fff8dc; /* Bege claro */
  --text-dark: #3e2723; /* Marrom escuro */
  --text-light: #6d4c41; /* Marrom médio */
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 150px;
  height: auto;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* Botão Voltar ao Topo */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-hover);
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background-color: var(--dark-brown);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 2px 5px var(--shadow);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-hover);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  background-image: url("https://images.unsplash.com/photo-1606312619070-d48b4e0016d3?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  padding: 4rem 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(210, 105, 30, 0.8) 0%,
    rgba(205, 133, 63, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 5px solid var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 10px var(--shadow);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: var(--dark-brown);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Sobre Section */
.sobre {
  padding: 5rem 0;
  background-color: var(--cream);
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sobre-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
}

.sobre-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.sobre-text p {
  margin-bottom: 1.5rem;
}

.sobre-text strong {
  color: var(--primary-color);
}

/* Vitrine Section */
.vitrine {
  padding: 5rem 0;
  background-color: var(--white);
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.produto-card {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s;
}

.produto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px var(--shadow-hover);
}

.produto-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.produto-info {
  padding: 1.5rem;
}

.produto-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.produto-desc {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.produto-preco {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.vitrine-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Produtos Page */
.produtos-page {
  padding: 4rem 0;
  background-color: var(--cream);
}

.produtos-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.produto-card-full {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s;
}

.produto-card-full:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px var(--shadow-hover);
}

.produto-card-full img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s;
  text-align: center;
}

.modal-content img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.modal-desc {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.modal-preco {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--primary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Contato Section */
.contato {
  padding: 4rem 0;
  background-color: var(--cream);
}

.contato-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.contato-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
}

.whatsapp-card {
  text-align: center;
}

.contato-icon {
  font-size: 4rem;
  color: #25d366;
  margin-bottom: 1.5rem;
}

.contato-card h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contato-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.btn-whatsapp-large {
  background-color: #25d366;
  color: var(--white);
  padding: 1.2rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 10px var(--shadow);
  margin-bottom: 1.5rem;
}

.btn-whatsapp-large:hover {
  background-color: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px var(--shadow-hover);
}

.contato-info {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Form */
.contato-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.9rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contato Info Grid */
.contato-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.info-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 3px 10px var(--shadow);
}

.info-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: var(--dark-brown);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-size: 1.3rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover {
  color: var(--accent-color);
}

.footer-column ul li i {
  margin-right: 8px;
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  text-decoration: none;
}

.social-links a {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
  }

  .nav-menu.active {
    display: flex;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    display: none;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .sobre-content {
    grid-template-columns: 1fr;
  }

  .produtos-grid,
  .produtos-grid-full {
    grid-template-columns: 1fr;
  }

  .contato-wrapper {
    grid-template-columns: 1fr;
  }

  .contato-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: center;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .modal-preco {
    font-size: 1.5rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    min-height: 60vh;
    padding: 2rem 0;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-whatsapp-large {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .sobre,
  .vitrine,
  .produtos-page,
  .contato {
    padding: 3rem 0;
  }
}
