/* ============================================================
   Portal Interior SP — folha de estilo compartilhada
   Público upper-médio/alto · imóveis + turismo interior de SP
   ============================================================ */

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #1f1b16;
  --ink-soft: #5c554b;
  --line: #e6e0d6;
  --brand: #2f5d50;      /* verde profundo — sofisticado, remete a natureza/vinícola */
  --brand-dark: #244a40;
  --gold: #b08b4f;       /* dourado discreto para detalhes premium */
  --radius: 14px;
  --max: 1120px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--serif);
  font-size: 20px; font-weight: 700; letter-spacing: 0.3px;
  color: var(--ink);
}
.logo span { color: var(--brand); }
.nav a {
  color: var(--ink-soft);
  font-size: 14px; font-weight: 600;
  margin-left: 26px;
}
.nav a:hover { color: var(--brand); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  text-align: center;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(47,93,80,0.10), transparent 70%);
}
.hero .kicker {
  text-transform: uppercase; letter-spacing: 2px;
  font-size: 12px; font-weight: 700; color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  max-width: 780px; margin: 0 auto 20px;
}
.hero p {
  font-size: 18px; color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 34px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .05s, background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Seções ---------- */
section { padding: 64px 0; }
.section-title {
  font-family: var(--serif);
  font-size: 28px; margin-bottom: 8px;
}
.section-lead { color: var(--ink-soft); margin-bottom: 36px; max-width: 640px; }

/* ---------- Grade de cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 12px 32px rgba(31,27,22,0.08); transform: translateY(-2px); }
.card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #d9e4df, #c3d4cc);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
}
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold);
}
.card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.card .price { font-weight: 700; color: var(--ink); }

/* ---------- Bloco de anúncio ---------- */
.ad-slot {
  margin: 40px auto;
  max-width: 728px;
  min-height: 90px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #b7b0a4;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, #f4f1ea, #f4f1ea 10px, #faf8f4 10px, #faf8f4 20px);
}

/* ---------- Artigo / ficha ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 56px 0; }
.article .breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.article h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2; margin-bottom: 16px;
}
.article .lead {
  font-size: 19px; color: var(--ink-soft);
  border-left: 3px solid var(--brand); padding-left: 18px;
  margin-bottom: 32px;
}
.article h2 {
  font-family: var(--serif);
  font-size: 24px; margin: 36px 0 12px;
}
.article p { margin-bottom: 16px; }
.article ul { margin: 0 0 20px 22px; }
.article li { margin-bottom: 8px; }

.fact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}
.fact-box h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 14px;
}
.fact-box dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.fact-box dt { color: var(--ink-soft); font-size: 14px; }
.fact-box dd { font-weight: 700; font-size: 14px; text-align: right; }

.disclaimer {
  font-size: 13px; color: var(--ink-soft);
  background: #f4f1ea; border-radius: 10px; padding: 14px 16px;
  margin: 28px 0;
}

.cta-band {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-band h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.cta-band p { opacity: 0.85; margin-bottom: 20px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-primary:hover { background: #f0ede6; }

/* ---------- Rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 14px; color: var(--ink-soft);
}
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 640px) {
  .nav a { margin-left: 16px; font-size: 13px; }
  .site-header .wrap { height: 60px; }
  section { padding: 48px 0; }
}
