/*
Theme Name: Viva Bairro
Theme URI: https://vivabairro.org
Author: Viva Bairro
Description: Soggiorno di lusso in campagna vicino a Roma. Casa, cantina e tenuta. Non è un hotel, non è vendita di immobili.
Version: 1.0.0
Text Domain: vivabairro
*/

:root {
	--vvb-barro: #c4a882;
	--vvb-indigo: #1f2430;
	--vvb-nata: #f8f3ea;
	--vvb-papel: #fffdf8;
	--vvb-linha: #ddd2c2;
	--vvb-tinta: #2a261f;
	--vvb-display: "Marcellus", "Times New Roman", serif;
	--vvb-text: "Red Hat Text", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--vvb-text);
	color: var(--vvb-tinta);
	background: var(--vvb-nata);
	line-height: 1.72;
	font-size: 1.06rem;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--vvb-display); font-weight: 400; margin: 0 0 0.42em; line-height: 1.14; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
a { color: var(--vvb-indigo); }
address { font-style: normal; }
.vvb-botao, .vvb-linha {
	display: inline-block; padding: 12px 18px; text-decoration: none; font-weight: 600;
	font-family: var(--vvb-text); border: 0; cursor: pointer; letter-spacing: 0.02em;
}
.vvb-botao { background: var(--vvb-indigo); color: var(--vvb-nata); }
.vvb-botao:hover { background: #141820; }
.vvb-linha { background: transparent; box-shadow: inset 0 0 0 1.5px var(--vvb-indigo); color: var(--vvb-indigo); }
.vvb-linha:hover { background: var(--vvb-papel); }
.vvb-kicker {
	font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--vvb-barro); font-weight: 600; margin: 0 0 8px;
}

/* Header: centered wordmark, address under, indigo nav — not left facts, not mustard rule */
.vvb-topo { background: var(--vvb-nata); }
.vvb-marca {
	text-align: center;
	padding: 28px 6vw 16px;
}
.vvb-nome {
	font-family: var(--vvb-display);
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	color: var(--vvb-indigo);
	text-decoration: none;
	letter-spacing: 0.06em;
	display: block;
	line-height: 1;
}
.vvb-marca address {
	margin-top: 10px;
	font-size: 0.86rem;
	color: var(--vvb-barro);
	letter-spacing: 0.04em;
}
.vvb-barra {
	background: var(--vvb-indigo);
	padding: 0 6vw;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.vvb-barra ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	list-style: none;
	margin: 0;
	padding: 12px 0;
	justify-content: center;
}
.vvb-barra a { color: var(--vvb-nata); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.vvb-barra .current-menu-item a { box-shadow: inset 0 -2px 0 var(--vvb-barro); }
.vvb-abrir {
	display: none;
	background: transparent;
	color: var(--vvb-nata);
	border: 1px solid var(--vvb-barro);
	padding: 8px 12px;
	cursor: pointer;
	font-family: inherit;
	position: absolute;
	right: 6vw;
}
.vvb-gaveta { display: none; background: var(--vvb-indigo); color: var(--vvb-nata); padding: 18px 6vw 26px; }
.vvb-gaveta a { color: var(--vvb-nata); }
.vvb-gaveta.is-open, .vvb-gaveta:not([hidden]) { display: block; }
.vvb-gaveta ul { list-style: none; margin: 12px 0 0; padding: 0; }
.vvb-gaveta li { padding: 8px 0; border-bottom: 1px solid #3a4150; }
.vvb-gaveta button {
	background: transparent; color: var(--vvb-nata); border: 1px solid var(--vvb-barro);
	padding: 6px 10px; margin-bottom: 12px; cursor: pointer;
}

/* Divider: terrace step — line, drop, line */
.vvb-degrau {
	position: relative;
	height: 52px;
	margin: 4px 6vw 8px;
}
.vvb-degrau::before {
	content: "";
	position: absolute;
	left: 0;
	right: 26%;
	top: 16px;
	height: 3px;
	background: var(--vvb-barro);
}
.vvb-degrau::after {
	content: "";
	position: absolute;
	right: 0;
	width: 26%;
	top: 16px;
	height: 22px;
	border-left: 3px solid var(--vvb-barro);
	border-bottom: 3px solid var(--vvb-barro);
}

.vvb-bahn { padding: 40px 6vw; width: 100%; max-width: none; }
.vvb-bahn p { max-width: none; }

/* Hero: real img, not background-image */
.vvb-eira {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	min-height: 72vh;
	background: var(--vvb-indigo);
}
.vvb-eira-foto { margin: 0; min-height: 72vh; }
.vvb-eira-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 72vh;
}
.vvb-eira-texto {
	padding: 40px 6vw 48px;
	color: var(--vvb-nata);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--vvb-indigo);
}
.vvb-eira-texto .vvb-kicker { color: var(--vvb-barro); }
.vvb-eira-texto a { color: var(--vvb-barro); }
.vvb-eira-texto .vvb-botao { background: var(--vvb-barro); color: var(--vvb-indigo); }
.vvb-eira-texto .vvb-linha { box-shadow: inset 0 0 0 1.5px var(--vvb-barro); color: var(--vvb-barro); }

/* Night stay widget: house type + season, no sliders */
.vvb-noitada {
	padding: 40px 6vw 64px;
	background: var(--vvb-papel);
}
.vvb-tipo-fila, .vvb-estacao-fila {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 22px 0 18px;
}
.vvb-estacao-fila { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vvb-tipo, .vvb-estacao {
	border: 1px solid var(--vvb-linha);
	background: var(--vvb-nata);
	padding: 18px 16px 16px;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	color: inherit;
}
.vvb-tipo.is-on, .vvb-estacao.is-on {
	background: var(--vvb-indigo);
	color: var(--vvb-nata);
	border-color: var(--vvb-indigo);
}
.vvb-tipo h3, .vvb-estacao h3 { font-size: 1.25rem; margin: 0 0 6px; }
.vvb-tipo strong, .vvb-estacao strong {
	display: block;
	margin-top: 8px;
	font-family: var(--vvb-display);
	font-size: 1.35rem;
	color: var(--vvb-barro);
}
.vvb-tipo.is-on strong, .vvb-estacao.is-on strong { color: var(--vvb-barro); }
.vvb-soma {
	font-family: var(--vvb-display);
	font-size: clamp(1.45rem, 2.6vw, 2.15rem);
	margin: 18px 0 0;
	line-height: 1.28;
	color: var(--vvb-indigo);
}

/* Home house tiles with real img */
.vvb-casas { padding: 40px 6vw 28px; }
.vvb-kachelreihe {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 28px 0 12px;
}
.vvb-kachel { background: var(--vvb-papel); }
.vvb-kachel figure { margin: 0; min-height: 220px; }
.vvb-kachel img { width: 100%; height: 240px; object-fit: cover; }
.vvb-kachel-text { padding: 16px 18px 20px; }
.vvb-kachel-text h3 { font-size: 1.35rem; }
.vvb-kachel-text strong {
	display: block;
	margin-top: 10px;
	font-family: var(--vvb-display);
	font-size: 1.45rem;
	color: var(--vvb-indigo);
}

/* Olive grove landscape band */
.vvb-olival { margin: 0; }
.vvb-olival img {
	width: 100%;
	height: min(52vh, 420px);
	object-fit: cover;
}

/* Hours: four unique imgs */
.vvb-horas { padding: 40px 6vw 64px; }
.vvb-horas-grelha {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 28px 0 36px;
}
.vvb-horas-grelha article { background: var(--vvb-papel); }
.vvb-horas-grelha figure { margin: 0; }
.vvb-horas-grelha img { width: 100%; height: 160px; object-fit: cover; }
.vvb-horas-grelha h3 { font-size: 1.05rem; padding: 12px 14px 0; }
.vvb-hora {
	font-family: var(--vvb-display);
	font-size: 1.35rem;
	color: var(--vvb-barro);
	margin: 0 14px 8px;
}
.vvb-horas-grelha p { padding: 0 14px 16px; margin: 0; font-size: 0.94rem; }

/* Blog: wide essay + date rail on the RIGHT */
.vvb-caderno-bahn { padding: 40px 6vw 64px; background: var(--vvb-papel); }
.vvb-talha {
	display: grid;
	grid-template-columns: 1fr minmax(120px, 18%);
	gap: 28px;
	padding: 28px 0 32px;
	border-top: 1px solid var(--vvb-linha);
	align-items: start;
}
.vvb-talha:first-of-type { border-top: 3px solid var(--vvb-barro); }
.vvb-talha h2, .vvb-talha h3 { margin: 0 0 0.4em; }
.vvb-talha h2 a, .vvb-talha h3 a { color: var(--vvb-indigo); text-decoration: none; }
.vvb-talha-ensaio p { margin: 0 0 0.9rem; }
.vvb-talha-data {
	border-left: 2px solid var(--vvb-barro);
	padding: 4px 0 0 16px;
	text-align: right;
}
.vvb-talha-data time {
	display: block;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vvb-barro);
}
.vvb-cad-foto { margin: 0 0 18px; }
.vvb-cad-foto img { width: 100%; height: 280px; object-fit: cover; }

/* About photos */
.vvb-sobre-fotos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 0;
}
.vvb-sobre-fotos figure { margin: 0; }
.vvb-sobre-fotos img { width: 100%; height: 380px; object-fit: cover; }

.vvb-anos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 28px 0;
	border: 1px solid var(--vvb-linha);
}
.vvb-anos span {
	padding: 16px 18px 18px;
	border-right: 1px solid var(--vvb-linha);
}
.vvb-anos span:last-child { border-right: 0; }
.vvb-anos strong {
	display: block;
	font-family: var(--vvb-display);
	font-size: 1.35rem;
	color: var(--vvb-indigo);
	margin-bottom: 6px;
}

/* Services extras */
.vvb-servicos { display: flex; flex-direction: column; gap: 0; margin: 32px 0; }
.vvb-servicos article {
	display: grid;
	grid-template-columns: 42% 1fr;
	background: var(--vvb-papel);
	margin: 0 0 22px;
}
.vvb-servicos article:nth-child(even) { grid-template-columns: 1fr 42%; }
.vvb-servicos article:nth-child(even) figure { order: 2; }
.vvb-servicos figure { margin: 0; min-height: 260px; }
.vvb-servicos img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.vvb-servicos-texto { padding: 28px 6vw 32px; }
.vvb-servicos-texto strong {
	display: block;
	margin-top: 12px;
	font-family: var(--vvb-display);
	font-size: 1.65rem;
	color: var(--vvb-indigo);
}

/* Reviews: chat bubbles, not cards */
.vvb-fala { margin: 24px 0 0; }
.vvb-conversa {
	max-width: 70%;
	padding: 16px 20px 14px;
	background: var(--vvb-papel);
	border-radius: 18px 18px 18px 4px;
	margin: 0 0 18px;
	position: relative;
}
.vvb-conversa:nth-child(even) {
	margin-left: auto;
	background: #efe6d6;
	border-radius: 18px 18px 4px 18px;
}
.vvb-conversa::after {
	content: "";
	position: absolute;
	bottom: 8px;
	left: -7px;
	width: 14px;
	height: 14px;
	background: inherit;
	clip-path: polygon(100% 0, 100% 100%, 0 80%);
}
.vvb-conversa:nth-child(even)::after {
	left: auto;
	right: -7px;
	clip-path: polygon(0 0, 100% 80%, 0 100%);
}
.vvb-casa-linha {
	font-family: var(--vvb-display);
	font-size: 1.02rem;
	color: var(--vvb-indigo);
	margin: 0 0 6px;
}
.vvb-conversa p { margin: 0 0 8px; }
.vvb-conversa strong { font-size: 0.86rem; color: var(--vvb-barro); font-weight: 600; }

/* Contact gate photo */
.vvb-portao { margin: 0; }
.vvb-portao img { width: 100%; height: min(42vh, 360px); object-fit: cover; }
.vvb-ident {
	margin: 28px 0;
	padding: 22px 24px 26px;
	background: var(--vvb-papel);
	border-top: 3px solid var(--vvb-indigo);
}
.vvb-ident h2 { font-size: 1.25rem; }

/* 404 */
.vvb-vazio { margin: 0; }
.vvb-vazio img { width: 100%; height: min(42vh, 340px); object-fit: cover; }

.vvb-faq details { border-bottom: 1px solid var(--vvb-linha); padding: 12px 0; }
.vvb-faq summary { cursor: pointer; font-weight: 600; }
.vvb-form label { display: block; margin: 0 0 14px; font-weight: 600; font-size: 0.92rem; }
.vvb-form input, .vvb-form textarea, .vvb-form select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--vvb-linha);
	font-family: inherit; background: #fff; margin-top: 6px;
}
.vvb-form input:focus, .vvb-form textarea:focus, .vvb-form select:focus {
	outline: 2px solid var(--vvb-barro); border-color: var(--vvb-barro);
}
.vvb-form input[type="checkbox"] { width: auto; margin-right: 8px; }
.vvb-bahn table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.vvb-bahn th, .vvb-bahn td { border-bottom: 1px solid var(--vvb-linha); padding: 10px 12px; text-align: left; }
.vvb-bahn th { background: var(--vvb-papel); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.vvb-aviso { background: #e8efe4; padding: 10px 14px; }
.vvb-aviso-mau { background: #ead8d0; }

.vvb-fuss { background: var(--vvb-indigo); color: var(--vvb-nata); }
.vvb-fuss-leiste {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 28px;
	padding: 40px 6vw 32px;
}
.vvb-fuss-leiste strong { font-family: var(--vvb-display); font-size: 1.45rem; display: block; margin-bottom: 10px; }
.vvb-fuss-leiste p, .vvb-fuss-leiste address { margin: 0 0 10px; font-size: 0.92rem; }
.vvb-fuss a { color: var(--vvb-barro); }
.vvb-fuss-jur {
	padding: 14px 6vw 8px;
	font-size: 0.86rem;
	border-top: 1px solid #3a4150;
}
.vvb-fuss-jur a { margin-right: 14px; }
.vvb-rechte {
	margin: 0;
	padding: 8px 6vw 22px;
	font-size: 0.82rem;
}

/* Cookie bar: full-width bottom, never a floating card */
.vvb-bolacha {
	position: fixed; bottom: 0; left: 0; right: 0;
	background: var(--vvb-indigo); color: var(--vvb-nata);
	padding: 14px 6vw; display: none; z-index: 20;
}
.vvb-bolacha a { color: var(--vvb-barro); }
.vvb-bolacha.is-open { display: block; }
.vvb-bolacha .vvb-linha { box-shadow: inset 0 0 0 1.5px var(--vvb-nata); color: var(--vvb-nata); margin-right: 8px; }

@media (max-width: 880px) {
	.vvb-barra ul { display: none; }
	.vvb-abrir { display: block; position: static; margin: 10px auto; }
	.vvb-eira, .vvb-kachelreihe, .vvb-tipo-fila, .vvb-estacao-fila,
	.vvb-talha, .vvb-servicos article, .vvb-servicos article:nth-child(even),
	.vvb-sobre-fotos { display: block; }
	.vvb-servicos article:nth-child(even) figure { order: 0; }
	.vvb-eira-foto, .vvb-eira-foto img { min-height: 280px; }
	.vvb-horas-grelha, .vvb-anos, .vvb-fuss-leiste { grid-template-columns: 1fr 1fr; }
	.vvb-conversa { max-width: 92%; }
}

@media (max-width: 560px) {
	.vvb-horas-grelha, .vvb-anos, .vvb-fuss-leiste { grid-template-columns: 1fr; }
}
