/* ===== Variáveis e reset ===== */
:root {
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: #2c2416;
  background: #faf7f2;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

/* ===== Cabeçalho ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(250, 247, 242, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  color: #b8860b;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

nav a:hover,
nav a.active {
  background: #2c2416;
  color: #faf7f2;
}

/* ===== Hero ===== */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #1a1408;
}

.hero p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: #5c4f3a;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.hero-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.hero-card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-visual.bread {
  background: linear-gradient(135deg, #d4a574 0%, #8b6914 100%);
}

.hero-card-visual.garden {
  background: linear-gradient(135deg, #7cb342 0%, #2e7d32 100%);
}

.hero-card-body {
  padding: 1.5rem;
  background: #fff;
}

.hero-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.hero-card-body p {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: #5c4f3a;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform var(--transition), opacity var(--transition);
}

.btn:hover {
  transform: scale(1.03);
}

.btn-bread {
  background: #8b6914;
  color: #fff;
}

.btn-garden {
  background: #2e7d32;
  color: #fff;
}

/* ===== Página temática ===== */
.page-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.page-hero.bread-theme {
  background: linear-gradient(180deg, #f5e6d0 0%, #faf7f2 100%);
}

.page-hero.garden-theme {
  background: linear-gradient(180deg, #e8f5e9 0%, #faf7f2 100%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: #5c4f3a;
  font-size: 1.05rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ===== Cartões de conteúdo ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 768px) {
  .card-featured {
    grid-template-columns: 1fr;
  }
}

.card-illustration {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.card-illustration.bread-bg {
  background: linear-gradient(145deg, #e8c896, #c9956a);
}

.card-illustration.garden-bg {
  background: linear-gradient(145deg, #c8e6c9, #81c784);
}

.card-illustration svg {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.card-featured .card-illustration svg {
  width: 200px;
  height: 200px;
}

.card-content {
  padding: 1.75rem;
  flex: 1;
}

.card-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: #1a1408;
}

.card-meta {
  font-size: 0.85rem;
  color: #8b6914;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.garden-theme .card-meta {
  color: #2e7d32;
}

.card-content p {
  color: #4a4030;
  font-size: 0.98rem;
}

.card-content p + p {
  margin-top: 0.75rem;
}

/* ===== Rodapé ===== */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #7a6f5c;
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
