/* ===============================
   RESET E BASE
   =============================== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100%;
  height: 100%;
  background: transparent !important;
}

:host, .wp-block-custom-html, .wp-block-group, .entry-content,
.elementor-widget-container, .elementor-column-wrap,
.sqs-block-html, .post-body, .container {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #2b2b2b;
  background: #f7f2ee;
}

* { box-sizing: border-box; }
a { color: #586653; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ===============================
   CABEÇALHO
   =============================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(0deg, rgba(247,242,238,.96), rgba(247,242,238,.96));
  backdrop-filter: saturate(180%) blur(8px);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  padding: .35rem .75rem;
  color: #fff;
  background: linear-gradient(90deg, #4a301f, #586653);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
  border-bottom: 1px solid #e9e2db;
}
.brand h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  letter-spacing: .3px;
  color: #4a301f;
}
nav.primary {
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.nav-links a {
  font-weight: 600;
  color: #2b2b2b;
  padding: .35rem .6rem;
  border-radius: 999px;
}
.nav-links a:hover {
  background: #ece5de;
}
.menu-btn { display: none; }

/* ===============================
   HERO
   =============================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 10% 10%, #ffffffaa, #ffffff00),
              conic-gradient(from 200deg at 80% 30%, #d8d1c7, #ece6de, #d9e0da, #ece6de);
  z-index: -1;
}
.hero .badge {
  display: inline-block;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: #586653;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.hero h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  margin: .6rem 0 .9rem;
  font-family: "Playfair Display", serif;
  color: #4a301f;
}
.hero p { max-width: 60ch; color: #4a4a4a; }
.hero-cta {
  display: flex;
  gap: .6rem;
  margin-top: .9rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  padding: .75rem 1.05rem;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: #4a301f; color: #fff; }
.btn-ghost { background: #efe7e0; color: #4a301f; }
.hero-card {
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.hero-card .img {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dccfc2, #f2ece5);
  position: relative;
  overflow: hidden;
}
.hero-card h3 {
  margin: .9rem 0 .2rem;
  font-family: "Playfair Display", serif;
  color: #586653;
}

/* ===============================
   SEÇÕES
   =============================== */
section { padding: 2.2rem 0; }
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.section-title h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: #4a301f;
}

/* Categorias com rolagem */
.categories-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: .25rem;
}
.cat-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border-radius: 999px;
  padding: .35rem .7rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.cat-pill .icon-round {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e6ded6, #f3eee8);
  font-size: 20px;
}
.cat-pill span {
  white-space: nowrap;
  color: #4b4b4b;
  font-weight: 600;
}

/* ===============================
   CARDS
   =============================== */
.grid { display: grid; gap: 1.25rem; }
.grid.cards { grid-template-columns: repeat(12, 1fr); }
.card {
  grid-column: span 4;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}
.card .cover {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e6ded6, #f3eee8);
}
.card .body { padding: 1rem; }
.card h4 {
  margin: .1rem 0 .4rem;
  font-family: "Playfair Display", serif;
  color: #4a301f;
}
.card .excerpt { color: #4b4b4b; font-size: .98rem; }
.card .more {
  margin-top: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
}
.pill {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: #586653;
  padding: .35rem .6rem;
  border-radius: 999px;
}

/* ===============================
   RODAPÉ
   =============================== */
footer.site-footer {
  background: linear-gradient(180deg, #586653, #4a301f);
  color: #fff;
}
.footer-top { padding: 2rem 0; }
.footer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 2fr 1fr 1fr;
}
.footer h5 {
  margin: .2rem 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}
.footer a { color: #fff; }
.legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.copyright {
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: .9rem;
  text-align: center;
}

/* ===============================
   RESPONSIVO
   =============================== */
@media (max-width: 980px){
  .hero-inner { grid-template-columns: 1fr; }
  .card { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .header-row { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .card { grid-column: span 12; }
}
