
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#020302;color:#fff;font-family:Arial,Helvetica,sans-serif}a{color:inherit}
.image-home{position:relative;max-width:1536px;margin:auto;aspect-ratio:3/2;background:#000}.image-home>img{display:block;width:100%;height:100%;object-fit:contain}.overlay{position:absolute;z-index:3}
.nav-home{left:4%;top:11.6%;width:6%;height:5%}.nav-parts{left:10.5%;top:11.6%;width:7%;height:5%}.nav-about{left:17.5%;top:11.6%;width:9.5%;height:5%}.nav-contact{left:27%;top:11.6%;width:7.5%;height:5%}.not-found{right:4%;top:11.6%;width:20%;height:5%}
.phone{right:6.2%;width:13%;height:2.4%}.phone1{top:40.1%}.phone2{top:42.6%}
.home-search{left:38.5%;top:3.6%;width:29%;height:4.6%;display:flex}.home-search input{width:87%;border:0;background:transparent;padding:0 18px;font-size:clamp(8px,1vw,16px);outline:none}.home-search button{width:13%;border:0;background:transparent;color:transparent;cursor:pointer}
.carousel-arrow{position:absolute;z-index:5;top:68%;border:0;background:transparent;color:#1d8c3b;font-size:clamp(36px,5vw,80px);cursor:pointer;line-height:1}.carousel-arrow.left{left:4.5%}.carousel-arrow.right{right:4.5%}
.home-product-clicks{position:absolute;left:8.6%;right:8.7%;top:59.8%;height:23.4%;display:grid;grid-template-columns:repeat(6,1fr);gap:.55%;z-index:4}.home-product-clicks a{border-radius:8px}.home-product-clicks a:hover{background:rgba(255,255,255,.04)}
.below-home{text-align:center;padding:60px 20px;background:linear-gradient(#020302,#0a1c0e)}.below-home h2{font-size:clamp(28px,4vw,48px);margin:0 0 10px}.below-home p{color:#c9d8cd}.primary-btn{display:inline-block;margin-top:20px;background:#08772c;padding:15px 24px;border-radius:8px;text-decoration:none;font-weight:800}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 5%;background:#030403;gap:24px}.brand{display:flex;gap:12px;align-items:center}.brand .tractor{font-size:52px}.brand strong{font-size:34px;font-style:italic;display:block}.brand span{display:block;font-weight:700}.brand small{color:#ffd000}.site-search{display:flex;flex:1;max-width:520px}.site-search input{flex:1;padding:14px;border:0;border-radius:7px 0 0 7px}.site-search button{width:56px;background:#075d23;color:#fff;border:0;border-radius:0 7px 7px 0;font-size:22px}.shipping{display:flex;align-items:center;gap:10px;font-size:32px;color:#ffd000}.shipping div>*{display:block}.shipping b,.shipping span{font-size:13px;color:#fff}.shipping strong{font-size:24px}
.mainnav{display:flex;gap:38px;align-items:center;padding:15px 5%;background:linear-gradient(90deg,#073c17,#075724);font-weight:800}.mainnav a{text-decoration:none}.request-link{margin-left:auto}
.page{min-height:70vh}.page-hero{padding:75px 6%;background:radial-gradient(circle at top right,#124f25,#050805 55%)}.page-hero span,.contact-section span{color:#ffd000;font-weight:800;letter-spacing:.12em}.page-hero h1{font-size:clamp(34px,5vw,64px);max-width:900px;margin:10px 0}.page-hero p{color:#c9d5cc;font-size:18px}
.catalog-tools{display:flex;gap:14px;padding:28px 6%;flex-wrap:wrap}.catalog-tools input,.catalog-tools select,.admin-form input,.contact-form input{padding:14px;border-radius:7px;border:1px solid #255f36;background:#07110a;color:#fff}.catalog-tools input{flex:1;min-width:240px}.catalog-grid{padding:0 6% 70px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
@media (max-width:1400px){.catalog-grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:992px){.catalog-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:768px){.catalog-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:576px){.catalog-grid{grid-template-columns:1fr}}.product-card{background:#f6f6f6;color:#111;border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.product-visual{height:220px;display:flex;justify-content:center;align-items:center;background:transparent;overflow:hidden}.product-body{padding:18px;display:flex;flex-direction:column;flex:1}.product-body h3{margin:0 0 10px}.meta{font-size:13px;color:#555;line-height:1.6}.price{color:#0b5d25;font-size:20px;font-weight:800;margin:12px 0}.whatsapp-btn{margin-top:auto;background:#08772c;color:#fff;text-decoration:none;text-align:center;padding:12px;border-radius:6px;font-weight:700}
.about-grid{padding:50px 6%;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.about-grid article{border:1px solid #194b28;background:#07120a;padding:28px;border-radius:12px}.about-grid p{color:#cbd8ce;line-height:1.7}.contact-section{margin:0 6% 70px;padding:38px;background:#07120a;border:1px solid #194b28;border-radius:14px}.contact-buttons{display:flex;gap:14px;flex-wrap:wrap;margin:24px 0}.contact-buttons a{background:#08772c;padding:15px 20px;border-radius:8px;text-decoration:none;font-weight:800}.contact-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px}.contact-form button,.admin-form button{background:#08772c;color:#fff;border:0;border-radius:7px;padding:14px;font-weight:800;cursor:pointer}
.admin-layout{display:grid;grid-template-columns:320px 1fr;gap:28px;padding:40px 6%}.admin-form{display:flex;flex-direction:column;gap:12px}.danger{background:#8c1d1d!important}.admin-list{display:grid;gap:12px}.admin-item{display:flex;justify-content:space-between;gap:15px;align-items:center;background:#07120a;border:1px solid #194b28;border-radius:8px;padding:15px}.admin-item button{margin-left:8px;padding:8px 10px}
.footer{display:flex;justify-content:space-between;gap:20px;padding:25px 6%;border-top:1px solid #163b21;color:#a9b6ac}
@media(max-width:900px){.topbar{flex-wrap:wrap}.shipping{display:none}.mainnav{gap:18px;flex-wrap:wrap}.request-link{margin-left:0}.about-grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.brand strong{font-size:26px}}


/* MELHORIA 1 — identidade visual e catálogo */
.mainnav{
  background:#073f1b;
  box-shadow:none;
  border-top:0;
  border-bottom:0;
}
.mainnav a{
  border:0;
  box-shadow:none;
  text-shadow:none;
  outline:none;
  background:transparent;
  padding:4px 0;
}
.mainnav a:hover,
.mainnav a:focus,
.mainnav a:active{
  background:transparent;
  box-shadow:none;
  text-shadow:none;
  color:#f4d000;
}
.brand{
  min-width:360px;
}
.brand-logo-link{
  display:block;
  line-height:0;
}
.brand-logo{
  display:block;
  width:min(100%,520px);
  max-height:104px;
  object-fit:contain;
  object-position:left center;
}
.brand .tractor{display:none}
.product-visual{
  height:220px;
  overflow:hidden;
  background:#fff;
}
.product-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  padding:0;
  transition:transform .25s ease;
}
.product-card:hover .product-visual img{
  transform:scale(1.04);
}
.product-card{
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.07);
}
@media(max-width:900px){
  .brand{min-width:0;width:100%}
  .brand-logo{max-height:84px;width:100%}
}

/* VERSÃO COMPACTA + GALERIA MULTIFOTOS */
.home-crop{position:relative;max-width:1536px;margin:auto;height:min(58vw,890px);overflow:hidden;background:#000}.home-crop>img{width:100%;height:auto;display:block}.crop-link{position:absolute;z-index:3;top:20%;height:8%}.crop-link.home{left:4%;width:6%}.crop-link.parts{left:10.5%;width:7%}.crop-link.about{left:17.5%;width:9.5%}.crop-link.contact{left:27%;width:7.5%}.crop-link.request{right:4%;width:20%}.home-crop .home-search{top:6.2%}
.featured-section{padding:48px 5% 55px;background:#f5f6f4;color:#172019}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;max-width:1400px;margin:0 auto 24px}.section-heading span{color:#08772c;font-weight:900;letter-spacing:.12em}.section-heading h2{font-size:clamp(30px,4vw,48px);margin:5px 0}.section-heading p{margin:0;color:#5d675f}.section-heading>a{color:#075d23;font-weight:800;text-decoration:none}.featured-carousel{display:grid;grid-template-columns:44px minmax(0,1400px) 44px;justify-content:center;align-items:center;gap:12px}.featured-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.featured-arrow{width:44px;height:64px;border:0;border-radius:8px;background:#075d23;color:#fff;font-size:38px;cursor:pointer}.featured-counter{text-align:center;margin-top:16px;color:#68726a;font-weight:700}
.product-card{min-width:0}.product-card h3 a{text-decoration:none;color:#121712}.product-card .status{align-self:flex-start}.status{display:inline-block;background:#dff3e5;color:#08652b;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;text-transform:uppercase}.status.sold{background:#eee;color:#777}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.details-btn,.whatsapp-btn{display:block;text-decoration:none;text-align:center;padding:10px 8px;border-radius:6px;font-weight:800;font-size:13px}.details-btn{border:1px solid #12622d;color:#0b5d25}.compact-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.compact-grid .product-visual{height:145px}.compact-grid .product-body{padding:14px}.compact-grid .product-body h3{font-size:16px;line-height:1.3}.compact-grid .price{font-size:17px}.result-count{padding:0 6% 16px;color:#aebcaf}.empty-state{grid-column:1/-1;padding:40px;text-align:center;background:#08130b;border:1px solid #194b28;border-radius:10px}
.product-page{min-height:65vh;background:#f4f5f3;color:#172019;padding:45px 5%}.product-detail{max-width:1150px;margin:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:42px;background:#fff;padding:28px;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.12)}.main-photo-wrap{height:390px;position:relative;background:#f1f2f0;border-radius:10px;display:grid;place-items:center;overflow:hidden}.main-photo-wrap>img{width:100%;height:100%;object-fit:contain;cursor:zoom-in}.photo-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:38px;height:50px;border:0;border-radius:6px;background:rgba(0,65,25,.75);color:#fff;font-size:30px;cursor:pointer}.photo-arrow.left{left:10px}.photo-arrow.right{right:10px}.thumbs{display:flex;gap:9px;overflow:auto;margin-top:10px;padding-bottom:4px}.thumb{width:72px;height:62px;flex:0 0 auto;border:2px solid transparent;border-radius:7px;padding:2px;background:#eee;cursor:pointer}.thumb.active{border-color:#08772c}.thumb img{width:100%;height:100%;object-fit:cover}.detail-info h1{font-size:clamp(28px,4vw,44px);margin:14px 0}.detail-price{font-size:28px;font-weight:900;color:#08652b;margin-bottom:20px}.detail-info dl{display:grid;gap:8px}.detail-info dl div{display:flex;justify-content:space-between;border-bottom:1px solid #e4e7e3;padding:10px 0}.detail-info dt{font-weight:800}.detail-info dd{margin:0}.description{line-height:1.7;color:#586159}.large-whatsapp{display:block;margin-top:24px;background:#08772c;color:#fff;padding:15px;text-align:center;text-decoration:none;border-radius:8px;font-weight:900}.back-link{color:#075d23;text-decoration:none;font-weight:800}.image-modal{position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:99;display:none;place-items:center;padding:30px}.image-modal.open{display:grid}.image-modal img{max-width:94vw;max-height:90vh;object-fit:contain}.image-modal button{position:absolute;right:25px;top:18px;background:transparent;color:#fff;border:0;font-size:44px;cursor:pointer}
.admin-badge{background:#f0ca00;color:#102014;padding:9px 13px;border-radius:6px;font-weight:900}.admin-layout{grid-template-columns:minmax(360px,520px) 1fr}.admin-form{background:#07120a;border:1px solid #194b28;border-radius:12px;padding:22px;height:max-content}.admin-form label{display:grid;gap:7px;font-weight:700}.admin-form input,.admin-form select,.admin-form textarea{width:100%;padding:12px;border-radius:7px;border:1px solid #255f36;background:#030904;color:#fff;font:inherit}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-label{display:flex!important;align-items:center;gap:8px;padding-top:29px}.check-label input{width:auto}.upload-box{border:1px dashed #3c8b54;padding:15px;border-radius:8px}.upload-box small{color:#aab8ad;font-weight:400}.image-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.preview-image{position:relative;background:#fff;color:#111;border-radius:7px;overflow:hidden;padding-bottom:7px;text-align:center}.preview-image img{width:100%;height:95px;object-fit:cover;display:block}.preview-image>button[data-remove-image]{position:absolute;right:4px;top:4px;width:27px;height:27px;border-radius:50%;padding:0;background:#981e1e}.preview-image span{display:block;font-size:12px;font-weight:800;margin-top:5px}.make-main{background:#e7ece8!important;color:#14351d!important;padding:5px!important;font-size:10px}.form-buttons{display:grid;gap:8px}.secondary{background:#435247!important}.admin-item{display:grid;grid-template-columns:70px 1fr auto}.admin-item>img{width:70px;height:58px;object-fit:cover;border-radius:6px}.admin-item-info{display:grid;gap:5px}.admin-item-info small{color:#aebcaf}.admin-actions{display:flex}.danger-mini{background:#8c1d1d;color:#fff;border:0}.page-hero.compact{padding-top:50px;padding-bottom:50px}
@media(max-width:980px){.featured-track{grid-template-columns:repeat(2,1fr)}.product-detail{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.home-crop{height:60vw}.main-photo-wrap{height:340px}}
@media(max-width:640px){.featured-carousel{grid-template-columns:34px minmax(0,1fr) 34px;gap:7px}.featured-track{grid-template-columns:1fr}.featured-arrow{width:34px}.section-heading{align-items:flex-start;flex-direction:column}.home-crop{height:62vw}.home-crop .home-search{display:none}.product-detail{padding:14px}.main-photo-wrap{height:280px}.form-row{grid-template-columns:1fr}.check-label{padding-top:0}.image-preview{grid-template-columns:repeat(2,1fr)}.admin-item{grid-template-columns:58px 1fr}.admin-item>img{width:58px}.admin-actions{grid-column:1/-1;justify-content:flex-end}}

/* ETAPA 1 — HOME RECONSTRUÍDA EM BLOCOS SEPARADOS */
.new-home{background:#020402;color:#fff}.home-header{position:relative;z-index:20;background:#020302}.home-header-top{max-width:1536px;margin:auto;min-height:116px;padding:12px 4.5%;display:grid;grid-template-columns:minmax(310px,1.1fr) minmax(320px,.95fr) minmax(260px,.75fr);gap:34px;align-items:center}.home-brand{display:block;line-height:0}.home-brand img{display:block;width:100%;max-width:490px;max-height:92px;object-fit:contain;object-position:left center}.home-main-search{display:flex;height:50px}.home-main-search input{min-width:0;flex:1;border:0;border-radius:6px 0 0 6px;padding:0 18px;font-size:16px;outline:none}.home-main-search button{width:58px;border:0;border-radius:0 6px 6px 0;background:#075c24;color:#fff;font-size:29px;cursor:pointer}.home-shipping{display:flex;align-items:center;justify-content:flex-end;gap:15px}.shipping-icon{font-size:53px;line-height:1;color:#ffd000}.home-shipping small,.home-shipping strong,.home-shipping span{display:block}.home-shipping small{font-weight:900}.home-shipping strong{color:#ffd000;font-size:25px}.home-shipping span{font-size:14px;font-weight:700}.home-nav{min-height:52px;background:linear-gradient(90deg,#073c17,#075724);display:flex;align-items:stretch;padding-left:4.5%;border-bottom:2px solid #07822d}.home-nav>a{display:flex;align-items:center;padding:0 25px;text-decoration:none;font-weight:900;transition:.18s ease}.home-nav>a:hover,.home-nav>a.active{color:#ffd000;background:rgba(0,0,0,.13)}.home-help{margin-left:auto;gap:10px;padding-right:4.5%!important}.home-help>b{width:30px;height:30px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;font-size:19px}.home-help span,.home-help small{display:block}.home-help small{font-weight:500;margin-top:2px}.home-hero{position:relative;max-width:1536px;margin:auto;background:#000;line-height:0}.home-hero>img{display:block;width:100%;height:auto}.hero-whatsapp-links{position:absolute;right:5%;bottom:9%;display:grid;gap:4px;line-height:1.25;background:rgba(255,255,255,.96);padding:12px 18px;border-radius:8px}.hero-whatsapp-links a{color:#086829;text-decoration:none;font-weight:900;font-size:16px}.brands-image-section{background:#fff;line-height:0}.brands-image-section img{display:block;width:100%;max-width:1536px;margin:auto;height:auto}.home-parts-section{padding:38px 5% 52px;background:#030503}.home-section-title{text-align:center;margin-bottom:26px}.home-section-title span{color:#ffd000;font-size:13px;font-weight:900;letter-spacing:.16em}.home-section-title h2{margin:5px 0 6px;font-size:clamp(26px,3vw,42px)}.home-section-title p{margin:0;color:#bfc8c0}.home-parts-grid{max-width:1300px;margin:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.home-part-card{min-width:0;background:#f5f5f5;color:#111;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(0,0,0,.28)}.home-part-image{display:flex;height:220px;background:transparent;overflow:hidden;justify-content:center;align-items:center}.home-part-image img{max-width:100%;max-height:100%;width:auto;height:auto;display:block;object-fit:contain;object-position:center center;padding:0;transition:transform .2s ease}.home-part-card:hover .home-part-image img{transform:scale(1.04)}.home-part-body{padding:12px 14px 14px;display:flex;flex-direction:column;flex:1}.home-part-body h3{font-size:15px;line-height:1.15;margin:0 0 4px;min-height:0}.home-part-body h3 a{color:#111;text-decoration:none}.home-part-body p,.home-part-body small{margin:0 0 5px;font-size:10px}.home-part-body small{color:#555}.home-budget{margin-top:auto;display:block;padding:9px 5px;border-radius:5px;background:#08772c;color:#fff;text-align:center;text-decoration:none;font-size:12px;font-weight:900}.home-catalog-link{display:table;margin:28px auto 0;padding:13px 24px;background:#ffd000;color:#102014;border-radius:7px;text-decoration:none;font-weight:900}.home-benefits{padding:22px 5%;display:grid;grid-template-columns:repeat(5,1fr);background:#020302;border-top:1px solid #0e4520;border-bottom:1px solid #0e4520}.home-benefits article{display:flex;align-items:center;gap:15px;padding:14px 22px;border-right:1px solid #174c27}.home-benefits article:last-child{border-right:0}.home-benefits article>span{font-size:40px;color:#ffd000}.home-benefits h3{margin:0 0 5px;font-size:13px}.home-benefits p{margin:0;color:#d2d8d3;font-size:12px;line-height:1.45}.home-footer{display:flex;justify-content:space-between;gap:20px;padding:22px 5%;font-size:13px;color:#c1c9c2}.home-footer a{color:#ffd000;text-decoration:none}
@media(max-width:1150px){.home-header-top{grid-template-columns:1fr 1fr}.home-shipping{display:none}.home-parts-grid{grid-template-columns:repeat(3,1fr)}.home-benefits{grid-template-columns:repeat(2,1fr)}.home-benefits article{border-bottom:1px solid #174c27}.home-benefits article:last-child{grid-column:1/-1}}
@media(max-width:760px){.home-header-top{grid-template-columns:1fr;padding:12px 18px;gap:12px}.home-brand img{max-height:75px;margin:auto}.home-main-search{width:100%}.home-nav{padding:0;display:grid;grid-template-columns:repeat(2,1fr)}.home-nav>a{min-height:48px;justify-content:center;padding:0 10px;border-bottom:1px solid rgba(255,255,255,.08)}.home-help{grid-column:1/-1;margin:0;padding:8px 12px!important}.hero-whatsapp-links{position:static;border-radius:0;text-align:center}.home-parts-grid{grid-template-columns:repeat(2,1fr)}.home-part-image{height:130px}.home-benefits{grid-template-columns:1fr}.home-benefits article,.home-benefits article:last-child{grid-column:auto;border-right:0}.home-footer{flex-direction:column;text-align:center}}
@media(max-width:430px){.home-parts-grid{grid-template-columns:1fr}.home-part-image{height:180px}.home-part-body h3{min-height:0}.home-section-title p{font-size:14px}}

/* ETAPA 2 — HERO, BUSCA E BLOCOS TOTALMENTE SEPARADOS */
.etapa-2-home .home-header{position:sticky;top:0;z-index:50;box-shadow:0 8px 25px rgba(0,0,0,.28)}
.hero-separado{min-height:500px;display:grid;grid-template-columns:1.02fr .98fr;background:linear-gradient(135deg,#030604 0%,#06180c 52%,#020403 100%);overflow:hidden}
.hero-copy{padding:70px max(5vw,40px);display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}
.hero-copy:before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;background:rgba(8,119,44,.14);filter:blur(40px);left:-180px;top:30px;z-index:-1}
.hero-kicker{color:#ffd000;font-size:13px;font-weight:900;letter-spacing:.16em}
.hero-copy h1{max-width:690px;margin:12px 0 18px;font-size:clamp(38px,5.2vw,75px);line-height:.98;text-transform:uppercase;font-style:italic}
.hero-copy p{max-width:650px;margin:0;color:#d5ded7;font-size:18px;line-height:1.6}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 23px;border-radius:7px;text-decoration:none;font-weight:900;font-size:14px;letter-spacing:.04em;transition:.2s ease}
.hero-btn.primary{background:#ffd000;color:#112014}.hero-btn.primary:hover{transform:translateY(-2px);background:#ffe14a}
.hero-btn.secondary{border:1px solid #2b8d49;background:#0b3518;color:#fff}.hero-btn.secondary:hover{background:#0f4d22}
.hero-phones{display:flex;gap:10px;align-items:center;margin-top:22px;color:#a8b5aa;font-size:14px}.hero-phones a{color:#fff;text-decoration:none;font-weight:800}
.hero-tractor{min-height:500px;background-image:linear-gradient(90deg,#06180c 0%,rgba(6,24,12,.22) 28%,rgba(0,0,0,.06) 100%),url('assets/trator-banner.jpg');background-size:cover;background-position:center}
.quick-search{display:grid;grid-template-columns:1fr minmax(480px,.95fr);gap:45px;align-items:center;padding:31px 5%;background:#f4f5f2;color:#172219;border-bottom:1px solid #d6ded7}
.quick-search span{color:#08772c;font-size:12px;font-weight:900;letter-spacing:.14em}.quick-search h2{margin:5px 0 0;font-size:clamp(20px,2.2vw,31px)}
.quick-search form{display:flex;height:54px;box-shadow:0 8px 22px rgba(13,44,22,.12);border-radius:8px;overflow:hidden}.quick-search input{min-width:0;flex:1;border:1px solid #d2d9d3;border-right:0;padding:0 17px;font-size:15px;outline:none}.quick-search button{border:0;background:#08772c;color:#fff;padding:0 25px;font-weight:900;cursor:pointer}
.home-parts-section{padding-top:50px}.home-parts-grid{gap:16px}.home-part-card{border:1px solid #dce2dd;box-shadow:0 10px 30px rgba(0,0,0,.24);transition:.2s ease}.home-part-card:hover{transform:translateY(-4px)}
.benefits-modern{padding:46px 5%;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;background:#07110a}
.benefits-modern article{background:linear-gradient(145deg,#0b1d10,#061008);border:1px solid #174b26;border-radius:13px;padding:29px;text-align:center}.benefits-modern span{width:54px;height:54px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;background:#ffd000;color:#15321e;font-size:26px;font-weight:900}.benefits-modern h3{font-size:19px;margin:0 0 8px}.benefits-modern p{margin:0;color:#bfcac1;line-height:1.55;font-size:14px}
.cta-find-part{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:43px 5%;background:linear-gradient(90deg,#08772c,#064e21)}.cta-find-part span{color:#ffd000;font-size:12px;font-weight:900;letter-spacing:.13em}.cta-find-part h2{margin:6px 0 6px;font-size:clamp(25px,3vw,40px)}.cta-find-part p{margin:0;color:#dce9df}.cta-find-part>a{flex:0 0 auto;padding:15px 24px;border-radius:7px;background:#ffd000;color:#122619;text-decoration:none;font-weight:900}
@media(max-width:1000px){.hero-separado{grid-template-columns:1fr}.hero-tractor{min-height:330px;order:-1}.hero-copy{padding:48px 6%}.quick-search{grid-template-columns:1fr;gap:18px}.benefits-modern{grid-template-columns:1fr}.cta-find-part{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.etapa-2-home .home-header{position:relative}.hero-tractor{min-height:250px}.hero-copy{padding:38px 20px}.hero-copy h1{font-size:38px}.hero-copy p{font-size:16px}.hero-actions{display:grid}.hero-btn{width:100%}.hero-phones{flex-wrap:wrap}.quick-search{padding:25px 18px}.quick-search form{height:auto;display:grid;box-shadow:none}.quick-search input{height:50px;border:1px solid #d2d9d3}.quick-search button{height:48px}.benefits-modern{padding:30px 18px}.cta-find-part{padding:34px 20px}.cta-find-part>a{width:100%;text-align:center}}

/* ETAPA 3 — cabeçalho alinhado e caminhão vetorial */
.etapa-2-home .topbar{position:sticky;top:0;z-index:60}
.etapa-2-home .mainnav{position:sticky;top:140px;z-index:59}
.mainnav a.active{color:#ffd000}
.truck-icon{width:66px;height:48px;display:block;flex:0 0 auto;object-fit:contain}
.shipping{font-size:initial}
.benefits-modern article{display:flex;min-height:190px;flex-direction:column;align-items:center;justify-content:center}
.benefits-modern article>span{display:none}
.benefits-modern .benefit-shipping>span{width:74px;height:58px;margin:0 auto 16px;display:grid;place-items:center;border-radius:0;background:transparent}
.benefits-modern .benefit-shipping>span img{width:74px;height:58px;display:block}
@media(max-width:900px){.etapa-2-home .mainnav{top:0}.truck-icon{width:58px;height:42px}}


/* PARTE 1 — ajustes solicitados */
/* O cabeçalho e o menu agora acompanham a rolagem da página. */
.etapa-2-home .topbar,
.etapa-2-home .mainnav,
.etapa-2-home .home-header {
  position: relative !important;
  top: auto !important;
}

/* Faixa de marcas ocupando toda a largura disponível do site. */
.etapa-2-home .brands-image-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.etapa-2-home .brands-image-section img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: cover;
}

/* Moldura verde-escura contínua — topo ao rodapé */
html {
  background: #073f1b;
}

body {
  margin: 0;
  background: #073f1b;
}

.page-frame {
  width: calc(100% - 28px);
  max-width: 1536px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  border-left: 14px solid #073f1b;
  border-right: 14px solid #073f1b;
  box-shadow: 0 0 22px rgba(0, 0, 0, .18);
  box-sizing: border-box;
  overflow: hidden;
}

/* Mantém as páginas internas com o fundo original dentro da moldura. */
.page-frame > .page,
.page-frame > .product-page {
  width: 100%;
}

@media (max-width: 760px) {
  .page-frame {
    width: calc(100% - 12px);
    border-left-width: 6px;
    border-right-width: 6px;
    box-shadow: none;
  }
}

/* AJUSTE FINAL — bordas no mesmo verde escuro da área inicial */
:root {
  --verde-inicio-barretao: #06180c;
}
html,
body {
  background: var(--verde-inicio-barretao) !important;
}
.page-frame {
  border-left-color: var(--verde-inicio-barretao) !important;
  border-right-color: var(--verde-inicio-barretao) !important;
}


/* ETAPA — contato, mapa e catálogo mobile */
.seller-contact{display:flex!important;flex-direction:column;gap:4px;min-width:220px}
.seller-contact strong{font-size:18px}.seller-contact span{font-size:15px}.seller-contact small{font-size:11px;opacity:.85}
.location-section{margin:0 6% 70px;display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:0;background:#07120a;border:1px solid #194b28;border-radius:14px;overflow:hidden}
.location-copy{padding:36px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.location-copy>span{color:#ffd000;font-weight:900;letter-spacing:.12em;font-size:12px}.location-copy h2{margin:8px 0 10px}.location-copy p{color:#cbd8ce;line-height:1.6;margin:0 0 20px}
.map-open-btn{display:inline-block;background:#08772c;color:#fff;text-decoration:none;padding:13px 18px;border-radius:7px;font-weight:900}
.map-wrap{min-height:320px;background:#e9ece9}.map-wrap iframe{width:100%;height:100%;min-height:320px;border:0;display:block}
@media(max-width:760px){
  .home-parts-grid{grid-template-columns:1fr!important}
  .catalog-grid,.compact-grid{grid-template-columns:1fr!important}
  .home-part-image{height:220px}
  .compact-grid .product-visual,.product-visual{height:240px}
  .location-section{grid-template-columns:1fr;margin:0 18px 38px}
  .location-copy{padding:26px 20px}.map-wrap,.map-wrap iframe{min-height:280px}
  .contact-buttons{display:grid;grid-template-columns:1fr}
  .seller-contact{min-width:0}
}


/* AJUSTE MOBILE FINAL — logos maiores em uma faixa branca mais compacta */
@media (max-width: 760px) {
  .etapa-2-home .brands-image-section,
  .brands-image-section {
    height: 142px !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
  }

  .etapa-2-home .brands-image-section img,
  .brands-image-section img {
    width: 118% !important;
    max-width: none !important;
    height: 142px !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 -9% !important;
    display: block !important;
  }
}
/* Painel administrativo protegido */
.admin-login-wrap{min-height:72vh;display:grid;place-items:center;padding:55px 20px;background:radial-gradient(circle at top right,#124f25,#050805 58%)}
.admin-login-wrap[hidden],#adminPanel[hidden]{display:none!important}.admin-login-card{width:min(440px,100%);background:#07120a;border:1px solid #255f36;border-radius:14px;padding:30px;box-shadow:0 20px 55px rgba(0,0,0,.35)}
.admin-login-card>span{color:#ffd000;font-weight:900;letter-spacing:.12em;font-size:12px}.admin-login-card h1{margin:8px 0;font-size:34px}.admin-login-card p{color:#b9c8bd;line-height:1.5}.admin-login-form{display:grid;gap:14px;margin-top:24px}.admin-login-form label{display:grid;gap:7px;font-weight:700}.admin-login-form input{padding:14px;border-radius:7px;border:1px solid #255f36;background:#030904;color:#fff;font:inherit}.admin-login-form button,.admin-logout{background:#08772c;color:#fff;border:0;border-radius:7px;padding:14px;font-weight:900;cursor:pointer}.login-error{min-height:20px;color:#ffb0a8;font-weight:700}.admin-logout{margin-top:18px;background:#435247}

/* =========================================================
   REVISÃO FINAL — CARDS DO CATÁLOGO + MARCAS NO CELULAR
   ========================================================= */

/* Um único padrão de tamanho para os cards da Home e Produtos */
.home-parts-grid,
.catalog-grid.compact-grid{
  width:100%;
  max-width:1300px;
  margin-left:auto;
  margin-right:auto;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}

/* Evita que poucos produtos estiquem demais no catálogo */
.catalog-grid.compact-grid{
  justify-content:start;
  padding-left:6%;
  padding-right:6%;
}

.product-card,
.home-part-card{
  width:100%;
  min-width:0;
  border-radius:8px;
  overflow:hidden;
  background:#f5f5f5;
  color:#111;
  border:1px solid #dce2dd;
  box-shadow:0 10px 30px rgba(0,0,0,.24);
  display:flex;
  flex-direction:column;
  transition:transform .2s ease,box-shadow .2s ease;
}

.product-card:hover,
.home-part-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}

/* Mesma altura e enquadramento das fotos nas duas páginas */
.compact-grid .product-visual,
.product-visual,
.home-part-image{
  display:block;
  width:100%;
  height:220px;
  overflow:hidden;
  background:#fff;
}

.compact-grid .product-visual img,
.product-visual img,
.home-part-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  padding:0;
  transition:transform .25s ease;
}

.product-card:hover .product-visual img,
.home-part-card:hover .home-part-image img{
  transform:scale(1.04);
}

/* Conteúdo mais compacto e alinhado */
.compact-grid .product-body,
.product-body,
.home-part-body{
  padding:12px 14px 14px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.compact-grid .product-body h3,
.product-body h3,
.home-part-body h3{
  min-height:0;
  margin:0 0 4px;
  font-size:16px;
  line-height:1.15;
}

.product-body .meta{
  margin:0 0 4px;
  font-size:12px;
  line-height:1.35;
  color:#444;
}

.compact-grid .price,
.product-body .price{
  margin:6px 0 10px;
  font-size:17px;
  line-height:1.2;
}

.card-actions{
  margin-top:auto;
  gap:8px;
}

.details-btn,
.whatsapp-btn{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 8px;
  line-height:1.15;
}

/* Marcas: mostra a arte completa no celular, sem cortar logos */
@media(max-width:760px){
  .etapa-2-home .brands-image-section,
  .brands-image-section{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    overflow:visible!important;
    display:block!important;
    background:#fff!important;
  }

  .etapa-2-home .brands-image-section img,
  .brands-image-section img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  .catalog-grid.compact-grid,
  .home-parts-grid{
    grid-template-columns:1fr!important;
    max-width:520px;
  }

  .compact-grid .product-visual,
  .product-visual,
  .home-part-image{
    height:220px!important;
  }
}

@media(min-width:761px) and (max-width:1050px){
  .catalog-grid.compact-grid,
  .home-parts-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.product-visual img{
max-width:100%;
max-height:100%;
width:auto;
height:auto;
object-fit:contain;
object-position:center center;
display:block;
}
.product-card,.home-part-card,a,button,.product-visual img,.home-part-image img{cursor:pointer;}


/* REVISÃO FINAL — cards, imagens, grade e visualizador */
.catalog-grid.compact-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:18px!important;
  max-width:none!important;
}
.product-card.home-part-card{
  background:#f5f5f5;
  border:1px solid #dce2dd;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.product-card .product-visual,
.product-card .home-part-image,
.home-part-card .home-part-image{
  width:100%!important;
  height:220px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:transparent!important;
  padding:0!important;
}
.product-card .product-visual img,
.product-card .home-part-image img,
.home-part-card .home-part-image img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.product-card .product-body,
.product-card .home-part-body,
.home-part-card .home-part-body{
  padding:12px 14px 14px!important;
}
.product-card .home-part-body h3,
.home-part-card .home-part-body h3{margin:0 0 4px!important;font-size:15px!important;line-height:1.15!important;min-height:0!important}
.product-card .home-part-body p,
.product-card .home-part-body small,
.home-part-card .home-part-body p,
.home-part-card .home-part-body small{margin:0 0 5px!important;font-size:10px!important;line-height:1.3!important}
.product-card .home-budget,.home-part-card .home-budget{margin-top:auto!important;min-height:38px!important}

@media(max-width:1400px){.catalog-grid.compact-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1050px){.catalog-grid.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.catalog-grid.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:576px){
  .catalog-grid.compact-grid{grid-template-columns:1fr!important;max-width:520px!important;margin-inline:auto!important}
  .product-card .product-visual,.product-card .home-part-image,.home-part-card .home-part-image{height:220px!important}
}

body.modal-open{overflow:hidden}
.image-modal{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:none;
  place-items:center;
  padding:24px;
  background:rgba(0,0,0,.92);
  overflow:hidden;
  touch-action:none;
}
.image-modal.open{display:grid}
.image-modal-stage{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:transparent;
  border:1px solid transparent;
}
.image-modal-stage img{
  max-width:94vw;
  max-height:88vh;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:center;
  background:transparent;
  border:1px solid transparent;
  box-shadow:none;
  transform-origin:center center;
  transition:transform .12s ease;
  cursor:zoom-in;
  user-select:none;
  -webkit-user-drag:none;
}
.image-modal-stage img.zoomed{cursor:grab;transition:none}
.image-modal-stage img.zoomed:active{cursor:grabbing}
.image-modal-close{
  position:absolute!important;
  right:22px!important;
  top:14px!important;
  z-index:3;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  padding:0!important;
  border:0!important;
  border-radius:50%;
  background:rgba(0,0,0,.45)!important;
  color:#fff!important;
  font-size:38px!important;
  line-height:1!important;
}
.image-modal-controls{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  gap:8px;
  padding:7px;
  border-radius:10px;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(4px);
}
.image-modal-controls button{
  position:static!important;
  min-width:44px;
  height:40px;
  padding:0 12px!important;
  border:1px solid rgba(255,255,255,.25)!important;
  border-radius:7px;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:800;
}
.image-modal-controls button:hover{background:rgba(255,255,255,.18)!important}


/* ===== Ajuste final: imagens da página do produto ===== */
.main-photo-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#f8f8f8!important;
  border:1px solid rgba(0,0,0,.035)!important;
  box-shadow:none!important;
}
.main-photo-wrap>img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.thumb{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#f8f8f8!important;
}
.thumb img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
}
.photo-arrow[hidden]{display:none!important}

/* Galeria ampliada para todos os produtos */
.image-modal-stage{
  position:relative;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.06)!important;
  border-radius:12px;
}
.image-modal-stage img{
  position:relative;
  z-index:1;
  margin:auto;
  background:transparent!important;
  border:1px solid transparent!important;
}
.image-modal-nav{
  position:absolute!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:4!important;
  width:50px!important;
  height:50px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.42)!important;
  color:#fff!important;
  font-size:34px!important;
  line-height:1!important;
  cursor:pointer!important;
  backdrop-filter:blur(4px);
}
.image-modal-nav:hover{background:rgba(0,0,0,.65)!important}
.image-modal-prev{left:18px!important;right:auto!important}
.image-modal-next{right:18px!important;left:auto!important}
.image-modal-nav[hidden]{display:none!important}
.image-modal-dots{
  position:absolute;
  left:50%;
  bottom:74px;
  transform:translateX(-50%);
  z-index:4;
  display:flex;
  gap:8px;
  max-width:70vw;
  overflow:auto;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(0,0,0,.35);
}
.image-modal-dots:empty{display:none}
.image-modal-dot{
  width:9px!important;
  min-width:9px!important;
  height:9px!important;
  padding:0!important;
  position:static!important;
  border:1px solid rgba(255,255,255,.5)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.28)!important;
}
.image-modal-dot.active{background:#fff!important;transform:scale(1.15)}
@media(max-width:640px){
  .image-modal{padding:12px!important}
  .image-modal-stage{border-radius:9px}
  .image-modal-nav{width:42px!important;height:42px!important;font-size:29px!important}
  .image-modal-prev{left:7px!important}
  .image-modal-next{right:7px!important}
  .image-modal-dots{bottom:68px}
}

/* Menu do celular mantém a mesma barra horizontal do computador */
@media(max-width:760px){
  .mainnav{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    padding:0 6px!important;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
  }
  .mainnav::-webkit-scrollbar{display:none}
  .mainnav a{
    flex:1 0 auto;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 10px!important;
    font-size:12px!important;
  }
  .home-nav{
    display:flex!important;
    grid-template-columns:none!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    padding:0 5px!important;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
  }
  .home-nav::-webkit-scrollbar{display:none}
  .home-nav>a{
    flex:1 0 auto!important;
    min-height:50px!important;
    padding:0 10px!important;
    font-size:12px!important;
    border-bottom:0!important;
  }
  .home-help{display:none!important}
}
@media(max-width:390px){
  .mainnav a,.home-nav>a{font-size:10.5px!important;padding:0 7px!important}
}
