/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.email {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

:root {
  /* Cores principais */
  --primary-color: #2D5016;
  --secondary-color: #E8B4CB;
  --accent-color: #F4A6CD;
  --background-color: #F5F1EB;
  --white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-light: #666666;
  --text-muted: #999999;
  
  /* Sombras */
  --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-heavy: 0 10px 40px rgba(0,0,0,0.15);
  
  /* Transições */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Fontes */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(245, 241, 235, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 80, 22, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: var(--background-color);
  box-shadow: var(--shadow-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.nav-brand {
  text-align: left;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 300;
  font-style: italic;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.nav-toggle {
  /* Botão de menu responsivo, só aparece em telas com resolução menor que 768px */
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 80, 22, 0.7) 0%,
    rgba(45, 80, 22, 0.5) 50%,
    rgba(232, 180, 203, 0.3) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--background-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

/* Features Section */
.features {
  padding: var(--spacing-2xl) 0;
  background: var(--white);
}

/* Flexbox alternative for features grid */
/*
.feature-flex {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-card {
  width: 360px;
  text-align: center;
  padding: 30px;
  background: var(--background-color);
  border-radius: 16px;
  transition: var(--transition);
  border: 1px solid rgba(45, 80, 22, 0.08);
}
*/

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
  justify-items: center;
}

.feature-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--background-color);
  border-radius: 16px;
  transition: var(--transition);
  border: 1px solid rgba(45, 80, 22, 0.08);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 2rem;
  color: var(--white);
}

.feature-icon img {
  width: 50px;
  height: 50px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

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

.footer-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.social-links {
  display: flex;
  justify-content: flex-start;
  gap: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-link img {
  width: 100%;
  height: 100%;
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.contact-info, .address-info, .hours-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.contact-item, .address-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.9);
}

.contact-item img {
  color: var(--secondary-color);
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
  border-bottom: none;
}

.day {
  color: rgba(255, 255, 255, 0.9);
}

.time {
  color: var(--secondary-color);
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

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

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Responsividade */
@media (max-width: 1190px) {
  .feature-card {
    width: 100%;
    max-width: 400px;
    flex-shrink: 1;
  }
}
@media (max-width: 768px) {
  .nav-brand {
    flex-grow: 1;
  }

  .nav-menu {
    /* Posiciona o menu na tela inteira */
    position: absolute;
    top: 100%; /* Fica logo abaixo do header */
    left: 0;
    width: 100%;
    background-color: #f7f7f7; /* Cor de fundo do menu expandido */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    /* Esconde o menu por padrão com uma transição suave */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .nav-menu.active {
    /* Exibe o menu quando ativo */
    max-height: 500px; /* Altura máxima para expandir o menu */
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    /* padding: var(--spacing-lg) 0; */
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-toggle {
    /* Exibe o botão do hamburguer em telas menores */
    display: block;
  }

  /* Estiliza o ícone do menu hamburguer */
  .toggle-bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    min-width: 200px;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .hours-item {
    justify-content: center;
    gap: var(--spacing-md);
  }
  
  .contact-item, .address-item {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .nav {
    padding: var(--spacing-xs) 0;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .tagline {
    font-size: 0.8rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: var(--spacing-lg);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Estados de foco para acessibilidade */
.nav-link:focus,
.btn:focus,
.social-link:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Melhoria da performance */
.hero-image img {
  will-change: transform;
}

.feature-card {
  will-change: transform;
}