/*
Theme Name: Pathrimonium & Kogithare
Description: Tema personalizado em estilo quiet luxury para Thaysa Milleny — Pathrimonium Estratégia Imobiliária e Kogithare Arquitetura e Interiores.
Author: Thaysa Milleny
Version: 1.1
*/

:root {
  --black: #15140F;
  --white: #FFFFFF;
  --sand: #EDE7DA;
  --sand-line: #D9D2C0;
  --gold: #A98A4B;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Painel escuro neutro (substitui o antigo padrão muxarabi) */
.dark-panel {
  background-color: var(--black);
  color: var(--white);
}

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sand-line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 1px;
  font-weight: 500;
}
.logo-divider { color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 22px; height: 1px; background: var(--black); }

.menu-principal {
  display: flex;
  gap: 36px;
  list-style: none;
}
.menu-principal a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.menu-principal a:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--sand-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: 420px; }
  .menu-principal { flex-direction: column; gap: 0; padding: 6px 24px 24px; }
  .menu-principal a { display: block; padding: 14px 0; border-bottom: 1px solid var(--sand-line); }
}

/* ===== Hero ===== */
.hero { padding: 130px 24px 110px; text-align: center; background: var(--white); }
.hero-inner { max-width: 740px; margin: 0 auto; }
.hero-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 18px;
}
.hero-kicker::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero-title { font-size: 2.5rem; margin-bottom: 22px; font-weight: 500; }
.hero-sub { font-size: 1rem; opacity: 0.65; letter-spacing: 0.3px; }

@media (max-width: 600px) {
  .hero { padding: 90px 24px 70px; }
  .hero-title { font-size: 1.8rem; }
}

/* ===== Divisão das duas marcas ===== */
.brand-split { display: grid; grid-template-columns: 1fr 1fr; }
.brand-card {
  padding: 90px 50px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.brand-pathrimonium { background: var(--black); color: var(--white); }
.brand-kogithare { background: var(--sand); color: var(--black); }
.brand-card h2 { font-size: 1.5rem; font-weight: 500; }
.brand-card p { opacity: 0.75; font-size: 0.95rem; }
.brand-cta {
  margin-top: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  display: inline-block;
  width: fit-content;
}

@media (max-width: 760px) {
  .brand-split { grid-template-columns: 1fr; }
  .brand-card { padding: 60px 28px; }
}

/* ===== Títulos de seção ===== */
.section-title {
  text-align: center;
  margin: 90px 0 40px;
  font-size: 1.6rem;
  font-weight: 500;
}

/* ===== Grid de blog ===== */
.blog-grid {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px;
}
.blog-card { background: var(--white); }
.blog-card img, .placeholder-img { height: 220px; object-fit: cover; background: var(--sand); }
.blog-card h3 { padding: 20px 0 0; font-size: 1.05rem; font-weight: 500; }
.blog-card p { padding: 8px 0 0; font-size: 0.88rem; opacity: 0.65; }

/* ===== Chamada para leads ===== */
.cta-leads { padding: 110px 24px; text-align: center; }
.cta-inner { max-width: 580px; margin: 0 auto; }
.cta-inner h2 { font-size: 1.7rem; margin-bottom: 16px; font-weight: 500; }
.cta-inner p { margin-bottom: 36px; opacity: 0.7; }
.cta-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background 0.25s, color 0.25s;
}
.btn-gold { color: var(--gold); background: transparent; }
.btn-gold:hover { background: var(--gold); color: var(--black); }
.btn-outline { border: 1px solid rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Páginas e posts ===== */
.page-content, .single-post, .archive-page { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.page-header h1, .archive-header h1 { font-size: 1.9rem; margin-bottom: 30px; font-weight: 500; }
.post-category { color: var(--gold); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.6px; margin-bottom: 10px; }
.post-meta { opacity: 0.55; font-size: 0.82rem; margin-bottom: 30px; }
.post-thumb { margin-bottom: 36px; }
.post-content p { margin-bottom: 20px; }

/* ===== Rodapé ===== */
.site-footer { padding: 70px 24px 36px; background: var(--sand); color: var(--black); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 500; }
.footer-sub { opacity: 0.65; font-size: 0.9rem; }
.footer-contact a { border-bottom: 1px solid var(--gold); }
.footer-copy { width: 100%; text-align: center; margin-top: 30px; opacity: 0.5; font-size: 0.78rem; }

/* ===== 404 ===== */
.not-found { max-width: 600px; margin: 130px auto; text-align: center; padding: 0 24px; }
.not-found h1 { margin-bottom: 18px; font-weight: 500; }
.not-found p { margin-bottom: 30px; opacity: 0.65; }
