/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #131111;
  background-color: #e4e9f1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Improve touch targets for mobile */
button, a, input, select, textarea {
  min-height: 44px;
  min-width: 44px;
}

/* Optimize images for mobile */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Mobile-first base styles - Improve scrolling performance */
* {
  -webkit-overflow-scrolling: touch;
}

/* Mobile-first base styles - Optimize animations for mobile */
.hero-contact-btn:hover,
.hero-tertiary-btn:hover,
.product-card:hover,
.feature-card:hover,
.produtor-feature-card:hover,
.process-step:hover {
  transform: none;
}

/* Mobile-first base styles - Disable hover effects on touch devices */
.hero-contact-btn:active,
.hero-tertiary-btn:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Mobile-first base styles - Improve button touch feedback */
.reserve-button:active,
.register-producer-button:active,
.step-button:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Mobile-first base styles - Optimize image loading */
.product-image img,
.product-image-card img {
  will-change: transform;
}

/* Apply Bricolage Groteksque font to all titles */
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* Top Banner */
.top-banner {
  background-color: #131111;
  color: #ffffff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.banner-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.banner-content span {
  margin-right: 60px;
  display: inline-block;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* Header */
.header {
  background-color: #ffffff;
  padding: 16px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-right {
  display: none;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: #131111;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
  min-height: auto;
}

.nav-link:hover {
  color: #4a7c5a;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: none;
}

.logo a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.social-icons {
  display: flex;
  gap: 12px;
  min-height: auto;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #131111;
  transition: color 0.2s ease;
  min-height: auto;
  min-width: 24px;
}

.social-icons a:hover {
  color: #4a7c5a;
}

/* Mobile Menu Toggle Button - Mobile-first approach */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle:active {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Mobile nav is hidden by default, shown only on mobile */
.mobile-nav {
  display: none;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #131111;
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 1px;
}

/* Mobile Navigation - Mobile-first approach */
.mobile-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  max-height: 500px;
}

.mobile-nav-content {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.mobile-nav-link {
  text-decoration: none;
  color: #131111;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  background-color: transparent;
}

.mobile-nav-link:hover {
  background-color: #f8f9fa;
  color: #4a7c5a;
}

.mobile-nav-link:hover {
  color: #4a7c5a;
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.mobile-social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  width: 100%;
  background-color: #f8f9fa;
}

.mobile-social-icons a {
  color: #131111;
  transition: color 0.2s ease;
}

.mobile-social-icons a:hover {
  color: #4a7c5a;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section - Mobile-first approach */
.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 17, 17, 0.6);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-text {
  max-width: 700px;
  color: #ffffff;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 14px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-footnote {
  font-size: 14px;
  opacity: 0.7;
  font-style: italic;
}

/* Hero Buttons - Mobile-first approach */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.hero-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #4a7c5a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 48px;
  width: 100%;
  text-align: center;
}

.hero-contact-btn:hover {
  background: #3a6b4a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 124, 90, 0.3);
}

.hero-tertiary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid #ffffff21;
  transition: all 0.2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 48px;
  width: 100%;
  text-align: center;
}

.hero-tertiary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Stats Section - Mobile-first approach */
.stats {
  margin: 40px 16px;
}

.stats-container {
  background-color: #4a7c5a;
  border-radius: 16px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  color: #ffffff;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* About Section - Mobile-first approach */
.about {
  background-color: #ffffff;
  padding: 50px 16px;
  margin: 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-content {
  display: flex;
  justify-content: flex-start;
}

.about-text {
  max-width: 700px;
}

.about-header {
  font-size: 16px;
  font-weight: 600;
  color: #4a7c5a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #131111;
  max-width: 600px;
}

.about p {
  font-size: 16px;
  line-height: 1.7;
  color:#3f4f4f;
  max-width: 600px;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.product-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.product-image-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Comerciantes Section - Mobile-first approach */
.comerciantes {
  background-color: #e8f4f0;
  padding: 50px 16px;
  margin: 0;
}

.comerciantes-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.comerciantes-content {
  padding-right: 0;
}

.comerciantes-header {
  font-size: 14px;
  font-weight: 600;
  color: #4a7c5a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comerciantes-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #131111;
}

.comerciantes-description {
  font-size: 16px;
  line-height: 1.7;
  color: #3f4f4f;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.feature-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(74, 124, 90, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #e8f4f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #131111;
  margin-bottom: 8px;
}

.feature-description {
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.resources-section {
  margin-bottom: 32px;
}

.resources-title {
  font-size: 20px;
  font-weight: 600;
  color: #131111;
  margin-bottom: 16px;
}

.resources-description {
  font-size: 16px;
  line-height: 1.7;
  color: #3f4f4f;
  margin-bottom: 24px;
}

.resources-list {
  list-style: none;
  padding: 0;
}

.resources-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.resources-list li::before {
  content: "✓";
  color: #4a7c5a;
  font-weight: bold;
  margin-right: 12px;
}

.reserve-button {
  background: #4a7c5a;
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 16px;
}

.reserve-button:hover {
  background: #3a6b4a;
  transform: translateY(-2px);
}

.stock-notes {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
}

.comerciantes-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  background-image: 
    url('/images/market.webp');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.image-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.overlay-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: #131111;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.overlay-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #4a7c5a;
  border-radius: 50%;
}

/* Produtores Section - Mobile-first approach */
.produtores {
  background-color: #f8f6f0;
  padding: 50px 16px;
  margin: 0;
}

.produtores-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.produtores-content {
  padding-right: 0;
}

.produtores-header {
  font-size: 14px;
  font-weight: 600;
  color: #a87852;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.produtores-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #131111;
}

.produtores-description {
  font-size: 16px;
  line-height: 1.7;
  color: #3f4f4f;
  margin-bottom: 40px;
}

.produtores-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.produtor-feature-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(168, 120, 82, 0.1);
  transition: all 0.3s ease;
}

.produtor-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.produtor-feature-icon {
  width: 48px;
  height: 48px;
  background: #faf7f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.produtor-feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #131111;
  margin-bottom: 8px;
}

.produtor-feature-description {
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.register-producer-button {
  background: #a87852;
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.register-producer-button:hover {
  background: #966642;
  transform: translateY(-2px);
}

.produtores-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: 
    url('images/hands2.webp') center center/cover no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produtores-image-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.produtor-overlay-badge {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: #a87852;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Process Section - Mobile-first approach */
.process {
  background-color: #4a7c5a;
  padding: 50px 16px;
  margin: 0;
}

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

.process-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.process-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.process-header-text {
  color: #ffffff;
}

.process-header-label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.process-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
}

.process-description {
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
  opacity: 0.9;
}

.process-header-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.process-image-container {
  width: 250px;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.process-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.process-image:hover {
  transform: scale(1.05);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 0;
}

.process-step {
  background: #e8f4f0;
  padding: 24px;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(74, 124, 90, 0.1);
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 48px;
  height: 48px;
  background: #4a7c5a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: #4a7c5a;
  margin-bottom: 16px;
}

.step-description {
  font-size: 14px;
  line-height: 1.6;
  color: #4a7c5a;
  margin-bottom: 24px;
}

.step-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.step-features li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #4a7c5a;
  margin-bottom: 8px;
}

.step-features li::before {
  content: "✓";
  color: #4a7c5a;
  font-weight: bold;
  margin-right: 12px;
  font-size: 16px;
}

.step-button {
  background: #4a7c5a;
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  margin-top: 16px;
}

.step-button:hover {
  background: #3a6b4a;
  transform: translateY(-2px);
}

/* Products Section - Mobile-first approach */
.products {
  background-color: #ffffff;
  padding: 50px 16px;
  margin: 0;
}

.products-section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-header {
  text-align: left;
  margin-bottom: 40px;
  max-width: 600px;
}

.products-label {
  font-size: 14px;
  font-weight: 600;
  color: #4a7c5a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.products-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #131111;
}

.products-description {
  font-size: 16px;
  line-height: 1.7;
  color: #3f4f4f;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  color: #131111;
  padding: 20px 24px;
  margin: 0;
}

/* Mobile-first responsive design with only two breakpoints */

/* Tablet styles - min-width: 768px */
@media (min-width: 768px) {
  /* Navigation */
  .nav-right {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  .logo {
    flex: none;
  }
  
  .logo-img {
    height: 40px;
    max-width: 155px;
  }
  
  .nav-container {
    padding: 0 24px;
  }
  
  /* Hero Section */
  .hero {
    min-height: 700px;
    padding: 60px 0;
  }
  
  .hero-content {
    padding: 0 40px;
  }
  
  .hero-text h1 {
    font-size: 48px;
    margin-bottom: 24px;
  }
  
  .hero-text p {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 16px;
    margin-top: 32px;
  }
  
  .hero-contact-btn,
  .hero-tertiary-btn {
    width: auto;
    padding: 14px 36px;
    font-size: 18px;
  }
  
  /* Stats Section */
  .stats {
    margin: 60px 20px;
  }
  
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 32px;
  }
  
  .stat-number {
    font-size: 22px;
  }
  
  /* About Section */
  .about {
    padding: 80px 20px;
  }
  
  .about-container {
    gap: 60px;
  }
  
  .about h2 {
    font-size: 48px;
  }
  
  .about-images {
    flex-direction: row;
    gap: 24px;
  }
  
  .product-image-card {
    max-width: 400px;
  }
  
  .product-image-card img {
    height: 300px;
  }
  
  /* Comerciantes Section */
  .comerciantes {
    padding: 80px 20px;
  }
  
  .comerciantes-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  
  .comerciantes-content {
    padding-right: 20px;
  }
  
  .comerciantes-title {
    font-size: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-card {
    padding: 24px;
  }
  
  .comerciantes-image {
    min-height: 600px;
  }
  
  .image-overlay {
    bottom: 24px;
    left: 24px;
    right: 24px;
  }
  
  .overlay-badge {
    padding: 12px 20px;
  }
  
  /* Produtores Section */
  .produtores {
    padding: 80px 20px;
  }
  
  .produtores-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  
  .produtores-content {
    padding-right: 20px;
  }
  
  .produtores-title {
    font-size: 40px;
  }
  
  .produtores-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .produtor-feature-card {
    padding: 24px;
  }
  
  .produtores-image {
    min-height: 600px;
  }
  
  .produtores-image-overlay {
    bottom: 24px;
    left: 24px;
    right: 24px;
  }
  
  .produtor-overlay-badge {
    padding: 12px 20px;
  }
  
  /* Process Section */
  .process {
    padding: 80px 20px;
  }
  
  .process-content {
    gap: 60px;
  }
  
  .process-header {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  
  .process-title {
    font-size: 40px;
  }
  
  .process-image-container {
    width: 300px;
    height: 300px;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .process-step {
    padding: 32px;
  }
  
  /* Products Section */
  .products {
    padding: 80px 20px;
  }
  
  .products-header {
    margin-bottom: 60px;
  }
  
  .products-title {
    font-size: 40px;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  /* Contact Section */
  .contact {
    padding: 80px 20px;
  }
  
  .contact h2 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  .contact-form {
    padding: 40px;
  }
  
  .contact-form label {
    margin-top: 20px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 16px;
  }
  
  .contact-form button {
    padding: 16px 32px;
    font-size: 16px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 20px;
  }
  
  .footer-links {
    flex-direction: row;
    gap: 0;
  }
  
  .footer-link {
    margin: 0 8px;
  }
  
  .footer-link:not(:last-child)::after {
    content: " | ";
    margin-left: 8px;
  }
  
  /* Legal Pages */
  .legal-page-container {
    padding: 80px 0;
  }
  
  .legal {
    padding: 60px 40px;
  }
  
  .legal h1 {
    font-size: 40px;
    margin-bottom: 16px;
  }
  
  .legal h2 {
    font-size: 24px;
    margin: 32px 0 16px 0;
  }
  
  .legal p,
  .legal li {
    font-size: 16px;
  }
}

/* Desktop styles - min-width: 1024px */
@media (min-width: 1024px) {
  /* Navigation */
  .nav-container {
    padding: 0 24px;
  }
  
  .logo-img {
    height: 45px;
    max-width: 186px;
  }
  
  /* Hero Section */
  .hero {
    min-height: 900px;
  }
  
  .hero-content {
    padding: 0 40px;
  }
  
  .hero-text h1 {
    font-size: 64px;
  }
  
  /* Stats Section */
  .stats-container {
    padding: 32px;
    gap: 32px;
  }
  
  /* About Section */
  .about {
    padding: 80px 20px;
  }
  
  /* Comerciantes Section */
  .comerciantes {
    padding: 80px 20px;
  }
  
  /* Produtores Section */
  .produtores {
    padding: 80px 20px;
  }
  
  /* Process Section */
  .process {
    padding: 80px 20px;
  }
  
  /* Products Section */
  .products {
    padding: 80px 20px;
  }
  
  /* Contact Section */
  .contact {
    padding: 80px 20px;
  }
}

/* Contact Section - Mobile-first approach */
.contact {
  background-color: #3a6b4a;
  padding: 50px 16px;
  margin: 0;
}

.contact h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-align: center;
  margin-bottom: 24px;
}

.contact p {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #ffffff;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #131111;
  margin-bottom: 8px;
  margin-top: 16px;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #131111;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4a7c5a;
  box-shadow: 0 0 0 3px rgba(74, 124, 90, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.contact-form button {
  background-color: #4a7c5a;
  color: #ffffff;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form button:hover {
  background-color: #3a6b4a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 124, 90, 0.3);
}

.contact-form button:active {
  transform: translateY(0);
}

#form-status {
  text-align: center;
  color: #131111;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Conditional fields styling */
.conditional-fields {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
  margin: 0;
}

.conditional-fields.show {
  max-height: 500px;
  opacity: 1;
  margin: 16px 0 0 0;
}

.conditional-fields label {
  margin-top: 16px;
}

.conditional-fields label:first-child {
  margin-top: 0;
}

/* Error styling for form fields */
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  animation: shake 0.5s ease-in-out;
  background-color: #fef2f2;
}

/* Specific styling for select elements with error */
.contact-form select.error {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  background-color: #fef2f2 !important;
  color: #dc2626 !important;
}

/* Extra specific styling for quantity selector with error */
.contact-form select#quantity.error {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
  background-color: #fef2f2 !important;
  color: #dc2626 !important;
  animation: shake 0.5s ease-in-out;
}

/* Ensure error styling overrides focus states */
.contact-form input.error:focus,
.contact-form select.error:focus,
.contact-form textarea.error:focus {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Specific focus state for quantity selector with error */
.contact-form select#quantity.error:focus {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}


/* Footer - Mobile-first approach */
.footer {
  background-color: #131111;
  color: #ffffff;
  padding: 32px 16px;
  margin: 0;
}

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

.footer-content {
  text-align: center;
}

.footer-copyright {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #ffffff;
  opacity: 0.9;
}

.footer-links {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  opacity: 0.9;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
  margin: 0;
}

.footer-link:hover {
  color: #4a7c5a;
  opacity: 1;
}



/* Legal Pages Styling - Mobile-first approach */
.legal-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
  /* background-color: #ffffff; */
  min-height: 100vh;
}

.legal {
  background-color: #ffffff;
  padding: 40px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

.legal h1 {
  font-size: 28px;
  font-weight: 700;
  color: #131111;
  margin-bottom: 12px;
  text-align: left;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  color: #4a7c5a;
  margin: 24px 0 12px 0;
  border-bottom: 2px solid #e8f4f0;
  padding-bottom: 8px;
}

.legal p {
  font-size: 14px;
  color: #3f4f4f;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal li {
  font-size: 14px;
  color: #3f4f4f;
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal strong {
  color: #4a7c5a;
  font-weight: 600;
}
