:root {
  --bg: #fff8ef;
  --paper: #ffffff;
  --ink: #2a1810;
  --muted: #8a6f5d;
  --rule: #f0e3d3;
  --accent: #ff6b35;
  --accent-2: #1d8a8a;
  --accent-3: #fcc28c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, #ffe6d1 0%, transparent 30%),
    radial-gradient(circle at 90% 50%, #d6f0ed 0%, transparent 30%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header.site {
  padding: 1.75rem 0;
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 239, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
header.site .brand { display: flex; align-items: center; gap: .75rem; }
header.site .brand-mark {
  font-size: 1.8rem; display: inline-block;
  animation: sway 6s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
header.site .brand-name {
  font-family: 'Caveat', cursive;
  font-size: 2.1rem; font-weight: 700;
  line-height: 1; color: var(--ink);
}
header.site .brand-sub {
  font-size: .8rem; color: var(--muted); margin-top: .15rem;
}
header.site nav { display: flex; gap: 1.5rem; font-size: .92rem; }
header.site nav a { color: var(--muted); transition: color .2s; }
header.site nav a:hover { color: var(--accent); }

/* Hero intro */
.hero-intro {
  padding: 5rem 0 3rem; text-align: center;
}
.hero-intro .kicker {
  font-family: 'Caveat', cursive; font-size: 1.5rem;
  color: var(--accent); margin-bottom: .5rem;
}
.hero-intro .hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  max-width: 800px; margin: 0 auto;
}
.hero-intro .ink {
  display: inline-block;
  background: linear-gradient(120deg, transparent 0%, transparent 50%, var(--accent-3) 50%, var(--accent-3) 100%);
  padding: 0 .25rem;
}
.hero-intro .hero-lead {
  max-width: 600px; margin: 1.5rem auto 0;
  font-size: 1.15rem; color: var(--muted);
}

/* Cards — alternating zig-zag */
.post-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem; align-items: center;
  margin: 3.5rem 0;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 25px -10px rgba(42, 24, 16, .12);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -25px rgba(42, 24, 16, .25);
}
.post-card:nth-child(even) { grid-template-columns: 1fr 1.1fr; direction: rtl; }
.post-card:nth-child(even) > * { direction: ltr; }
.post-card-image {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  transition: transform .8s;
}
.post-card:hover .post-card-image { transform: scale(1.03); }
.post-card-body { padding: 2rem 2.5rem; }
.post-card.is-featured { background: linear-gradient(135deg, #fff 0%, #fff5e9 100%); }
.post-card.is-featured .post-card-body::before {
  content: '★ EM DESTAQUE'; display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .15em;
  color: var(--accent); margin-bottom: .75rem;
}
.post-card-title {
  font-size: 1.85rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.15;
  margin: .75rem 0;
}
.post-card-desc { color: var(--muted); font-size: 1rem; }
.post-card-meta {
  margin-top: 1.5rem;
  display: flex; gap: .75rem; flex-wrap: wrap;
  font-size: .85rem; color: var(--muted);
}
.post-card-meta .author { color: var(--ink); font-weight: 600; }

/* Chips */
.chip {
  display: inline-block; padding: .3rem .8rem;
  border-radius: 999px; font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--rule); color: var(--ink);
}
.chip-viagem { background: #d6f0ed; color: var(--accent-2); }
.chip-comida { background: #ffe6d1; color: var(--accent); }
.chip-receita { background: #fce4ec; color: #c2185b; }

/* Single post */
.post-cover {
  height: 60vh; min-height: 420px;
  background-size: cover; background-position: center;
  position: relative;
  margin-top: -1px;
}
.post-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(42,24,16,.1) 0%, rgba(42,24,16,.85) 100%);
  display: flex; align-items: flex-end; padding-bottom: 3rem;
}
.post-cover-overlay .container { color: white; }
.post-cover-overlay .chip { background: rgba(255,255,255,.95); }
.post-cover-overlay .post-title {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.1;
  margin: 1rem 0; color: white;
}
.post-cover-overlay .post-desc {
  font-size: 1.2rem; color: rgba(255,255,255,.85);
  max-width: 700px;
}
.post-cover-overlay .post-meta {
  margin-top: 1.5rem;
  display: flex; gap: .75rem; flex-wrap: wrap;
  font-size: .9rem; color: rgba(255,255,255,.8);
}
.post-cover-overlay .author { color: white; font-weight: 600; }

.post-content {
  max-width: 720px; margin: 4rem auto;
  background: var(--paper);
  padding: 3rem;
  border-radius: 24px;
  font-size: 1.1rem; line-height: 1.8;
  box-shadow: 0 4px 25px -10px rgba(42, 24, 16, .12);
}
.post-content h2 {
  font-size: 1.7rem; margin: 2.5rem 0 1rem;
  letter-spacing: -.01em;
}
.post-content h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.post-content p { margin: 1rem 0; }
.post-content ul, .post-content ol { margin: 1rem 0 1rem 1.5rem; }
.post-content li { margin: .35rem 0; }
.post-content blockquote {
  border-left: 4px solid var(--accent);
  padding: .5rem 1.5rem; margin: 2rem 0;
  background: #fff5e9; border-radius: 0 12px 12px 0;
  font-style: italic; color: var(--ink);
}
.post-content pre {
  background: #2a1810; color: #ffe6d1;
  padding: 1.5rem; border-radius: 12px;
  overflow-x: auto; font-size: .9rem; margin: 1.5rem 0;
  font-family: ui-monospace, Menlo, monospace;
}
.post-content code {
  font-family: ui-monospace, Menlo, monospace; font-size: .92em;
  background: #fff5e9; padding: .15rem .4rem; border-radius: 4px;
  color: var(--accent);
}
.post-content pre code { background: transparent; color: inherit; padding: 0; }

.back-link {
  display: inline-block; margin: 2rem 0 4rem;
  color: var(--accent); font-weight: 600;
  border-bottom: 1px dashed var(--accent);
  padding-bottom: 2px;
}

footer.site {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0; text-align: center;
  color: var(--muted); font-size: .9rem;
  font-family: 'Caveat', cursive; font-size: 1.3rem;
}

@media (max-width: 768px) {
  .post-card, .post-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; gap: 0; }
  .post-card-body { padding: 1.5rem; }
}
