/*
Theme Name: LP Romulo Veras
Theme URI: https://5amdigi.com.br/
Author: 5AM DIGI
Author URI: https://5amdigi.com.br/
Description: Tema de landing page para a candidatura Romulo Veras 4033. Barra superior com links de redes sociais, banner 1600 x 800 no topo e rodape com nome e CNPJ de campanha, tudo editavel pelo Personalizar.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: romulo-lp
Tags: one-column, custom-logo, featured-images, responsive-layout, translation-ready
*/

/* ==========================================================================
   1. Paleta extraida das artes da campanha
   ========================================================================== */

:root {
	--rv-verde: #01571f;
	--rv-verde-claro: #0b7a34;
	--rv-marinho: #0d1b36;
	--rv-marinho-escuro: #071023;
	--rv-dourado: #f2a11b;
	--rv-claro: #f4f6f3;
	--rv-texto: #14202f;

	--rv-largura: 1120px;
	--rv-largura-texto: 720px;

	--rv-esp-2: 16px;
	--rv-esp-3: 24px;
	--rv-esp-4: 40px;
	--rv-esp-5: 64px;

	--rv-fonte: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

body {
	margin: 0;
	background: #fff;
	color: var(--rv-texto);
	font-family: var(--rv-fonte);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rv-verde); }

h1, h2, h3 {
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	margin: 0 0 var(--rv-esp-2);
	color: var(--rv-marinho);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

:focus-visible {
	outline: 3px solid var(--rv-dourado);
	outline-offset: 3px;
}

.rv-container {
	width: 100%;
	max-width: var(--rv-largura);
	margin: 0 auto;
	padding-inline: var(--rv-esp-3);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.rv-pular {
	position: absolute;
	left: -9999px;
	background: var(--rv-verde);
	color: #fff;
	padding: 12px 16px;
	z-index: 99;
}

.rv-pular:focus { left: 12px; top: 12px; }

/* ==========================================================================
   3. Barra superior de redes sociais
   ========================================================================== */

.rv-topo {
	background: var(--rv-marinho);
	color: #fff;
	border-bottom: 4px solid var(--rv-dourado);
}

.rv-topo__interno {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rv-esp-2);
	min-height: 56px;
	padding-block: 10px;
}

.rv-topo__texto {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rv-dourado);
	margin: 0;
}

.rv-topo__redes {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.rv-rede {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 2px solid var(--rv-dourado);
	color: #fff;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.rv-rede svg { width: 20px; height: 20px; fill: currentColor; }

.rv-rede:hover {
	background: var(--rv-dourado);
	color: var(--rv-marinho);
	transform: translateY(-2px);
}

/* ==========================================================================
   4. Banner 1600 x 800
   ========================================================================== */

.rv-banner { background: var(--rv-verde); }

.rv-banner__moldura {
	position: relative;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	aspect-ratio: 1600 / 800;
	overflow: hidden;
}

.rv-banner__moldura img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.rv-banner__link { display: block; height: 100%; }

.rv-banner__vazio {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: var(--rv-esp-3);
	text-align: center;
	color: #fff;
	font-size: 0.95rem;
	border: 2px dashed rgba(255, 255, 255, 0.55);
}

.rv-banner__moldura--mobile { display: none; }

@media (max-width: 640px) {
	.rv-tem-banner-mobile .rv-banner__moldura--desktop { display: none; }
	.rv-tem-banner-mobile .rv-banner__moldura--mobile { display: block; aspect-ratio: 1080 / 1350; }
}

/* ==========================================================================
   5. Conteudo
   ========================================================================== */

.rv-secao { padding-block: var(--rv-esp-5); }

.rv-conteudo {
	max-width: var(--rv-largura-texto);
	margin: 0 auto;
}

.rv-conteudo > * + * { margin-top: var(--rv-esp-2); }

/* ==========================================================================
   6. Rodape
   ========================================================================== */

.rv-rodape {
	background: var(--rv-marinho-escuro);
	color: #fff;
	padding-block: var(--rv-esp-4);
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.6;
	border-top: 5px solid var(--rv-verde);
}

.rv-rodape__nome {
	margin: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.rv-rodape__cnpj {
	margin: 6px 0 0;
	opacity: 0.9;
}

.rv-rodape__faixa { height: 6px; background: var(--rv-dourado); }

/* ==========================================================================
   7. Responsivo
   ========================================================================== */

@media (max-width: 600px) {
	body { font-size: 16px; }
	.rv-secao { padding-block: var(--rv-esp-4); }
	.rv-container { padding-inline: var(--rv-esp-2); }
	.rv-topo__interno { justify-content: center; }
	.rv-topo__texto { display: none; }
	.rv-topo__redes { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition-duration: 0.01ms !important; }
}
