/*
Theme Name: Prime Villas (Bricks Child)
Description: Bricks child theme for the Prime Villas site.
Template: bricks
Version: 0.6.13
Text Domain: primevillas
Domain Path: /languages
Update URI: false
*/

/*
 * Colors, base typography, buttons and pv-* classes live in Bricks
 * (palette "Prime Villas", Theme Style "Prime Villas" and global classes).
 * This file only holds local fonts, layout tokens and what Bricks cannot
 * handle from its panel: header behavior, menu icon and language switcher.
 */

/* Local fonts (SIL OFL 1.1, see assets/fonts/OFL.txt) */
/* Headings: Libre Caslon Display has a single weight (400) and no italic; italic lines use Libre Caslon Text. */
@font-face {
	font-family: "Libre Caslon Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Libre Caslon Text";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("assets/fonts/jost-latin-300-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/jost-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/jost-latin-500-normal.woff2") format("woff2");
}

/* Layout tokens (05-docs/mobile.md): desktop from 1280px, tablet 768-1279px, mobile up to 767px.
 * Colors (--onyx, --tobacco...) come from the Bricks palette. */
:root {
	--pv-gutter: 64px;
	--pv-header-h: 80px;
	--pv-line-hero: rgba(241, 234, 218, 0.18);
}
@media (max-width: 1279px) {
	:root {
		--pv-gutter: 40px;
		--pv-header-h: 64px;
	}
}
@media (max-width: 767px) {
	:root {
		--pv-gutter: 16px;
	}
}

/* Square corners everywhere (brand rule) */
*,
*::before,
*::after {
	border-radius: 0 !important;
}

a:hover {
	color: var(--tobacco);
}

/* Focus ring offset from the text (color and width come from the Theme Style) */
:focus-visible {
	outline-offset: 4px;
}

/* Buttons: slight push on press */
.pv-btn:active,
.bricks-button:active {
	transform: translateY(1px);
}

::selection {
	background: var(--vanilla);
	color: var(--onyx);
}

/* Header
 * Sticky (Bricks: Template > Header > Sticky). Onyx background on every page.
 * On the home page it is transparent over the hero until the page scrolls (switch in Prime Villas > Cabeçalho).
 * The bottom rule is an inset shadow so the header stays exactly 80px tall.
 */
#brx-header {
	background-color: var(--onyx);
	box-shadow: inset 0 -1px 0 var(--linha);
}
#brx-header.brx-sticky {
	position: sticky;
}
/* Public site only: inside the Bricks builder the header stays solid and in flow, so it remains readable */
body.pv-transparent-header.bricks-is-frontend #brx-header.brx-sticky {
	position: fixed;
}
body.pv-transparent-header.bricks-is-frontend:not(.pv-megamenu-open) #brx-header:not(.scrolling) {
	background-color: transparent;
	box-shadow: inset 0 -1px 0 var(--pv-line-hero);
}
/* Shade behind the transparent header so the menu stays readable on bright photos. */
body.pv-transparent-header.bricks-is-frontend:not(.pv-megamenu-open) #brx-header:not(.scrolling)::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	left: 0;
	height: calc(var(--pv-header-h) + 140px);
	background: linear-gradient(to bottom, rgba(20, 18, 16, 0.66), rgba(20, 18, 16, 0.3) 55%, rgba(20, 18, 16, 0));
	pointer-events: none;
}
body.pv-transparent-header.bricks-is-frontend:not(.pv-megamenu-open) #brx-header:not(.scrolling) .bricks-nav-menu a,
body.pv-transparent-header.bricks-is-frontend:not(.pv-megamenu-open) #brx-header:not(.scrolling) .pv-languages,
body.pv-transparent-header.bricks-is-frontend:not(.pv-megamenu-open) #brx-header:not(.scrolling) .pv-lang-menu summary {
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

/* Desktop menu: both ends sit on the gutter and both sides keep the same distance to the symbol.
 * Each side is as wide as the wider of the two (--pv-nav-w, set by assets/js/header.js); the narrower side spreads
 * its items. Without the script each side keeps its natural width. Bricks' 30px item margin is dropped (the menu
 * spacing comes from the element's gap). */
#brx-header .bricks-nav-menu > li {
	margin: 0;
}
@media (min-width: 1280px) {
	.pv-header-side {
		width: var(--pv-nav-w, max-content);
		max-width: 100%;
	}
	.pv-header-side--start {
		justify-self: start;
	}
	.pv-header-side--end {
		justify-self: end;
	}
	.pv-header-side .brxe-nav-menu {
		flex: 1 1 auto;
	}
	.pv-header-side .bricks-nav-menu {
		justify-content: space-between;
	}
}

/* Mobile menu button: two 24px lines, as in the mockup */
.pv-menu-toggle .brxa-wrap {
	width: 24px;
	height: 12px;
}
.pv-menu-toggle .brxa-inner {
	background-color: transparent !important;
}
.pv-menu-toggle .brxa-inner::before,
.pv-menu-toggle .brxa-inner::after {
	width: 24px;
	height: 1.5px;
	background-color: currentColor;
}
.pv-menu-toggle .brxa-inner::before {
	top: -5px;
}
.pv-menu-toggle .brxa-inner::after {
	bottom: -5px;
}
/* Close button: the two lines crossed */
.pv-menu-close .brxa-inner::before,
.pv-menu-close .brxa-inner::after {
	top: 0;
	bottom: auto;
}
.pv-menu-close .brxa-inner::before {
	transform: rotate(45deg);
}
.pv-menu-close .brxa-inner::after {
	transform: rotate(-45deg);
}

/* Fullscreen menu (mobile, mockup menu-mobile): large links on the left, contact and languages at the bottom */
.pv-menu-fullscreen .bricks-nav-menu {
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}
.pv-menu-fullscreen .bricks-nav-menu > li {
	margin: 0;
}
.pv-menu-fullscreen .bricks-nav-menu > li > a {
	font-family: "Libre Caslon Display", Georgia, serif;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--vanilla);
}
.pv-menu-fullscreen .bricks-nav-menu > .current-menu-item > a {
	color: var(--tobacco);
}
.pv-menu-bottom .pv-languages--codes {
	gap: 4px;
	font-size: 13px;
}
.pv-menu-bottom .pv-languages--codes > * {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid transparent;
}
.pv-menu-bottom .pv-languages--codes [aria-current] {
	border: 1px solid var(--tobacco);
	color: var(--vanilla);
}
.pv-social-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 14px;
	font-weight: var(--pv-weight-light, 300);
	color: var(--sand);
}

/* Language switcher ([pv_languages]) */
.pv-languages {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sand);
}
.pv-languages a,
.pv-languages span {
	color: inherit;
	padding-bottom: 2px;
}
.pv-languages [aria-current] {
	color: var(--vanilla);
	border-bottom: 1px solid var(--vanilla);
}
.pv-languages a:hover {
	color: var(--tobacco);
}
.pv-languages--names {
	display: block;
	font-size: inherit;
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}
.pv-languages--names [aria-current] {
	color: inherit;
	border: 0;
}
@media (max-width: 1279px) {
	/* The tablet/mobile header only shows the current language; the others are in the menu */
	.pv-header .pv-languages--codes > :not([aria-current]) {
		display: none;
	}
	.pv-header .pv-languages--codes [aria-current] {
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		border: 0;
	}
}

/* Footer column menu ("Column Menu" element) */
.brxe-pv-column-menu {
	display: flex;
	gap: 32px;
}
.pv-column-menu__column {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.pv-column-menu__title {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	color: var(--vanilla);
}
.pv-column-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 15px;
	font-weight: var(--pv-weight-light, 300);
}
/* Mobile footer (mockups *-mobile): left aligned, columns two per row */
@media (max-width: 767px) {
	.brxe-pv-column-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}
	.pv-column-menu__list {
		gap: 12px;
	}
}

/* Reduced motion: no transitions on the header, fullscreen menu and buttons */
@media (prefers-reduced-motion: reduce) {
	#brx-header,
	.pv-menu-mobile,
	.pv-menu-mobile .brx-offcanvas-inner,
	.pv-btn,
	.pv-link {
		transition: none !important;
	}
	.pv-btn:active,
	.bricks-button:active {
		transform: none;
	}
}

/* Site forms: Bricks form elements with the class pv-form (visit, contact, valuation). */
.pv-form .form-group {
	padding: 0 0 22px;
}
.pv-form .form-group:has(input[type="radio"]) {
	padding-bottom: 26px;
}
.pv-form .form-group:has(input[type="checkbox"]) {
	padding-bottom: 12px;
}
/* The consent checkbox carries its sentence: the group label stays for assistive tech only. */
.pv-form .form-group:has(input[type="checkbox"]) > .label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
/* Text, select, radio and checkbox groups share one label style (Bricks prints <div class="label"> for groups). */
.pv-form .form-group :is(label, .label) {
	margin-bottom: 6px;
	text-transform: none;
	letter-spacing: normal;
	font-size: 13px;
	font-weight: 400;
	color: var(--sand, #cec1a8);
}
.pv-form input:not([type="checkbox"]):not([type="radio"]),
.pv-form textarea,
.pv-form select {
	width: 100%;
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid var(--campo, #7a7068);
	background: transparent;
	color: var(--vanilla, #f1eada);
	font: var(--pv-weight-light, 300) 16px/1.5 "Jost", sans-serif;
}
.pv-form input:focus,
.pv-form textarea:focus {
	border-bottom-color: var(--tobacco, #b59e7d);
}
.pv-form .submit-button-wrapper {
	width: 100%;
	margin-top: 8px;
}
.pv-form .bricks-button {
	justify-content: center;
	width: 100%;
	min-height: 56px;
	border: 0;
	background: var(--pv-button, #9e5e3f);
	color: var(--pv-on-button, #fffaf4);
	font: 500 13px/1.2 "Jost", sans-serif;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.pv-form .bricks-button:hover {
	background: var(--sand, #cec1a8);
}
.pv-form .message {
	padding: 16px;
	background: var(--onyx, #1c1c1b);
	color: var(--vanilla, #f1eada);
	font-size: 15px;
}

/* Selects line up with the text fields (same padding and height; Bricks gives selects 2px more padding). */
.pv-form .form-group select {
	height: 41px;
	padding: 8px 28px 8px 0 !important;
	line-height: 24px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a39b90' stroke-width='1.2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	cursor: pointer;
}
/* Forms in one column on phones (05-docs/mobile.md), whatever width the fields have on desktop. */
@media (max-width: 767px) {
	.pv-form .form-group {
		width: 100% !important;
	}
}
/* pv-form--auto: submit button sized to its text (home contact form) */
.pv-form--auto .submit-button-wrapper {
	width: auto;
}
.pv-form--auto .bricks-button {
	width: auto;
	padding: 18px 40px;
}
@media (max-width: 767px) {
	.pv-form--auto .submit-button-wrapper,
	.pv-form--auto .bricks-button {
		width: 100%;
	}
}

/* Text bound to an empty dynamic tag (for example no consultant on a property) takes no space. */
.brxe-text-basic:empty,
.brxe-text:empty {
	display: none;
}

/*
 * Identity H (05-docs/tarefa-nova-home.md, CEO 08/10/2026). The palette variables keep their names (the Bricks
 * palette, the islands and the elements all use them) and take the H values:
 *   --onyx  page background (linho)      --leather alternate sections (linho-2)   --linha dividers (areia)
 *   --campo form field borders (3:1)     --vanilla text (café)                    --sand  secondary text (café-2)
 *   --taupe small muted text (4.5:1)     --tobacco text accent (café tones, never the brown)
 *   --pv-button / --pv-on-button: the brand brown, ONLY for main buttons and the footer, always with claro text.
 * Light (html[data-theme="light"], the default) is the main version; the dark one (no attribute) is derived from the
 * same palette. Text over photos (.pv-on-photo, the transparent header over the film) keeps light text.
 */
:root {
	--pv-weight-light: 300; /* body text weight: 300 on the dark version, 400 on the light one */
	--pv-button: #9e5e3f;
	--pv-on-button: #fffaf4;
	--pv-claro: #fffaf4;
}
html {
	color-scheme: dark;
}
html:not([data-theme="light"]) {
	--onyx: #1e1611;
	--leather: #261c16;
	--linha: #3c2e25;
	--campo: #806b5b;
	--vanilla: #f3ebe0;
	--sand: #d8c8b6;
	--taupe: #b4a190;
	--tobacco: #e6d8c6;
}
html[data-theme="light"],
html[data-theme="light"] #brx-header .pv-menu-mobile {
	color-scheme: light;
	/* Middle ground with a lighter ivory page (Matheus 08/10/2026): ivory page, linho bands, deeper café text. */
	--onyx: #f8f4ee;
	--leather: #f1eae0;
	--linha: #e6d8c6;
	--campo: #9a8371;
	--vanilla: #3a291e;
	--sand: #634d3f;
	--taupe: #6e5646;
	--tobacco: #634d3f;
	--pv-weight-light: 400;
}
/* Text over photos and the transparent header over them: light text in both versions. */
.pv-on-photo,
body.pv-transparent-header.bricks-is-frontend:not(.pv-megamenu-open) #brx-header:not(.scrolling) > .brxe-container,
.pv-gallery__all {
	color-scheme: dark;
	color: var(--sand);
	--onyx: #1e1611;
	--leather: #261c16;
	--linha: rgba(255, 250, 244, 0.28);
	--campo: rgba(255, 250, 244, 0.6);
	--vanilla: #fffaf4;
	--sand: #f3ebe0;
	--taupe: #e6d8c6;
	--tobacco: #fffaf4;
}
/* Footer: the brand brown, claro text only (secondary tones would fall under 4.5:1 on the brown). */
#brx-footer {
	color-scheme: dark;
	background-color: var(--pv-button);
	color: var(--pv-claro);
	--onyx: #9e5e3f;
	--leather: #9e5e3f;
	--linha: rgba(255, 250, 244, 0.32);
	--campo: rgba(255, 250, 244, 0.7);
	--vanilla: #fffaf4;
	--sand: #fffaf4;
	--taupe: #fffaf4;
	--tobacco: #fffaf4;
}
/* Main buttons: brown with claro text (Bricks buttons, the pv-btn class, form submits). */
html body .pv-btn:not(.pv-btn--outline),
html body .bricks-button.bricks-background-primary,
html body .bricks-button:where(:not([class*="bricks-background-"]):not([class*="bricks-color-"]):not(.outline)):not(.pv-btn--outline) {
	border-color: var(--pv-button);
	background-color: var(--pv-button);
	color: var(--pv-on-button);
}
html body .pv-btn--outline {
	border-color: currentColor;
	background: transparent;
	color: var(--vanilla);
}
html body .pv-btn--outline:hover {
	background: var(--vanilla);
	color: var(--onyx);
}
/* White brand symbol on light backgrounds: shown in Onyx. */
html[data-theme="light"] #brx-header img[src$=".svg"],
html[data-theme="light"] #brx-header .pv-menu-mobile img[src$=".svg"] {
	/* café #4a3426 */
	filter: brightness(0) saturate(100%) invert(19%) sepia(23%) saturate(1170%) hue-rotate(338deg) brightness(93%) contrast(90%);
}
html[data-theme="light"] body.pv-transparent-header.bricks-is-frontend:not(.pv-megamenu-open) #brx-header:not(.scrolling) > .brxe-container img[src$=".svg"] {
	filter: none;
}
/* Maps on OpenStreetMap tiles: plain instead of darkened (MapTiler has its own light style). */
html[data-theme="light"][data-pv-tiles="osm"] .pv-map .leaflet-tile-pane,
html[data-theme="light"][data-pv-tiles="osm"] .pv-search-map .leaflet-tile-pane {
	filter: grayscale(0.55) sepia(0.12) contrast(0.95);
}
/* Smooth switch (only while switching, never on page load). */
html.pv-theme-switching *,
html.pv-theme-switching *::before,
html.pv-theme-switching *::after {
	transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease !important;
}
@media (prefers-reduced-motion: reduce) {
	html.pv-theme-switching *,
	html.pv-theme-switching *::before,
	html.pv-theme-switching *::after {
		transition: none !important;
	}
}

/* Theme switch button ([pv_theme_toggle]): sun in the dark version, moon in the light one. */
.pv-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 -10px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--vanilla);
	cursor: pointer;
	transition: color 0.25s ease;
}
.pv-theme-toggle:hover {
	color: var(--tobacco);
}
.pv-theme-toggle__moon,
html[data-theme="light"] .pv-theme-toggle__sun {
	display: none;
}
html[data-theme="light"] .pv-theme-toggle__moon {
	display: block;
}
@media (max-width: 1279px) {
	.pv-header .pv-theme-toggle {
		display: none;
	}
}
.pv-menu-bottom .pv-theme-toggle {
	margin: 0;
	border: 1px solid var(--linha);
}

/* Team grid ([Prime Villas Core] element "Team grid", Sobre page): 4 columns, 2 on phones. */
.pv-team {
	--pv-inline: max(var(--pv-gutter), calc((100% - 1440px) / 2 + var(--pv-gutter)));
	display: flex;
	flex-direction: column;
	gap: 56px;
	padding: 112px var(--pv-inline);
	background: var(--leather);
}
.pv-team__title {
	margin: 0;
	font-size: 43px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--vanilla);
}
.pv-team__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px 32px;
}
.pv-team__person {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.pv-team__photo {
	aspect-ratio: 4 / 5;
	background: var(--linha);
	overflow: hidden;
}
.pv-team__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pv-team__name {
	margin: 0;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--vanilla);
}
.pv-team__meta {
	margin: -8px 0 0;
	font-size: 14px;
	font-weight: var(--pv-weight-light, 300);
	color: var(--sand);
}
@media (max-width: 1279px) {
	.pv-team__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.pv-team {
		gap: 32px;
		padding-top: 64px;
		padding-bottom: 64px;
	}
	.pv-team__title {
		font-size: 31px;
	}
	.pv-team__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 12px;
	}
	.pv-team__person {
		gap: 10px;
	}
	.pv-team__name {
		font-size: 19px;
	}
	.pv-team__meta {
		margin-top: -4px;
		font-size: 13px;
	}
}

/* Contact channels (element "Contact channels"): 2 columns; full-width tappable rows on phones. */
.pv-channels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}
.pv-channels__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--vanilla);
	text-decoration: none;
}
.pv-channels__item--hours {
	grid-column: 1 / -1;
}
.pv-channels__label {
	font-size: 13px;
	color: var(--sand);
}
.pv-channels__value {
	font-size: 17px;
	font-weight: 400;
	overflow-wrap: anywhere;
}
.pv-channels__item--hours .pv-channels__value {
	font-weight: var(--pv-weight-light, 300);
}
a.pv-channels__item:hover .pv-channels__value {
	color: var(--tobacco);
}
@media (max-width: 767px) {
	.pv-channels {
		display: flex;
		flex-direction: column;
		gap: 0;
		border-bottom: 1px solid var(--linha);
	}
	.pv-channels__item {
		justify-content: center;
		gap: 2px;
		min-height: 64px;
		border-top: 1px solid var(--linha);
	}
	.pv-channels__label {
		font-size: 12px;
	}
}

/* Office (element "Office"): photo 7 columns, text from column 9, aligned to the bottom. */
.pv-office {
	--pv-inline: max(var(--pv-gutter), calc((100% - 1440px) / 2 + var(--pv-gutter)));
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 1fr) minmax(0, 4fr);
	gap: 32px;
	align-items: end;
	padding: 0 var(--pv-inline) 112px;
}
.pv-office__media {
	height: clamp(320px, 34vw, 488px);
	overflow: hidden;
}
.pv-office__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pv-office__text {
	display: flex;
	grid-column: 3;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.pv-office:not(.pv-office--photo) .pv-office__text {
	grid-column: 1;
}
.pv-office__title {
	margin: 0;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--vanilla);
}
.pv-office__address {
	margin: 0;
	font-size: 17px;
	font-weight: var(--pv-weight-light, 300);
	line-height: 1.7;
	color: var(--sand);
}
.pv-office__note {
	margin: 0;
	font-size: 15px;
	font-weight: var(--pv-weight-light, 300);
	line-height: 1.7;
	color: var(--taupe);
}
.pv-office__map {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	border-bottom: 1px solid var(--tobacco);
	color: var(--vanilla);
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
}
@media (max-width: 1279px) {
	.pv-office {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.pv-office__text {
		grid-column: 2;
	}
}
@media (max-width: 767px) {
	.pv-office {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 0 0 56px;
	}
	.pv-office__media {
		height: 240px;
	}
	.pv-office__text {
		gap: 12px;
		padding: 0 var(--pv-gutter);
	}
	.pv-office__title {
		font-size: 29px;
	}
	.pv-office__address {
		font-size: 16px;
	}
}

/* Radio options shown as chips (contact form "Assunto"). */
.pv-form .options-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pv-form .form-group:has(input[type="radio"]) .options-wrapper li {
	position: relative;
	margin: 0;
}
.pv-form .form-group:has(input[type="radio"]) .options-wrapper input {
	position: absolute;
	opacity: 0;
}
.pv-form .form-group:has(input[type="radio"]) .options-wrapper label {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 20px;
	border: 1px solid var(--campo);
	color: var(--vanilla);
	font-size: 15px;
	cursor: pointer;
}
.pv-form .form-group:has(input[type="radio"]) .options-wrapper input:checked + label {
	border-color: var(--vanilla);
	background: var(--vanilla);
	color: var(--onyx);
}
.pv-form .form-group:has(input[type="radio"]) .options-wrapper input:focus-visible + label {
	outline: 1px solid var(--tobacco);
	outline-offset: 3px;
}
.pv-form .form-group:has(input[type="checkbox"]) .options-wrapper label {
	font-size: 14px;
	line-height: 1.6;
	font-weight: var(--pv-weight-light, 300);
	color: var(--sand);
}
.pv-form .form-group:has(input[type="checkbox"]) .options-wrapper label a {
	border-bottom: 1px solid var(--tobacco);
	color: var(--vanilla);
	text-decoration: none;
}
.pv-form .form-group:has(input[type="checkbox"]) input {
	accent-color: var(--tobacco);
	width: 16px;
	height: 16px;
}

/* Header language menu ([pv_languages style="menu"]): "PT ▾", the six languages in a small panel. */
.pv-lang-menu {
	position: relative;
}
.pv-lang-menu summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 2px;
	color: var(--vanilla);
	font-size: 12px;
	letter-spacing: 0.14em;
	list-style: none;
	cursor: pointer;
}
.pv-lang-menu summary::-webkit-details-marker {
	display: none;
}
.pv-lang-menu summary::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}
.pv-lang-menu[open] summary::after {
	margin-top: 3px;
	transform: rotate(-135deg);
}
.pv-lang-menu summary:hover {
	color: var(--tobacco);
}
.pv-lang-menu__list {
	position: absolute;
	z-index: 50;
	top: calc(100% + 8px);
	right: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	background: var(--onyx);
	border: 1px solid var(--linha);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
	list-style: none;
}
.pv-lang-menu__list a,
.pv-lang-menu__list .is-soon {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 40px;
	padding: 0 18px;
	color: var(--vanilla);
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
}
.pv-lang-menu__list span > span,
.pv-lang-menu__list a > span {
	width: 22px;
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--taupe);
}
.pv-lang-menu__list .is-soon {
	color: var(--taupe);
	cursor: default;
}
.pv-lang-menu__list [aria-current] {
	color: var(--tobacco);
}
.pv-lang-menu__list a:hover {
	background: var(--leather);
	color: var(--tobacco);
}
/* The transparent header keeps the panel dark over photos (the dark variables apply there). */

/* Footer: languages and the light/dark switch side by side. */
.pv-footer-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
}
.pv-footer-tools .pv-theme-toggle {
	margin: 0;
	border: 1px solid var(--linha);
}

/* Legal text (Política de privacidade): readable long text. */
.pv-legal {
	max-width: 760px;
	font-size: 16px;
	font-weight: var(--pv-weight-light, 300);
	line-height: 1.75;
	color: var(--sand);
}
.pv-legal h2 {
	margin: 48px 0 12px;
	font-size: 27px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--vanilla);
}
.pv-legal h2:first-child {
	margin-top: 0;
}
.pv-legal p,
.pv-legal ul {
	margin: 0 0 16px;
}
.pv-legal ul {
	padding-left: 20px;
}
.pv-legal li {
	margin-bottom: 6px;
}
.pv-legal strong {
	font-weight: 500;
	color: var(--vanilla);
}
.pv-legal a {
	border-bottom: 1px solid var(--tobacco);
	color: var(--vanilla);
	text-decoration: none;
}
@media (max-width: 767px) {
	.pv-legal h2 {
		margin-top: 36px;
		font-size: 23px;
	}
}

/* Libre Caslon Display has a single weight: never inherit Jost's 300 (browsers would synthesize it). */
.pv-destination-card__name,
.pv-destination-property__title,
.pv-destination-others a,
.pv-mega__name,
.pv-featured__title {
	font-weight: 400;
	font-synthesis: none;
}

/*
 * Header on the home film (identity H; body classes set by the "homefilm" island, which replaces
 * pv-transparent-header there): café on the linho veil during the opening, light over the film, solid linho once
 * the film is behind (pv-film-past). Fixed over the film in every state.
 */
body.pv-has-film.bricks-is-frontend #brx-header.brx-sticky,
body.pv-has-film.bricks-is-frontend #brx-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	transition: background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
body.pv-has-film:not(.pv-film-past):not(.pv-megamenu-open) #brx-header {
	background-color: transparent;
	box-shadow: none;
}
body.pv-has-film:not(.pv-film-past):not(.pv-film-veil):not(.pv-megamenu-open) #brx-header > .brxe-container {
	color-scheme: dark;
	/* Same palette as the transparent header over photos: the currency/language panels and the phone menu open dark,
	   with light text (they kept the ivory background with the light text, unreadable). */
	--onyx: #1e1611;
	--leather: #261c16;
	--campo: rgba(255, 250, 244, 0.6);
	--vanilla: #fffaf4;
	--sand: #f3ebe0;
	--taupe: #e6d8c6;
	--tobacco: #fffaf4;
	--linha: rgba(255, 250, 244, 0.28);
}
body.pv-has-film:not(.pv-film-past):not(.pv-film-veil):not(.pv-megamenu-open) #brx-header img[src$=".svg"] {
	filter: none;
}
body.pv-has-film:not(.pv-film-past):not(.pv-film-veil):not(.pv-megamenu-open) #brx-header .bricks-nav-menu a,
body.pv-has-film:not(.pv-film-past):not(.pv-film-veil):not(.pv-megamenu-open) #brx-header .pv-lang-menu summary {
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
/* During the home opening the header goes from café (over the veil) to light (over the film): eased, not switched. */
body.pv-has-film #brx-header .bricks-nav-menu > li > a,
body.pv-has-film #brx-header .pv-lang-menu summary,
body.pv-has-film #brx-header img[src$=".svg"],
body.pv-has-film #brx-header .brxe-toggle {
	transition: color 0.5s ease, filter 0.5s ease, text-shadow 0.5s ease;
}
/* The phone menu opens over the page, not over the film: no photo shadow, café symbol on the light version. */
body.pv-has-film #brx-header .pv-menu-mobile .bricks-nav-menu a,
body.pv-has-film #brx-header .pv-menu-mobile .pv-lang-menu summary,
body.pv-has-film:not(.pv-film-past):not(.pv-film-veil):not(.pv-megamenu-open) #brx-header .pv-menu-mobile .bricks-nav-menu a,
body.pv-has-film:not(.pv-film-past):not(.pv-film-veil):not(.pv-megamenu-open) #brx-header .pv-menu-mobile .pv-lang-menu summary {
	text-shadow: none;
}
html[data-theme="light"] body.pv-has-film #brx-header .pv-menu-mobile img[src$=".svg"],
html[data-theme="light"] body.pv-has-film:not(.pv-film-past):not(.pv-film-veil):not(.pv-megamenu-open) #brx-header .pv-menu-mobile img[src$=".svg"] {
	/* café #4a3426 */
	filter: brightness(0) saturate(100%) invert(19%) sepia(23%) saturate(1170%) hue-rotate(338deg) brightness(93%) contrast(90%);
}
body.pv-has-film.pv-film-past #brx-header {
	background-color: var(--onyx);
	box-shadow: 0 1px 0 rgba(74, 52, 38, 0.12);
}

/* Home "Sobre a Prime Villas" (identity H): photo (5 columns) and text (5 columns), stacked on phones. */
.pv-home-about__in {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	align-items: center;
}
.pv-home-about__photo {
	grid-column: 1 / span 5;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.pv-home-about__text {
	display: flex;
	grid-column: 7 / span 5;
	flex-direction: column;
	gap: 22px;
}
.pv-home-about__text h2 {
	margin: 0;
	color: var(--vanilla);
	font: 400 clamp(34px, 3.8vw, 56px)/1.06 "Libre Caslon Display", Georgia, serif;
}
.pv-home-about__text p {
	max-width: 56ch;
	margin: 0;
	color: var(--vanilla);
	font-size: 18px;
	line-height: 1.7;
}
.pv-home-about__text .pv-home-about__sub {
	color: var(--sand);
	font-size: 16px;
}
.pv-home-about__more {
	align-self: flex-start;
	color: var(--vanilla);
	font-size: 15px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}
/* Home owners band: wide photo, text on a dark gradient, the brown button. */
.brxe-container.pv-home-own {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-end;
	min-height: min(78vh, 720px);
	overflow: hidden;
}
.pv-home-own__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}
.pv-home-own::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(36, 26, 20, 0.8) 0%, rgba(36, 26, 20, 0.6) 34%, rgba(36, 26, 20, 0.12) 68%, rgba(36, 26, 20, 0) 100%),
		linear-gradient(0deg, rgba(36, 26, 20, 0.45) 0%, rgba(36, 26, 20, 0) 55%);
	pointer-events: none;
}
.pv-home-own__text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 620px;
	padding: clamp(32px, 5vw, 72px);
	color: #fffaf4;
	text-shadow: 0 1px 18px rgba(36, 26, 20, 0.35);
}
.pv-home-own__text h2 {
	margin: 0;
	color: #fffaf4;
	font: 400 clamp(36px, 3.9vw, 58px)/1.06 "Libre Caslon Display", Georgia, serif;
}
.pv-home-own__text p {
	margin: 0;
	color: #fffaf4;
	font-size: 17px;
}
.pv-home-own__text .bricks-button {
	align-self: flex-start;
}
@media (max-width: 767px) {
	.pv-home-about__photo,
	.pv-home-about__text {
		grid-column: 1 / -1;
	}
	.pv-home-own {
		min-height: 560px;
	}
	.pv-home-own::after {
		background: linear-gradient(0deg, rgba(36, 26, 20, 0.85) 0%, rgba(36, 26, 20, 0.55) 45%, rgba(36, 26, 20, 0.05) 85%);
	}
}

/*
 * Menu hover (Matheus 08/10/2026): a hairline appears in the middle under the item and opens to both sides.
 * The current page keeps the line open. Desktop menus only (the mobile menu is a fullscreen list).
 */
@media (min-width: 992px) {
	#brx-header .pv-header-side .bricks-nav-menu > li > a {
		position: relative;
	}
	#brx-header .pv-header-side .bricks-nav-menu > li > a::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: -7px;
		left: 0;
		height: 1px;
		background: currentColor;
		transform: scaleX(0);
		transform-origin: 50% 50%;
		transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	}
	#brx-header .pv-header-side .bricks-nav-menu > li > a:hover::after,
	#brx-header .pv-header-side .bricks-nav-menu > li > a:focus-visible::after,
	#brx-header .pv-header-side .bricks-nav-menu > li.current-menu-item > a::after,
	#brx-header .pv-header-side .bricks-nav-menu > li.current-menu-ancestor > a::after,
	#brx-header .pv-header-side .bricks-nav-menu > li > a[aria-current="page"]::after {
		transform: scaleX(1);
	}
}
@media (prefers-reduced-motion: reduce) {
	#brx-header .pv-header-side .bricks-nav-menu > li > a::after {
		transition: none;
	}
}

/* Caslon Display at large sizes reads better slightly tighter (zero specificity: element rules still win). */
:where(h1, h2, h3) {
	letter-spacing: -0.01em;
}
/* Body text weight follows the version (Theme Style says 300; the light version reads at 400). */
html body {
	font-weight: var(--pv-weight-light, 300);
}

/*
 * Identity H footer (scripts/task-06/02-footer.php): crest | Destinos, Imóveis, Empresa | "Novos imóveis" sign-up,
 * then address, legal line, networks and the language / version tools. Claro text on the brown, weight 400.
 */
#brx-footer {
	--pv-weight-light: 400;
}
.pv-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
	gap: 48px;
	align-items: start;
	width: 100%;
}
/* The full brand (symbol + PRIME VILLAS) in its own row above the columns. */
.pv-footer__crest {
	grid-column: 1 / -1;
	width: auto;
	max-width: 100%;
	height: 64px;
	margin-bottom: 8px;
}
.pv-footer a {
	color: inherit;
	text-decoration: none;
}
.pv-footer .pv-column-menu__list a,
.pv-footer .pv-social-inline a,
.pv-footer .pv-languages a {
	background: linear-gradient(currentColor, currentColor) 50% 100% / 0 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.pv-footer .pv-column-menu__list a:hover,
.pv-footer .pv-column-menu__list a:focus-visible,
.pv-footer .pv-social-inline a:hover,
.pv-footer .pv-languages a:hover {
	background-size: 100% 1px;
	color: inherit;
}
.pv-footer .pv-column-menu__title {
	font: 400 22px/1.2 "Libre Caslon Display", Georgia, serif;
	letter-spacing: 0;
}
.pv-footer .pv-column-menu__list {
	font-size: 15px;
}
/* Sign-up column */
.pv-newsletter {
	display: flex;
	flex-direction: column;
	gap: 14px;
	scroll-margin-top: calc(var(--pv-header-h) + 24px);
}
.pv-newsletter__text,
.pv-newsletter__message {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}
.pv-newsletter__message {
	padding: 12px 0;
	border-top: 1px solid var(--linha);
	border-bottom: 1px solid var(--linha);
}
.pv-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 4px;
}
.pv-newsletter__email {
	width: 100%;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 250, 244, 0.6);
	background: transparent;
	color: var(--pv-claro);
	font: inherit;
	font-size: 16px;
}
.pv-newsletter__email::placeholder {
	color: rgba(255, 250, 244, 0.78);
}
.pv-newsletter__email:focus-visible {
	outline: 1px solid var(--pv-claro);
	outline-offset: 4px;
}
.pv-newsletter__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}
.pv-newsletter__consent {
	color: var(--pv-claro);
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.5;
	cursor: pointer;
}
.pv-footer .pv-newsletter__consent input[type="checkbox"] {
	flex: 0 0 16px;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 16px;
	min-width: 0;
	height: 16px;
	padding: 0;
	margin: 2px 0 0;
	border: 1px solid var(--pv-claro);
	background: transparent;
	appearance: none;
	cursor: pointer;
}
.pv-newsletter__consent input::after {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--pv-claro);
	transform: scale(0);
	transition: transform 0.2s ease;
}
.pv-newsletter__consent input:checked::after {
	transform: scale(1);
}
.pv-newsletter__consent input:focus-visible {
	outline: 1px solid var(--pv-claro);
	outline-offset: 3px;
}
.pv-newsletter__consent a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.pv-newsletter__button {
	align-self: flex-start;
	padding: 14px 26px;
	border: 1px solid var(--pv-claro);
	background: transparent;
	color: var(--pv-claro);
	font: 500 12px/1.2 "Jost", sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.pv-newsletter__button:hover,
.pv-newsletter__button:focus-visible {
	background: var(--pv-claro);
	color: var(--pv-button);
}
/* Bottom line */
.pv-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
	width: 100%;
	padding-top: 28px;
	border-top: 1px solid var(--linha);
	font-size: 13px;
	line-height: 1.6;
}
.pv-footer__legal p {
	margin: 0;
}
.pv-footer__bottom > * {
	width: auto;
	max-width: 100%;
}
.pv-footer__bottom .pv-social-inline {
	font-size: 13px;
	color: inherit;
}
@media (max-width: 1279px) {
	.pv-footer__top {
		grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	}
	.pv-footer__crest {
		height: 56px;
	}
}
@media (max-width: 767px) {
	.pv-footer__top {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}
	.pv-footer__top > .pv-footer__crest {
		width: min(100%, 280px);
		height: auto;
		margin-bottom: 0;
	}
	.pv-footer__top > * {
		width: 100%;
	}
	.pv-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		font-size: 12px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.pv-footer a {
		transition: none;
	}
}

/* Logged-in visitors see the WordPress admin bar (32 px, 46 px on phones): the fixed or sticky header sits under it
   instead of behind it. Below 600 px the admin bar scrolls away with the page, so the header keeps top 0 there. */
body.admin-bar #brx-header.brx-sticky,
body.admin-bar.pv-has-film.bricks-is-frontend #brx-header,
body.admin-bar.pv-transparent-header.bricks-is-frontend #brx-header.brx-sticky {
	top: var(--wp-admin--admin-bar--height, 32px);
}
body.admin-bar .pv-search__bar {
	top: calc(var(--pv-header-h, 80px) + var(--wp-admin--admin-bar--height, 32px));
}
@media (max-width: 600px) {
	body.admin-bar #brx-header.brx-sticky,
	body.admin-bar.pv-has-film.bricks-is-frontend #brx-header,
	body.admin-bar.pv-transparent-header.bricks-is-frontend #brx-header.brx-sticky {
		top: 0;
	}
	body.admin-bar .pv-search__bar {
		top: var(--pv-header-h, 72px);
	}
}

/* Photo bands from the photo library (Destinos trio, Contato wide photo, 404). On phones the trio becomes a row the
   visitor swipes through, instead of three tall photos stacked. */
.brxe-section.pv-photo-band-section {
	padding: 0 var(--pv-gutter, 64px) clamp(56px, 8vw, 112px);
}
.brxe-container.pv-photo-band {
	display: grid;
	gap: 12px;
	width: 100%;
}
.pv-photo-band--trio {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pv-photo-band__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.pv-photo-band--trio .pv-photo-band__img {
	aspect-ratio: 4 / 5;
}
.pv-photo-band--wide .pv-photo-band__img {
	aspect-ratio: 21 / 9;
}
.pv-404-photo {
	margin-top: 48px;
	aspect-ratio: 16 / 9;
}
@media (max-width: 767px) {
	.pv-photo-band--trio {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.pv-photo-band--trio::-webkit-scrollbar {
		display: none;
	}
	.pv-photo-band--trio .pv-photo-band__img {
		scroll-snap-align: start;
	}
	.pv-photo-band--wide .pv-photo-band__img {
		aspect-ratio: 4 / 3;
	}
}

/* "Agora em <destino>" on the opening of the destination pages (light text over the photo). */
.pv-destination-now {
	margin: 18px 0 0;
	color: rgba(255, 250, 244, .88);
	font: var(--pv-weight-light, 300) 14px/1.6 "Jost", sans-serif;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.pv-destination-now__credit {
	margin-left: 12px;
	opacity: .6;
	font-size: 11px;
}
