/* GERADO por scripts/baixar_fontes.mjs — não editar à mão. Fontes do Google Fonts (OFL), alojadas no site. */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/playfair-display-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/playfair-display-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/playfair-display-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/playfair-display-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Pousadas à Venda em Caraíva — vitrine estática (gerada por scripts/gerar.mjs).
   Identidade herdada do site antigo (verde, dourado, Playfair Display + Inter), com contraste WCAG AA. */
:root {
  --verde: #10382d;       /* texto sobre creme 12,4:1 */
  --verde-claro: #1d5c4a;
  --ouro: #b8862f;        /* só decorativo / fundos com texto escuro */
  --ouro-escuro: #7a5718; /* links sobre creme 5,6:1 */
  --creme: #f7f3ec;
  --creme-2: #efe8db;
  --tinta: #1d1b19;
  --tinta-suave: #5a534b; /* 6,6:1 sobre creme */
  --linha: #ddd3c2;
  --raio: 14px;
  --container: 1180px;
  --pad: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--tinta); font: 400 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ouro-escuro); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.15; color: var(--verde); margin: 0; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
@media (min-width: 900px) { :root { --pad: 40px; } }
.eyebrow { font: 600 12px/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-escuro); }
.muted { color: var(--tinta-suave); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* cabeçalho */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .96); border-bottom: 1px solid var(--linha); backdrop-filter: blur(8px); }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marca { font: 700 20px/1.1 "Playfair Display", Georgia, serif; color: var(--verde); text-decoration: none; }
.marca small { display: block; font: 600 10px/1.4 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--tinta-suave); }
.menu { display: flex; gap: 22px; align-items: center; }
.menu a { color: var(--tinta); text-decoration: none; font-size: 15px; }
.menu a:hover { color: var(--verde-claro); text-decoration: underline; }
.menu a.btn-verde, .menu a.btn-verde:hover { color: #fff; text-decoration: none; } /* a regra do menu pintava o texto do botão de escuro sobre verde */
@media (max-width: 860px) { .menu a:not(.btn) { display: none; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15px/1 Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-verde { background: var(--verde); color: #fff; }
.btn-verde:hover { background: var(--verde-claro); }
.btn-linha { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 1.5px var(--verde); }
.btn-claro { background: #fff; color: var(--verde); }

/* hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 23, 21, .15) 0%, rgba(10, 23, 21, .35) 45%, rgba(10, 23, 21, .86) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p { margin-top: 18px; max-width: 620px; font-size: 18px; color: rgba(255, 255, 255, .92); }
.hero .eyebrow { color: #f1d9a4; }
.hero .acoes { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* secções */
.secao { padding: 72px 0; }
.secao-alt { background: var(--creme-2); }
.secao-escura { background: var(--verde); color: #fff; }
.secao-escura h2, .secao-escura h3 { color: #fff; }
.secao-escura .muted { color: rgba(255, 255, 255, .8); }
.cabeca { max-width: 760px; margin-bottom: 32px; }
.cabeca p { margin-top: 12px; }

/* cartões */
.grelha { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cartao { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.cartao:hover { box-shadow: 0 10px 30px rgba(16, 56, 45, .12); }
.cartao .foto { aspect-ratio: 4 / 3; overflow: hidden; background: var(--creme-2); position: relative; }
.cartao .foto img { width: 100%; height: 100%; object-fit: cover; }
.selo { position: absolute; left: 12px; top: 12px; background: var(--verde); color: #fff; font: 600 12px/1 Inter, sans-serif; padding: 7px 10px; border-radius: 6px; letter-spacing: .04em; }
.selo-vendida { background: #6b1f1f; }
.cartao .corpo { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cartao .preco { font: 700 22px/1.2 "Playfair Display", Georgia, serif; color: var(--verde); margin-top: auto; }
/* outros imóveis (secundário): cartões menores */
.grelha-mini { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cartao-mini .corpo { padding: 14px; gap: 4px; }
.cartao-mini h3 { font-size: 16px; }
.cartao-mini .preco { font-size: 17px; }
.dados { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--tinta-suave); }

/* destaque (pousada principal) */
.destaque { display: grid; gap: 32px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.destaque .foto { border-radius: var(--raio); overflow: hidden; aspect-ratio: 4 / 3; }
.destaque .foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .destaque { grid-template-columns: 1fr; } }

/* página de imóvel */
.trilha { font-size: 13px; color: var(--tinta-suave); padding-top: 20px; }
.trilha ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.trilha li + li::before { content: "/"; margin-right: 8px; }
.trilha a { color: inherit; }
.galeria-topo { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 520px; border-radius: var(--raio); overflow: hidden; margin-top: 16px; }
.galeria-topo a:first-child { grid-row: span 2; }
.galeria-topo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .galeria-topo { display: block; height: auto; } .galeria-topo a:not(:first-child) { display: none; } .galeria-topo img { aspect-ratio: 4 / 3; } }
.imovel { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr; padding: 36px 0 60px; }
@media (max-width: 900px) { .imovel { grid-template-columns: 1fr; } }
.caixa { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 24px; }
.caixa + .caixa { margin-top: 16px; }
.lateral { align-self: start; position: sticky; top: 90px; }
.preco-grande { font: 700 36px/1.1 "Playfair Display", Georgia, serif; color: var(--verde); margin: 6px 0 10px; }
.ficha { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ficha li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--linha); padding-bottom: 8px; font-size: 15px; }
.texto-anuncio { white-space: pre-line; margin-top: 12px; }
.aviso { border-left: 4px solid var(--ouro); background: #fffaf0; padding: 18px 20px; border-radius: 8px; margin-top: 24px; }
.aviso ul { margin: 10px 0 0; padding-left: 18px; }
.aviso li { margin-top: 6px; }
.mosaico { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.mosaico a { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--creme-2); }
.mosaico img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .mosaico { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: 16px 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--verde); }
.faq details p { margin-top: 10px; }

/* texto longo (páginas legais e guia) */
.prosa { max-width: 780px; }
.prosa h2 { font-size: 28px; margin-top: 36px; }
.prosa p, .prosa ul, .prosa ol { margin-top: 12px; }

/* rodapé */
.rodape { background: #0c2b22; color: rgba(255, 255, 255, .85); padding: 48px 0 32px; font-size: 14px; }
.rodape a, .rodape button { color: #f1d9a4; }
.rodape .container { display: grid; gap: 24px; grid-template-columns: 2fr 1fr; }
.rodape .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.rodape button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 720px) { .rodape .container { grid-template-columns: 1fr; } }

/* aviso de privacidade (consentimento) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; z-index: 2147483600; background: #0c2b22; color: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); font-size: 14px; }
.consent[hidden] { display: none; }
.consent a { color: #f1d9a4; }
.consent strong { color: #fff; }
.consent .acoes { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.consent .btn { padding: 11px 20px; font-size: 14px; background: #fff; color: var(--verde); }
@media (max-width: 520px) { .consent .acoes { flex-direction: column; } }

/* CTA fixo no telemóvel */
.cta-fixo { display: none; }
@media (max-width: 720px) {
  .cta-fixo { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; }
  .cta-fixo .btn { flex: 1; }
  body { padding-bottom: 76px; }
}
