/* ==========================================================================
   CADASTRO MOTORISTA: padrão Rovaltech (25/10/2026)
   Montserrat 800 #240046 nos títulos, Jost 500 #7A7A7A no corpo,
   azul #2D68B1, verde #25D366, fundo #F7F4F6. Tudo centralizado,
   botões interativos e seções que surgem ao rolar.
   Parte 1: guia e artigos (.mot). Parte 2: camada da página inicial (body.home).
   ========================================================================== */
:root {
  --rv-tinta: #240046;
  --rv-corpo: #7A7A7A;
  --rv-texto: #55505E;
  --rv-azul: #2D68B1;
  --rv-azul-escuro: #234F88;
  --rv-azul-claro: #EAF1FA;
  --rv-verde: #25D366;
  --rv-verde-texto: #12803F;
  --rv-verde-claro: #E7F8EE;
  --rv-fundo: #F7F4F6;
  --rv-linha: #E7E1EA;
  --rv-titulo: "Montserrat", "Segoe UI", Arial, sans-serif;
  --rv-fonte: "Jost", "Segoe UI", Arial, sans-serif;
}

/* ---------- Parte 1: guia e artigos ---------- */
body:not(.home) { background: var(--rv-fundo) !important; }
.mot { font-family: var(--rv-fonte); font-weight: 500; font-size: 17.5px; line-height: 1.75; color: var(--rv-texto); }
.mot *, .mot *::before, .mot *::after { box-sizing: border-box; }
.mot h1, .mot h2, .mot h3 { font-family: var(--rv-titulo); color: var(--rv-tinta); text-wrap: balance; }

/* barra de leitura */
.mot-progresso { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--rv-azul), #7B5BE8, var(--rv-verde)); transition: width .1s linear; }

/* topo fixo de vidro */
.mot-topo { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(18px, calc((100% - 1140px) / 2)); background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.mot-topo.rolado { background: rgba(255,255,255,.94); border-bottom-color: var(--rv-linha); box-shadow: 0 10px 30px -20px rgba(36,0,70,.4); }
.mot-logo { display: inline-flex; align-items: center; gap: 0; font-family: var(--rv-titulo); font-weight: 800; font-size: 17px; color: var(--rv-tinta) !important; text-decoration: none !important; white-space: nowrap; }
.mot-logo::before { margin-right: 10px; content: "🚗"; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-size: 19px; background: linear-gradient(135deg, var(--rv-azul), #5B3FD0); box-shadow: 0 8px 18px -8px rgba(45,104,177,.7); transition: transform .3s; }
.mot-logo:hover::before { transform: rotate(-8deg) scale(1.06); }
.mot-logo span { color: var(--rv-azul) !important; margin-left: .3em; }

/* botões: um padrão só, com efeito */
.mot-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 0; font-family: var(--rv-titulo); font-weight: 700; font-size: 15.5px; line-height: 1.15; text-align: center; text-decoration: none !important; cursor: pointer; transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, background-color .22s, color .22s; }
.mot-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.4) 50%, transparent 75%); transform: translateX(-130%); transition: transform .7s ease; pointer-events: none; }
.mot-btn:hover { transform: translateY(-3px); }
.mot-btn:hover::after { transform: translateX(130%); }
.mot-btn:active { transform: translateY(0) scale(.97); }
.mot-btn--uber { background: #000; color: #fff !important; box-shadow: 0 12px 26px -12px rgba(0,0,0,.7); }
.mot-btn--uber:hover { background: #1F2228; box-shadow: 0 18px 34px -14px rgba(0,0,0,.75); }
.mot-btn--99 { background: #FFD400; color: #111 !important; box-shadow: 0 12px 26px -12px rgba(200,160,0,.8); }
.mot-btn--99:hover { background: #FFE04A; box-shadow: 0 18px 34px -14px rgba(200,160,0,.85); }
.mot-topo .mot-btn--uber { min-height: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; background: var(--rv-azul); box-shadow: 0 10px 22px -12px rgba(45,104,177,.8); }
.mot-topo .mot-btn--uber:hover { background: var(--rv-azul-escuro); }

/* herói do artigo: fundo vivo, tudo centralizado */
.mot-heroi { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 54px max(18px, calc((100% - 860px) / 2)) 46px; }
.mot-heroi h1, .mot-heroi p, .mot-heroi .mot-trilha, .mot-heroi .mot-meta { text-align: center !important; margin-inline: auto; }
.mot-heroi::before, .mot-heroi::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .6; animation: mot-flutuar 16s ease-in-out infinite alternate; }
.mot-heroi::before { width: 420px; height: 420px; background: #C9DBF5; top: -140px; left: -80px; }
.mot-heroi::after { width: 360px; height: 360px; background: #DCD0F8; bottom: -160px; right: -60px; animation-delay: -7s; }
@keyframes mot-flutuar { to { transform: translate(50px, 30px) scale(1.12); } }
.mot-trilha { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 14px; color: var(--rv-corpo); background: rgba(255,255,255,.75); border: 1px solid var(--rv-linha); border-radius: 99px; padding: 6px 14px; margin: 0 0 22px; }
.mot-trilha a { color: var(--rv-azul) !important; text-decoration: none !important; font-weight: 600; }
.mot-trilha a:hover { text-decoration: underline !important; }
.mot h1 { font-weight: 800; font-size: clamp(30px, 5.2vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: 0 auto 16px; max-width: 820px; }
.mot-resumo { font-size: clamp(17px, 2.2vw, 20px); color: var(--rv-corpo); max-width: 680px; margin: 0 auto 16px !important; }
.mot-meta { display: inline-block; font-size: 13.5px; color: var(--rv-verde-texto); background: var(--rv-verde-claro); border-radius: 99px; padding: 5px 14px; margin: 0; }

/* folha do artigo */
.mot-corpo { position: relative; max-width: 820px; margin: 0 auto 40px; padding: 44px clamp(20px, 5vw, 56px) 48px; background: #fff; border: 1px solid var(--rv-linha); border-radius: 28px; box-shadow: 0 30px 60px -40px rgba(36,0,70,.35); }
.mot-corpo > .mot-video:first-child { margin-top: 0; }
.mot h2 { font-weight: 800; font-size: clamp(23px, 3.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; text-align: center; margin: 48px auto 16px; max-width: 640px; }
.mot h2::after { content: ""; display: block; width: 48px; height: 4px; margin: 12px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--rv-azul), var(--rv-verde)); }
.mot h3 { font-weight: 700; font-size: 19px; text-align: center; margin: 28px 0 10px; }
.mot p { margin: 0 0 16px; }
.mot a { color: var(--rv-azul); font-weight: 600; text-underline-offset: 3px; }
.mot a:hover { color: var(--rv-azul-escuro); }
.mot strong, .mot b { color: var(--rv-tinta); }
.mot ul, .mot ol { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mot ul > li, .mot ol > li { position: relative; padding-left: 34px; }
.mot ul > li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--rv-verde-texto); background: var(--rv-verde-claro); }
.mot ol { counter-reset: mot-n; }
.mot ol > li { counter-increment: mot-n; }
.mot ol > li::before { content: counter(mot-n); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--rv-titulo); font-size: 12px; font-weight: 800; color: #fff; background: var(--rv-azul); }

/* caixas */
.mot-caixa { text-align: center; background: var(--rv-fundo); border: 1px solid var(--rv-linha); border-radius: 20px; padding: 24px; margin: 28px 0; transition: transform .3s, box-shadow .3s; }
.mot-caixa:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -30px rgba(36,0,70,.45); }
.mot-caixa > strong:first-child { display: block; font-family: var(--rv-titulo); font-size: 17px; margin-bottom: 8px; }
.mot-caixa ul { text-align: left; max-width: 520px; margin: 10px auto 0; }
.mot-dica { background: linear-gradient(160deg, #F1FBF5, #fff 70%); border-color: #C3EBD3; }

/* tabela */
.mot-tabela { overflow-x: auto; margin: 24px 0; border: 1px solid var(--rv-linha); border-radius: 18px; }
.mot-tabela table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 480px; }
.mot-tabela th, .mot-tabela td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rv-linha); vertical-align: top; }
.mot-tabela tr:last-child td { border-bottom: 0; }
.mot-tabela th { background: var(--rv-fundo); font-family: var(--rv-titulo); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--rv-corpo); }
.mot-tabela tbody tr { transition: background .2s; }
.mot-tabela tbody tr:hover { background: var(--rv-azul-claro); }

/* chamada para o cadastro */
.mot-cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; border-radius: 26px; padding: 40px 24px; margin: 40px 0; background: linear-gradient(120deg, #240046, #2D68B1 60%, #3F8BD8); background-size: 200% 200%; animation: mot-mar 12s ease infinite; }
.mot-cta::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -100px; top: -120px; border-radius: 50%; background: rgba(37,211,102,.28); filter: blur(40px); }
@keyframes mot-mar { 50% { background-position: 100% 50%; } }
.mot-cta h2, .mot-cta h3 { color: #fff !important; margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); }
.mot-cta h2::after, .mot-cta h3::after { display: none; }
.mot-cta p { color: rgba(255,255,255,.85); margin: 0 auto 6px; max-width: 520px; }
.mot-botoes { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.mot-aviso-link { font-size: 13px !important; color: rgba(255,255,255,.65) !important; margin-top: 16px !important; }

/* vídeo */
.mot-video { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; margin: 28px 0; background: #000; box-shadow: 0 30px 60px -30px rgba(36,0,70,.55); transition: transform .35s; }
.mot-video:hover { transform: scale(1.015); }
.mot-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* perguntas frequentes */
.mot-faq { display: flex; flex-direction: column; gap: 12px; }
.mot-faq details { border: 1px solid var(--rv-linha); border-radius: 18px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.mot-faq details:hover { border-color: rgba(45,104,177,.45); }
.mot-faq details[open] { border-color: var(--rv-azul); box-shadow: 0 16px 34px -24px rgba(45,104,177,.6); }
.mot-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-family: var(--rv-titulo); font-weight: 700; color: var(--rv-tinta); }
.mot-faq summary::-webkit-details-marker { display: none; }
.mot-faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--rv-azul-claro); color: var(--rv-azul); font-size: 21px; transition: transform .3s, background .3s, color .3s; }
.mot-faq details[open] summary::after { transform: rotate(45deg); background: var(--rv-azul); color: #fff; }
.mot-faq details p { padding: 0 20px 18px; margin: 0; }

/* continue lendo: cartões com brilho que segue o mouse */
.mot-relacionados { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 18px; }
.mot-relacionados a { --x: 50%; --y: 50%; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 120px; padding: 20px; text-align: center; border: 1px solid var(--rv-linha); border-radius: 20px; background: #fff; color: var(--rv-tinta) !important; font-family: var(--rv-titulo); font-weight: 700; line-height: 1.3; text-decoration: none !important; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.mot-relacionados a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--x) var(--y), rgba(45,104,177,.13), transparent 60%); opacity: 0; transition: opacity .3s; }
.mot-relacionados a:hover { transform: translateY(-6px); border-color: rgba(45,104,177,.5); box-shadow: 0 26px 50px -30px rgba(36,0,70,.55); }
.mot-relacionados a:hover::before { opacity: 1; }
.mot-relacionados a small { position: relative; font-family: var(--rv-fonte); font-weight: 600; font-size: 14px; color: var(--rv-azul); }
.mot-relacionados a small::after { content: " →"; display: inline-block; transition: transform .25s; }
.mot-relacionados a:hover small::after { transform: translateX(4px); }

/* rodapé */
.mot-rodape { text-align: center; padding: 34px 20px calc(34px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; color: var(--rv-corpo); }
.mot-rodape p { margin: 0 auto 8px; max-width: 640px; }
.mot-rodape a { color: var(--rv-tinta) !important; font-weight: 700; text-decoration: none !important; background-image: linear-gradient(var(--rv-azul), var(--rv-azul)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s, color .3s; }
.mot-rodape a:hover { color: var(--rv-azul) !important; background-size: 100% 2px; }

/* barra de cadastro no celular */
.mot-barra { display: none; }

/* surgir ao rolar (sem suporte ou com "reduzir movimento", tudo já aparece) */
.mot-anima .mot-revelar { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.mot-anima .mot-revelar.visivel { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .mot { font-size: 16.5px; }
  .mot-topo .mot-btn--uber { display: none; }
  .mot-heroi { padding-top: 38px; }
  .mot-corpo { border-radius: 22px; margin: 0 12px 30px; padding-top: 32px; }
  .mot-botoes .mot-btn { width: 100%; }
  .mot-barra { display: block; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--rv-linha); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .mot-barra.mostrar { transform: none; }
  .mot-barra .mot-btn { width: 100%; background: var(--rv-azul); }
  .mot-rodape { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .mot *, .mot *::before, .mot *::after { animation: none !important; transition: none !important; }
  .mot-anima .mot-revelar { opacity: 1; transform: none; }
}

/* ---------- Parte 2: camada da página inicial ---------- */
body.home { background: var(--rv-fundo) !important; font-family: var(--rv-fonte) !important; color: var(--rv-texto); }
body.home .hero__titulo, body.home .secao__titulo, body.home h1, body.home h2, body.home h3 { font-family: var(--rv-titulo) !important; color: var(--rv-tinta) !important; font-weight: 800 !important; text-wrap: balance; }
body.home .secao--escura h2, body.home .secao--escura h3, body.home .secao--escura .secao__titulo { color: #fff !important; }
body.home p, body.home li, body.home .secao__texto, body.home .hero__sub { font-family: var(--rv-fonte) !important; }
body.home .hero__sub, body.home .secao__texto { color: var(--rv-corpo); }
body.home .secao--cinza { background: #fff !important; }
body.home .secao:not(.secao--cinza):not(.secao--escura) { background: var(--rv-fundo); }
body.home .secao--escura { background: linear-gradient(120deg, #240046, #2D68B1) !important; }
body.home .eyebrow { color: var(--rv-azul) !important; font-family: var(--rv-titulo); letter-spacing: .12em; }

/* tudo centralizado */
body.home .hero__conteudo { max-width: 820px !important; margin-inline: auto !important; text-align: center; }
body.home .hero__conteudo h1, body.home .hero__conteudo p, body.home .secao__cabecalho h2, body.home .secao__cabecalho p { text-align: center !important; }
body.home .hero__selos, body.home .hero .botao, body.home .hero__conteudo > div { justify-content: center; }
body.home .secao__cabecalho { margin-inline: auto !important; text-align: center; max-width: 720px !important; }
body.home .prova__acao, body.home .cta-final, body.home .cta-final__botoes, body.home .consultor__acoes, body.home .criador__acoes { text-align: center; justify-content: center; }

/* herói vivo */
body.home .hero { position: relative; isolation: isolate; overflow: hidden; background: var(--rv-fundo) !important; }
body.home .hero::before, body.home .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: mot-flutuar 18s ease-in-out infinite alternate; }
body.home .hero::before { width: 480px; height: 480px; background: #C9DBF5; top: -160px; left: -120px; }
body.home .hero::after { width: 420px; height: 420px; background: #DCD0F8; bottom: -180px; right: -100px; animation-delay: -8s; }

/* cabeçalho */
body.home .cabecalho { background: rgba(255,255,255,.8) !important; backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
body.home .cabecalho__nav a:not(.botao) { position: relative; font-family: var(--rv-fonte); font-weight: 500; color: var(--rv-texto) !important; transition: color .2s; }
body.home .cabecalho__nav a:not(.botao):hover { color: var(--rv-azul) !important; }

/* botões com efeito */
body.home .botao { position: relative; overflow: hidden; isolation: isolate; border-radius: 14px !important; font-family: var(--rv-titulo) !important; font-weight: 700 !important; letter-spacing: .01em; text-decoration: none !important; transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, background-color .22s, color .22s, border-color .22s !important; }
body.home .botao::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.4) 50%, transparent 75%); transform: translateX(-130%); transition: transform .7s ease; pointer-events: none; }
body.home .botao:hover { transform: translateY(-3px) !important; box-shadow: 0 16px 30px -14px rgba(36,0,70,.55) !important; }
body.home .botao:hover::after { transform: translateX(130%); }
body.home .botao:active { transform: scale(.97) !important; }
body.home .cabecalho .botao:not(.botao--uber):not(.botao--99) { background: var(--rv-azul) !important; color: #fff !important; border-color: var(--rv-azul) !important; }
body.home .cabecalho .botao:not(.botao--uber):not(.botao--99):hover { background: var(--rv-azul-escuro) !important; }
body.home .botao--contorno, body.home .botao--secundario { border-color: var(--rv-linha) !important; color: var(--rv-tinta) !important; background: #fff !important; }
body.home .botao--contorno:hover, body.home .botao--secundario:hover { border-color: var(--rv-azul) !important; color: var(--rv-azul) !important; background: var(--rv-azul-claro) !important; }

/* cartões que reagem */
body.home .card, body.home .card-oferta, body.home .passo, body.home .requisito, body.home .card-veiculo, body.home .consultor, body.home .prova__figura { border-radius: 22px !important; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
body.home .card:hover, body.home .card-oferta:hover, body.home .passo:hover, body.home .requisito:hover, body.home .card-veiculo:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(36,0,70,.5) !important; }
body.home .card-oferta__valor { font-family: var(--rv-titulo) !important; }
body.home ol.passos { list-style: none !important; padding-left: 0 !important; }
body.home ol.passos > li::marker { content: none; }
body.home .card-oferta__valor { color: var(--rv-tinta) !important; }
body.home .acordeao details { transition: background .2s; }
body.home .acordeao summary { font-family: var(--rv-titulo); color: var(--rv-tinta); }
body.home .acordeao details:hover { background: rgba(45,104,177,.04); }

/* assinatura Rovaltech no rodapé (inserida pelo script) */
.mot-assinatura { text-align: center; margin: 18px 0 0; font-size: 14px; }
.mot-assinatura a { font-family: var(--rv-titulo); font-weight: 700; color: inherit; text-decoration: none; background-image: linear-gradient(var(--rv-verde), var(--rv-verde)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; }
.mot-assinatura a:hover { background-size: 100% 2px; }

/* Ajustes 25/10 (pedidos do Isac): respiro do acordeão, botões alinhados ao texto, card do consultor centralizado, rodapé amarelo com hover. */
body.home .acordeao summary { padding: 20px 24px !important; gap: 16px; }
body.home .acordeao .acordeao__corpo { padding: 0 24px 22px !important; }
body.home .criador__acoes { justify-content: flex-start !important; flex-wrap: wrap; gap: 12px; }
body.home .secao--escura .eyebrow { color: #9CC4F2 !important; }
body.home .secao--escura p { color: rgba(255,255,255,.84) !important; }
body.home .consultor__texto, body.home .consultor__texto h3, body.home .consultor__texto p { text-align: center !important; }
body.home .consultor__acoes { justify-content: center !important; flex-wrap: wrap; }
body.home .rodape h3 { color: #FFD400 !important; }
body.home .rodape ul a { display: inline-block; transition: color .2s, transform .2s; }
body.home .rodape ul a:hover, body.home .rodape ul a:focus-visible { color: #FFD400 !important; transform: translateX(4px); }
@media (max-width: 1023px) { body.home .criador, body.home .criador h2, body.home .criador p { text-align: center !important; } body.home .criador__acoes { justify-content: center !important; } }

@media (prefers-reduced-motion: reduce) {
  body.home *, body.home *::before, body.home *::after { animation: none !important; transition: none !important; }
}

/* comentários do tema fora (os comentários estão fechados em todas as páginas) */
#comments, .comments-area, .comment-respond { display: none !important; }
