/* Rota Motos — base: variáveis, reset, tipografia, botões e campos. */
:root {
	--rm-ink: #111315;
	--rm-bg: #F5F4F0;
	--rm-card: #FFFFFF;
	--rm-line: #E4E3DE;
	--rm-line2: #D6D5CF;
	--rm-line3: #C9C8C2;
	--rm-muted: #5E6369;
	--rm-soft: #4F545A;
	--rm-chip: #F3F2EE;
	--rm-field: #FAFAF8;
	--rm-media: #E9E8E3;
	--rm-dark2: #1C1F22;
	--rm-accent: #C2410C;
	--rm-head: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--rm-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.rm {
	margin: 0;
	font-family: var(--rm-body);
	color: var(--rm-ink);
	background: var(--rm-bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.rm img, .rm svg, .rm iframe { max-width: 100%; }
.rm img { height: auto; }
.rm h1, .rm h2, .rm h3, .rm h4 { margin: 0; font-family: var(--rm-head); }
.rm p { margin: 0; }
.rm ul, .rm ol { margin: 0; padding: 0; list-style: none; }
.rm dl, .rm dd { margin: 0; }

a { color: inherit; text-decoration: none; }
.rm a:not(.rm-btn):hover { color: var(--rm-accent); }
.rm :focus-visible { outline: 3px solid var(--rm-accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}
.rm-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 12px 18px; background: var(--rm-ink); color: #fff; border-radius: 0 0 12px 12px;
}
.rm-skip:focus { top: 0; }

.rm-wrap { width: 100%; max-width: 1328px; margin: 0 auto; padding: 0 24px; }
.rm-narrow { max-width: 860px; }
.rm-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Tipografia */
.rm-h1 { font-weight: 800; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.rm-h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.rm-h2--sm { font-size: 30px; letter-spacing: 0; }
.rm-h2--xs { font-size: 24px; letter-spacing: 0; }
.rm-muted { color: var(--rm-muted); }
.rm-lead { color: var(--rm-soft); line-height: 1.6; font-size: 17px; }
.rm-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rm-accent); }
.rm-eyebrow--light { color: #F59E6B; }
.rm-hint { display: block; font-size: 13px; color: var(--rm-muted); border: 1px dashed var(--rm-line3); border-radius: 8px; padding: 6px 10px; text-align: center; }
.rm-hint--inline { display: inline-block; text-align: left; }

.rm-prose { color: var(--rm-soft); line-height: 1.7; font-size: 16px; }
.rm-prose > * + * { margin-top: 1em; }
.rm-prose a { color: var(--rm-accent); text-decoration: underline; }
.rm-prose h2, .rm-prose h3 { color: var(--rm-ink); margin-top: 1.6em; }
.rm-prose ul { list-style: disc; padding-left: 1.4em; }
.rm-prose ol { list-style: decimal; padding-left: 1.4em; }

/* Links */
.rm-link { font-weight: 600; }
.rm-link--tap { min-height: 44px; display: inline-flex; align-items: center; }
.rm-link--accent { color: var(--rm-accent); }
.rm-link--button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }

/* Botões */
.rm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px;
	border: 1px solid transparent; border-radius: 999px;
	font: 600 14px/1.2 var(--rm-body); text-align: center;
	cursor: pointer; transition: filter 0.15s, background 0.15s;
}
.rm-btn svg { flex: none; }
.rm .rm-btn--accent { background: var(--rm-accent); color: #fff; }
.rm .rm-btn--dark { background: var(--rm-ink); color: #fff; }
.rm .rm-btn--outline { background: #fff; color: var(--rm-ink); border-color: var(--rm-line3); }
.rm .rm-btn--ghost { background: transparent; color: var(--rm-ink); border-color: var(--rm-ink); }
.rm .rm-btn--accent:hover, .rm .rm-btn--dark:hover { color: #fff; filter: brightness(1.12); }
.rm .rm-btn--accent:hover { filter: brightness(0.92); }
.rm .rm-btn--outline:hover, .rm .rm-btn--ghost:hover { color: var(--rm-ink); background: #fff; }
.rm-btn--sm { padding: 0 18px; }
.rm-btn--lg { min-height: 52px; padding: 0 28px; font-size: 15px; }
.rm-btn--xl { min-height: 54px; padding: 0 28px; font-size: 15px; }
.rm-btn--block { display: flex; width: 100%; }

/* Campos */
.rm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rm-field > label, .rm-field--stack { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-muted); }
.rm-field select, .rm-field input, .rm-field textarea,
.rm-pair input, .rm-pair select {
	width: 100%; min-height: 48px; padding: 0 14px;
	border: 1px solid var(--rm-line2); border-radius: 12px;
	background: var(--rm-field); color: var(--rm-ink);
	font: 400 15px/1.3 var(--rm-body);
}
.rm-field textarea { padding: 12px 14px; min-height: 0; resize: vertical; }
.rm-field--stack { gap: 6px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--rm-ink); }
.rm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.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); flex: none; }
.rm-check em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--rm-muted); }
.rm-check--plain { font-size: 14px; }
