/* Article Template CSS - Shared across all article/guide pages */
/* Reference: rentabilidade-airbnb-florianopolis */

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

:root {
  --bg: #0A0A0A;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1C1C1C;
  --gold: #C9A96E;
  --gold-light: #E2CFA0;
  --gold-dim: #8B7547;
  --gold-glow: rgba(201, 169, 110, 0.08);
  --text: #F0EDE8;
  --text-muted: #9A9590;
  --text-dim: #8A8580;
  --border: rgba(201, 169, 110, 0.12);
  --border-strong: rgba(201, 169, 110, 0.25);
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --green: #4CAF50;
  --red: #E57373;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--border-strong);
}

/* Hero */
.hero {
  padding: 140px 2rem 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero .container {
  max-width: 900px;
  margin: 0 auto;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero .meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.hero .meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* TOC */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 800px;
}

.toc h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.toc ol {
  list-style: none;
  counter-reset: toc-counter;
}

.toc li {
  counter-increment: toc-counter;
  margin-bottom: 0.75rem;
}

.toc a {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.toc a:hover {
  color: var(--gold);
}

.toc a::before {
  content: counter(toc-counter) ".";
  color: var(--gold-dim);
  font-weight: 600;
  min-width: 1.5rem;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 3rem auto;
  max-width: 1100px;
}

.stat-item {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-sub { font-size: 0.75rem; color: var(--text-muted); display: block; }

/* Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.article-section {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.article-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

.article-section--elevated {
  background: var(--bg-elevated);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 2rem auto;
  max-width: 800px;
  text-align: center;
}

.article-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.article-section h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
  letter-spacing: 0.01em;
}

.article-section h4 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.article-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.article-section ul,
.article-section ol {
  margin: 1.5rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.article-section li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.article-section strong {
  color: var(--gold);
  font-weight: 600;
}

.article-section p a,
.article-content p a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  transition: all 0.2s ease;
}

.article-section p a:hover,
.article-content p a:hover {
  color: #E5C78E;
  border-bottom-color: var(--gold);
}

/* Highlight Box */
.highlight-box {
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.highlight-box p {
  margin-bottom: 0;
}

.highlight-box.warning {
  border-left-color: #FFC107;
  background: rgba(255, 193, 7, 0.05);
}

.highlight-box.success {
  border-left-color: var(--green);
  background: rgba(76, 175, 80, 0.05);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table thead {
  background: var(--bg-elevated);
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  text-align: left;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-strong);
  letter-spacing: 0.02em;
}

.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: var(--bg-card-hover);
}

.comparison-table .highlight-cell {
  color: var(--gold);
  font-weight: 600;
}

.comparison-table .positive {
  color: var(--green);
}

.comparison-table .negative {
  color: var(--red);
}

/* Step Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.step-card p:last-child {
  margin-bottom: 0;
}

/* Inline CTA */
.inline-cta {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.inline-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.inline-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.inline-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.inline-cta .cta-button:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.inline-cta .cta-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.faq h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-card-hover);
  color: var(--gold);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.cta-section .container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-section .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-section .cta-button:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
}

.cta-section .cta-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero Actions (botões no hero) */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #0A0A0A;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #E5C78E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(201, 169, 110, 0.1);
  transform: translateY(-2px);
}

/* Data Cards */
.data-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.data-card {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1), rgba(201, 169, 110, 0.05));
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.data-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.2);
}

.data-card-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.data-card-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

.data-card-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.data-card-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.data-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.3);
  transform: scale(1.02);
}

/* Neighborhood Cards */
.neighborhood-card {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(201, 169, 110, 0.03));
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  transition: all 0.3s ease;
}

.neighborhood-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.25);
}

.neighborhood-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.neighborhood-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.neighborhood-tag {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-style: italic;
}

.neighborhood-body {
  margin-bottom: 1.5rem;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.neighborhood-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.neighborhood-stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.neighborhood-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

.neighborhood-link,
.guide-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.neighborhood-link:hover,
.guide-link a:hover {
  color: #E5C78E;
  transform: translateX(4px);
}

/* Bar Chart */
.bar-chart {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.bar-row {
  margin-bottom: 1.25rem;
}

.bar-row:last-child {
  margin-bottom: 0;
}

.bar-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bar-track {
  position: relative;
  width: 100%;
  height: 32px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), rgba(201, 169, 110, 0.7));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.75rem;
  transition: width 1s ease;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0A0A0A;
}

.bar-fill.highlight {
  background: linear-gradient(90deg, #FFD700, var(--gold));
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.4);
}

.bar-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0A0A0A;
}

/* Table Highlight */
.highlight-row {
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.05));
  border-left: 3px solid var(--gold);
}

.highlight-row td {
  font-weight: 600;
}

/* Source References */
.source-ref {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 0.5rem;
  display: block;
}

/* Inline CTA */
.inline-cta-text {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.inline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #0A0A0A;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.inline-cta-btn:hover {
  background: #E5C78E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

/* Callout */
.callout {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.08));
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.callout-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.callout p {
  margin-bottom: 0.75rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Sources Section */
.sources {
  max-width: 800px;
  margin: 3rem auto 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.sources h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.sources ul {
  list-style: none;
  padding: 0;
}

.sources li {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.sources li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Cross Links */
.cross-links {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.cross-links h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.cross-links ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.cross-links a {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cross-links a:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(4px);
}

/* Featured Projects (Empreendimentos em Destaque) */
.featured-projects {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.featured-projects h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}

.featured-project-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-project-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.featured-project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.featured-project-card .project-info {
  padding: 1rem 1.25rem;
}

.featured-project-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.featured-project-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.featured-project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}


/* Property Cards */
.property-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.property-card-content {
  padding: 1.5rem;
}

.property-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.property-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.property-card a {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.property-card a:hover {
  color: var(--gold-light);
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--gold, #C9A96E);
  color: #000;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--gold, #C9A96E);
  outline-offset: 2px;
}

/* Info Cards (o-que-e-spe — ícones grandes) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}

.info-card:hover { border-color: var(--gold-dim); }

.info-card-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  stroke: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.info-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.info-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Sources / References */
.sources a,
.sources ol li a,
.sources ul li a,
.sources-list a {
  color: var(--gold);
  text-decoration: none;
}

.sources a:hover,
.sources-list a:hover { color: var(--gold-light); text-decoration: underline; }

.sources-list { list-style: none; margin: 1rem 0; padding: 0; }

.sources-list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.sources-list li:last-child { border-bottom: none; }
.sources-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold-dim); }

/* Property Card extras (buy-property EN + o-que-e-spe) */
.property-card-bar { height: 4px; width: 100%; }

.property-location {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.property-highlights { list-style: none; margin: 0.5rem 0 !important; padding: 0; }

.property-highlights li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.2rem 0 0.2rem 1.2rem;
  position: relative;
}

.property-highlights li::before { content: '·'; position: absolute; left: 0; color: var(--gold); }

.property-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.75rem !important;
}

/* ES-specific property card inner classes */
.property-card-header { padding: 1rem 1.5rem 0; }
.property-card-location { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.25rem !important; }
.property-card-body { padding: 0 1.5rem 1.5rem; }
.property-card-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); margin: 0.75rem 0 !important; }
.property-card-features { list-style: none; margin: 0.75rem 0 !important; padding: 0; }
.property-card-features li { font-size: 0.85rem; color: var(--text-muted); padding: 0.2rem 0 0.2rem 1.2rem; position: relative; }
.property-card-features li::before { content: '·'; position: absolute; left: 0; color: var(--gold); }

/* Projects Grid (off-plan EN — .projects-grid, .project-card) */
.projects-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }

@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s ease;
  overflow: hidden;
}

.project-card:hover { border-color: var(--gold-dim); }
.project-content { padding: 1.5rem; }

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.project-location { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.75rem !important; }

.project-highlights { list-style: none; margin: 0.75rem 0 1rem !important; padding: 0; }

.project-highlights li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}

.project-highlights li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; }
.project-price { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold); margin: 0.75rem 0 !important; }

/* Featured blocks (aluguel-temporada, imovel-na-planta) */
.featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: block;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.featured:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.featured-inner { display: flex; }

.featured-img {
  width: 180px;
  min-width: 180px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 0.75rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold);
  text-transform: uppercase;
}

.featured-placeholder {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-dim);
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.3;
}

.featured-content { padding: 1.5rem; flex: 1; }
.featured-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-dim); margin-bottom: 0.25rem !important; }
.featured-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-light); margin-bottom: 0.25rem; }
.featured-location { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.75rem !important; }
.featured-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem !important; }

.featured-meta { display: flex; gap: 2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.featured-meta-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-dim); letter-spacing: 0.5px; }
.featured-meta-value { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); }

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.featured-cta svg { width: 16px; height: 16px; }
.featured:hover .featured-cta { gap: 0.75rem; }

/* CTA múltiplos botões */
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.cta-buttons .cta-button { flex: 1; min-width: 160px; text-align: center; justify-content: center; }

/* Savings Example (o-que-e-spe) */
.savings-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}
.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.savings-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.savings-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
}
.savings-item span:last-child {
  color: var(--text);
  font-weight: 500;
}
.savings-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  font-family: var(--font-display);
}
.savings-total span:first-child {
  font-size: 1rem;
  color: var(--text-muted);
}
.savings-total span:last-child {
  font-size: 1.4rem;
  color: var(--gold);
}
@media (max-width: 600px) {
  .savings-grid { grid-template-columns: 1fr; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 120px 1.5rem 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .hero .meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 0 1.5rem 3rem;
  }

  .article-section h2 {
    font-size: 1.6rem;
  }

  .article-section h3 {
    font-size: 1.3rem;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
  }

  .toc {
    padding: 1.5rem;
  }

  .cross-links ul {
    grid-template-columns: 1fr;
  }

  .featured-projects-grid {
    grid-template-columns: 1fr;
  }

  .featured-inner { flex-direction: column; }
  .featured-img { width: 100%; min-width: unset; padding: 1.5rem; }


  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }
}
