/*
Theme Name: LP Enfermeira Marilu
Theme URI: https://5amdigi.com.br/
Author: 5AM DIGI
Author URI: https://5amdigi.com.br/
Description: Tema de landing page simples para a candidatura Enfermeira Marilu 4066. Banner no topo, area de destaque com redes sociais e rodape com nome e CNPJ de campanha.
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: marilu-lp
Tags: one-column, custom-logo, custom-menu, featured-images, responsive-layout, translation-ready
*/

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

:root {
	--mr-roxo: #4a2a8c;
	--mr-roxo-escuro: #33206a;
	--mr-roxo-claro: #f4efFA;
	--mr-amarelo: #f6bd16;
	--mr-magenta: #d21895;
	--mr-texto: #2b1b4d;
	--mr-branco: #ffffff;

	--mr-largura: 1120px;
	--mr-largura-texto: 720px;
	--mr-raio: 999px;

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

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

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

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

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

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

a {
	color: var(--mr-roxo);
}

h1, h2, h3 {
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 var(--mr-esp-2);
	color: var(--mr-roxo);
}

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(--mr-amarelo);
	outline-offset: 3px;
}

.mr-container {
	width: 100%;
	max-width: var(--mr-largura);
	margin: 0 auto;
	padding-inline: var(--mr-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;
}

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

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

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

.mr-banner {
	background: var(--mr-roxo);
}

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

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

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

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

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

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

/* ==========================================================================
   4. Conteudo
   ========================================================================== */

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

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

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

/* ==========================================================================
   5. Destaque de redes sociais
   ========================================================================== */

.mr-redes {
	background: var(--mr-roxo);
	color: #fff;
	padding-block: var(--mr-esp-5);
	text-align: center;
}

.mr-redes__titulo {
	color: #fff;
	margin-bottom: var(--mr-esp-3);
}

.mr-redes__titulo::after {
	content: "";
	display: block;
	width: 72px;
	height: 5px;
	border-radius: 3px;
	background: var(--mr-amarelo);
	margin: var(--mr-esp-2) auto 0;
}

.mr-redes__lista {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--mr-esp-2);
}

.mr-botao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 240px;
	padding: 16px 28px;
	border-radius: var(--mr-raio);
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease;
}

.mr-botao svg {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	fill: currentColor;
}

.mr-botao:hover { transform: translateY(-2px); }

.mr-botao--instagram {
	background: var(--mr-magenta);
	color: #fff;
}

.mr-botao--instagram:hover { background: #b8117f; }

.mr-botao--facebook {
	background: var(--mr-amarelo);
	color: var(--mr-roxo-escuro);
}

.mr-botao--facebook:hover { background: #e0aa0c; }

.mr-botao--tiktok {
	background: var(--mr-roxo-escuro);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.mr-botao--tiktok:hover { background: #241549; }

.mr-botao--youtube {
	background: #fff;
	color: var(--mr-roxo);
}

.mr-botao--youtube:hover { background: var(--mr-roxo-claro); }

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

.mr-rodape {
	background: var(--mr-roxo-escuro);
	color: #fff;
	padding-block: var(--mr-esp-4);
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.6;
}

.mr-rodape__nome {
	font-weight: 700;
	margin: 0;
	letter-spacing: 0.01em;
}

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

.mr-rodape__faixa {
	height: 6px;
	background: var(--mr-amarelo);
}

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

@media (max-width: 600px) {
	body { font-size: 16px; }
	.mr-secao,
	.mr-redes { padding-block: var(--mr-esp-4); }
	.mr-botao { min-width: 100%; }
	.mr-container { padding-inline: var(--mr-esp-2); }
}

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