:root {
  --primary-green: #3d5a45;
  --terracotta: #a65544;
  --cream: #f9f7f2;
  --off-white: #ffffff;
  --text-dark: #333333;
  --text-light: #f9f7f2;
  --heading-font: "Cormorant Garamond", serif;
  /* Fonte clássica e elegante */
  --body-font: "Montserrat", sans-serif;
  /* Fonte moderna e limpa */
  --logo-font: "Marcellus", serif;
  /* Fonte minimalista para a logo */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Leaf Decorations */
.leaf-decor {
  position: absolute;
  z-index: 1;
  opacity: 0.3;
  /* Reduzido para um toque de delicadeza */
  pointer-events: none;
  filter: grayscale(50%) brightness(1.1);
  /* Neutraliza as cores e suaviza */
}

.leaf-bottom-left {
  bottom: -150px;
  /* Movido mais para baixo */
  left: -120px;
  width: 450px;
  transform: rotate(25deg);
}

.leaf-bottom-right {
  bottom: -150px;
  /* Movido mais para baixo */
  right: -120px;
  width: 450px;
  transform: rotate(-25deg) scaleX(-1);
}

/* Header */
header {
  padding: 2.5rem 5%;
  text-align: center;
  background: var(--off-white);
}

.logo {
  font-family: var(--logo-font);
  font-size: 3.5rem;
  color: var(--primary-green);
  margin-bottom: 0.2rem;
  font-weight: 400;
  letter-spacing: 2px;
}

.subtitle {
  font-size: 0.9rem;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  display: flex;
  min-height: 550px;
  background: var(--off-white);
}

.hero-text-container {
  flex: 1.2;
  background-color: var(--primary-green);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5% 4rem 10%;
  position: relative;
}

.hero-text-container h1 {
  font-family: var(--heading-font);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 600;
  /* Mais peso como na proposta */
}

.hero-text-container p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  opacity: 0.9;
  font-weight: 300;
  /* Leveza do Montserrat */
}

.hero-image-container {
  flex: 1;
  background: url("assets/hero2.jpg") right center/cover no-repeat;
  position: relative;
  /* Necessário para o posicionamento do degradê */
}

/* Efeito de degradê suave entre o texto e a imagem (Desktop) */
.hero-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  /* Ajuste a largura do degradê conforme necessário */
  height: 100%;
  background: linear-gradient(to right, var(--primary-green), transparent);
  z-index: 1;
}

.btn-whatsapp {
  background-color: var(--terracotta);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition:
    transform 0.3s,
    background-color 0.3s;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(166, 85, 68, 0.3);
}

.btn-whatsapp:hover {
  background-color: #8e4738;
  transform: translateY(-2px);
}

.text-link {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s;
}

.text-link:hover {
  border-bottom: 1px solid var(--terracotta);
}

/* Features Section */
.features {
  padding: 5rem 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
  /* Garante que o texto fique sobre as folhas se houver sobreposição */
  background: transparent;
  /* Removido para mostrar as folhas no container pai */
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.5rem;
  align-items: start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  color: var(--primary-green);
  grid-row: 1 / 3;
  /* Faz o ícone ocupar o espaço ao lado do título e do parágrafo */
}

.feature-item h3 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: var(--primary-green);
  font-weight: 500;
}

.feature-item p {
  font-size: 0.95rem;
  color: #666;
  max-width: 280px;
  grid-column: 2;
}

/* Info Banner */
.info-strip {
  padding: 2rem 5%;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 1.1rem;
  color: var(--text-dark);
  background: transparent;
  /* Permite ver as folhas se chegarem aqui */
  position: relative;
  z-index: 2;
}

.info-strip span {
  margin: 0 1rem;
  color: #999;
}

/* Footer */
footer {
  padding: 2rem 10%;
  background: transparent;
  /* Permite ver as folhas */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--terracotta);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column-reverse;
    min-height: auto;
    display: flex;
  }

  .hero-text-container {
    padding: 3rem 8%;
    text-align: center;
    flex: none;
    /* Impede que o texto esprema a imagem */
  }

  .hero-image-container {
    height: 400px;
    /* Altura generosa para a foto */
    width: 100%;
    flex: none;
    /* Impede o colapso do container vazio */
  }

  /* Ajuste do degradê para o empilhamento vertical no celular */
  .hero-image-container::before {
    width: 100%;
    height: 80px;
    /* Altura do degradê de transição */
    top: auto;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent, var(--primary-green));
  }

  .features {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
  }

  .feature-icon {
    grid-row: auto;
  }

  .feature-item p {
    grid-column: auto;
  }

  .hero-text-container h1 {
    font-size: 2.8rem;
  }

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