:root {
  --cream: #F7F2E8;
  --cream-dark: #EDE6D6;
  --terracotta: #C4622D;
  --terracotta-dark: #A34E22;
  --cobalt: #1B4D8E;
  --cobalt-dim: #163d71;
  --cobalt-light: #E5EDF8;
  --dark: #1A1108;
  --muted: #7A6E67;
  --white: #FDFAF4;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* NAV */
body > nav {
  position: sticky; top: 0; z-index: 100;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247, 242, 232, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 98, 45, 0.18);
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* WhatsApp scroll-triggered widget (Renata)
   - Appears at 66% scroll, dismissable, hidden 7 days after dismiss
   - Bottom-right floating card, small + unobtrusive
   - Hidden when mobile-cta bar is visible (<=720px) to avoid stacking */
.wa-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 98;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: var(--white, #FDFAF4);
  border: 1px solid rgba(26,17,8,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(26,17,8,0.16), 0 4px 12px rgba(26,17,8,0.08);
  font-family: 'DM Sans', sans-serif;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2,0.7,0.2,1);
  pointer-events: none;
  overflow: hidden;
}
.wa-widget.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-widget-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(26,17,8,0.06);
  color: var(--dark, #1A1108);
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 1;
}
.wa-widget-close:hover { background: rgba(26,17,8,0.12); }
.wa-widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px 14px 18px;
  border-bottom: 1px solid rgba(26,17,8,0.06);
}
.wa-widget-avatar,
.wa-widget-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--cream-dark, #EDE6D6);
}
.wa-widget-avatar-fallback {
  background: linear-gradient(135deg, #C4622D, #A34E22);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
}
.wa-widget-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--dark, #1A1108);
  line-height: 1.2;
}
.wa-widget-role {
  font-size: 11px;
  color: var(--muted, #7A6E67);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.wa-widget-body { padding: 16px 18px 18px; }
.wa-widget-greeting {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dark, #1A1108);
  margin: 0 0 14px;
}
.wa-widget-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.wa-widget-cta:hover { background: #1db955; transform: translateY(-1px); }
.wa-widget-cta svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }
@media (max-width: 720px) {
  /* Hide on mobile — sticky bottom CTA already covers WhatsApp action */
  .wa-widget { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-widget { transition: opacity 0.18s; transform: none; }
  .wa-widget.is-visible { transform: none; }
}

/* Sticky mobile CTA bar (sub-pages) */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 242, 232, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(196, 98, 45, 0.22);
  box-shadow: 0 -8px 24px rgba(26, 17, 8, 0.06);
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-cta .wa { background: #25D366; color: white; }
.mobile-cta .wa svg { width: 17px; height: 17px; fill: white; }
.mobile-cta .form { background: var(--terracotta); color: white; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  /* Bigger touch targets for blog/bairro CTAs */
  .cta-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  /* Reduce heading line-height for mobile readability */
  article.post h2 { font-size: clamp(22px, 5.5vw, 28px); margin-top: 36px; }
  article.post h3 { font-size: clamp(19px, 4.5vw, 22px); }
  article.post p, article.post li { font-size: 16px; }
  /* Lisboa map fits without horizontal scroll */
  .lisbon-map .zone-label { font-size: 9px; }
  /* No tilt on touch */
  .testimonial-card, .bairro-card { transform: none !important; }
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--dark); text-decoration: none;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.nav-logo span { color: var(--terracotta); }
.nav-logo-icon { flex-shrink: 0; display: block; }
@media (max-width: 600px) { .nav-logo-icon { width: 24px; height: 24px; } }
.nav-cta {
  background: var(--terracotta); color: var(--white);
  border: none; padding: 10px 26px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--terracotta-dark); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  background: none; border: 1px solid rgba(196,98,45,0.4);
  color: var(--terracotta); padding: 7px 14px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; letter-spacing: .12em;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.lang-toggle:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

/* Main menu (shared with homepage) */
.nav-menu {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.nav-menu a {
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--dark); text-decoration: none;
  position: relative; padding: 6px 0; transition: color 0.18s;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.nav-menu a:hover { color: var(--terracotta); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--dark);
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1180px) {
  .nav-menu {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(247, 242, 232, 0.98);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    padding: 18px 24px 28px;
    border-bottom: 1px solid rgba(196, 98, 45, 0.18);
    transform: translateY(calc(-100% - 64px)); transition: transform 0.25s ease;
    align-items: flex-start;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu a { padding: 12px 0; font-size: 15px; width: 100%; }
  .nav-toggle { display: inline-flex; }
}

/* HEADER */
.post-header {
  padding: 100px 80px 60px;
  max-width: 880px; margin: 0 auto;
}
.crumb {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 28px;
}
.crumb a { color: var(--terracotta); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.post-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark); margin-bottom: 24px;
}
.post-meta {
  font-size: 13px; color: var(--muted);
  display: flex; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid rgba(26,17,8,0.12);
  padding-top: 20px;
}

/* ARTICLE */
article.post {
  max-width: 720px; margin: 0 auto;
  padding: 30px 80px 80px;
}
article.post p, article.post ul, article.post ol {
  font-size: 17px; color: #2c2418;
  margin-bottom: 22px;
}
article.post p.lead {
  font-size: 19px; color: var(--dark);
  font-weight: 400; margin-bottom: 32px;
  padding-left: 16px; border-left: 3px solid var(--terracotta);
}
article.post h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--dark); margin: 48px 0 20px;
}
article.post h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--dark); margin: 32px 0 14px;
}
article.post ul, article.post ol { padding-left: 24px; }
article.post li { margin-bottom: 8px; font-size: 17px; }
article.post a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
article.post a:hover { color: var(--terracotta); }
article.post strong { font-weight: 600; color: var(--dark); }
article.post blockquote {
  border-left: 3px solid var(--cobalt);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic;
  color: var(--cobalt);
}

/* CTA */
.cta-box {
  margin: 56px 0;
  padding: 40px;
  background: var(--white);
  border: 1px solid rgba(196,98,45,0.2);
  border-left: 4px solid var(--terracotta);
}
.cta-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600;
  margin: 0 0 12px; color: var(--dark);
}
.cta-box p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.cta-btn {
  display: inline-block;
  background: var(--terracotta); color: white;
  padding: 14px 32px; text-decoration: none;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--terracotta-dark); }

/* RELATED */
.related {
  max-width: 880px; margin: 0 auto;
  padding: 60px 80px 80px;
  border-top: 1px solid rgba(26,17,8,0.12);
}
.related h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400;
  margin-bottom: 28px;
}
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related-card {
  display: block; padding: 24px;
  background: var(--white); text-decoration: none;
  border: 1px solid rgba(26,17,8,0.1);
  transition: border-color 0.2s, transform 0.15s;
}
.related-card:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.related-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600;
  color: var(--dark); margin-bottom: 8px;
}
.related-card p { font-size: 14px; color: var(--muted); }

/* FOOTER */
footer {
  background: var(--dark); color: var(--cream);
  padding: 44px 80px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  border-top: 2px solid rgba(196, 98, 45, 0.3);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; color: var(--cream);
}
.footer-logo span { color: var(--terracotta); }
.footer-loc, .footer-copy {
  font-size: 12px; color: rgba(122,110,103,0.5);
}
.footer-loc a { color: inherit; text-decoration: none; }
.footer-credit {
  width: 100%;
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(122,110,103,0.45);
}
.footer-credit a {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-credit a:hover { color: var(--cream); }

/* BLOG INDEX */
.blog-hero {
  padding: 120px 80px 60px;
  max-width: 880px; margin: 0 auto;
}
.blog-hero .label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.blog-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300; letter-spacing: -0.02em;
  line-height: 1.05; color: var(--dark); margin-bottom: 18px;
}
.blog-hero p { font-size: 17px; color: var(--muted); max-width: 600px; }
.posts {
  max-width: 880px; margin: 0 auto;
  padding: 30px 80px 100px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(26,17,8,0.06);
}
.post-card {
  display: block; padding: 32px;
  background: var(--white);
  text-decoration: none;
  transition: background 0.2s;
}
.post-card:hover { background: var(--cream); }
.post-card .date {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 10px;
}
.post-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: var(--dark); margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.post-card p { font-size: 15px; color: var(--muted); }

@media (max-width: 820px) {
  body > nav { padding: 14px 20px; }
  .post-header, article.post, .related, .blog-hero, .posts { padding-left: 24px; padding-right: 24px; }
  .post-header { padding-top: 60px; }
  .blog-hero { padding-top: 80px; }
  .related-list { grid-template-columns: 1fr; }
  footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

/* ── Real Google reviews block (bairros + precos) ── */
.cj-reviews { max-width: 1000px; margin: 44px auto; padding: 0 24px; }
.cj-rating { text-align: center; font-size: 16px; margin: 0 0 20px; color: #2A2622; }
.cj-rating .cj-stars { color: #F5A623; letter-spacing: 2px; }
.cj-rating a { color: #1B4D8E; font-weight: 600; text-decoration: none; }
.cj-rating a:hover { text-decoration: underline; }
.cj-reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cj-review { margin: 0; background: #fff; border: 1px solid #e8e0d4; border-radius: 12px; padding: 18px 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.cj-review::before { content: "★★★★★"; color: #F5A623; font-size: 13px; letter-spacing: 1px; display: block; margin-bottom: 8px; }
.cj-review p { margin: 0 0 10px; font-style: italic; color: #3a342e; line-height: 1.5; font-size: 15px; }
.cj-review cite { font-style: normal; font-weight: 600; font-size: 13px; color: #7A6E67; }
