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

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #2c3e2d;
  background: linear-gradient(135deg, #f5f2e8 0%, #e8dcc0 100%);
  min-height: 100vh;
}

/* Header */
.site-header {
  background: rgba(245, 240, 230, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(139, 105, 20, 0.2);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo-text {
  font-family: 'Merriweather', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3c5434;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: #3c5434;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #b8860b;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #b8860b;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: #3c5434;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Full Screen Mobile Menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #3c5434 0%, #4c6944 100%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay .close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: #f5f2e8;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay .close-btn:hover {
  color: #b8860b;
  transform: rotate(90deg);
}

.mobile-nav-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-nav-overlay nav a {
  color: #f5f2e8;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 15px 30px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.mobile-nav-overlay nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.2), transparent);
  transition: left 0.5s ease;
}

.mobile-nav-overlay nav a:hover::before {
  left: 100%;
}

.mobile-nav-overlay nav a:hover {
  color: #b8860b;
  background: rgba(255, 255, 255, 0.1);
}

/* Main */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero */
.hero {
  background: url('../img/ama_bg.jpg') no-repeat center center/cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f5f2e8;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 45, 28, 0.45);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 55ch;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: 'Merriweather', serif;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 30px;
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.cta-button {
  background: linear-gradient(135deg, #8b6914, #b8860b);
  color: #f5f2e8;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content sections */
.content-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section + .content-section::before {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #8b6914, #b8860b);
  margin: 0 auto 60px;
  opacity: 0.65;
}

.section-title {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  color: #3c5434;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8b6914, #b8860b);
}

/* Generic card grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(76, 105, 68, 0.1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
}

.card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #3c5434;
  margin-bottom: 15px;
}

.card p {
  color: #5a6b5c;
  line-height: 1.75;
}

/* Home: Agora no Raiz e Voo */
.home-now .now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.now-item {
  background: rgba(255, 255, 255, 0.65);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(76, 105, 68, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.now-item h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  color: #3c5434;
  margin-bottom: 12px;
}

.now-item p {
  color: #5a6b5c;
  line-height: 1.75;
}

.now-item-title a {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: #3c5434;
  text-decoration: none;
}

.now-item-title a:hover {
  color: #b8860b;
}

/* Home blog preview */
.post-list-home {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.post-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(76, 105, 68, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.post-preview-cover {
  border-radius: 12px;
  overflow: hidden;
}

.post-preview-cover img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}

.post-preview-content h3 {
  margin-bottom: 8px;
}

.post-preview-content h3 a {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  line-height: 1.25;
  color: #3c5434;
  text-decoration: none;
}

.post-preview-content h3 a:hover {
  color: #b8860b;
}

.post-preview-content p {
  color: #5a6b5c;
  line-height: 1.8;
}

/* Blog index */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.post-item {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(76, 105, 68, 0.1);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
}

.post-item h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: #3c5434;
  margin-bottom: 15px;
  line-height: 1.25;
}

.post-item h2 a {
  color: #3c5434;
  text-decoration: none;
}

.post-item h2 a:hover {
  color: #b8860b;
}

.post-item p {
  color: #5a6b5c;
  line-height: 1.8;
}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 20px;
}

.post-list-cover {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}

.post-list-cover img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

/* Single post editorial layout */
.post {
  padding: 60px 20px 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.post-hero,
.post-header {
  position: static;
}

.post-hero {
  margin-bottom: 40px;
}

.post-hero-cover {
  position:relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(76, 105, 68, 0.12);
}

.post-hero-cover img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

.post-cover-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;

  font-size: 0.7rem;
  color: rgba(255,255,255,0.85);

  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 4px;

  backdrop-filter: blur(3px);
}

.post-cover-credit a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,0.5);
}

.post-cover-credit a:hover {
  color: #f5f2e8;
  border-bottom-color: #f5f2e8;
}

.post-hero-inner {
  text-align: center;
  margin-top: 28px;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-title {
  font-family: 'Merriweather', serif;
  font-size: 3.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #3c5434;
  margin-bottom: 12px;
}

.post-dek {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #5a6b5c;
}

.post-body {
  max-width: 70ch;
  margin: 0 auto;
  padding-top: 20px;
}

.post-body::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #b8860b;
  margin: 60px auto 0;
}

/* Typography inside posts */
.prose {
  font-size: 1.12rem;
  line-height: 1.9;
}

.prose p {
  margin: 1.6rem 0;
  font-size: 1.08rem;
  line-height: 1.9;
  color: #2c3e2d;
  text-wrap: pretty;
}

.prose p:first-of-type::first-letter {
  font-size: 3rem;
  font-family: 'Merriweather', serif;
  float: left;
  line-height: 1;
  margin-right: 6px;
}

.prose h2,
.prose h3 {
  font-family: 'Merriweather', serif;
  color: #3c5434;
  margin: 2.2rem 0 0.8rem;
  line-height: 1.25;
}

.prose h2 {
  font-size: 1.9rem;
}

.prose h3 {
  font-size: 1.4rem;
}

.prose a {
  color: #3c5434;
  text-decoration: none;
  border-bottom: 2px solid rgba(184, 134, 11, 0.6);
  transition: all 0.2s ease;
}

.prose a:hover {
  color: #b8860b;
  border-bottom-color: rgba(184, 134, 11, 0.9);
}

.prose blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid #b8860b;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  color: #3c5434;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
}

.prose ul,
.prose ol {
  margin: 1.2rem 0 1.2rem 1.2rem;
}

.prose li {
  margin: 0.5rem 0;
}

.prose hr {
  border: none;
  height: 1px;
  margin: 3rem auto;
  width: 120px;
  background: linear-gradient(
    90deg,
    rgba(139, 105, 20, 0),
    rgba(139, 105, 20, 0.45),
    rgba(139, 105, 20, 0)
  );
}

/* Notes */
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.note-card {
  background: rgba(255, 255, 255, 0.62);
  padding: 22px 24px;
  border-left: 3px solid #b8860b;
  border-radius: 10px;
  margin-bottom: 0;
}

.note-card p {
  margin: 0 0 12px;
  line-height: 1.75;
  color: #5a6b5c;
}

.note-date {
  font-size: 0.75rem;
  color: #555;
  opacity: 0.7;
  margin-bottom: 10px;
}

.note-link,
.section-link {
  color: #3c5434;
  font-weight: 600;
  text-decoration: none;
}

.note-link:hover,
.section-link:hover {
  color: #b8860b;
}

.section-footer-link {
  margin-top: 28px;
  text-align: center;
}

/* About sections */
.about-home-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-home-content p {
  margin-bottom: 18px;
  line-height: 1.85;
  color: #5a6b5c;
}

.bio-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.bio-image img {
  width: 200px;
  border-radius: 100%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.bio-text {
  flex: 1;
  min-width: 250px;
}

/* Now section include */
.now-section {
  padding-top: 1rem;
}

.now-section p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.now-section strong {
  font-weight: 600;
}

/* Pagination */
.pagination ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.pagination a {
  color: #3c5434;
  padding: 10px 15px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  transition: all 0.2s ease;
}

.pagination a.active {
  font-weight: bold;
  background: #b8860b;
  color: #fff;
}

.pagination a:hover {
  background: #3c5434;
  color: #fff;
}

/* Footer */
footer {
  background: #3c5434;
  color: #f5f2e8;
  padding: 50px 20px 30px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-links a {
  color: #f5f2e8;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  color: #b8860b;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-text {
  font-size: 0.9rem;
  color: #c8d4c9;
  border-top: 1px solid rgba(248, 245, 232, 0.2);
  padding-top: 20px;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    height: 70px;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo img {
    height: 40px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  main {
    margin-top: 70px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .home-now .now-grid {
    grid-template-columns: 1fr;
  }

  .post-preview {
    grid-template-columns: 1fr;
  }

  .post-preview-cover img {
    height: 220px;
  }

  .post-list-cover img {
    height: 180px;
  }

  .post-item {
    padding: 28px;
  }

  .post-title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

  .post-hero-cover img {
    height: 240px;
  }

  .post-dek {
    font-size: 1.05rem;
    max-width: 60ch;
  }

  .prose p {
    font-size: 1.02rem;
  }
}