/* ORS Projetos: vitrine, filtros, ficha e página do projeto.
   As cores ficam nestas variáveis; a variação da marca da loja muda só aqui. */
:root {
	--ors-ink: #1E2B3A;
	--ors-muted: #4A5663;
	--ors-primary: #13283B;
	--ors-primary-line: #2C3F55;
	--ors-accent: #B5622D;
	--ors-accent-dark: #934B21;
	--ors-accent-light: #E39A64;
	--ors-bg: #FFFFFF;
	--ors-soft: #F6F2EC;
	--ors-sand: #DCD3C4;
	--ors-line: #E7E0D4;
	--ors-radius: 6px;
	--ors-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ors-serif: "Lora", Georgia, serif;
}

/* ---------- base: fontes e botões do WooCommerce na cor da marca ---------- */
body, button, input, select, textarea { font-family: var(--ors-sans); }
body { color: var(--ors-ink); }
.entry-title, .product_title, .woocommerce-products-header__title, .page-title { font-family: var(--ors-serif); font-weight: 600; color: var(--ors-primary); }
a { color: var(--ors-accent); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link), .single_add_to_cart_button {
	background-color: var(--ors-accent) !important; color: #fff !important; border-radius: var(--ors-radius) !important; font-weight: 600 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover, .single_add_to_cart_button:hover { background-color: var(--ors-accent-dark) !important; }
.woocommerce .price, .woocommerce-Price-amount { color: var(--ors-primary); }

/* ---------- cabeçalho ---------- */
.ors-hd { position: sticky; top: 0; z-index: 50; background: var(--ors-bg); border-bottom: 1px solid var(--ors-line); font-family: var(--ors-sans); }
.admin-bar .ors-hd { top: 32px; }
.ors-hd__in { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; gap: 24px; }
.ors-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ors-ink); margin-right: auto; }
.ors-logo__mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ors-primary); color: #fff; font: 700 13px/1 var(--ors-sans); letter-spacing: .06em; border-radius: 4px; box-shadow: inset -4px 0 0 var(--ors-accent); }
.ors-logo__txt { font: 600 20px/1 var(--ors-serif); color: var(--ors-primary); }
.ors-logo__txt small { display: block; margin-top: 4px; font: 500 11px/1 var(--ors-sans); letter-spacing: .04em; color: var(--ors-muted); }
.ors-nav { display: flex; align-items: center; gap: 28px; }
.ors-nav ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.ors-nav ul a { font-size: 15px; font-weight: 500; color: var(--ors-ink); text-decoration: none; }
.ors-nav ul a:hover { color: var(--ors-accent); }
.ors-hd__actions { display: flex; align-items: center; gap: 16px; }
.ors-hd__cart { font-size: 15px; color: var(--ors-ink); text-decoration: none; }
.ors-hd__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ors-accent); color: #fff; font-size: 12px; font-weight: 600; }
.ors-hd__wa { height: 40px; padding: 0 18px; font-size: 14px; }
.ors-hd__toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.ors-hd__toggle span { display: block; height: 2px; background: var(--ors-primary); border-radius: 2px; transition: transform .2s, opacity .2s; }
.ors-hd.is-open .ors-hd__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ors-hd.is-open .ors-hd__toggle span:nth-child(2) { opacity: 0; }
.ors-hd.is-open .ors-hd__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
	.ors-hd__in { height: 64px; padding: 0 16px; }
	.ors-hd__toggle { display: flex; }
	.ors-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--ors-bg); border-bottom: 1px solid var(--ors-line); box-shadow: 0 12px 24px rgba(19, 40, 59, .08); }
	.ors-hd.is-open .ors-nav { display: flex; }
	.ors-nav ul { flex-direction: column; gap: 0; }
	.ors-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ors-line); font-size: 16px; }
	.ors-hd__actions { justify-content: space-between; padding-top: 16px; }
	.admin-bar .ors-hd { top: 0; }
}

/* ---------- rodapé ---------- */
.ors-ft { background: var(--ors-primary); color: var(--ors-sand); font-family: var(--ors-sans); font-size: 15px; }
.ors-ft__in { max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px; display: grid; gap: 32px; grid-template-columns: 1.6fr 1fr 1.2fr; }
.ors-ft a { color: var(--ors-sand); text-decoration: none; }
.ors-ft a:hover { color: #fff; }
.ors-ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ors-ft p { margin: 0 0 10px; line-height: 1.6; }
.ors-ft__logo { font: 600 22px/1.2 var(--ors-serif); color: #fff; }
.ors-ft__h { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ors-accent-light); }
.ors-ft__rt { font-size: 13px; opacity: .85; }
.ors-ft__copy { max-width: 1200px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid var(--ors-primary-line); font-size: 13px; opacity: .8; }
@media (max-width: 767px) { .ors-ft__in { grid-template-columns: 1fr; padding: 40px 20px 24px; } .ors-ft__copy { padding: 16px 20px 24px; } }

/* ---------- filtros ---------- */
.ors-filtro { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 20px; background: var(--ors-soft); border: 1px solid var(--ors-line); border-radius: var(--ors-radius); }
.ors-filtro fieldset { display: flex; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ors-filtro legend { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ors-accent); margin-bottom: 6px; padding: 0; }
.ors-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ors-muted); min-width: 0; }
.ors-field input, .ors-field select { height: 44px; padding: 0 12px; font-size: 16px; color: var(--ors-ink); background: var(--ors-bg); border: 1px solid #C9C1B4; border-radius: var(--ors-radius); width: 100%; box-sizing: border-box; }
.ors-terreno .ors-field { width: 96px; }
.ors-filtro > .ors-field { width: 150px; }
.ors-filtro__actions { display: flex; align-items: center; gap: 16px; }
.ors-filtro__clear { font-size: 14px; color: var(--ors-muted); }

.ors-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600; color: #fff; background: var(--ors-accent); border: 0; border-radius: var(--ors-radius); cursor: pointer; text-decoration: none; }
.ors-btn:hover, .ors-btn:focus-visible { background: var(--ors-accent-dark); color: #fff; }
.ors-btn--ghost { height: 38px; padding: 0 14px; font-size: 14px; color: var(--ors-ink); background: transparent; border: 1px solid #B9B0A2; }
.ors-btn--ghost:hover, .ors-btn--ghost:focus-visible { background: var(--ors-primary); color: #fff; border-color: var(--ors-primary); }

/* catálogo: filtros à esquerda no computador */
.ors-catalogo { display: grid; gap: 24px; }
@media (min-width: 1025px) {
	.ors-catalogo { grid-template-columns: 260px 1fr; align-items: start; }
	.ors-filtro--full { flex-direction: column; align-items: stretch; position: sticky; top: 24px; }
	.ors-filtro--full fieldset .ors-field { width: 100%; }
	.ors-filtro--full > .ors-field { width: auto; }
	.ors-filtro--full .ors-filtro__actions { flex-direction: column; align-items: stretch; text-align: center; }
}
.ors-count { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--ors-ink); }
.ors-count span { font-weight: 400; color: var(--ors-muted); }

/* ---------- grade e cards ---------- */
.ors-card__link, .ors-card__link *, .ors-lote, .ors-lote *, .ors-hd a, .ors-ft a, .ors-chips a { text-decoration: none !important; }
.ors-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ors-card { background: var(--ors-bg); border: 1px solid var(--ors-line); border-radius: var(--ors-radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.ors-card:hover { border-color: var(--ors-accent); box-shadow: 0 6px 20px rgba(15, 34, 56, .08); }
.ors-card__link { display: block; color: inherit; text-decoration: none; }
.ors-card__media { aspect-ratio: 4 / 3; background: var(--ors-soft); overflow: hidden; }
.ors-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ors-card__body { padding: 16px 18px 18px; }
.ors-card__code { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ors-accent); }
.ors-card__title { margin: 0 0 10px; font-size: 18px; line-height: 1.3; color: var(--ors-ink); }
.ors-card__specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 18px; margin: 0 0 14px !important; padding: 0 !important; list-style: none; font-size: 14px; color: var(--ors-ink); }
.ors-card__specs li { margin: 0 !important; }

/* ---------- abas de loteamentos ---------- */
.ors-lt__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ors-lt__tabs button { height: 42px; padding: 0 18px; font: 500 15px/1 var(--ors-sans); color: var(--ors-ink); background: var(--ors-bg); border: 1px solid var(--ors-line); border-radius: 999px; cursor: pointer; }
.ors-lt__tabs button:hover { border-color: var(--ors-accent); }
.ors-lt__tabs button[aria-selected="true"] { background: var(--ors-primary); border-color: var(--ors-primary); color: #fff; }
.ors-lt__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.ors-lt__head h3 { margin: 0; font: 600 22px/1.3 var(--ors-serif); color: var(--ors-primary); }
.ors-lt__head p { margin: 0; font-size: 14px; color: var(--ors-muted); }
.ors-lt__more { margin: 18px 0 0; font-weight: 600; }
.ors-lt__more a { color: var(--ors-accent); text-decoration: none; }
@media (max-width: 767px) { .ors-lt__tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 4px; } .ors-lt__tabs button { flex: none; } .ors-lt__head h3 { font-size: 19px; } }
.ors-card__specs span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ors-muted); }
.ors-card__price { margin: 0; font-size: 18px; font-weight: 700; color: var(--ors-primary); }
.ors-empty { padding: 24px; background: var(--ors-soft); border-radius: var(--ors-radius); }
.ors-pag { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.ors-pag .page-numbers { padding: 8px 12px; border: 1px solid var(--ors-line); border-radius: var(--ors-radius); text-decoration: none; color: var(--ors-ink); }
.ors-pag .current { background: var(--ors-primary); border-color: var(--ors-primary); color: #fff; }

/* ---------- loteamentos ---------- */
.ors-lotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ors-lote { display: flex; flex-direction: column; background: var(--ors-bg); border: 1px solid var(--ors-line); border-radius: var(--ors-radius); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s; }
.ors-lote:hover { border-color: var(--ors-accent); }
.ors-lote__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ors-soft); }
.ors-lote__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ors-lote__body { padding: 16px 18px; }
.ors-lote__body h3 { margin: 0 0 6px; font-size: 18px; color: var(--ors-ink); }
.ors-lote__dim { margin: 0 0 8px; font-size: 14px; color: var(--ors-muted); }
.ors-lote__dim--big { font-size: 18px; font-weight: 600; color: var(--ors-accent); }
.ors-lote__n { margin: 0; font-size: 14px; font-weight: 600; color: var(--ors-accent); }

/* ---------- página do projeto: resumo ---------- */
.single-product .product_title { font-size: 34px; line-height: 1.2; margin-bottom: 10px; }
.single-product .summary .price { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.ors-sp__code { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ors-accent); }
.single-product .woocommerce-product-details__short-description { color: var(--ors-muted); margin-bottom: 18px; }
.single-product form.cart { margin-bottom: 18px; }
.single-product .single_add_to_cart_button { height: 52px; padding: 0 32px !important; font-size: 16px !important; }
.ors-sp__trust { margin: 0 0 18px !important; padding: 0 !important; list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--ors-ink); }
.ors-sp__trust li { position: relative; margin: 0 !important; padding-left: 26px; }
.ors-sp__trust li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--ors-accent); border-bottom: 2px solid var(--ors-accent); transform: rotate(-45deg); }
.ors-sp__help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.ors-sp__link { font-size: 15px; font-weight: 600; color: var(--ors-accent); text-decoration: none !important; }
.ors-sp__cruzeiro { margin: 0; padding: 14px 16px; font-size: 14.5px; line-height: 1.55; background: var(--ors-soft); border-left: 3px solid var(--ors-accent); border-radius: 0 var(--ors-radius) var(--ors-radius) 0; }
.ors-sp__cruzeiro a { font-weight: 600; }
.single-product .woocommerce-breadcrumb { font-size: 13px; color: var(--ors-muted); }
.ors-sobre p { max-width: 760px; font-size: 16.5px; line-height: 1.7; }
.ors-outros { margin-top: 8px; padding-top: 40px; border-top: 1px solid var(--ors-line); }
.ors-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ors-bg); border-top: 1px solid var(--ors-line); box-shadow: 0 -8px 24px rgba(19, 40, 59, .12); }
.ors-sticky[hidden] { display: none; }
.ors-sticky__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ors-sticky__name { font-size: 13px; color: var(--ors-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ors-sticky__price { font-size: 17px; font-weight: 700; color: var(--ors-primary); }
.ors-sticky .ors-btn { flex: none; }
@media (max-width: 767px) {
	.single-product .product_title { font-size: 26px; }
	.single-product .woocommerce-product-details__short-description { display: none; }
}

/* ---------- página do projeto ---------- */
.ors-ficha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 16px 0 20px; border-top: 1px solid var(--ors-line); }
.ors-ficha > div { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--ors-line); }
@media (min-width: 768px) { .ors-ficha { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ors-ficha dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ors-muted); }
.ors-ficha dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; color: var(--ors-ink); }
.ors-extras { clear: both; display: grid; gap: 40px; margin: 40px 0; }
.ors-sec h2, .ors-h2 { margin: 0 0 14px; font: 600 26px/1.25 var(--ors-serif); color: var(--ors-primary); }
.ors-sec__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ors-sec__head h2 { margin: 0; }
.ors-planta__img img { width: 100%; height: auto; background: #fff; border: 1px solid var(--ors-line); border-radius: var(--ors-radius); }
.ors-inclui { columns: 2 220px; margin: 0; padding-left: 20px; color: var(--ors-ink); }
.ors-inclui li { margin-bottom: 6px; break-inside: avoid; }
.ors-note { margin: 12px 0 0; font-size: 14px; color: var(--ors-muted); }
.ors-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ors-chips a { padding: 6px 12px; font-size: 14px; background: var(--ors-soft); border: 1px solid var(--ors-line); border-radius: 999px; color: var(--ors-ink); text-decoration: none; }
.ors-chips a:hover { border-color: var(--ors-accent); }
.ors-video { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; border-radius: var(--ors-radius); overflow: hidden; }
.ors-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.ors-video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--ors-accent); }
.ors-video__play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.ors-video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--ors-radius); }

@media (max-width: 767px) {
	.ors-filtro { padding: 16px; }
	.ors-terreno { width: 100%; }
	.ors-terreno .ors-field { flex: 1; width: auto; }
	.ors-filtro > .ors-field { flex: 1 1 120px; width: auto; }
	.ors-filtro__actions { width: 100%; }
	.ors-filtro__actions .ors-btn { flex: 1; }
	.ors-grid { grid-template-columns: 1fr; }
	.ors-lotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ors-lote__body { padding: 14px; }
	.ors-lote__body h3 { font-size: 16px; }
	.ors-lote__dim { font-size: 13px; margin-bottom: 6px; }
	.ors-lote__n { font-size: 13px; }
	/* ficha compacta (3 colunas) para o botão de compra subir na tela */
	.ors-ficha { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 16px; }
	.ors-ficha > div { padding: 8px 8px 8px 0; }
	.ors-ficha dt { font-size: 10.5px; }
	.ors-ficha dd { font-size: 15px; }
}
