/*
Theme Name: Grupo Recruta Mais
Theme URI: https://gruporecrutamais.com.br/
Author: JM Technology
Author URI: https://jmtechnology.com.br/
Description: Tema oficial mobile-first do Grupo Recruta Mais (Portal de Vagas, Gerador de Currículos e Serviços de RH) embutido no plugin JM Currículos & Vagas Pro.
Version: 2.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: recruta-mais
*/

:root {
	--rm-brand: #7A1C1C;
	--rm-brand-dark: #581212;
	--rm-brand-soft: #FEF2F2;
	--rm-slate-900: #0F172A;
	--rm-slate-700: #334155;
	--rm-slate-600: #475569;
	--rm-slate-200: #E2E8F0;
	--rm-surface: #F8FAFC;
	--rm-white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.rm-theme-body {
	margin: 0;
	font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
	background: var(--rm-surface);
	color: var(--rm-slate-900);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.rm-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header Institucional */
.rm-site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rm-slate-200);
}
body.admin-bar .rm-site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .rm-site-header { top: 46px; }
}
.rm-header-inner {
	display: flex; align-items: center; justify-content: center;
	gap: 16px; min-height: 78px; padding: 10px 20px;
}
.rm-brand-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.rm-brand-link img { height: 58px; width: auto; max-width: 240px; object-fit: contain; display: block; }

.rm-desktop-nav { display: none; align-items: center; gap: 22px; }
.rm-desktop-nav a {
	color: var(--rm-slate-700); text-decoration: none;
	font-size: 14px; font-weight: 600; transition: color 0.15s;
}
.rm-desktop-nav a:hover,
.rm-desktop-nav a:focus-visible { color: var(--rm-brand); }
.rm-nav-cta {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--rm-brand); color: var(--rm-white) !important;
	padding: 10px 18px; border-radius: 999px; font-weight: 700;
	text-decoration: none; font-size: 13px; transition: background 0.15s;
}
.rm-nav-cta:hover { background: var(--rm-brand-dark); }

@media (min-width: 901px) {
	.rm-header-inner { justify-content: space-between; min-height: 86px; padding: 8px 20px; }
	.rm-brand-link img { height: 64px; max-width: 260px; }
	.rm-desktop-nav { display: flex; }
}

/* Conteúdo e Seções */
.rm-main-content { min-height: 70vh; }
.rm-page-section { padding: 32px 0 64px; }
.rm-page-card {
	background: var(--rm-white); border: 1px solid var(--rm-slate-200);
	border-radius: 16px; padding: 28px; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.rm-page-title {
	margin: 0 0 20px; font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: clamp(24px, 3vw, 32px); color: var(--rm-slate-900);
}

/* Faixa rápida Home: CV + Serviços */
.rm-home-cta-band {
	background: var(--rm-white); border-top: 1px solid var(--rm-slate-200);
	padding: 48px 0;
}
.rm-cta-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .rm-cta-grid { grid-template-columns: repeat(2, 1fr); } }
.rm-cta-box {
	border: 1px solid var(--rm-slate-200); border-radius: 16px; padding: 28px;
	background: var(--rm-surface); display: flex; flex-direction: column; gap: 12px;
}
.rm-cta-box h2 { margin: 0; font-size: 20px; color: var(--rm-slate-900); }
.rm-cta-box p { margin: 0; font-size: 14px; color: var(--rm-slate-600); }
.rm-cta-box-btn {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14px;
	text-decoration: none; background: var(--rm-brand); color: var(--rm-white);
}
.rm-cta-box-btn:hover { background: var(--rm-brand-dark); }

/* Footer */
.rm-site-footer {
	background: var(--rm-slate-900); color: #CBD5E1;
	padding: 44px 0 96px; font-size: 13px;
}
@media (min-width: 901px) { .rm-site-footer { padding-bottom: 44px; } }
.rm-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .rm-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.rm-footer-title { color: var(--rm-white); font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.rm-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rm-footer-links a { color: #CBD5E1; text-decoration: none; }
.rm-footer-links a:hover { color: var(--rm-white); text-decoration: underline; }
.rm-footer-bottom {
	margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px;
}

/* Notícias & Artigos */
.rm-sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rm-news-hero {
	background: linear-gradient(135deg, #162328 0%, #7A1C1C 100%);
	color: var(--rm-white); padding: 48px 0 40px;
}
.rm-news-eyebrow {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
	color: #FDE68A; margin-bottom: 10px;
}
.rm-news-hero-title {
	margin: 0 0 10px; font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--rm-white);
}
.rm-news-hero-sub { margin: 0 0 22px; max-width: 680px; color: #E2E8F0; font-size: 15px; }
.rm-news-search {
	display: flex; flex-wrap: wrap; gap: 8px; max-width: 540px; margin-bottom: 18px;
}
.rm-news-search input {
	flex: 1 1 220px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
	background: var(--rm-white); color: var(--rm-slate-900); font-size: 14px;
}
.rm-news-search button {
	padding: 12px 20px; border-radius: 10px; border: none; background: #0F172A;
	color: var(--rm-white); font-weight: 700; font-size: 14px; cursor: pointer;
}
.rm-news-search button:hover { background: #1E293B; }
.rm-news-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-news-cat-pill {
	display: inline-flex; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
	text-decoration: none; color: #E2E8F0; background: rgba(255, 255, 255, 0.12);
}
.rm-news-cat-pill.is-active, .rm-news-cat-pill:hover {
	background: var(--rm-white); color: var(--rm-brand);
}
.rm-news-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 768px) { .rm-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rm-news-grid { grid-template-columns: repeat(3, 1fr); } }
.rm-news-card {
	background: var(--rm-white); border: 1px solid var(--rm-slate-200); border-radius: 16px;
	overflow: hidden; display: flex; flex-direction: column;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rm-news-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
.rm-news-card-media { display: block; height: 180px; overflow: hidden; background: var(--rm-brand-soft); text-decoration: none; }
.rm-news-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-news-card-placeholder {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #FEF2F2 0%, #F1F5F9 100%);
	color: var(--rm-brand); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px;
	padding: 16px; text-align: center;
}
.rm-news-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rm-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--rm-slate-600); }
.rm-news-badge {
	background: var(--rm-brand-soft); color: var(--rm-brand); padding: 3px 10px;
	border-radius: 999px; font-weight: 700; font-size: 11px;
}
.rm-news-card-title { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 18px; line-height: 1.3; }
.rm-news-card-title a { color: var(--rm-slate-900); text-decoration: none; }
.rm-news-card-title a:hover { color: var(--rm-brand); }
.rm-news-card-excerpt { margin: 0; font-size: 14px; color: var(--rm-slate-600); flex: 1; }
.rm-news-read-more { font-size: 13px; font-weight: 700; color: var(--rm-brand); text-decoration: none; }
.rm-news-read-more:hover { text-decoration: underline; }
.rm-news-pagination { margin-top: 32px; display: flex; justify-content: center; }
.rm-news-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.rm-news-pagination .page-numbers {
	padding: 8px 14px; border-radius: 8px; border: 1px solid var(--rm-slate-200);
	background: var(--rm-white); color: var(--rm-slate-700); text-decoration: none; font-size: 13px; font-weight: 600;
}
.rm-news-pagination .page-numbers.current { background: var(--rm-brand); border-color: var(--rm-brand); color: var(--rm-white); }
.rm-single-container { max-width: 860px; }
.rm-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--rm-slate-600); margin-bottom: 18px; }
.rm-breadcrumb a { color: var(--rm-brand); text-decoration: none; font-weight: 600; }
.rm-single-article {
	background: var(--rm-white); border: 1px solid var(--rm-slate-200);
	border-radius: 18px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.rm-single-title {
	margin: 12px 0 14px; font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2; color: var(--rm-slate-900);
}
.rm-single-lead { font-size: 17px; color: var(--rm-slate-600); margin: 0 0 24px; }
.rm-single-cover { margin: 0 0 24px; border-radius: 12px; overflow: hidden; }
.rm-single-cover img { width: 100%; height: auto; display: block; }
.rm-single-content { font-size: 16px; color: var(--rm-slate-700); line-height: 1.75; }
.rm-single-content h2, .rm-single-content h3 { font-family: 'Space Grotesk', sans-serif; color: var(--rm-slate-900); margin: 28px 0 12px; }
.rm-single-content ul, .rm-single-content ol { padding-left: 22px; }
.rm-single-cta-box {
	margin-top: 32px; padding: 24px; border-radius: 14px; background: var(--rm-surface);
	border: 1px solid var(--rm-slate-200); display: flex; flex-direction: column; gap: 16px;
}
.rm-single-cta-box h2 { margin: 0 0 6px; font-size: 19px; color: var(--rm-slate-900); }
.rm-single-cta-box p { margin: 0; font-size: 14px; color: var(--rm-slate-600); }
.rm-single-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-cta-btn-outline { background: var(--rm-white); color: var(--rm-brand); border: 1px solid var(--rm-brand); }
.rm-cta-btn-outline:hover { background: var(--rm-brand-soft); }
.rm-related-section { margin-top: 40px; }
.rm-related-heading { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin: 0 0 18px; }
.rm-single-layout { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 960px) { .rm-single-layout { grid-template-columns: minmax(0, 1fr) 330px; } }
.rm-single-sidebar { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 960px) { .rm-single-sidebar { position: sticky; top: 96px; } }
.rm-sidebar-card {
	background: var(--rm-white); border: 1px solid var(--rm-slate-200); border-radius: 16px;
	padding: 20px; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04); display: flex; flex-direction: column; gap: 10px;
}
.rm-sidebar-card h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: var(--rm-slate-900); }
.rm-sidebar-card p { margin: 0; font-size: 13px; color: var(--rm-slate-600); line-height: 1.5; }
.rm-specialist-card { align-items: center; text-align: center; }
.rm-specialist-avatar { width: 76px; height: 76px; border-radius: 999px; object-fit: cover; border: 3px solid var(--rm-brand-soft); }
.rm-wa-sidebar-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 100%;
	padding: 11px 16px; border-radius: 10px; background: #15803D; color: var(--rm-white);
	font-weight: 700; font-size: 13px; text-decoration: none;
}
.rm-wa-sidebar-btn:hover { background: #166534; }
.rm-vagas-mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rm-vagas-mini-list li a {
	display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px;
	background: var(--rm-surface); border: 1px solid var(--rm-slate-200); text-decoration: none;
}
.rm-vagas-mini-list li a:hover { border-color: var(--rm-brand); background: var(--rm-brand-soft); }
.rm-vagas-mini-list li strong { font-size: 13px; color: var(--rm-slate-900); text-transform: uppercase; }
.rm-vagas-mini-list li span { font-size: 12px; color: var(--rm-slate-600); }
.rm-single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rm-tag-chip {
	font-size: 12px; font-weight: 600; color: var(--rm-slate-700); background: var(--rm-surface);
	border: 1px solid var(--rm-slate-200); padding: 4px 10px; border-radius: 999px; text-decoration: none;
}
.rm-tag-chip:hover { border-color: var(--rm-brand); color: var(--rm-brand); }

