:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #eef3ec;
  --ink: #1a2e22;
  --ink-2: #4a5d52;
  --ink-3: #718276;
  --line: #dde3da;
  --green: #1d5c3f;
  --green-2: #14402c;
  --green-soft: #e3efe6;
  --terra: #c2511f;
  --terra-soft: #fbeadd;
  --gold: #b7791f;
  --gold-soft: #fbf0d3;
  --wa: #1faa55;
  --wa-dark: #128c4a;
  --navy: #1d2d44;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 10px 28px rgba(20, 64, 44, 0.06);
  --shadow-lg: 0 18px 42px rgba(20, 64, 44, 0.11);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101713;
    --surface: #1a241e;
    --surface-2: #223027;
    --ink: #eef4ee;
    --ink-2: #bcc9c0;
    --ink-3: #8c9c91;
    --line: #2b3a30;
    --green: #4cc38a;
    --green-2: #122d20;
    --green-soft: #1b3829;
    --terra: #eb8457;
    --terra-soft: #3a2319;
    --gold: #eab354;
    --gold-soft: #352b17;
    --wa: #25c464;
    --wa-dark: #1aa350;
    --navy: #1b283b;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.45);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #14402c;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav a.nav-cta {
  background: var(--wa);
  color: #ffffff;
  padding: 10px 16px;
}

.nav a.nav-cta:hover {
  background: var(--wa-dark);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
  }
}

/* Sections & Headings */
.section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-lead {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 720px;
}

/* Hero */
.hero {
  padding: 24px 0 18px;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #14402c;
}

.hero-media {
  width: 100%;
  height: clamp(240px, 36vw, 390px);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 34, 23, 0.9) 0%,
    rgba(14, 34, 23, 0.48) 52%,
    rgba(14, 34, 23, 0.12) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 4vw, 38px);
  color: #ffffff;
}

.eyebrow-serif {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: clamp(14px, 1.8vw, 17px);
  color: #f4e6cf;
  margin: 0 0 6px;
}

.hero-overlay h1 {
  margin: 0;
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 680px;
}

.hero-intro {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 20px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero-intro {
    grid-template-columns: 1fr;
  }
}

.hero-lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

.metrics-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.metric-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 105px;
  box-shadow: var(--shadow);
}

.metric-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}

.metric-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Search Panel */
.search-panel {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.search-form {
  display: flex;
  gap: 10px;
}

@media (max-width: 560px) {
  .search-form {
    flex-direction: column;
  }
}

.search-input {
  flex: 1;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
}

.search-input:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: #14402c;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d5c3f;
}

.btn-wa {
  background: var(--wa);
  color: #ffffff;
}

.btn-wa:hover {
  background: var(--wa-dark);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-light {
  background: #ffffff;
  color: #14402c;
}

.btn-light:hover {
  background: #eef3ec;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.chips-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  margin-right: 4px;
}

.chip {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
}

.chip:hover,
.chip.is-active {
  background: #14402c;
  color: #ffffff;
  border-color: #14402c;
}

/* Rotating Banner (Bug-Free Grid Layout) */
.banner-section {
  padding: 12px 0 24px;
}

.banner-viewport {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.banner-slide {
  display: none;
  color: #ffffff;
  padding: 24px 62px;
  min-height: 126px;
  align-items: center;
  gap: 18px;
}

.banner-slide.is-active {
  display: grid;
  grid-template-columns: auto 1fr auto;
  animation: bannerFadeIn 0.35s ease;
}

@keyframes bannerFadeIn {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.banner-slide.theme-terra {
  background: linear-gradient(135deg, #9f3e14 0%, #c2511f 100%);
}

.banner-slide.theme-green {
  background: linear-gradient(135deg, #103725 0%, #1d5c3f 100%);
}

.banner-slide.theme-navy {
  background: linear-gradient(135deg, #152233 0%, #243955 100%);
}

.banner-badge {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #ffffff;
  color: #14402c;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.banner-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 6px;
}

.banner-title {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.banner-sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.banner-arrow:hover {
  background: rgba(0, 0, 0, 0.45);
}

.banner-prev {
  left: 12px;
}

.banner-next {
  right: 12px;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.banner-dot {
  width: 26px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.banner-dot.is-active {
  width: 40px;
  background: var(--green);
}

.banner-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.banner-note a {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 740px) {
  .banner-slide.is-active {
    grid-template-columns: 1fr;
    padding: 20px 48px;
    gap: 12px;
  }

  .banner-badge {
    width: 48px;
    height: 48px;
    font-size: 11px;
  }
}

/* Founder Featured Card */
.founder-card {
  background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--gold) 55%, var(--line));
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

@media (max-width: 860px) {
  .founder-card {
    grid-template-columns: 1fr;
  }
}

.founder-media {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.founder-body {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.founder-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.founder-sub {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  color: var(--ink-2);
  font-size: 16px;
}

.price-callout {
  background: var(--terra-soft);
  border-left: 4px solid var(--terra);
  border-radius: 12px;
  padding: 14px 16px;
}

.price-big {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--terra);
  line-height: 1.15;
}

.price-desc {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 4px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.meta-list {
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Directory Grid */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.results-count {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card.is-founder {
  border: 2px solid color-mix(in srgb, var(--gold) 60%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold-soft) 30%, var(--surface)) 0%, var(--surface) 45%);
}

.card-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.card.is-founder .card-cat {
  color: var(--gold);
}

.card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  flex: 1;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.card-loc {
  color: var(--ink-3);
  font-weight: 600;
}

.card-link {
  color: var(--green);
  font-weight: 800;
}

.empty-state {
  display: none;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--ink-2);
}

.empty-state.is-visible {
  display: block;
}

/* Split Panels: Igrejas & Serviços */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 780px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 800;
}

.list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.list-item:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.list-item strong {
  display: block;
  font-size: 15px;
}

.list-item span {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
}

.pill-free {
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Imoveis */
.imovel-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.imovel-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  flex: 1;
}

.imovel-photo-cap {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.imovel-photo-cap strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notice-box {
  margin-top: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink-2);
}

/* Anuncie Aqui */
.anuncie-box {
  background: #14402c;
  color: #ffffff;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 38px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .anuncie-box {
    grid-template-columns: 1fr;
  }
}

.anuncie-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #e3efe6;
}

.anuncie-box h2 {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.anuncie-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.pricing-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 18px;
  padding: 20px;
}

.pricing-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.plan-item.is-best {
  border: 2px solid var(--gold);
  background: var(--gold-soft);
}

.plan-name {
  font-weight: 800;
  font-size: 14.5px;
}

.plan-sub {
  font-size: 12.5px;
  color: var(--ink-2);
}

.plan-price {
  font-weight: 800;
  font-size: 17px;
  color: var(--green);
  white-space: nowrap;
}

.check-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

.check-list li::before {
  content: '✓ ';
  color: var(--wa);
  font-weight: 800;
}

/* Steps */
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Subpages / Breadcrumb / Article */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  margin: 22px 0 12px;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 700;
}

.article-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.article-box h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.article-box h2 {
  margin: 26px 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.claim-box {
  margin-top: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Footer */
.footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 34px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
}

.footer p,
.footer li {
  font-size: 13.5px;
  color: var(--ink-2);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* Modal Dialog */
dialog.wa-dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  max-width: 480px;
  width: calc(100% - 28px);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

dialog.wa-dialog::backdrop {
  background: rgba(12, 22, 16, 0.58);
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.dialog-close {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
}

.dialog-preview {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}

/* Fixed Featured Grid & Mobile Optimization */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.featured-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
}

.featured-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.destaque-footnote {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
}

.destaque-footnote a {
  color: var(--green);
  font-weight: 700;
}

.demo-note {
  margin: 0;
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-3);
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  .card,
  .panel {
    padding: 18px;
  }

  .metrics-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .metric-box {
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
  }

  .metric-num {
    font-size: 19px;
  }

  .metric-label {
    font-size: 10px;
  }

  .founder-media {
    min-height: 200px;
    max-height: 230px;
  }

  .actions-row .btn,
  .section-head .btn,
  .featured-card-actions .btn {
    width: 100%;
  }
}
