
:root{
  --bg:#071725;--panel:#0b2235;--panel2:#0f2c43;--line:#21435d;
  --text:#f5f8fb;--muted:#a9b8c5;--accent:#ff8b2b;--accent2:#ffb15d;
  --white:#fff;--dark:#071019;--radius:22px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#06131f 0,#081b2a 38%,#071725 100%);color:var(--text);font:16px/1.45 Arial,Helvetica,sans-serif}
button,input{font:inherit}
button{cursor:pointer}
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:14px clamp(18px,4vw,56px);background:rgba(5,17,27,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#ff6b1a,#ffb34e);font-weight:900;color:#111}.brand strong{display:block;font-size:17px}.brand small{display:block;color:var(--muted);font-size:12px}
.top-cta,.primary,.save-vehicle,.free-search button{border:0;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#15100b;font-weight:900;padding:12px 18px;border-radius:999px}
main{max-width:1260px;margin:auto;padding:0 22px 48px}
.hero{display:grid;grid-template-columns:1.25fr .75fr;gap:28px;align-items:center;min-height:560px;padding:64px 0 38px}
.eyebrow{display:inline-block;font-size:12px;letter-spacing:.14em;font-weight:900;color:#78c7ff;margin-bottom:10px}
.hero h1,.section-title h2,.free-search h2{margin:0 0 14px;line-height:1.04}.hero h1{font-size:clamp(40px,6vw,76px);letter-spacing:-.05em}.hero p,.section-title p,.free-search p{color:var(--muted);max-width:760px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}.ghost{background:transparent;color:var(--text);border:1px solid var(--line);padding:12px 18px;border-radius:999px;font-weight:800}
.trust{display:flex;gap:16px;flex-wrap:wrap;color:#c9d4dc;font-size:13px}
.hero-card{background:linear-gradient(160deg,#0f304a,#081b2b);border:1px solid #28506b;border-radius:28px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.hero-card-kicker{font-size:11px;color:#78c7ff;font-weight:900;letter-spacing:.14em}.hero-card strong{display:block;font-size:30px;margin:8px 0}.hero-card p{margin:0 0 15px}.search-preview{background:#07131e;border:1px solid #274a63;padding:14px;border-radius:14px;color:#fff;font-weight:700}.hero-card small{display:block;color:#9eb0bc;margin-top:14px}
.vehicle-panel,.catalog,.free-search,.how,.notice{margin-top:28px}.vehicle-panel,.free-search,.notice{background:rgba(11,34,53,.9);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.section-title h2,.free-search h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.03em}.section-title p{margin-bottom:0}
.type-switch{display:flex;gap:10px;margin:24px 0 18px}.type-btn{border:1px solid var(--line);background:#091c2a;color:var(--text);border-radius:999px;padding:11px 17px;font-weight:800}.type-btn.active{background:#fff;color:#071019;border-color:#fff}
.vehicle-form{display:grid;grid-template-columns:1fr 1fr .55fr 1fr auto;gap:12px;align-items:end}.vehicle-form label{display:grid;gap:7px;color:#c3d0d9;font-size:13px;font-weight:700}.vehicle-form input,.free-search input{width:100%;background:#06131f;border:1px solid #2a4b62;color:white;border-radius:13px;padding:13px 14px;outline:none}.vehicle-form input:focus,.free-search input:focus{border-color:#75c9ff;box-shadow:0 0 0 3px rgba(117,201,255,.12)}
.vehicle-status{margin-top:16px;display:flex;align-items:center;gap:9px;color:#aebdc8;font-size:14px}.status-dot{width:9px;height:9px;border-radius:50%;background:#667782}.vehicle-status.ready .status-dot{background:#40d98a}.vehicle-status.ready{color:#d7efe2}
.free-search{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.free-search form{display:flex;gap:10px}.free-search button{white-space:nowrap}
.catalog{padding:28px 0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}
.part-card{display:flex;flex-direction:column;min-height:260px;background:#f7fafc;color:#102233;border-radius:20px;overflow:hidden;text-decoration:none;box-shadow:0 8px 28px rgba(0,0,0,.16);transition:.18s transform,.18s box-shadow}
.part-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,0,0,.22)}
.part-image{height:125px;background:#0e2232;display:grid;place-items:center}.part-image img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.18))}
.part-body{padding:18px;display:flex;flex:1;flex-direction:column}.part-body small{font-weight:900;color:#5c7a90;text-transform:uppercase;letter-spacing:.08em}.part-body h3{margin:6px 0 7px;font-size:20px}.part-body p{margin:0;color:#607386;font-size:14px}.part-action{margin-top:auto;padding-top:16px;font-weight:900;color:#d85f00}
.how{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.how>div{background:#0b2235;border:1px solid var(--line);border-radius:20px;padding:23px}.step{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#071019;font-weight:900}.how h3{margin:14px 0 7px}.how p{margin:0;color:var(--muted)}
.notice strong{font-size:18px}.notice p{color:#b6c3cd;margin-bottom:0}
footer{max-width:1260px;margin:0 auto;padding:26px 22px 40px;display:flex;justify-content:space-between;gap:16px;color:#a9b8c5;border-top:1px solid rgba(255,255,255,.08)}footer strong{display:block;color:#fff}footer span{display:block;font-size:13px}footer a{color:#fff}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,18px);background:#fff;color:#102233;padding:12px 18px;border-radius:999px;font-weight:800;opacity:0;pointer-events:none;transition:.2s;z-index:40;box-shadow:0 10px 40px rgba(0,0,0,.35)}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.hero{grid-template-columns:1fr;min-height:auto;padding-top:44px}.vehicle-form{grid-template-columns:1fr 1fr}.save-vehicle{grid-column:1/-1}.grid{grid-template-columns:repeat(2,1fr)}.free-search{grid-template-columns:1fr}.how{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:620px){main{padding:0 14px 36px}.topbar{padding:11px 14px}.top-cta{padding:10px 13px;font-size:13px}.brand small{display:none}.hero{padding-top:34px}.hero h1{font-size:42px}.vehicle-panel,.free-search,.notice{padding:20px}.vehicle-form{grid-template-columns:1fr}.save-vehicle{grid-column:auto}.free-search form{display:grid}.grid{grid-template-columns:1fr 1fr;gap:10px}.part-card{min-height:235px}.part-image{height:105px}.part-body{padding:14px}.part-body h3{font-size:17px}.part-body p{font-size:12px}.how{grid-template-columns:1fr}footer{flex-direction:column}}


/* Pedra & Lama — integração /auto */
:root{--bg:#17130f;--panel:#2a211a;--panel2:#3b2b1d;--line:#6a4b2c;--text:#fff8ed;--muted:#d5c2ae;--accent:#ffc300;--accent2:#ff8a00;--dark:#17130f}
body{background:radial-gradient(circle at 50% 0,rgba(130,83,43,.18),transparent 32%),linear-gradient(180deg,#17130f,#211811 52%,#17130f);color:#fff8ed}
.topbar{background:rgba(18,16,13,.94);border-bottom:1px solid rgba(255,195,0,.35)}
.brand-mark{background:linear-gradient(135deg,#ffc300,#ff8a00);color:#211306}
.top-cta,.primary,.save-vehicle,.free-search button{background:linear-gradient(135deg,#ffc300,#ff8a00);color:#211306}
.eyebrow{color:#ffd45c}.hero p,.section-title p,.free-search p{color:#d6c5b5}
.hero-card{background:linear-gradient(160deg,#3a2a1d,#201813);border-color:#7d5b34}.search-preview{background:#17130f;border-color:#6f4f2d}
.vehicle-panel,.free-search,.notice{background:rgba(42,33,26,.96);border-color:#6b4a2d}.type-btn{background:#201813;border-color:#6a4b2c}.type-btn.active{background:#fff8ed;color:#211306;border-color:#fff8ed}
.vehicle-form input,.free-search input{background:#1b1511;border-color:#6a4b2c;color:#fff8ed}.vehicle-form input:focus,.free-search input:focus{border-color:#ffc300;box-shadow:0 0 0 3px rgba(255,195,0,.12)}
.part-card{background:#fff8ed;color:#2d2117}.part-image{background:#211a15}.part-body small{color:#8a5f35}.part-body p{color:#735f4d}.part-action{color:#c75800}.how>div{background:#2a211a;border-color:#6a4b2c}.notice p{color:#d6c5b5}footer{color:#d5c2ae;border-color:rgba(255,195,0,.18)}footer a{color:#ffd45c}


/* V44 — marrom mais claro + cards com fotos reais */
:root{
  --bg:#c78948;
  --panel:#6f4828;
  --panel2:#82552f;
  --line:#d9a04f;
  --text:#fff9ef;
  --muted:#f0dbc1;
  --accent:#ffc300;
  --accent2:#ff9200;
  --dark:#211710;
}
body{
  background:
    linear-gradient(180deg,#211811 0,#2b1d14 31%,#c78948 31%,#bd7d3f 100%);
  color:#fff9ef;
}
.topbar{background:rgba(31,23,17,.96);border-bottom-color:rgba(255,195,0,.48)}
.hero-card{
  background:linear-gradient(155deg,#79502f,#4a301f);
  border-color:#d49a45;
  box-shadow:0 24px 70px rgba(27,16,8,.30);
}
.auto-logo{
  display:block;
  width:min(190px,58%);
  aspect-ratio:1/1;
  object-fit:cover;
  margin:0 auto 18px;
  border-radius:20px;
  border:2px solid rgba(255,195,0,.55);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.search-preview{background:#3c271b;border-color:#bd8241}
.vehicle-panel,.free-search,.notice{
  background:linear-gradient(145deg,#704929,#5b3a24);
  border-color:#d29a4b;
  box-shadow:0 12px 34px rgba(54,31,15,.18);
}
.type-btn{background:#51331f;border-color:#b57b3d}
.vehicle-form input,.free-search input{
  background:#f9efe1;
  border-color:#d8b07a;
  color:#2b1b10;
}
.vehicle-form input::placeholder,.free-search input::placeholder{color:#8b715a}
.vehicle-form label{color:#fff0dc}
.catalog{
  background:linear-gradient(180deg,#d39a59,#c88947);
  border:1px solid rgba(92,53,24,.18);
  border-radius:28px;
  padding:30px;
  box-shadow:0 16px 46px rgba(71,39,17,.15);
}
.catalog .section-title .eyebrow{color:#573517}
.catalog .section-title h2{color:#2f1c10}
.catalog .section-title p{color:#64462f}
.grid{gap:18px}
.part-card{
  border:1px solid rgba(96,58,28,.16);
  background:#fff7ea;
  box-shadow:0 10px 28px rgba(86,48,21,.18);
}
.part-card:hover{box-shadow:0 16px 34px rgba(86,48,21,.26)}
.part-image{
  height:165px;
  background:#f2eee8;
  padding:10px;
}
.part-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:none;
}
.part-body small{color:#8b5a2e}
.part-body h3{color:#2f2116}
.part-body p{color:#735b47}
.part-action{color:#a83e00}
.how>div{
  background:linear-gradient(145deg,#76502f,#604028);
  border-color:#d2a15c;
}
.notice{margin-bottom:12px}
footer{
  color:#ead3b8;
  border-top-color:rgba(255,195,0,.30);
  background:#211811;
  max-width:none;
  padding-left:max(22px,calc((100vw - 1260px)/2 + 22px));
  padding-right:max(22px,calc((100vw - 1260px)/2 + 22px));
}
footer a{color:#ffc934}

@media(max-width:620px){
  body{background:linear-gradient(180deg,#211811 0,#2b1d14 23%,#c78948 23%,#bd7d3f 100%)}
  .catalog{padding:18px 12px;border-radius:22px}
  .part-image{height:125px}
  .auto-logo{width:150px}
}


/* ===== V47 FINAL — dois veículos salvos + visual refinado ===== */
.brand{gap:12px}
.brand-logo-square{
  width:58px;height:58px;object-fit:cover;border-radius:14px;
  border:1px solid rgba(255,195,0,.58);box-shadow:0 8px 24px rgba(0,0,0,.26);
}
.brand strong{font-size:17px}.brand small{color:#e3c9a9}
.vehicle-panel{
  background:linear-gradient(135deg,#80522d 0%,#6b4428 55%,#5c3823 100%) !important;
  border:1px solid rgba(255,195,0,.52) !important;
  box-shadow:0 18px 46px rgba(61,31,12,.20) !important;
}
.type-switch{gap:12px;align-items:center}
.type-btn{position:relative;min-width:112px;background:#59361f !important;border-color:#bd7b36 !important;color:#fff6e9 !important}
.type-btn.active{background:#fff7ea !important;color:#3e2514 !important;border-color:#fff7ea !important;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.type-btn.saved::after{
  content:'✓';display:grid;place-items:center;position:absolute;right:-5px;top:-6px;
  width:20px;height:20px;border-radius:50%;background:#24b56f;color:#fff;font-size:12px;font-weight:900;border:2px solid #fff7ea;
}
.saved-vehicles{display:flex;gap:10px;flex-wrap:wrap;margin:-2px 0 18px}
.saved-chip{
  display:grid;grid-template-columns:auto auto;column-gap:7px;row-gap:1px;align-items:center;
  border:1px solid rgba(255,255,255,.20);background:rgba(46,27,16,.32);color:#fff7ea;
  border-radius:13px;padding:8px 11px;text-align:left;cursor:pointer;
}
.saved-chip span{grid-row:1/3;font-size:20px}.saved-chip b{font-size:12px}.saved-chip small{font-size:11px;color:#f0d4b5;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saved-empty{font-size:12px;color:#f1d8bb;opacity:.92}
.vehicle-status{padding:9px 12px;border-radius:12px;background:rgba(42,24,14,.20);width:max-content;max-width:100%}
.part-card{min-height:292px !important;background:#fff8ec !important;border:1px solid rgba(98,55,24,.16) !important}
.part-image{height:175px !important;background:#f5f2ed !important;padding:9px !important}
.part-image img{width:100% !important;height:100% !important;object-fit:contain !important;filter:none !important;border-radius:9px}
.part-body{padding:12px 14px 16px !important;align-items:center !important;text-align:center !important;justify-content:flex-start !important;gap:5px !important}
.part-body small,.part-action{display:none !important}
.part-body h3{margin:0 !important;font-size:18px !important;line-height:1.15 !important;color:#2f2116 !important}
.part-body p{margin:0 !important;font-size:13px !important;color:#725943 !important;line-height:1.3}
@media(max-width:620px){
  .brand-logo-square{width:48px;height:48px;border-radius:12px}
  .brand strong{font-size:15px}.brand small{font-size:10px;display:block}
  .saved-vehicles{display:grid;grid-template-columns:1fr;gap:7px}
  .saved-chip{width:100%}
  .part-card{min-height:250px !important}
  .part-image{height:140px !important}
  .part-body h3{font-size:16px !important}
  .part-body p{font-size:12px !important}
}


/* V47.1 — títulos laranja e bloco de texto no canto inferior */
.part-card{
  min-height: 316px !important;
}
.part-image{
  height: 182px !important;
  padding: 10px 10px 0 !important;
}
.part-body{
  margin-top: auto !important;
  min-height: 104px !important;
  padding: 12px 16px 18px !important;
  align-items: flex-start !important;
  text-align: left !important;
  justify-content: flex-end !important;
  gap: 4px !important;
}
.part-body h3{
  color: #c86500 !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  line-height: 1.12 !important;
}
.part-body p{
  color: #7c5d42 !important;
  font-size: 13px !important;
  line-height: 1.28 !important;
}

@media(max-width:620px){
  .part-card{
    min-height: 268px !important;
  }
  .part-image{
    height: 146px !important;
  }
  .part-body{
    min-height: 92px !important;
    padding: 10px 12px 14px !important;
  }
  .part-body h3{
    font-size: 16px !important;
  }
  .part-body p{
    font-size: 12px !important;
  }
}
