/*
Theme Name: Rota Motos
Theme URI: https://example.com/rota-motos
Author: Ecommerceupdate
Description: Tema claro e premium para lojas e concessionárias de motos. Inclui catálogo próprio (tipo de post "Motos"), ficha técnica, galeria, filtros de estoque, simulador de financiamento, formulário de proposta e botão de WhatsApp.
Version: 1.1.0
Requires at least: 6.2
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: rota-motos
Tags: e-commerce, one-column, two-columns, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--rm-ink: #111315;
	--rm-ground: #F5F4F0;
	--rm-surface: #FFFFFF;
	--rm-soft: #F3F2EE;
	--rm-photo: #E9E8E3;
	--rm-line: #E4E3DE;
	--rm-line-2: #EEEDE8;
	--rm-field: #D6D5CF;
	--rm-muted: #5E6369;
	--rm-body: #4F545A;
	--rm-accent: #C2410C;
	--rm-accent-ink: #FFFFFF;
	--rm-radius-lg: 24px;
	--rm-radius: 16px;
	--rm-radius-sm: 12px;
	--rm-font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--rm-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--rm-container: 1280px;
	--rm-shadow: 0 24px 48px -32px rgba(17, 19, 21, .25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--rm-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--rm-ink);
	background: var(--rm-ground);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rm-ink); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--rm-accent); }
:focus-visible { outline: 2px solid var(--rm-accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--rm-font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.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 !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000;
	background: var(--rm-surface); padding: 12px 18px; top: 8px; left: 8px; border-radius: 8px; box-shadow: var(--rm-shadow);
}
.rm-container { max-width: var(--rm-container); margin: 0 auto; padding: 0 24px; }
.rm-section { padding: 96px 0 0; }
.rm-section:last-of-type { padding-bottom: 96px; }
.rm-eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-accent); margin-bottom: 8px; }
.rm-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.rm-section-head h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 0; }
.rm-muted { color: var(--rm-muted); }

/* ---------- Buttons ---------- */
.rm-btn {
	white-space: nowrap;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.rm-btn:hover { transform: translateY(-1px); }
.rm-btn svg { flex: 0 0 auto; }
.rm-btn--accent { background: var(--rm-accent); color: var(--rm-accent-ink); }
.rm-btn--accent:hover, .rm-btn--accent:focus-visible { color: var(--rm-accent-ink); filter: brightness(.92); }
.rm-btn--dark { background: var(--rm-ink); color: #fff; }
.rm-btn--dark:hover, .rm-btn--dark:focus-visible { color: #fff; background: #000; }
.rm-btn--outline { border-color: var(--rm-ink); background: transparent; color: var(--rm-ink); }
.rm-btn--outline:hover { color: var(--rm-ink); background: var(--rm-surface); }
.rm-btn--light { border-color: #C9C8C2; background: var(--rm-surface); }
.rm-btn--lg { min-height: 54px; padding: 0 28px; }
.rm-btn--block { width: 100%; }
.rm-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.rm-link-arrow { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Forms ---------- */
.rm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rm-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rm-muted); }
.rm-input, .rm-field input[type="text"], .rm-field input[type="email"], .rm-field input[type="tel"], .rm-field input[type="number"], .rm-field select, .rm-field textarea {
	width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--rm-field); border-radius: var(--rm-radius-sm);
	background: #FAFAF8; color: var(--rm-ink); font: inherit; font-size: 15px;
}
.rm-field textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.rm-field input:focus, .rm-field select:focus, .rm-field textarea:focus { border-color: var(--rm-ink); outline: none; box-shadow: 0 0 0 3px rgba(17,19,21,.08); }
.rm-check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.rm-check input { width: 18px; height: 18px; accent-color: var(--rm-accent); margin: 0; }
.rm-check .rm-count { margin-left: auto; font-size: 13px; color: var(--rm-muted); }

/* ---------- Top bar & header ---------- */
.rm-topbar { background: var(--rm-ink); color: #D9DAD6; font-size: 13px; padding: 10px 0; }
.rm-topbar .rm-container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.rm-topbar a { color: #D9DAD6; text-decoration: none; }
.rm-topbar a:hover { color: #fff; }
.rm-header { background: var(--rm-surface); border-bottom: 1px solid var(--rm-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .rm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rm-header { top: 0; position: relative; } }
.rm-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rm-brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--rm-ink); }
.rm-brand__name { font-family: var(--rm-font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; text-transform: uppercase; }
.rm-brand__tag { font-family: var(--rm-font-display); font-weight: 600; font-size: 13px; letter-spacing: .24em; color: var(--rm-accent); text-transform: uppercase; }
.custom-logo { max-height: 52px; width: auto; }
.rm-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.rm-nav a { display: block; padding: 12px 0; text-decoration: none; font-size: 15px; font-weight: 500; }
.rm-nav .current-menu-item > a, .rm-nav .current_page_item > a, .rm-nav .current-menu-ancestor > a { color: var(--rm-accent); }
.rm-nav .sub-menu { display: none; }
.rm-header__actions { display: flex; gap: 12px; align-items: center; }
.rm-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--rm-line); border-radius: 12px; background: var(--rm-surface); cursor: pointer; align-items: center; justify-content: center; color: var(--rm-ink); }

@media (max-width: 1080px) {
	.rm-menu-toggle { display: inline-flex; }
	.rm-header__inner { flex-wrap: wrap; }
	.rm-nav { display: none; flex-basis: 100%; order: 5; padding-bottom: 16px; }
	.rm-nav.is-open { display: block; }
	.rm-nav ul { flex-direction: column; gap: 0; }
	.rm-nav a { padding: 12px 0; border-top: 1px solid var(--rm-line-2); }
	.rm-nav .sub-menu { display: block; padding-left: 16px; }
	.rm-header__actions .rm-btn--outline { display: none; }
}
@media (max-width: 520px) {
	.rm-header__actions .rm-btn__text { display: none; }
	.rm-header__actions .rm-btn { padding: 0 14px; }
}

/* ---------- Hero ---------- */
.rm-hero { padding: 72px 0 56px; }
.rm-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.rm-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.rm-hero__title { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.03em; margin: 0; }
.rm-hero__lead { font-size: 18px; color: var(--rm-body); max-width: 520px; margin: 0; }
.rm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.rm-hero__media { flex: 1 1 520px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #E6E5E0; }
.rm-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Placeholder ---------- */
.rm-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #80858B; background: var(--rm-photo); font-size: 14px; font-weight: 500; }

/* ---------- Quick search ---------- */
.rm-search {
	background: var(--rm-surface); border: 1px solid var(--rm-line); border-radius: var(--rm-radius-lg);
	padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; box-shadow: var(--rm-shadow);
}
.rm-search .rm-field { flex: 1 1 180px; }
.rm-search .rm-btn { border-radius: var(--rm-radius-sm); flex: 0 0 auto; }
@media (max-width: 600px) { .rm-search .rm-btn { flex: 1 1 100%; } .rm-topbar { display: none; } .rm-hero { padding-top: 40px; } }

/* ---------- Trust points ---------- */
.rm-trust { padding-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.rm-trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.rm-trust__item svg { flex: 0 0 auto; color: var(--rm-accent); }
.rm-trust__item strong { display: block; font-weight: 600; }
.rm-trust__item span { display: block; font-size: 14px; color: var(--rm-muted); margin-top: 4px; }

/* ---------- Estilos ---------- */
.rm-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.rm-style {
	text-decoration: none; background: var(--rm-surface); border: 1px solid var(--rm-line); border-radius: 20px;
	padding: 20px; display: flex; flex-direction: column; gap: 18px; transition: border-color .15s, transform .15s;
}
.rm-style:hover { border-color: var(--rm-ink); transform: translateY(-2px); color: var(--rm-ink); }
.rm-style__img { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #EFEEEA; }
.rm-style__img img { width: 100%; height: 100%; object-fit: cover; }
.rm-style__foot { display: flex; justify-content: space-between; align-items: center; }
.rm-style__name { font-family: var(--rm-font-display); font-weight: 700; font-size: 18px; }
.rm-style__count { font-size: 13px; color: var(--rm-muted); }

/* ---------- Card ---------- */
.rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.rm-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.rm-card { background: var(--rm-surface); border: 1px solid var(--rm-line); border-radius: var(--rm-radius-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s; }
.rm-card:hover { box-shadow: var(--rm-shadow); transform: translateY(-2px); }
.rm-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--rm-photo); overflow: hidden; }
.rm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rm-card:hover .rm-card__media img { transform: scale(1.03); }
.rm-card__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.rm-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.2; background: var(--rm-surface); color: var(--rm-ink); }
.rm-badge--new { background: var(--rm-accent); color: var(--rm-accent-ink); }
.rm-badge--outline { border: 1px solid var(--rm-ink); }
.rm-badge--soft { background: var(--rm-soft); }
.rm-badge--sold { background: var(--rm-ink); color: #fff; }
.rm-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.rm-card__title { font-size: 21px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.rm-card__title a { text-decoration: none; }
.rm-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.rm-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--rm-body); }
.rm-chips span { padding: 5px 10px; background: var(--rm-soft); border-radius: 8px; }
.rm-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rm-line-2); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.rm-price { display: flex; flex-direction: column; line-height: 1.15; }
.rm-price small { font-size: 12px; color: var(--rm-muted); }
.rm-price strong { font-family: var(--rm-font-display); font-weight: 800; font-size: 24px; white-space: nowrap; }
.rm-grid--compact .rm-card__body { padding: 20px; }
.rm-grid--compact .rm-price strong { font-size: 21px; }
.rm-grid--compact .rm-card__title { font-size: 19px; }
.rm-price del { font-size: 13px; color: var(--rm-muted); }
.rm-card__cta { position: relative; z-index: 1; }
.rm-card.is-sold .rm-card__media img { filter: grayscale(1); opacity: .7; }

/* ---------- Services ---------- */
.rm-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.rm-service { background: var(--rm-surface); border: 1px solid var(--rm-line); border-radius: var(--rm-radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.rm-service__num { font-family: var(--rm-font-display); font-weight: 800; font-size: 14px; color: var(--rm-accent); }
.rm-service h3 { font-size: 24px; font-weight: 700; margin: 0; }
.rm-service p { color: var(--rm-body); margin: 0; }
.rm-service .rm-link-arrow { margin-top: auto; }

/* ---------- Simulador ---------- */
.rm-sim { background: var(--rm-ink); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.rm-sim__text { flex: 1 1 360px; min-width: 0; }
.rm-sim__text .rm-eyebrow { color: #F59E6B; }
.rm-sim__text h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.05; }
.rm-sim__text p { color: #B9BBB7; }
.rm-sim__form { flex: 1 1 440px; min-width: 0; background: #1C1F22; border-radius: var(--rm-radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.rm-sim__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.rm-sim .rm-label { color: #B9BBB7; letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 500; }
.rm-sim .rm-field input, .rm-sim .rm-field select { background: var(--rm-ink); border-color: #3A3E42; color: #fff; }
.rm-sim .rm-field input:focus, .rm-sim .rm-field select:focus { border-color: #fff; box-shadow: none; }
.rm-sim__result { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid #2C3034; }
.rm-sim__result small { display: block; font-size: 13px; color: #B9BBB7; }
.rm-sim__value { font-family: var(--rm-font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); }
.rm-sim__note { font-size: 12px; color: #9A9D99; margin: 0; }
.rm-sim--compact { border-radius: var(--rm-radius-lg); padding: 28px; gap: 20px; }
.rm-sim--compact .rm-sim__form { padding: 0; background: none; flex-basis: 100%; }

/* ---------- Showroom ---------- */
.rm-showroom { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.rm-showroom__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rm-showroom__info dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rm-showroom__info dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rm-muted); }
.rm-showroom__info dd { margin: 4px 0 0; }
.rm-showroom__map { flex: 1.4 1 520px; min-width: 0; min-height: 360px; border-radius: var(--rm-radius-lg); overflow: hidden; background: #E6E5E0; }
.rm-showroom__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Page head ---------- */
.rm-pagehead { padding: 40px 0 24px; }
.rm-breadcrumb { font-size: 13px; color: var(--rm-muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rm-breadcrumb a { color: var(--rm-muted); }
.rm-pagehead__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rm-pagehead h1 { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.03em; margin: 0; }

/* ---------- Catalog ---------- */
.rm-catalog { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 96px; }
.rm-filters {
	flex: 1 1 260px; max-width: 300px; min-width: 0; background: var(--rm-surface); border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 24px;
	position: sticky; top: 104px;
}
.rm-filters__head { display: flex; justify-content: space-between; align-items: center; }
.rm-filters__head strong { font-family: var(--rm-font-display); font-size: 18px; }
.rm-filters__clear { font-size: 14px; font-weight: 600; color: var(--rm-accent); min-height: 44px; display: inline-flex; align-items: center; }
.rm-filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rm-filters legend { padding: 0; margin-bottom: 10px; }
.rm-pair { display: flex; gap: 8px; }
.rm-pair .rm-field { flex: 1; }
.rm-pair .rm-label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }
.rm-segment { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-segment label { flex: 1 1 auto; position: relative; }
.rm-segment input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rm-segment span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; border: 1px solid var(--rm-field); font-size: 14px; font-weight: 600; padding: 0 12px; }
.rm-segment input:checked + span { background: var(--rm-ink); border-color: var(--rm-ink); color: #fff; }
.rm-segment input:focus-visible + span { outline: 2px solid var(--rm-accent); outline-offset: 2px; }
.rm-results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.rm-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.rm-active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-active-filters a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--rm-surface); border: 1px solid var(--rm-line); font-size: 14px; text-decoration: none; }
.rm-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--rm-muted); }
.rm-sort select { min-height: 44px; padding: 0 12px; border: 1px solid var(--rm-field); border-radius: 12px; background: var(--rm-surface); font: inherit; font-size: 14px; color: var(--rm-ink); }
.rm-filters-toggle { display: none; }
.rm-empty { background: var(--rm-surface); border: 1px dashed var(--rm-field); border-radius: var(--rm-radius-lg); padding: 48px 24px; text-align: center; }
@media (max-width: 860px) {
	.rm-filters { max-width: none; position: static; display: none; }
	.rm-filters.is-open { display: flex; }
	.rm-filters-toggle { display: inline-flex; }
}

/* ---------- Pagination ---------- */
.rm-pagination { padding-top: 16px; }
.rm-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.rm-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--rm-field); background: var(--rm-surface); text-decoration: none; font-weight: 500; }
.rm-pagination .page-numbers.current { background: var(--rm-ink); border-color: var(--rm-ink); color: #fff; font-weight: 600; }
.rm-pagination .page-numbers.dots { border: 0; background: none; }

/* ---------- Single moto ---------- */
.rm-single__top { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 24px; }
.rm-gallery { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rm-gallery__main { aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; background: #E6E5E0; position: relative; }
.rm-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.rm-gallery__count { position: absolute; right: 16px; bottom: 16px; background: rgba(17,19,21,.78); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.rm-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: var(--rm-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.rm-gallery__nav--prev { left: 16px; }
.rm-gallery__nav--next { right: 16px; }
.rm-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.rm-gallery__thumb { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid var(--rm-line); padding: 0; background: var(--rm-photo); cursor: pointer; }
.rm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rm-gallery__thumb[aria-current="true"] { outline: 2px solid var(--rm-accent); outline-offset: 0; border-color: transparent; }
.rm-buybox { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 104px; }
.rm-panel { background: var(--rm-surface); border: 1px solid var(--rm-line); border-radius: var(--rm-radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.rm-buybox h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; margin: 0; }
.rm-buybox__sub { margin: 8px 0 0; color: var(--rm-muted); }
.rm-keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rm-keyfacts div { background: var(--rm-ground); border-radius: 14px; padding: 12px; }
.rm-keyfacts small { display: block; font-size: 12px; color: var(--rm-muted); }
.rm-keyfacts strong { display: block; font-weight: 600; margin-top: 2px; }
.rm-buybox__price { border-top: 1px solid var(--rm-line-2); padding-top: 18px; }
.rm-buybox__price small { font-size: 13px; color: var(--rm-muted); }
.rm-buybox__price strong { display: block; font-family: var(--rm-font-display); font-weight: 800; font-size: clamp(34px, 3.4vw, 44px); letter-spacing: -.02em; line-height: 1.1; }
.rm-buybox__price del { color: var(--rm-muted); font-size: 15px; }
.rm-buybox__links { display: flex; justify-content: center; gap: 24px; font-size: 14px; }
.rm-buybox__links a, .rm-buybox__links button { min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--rm-ink); }
.rm-single__body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 64px; }
.rm-single__main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.rm-single__main h2 { font-size: 30px; margin-bottom: 16px; }
.rm-specs { margin: 0; background: var(--rm-surface); border: 1px solid var(--rm-line); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.rm-specs div { padding: 16px 20px; border-bottom: 1px solid var(--rm-line-2); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.rm-specs dt { color: var(--rm-muted); }
.rm-specs dd { margin: 0; font-weight: 600; text-align: right; }
.rm-features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rm-features li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--rm-surface); border: 1px solid var(--rm-line); font-size: 14px; }
.rm-features svg { color: var(--rm-accent); }
.rm-content { color: var(--rm-body); font-size: 16px; line-height: 1.7; }
.rm-content > *:last-child { margin-bottom: 0; }
.rm-aside { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rm-proposal h2 { font-size: 24px; margin: 0; }
.rm-proposal form { display: flex; flex-direction: column; gap: 16px; }
.rm-proposal .rm-label { text-transform: none; letter-spacing: 0; color: var(--rm-ink); font-size: 13px; }
.rm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rm-notice { padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.rm-notice--ok { background: #E7F4EC; color: #14532D; }
.rm-notice--err { background: #FBEAE5; color: #7C2D12; }
.rm-sold-banner { background: var(--rm-ink); color: #fff; text-align: center; padding: 12px; border-radius: 12px; font-weight: 600; }

/* ---------- Generic content (blog/pages) ---------- */
.rm-page { padding: 48px 0 96px; }
.rm-prose { max-width: 760px; }
.rm-prose h1 { font-size: clamp(34px, 4vw, 48px); }
.rm-prose h2 { font-size: 28px; margin-top: 1.6em; }
.rm-prose img { border-radius: var(--rm-radius); }
.rm-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.rm-post { background: var(--rm-surface); border: 1px solid var(--rm-line); border-radius: var(--rm-radius-lg); overflow: hidden; }
.rm-post__body { padding: 22px 24px 24px; }
.rm-post__body h2 { font-size: 22px; }
.rm-post__body h2 a { text-decoration: none; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: 13px; color: var(--rm-muted); }

/* ---------- Footer ---------- */
.rm-footer { background: var(--rm-surface); border-top: 1px solid var(--rm-line); padding: 64px 0 32px; }
.rm-footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-bottom: 48px; }
.rm-footer__about { flex: 1 1 280px; max-width: 360px; }
.rm-footer__about p { color: var(--rm-muted); font-size: 14px; margin-top: 12px; }
.rm-footer__cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.rm-footer__col h2 { font-family: var(--rm-font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; margin: 0 0 10px; }
.rm-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rm-footer__col a { color: var(--rm-body); text-decoration: none; }
.rm-footer__col a:hover { color: var(--rm-accent); }
.rm-footer__bottom { padding-top: 24px; border-top: 1px solid var(--rm-line-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--rm-muted); }

/* ---------- Floating WhatsApp ---------- */
.rm-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 999px; background: #1F8F4E; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.35); }
.rm-wa-float:hover { color: #fff; transform: scale(1.05); }

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

/* ---------- Créditos das fotos ---------- */
.rm-credits { margin: 4px 0 0; font-size: 12px; color: var(--rm-muted); line-height: 1.5; }
.rm-credits a { color: var(--rm-muted); }
