/**
 * Estilos da página Sobre (spec 006) — fiel ao Figma (5:833 desktop / 32:1908 mobile).
 * Depende de tokens.css/base.css.
 *
 * @package valquiria-ramos
 */

/* ---------- Hero ---------- */
.vr-sobre-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 502px;
	/* padding simétrico: livra o header no topo e mantém o texto centralizado */
	padding-block: var(--vr-header-h);
	background: var(--vr-dark) center / cover no-repeat;
	color: var(--vr-cream);
	text-align: center;
}
.vr-sobre-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.vr-sobre-hero__inner { position: relative; }
.vr-sobre-hero__title {
	font-family: var(--vr-font-ui);
	font-weight: 300;
	font-size: clamp(24px, 3.4vw, 40px);
	line-height: 1.2;
	color: var(--vr-cream);
	max-width: 628px;
	margin: 0 auto;
}

/* ---------- Conteúdo (foto + texto) ---------- */
.vr-sobre { padding-block: var(--vr-space-8); }
.vr-sobre__grid { display: grid; grid-template-columns: 385px 1fr; gap: 120px; align-items: center; }

/* Proporção no container (div) — evita o problema de width/height do <img> do WP. */
.vr-sobre__foto {
	position: relative;
	aspect-ratio: 385 / 396;
	border-top-left-radius: 141px;
	overflow: hidden;
}
.vr-sobre__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vr-sobre__titulo { font-family: var(--vr-font-ui); font-weight: 300; font-size: 32px; color: var(--vr-black); margin-bottom: var(--vr-space-5); }
.vr-sobre__bio { color: var(--vr-text-2); font-size: 18px; line-height: 1.4; max-width: 650px; }
.vr-sobre__bio p { margin-bottom: 1.4em; }
.vr-sobre__bio p:last-child { margin-bottom: 0; }
.vr-sobre__texto .vr-btn { margin-top: var(--vr-space-5); }
.vr-sobre__whats { width: 312px; height: 44px; padding-top: 0; padding-bottom: 0; }

@media (max-width: 860px) {
	.vr-sobre-hero { min-height: 450px; }
	.vr-sobre__grid { grid-template-columns: 1fr; gap: var(--vr-space-6); }
	/* foto acompanha a largura da tela, mantendo a proporção 385/396 */
	.vr-sobre__foto { max-width: none; border-top-left-radius: 110px; }
	.vr-sobre__titulo { font-size: 28px; }
	.vr-sobre__whats { width: 100%; }
	.vr-sobre-hero__title { max-width: 330px; }
}
