/*
Theme Name: Rota Prime
Description: Tema de revenda de veículos com estoque, ficha técnica e galeria.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: rota-prime
*/
@font-face { font-family:"Rota Sans"; src:url("assets/dm-sans.woff2") format("woff2"); font-weight:100 1000; font-display:swap; }
:root { --rota-dark:#10151a; --rota-panel:#171e24; --rota-paper:#f2f4f1; --rota-white:#fff; --rota-lime:#e1f567; --rota-accent:#36501c; --rota-ink:#161d21; --rota-muted:#56636a; --rota-line:#dce3de; }
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; background:var(--rota-paper); color:var(--rota-ink); font:16px/1.55 "Rota Sans",Arial,sans-serif; }
img { max-width:100%; height:auto; }
a { color:inherit; }
:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.rota-shell { width:min(1250px,calc(100% - 88px)); margin-inline:auto; }
.rota-skip:not(:focus),.screen-reader-text { position:absolute; height:1px; width:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.rota-skip:focus { display:inline-block; padding:10px; }
.rota-header,.rota-footer { background:var(--rota-dark); color:#f3f6f5; }
.rota-header { border-bottom:1px solid #39444a; }
.rota-header-inner { display:flex; justify-content:space-between; align-items:center; gap:15px; min-height:72px; }
.rota-wordmark { display:inline-flex; gap:9px; align-items:center; font-size:clamp(24px,3vw,39px); font-weight:870; line-height:1; letter-spacing:-.068em; text-decoration:none; }
.rota-mark { display:block; flex:none; width:37px; height:32px; background:var(--rota-lime); clip-path:polygon(31% 0,100% 0,69% 100%,0 100%,8% 72%,44% 72%,61% 22%,24% 22%); }
.rota-header a,.rota-footer nav a { text-decoration:none; }
.rota-header a:hover,.rota-footer a:hover { text-decoration:underline; text-underline-offset:4px; }
.rota-header nav ul,.rota-footer nav ul { display:flex; padding:0; margin:0; list-style:none; gap:clamp(14px,2.3vw,33px); flex-wrap:wrap; font-size:13px; font-weight:660; }
.rota-header .custom-logo { width:auto; max-width:min(190px,45vw); max-height:60px; }
.rota-header-cta { display:inline-flex; align-items:center; gap:10px; padding:8px 11px; border:1px solid #809252; color:var(--rota-lime); font-size:13px; white-space:nowrap; font-weight:760; }
.rota-hero { position:relative; display:grid; align-items:center; isolation:isolate; min-height:clamp(475px,39vw,650px); background:var(--rota-dark); color:white; }
.rota-hero-image { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; z-index:-2; }
.rota-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#10151af5 1%,#10151ae0 31%,#10151a44 63%,#10151a19); z-index:-1; }
.rota-hero-copy { padding-block:62px; }
.rota-kicker { color:var(--rota-accent); font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.15em; margin:0 0 8px; }
.rota-hero .rota-kicker { color:var(--rota-lime); }
.rota-hero h1 { margin:8px 0 14px; max-width:660px; font-size:clamp(44px,6.2vw,92px); line-height:.98; font-weight:850; letter-spacing:-.07em; overflow-wrap:anywhere; }
.rota-hero p:not(.rota-kicker) { max-width:430px; color:#e2e9eb; font-size:16px; margin-bottom:21px; }
.rota-button { display:inline-flex; gap:14px; align-items:center; justify-content:center; padding:11px 15px; background:var(--rota-lime); color:var(--rota-dark); border:1px solid var(--rota-lime); border-radius:3px; text-decoration:none; font:780 14px/1.3 "Rota Sans",Arial,sans-serif; cursor:pointer; }
.rota-button:hover { filter:brightness(.9); }
.rota-section { padding-block:clamp(35px,5vw,71px); }
.rota-section h2,.rota-page-head h1,.rota-detail-panel h1 { margin:0 0 10px; font-size:clamp(30px,4vw,60px); line-height:1.02; letter-spacing:-.065em; }
.rota-section-head { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-bottom:17px; }
.rota-section-head a,.rota-back { font-size:13px; color:var(--rota-accent); font-weight:750; }
.rota-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.rota-card { background:white; border:1px solid var(--rota-line); border-radius:5px; overflow:hidden; min-width:0; }
.rota-card-image { display:grid; place-items:center; aspect-ratio:16/10; position:relative; overflow:hidden; color:var(--rota-muted); background:#dfe5e1; text-decoration:none; }
.rota-card-image img { display:block; width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.rota-card-image .rota-state { position:absolute; top:10px; left:10px; }
.rota-state { display:inline-block; padding:4px 7px; background:#eff8cd; color:#304323; font-size:10px; font-weight:870; text-transform:uppercase; letter-spacing:.08em; border-radius:3px; width:max-content; }
.rota-state-reservado { background:#f8e8bd; color:#543a13; }
.rota-state-vendido { background:#e9ebef; color:#20282d; }
.rota-card-body { padding:13px 14px; }
.rota-demo-label { display:block; font-size:10px; color:var(--rota-muted); }
.rota-card h3 { font-size:clamp(19px,2.05vw,27px); line-height:1.08; letter-spacing:-.05em; margin:4px 0 8px; overflow-wrap:anywhere; }
.rota-card h3 a { text-decoration:none; }
.rota-card h3 a:hover { text-decoration:underline; }
.rota-card-spec { color:var(--rota-muted); font-size:12px; margin:0 0 11px; }
.rota-card-bottom { border-top:1px solid var(--rota-line); padding-top:8px; display:flex; justify-content:space-between; align-items:center; gap:7px; flex-wrap:wrap; }
.rota-card-bottom strong,.rota-price { font-size:clamp(21px,2.3vw,32px); font-weight:860; letter-spacing:-.055em; }
.rota-card-bottom a { color:var(--rota-accent); font-size:12px; font-weight:780; }
.rota-steps { background:var(--rota-panel); color:#f3f6f5; border-top:4px solid var(--rota-lime); }
.rota-steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:18px 0; }
.rota-steps-grid > div { border-top:1px solid #687579; padding-top:10px; }
.rota-steps-grid h3,.rota-steps-grid p { margin:0 0 5px; }
.rota-steps-grid p { font-size:14px; color:#d4dbdc; }
.rota-page-head { margin-bottom:19px; }
.rota-page-head p:not(.rota-kicker) { color:var(--rota-muted); }
.rota-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:end; padding:15px; background:white; border:1px solid var(--rota-line); margin-bottom:18px; }
.rota-filters label { display:grid; gap:4px; flex:1 1 145px; font-size:12px; font-weight:730; }
.rota-filters select,.rota-filters input { min-height:37px; font:inherit; background:#fbfcfa; color:var(--rota-ink); border:1px solid #b7c2bc; border-radius:2px; padding:5px; }
.rota-filters > a { font-size:13px; padding:8px 0; }
.rota-detail-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); margin-top:13px; gap:20px; }
.rota-detail-photo { margin:0; background:#dfe5e1; border-radius:6px; overflow:hidden; }
.rota-detail-photo img { display:block; width:100%; }
.rota-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-top:8px; }
.rota-gallery img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.rota-detail-panel { padding:19px; background:white; border:1px solid var(--rota-line); border-radius:6px; align-self:start; min-width:0; }
.rota-detail-panel h1 { margin:9px 0; font-size:clamp(31px,4vw,57px); overflow-wrap:anywhere; }
.rota-spec-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:12px 0; }
.rota-spec-grid > div { padding:6px; background:#f3f6f1; min-width:0; overflow-wrap:anywhere; }
.rota-spec-grid dt { font-size:11px; color:var(--rota-muted); font-weight:730; }
.rota-spec-grid dd { font-size:14px; font-weight:800; margin:0; }
.rota-description { max-width:760px; margin-top:25px; overflow-wrap:anywhere; }
.rota-description h2 { font-size:clamp(25px,3.2vw,42px); }
.rota-demo-note { color:var(--rota-muted); font-size:13px; }
.rota-footer-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; padding-block:29px; }
.rota-footer nav ul { gap:8px 13px; }
.rota-footer-base { display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; font-size:12px; padding:12px 0; color:#d4dbdc; border-top:1px solid #465258; }
.rota-contact-links { display:flex; flex-wrap:wrap; gap:9px; align-items:center; font-size:13px; overflow-wrap:anywhere; }
.rota-contact-links p { margin:0; }
@media(max-width:850px) {
 .rota-shell { width:calc(100% - 44px); }
 .rota-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
 .rota-shell { width:calc(100% - 26px); }
 .rota-header-inner { flex-wrap:wrap; padding-block:11px; gap:10px; min-height:65px; }
 .rota-header nav { order:3; width:100%; }
 .rota-header nav ul { gap:7px 14px; }
 .rota-header .rota-mark { width:27px; height:24px; }
 .rota-hero { min-height:405px; }
 .rota-hero::before { background:linear-gradient(90deg,#10151af5 1%,#10151ac4 56%,#10151a7d); }
 .rota-hero-image { object-position:65% center; }
 .rota-hero-copy { padding-block:38px; }
 .rota-grid,.rota-detail-grid,.rota-steps-grid,.rota-footer-grid { grid-template-columns:minmax(0,1fr); }
 .rota-section-head { flex-wrap:wrap; }
}

.rota-browser { border-bottom:1px solid var(--rota-line); background:#e9eee5; padding-block:19px; }
.rota-browser .rota-shell { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; }
.rota-browser h2 { font-size:clamp(18px,2.3vw,26px); margin:0; letter-spacing:-.04em; }
.rota-type-links { display:flex; gap:8px; flex-wrap:wrap; }
.rota-type-links a { display:inline-flex; gap:11px; border:1px solid #aab8a5; border-radius:3px; padding:7px 10px; background:#f8faf7; color:var(--rota-ink); text-decoration:none; font-size:12px; font-weight:750; }
.rota-type-links a:hover { background:var(--rota-lime); }
.rota-trade { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); background:var(--rota-panel); color:#f2f5f4; border-radius:6px; overflow:hidden; }
.rota-trade img { width:100%; height:100%; object-fit:cover; object-position:69% center; }
.rota-trade > div { padding:clamp(19px,4vw,48px); align-self:center; }
.rota-trade .rota-kicker { color:var(--rota-lime); }
.rota-trade p:not(.rota-kicker) { color:#e0e6e5; }
.rota-faq { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1fr); gap:20px; border-top:1px solid var(--rota-line); }
.rota-faq details { padding:11px 0; border-bottom:1px solid var(--rota-line); }
.rota-faq summary { cursor:pointer; font-weight:760; }
.rota-faq details p { margin:7px 0 0; color:var(--rota-muted); font-size:14px; }
.rota-gallery-heading { font-size:18px!important; margin-top:13px!important; }
.rota-detail-info { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin-top:24px; }
.rota-detail-info section { min-width:0; margin:0; padding:17px; border:1px solid var(--rota-line); background:#fff; border-radius:5px; }
.rota-detail-info h2 { font-size:clamp(22px,2.6vw,36px); }
.rota-detail-info p { color:var(--rota-muted); margin:6px 0; }
.rota-equipment ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; list-style:none; margin:10px 0; padding:0; }
.rota-equipment li { display:flex; gap:6px; background:#f0f5ed; padding:5px 7px; font-size:13px; overflow-wrap:anywhere; }
.rota-equipment li::before { content:"✓"; color:var(--rota-accent); font-weight:850; }
.rota-notes { grid-column:1/-1; }
.rota-related { background:#e9eee5; border-top:1px solid var(--rota-line); }
@media(max-width:650px) {
 .rota-trade,.rota-faq,.rota-detail-info { grid-template-columns:minmax(0,1fr); }
 .rota-trade img { aspect-ratio:16/8; }
}
.rota-detail-panel .rota-spec-heading { font-size:16px; letter-spacing:-.025em; margin:9px 0 0; }
