/*
Theme Name: EntreVidas
Description: Tema do Museu Digital EntreVidas. Histórias em formato de matéria, com ficha do acervo, galeria, página inicial com os últimos publicados e formulários de contato e indicação.
Version: 1.0.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: entrevidas
License: GPL-2.0-or-later
Fontes: Poppins e Lora (SIL Open Font License 1.1).
*/

/* ---------- Fontes ---------- */
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("assets/fonts/lora-variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("assets/fonts/lora-italic-variable.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

/* ---------- Base ---------- */
:root {
	--preto: #000;
	--tinta: #1c1a16;
	--amarelo: #eca406;
	--amarelo-claro: #fff3d4;
	--papel: #fff;
	--cinza: #5e5a52;
	--linha: #e2ded4;
	--sans: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
	--serif: "Lora", Georgia, "Times New Roman", serif;
	--largura: 1240px;
	--calha: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--papel);
	color: var(--tinta);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--preto); outline-offset: 3px; }
.ev-rodape :focus-visible,
.ev-museu__topo :focus-visible,
.ev-cartao--destaque .ev-cartao__texto :focus-visible { outline-color: var(--amarelo); }

.ev-container { width: 100%; max-width: calc(var(--largura) + 2 * var(--calha)); margin-inline: auto; padding-inline: var(--calha); }
.ev-container--medio > * { max-width: 900px; }
.ev-container--estreito { max-width: calc(760px + 2 * var(--calha)); }

.ev-pular { position: absolute; left: -9999px; top: 0; background: var(--preto); color: #fff; padding: 12px 18px; z-index: 100; }
.ev-pular:focus { left: 12px; top: 12px; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Os três pontos da marca */
.ev-pontos { display: inline-flex; gap: 9px; }
.ev-pontos i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.ev-pontos--grande { gap: 14px; }
.ev-pontos--grande i { width: 16px; height: 16px; }

/* Botões e links */
.ev-botao {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.2;
	padding: 13px 24px; border: 2px solid transparent; border-radius: 2px;
	text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.ev-botao--grande { padding: 17px 32px; font-size: 1.06rem; }
.ev-botao--preto { background: var(--preto); color: #fff; border-color: var(--preto); }
.ev-botao--preto:hover { background: #fff; color: var(--preto); }
.ev-botao--amarelo { background: var(--amarelo); color: var(--preto); border-color: var(--amarelo); }
.ev-botao--amarelo:hover { background: #fff; border-color: #fff; }
.ev-botao--contorno { background: transparent; color: var(--preto); border-color: var(--preto); }
.ev-botao--contorno:hover { background: var(--preto); color: #fff; }

.ev-link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--amarelo); }
.ev-link:hover { text-decoration-color: currentColor; }

.ev-sep { display: inline-block; width: 1px; height: .95em; background: currentColor; opacity: .45; margin: 0 .75em; vertical-align: -.1em; }

.ev-registro { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; line-height: 1.2; }
.ev-registro::before { content: ""; width: 10px; height: 10px; background: var(--amarelo); }
.ev-registro--selo { background: var(--preto); color: var(--amarelo); padding: 6px 12px 6px 10px; }

/* ---------- Topo ---------- */
.ev-topo { background: var(--papel); border-bottom: 3px solid var(--preto); position: relative; z-index: 20; }
.ev-topo__dentro { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.ev-marca { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 0; }
.ev-marca img { height: 50px; width: auto; }
.ev-marca--enviada img { height: 60px; width: auto; }
.ev-marca__nome { font-weight: 500; font-size: 1.12rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
.ev-marca__nome b { font-weight: 700; color: var(--preto); }
.ev-marca__nome i { font-style: normal; font-weight: 700; color: var(--amarelo); }

.ev-nav { display: flex; align-items: center; gap: 30px; }
.ev-menu { display: flex; gap: 28px; }
.ev-menu a { display: inline-block; padding: 8px 0; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; }
.ev-menu a:hover { border-bottom-color: var(--preto); }
.ev-menu .current-menu-item > a, .ev-menu a[aria-current="page"] { border-bottom-color: var(--amarelo); }

.ev-topo__abre { display: none; align-items: center; gap: 10px; background: none; border: 2px solid var(--preto); border-radius: 2px; padding: 10px 14px; font-weight: 500; cursor: pointer; }
.ev-topo__barras, .ev-topo__barras::before, .ev-topo__barras::after { display: block; width: 20px; height: 2px; background: var(--preto); }
.ev-topo__barras { position: relative; }
.ev-topo__barras::before, .ev-topo__barras::after { content: ""; position: absolute; left: 0; }
.ev-topo__barras::before { top: -6px; }
.ev-topo__barras::after { top: 6px; }

@media (max-width: 880px) {
	.ev-topo__dentro { min-height: 72px; flex-wrap: wrap; }
	.ev-marca img { height: 42px; }
	.ev-marca__nome { font-size: .98rem; }
	.ev-topo__abre { display: inline-flex; }
	.ev-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 22px; border-top: 1px solid var(--linha); }
	.ev-nav.aberto { display: flex; }
	.ev-menu { flex-direction: column; gap: 0; }
	.ev-menu a { display: block; padding: 15px 0; border-bottom: 1px solid var(--linha); font-size: 1.1rem; }
	.ev-menu .current-menu-item > a { border-bottom-color: var(--linha); box-shadow: inset 5px 0 0 var(--amarelo); padding-left: 16px; }
	.ev-nav__indique { margin-top: 18px; }
}
@media (max-width: 380px) {
	.ev-marca__nome { display: none; }
}

/* ---------- Página inicial ---------- */
.ev-abre { background: var(--amarelo); color: var(--preto); }
.ev-abre__dentro { display: grid; gap: 34px; padding-block: clamp(46px, 7vw, 104px); }
.ev-abre__titulo { font-weight: 700; font-size: clamp(2.7rem, 8.6vw, 6.6rem); line-height: .97; letter-spacing: -.035em; max-width: 9.5em; text-wrap: balance; }
.ev-abre__lado { display: grid; gap: 22px; align-content: end; }
.ev-abre__texto { font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; max-width: 34em; }
.ev-abre__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }
.ev-abre .ev-link, .ev-pagina__topo .ev-link, .ev-faixa .ev-link { text-decoration-color: var(--preto); }
.ev-abre .ev-botao--preto:hover, .ev-pagina__topo .ev-botao--preto:hover, .ev-faixa .ev-botao--preto:hover { background: transparent; }

@media (min-width: 960px) {
	.ev-abre__dentro { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: end; }
}

.ev-ultimas { padding-block: clamp(44px, 6vw, 84px); }
.ev-secao__cabeca { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 28px; }
.ev-secao__titulo { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.ev-ultimas__destaque { margin-bottom: clamp(36px, 5vw, 60px); }
.ev-ultimas__primeira { font-family: var(--serif); font-size: 1.1rem; color: var(--cinza); max-width: 36em; padding-left: 20px; border-left: 4px solid var(--amarelo); }

.ev-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 44px 32px; }

/* Cartão de história */
.ev-cartao { display: flex; flex-direction: column; }
.ev-cartao__foto { display: block; aspect-ratio: 4 / 3; background: var(--amarelo-claro); overflow: hidden; }
.ev-cartao__foto img { width: 100%; height: 100%; object-fit: cover; }
.ev-cartao__semfoto { display: grid; place-items: center; height: 100%; color: var(--amarelo); }
.ev-cartao__texto { padding-top: 18px; display: grid; gap: 9px; justify-items: start; }
.ev-cartao__titulo { font-size: 1.24rem; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.ev-cartao__titulo a { text-decoration: none; }
.ev-cartao__titulo a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--amarelo); }
.ev-cartao__meta { font-size: .88rem; color: var(--cinza); }

.ev-cartao--destaque { background: var(--preto); color: #fff; }
.ev-cartao--destaque .ev-cartao__foto { aspect-ratio: 3 / 2; }
.ev-cartao--destaque .ev-cartao__texto { padding: clamp(24px, 3.4vw, 46px); gap: 16px; align-content: center; }
.ev-cartao--destaque .ev-registro { color: var(--amarelo); font-size: .9rem; }
.ev-cartao--destaque .ev-cartao__titulo { font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.14; letter-spacing: -.015em; }
.ev-cartao--destaque .ev-cartao__linha { font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; color: #dcd8cf; }
.ev-cartao--destaque .ev-cartao__meta { color: #b9b4a9; }
.ev-cartao--destaque .ev-botao { margin-top: 8px; }

@media (min-width: 900px) {
	.ev-cartao--destaque { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); }
	.ev-cartao--destaque .ev-cartao__foto { aspect-ratio: auto; min-height: 440px; height: 100%; }
}

/* Faixa de convite */
.ev-faixa { background: var(--amarelo); color: var(--preto); }
.ev-faixa__dentro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 48px; padding-block: clamp(44px, 6vw, 76px); }
.ev-faixa__titulo { font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; max-width: 17em; text-wrap: balance; }
.ev-faixa__texto { font-family: var(--serif); font-size: 1.12rem; margin-top: 12px; max-width: 34em; }

.ev-vazio { font-family: var(--serif); font-size: 1.15rem; padding: 34px; background: var(--amarelo-claro); border-left: 6px solid var(--preto); max-width: 44em; }
.ev-vazio a { font-family: var(--sans); font-weight: 500; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Museu (lista) ---------- */
.ev-museu__topo { background: var(--preto); color: #fff; padding-block: clamp(42px, 6vw, 84px); }
.ev-museu__titulo { font-size: clamp(2.4rem, 6.4vw, 4.8rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.ev-museu__texto { font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: #dcd8cf; max-width: 38em; margin-top: 18px; }

.ev-busca { margin-top: 34px; max-width: 620px; }
.ev-busca label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 8px; }
.ev-busca__linha { display: flex; gap: 10px; }
.ev-busca input { flex: 1; min-width: 0; padding: 13px 16px; border: 2px solid #fff; border-radius: 2px; background: #fff; color: var(--preto); font-size: 1rem; }
.ev-busca input::placeholder { color: #77736b; }

.ev-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ev-filtros a { padding: 8px 16px; border: 1.5px solid #fff; border-radius: 2px; font-size: .94rem; font-weight: 500; text-decoration: none; }
.ev-filtros a:hover { background: #fff; color: var(--preto); }
.ev-filtros a[aria-current] { background: var(--amarelo); border-color: var(--amarelo); color: var(--preto); }

.ev-museu__lista { padding-block: clamp(40px, 6vw, 80px); }
.ev-museu__resultado { margin-bottom: 30px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 8px 22px; }

.ev-paginacao { margin-top: 56px; }
.ev-paginacao .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-paginacao .page-numbers { padding: 9px 16px; border: 2px solid var(--preto); border-radius: 2px; font-weight: 500; text-decoration: none; }
.ev-paginacao .page-numbers.current, .ev-paginacao a.page-numbers:hover { background: var(--preto); color: #fff; }
.ev-paginacao .page-numbers.dots { border-color: transparent; }

/* ---------- História (matéria) ---------- */
.ev-materia__topo { padding-top: clamp(30px, 4vw, 56px); padding-bottom: clamp(26px, 3.4vw, 44px); }
.ev-materia__topo .ev-container { max-width: calc(var(--largura) + 2 * var(--calha)); }
.ev-trilha { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: .92rem; font-weight: 500; margin-bottom: 24px; }
.ev-trilha a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--amarelo); }
.ev-trilha a:hover { text-decoration-color: currentColor; }
.ev-materia__titulo { font-size: clamp(2rem, 5vw, 3.7rem); font-weight: 700; line-height: 1.06; letter-spacing: -.028em; max-width: 19em; text-wrap: balance; }
.ev-materia__linha { font-family: var(--serif); font-size: clamp(1.14rem, 1.7vw, 1.36rem); line-height: 1.55; color: #37342e; max-width: 40em; margin-top: 22px; }
.ev-materia__assina { font-size: .92rem; color: var(--cinza); margin-top: 22px; }
.ev-materia__assina strong { color: var(--tinta); font-weight: 500; }

.ev-materia__capa img { width: 100%; max-height: 720px; object-fit: cover; }
.ev-materia__capa figcaption { font-size: .85rem; color: var(--cinza); padding-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; }
.ev-materia__credito { margin-left: auto; }

.ev-materia__corpo { display: grid; gap: 48px; padding-block: clamp(34px, 5vw, 64px) clamp(44px, 6vw, 80px); }
.ev-materia__texto { min-width: 0; max-width: 700px; }
@media (min-width: 1020px) {
	.ev-materia__corpo { grid-template-columns: minmax(0, 700px) minmax(280px, 350px); justify-content: space-between; gap: 64px; }
	.ev-materia__lado { position: sticky; top: 28px; align-self: start; }
}
.ev-materia__lado { display: grid; gap: 30px; align-content: start; }

.ev-frase { margin-bottom: 40px; padding-left: 24px; border-left: 6px solid var(--amarelo); }
.ev-frase p { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.4; }
.ev-frase cite { display: block; margin-top: 12px; font-style: normal; font-size: .92rem; font-weight: 500; }

/* Texto corrido */
.ev-conteudo { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.75; overflow-wrap: break-word; }
.ev-conteudo > * + * { margin-top: 1.3em; }
.ev-conteudo h2, .ev-conteudo h3, .ev-conteudo h4 { font-family: var(--sans); font-weight: 700; line-height: 1.2; letter-spacing: -.012em; }
.ev-conteudo h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: 2.3em; }
.ev-conteudo h2::before { content: ""; display: block; width: 46px; height: 10px; margin-bottom: 20px; background: radial-gradient(circle 5px at 5px 5px, var(--amarelo) 98%, transparent 100%) 0 0 / 18px 10px repeat-x; }
.ev-conteudo h3 { font-size: 1.28rem; margin-top: 2em; }
.ev-conteudo h2 + *, .ev-conteudo h3 + * { margin-top: .75em; }
.ev-conteudo a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--amarelo); }
.ev-conteudo a:hover { text-decoration-color: currentColor; }
.ev-conteudo ul, .ev-conteudo ol { padding-left: 1.3em; }
.ev-conteudo ul { list-style: disc; }
.ev-conteudo ol { list-style: decimal; }
.ev-conteudo li + li { margin-top: .4em; }
.ev-conteudo figure { margin-block: 2.1em; }
.ev-conteudo figure img { width: 100%; }
.ev-conteudo figcaption, .ev-conteudo .wp-element-caption { font-family: var(--sans); font-size: .85rem; line-height: 1.5; color: var(--cinza); margin-top: 10px; text-align: left; }
.ev-conteudo blockquote, .ev-conteudo .wp-block-pullquote { margin-block: 2em; padding: 0 0 0 24px; border: 0; border-left: 6px solid var(--amarelo); font-style: italic; font-size: 1.35rem; line-height: 1.45; text-align: left; }
.ev-conteudo blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: .9rem; font-weight: 500; }
.ev-conteudo .wp-block-embed iframe, .ev-conteudo iframe { max-width: 100%; }
.ev-conteudo .wp-block-gallery { margin-block: 2.1em; }
.ev-conteudo hr { border: 0; height: 10px; width: 46px; margin: 2.4em 0; background: radial-gradient(circle 5px at 5px 5px, var(--preto) 98%, transparent 100%) 0 0 / 18px 10px repeat-x; }

/* Ficha do acervo */
.ev-ficha { background: radial-gradient(circle at calc(100% - 30px) 30px, var(--papel) 9px, transparent 10px), var(--amarelo); color: var(--preto); padding: 28px 28px 14px; }
.ev-ficha__titulo { font-size: 1rem; font-weight: 500; line-height: 1.2; }
.ev-ficha__numero { font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; margin-top: 6px; }
.ev-ficha dl { margin-top: 22px; }
.ev-ficha dl > div { padding: 13px 0; border-top: 1.5px solid rgba(0, 0, 0, .28); }
.ev-ficha dt { font-size: .8rem; font-weight: 400; }
.ev-ficha dd { font-size: 1rem; font-weight: 500; line-height: 1.4; margin-top: 2px; }

.ev-compartilhar__titulo { font-size: .95rem; font-weight: 500; margin-bottom: 12px; }
.ev-compartilhar ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-compartilhar a, .ev-compartilhar button { display: inline-block; padding: 9px 15px; border: 2px solid var(--preto); border-radius: 2px; background: #fff; font-size: .92rem; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; }
.ev-compartilhar a:hover, .ev-compartilhar button:hover, .ev-compartilhar button.copiado { background: var(--preto); color: #fff; }

/* Blocos depois do texto */
.ev-bloco { padding-block: clamp(40px, 5.4vw, 68px); border-top: 1.5px solid var(--linha); }
.ev-bloco__titulo { font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -.012em; margin-bottom: 26px; }

.ev-video { position: relative; aspect-ratio: 16 / 9; background: var(--preto); }
.ev-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ev-audio { width: 100%; border: 0; margin-top: 18px; border-radius: 12px; }
.ev-entrevista__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.ev-batebola__lista { display: grid; gap: 0 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ev-batebola__lista > div { padding: 18px 0; border-top: 1.5px solid var(--linha); }
.ev-batebola dt { font-size: .9rem; font-weight: 500; color: var(--cinza); }
.ev-batebola dd { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; margin-top: 4px; }

.ev-galeria__lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .ev-galeria__lista { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1100px) {
	.ev-galeria__lista--4 { grid-template-columns: repeat(4, 1fr); }
	.ev-galeria__lista--5 { grid-template-columns: repeat(5, 1fr); }
}
.ev-galeria__foto { display: block; aspect-ratio: 1; overflow: hidden; background: var(--amarelo-claro); cursor: zoom-in; }
.ev-galeria__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ev-galeria__foto:hover img { transform: scale(1.04); }

.ev-sobre__lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px 32px; }
.ev-sobre dt { font-size: .85rem; color: var(--cinza); }
.ev-sobre dd { font-weight: 500; font-size: 1.05rem; }
.ev-sobre__nota { margin-top: 26px; font-size: .92rem; color: var(--cinza); }

.ev-outras { padding-block: clamp(44px, 6vw, 80px); border-top: 1.5px solid var(--linha); }

/* Ampliar foto */
.ev-luz { border: 0; padding: 0; background: rgba(0, 0, 0, .94); color: #fff; width: 100vw; height: 100dvh; max-width: none; max-height: none; }
.ev-luz::backdrop { background: rgba(0, 0, 0, .94); }
.ev-luz__dentro { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 16px; gap: 12px; }
.ev-luz__barra { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.ev-luz__foto { min-height: 0; display: grid; place-items: center; }
.ev-luz__foto img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ev-luz__legenda { text-align: center; font-size: .92rem; min-height: 1.5em; }
.ev-luz button { background: none; border: 2px solid #fff; border-radius: 2px; color: #fff; padding: 9px 16px; font-weight: 500; cursor: pointer; }
.ev-luz button:hover { background: #fff; color: #000; }
.ev-luz :focus-visible { outline-color: var(--amarelo); }
.ev-luz__navega { display: flex; gap: 8px; }

/* ---------- Páginas e contato ---------- */
.ev-pagina__topo { background: var(--amarelo); color: var(--preto); padding-block: clamp(40px, 6vw, 80px); }
.ev-pagina__titulo { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; max-width: 14em; text-wrap: balance; }
.ev-pagina__texto { font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 36em; margin-top: 18px; }
.ev-pagina__topo .ev-abre__acoes { margin-top: 28px; }
.ev-pagina__corpo { padding-block: clamp(36px, 5vw, 64px); }

.ev-lista-simples { padding-block: 26px; border-bottom: 1.5px solid var(--linha); }
.ev-lista-simples h2 { font-size: 1.4rem; line-height: 1.25; }
.ev-lista-simples h2 a { text-decoration: none; }

.ev-contato { display: grid; gap: 32px; padding-block: clamp(36px, 5vw, 68px); align-items: start; }
@media (min-width: 900px) { .ev-contato { grid-template-columns: 1fr 1fr; gap: 40px; } .ev-contato__intro { grid-column: 1 / -1; } }
.ev-contato__painel { border-top: 8px solid var(--preto); padding: clamp(24px, 3vw, 38px); background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linha); scroll-margin-top: 24px; }
.ev-contato__painel--indique { background: var(--amarelo-claro); box-shadow: none; }
.ev-contato__titulo { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -.012em; }
.ev-contato__apoio { font-family: var(--serif); font-size: 1.06rem; margin-top: 10px; margin-bottom: 24px; }
.ev-contato__email { margin-top: 22px; font-size: .95rem; }
.ev-contato__email a { font-weight: 500; text-underline-offset: 4px; overflow-wrap: anywhere; }

.ev-form { display: grid; gap: 18px; }
.ev-form__campo label { display: block; font-size: .93rem; font-weight: 500; margin-bottom: 6px; }
.ev-form input[type="text"], .ev-form input[type="email"], .ev-form textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--preto); border-radius: 2px; background: #fff; font-size: 1rem; line-height: 1.5; }
.ev-form textarea { resize: vertical; min-height: 130px; }
.ev-form input:focus-visible, .ev-form textarea:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 0; }
.ev-contato__painel--indique .ev-form input:focus-visible, .ev-contato__painel--indique .ev-form textarea:focus-visible { outline-color: var(--preto); outline-offset: 2px; }
.ev-form__site { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ev-form__nota { font-size: .84rem; color: var(--cinza); }

.ev-aviso { padding: 20px 22px; font-size: 1rem; line-height: 1.55; }
.ev-aviso--ok { background: var(--preto); color: #fff; border-left: 8px solid var(--amarelo); }
.ev-contato__painel--indique .ev-aviso--ok { border-left-color: var(--amarelo); }
.ev-aviso--erro { background: #fdecea; color: #5f120c; border-left: 8px solid #b3261e; margin-bottom: 20px; }

/* ---------- Rodapé ---------- */
.ev-rodape { background: var(--preto); color: #fff; }
.ev-rodape__dentro { display: grid; gap: 38px; padding-block: clamp(44px, 6vw, 72px) 38px; }
@media (min-width: 800px) { .ev-rodape__dentro { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; } }
.ev-rodape__marca img { width: 210px; height: auto; }
.ev-rodape__titulo { font-size: .95rem; font-weight: 500; color: var(--amarelo); margin-bottom: 14px; }
.ev-rodape li + li { margin-top: 9px; }
.ev-rodape a { text-decoration: none; overflow-wrap: anywhere; }
.ev-rodape a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--amarelo); }
.ev-rodape__fim { border-top: 1px solid #333; padding-block: 22px 28px; font-size: .86rem; color: #b9b4a9; }

/* ---------- Ajustes gerais ---------- */
.alignwide, .alignfull { max-width: none; }
.aligncenter { margin-inline: auto; }
.wp-block-image img { height: auto; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.ev-topo__abre, .ev-nav, .ev-faixa, .ev-compartilhar, .ev-outras, .ev-rodape__col { display: none !important; }
	.ev-materia__corpo { display: block; }
}
