/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --color-primary: #166534;
  --color-primary-light: rgba(22, 101, 52, 0.1);
  --color-primary-hover: #15803d;
  --color-foreground: #1a1a1a;
  --color-background: #ffffff;
  --color-muted: #f5f5f5;
  --color-muted-foreground: #737373;
  --color-border: #e5e5e5;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20bd5a;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 5rem;
  --section-padding-mobile: 3rem;
  
  /* Border Radius */
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none !important;
}

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

.text-white {
  color: var(--color-background);
}

.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.8);
}

.icon-primary {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-light {
  background-color: var(--color-background);
  color: var(--color-foreground);
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.logo span {
  color: var(--color-primary);
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-desktop a {
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--color-foreground);
}

.btn-header {
  display: none;
}

.mobile-menu-btn {
  padding: 0.5rem;
}

.nav-mobile {
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
}

.nav-mobile a:hover {
  color: var(--color-foreground);
}

@media (min-width: 768px) {
  .header-content {
    height: 5rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .nav-desktop {
    display: flex;
  }
  
  .btn-header {
    display: inline-flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.75);
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 48rem;
}

.hero-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
}

/* ===== Sections ===== */
.section {
  padding: var(--section-padding-mobile) 0;
}

.section-muted {
  background-color: var(--color-muted);
}

.section-dark {
  background-color: var(--color-foreground);
  color: white;
}

.section-cta {
  background-color: var(--color-primary);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
}

.section-dark .section-description {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-padding) 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .section-header {
    margin-bottom: 4rem;
  }
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-content .section-label {
  margin-bottom: 0.5rem;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: var(--color-foreground);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-foreground);
}

.about-image {
  position: relative;
}

.about-image img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.experience-badge {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--color-primary);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.experience-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-text {
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .experience-badge {
    display: block;
  }
}

/* ===== Products Section ===== */
.products-grid {
  display: grid;
  gap: 2rem;
}

.product-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

.product-content {
  padding: 1.5rem;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-icon {
  padding: 0.5rem;
  background-color: var(--color-primary-light);
  border-radius: var(--radius);
  color: var(--color-primary);
}

.product-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.product-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}

.product-benefits {
  margin-bottom: 1.5rem;
}

.product-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}

.product-benefits .bullet {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ===== Differentials Section ===== */
.differentials-grid {
  display: grid;
  gap: 2rem;
}

.differential-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  transition: background-color 0.3s ease;
}

.differential-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.differential-icon {
  display: inline-flex;
  padding: 0.75rem;
  background-color: rgba(22, 101, 52, 0.2);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.differential-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.differential-card p {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .differentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Gallery Section ===== */
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== CTA Section ===== */
.section-cta .section-title {
  margin-bottom: 1rem;
}

.section-cta .section-description {
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-foreground);
  color: white;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--color-primary);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: white;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.hours-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.hours-list .indent {
  margin-left: 2rem;
}

.cnpj {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(26, 26, 26, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: rgba(255, 255, 255, 0.8);
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

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

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}
