:root{--navy:#102117;--navy-2:#1f5a32;--ink:#18251c;--muted:#66736a;--accent:#35a629;--accent-dark:#23751e;--accent-bright:#b7f34a;--accent-soft:#eff9eb;--accent-line:#a9d99a;--soft:#f5f9f3;--line:#dbe7d7;--green:#35a629;--red:#e32636;--red-dark:#b81824;--red-soft:#fff0f1;--radius:1rem;--shadow:0 14px 40px rgba(28,64,35,.13)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}.site-navbar{background:rgba(7,27,53,.98);min-height:72px}.navbar-brand,.footer-brand{font-size:1.22rem;letter-spacing:-.4px}.navbar-brand span span,.footer-brand span span{color:#ff926e}.brand-mark{width:35px;height:35px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff}.site-navbar .nav-link{color:rgba(255,255,255,.76);font-size:.92rem}.site-navbar .nav-link:hover,.site-navbar .nav-link:focus{color:#fff}.btn{font-weight:650;border-radius:.7rem}.btn-accent{background:var(--accent);border-color:var(--accent);color:#fff}.btn-accent:hover,.btn-accent:focus{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff}.btn-whatsapp{background:#1aa66a;border-color:#1aa66a;color:#fff}.btn-whatsapp:hover{background:#118b56;border-color:#118b56;color:#fff}.text-accent{color:var(--accent)!important}.flash-container{position:relative;z-index:10}.hero-section{position:relative;overflow:hidden;background:linear-gradient(120deg,#071b35,#102f5b);min-height:540px;display:flex;align-items:center}.py-lg-6{padding-top:5.5rem!important;padding-bottom:5.5rem!important}.hero-section:after{content:"";position:absolute;right:-6%;bottom:-12%;width:60%;height:88%;background:url("../images/hero-car.svg") center/contain no-repeat;opacity:.38;pointer-events:none}.hero-orb{position:absolute;border-radius:50%;filter:blur(10px);opacity:.25}.orb-one{width:440px;height:440px;left:-140px;top:-200px;background:#ef5b2a}.orb-two{width:320px;height:320px;right:18%;bottom:-190px;background:#156de0}.eyebrow{display:inline-flex;align-items:center;gap:.45rem;text-transform:uppercase;font-size:.74rem;font-weight:800;letter-spacing:.095em;color:#dae7fa}.hero-section h1{letter-spacing:-1.7px;line-height:1.07}.hero-section h1 span{color:#ff875f}.search-card{position:relative;background:#fff;border-radius:1.25rem;padding:1.65rem;color:var(--ink)}.search-icon{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#fff0ea;color:var(--accent)}.form-label{font-size:.84rem;font-weight:700;color:#344057;margin-bottom:.38rem}.form-control,.form-select{border-color:#dfe5ee;border-radius:.7rem;padding:.68rem .8rem}.form-control:focus,.form-select:focus{border-color:#ff9471;box-shadow:0 0 0 .2rem rgba(239,91,42,.14)}.hero-numbers strong{color:#fff;display:block;font-size:1.08rem}.hero-numbers span{color:rgba(255,255,255,.56);font-size:.76rem}.section-heading h2{font-size:clamp(1.65rem,2.4vw,2.2rem);letter-spacing:-.8px;margin:.45rem 0}.section-heading p{color:var(--muted);margin-bottom:0}.vehicle-card{overflow:hidden;border:1px solid var(--line);border-radius:1rem;background:#fff;box-shadow:0 3px 9px rgba(36,53,83,.03);transition:transform .23s ease,box-shadow .23s ease}.vehicle-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.vehicle-image-wrap{display:block;position:relative;height:212px;overflow:hidden;background:#e7edf4}.vehicle-image{width:100%;height:100%;object-fit:cover;transition:transform .38s ease}.vehicle-card:hover .vehicle-image{transform:scale(1.055)}.vehicle-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dfe8f5,#bdcbdd);font-size:3rem;color:#6e7d91}.vehicle-badge{position:absolute;left:12px;top:12px;z-index:1;background:#fff;color:#25334b;border-radius:999px;padding:.32rem .6rem;font-size:.7rem;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.12)}.vehicle-badge.featured{background:#fff0e9;color:#c33b12}.favorite-btn{position:absolute;right:12px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.95);color:#27364b;z-index:1;box-shadow:0 4px 12px rgba(0,0,0,.12)}.favorite-btn.is-favorite{background:#ffe9e2;color:var(--accent)}.vehicle-code{font-size:.7rem;color:#8792a2;font-weight:700;letter-spacing:.05em}.vehicle-title{font-size:1rem;line-height:1.35;min-height:2.7em}.vehicle-title a{color:var(--ink);text-decoration:none}.vehicle-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .4rem;font-size:.75rem;color:#607084}.vehicle-specs i{color:var(--accent);width:16px;margin-right:.2rem}.vehicle-location{font-size:.78rem;color:#718094}.vehicle-location i{color:var(--accent);margin-right:.35rem}.vehicle-price{font-size:1.12rem;color:#102c51;font-weight:800;letter-spacing:-.3px}.category-card{display:flex;align-items:center;justify-content:center;flex-direction:column;text-decoration:none;color:var(--ink);padding:1.25rem .5rem;border:1px solid var(--line);border-radius:1rem;height:100%;transition:.22s;background:#fff}.category-card:hover{border-color:#fdac92;transform:translateY(-3px);box-shadow:0 12px 28px rgba(29,55,92,.08);color:var(--accent)}.category-card i{font-size:1.45rem;color:var(--accent);margin-bottom:.55rem}.category-card span{font-weight:750}.category-card small{font-size:.7rem;color:var(--muted);margin-top:.15rem}.process-section{background:#f6f8fc}.process-card{background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1.3rem;position:relative}.process-card>span{font-size:.76rem;font-weight:800;color:#a4afbd}.process-card>i{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:12px;background:#eef4fc;color:#1269c4;margin:1rem 0}.process-card h3{font-size:1rem}.process-card p{font-size:.85rem;color:var(--muted);margin:0}.security-box{border-radius:1.4rem;background:linear-gradient(135deg,#091e3a,#16427c);position:relative;overflow:hidden}.security-box:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-70px;bottom:-120px;background:rgba(239,91,42,.21)}.security-box>*{position:relative;z-index:1}.site-footer{background:#071b35}.footer-title{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:#fff;margin-bottom:1rem}.footer-links li{margin-bottom:.55rem}.footer-links a{color:rgba(255,255,255,.58);text-decoration:none;font-size:.9rem}.footer-links a:hover{color:#fff}.social-link{display:inline-flex;width:34px;height:34px;border:1px solid rgba(255,255,255,.17);border-radius:50%;align-items:center;justify-content:center;color:#fff;text-decoration:none}.social-link:hover{background:var(--accent);border-color:var(--accent);color:#fff}.form-control-dark{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.15);color:#fff}.form-control-dark::placeholder{color:rgba(255,255,255,.45)}.page-header{background:#f6f8fc;border-bottom:1px solid var(--line)}.breadcrumb a{color:var(--accent);text-decoration:none}.filter-card{background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1.1rem;position:sticky;top:88px}.filter-card .form-label{font-size:.76rem}.filter-card details summary{cursor:pointer;color:#25354c}.empty-state{border:1px dashed #cbd5e1;border-radius:1rem;background:#fbfcfe;color:#627189}.pagination .page-link{color:#192b44;border-radius:.5rem;margin:0 .15rem;border-color:#e1e6ee}.pagination .page-item.active .page-link{background:var(--accent);border-color:var(--accent)}.gallery-card{border-radius:1rem;overflow:hidden;background:#0b1727}.gallery-main-button{width:100%;border:0;padding:0;background:transparent;position:relative;color:#fff}.gallery-main-image{height:min(58vw,520px);width:100%;object-fit:cover;background:#e3eaf2}.gallery-main-button span{position:absolute;bottom:16px;right:16px;padding:.45rem .7rem;border-radius:.5rem;background:rgba(0,0,0,.6);font-size:.78rem}.gallery-counter{position:absolute;bottom:16px;left:16px;padding:.4rem .65rem;border-radius:.5rem;background:rgba(0,0,0,.6);color:#fff;font-size:.75rem}.gallery-thumbs{background:#fff}.thumb-button{border:2px solid transparent;padding:0;width:85px;height:62px;border-radius:.45rem;overflow:hidden;background:#eee;flex:0 0 auto}.thumb-button.active{border-color:var(--accent)}.thumb-button img{width:100%;height:100%;object-fit:cover}.interest-card,.finance-card,.detail-section,.seller-card{border:1px solid var(--line);border-radius:1rem;background:#fff;padding:1.3rem}.detail-price{font-size:2rem;font-weight:850;letter-spacing:-1px;color:#102b50}.quick-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.quick-specs>div{display:flex;gap:.5rem;align-items:flex-start}.quick-specs i{color:var(--accent);margin-top:.2rem}.quick-specs span{font-size:.71rem;color:var(--muted)}.quick-specs strong{display:block;color:#25324a;font-size:.78rem}.safe-note{padding:.7rem;border-radius:.7rem;background:#fff5e9;color:#806029;display:flex;gap:.5rem;font-size:.75rem;line-height:1.35}.finance-card h2{font-weight:750}.detail-section{margin-top:1rem}.detail-tabs{gap:.45rem}.detail-tabs .nav-link{color:#526176;font-weight:700;border-radius:.55rem;font-size:.84rem}.detail-tabs .nav-link.active{background:var(--navy);color:#fff}.pre-line{white-space:pre-line;line-height:1.7}.spec-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:.7rem;overflow:hidden}.spec-table>div{padding:.75rem;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:.5rem;font-size:.84rem}.spec-table>div:nth-child(odd){border-right:1px solid var(--line)}.spec-table span{color:var(--muted)}.option-badge{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.45rem .65rem;background:#f0f6fe;color:#204b7e;font-size:.78rem;font-weight:650}.option-badge i{color:var(--green)}.seller-card{background:#f9fbfe}.seller-info li{margin:.65rem 0;font-size:.86rem;color:#59677b}.seller-info i{color:var(--accent);width:20px}.modal-dark{background:#091b32;color:#fff}.login-section{min-height:calc(100vh - 72px);display:flex;align-items:center;background:radial-gradient(circle at 14% 0,#eaf1fb 0,transparent 36%),#f8fafc}.login-card{background:#fff;border-radius:1.1rem;padding:2rem}.credential-note{font-size:.76rem;display:flex;gap:.5rem;background:#f0f6fe;color:#416084;padding:.7rem;border-radius:.65rem}.error-page{min-height:55vh;display:flex;align-items:center}.error-number{font-size:clamp(5rem,18vw,10rem);line-height:.9;font-weight:900;color:#e7edf5;display:block}.error-page h1{margin-top:-1rem}.admin-shell{min-height:calc(100vh - 72px);display:flex;background:#f5f7fb}.admin-sidebar{width:260px;min-height:calc(100vh - 72px);background:#071b35;padding:1.5rem;position:sticky;top:72px;color:#fff}.sidebar-label{font-size:.68rem;letter-spacing:.11em;color:#7f96b6;margin:1rem 0 .5rem}.admin-nav-link{display:flex;align-items:center;gap:.7rem;color:#bfd0e6;text-decoration:none;padding:.73rem .8rem;border-radius:.65rem;font-size:.9rem}.admin-nav-link:hover,.admin-nav-link.active{background:#173a69;color:#fff}.admin-nav-link i{width:18px;text-align:center}.sidebar-user{display:flex;gap:.65rem;align-items:center;padding:.7rem;background:rgba(255,255,255,.07);border-radius:.7rem}.sidebar-user strong{display:block;font-size:.78rem;max-width:143px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{display:block;font-size:.67rem;color:#9fb1c8}.avatar{width:32px;height:32px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:var(--accent);font-weight:800}.admin-main{min-width:0;flex:1}.admin-topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 2rem;position:sticky;top:72px;z-index:9}.admin-content{padding:1.8rem 2rem 3rem}.dashboard-stat,.admin-panel{background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1.1rem}.dashboard-stat{display:flex;align-items:center;gap:.8rem;height:100%}.stat-icon{width:45px;height:45px;display:flex;justify-content:center;align-items:center;border-radius:.75rem}.stat-icon.blue{background:#e8f1ff;color:#1668d4}.stat-icon.green{background:#e6f7ef;color:#16875a}.stat-icon.orange{background:#fff1e3;color:#d46d13}.stat-icon.purple{background:#f0ebff;color:#6d4cc5}.stat-icon.red{background:#ffe8e8;color:#cf4040}.dashboard-stat small{display:block;color:var(--muted);font-size:.72rem}.dashboard-stat strong{font-size:1.45rem;color:#1b2940}.admin-panel .table{font-size:.85rem}.admin-panel .table thead th{background:#f8fafc;color:#68778b;font-size:.69rem;text-transform:uppercase;letter-spacing:.05em;border-bottom-color:#e8edf3;white-space:nowrap}.admin-panel .table td{border-color:#edf0f5}.admin-cta{background:linear-gradient(110deg,#fff1ec,#fff8f5);border:1px solid #ffd9cb;border-radius:1rem;padding:1.3rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.admin-thumb{width:58px;height:44px;object-fit:cover;border-radius:.45rem;background:#e7edf4}.placeholder-thumb{display:inline-flex;align-items:center;justify-content:center;color:#7a899d}.status-active{background:#e2f7eb;color:#137a4c}.status-sold{background:#e5edf9;color:#1c5fae}.status-inactive{background:#eceff3;color:#5d6b7d}.status-reserved{background:#fff3d7;color:#a56912}.vehicle-form .admin-panel{padding:1.35rem}.form-sidebar{top:165px}.option-checkbox{display:block;cursor:pointer}.option-checkbox input{position:absolute;opacity:0;pointer-events:none}.option-checkbox span{display:flex;align-items:center;gap:.45rem;padding:.58rem .65rem;border:1px solid #e4e9f0;border-radius:.6rem;font-size:.78rem;color:#536276;height:100%;transition:.18s}.option-checkbox span i{opacity:0;color:#fff;font-size:.65rem}.option-checkbox input:checked+span{background:#eef5ff;border-color:#9fc4f6;color:#1a579e}.option-checkbox input:checked+span i{opacity:1;background:#1b70d3;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-radius:50%}.upload-area{border:2px dashed #cbd7e6;border-radius:.8rem;padding:1rem;display:flex;flex-direction:column;align-items:center;cursor:pointer;background:#fbfcfe;text-align:center;transition:.2s}.upload-area:hover{border-color:#fb9b78;background:#fff8f5}.upload-area>i{font-size:1.35rem;color:var(--accent);margin-bottom:.35rem}.upload-area strong{font-size:.84rem}.upload-area small{font-size:.7rem;color:var(--muted)}.upload-area input{display:none}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem}.preview-item{border-radius:.45rem;overflow:hidden;position:relative;background:#eef2f7;aspect-ratio:1}.preview-item img,.preview-item video{width:100%;height:100%;object-fit:cover}.preview-item span{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.64);color:#fff;padding:.16rem .25rem;font-size:.61rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.existing-media-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.existing-media{position:relative;aspect-ratio:1;border-radius:.5rem;overflow:hidden;background:#ecf1f7;cursor:grab}.existing-media img{width:100%;height:100%;object-fit:cover}.primary-label{position:absolute;top:4px;left:4px;font-size:.59rem;background:var(--accent);color:#fff;border-radius:999px;padding:.18rem .38rem}.media-actions{display:flex;gap:.28rem;position:absolute;right:4px;bottom:4px}.media-actions form{margin:0}.media-actions button{border:0;width:27px;height:27px;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;font-size:.7rem}.media-actions form:last-child button{color:#ff9e9e}.offcanvas.text-bg-dark .admin-nav-link{color:#cbd9e9}.offcanvas.text-bg-dark .admin-nav-link:hover{background:#173a69;color:#fff}.toast{border-radius:.8rem}.toast-header{border-bottom:0}
@media (max-width:991.98px){.hero-section:after{opacity:.16;right:-28%;width:92%}.hero-section{min-height:auto}.filter-card{position:static}.admin-main{width:100%}.admin-content{padding:1.25rem}.admin-topbar{top:72px;padding:0 1rem}.form-sidebar{position:static!important}.spec-table{grid-template-columns:1fr}.spec-table>div:nth-child(odd){border-right:0}.admin-cta{align-items:flex-start;flex-direction:column}.gallery-main-image{height:58vw}.site-footer{margin-top:2rem!important}}
@media (max-width:575.98px){.site-navbar{min-height:64px}.navbar-brand{font-size:1.05rem}.site-navbar .brand-mark{width:31px;height:31px}.hero-section h1{font-size:2.25rem}.search-card{padding:1.2rem}.py-lg-6{padding-top:3.5rem!important;padding-bottom:3.5rem!important}.vehicle-image-wrap{height:205px}.gallery-main-image{height:68vw}.detail-price{font-size:1.7rem}.interest-card,.finance-card,.detail-section,.seller-card{padding:1rem}.quick-specs{grid-template-columns:1fr 1fr}.detail-tabs .nav-link{padding:.48rem .58rem;font-size:.76rem}.admin-topbar{height:66px}.admin-sidebar{top:64px}.admin-content{padding:.9rem}.dashboard-stat{padding:.9rem}.admin-panel{padding:.9rem}.admin-table{min-width:800px}.login-card{padding:1.35rem}.footer-brand{font-size:1.1rem}}


/* Fotos de perfil e página institucional */
.avatar-image{object-fit:cover;background:#dbe5f1}
.profile-upload-box{display:flex;gap:1rem;align-items:center;padding:1rem;border:1px dashed #cbd7e6;border-radius:.85rem;background:#fbfcfe}
.profile-photo-preview{width:88px;height:88px;border-radius:50%;overflow:hidden;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:#e7edf5;color:#667991;font-size:1.7rem;border:3px solid #fff;box-shadow:0 4px 16px rgba(14,36,66,.12)}
.profile-photo-preview img{width:100%;height:100%;object-fit:cover}
.user-table-avatar{display:inline-flex;width:42px;height:42px;border-radius:50%;object-fit:cover;align-items:center;justify-content:center;background:#e8edf5;color:#244260;font-weight:800}
.user-table-avatar-empty{border:1px solid #d8e0ea}
.seller-heading{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.seller-heading h2{line-height:1.15}
.seller-avatar{width:58px;height:58px;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#173a69;color:#fff;font-weight:800;font-size:1.25rem;border:3px solid #fff;box-shadow:0 3px 12px rgba(7,27,53,.14)}
.seller-avatar-empty{background:var(--accent)}
.seller-page-heading{display:flex;align-items:center;gap:1rem}
.seller-page-avatar{width:78px;height:78px;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#173a69;color:#fff;font-size:1.7rem;font-weight:850;border:3px solid #fff;box-shadow:0 6px 18px rgba(7,27,53,.15)}
.seller-page-avatar-empty{background:var(--accent)}
.how-page-header{background:linear-gradient(135deg,#f8fbff 0%,#eaf2fb 55%,#fff5f1 100%)}
.safety-card{height:100%;background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1.45rem;box-shadow:0 8px 25px rgba(16,43,80,.05)}
.safety-card h3{font-size:1.1rem;margin:1rem 0 .85rem;color:#172f4d}
.safety-card ul{padding-left:1.2rem;margin:0;color:#5b6b7f;line-height:1.7;font-size:.9rem}
.safety-card li+li{margin-top:.45rem}
.safety-icon{width:47px;height:47px;border-radius:.8rem;display:flex;align-items:center;justify-content:center;background:#eef5ff;color:#1e69bd;font-size:1.15rem}
@media (max-width:575.98px){.profile-upload-box{align-items:flex-start}.profile-photo-preview{width:68px;height:68px;font-size:1.35rem}.seller-page-heading{align-items:flex-start}.seller-page-avatar{width:60px;height:60px;font-size:1.25rem}}


/* Upload de foto de perfil: arrastar, soltar e prévia imediata */
.profile-dropzone{display:flex;align-items:center;gap:.85rem;min-height:88px;width:100%;padding:.9rem 1rem;border:1.5px dashed #b9c9db;border-radius:.8rem;background:#fff;color:#36516e;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;outline:none}
.profile-dropzone:hover,.profile-dropzone:focus{border-color:var(--accent);background:#fff8f5;box-shadow:0 0 0 .22rem rgba(239,91,42,.10)}
.profile-dropzone.is-dragging{border-color:var(--accent);border-style:solid;background:#fff3ee;transform:scale(1.005);box-shadow:0 8px 20px rgba(239,91,42,.12)}
.profile-dropzone.is-file-selected{border-color:#18a46d;border-style:solid;background:#f0fbf6}
.profile-dropzone-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:.7rem;background:#edf4ff;color:#1e67b8;font-size:1.1rem}
.profile-dropzone strong{display:block;color:#233f5e;font-size:.9rem;line-height:1.35}
.profile-dropzone span{display:block;color:#708198;font-size:.78rem;line-height:1.35;margin-top:.12rem}
.profile-dropzone small{margin-left:auto;max-width:180px;color:#60738a;font-size:.75rem;line-height:1.35;text-align:right;overflow-wrap:anywhere}
.profile-dropzone.is-file-selected small{color:#16744f;font-weight:700}
.profile-photo-preview.is-updated{animation:profilePreviewPulse .38s ease}
@keyframes profilePreviewPulse{0%{transform:scale(.94);opacity:.45}70%{transform:scale(1.04)}100%{transform:scale(1);opacity:1}}
@media (max-width:575.98px){.profile-upload-box{display:block}.profile-photo-preview{margin:0 auto 1rem}.profile-dropzone{min-height:76px;gap:.65rem}.profile-dropzone-icon{width:38px;height:38px}.profile-dropzone small{display:none}}

/* Cadastro e pagamento */
.register-callout {
  background: linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(17, 24, 39, .94));
  color: #fff;
}
.register-callout .text-secondary { color: rgba(255,255,255,.72) !important; }
.payment-rule-card {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  background: rgba(255,255,255,.06);
}
.payment-rule-card i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent, #ff3d00);
  color: #fff;
}
.payment-rule-card strong,
.payment-rule-card span { display: block; }
.payment-rule-card span { color: rgba(255,255,255,.72); font-size: .92rem; }
.payment-panel { overflow: hidden; position: relative; }
.payment-summary-card {
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
.payment-summary-card small { display: block; color: #64748b; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.payment-summary-card strong { display: block; font-size: 2rem; color: #111827; margin: .15rem 0 .45rem; }
.pix-copy {
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #334155;
  border-radius: .85rem;
  padding: .8rem;
  font-size: .78rem;
}
.fake-qr {
  width: min(235px, 100%);
  aspect-ratio: 1;
  border: 10px solid #fff;
  border-radius: 1.25rem;
  background:
    linear-gradient(90deg, #0f172a 10px, transparent 10px 20px, #0f172a 20px 30px, transparent 30px 40px),
    linear-gradient(#0f172a 10px, transparent 10px 20px, #0f172a 20px 30px, transparent 30px 40px),
    #fff;
  background-size: 40px 40px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
  position: relative;
}
.fake-qr::before,
.fake-qr::after,
.fake-qr span:nth-child(1) {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  background: #fff;
  border: 12px solid #0f172a;
  box-shadow: inset 0 0 0 10px #fff, inset 0 0 0 22px #0f172a;
}
.fake-qr::before { left: 16px; top: 16px; }
.fake-qr::after { right: 16px; top: 16px; }
.fake-qr span:nth-child(1) { left: 16px; bottom: 16px; }
.fake-qr span:nth-child(2),
.fake-qr span:nth-child(3),
.fake-qr span:nth-child(4),
.fake-qr span:nth-child(5),
.fake-qr span:nth-child(6),
.fake-qr span:nth-child(7),
.fake-qr span:nth-child(8),
.fake-qr span:nth-child(9) {
  position: absolute;
  display: block;
  background: #0f172a;
  border-radius: 3px;
}
.fake-qr span:nth-child(2) { width: 28px; height: 28px; right: 72px; bottom: 34px; }
.fake-qr span:nth-child(3) { width: 18px; height: 52px; right: 35px; bottom: 72px; }
.fake-qr span:nth-child(4) { width: 52px; height: 18px; right: 78px; bottom: 100px; }
.fake-qr span:nth-child(5) { width: 16px; height: 16px; right: 44px; bottom: 34px; }
.fake-qr span:nth-child(6) { width: 24px; height: 24px; left: 104px; top: 96px; }
.fake-qr span:nth-child(7) { width: 12px; height: 46px; left: 136px; top: 118px; }
.fake-qr span:nth-child(8) { width: 42px; height: 12px; left: 98px; top: 158px; }
.fake-qr span:nth-child(9) { width: 20px; height: 20px; left: 164px; top: 142px; }
.payment-status-panel { border-left: 5px solid var(--accent, #ff3d00); }


/* =========================================================
   Ajustes: formulário de veículo, drag and drop de mídias
   ========================================================= */
.form-sidebar {
  position: static !important;
  top: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.admin-content,
.admin-main,
.vehicle-form {
  overflow: visible !important;
}

.media-dropzone {
  width: 100%;
  max-width: 100%;
  border: 2px dashed #d4dce8;
  border-radius: 20px;
  background: #f8fafc;
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: .2s ease;
  display: block;
}

.media-dropzone:hover,
.media-dropzone.dragover {
  border-color: var(--accent, #ef5b2a);
  background: #fff3ee;
}

.media-dropzone i {
  font-size: 34px;
  color: var(--accent, #ef5b2a);
  margin-bottom: 10px;
  display: block;
}

.media-dropzone strong {
  display: block;
  font-size: 1rem;
  color: #111827;
}

.media-dropzone small {
  display: block;
  color: #64748b;
  margin-top: 4px;
}

.preview-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preview-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f7;
  border: 1px solid #e2e8f0;
  min-height: 110px;
}

.preview-item img,
.preview-item video {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
  background: #111827;
}

.preview-info {
  padding: 8px;
  font-size: .78rem;
  color: #475569;
  background: #fff;
}

.preview-info strong {
  display: block;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(220, 38, 38, .95);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.preview-remove:hover {
  background: #b91c1c;
}

.media-feedback {
  font-size: .875rem;
}

@media (max-width: 1199px) {
  .form-sidebar {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Correção painel WeebCar: remove a faixa branca entre o menu lateral e o cabeçalho */
body:has(.admin-shell) {
  background: #f3f6fb !important;
}
body:has(.admin-shell) main.flex-grow-1,
body:has(.admin-shell) main,
body:has(.admin-shell) .admin-shell,
body:has(.admin-shell) .admin-main,
body:has(.admin-shell) .admin-content {
  background: #f3f6fb !important;
}
body:has(.admin-shell) .admin-topbar,
.admin-shell .admin-topbar {
  background: #f3f6fb !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  position: static !important;
  top: auto !important;
  padding: 22px 36px 14px !important;
  margin: 0 !important;
}
body:has(.admin-shell) .admin-content,
.admin-shell .admin-content {
  padding-top: 0 !important;
}
@media (max-width: 991px) {
  body:has(.admin-shell) .admin-topbar,
  .admin-shell .admin-topbar {
    padding: 14px 16px 10px !important;
  }
  body:has(.admin-shell) .admin-content,
  .admin-shell .admin-content {
    padding-top: 0 !important;
  }
}


/* Correção definitiva do painel WeebCar: cobre qualquer filete claro entre header e menu lateral */
body.admin-body {
  background: linear-gradient(90deg, #10271b 0 300px, #f4f7f2 300px 100%) !important;
}

body.admin-body .site-navbar,
body.admin-body nav.site-navbar,
body.admin-body .navbar.site-navbar,
body.admin-body .admin-site-navbar {
  background: #10271b !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  margin-bottom: 0 !important;
}

body.admin-body .site-navbar::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -8px !important;
  width: 300px !important;
  height: 8px !important;
  background: #10271b !important;
  z-index: 1060 !important;
  pointer-events: none !important;
  display: block !important;
}

body.admin-body main.flex-grow-1,
body.admin-body main {
  background: linear-gradient(90deg, #10271b 0 300px, #f4f7f2 300px 100%) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body.admin-body .admin-shell,
body:has(.admin-shell) .admin-shell {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  background: linear-gradient(90deg, #10271b 0 300px, #f4f7f2 300px 100%) !important;
}

body.admin-body .admin-sidebar,
body:has(.admin-shell) .admin-sidebar {
  margin-top: -8px !important;
  padding-top: 40px !important;
  min-height: calc(100vh - 72px + 8px) !important;
  top: 72px !important;
  background: #10271b !important;
  border-top: 0 !important;
  box-shadow: none !important;
  z-index: 30 !important;
}

body.admin-body .admin-main,
body:has(.admin-shell) .admin-main,
body.admin-body .admin-content,
body:has(.admin-shell) .admin-content {
  background: #f4f7f2 !important;
  border-top: 0 !important;
}

body.admin-body .admin-topbar,
body:has(.admin-shell) .admin-topbar {
  background: #f4f7f2 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 991.98px) {
  body.admin-body,
  body.admin-body main.flex-grow-1,
  body.admin-body main,
  body.admin-body .admin-shell,
  body:has(.admin-shell) .admin-shell {
    background: #f4f7f2 !important;
  }

  body.admin-body .site-navbar::after {
    display: none !important;
    content: none !important;
  }

  body.admin-body .admin-sidebar,
  body:has(.admin-shell) .admin-sidebar {
    margin-top: 0 !important;
    padding-top: 32px !important;
    min-height: auto !important;
    top: auto !important;
  }
}

/* Identidade visual baseada no verde e no vermelho da logo WeebCar. */
.site-navbar {
  background: linear-gradient(100deg, rgba(10, 27, 16, .99), rgba(24, 74, 38, .99));
  border-bottom: 2px solid rgba(227, 38, 54, .72);
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active {
  color: var(--accent-bright);
}

.site-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(205px, 58vw);
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: min(250px, 78vw);
  object-fit: contain;
}

.auth-logo {
  display: inline-block;
  width: auto;
  height: 72px;
  max-width: min(285px, 82vw);
  object-fit: contain;
}

.admin-menu-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 175px;
  object-fit: contain;
}

.hero-section {
  background: linear-gradient(120deg, #0c1f13, #215f32);
}

.orb-one {
  background: var(--red);
}

.orb-two {
  background: #76c93e;
}

.hero-section h1 span {
  color: var(--accent-bright);
}

.search-icon {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.vehicle-badge.featured,
.favorite-btn.is-favorite {
  background: var(--red-soft);
  color: var(--red-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: #66b85a;
  box-shadow: 0 0 0 .2rem rgba(53, 166, 41, .16);
}

.category-card:hover {
  border-color: var(--accent-line);
}

.security-box {
  background: linear-gradient(135deg, #102117, #225e31);
}

.security-box::after {
  background: rgba(227, 38, 54, .22);
}

.site-footer {
  background: linear-gradient(135deg, #0b1910, #183f25);
  border-top: 2px solid rgba(227, 38, 54, .62);
}

.admin-cta {
  background: linear-gradient(110deg, #eff9eb, #f8fcf6);
  border-color: #b9dfae;
}

.upload-area:hover,
.profile-dropzone:hover,
.profile-dropzone:focus {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.profile-dropzone.is-dragging {
  border-color: var(--accent);
  background: #e9f7e4;
  box-shadow: 0 8px 20px rgba(53, 166, 41, .14);
}

.how-page-header {
  background: linear-gradient(135deg, #f8fcf6 0%, #ecf8e8 55%, #fff4f5 100%);
}

.payment-rule-card i,
.checkout-step-icon,
.billing-address-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.payment-status-panel {
  border-left-color: var(--accent);
}

.home-directory-search {
  border: 1px solid rgba(169, 217, 154, .8);
  box-shadow: 0 24px 60px rgba(4, 20, 9, .28) !important;
}

.home-directory-search .btn-link {
  color: var(--accent-dark);
}

.home-directory-search .btn-link:hover {
  color: var(--red-dark);
}

.vehicle-card:hover {
  border-color: var(--accent-line);
}

.vehicle-price {
  color: #1d5d2d;
}

.owner-type-badge {
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Marca d'água aplicada sem alterar o arquivo original enviado pelo anunciante. */
.vehicle-photo-watermarked {
  position: relative;
  isolation: isolate;
}

.vehicle-photo-watermarked::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  width: min(44%, 190px);
  height: 28%;
  min-height: 30px;
  max-height: 72px;
  background: url("../images/weebcar-logo.png") right bottom / contain no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
  opacity: .58;
  pointer-events: none;
}

.vehicle-photo-watermarked-large::after {
  right: 18px;
  bottom: 18px;
  width: min(38%, 270px);
  height: 22%;
  max-height: 92px;
  opacity: .52;
}

.vehicle-photo-watermarked-compact::after {
  right: 5px;
  bottom: 5px;
  width: 62%;
  height: 36%;
  min-height: 0;
  opacity: .55;
}

.gallery-main-button > span,
.gallery-counter {
  z-index: 4;
}

.modal-image-watermark {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  border-radius: .375rem;
}

.modal-image-watermark > img {
  display: block;
}

@media (max-width: 575.98px) {
  .site-logo {
    height: 40px;
    max-width: 165px;
  }

  .footer-logo {
    height: 50px;
  }

  .auth-logo {
    height: 60px;
  }
}

/* Identidade alternativa ativada somente em usadocar.com e www.usadocar.com. */
body.brand-usadocar {
  --navy: #061b3b;
  --navy-2: #0a356b;
  --ink: #10243f;
  --muted: #61748a;
  --accent: #1479d3;
  --accent-dark: #0a57a7;
  --accent-bright: #32dc70;
  --accent-soft: #eaf4ff;
  --accent-line: #9fc8eb;
  --soft: #f4f8fd;
  --line: #d8e5f1;
  --green: #12c95a;
  --red: #e51d32;
  --red-dark: #b91427;
  --red-soft: #fff0f2;
  --shadow: 0 14px 40px rgba(5, 45, 91, .15);
}

body.brand-usadocar .site-navbar {
  background: linear-gradient(100deg, rgba(3, 20, 45, .99), rgba(7, 48, 99, .99));
  border-bottom-color: rgba(229, 29, 50, .84);
}

body.brand-usadocar .site-navbar .nav-link:hover,
body.brand-usadocar .site-navbar .nav-link:focus,
body.brand-usadocar .site-navbar .nav-link.active {
  color: var(--accent-bright);
}

body.brand-usadocar .hero-section {
  background: linear-gradient(120deg, #04172f, #0a4f94);
}

body.brand-usadocar .orb-one {
  background: var(--red);
}

body.brand-usadocar .orb-two {
  background: var(--green);
}

body.brand-usadocar .hero-section h1 span {
  color: var(--accent-bright);
}

body.brand-usadocar .form-control:focus,
body.brand-usadocar .form-select:focus {
  border-color: #4a9ce0;
  box-shadow: 0 0 0 .2rem rgba(20, 121, 211, .17);
}

body.brand-usadocar .security-box {
  background: linear-gradient(135deg, #051832, #0a4b8d);
}

body.brand-usadocar .security-box::after {
  background: rgba(229, 29, 50, .24);
}

body.brand-usadocar .site-footer {
  background: linear-gradient(135deg, #03142d, #082f62);
  border-top-color: rgba(229, 29, 50, .78);
}

body.brand-usadocar .social-link:hover {
  background: var(--red);
  border-color: var(--red);
}

body.brand-usadocar .admin-cta {
  background: linear-gradient(110deg, #eaf4ff, #f8fbff);
  border-color: #aed0ee;
}

body.brand-usadocar .profile-dropzone.is-dragging,
body.brand-usadocar .media-dropzone:hover,
body.brand-usadocar .media-dropzone.dragover {
  border-color: var(--accent);
  background: #e8f3ff;
  box-shadow: 0 8px 20px rgba(20, 121, 211, .14);
}

body.brand-usadocar .how-page-header {
  background: linear-gradient(135deg, #f7fbff 0%, #e9f4ff 58%, #fff2f4 100%);
}

body.brand-usadocar .home-directory-search {
  border-color: rgba(122, 181, 231, .85);
  box-shadow: 0 24px 60px rgba(2, 23, 52, .32) !important;
}

body.brand-usadocar .vehicle-price,
body.brand-usadocar .detail-price {
  color: #0a4f94;
}

body.brand-usadocar .vehicle-photo-watermarked::after {
  background-image: url("../images/usadocar-logo.png");
  opacity: .68;
}

body.brand-usadocar .directory-search-card {
  border-color: rgba(79, 164, 232, .38);
  background: rgba(3, 27, 59, .84);
  box-shadow: 0 22px 54px rgba(1, 17, 39, .34);
}

body.brand-usadocar .directory-search-card .input-group-text,
body.brand-usadocar .company-directory-logo,
body.brand-usadocar .company-brand-list span,
body.brand-usadocar .company-directory-card-footer,
body.brand-usadocar .directory-empty-state,
body.brand-usadocar .company-contact-card,
body.brand-usadocar .seller-contact-item {
  border-color: var(--line);
  background: #f3f8fd;
}

body.brand-usadocar .company-directory-info,
body.brand-usadocar .company-brand-list span,
body.brand-usadocar .company-directory-card-footer small,
body.brand-usadocar .seller-contact-data span,
body.brand-usadocar .seller-address {
  color: var(--muted);
}

body.brand-usadocar .company-vehicle-preview-item {
  background: #e5eff8;
}

body.brand-usadocar .company-vehicle-preview-placeholder {
  color: #6683a0;
}

body.brand-usadocar .company-directory-card,
body.brand-usadocar .seller-info-panel,
body.brand-usadocar .vehicle-detail-header-card,
body.brand-usadocar .vehicle-side-card,
body.brand-usadocar .vehicle-info-card,
body.brand-usadocar .gallery-card,
body.brand-usadocar .interest-card,
body.brand-usadocar .finance-card,
body.brand-usadocar .detail-section,
body.brand-usadocar .seller-card {
  box-shadow: 0 14px 38px rgba(5, 45, 91, .08);
}

body.brand-usadocar .profile-placeholder,
body.brand-usadocar .camera-panel {
  background: var(--navy);
}

body.brand-usadocar .profile-dropzone,
body.brand-usadocar .verification-dropzone {
  border-color: var(--line);
  background: #f6faff;
}

body.brand-usadocar .site-logo {
  height: 50px;
  max-width: min(205px, 58vw);
}

body.brand-usadocar .footer-logo {
  height: 62px;
}

body.brand-usadocar .auth-logo {
  height: 76px;
}

body.brand-usadocar .admin-menu-logo {
  height: 48px;
  max-width: 180px;
}

.vehicle-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}

.vehicle-view-count,
.vehicle-detail-view-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
}

.vehicle-view-count i,
.vehicle-detail-view-count i {
  color: var(--accent);
}

.vehicle-detail-view-count {
  font-size: .84rem;
}

@media (max-width: 575.98px) {
  body.brand-usadocar .site-logo {
    height: 41px;
    max-width: 160px;
  }

  body.brand-usadocar .footer-logo {
    height: 52px;
  }

  body.brand-usadocar .auth-logo {
    height: 62px;
  }
}
