*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sage: #8A8F78;
  --sage-dark: #6E735F;
  --sage-light: #DCCFC2;
  --sage-pale: #F5F1EC;
  --warm: #C7A97E;
  --warm-light: #C98A93;
  --ink: #4B3B35;
  --ink-mid: #7A6558;
  --ink-light: #9A8F89;
  --white: #FFFFFF;
  --cream: #F5F1EC;
  --cta: #B14F6D;
  --cta-hover: #94435B;
  --gold: #C7A97E;
  --bege: #DCCFC2;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --r-sm: .5rem;
  --r-md: 1rem;
  --r-lg: 2rem;
  --r-xl: 3rem;

  --ease: cubic-bezier(.22, .68, 0, 1.2);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── NAV ─── */
nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: .75rem 0;
  transition: background .4s, box-shadow .4s;
  background: rgba(245, 241, 236, .94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 75px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color .25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cta);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  background: var(--cta) !important;
  color: var(--white) !important;
  border-radius: 50px;
  font-size: .8rem !important;
  letter-spacing: .05em;
  transition: background .25s, transform .2s !important;
  text-transform: none !important;
}

.nav-cta:hover {
  background: var(--cta-hover) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  position: relative;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--cream);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--bege);
  padding-bottom: 1rem;
}

.mobile-menu-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--cta) !important;
  color: var(--white) !important;
  border-radius: 50px;
  font-size: 1rem;
  font-family: var(--font-body) !important;
  border-bottom: none !important;
}

/* ─── BLOG HERO ─── */
.blog-hero {
  padding: 10rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(177,79,109,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 5% 70%, rgba(199,169,126,.14) 0%, transparent 60%),
    var(--cream);
  text-align: center;
}

.blog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  justify-content: center;
}

.blog-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.blog-hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 1rem;
}

.blog-hero h1 em {
  font-style: italic;
  color: var(--cta);
}

.blog-hero p {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}


/* ─── GRADE DE POSTS ─── */
.blog-section {
  padding: 4rem 0 7rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* post em destaque ocupa 2 colunas */
.blog-grid .post-card:first-child {
  grid-column: span 2;
}

/* ─── CARD DE POST ─── */
.post-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.post-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bege) 0%, var(--sage-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.post-card:first-child .post-thumb {
  aspect-ratio: 16/8;
}

.post-thumb-icon {
  width: 64px;
  height: 64px;
  background: rgba(177,79,109,.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.post-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.post-tag {
  padding: .25rem .75rem;
  background: rgba(177,79,109,.1);
  color: var(--cta);
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.post-tag.sage {
  background: rgba(138,143,120,.15);
  color: var(--sage-dark);
}

.post-tag.gold {
  background: rgba(199,169,126,.18);
  color: #7A5C30;
}

.post-date {
  font-size: .75rem;
  color: var(--ink-light);
}

.post-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.post-card:first-child h2 {
  font-size: 1.9rem;
}

.post-card p {
  font-size: .9rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.7;
  flex: 1;
}

.post-footer {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bege);
}

.post-author {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.post-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cta);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--white);
  font-size: .8rem;
  flex-shrink: 0;
}

.post-author-name {
  font-size: .78rem;
  color: var(--ink-mid);
  font-weight: 500;
}

/* ─── CTA NEWSLETTER ─── */
.blog-cta {
  background: var(--sage);
  padding: 5rem 0;
}

.blog-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.blog-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.blog-cta-inner p {
  color: rgba(245,241,236,.8);
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 300;
}

.cta-wpp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2rem;
  background: var(--white);
  color: var(--cta);
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, transform .2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}

.cta-wpp-btn:hover {
  background: var(--sage-pale);
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
footer {
  background: var(--sage-dark);
  color: rgba(245, 241, 236, .6);
  padding: 3rem 0;
  border-top: 3px solid rgba(245,241,236,.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(245, 241, 236, .6);
}

footer p { font-size: .82rem; }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  color: rgba(245, 241, 236, .5);
  text-decoration: none;
  font-size: .8rem;
  transition: color .25s;
}

.footer-links a:hover { color: var(--cream); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  background: #8A8F78;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 30px rgba(138, 143, 120, .5);
  text-decoration: none;
  animation: wa-pulse 2.5s ease-in-out infinite;
  transition: transform .2s;
}

.wa-float:hover { transform: scale(1.1); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(138, 143, 120, .5); }
  50% { box-shadow: 0 6px 50px rgba(138, 143, 120, .7), 0 0 0 8px rgba(138, 143, 120, .15); }
}

.wa-float svg { width: 28px; height: 28px; fill: #F5F1EC; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid .post-card:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid .post-card:first-child {
    grid-column: span 1;
  }

  .blog-hero { padding: 8rem 0 3.5rem; }
}
