:root {
  --bg-primary: #F7F5EE;
  --bg-card: #FAF8F2;
  --text-dark: #1E1E1E;
  --text-muted: #6B6B61;
  --brand-green: #2D421E;
  --brand-orange: #D4632A;
  --footer-bg: #1A1A1A;
  
  --nav-height: 64px;
  
  /* Tag Colors */
  --tag-recipes-bg: #FCECE2; --tag-recipes-color: #D4632A;
  --tag-garden-bg: #E2F5EA; --tag-garden-color: #1B8A4C;
  --tag-wellness-bg: #E0F7F6; --tag-wellness-color: #1A827E;
  --tag-seasonal-bg: #FFF4D9; --tag-seasonal-color: #B57D00;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding-top: var(--nav-height);
  line-height: 1.5;
}

h1, h2, h3, .brand-logo {
  font-family: "Georgia", "Playfair Display", serif;
  font-weight: 700;
}

/* ---------------- NAV FIXO ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-logo {
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-dark);
  text-decoration: none;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-subscribe {
  background-color: var(--brand-green);
  color: #FFF !important;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  transition: opacity 0.2s;
}

.btn-subscribe:hover {
  opacity: 0.9;
}

/* ---------------- BARRA DE TAGS STICKY ---------------- */
.tags-bar-wrapper {
  position: sticky;
  top: var(--nav-height); /* Gruda logo abaixo do nav principal */
  z-index: 990;
  background-color: var(--bg-primary);
  padding: 0.75rem 5%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tags-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.tag-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  white-space: nowrap;
}

.tag-pill.active {
  background-color: var(--brand-green);
  color: #FFF;
}

/* ---------------- HERO FEATURED ---------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

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

.hero-content .subtitle {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-bottom: 0.5rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin: 1rem 0;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.meta-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  max-height: 480px;
}

/* ---------------- CARDS & SEÇÕES ---------------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

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

.view-all {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.15rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

.card-title a {
  color: var(--text-dark);
  text-decoration: none;
}

/* ---------------- CONTACT SECTION (FORMSUBMIT) ---------------- */
.contact-section {
  background-color: var(--brand-green);
  color: #FFF;
  padding: 4rem 1.5rem;
  text-align: center;
}

.contact-section .section-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.contact-section h2 {
  font-size: 2.3rem;
  margin: 0.5rem 0 0.25rem;
}

.contact-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.contact-form {
  max-width: 580px;
  margin: 0 auto;
  text-align: left;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFF;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.2s;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #FFF;
  background-color: rgba(255, 255, 255, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn-submit {
  width: 100%;
  background-color: var(--brand-orange);
  color: #FFF;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.contact-form .btn-submit:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------------- FOOTER ---------------- */
footer {
  background-color: var(--footer-bg);
  color: #A0A0A0;
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h3 {
  color: #FFF;
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.footer-links a {
  color: #A0A0A0;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ---------------- PAGE (ABOUT / STATIC PAGES) ---------------- */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem 0 4rem;
}

/* Coluna da Imagem */
.page-image-col {
  position: relative;
  padding-bottom: 2rem; /* Espaço para o overflow do quote card */
}

.page-image-wrapper {
  position: relative;
  width: 100%;
}

.page-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* Card de Citação Sobreposto na Imagem */
.quote-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  max-width: 250px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.quote-mark {
  color: var(--brand-orange);
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

.quote-text {
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.35;
}

/* Coluna do Conteúdo */
.page-subtitle {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.page-title {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.page-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-body p {
  margin-bottom: 1.25rem;
}

/* Pilares (3 Colunas na parte inferior) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pillar-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.pillar-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Link de Ação */
.page-action-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.page-action-link:hover {
  opacity: 0.7;
}

/* Responsividade */
@media (max-width: 900px) {
  .page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .quote-card {
    right: 1rem;
    bottom: -1rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }
}