/* Ajustes conforme os layouts Makrochip desktop e mobile (material de referência). */
:root { --mk-mobile-navy: #0b2d40; }
a, button, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--mk-red); outline-offset: 4px; }
img { max-width: 100%; }
.row > *, .header-top > *, .main-nav > * { min-width: 0; }
.main-nav { gap: clamp(.6rem, 1.7vw, 1.6rem); }
.main-nav > a, .nav-dropdown__toggle { white-space: nowrap; }
.mobile-menu-toggle, .panel-close, .catalog-mobile-tools, .catalog-panel-heading, .product-mobile-heading, .catalog-apply { display: none; }
.panel-backdrop[hidden] { display: none; }
.panel-backdrop { position: fixed; inset: 0; z-index: 1030; background: rgb(0 0 0 / 52%); border: 0; padding: 0; width: 100%; height: 100%; }
.panel-open { overflow: hidden; }
.section-lead, .product-info__title, .page-article__content { overflow-wrap: anywhere; }
.solution-card__image { display: none; }
.home-slider { position: relative; }
.slider-step { display: none; }
.home-about__more { display: inline-block; margin-top: .5rem; color: var(--mk-red); font-weight: 600; }
.home-hero__lead p { margin: 0; }
.page-article__content h2 { margin: 2rem 0 .75rem; font-size: 1.4rem; color: var(--mk-dark); }
.page-article__content ul { padding-left: 1.25rem; }

@media (max-width: 1199.98px) and (min-width: 992px) {
    .main-nav { gap: .85rem; flex-wrap: wrap; }
    .main-nav a { font-size: .85rem; }
}
@media (max-width: 991.98px) {
    .site-header { padding: 1rem 0; position: relative; box-shadow: none; }
    .header-top { flex-wrap: wrap; align-items: center; gap: 0; }
    .site-logo img { height: auto; width: 150px; }
    .header-contact { display: none; }
    .is-home .header-contact { display: block; flex: 0 0 100%; text-align: center; padding: 1rem 0 .3rem; }
    .is-home .header-contact__row { justify-content: center; align-items: center; margin: 0; }
    .is-home .header-phone { background: var(--mk-red); color: #fff; border-radius: 4px; padding: .35rem 1.5rem; }
    .is-home .header-phone i { color: #fff; }
    .is-home .header-phone__num { font-family: 'Barlow',sans-serif; font-size: 1rem; }
    .is-home .header-contact .btn-whatsapp { display: none; }
    .is-home .header-hours { display: block; font-size: .75rem; max-width: 215px; margin: .4rem auto 0; line-height: 1.4; }
    .js-ui .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; border: 0; background: #fff; color: #b51c20; font-size: 2rem; width: 44px; height: 44px; padding: 0; }
    .main-nav { flex-wrap: wrap; gap: 1rem; }
    .js-ui .main-nav { display: none; }
    .js-ui .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); z-index: 1040; overflow-y: auto; margin: 0; padding: 4rem 1.5rem 2rem; background: #fff; border: 0; }
    .main-nav > a { padding: .8rem 0; border-bottom: 1px solid var(--mk-gray-200); }
    .main-nav .btn-cliente { margin: 1rem 0 0; text-align: center; }
    .panel-close { border: 0; background: transparent; color: var(--mk-red); width: 44px; height: 44px; font-size: 1.25rem; flex-shrink: 0; }
    .js-ui [data-mobile-panel].is-open > .panel-close { display: block; position: absolute; right: .8rem; top: .5rem; }
    .nav-dropdown__toggle { padding: .8rem 0; }
    .nav-dropdown__menu { position: static; display: block; columns: 1; box-shadow: none; border: 0; border-left: 2px solid var(--mk-gray-200); border-radius: 0; padding: .3rem 0 .3rem 1rem; margin: 0 0 .5rem; min-width: 0; }
    .nav-dropdown:hover::after { display: none; }
    .nav-dropdown__col { margin-bottom: .5rem; }
    .nav-dropdown__root { font-size: .9rem; }
    .main-nav .nav-logout { margin-left: 0; }
    .page-hero--catalog { display: none; }
    .breadcrumb-bar { padding: .6rem 0; font-size: .8rem; line-height: 1.5; }
    .section-intro--tight { padding-top: 1.5rem; }
    .section-eyebrow { font-family: 'Barlow',sans-serif; font-size: 1rem; font-weight: 500; letter-spacing: 0; }
    .section-lead { border: 0; padding-bottom: 0; font-size: 1.15rem; line-height: 1.4; margin-bottom: .75rem; }
    .js-ui .catalog-mobile-tools { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.5rem; }
    .catalog-mobile-tools button { border: 0; background: var(--mk-gray-100); padding: .75rem; text-align: left; font-weight: 600; color: var(--mk-dark); }
    .catalog-mobile-tools button:last-child { grid-column: 1 / -1; }
    .catalog-mobile-tools i { margin-right: .4rem; }
    .js-ui .catalog-aside, .js-ui .catalog-sort { display: none; }
    .js-ui .catalog-aside.is-open, .js-ui .catalog-sort.is-open { display: block; position: fixed; z-index: 1040; inset: 0 auto 0 0; width: min(390px, 94vw); max-width: 100%; overflow-y: auto; background: #fff; padding: 1.5rem; margin: 0; }
    .js-ui .catalog-sort.is-open { inset: auto 0 0; width: 100%; padding: 4rem 1.5rem 2rem; }
    .catalog-sort.is-open label { display: block; margin-bottom: .75rem; font-weight: 600; }
    .catalog-panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
    .catalog-panel-heading .panel-close { display: block; }
    .catalog-filter__title { font-family: 'Barlow',sans-serif; text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
    .catalog-check { min-height: 36px; }
    .catalog-check input { width: 18px; height: 18px; }
    .catalog-apply { display: block; width: 100%; position: sticky; bottom: 0; margin-top: 1rem; padding: .7rem; color: #fff; background: var(--mk-red); border: 0; border-radius: 4px; font-weight: 600; }
    .catalog-toolbar { padding: 0 0 .75rem; margin-bottom: .75rem; }
    .product-card { border-radius: 0; border: 1px solid #999; padding: 1.25rem; }
    .product-card__tag { top: -1px; left: -1px; border-radius: 0; padding: .1rem .65rem; font-family: 'Barlow',sans-serif; font-size: .75rem; font-weight: 500; }
    .product-card__tag.is-novo { background: #b51c20; }
    .product-card__tag.is-seminovo { background: #0b2d40; }
    .product-card__tag.is-usado { background: #808080; }
    .product-card__media { height: 210px; margin: 1rem 0 1.5rem; }
    .product-card__title { font-family: 'Barlow',sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.45; padding-bottom: 1.25rem; border-bottom: 1px solid #777; }
    .product-card__label, .product-card__config { font-size: 1rem; color: #222; }
    .product-card__config { line-height: 1.4; }
    .product-card__price { margin-top: .75rem; }
    .product-card__now { font-family: 'Barlow',sans-serif; font-size: 1.5rem; }
    .product-card__now small { color: #555; font-size: .8rem; }
    .product-card__installments { color: #222; font-size: .9rem; }
    .product-card__footer { border-top: 0; flex-wrap: wrap; }
    .product-card__ready { color: #555; font-size: .95rem; }
    .product-card__btn { border-radius: 4px; font-size: 1.1rem; padding: .65rem; }
    .product-detail { padding-top: 1.5rem; }
    .product-mobile-heading { display: block; margin-bottom: 1.5rem; }
    .product-mobile-heading h1 { font-family: 'Barlow',sans-serif; font-size: 1.3rem; line-height: 1.5; font-weight: 700; color: #555; }
    .product-mobile-heading p { color: var(--mk-red); font-weight: 500; font-size: .9rem; margin: .75rem 0 0; }
    .product-desktop-title, .product-info__brandname, .product-info__brand { display: none; }
    .product-gallery__main { border: 0; padding: 1.5rem .5rem; min-height: 240px; }
    .product-gallery__main img { max-height: 300px; }
    .product-gallery__main .product-card__tag { display: none; }
    .product-info__buybox { background: #fff; border-radius: 0; padding: 1.25rem; border-color: #777; }
    .product-info__price { font-family: 'Barlow',sans-serif; font-size: 2.4rem; }
    .product-info__installments { line-height: 1.5; }
    .product-info__config { font-size: 1rem; }
    .product-section__title { font-family: 'Barlow',sans-serif; font-size: 1rem; text-transform: uppercase; font-weight: 500; }
    .product-specs__table th { width: 35%; }
    .product-specs__table th, .product-specs__table td { padding: .5rem; overflow-wrap: anywhere; }
    .product-description__body { font-size: 1rem; }
    .product-description__body iframe { max-width: 100%; }
    .download-card { border-radius: 0; border-color: #999; padding: 2rem 1rem; }
    .download-card i { color: #222; font-size: 2.5rem; }
    .download-card__label { font-size: 1.3rem; }
    .download-card__cta { font-size: 1rem; min-width: 160px; padding: .4rem 1rem; }
    .footer-col--map { display: none; }
    .footer-logo { height: auto; width: min(260px, 100%); margin-bottom: 2rem; }
    .footer-bottom__inner { flex-wrap: nowrap; font-size: .65rem; gap: .5rem; }
    .footer-signature img { max-width: 75px; }
    .whatsapp-float { width: 48px; height: 48px; right: 14px; bottom: 14px; font-size: 1.5rem; }
}
@media (max-width: 767.98px) {
    .home-layout { display: flex; flex-direction: column; }
    .home-layout > * { width: 100%; }
    .home-hero { order: 0; min-height: 270px; background-position: center; }
    .home-hero__inner { padding-top: 2rem; padding-bottom: 2rem; text-align: center; }
    .home-hero__title { font-family: 'Barlow',sans-serif; font-size: 1.35rem; line-height: 1.35; max-width: 440px; margin: 0 auto .75rem; font-weight: 700; }
    .home-hero__lead { font-size: .95rem; line-height: 1.4; max-width: 430px; margin: 0 auto 1.5rem; }
    .home-hero__cta { width: auto; min-height: 44px; font-size: 1rem; padding: .6rem 1rem; }
    .home-trust { order: 1; background: var(--mk-gray-100); }
    .home-trust__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; padding: 1.5rem 0; scrollbar-width: none; }
    .trust-item { flex: 0 0 100%; scroll-snap-align: start; flex-direction: column; gap: 1rem; text-align: center; padding: 0 2rem; }
    .trust-item span { max-width: 200px; }
    .trust-item i { font-size: 2.5rem; color: #00aee4; }
    .home-slider .slider-step { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: #fff; color: var(--mk-red); border-radius: 50%; z-index: 1; }
    .slider-step--prev { left: 8px; } .slider-step--next { right: 8px; }
    .home-categories { display: none; }
    .home-featured { order: 2; padding-top: 2rem; padding-bottom: 2rem; }
    .home-featured .section-eyebrow { font-size: .88rem; }
    .home-solutions { order: 3; background: var(--mk-mobile-navy); padding: 2rem 0; }
    .home-solutions__title { font-family: 'Barlow',sans-serif; font-size: 1.5rem; max-width: 270px; margin: 0 auto 1.5rem; }
    .home-solutions__grid { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0; scrollbar-width: none; }
    .home-solutions__grid > div { flex: 0 0 100%; padding: 0 2.5rem; scroll-snap-align: center; }
    .solution-card { border-radius: 0; padding: 0 0 1.5rem; margin: auto; max-width: 250px; border: 1px solid #94a8b7; background: transparent; overflow: hidden; }
    .solution-card .solution-card__image { display: block; width: 100%; height: 155px; object-fit: cover; }
    .solution-card i { display: none; }
    .solution-card span { padding: .5rem 1rem 0; font-size: 1rem; }
    .home-support { order: 4; padding: 2rem 0; }
    .home-support__img { display: none; }
    .home-support__title { font-family: 'Barlow',sans-serif; font-size: 1.75rem; max-width: 240px; margin-bottom: 0; }
    .home-support__title strong { color: #555; }
    .support-card { border-radius: 0; border-color: #aaa; padding: 1.5rem; }
    .support-card i { color: #333; }
    .support-card__title { font-family: 'Barlow',sans-serif; font-size: 1.25rem; }
    .support-card__link { background: var(--mk-red); color: #fff; border-radius: 3px; min-width: 160px; padding: .3rem 1rem; }
    .home-about { order: 5; padding: 2rem 0 0; }
    .home-about .row { display: flex; flex-direction: column; margin-top: 0; gap: 0; }
    .home-about .row > div { margin-top: 0; padding-top: 0; }
    .home-about .row > div:last-child { order: 1; }
    .home-about .row > div:first-child { display: contents; }
    .home-about .section-eyebrow { order: 0; margin-left: 12px; align-self: flex-start; }
    .home-about__title { order: 0; font-family: 'Barlow',sans-serif; font-size: 1.6rem; padding: 0 12px 1rem; }
    .home-about__title strong { color: #555; }
    .home-about__img { border-radius: 0; width: 100%; margin-bottom: 0; }
    .home-about__text { order: 2; background: var(--mk-mobile-navy); color: #fff; padding: 1.5rem; margin: 0 -1.4rem; width: calc(100% + 2.8rem); }
    .home-about__more { color: #fff; }
    .home-cta { order: 6; padding: 2rem 0; }
    .home-cta__title { font-family: 'Barlow',sans-serif; font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.site-header:has(.main-nav.is-open) { z-index: 1040; }
@media (max-width: 767.98px) {
    .home-layout > .home-featured { padding-left: 1.4rem; padding-right: 1.4rem; }
}
@media (max-width: 991.98px) {
    .product-detail > .row { --bs-gutter-x: 2rem; }
    .product-related, .page-article, .post-article, .catalog-longtext { padding-left: 1.4rem; padding-right: 1.4rem; }
}
@media (max-width: 767.98px) {
    .home-about > .container { padding-left: 0; padding-right: 0; }
    .home-about .row { margin-left: 0; margin-right: 0; }
    .home-about .row > div:last-child { padding: 0; }
    .home-about .section-eyebrow { margin-left: 1.4rem; }
    .home-about__title { padding-left: 1.4rem; padding-right: 1.4rem; }
    .home-about__text { margin: 0; width: 100%; padding: 1.4rem; }
}
.home-solutions__text { max-width: 760px; margin: 0 auto 1.5rem; text-align: center; }
.home-cta__text { max-width: 650px; margin-top: .75rem; }
