@font-face {
    font-family: "Mobimática Lexend";
    src: url("../mobimatica-repair-page/layout/assets/lexend-deca-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

#banner-suportes-para-carro,
#banner-carregadores-e-cabos {
    margin-block-end: clamp(30px, 4vw, 58px);
}

.mbhc,
.mb-department-banner {
    width: 100%;
    max-width: 1420px;
    margin-inline: auto;
}

.mbhc-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    width: 100%;
    aspect-ratio: 1420 / 350;
    min-height: 305px;
    overflow: hidden;
    border-radius: 22px;
}

.mb-home-banner {
    --base: #0a1627;
    --end: #192f4a;
    --ink: #f7fbff;
    --support: #cddbea;
    --accent: #92e8ff;
    --button: #c7f5ff;
    --button-ink: #122936;
    --rule: #aacded3d;
    --stage-width: 64%;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 49%) minmax(0, 51%);
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--rule);
    border-radius: 22px;
    background: linear-gradient(112deg, var(--base) 34%, var(--end));
    color: var(--ink);
    box-sizing: border-box;
    font-family: "Mobimática Lexend", system-ui, sans-serif;
}

.mbhc .mbhc-card {
    grid-area: 1 / 1;
    min-height: 0;
    padding-bottom: 22px;
}

.mbhc .mbhc-card[hidden] {
    display: grid !important;
    visibility: hidden;
    pointer-events: none;
}

.mb-department-banner {
    aspect-ratio: 1420 / 280;
    min-height: 245px;
}

.mb-home-banner--peliculas {
    --base: #e8f4ec;
    --end: #b7dfd1;
    --ink: #152f29;
    --support: #34554b;
    --accent: #145443;
    --button: #154e40;
    --button-ink: #fff;
    --rule: #397c6952;
}

.mb-home-banner--earbuds {
    --base: #f0ebfb;
    --end: #d3c8ed;
    --ink: #271f40;
    --support: #423753;
    --accent: #513477;
    --button: #513477;
    --button-ink: #fff;
    --rule: #7256a048;
}

.mb-home-banner--smartwatches {
    --base: #161d28;
    --end: #324967;
    --ink: #f4f8ff;
    --support: #d9e3f0;
    --accent: #aecfff;
    --button: #d7e8ff;
    --button-ink: #1b314f;
    --rule: #9ab8ed57;
}

.mb-home-banner--carro {
    --base: #0c2027;
    --end: #204955;
    --ink: #f5fcff;
    --support: #cee3e8;
    --accent: #9deee2;
    --button: #d3f7ef;
    --button-ink: #102f32;
    --rule: #81d8d557;
}

.mb-home-banner--carregamento {
    --base: #f0f0fb;
    --end: #dadcfa;
    --ink: #222440;
    --support: #454762;
    --accent: #373886;
    --button: #353784;
    --button-ink: #fff;
    --rule: #5655b641;
}

.mb-home-banner__copy {
    z-index: 2;
    align-self: center;
    justify-self: stretch;
    min-width: 0;
    padding: 18px 12px 19px clamp(27px, 4.1vw, 62px);
}

.mb-home-banner .mb-home-banner__category {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 11px;
    color: var(--accent);
    font-size: clamp(10px, .90vw, 12px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mb-home-banner__category::before {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.mb-home-banner .mb-home-banner__title {
    margin: 0;
    color: var(--ink);
    font: 745 clamp(32px, 4vw, 57px) / 1.01 "Mobimática Lexend", system-ui, sans-serif;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.mb-home-banner__title span {
    display: block;
}

.mb-home-banner__title span + span {
    color: var(--accent);
}

.mb-department-banner .mb-home-banner__title {
    font-size: clamp(30px, 3.25vw, 47px);
}

.mb-home-banner .mb-home-banner__description {
    max-width: 40ch;
    margin: 12px 0 0;
    color: var(--support);
    font-size: clamp(13px, 1.13vw, 16px);
    font-weight: 420;
    line-height: 1.44;
    text-wrap: pretty;
}

.mb-home-banner .mb-home-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    min-height: 46px;
    max-width: 100%;
    margin-top: 16px;
    padding: 5px 6px 5px 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--button);
    color: var(--button-ink);
    font: 650 clamp(12px, 1vw, 14px) / 1.2 "Mobimática Lexend", system-ui, sans-serif;
    text-decoration: none;
    transition: filter .16s ease;
}

.mb-home-banner .mb-home-banner__button:hover {
    color: var(--button-ink);
    filter: brightness(.92);
}

.mb-home-banner__button span {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid color-mix(in srgb, currentColor 34%, transparent);
    border-radius: 50%;
    font-size: 17px;
}

.mb-home-banner .mb-home-banner__button:focus-visible,
.mbhc .mbhc-controls button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.mb-home-banner .mb-home-banner__button:focus-visible {
    outline-color: var(--accent);
}

.mb-home-banner__art {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: var(--stage-width);
    min-width: 0;
    overflow: hidden;
    pointer-events: none;
}

.mb-home-banner__picture {
    position: absolute;
    inset: 0;
}

.mb-home-banner .mb-home-banner__photo,
.mb-home-banner .mb-home-banner__detail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mb-home-banner--reparacao .mb-home-banner__art {
    background: radial-gradient(ellipse at 86% 54%, #107a9c5e, transparent 70%),
        linear-gradient(90deg, var(--base), transparent 38%),
        url("atelier-reparacao.webp") 70% 50% / cover;
}

.mb-home-banner--reparacao .mb-home-banner__picture {
    inset-inline-start: 4%;
    mask-image: linear-gradient(90deg, transparent 0, #000 27%);
}

.mb-home-banner--reparacao .mb-home-banner__photo {
    object-position: 57% 63%;
}

.mb-home-banner--peliculas .mb-home-banner__art,
.mb-home-banner--earbuds .mb-home-banner__art,
.mb-home-banner--carregamento .mb-home-banner__art {
    background: radial-gradient(ellipse at 72% 45%, #fff8, transparent 57%);
}

.mb-home-banner--peliculas .mb-home-banner__art::before,
.mb-home-banner--earbuds .mb-home-banner__art::before,
.mb-home-banner--carregamento .mb-home-banner__art::before,
.mb-home-banner--carro .mb-home-banner__art::before {
    position: absolute;
    top: 50%;
    right: 12%;
    width: 43%;
    aspect-ratio: 1;
    border: 1px solid var(--rule);
    border-radius: 50%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 15%, transparent), transparent 72%);
    box-shadow: 0 0 0 24px color-mix(in srgb, var(--accent) 7%, transparent),
        0 0 0 56px color-mix(in srgb, var(--accent) 4%, transparent);
    transform: translateY(-50%);
    content: "";
}

.mb-home-banner--peliculas .mb-home-banner__picture,
.mb-home-banner--carregamento .mb-home-banner__picture,
.mb-home-banner--carro .mb-home-banner__picture {
    inset: 50% auto auto 66%;
    width: min(81%, 420px);
    height: auto;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
}

.mb-home-banner--peliculas .mb-home-banner__picture {
    width: min(82%, 352px);
    mix-blend-mode: multiply;
    mask-image: radial-gradient(ellipse 66% 63% at 50% 50%, #000 43%, transparent 90%);
    transform: translate(-50%, -50%) rotate(-12deg);
}

.mb-home-banner--earbuds .mb-home-banner__picture,
.mb-home-banner--smartwatches .mb-home-banner__picture {
    inset: 50% auto auto 66%;
    width: min(82%, 355px);
    height: auto;
    aspect-ratio: 1;
    mix-blend-mode: multiply;
    mask-image: radial-gradient(ellipse 66% 64% at 50% 50%, #000 48%, transparent 90%);
    transform: translate(-50%, -50%);
}

.mb-home-banner--earbuds .mb-home-banner__photo {
    filter: brightness(.75) contrast(2);
}

.mb-home-banner--smartwatches .mb-home-banner__art {
    background: linear-gradient(110deg, transparent 10%, #7086a8 39%, #d7e4f6 76%, #a4b9d8);
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.mb-home-banner--smartwatches .mb-home-banner__picture {
    width: min(84%, 400px);
    transform: translate(-50%, -50%) rotate(-7deg);
}

.mb-home-banner--carro .mb-home-banner__picture {
    top: 54%;
    width: min(84%, 445px);
    mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent),
        linear-gradient(180deg, transparent, #000 16% 84%, transparent);
    mask-composite: intersect;
}

.mb-home-banner--carregamento .mb-home-banner__picture {
    inset-inline-start: 49%;
    width: min(52%, 287px);
    mix-blend-mode: multiply;
    mask-image: radial-gradient(ellipse 65% 64% at 50% 49%, #000 46%, transparent 88%);
    transform: translate(-50%, -50%) rotate(-11deg);
}

.mb-home-banner__detail {
    position: absolute;
    top: 50%;
    right: 3%;
    width: min(48%, 292px);
    aspect-ratio: 1;
    mix-blend-mode: multiply;
    mask-image: radial-gradient(ellipse 65% 64% at 50% 49%, #000 45%, transparent 88%);
    transform: translateY(-50%) rotate(9deg);
}

.mbhc .mbhc-controls {
    position: absolute;
    z-index: 4;
    bottom: 10px;
    left: 50%;
    display: flex;
    align-items: center;
    width: min(calc(100% - 24px), 312px);
    height: 46px;
    padding-inline: 3px;
    border: 1px solid #e4f0ff52;
    border-radius: 999px;
    background: #102139ee;
    box-shadow: 0 4px 14px #06122535;
    transform: translateX(-50%);
}

.mbhc .mbhc-controls[hidden] {
    display: none !important;
}

.mbhc .mbhc-controls button {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    touch-action: manipulation;
}

.mbhc .mbhc-controls button:focus-visible {
    outline: 2px solid #aaddff;
    outline-offset: -3px;
}

.mbhc .mbhc-nav,
.mbhc .mbhc-rotation {
    flex: 0 0 44px;
    border-radius: 50%;
}

.mbhc .mbhc-nav:hover,
.mbhc .mbhc-rotation:hover {
    background: #e0eeff29;
}

.mbhc .mbhc-nav svg {
    display: block;
    width: 21px;
    height: 21px;
}

.mbhc .mbhc-tracks {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
}

.mbhc .mbhc-marker {
    position: relative;
    flex: 1 1 0;
    border-radius: 5px;
}

.mbhc-track {
    position: absolute;
    top: 50%;
    inset-inline: 2px;
    display: block;
    height: 3px;
    overflow: hidden;
    border-radius: 5px;
    background: #83a0be;
    transform: translateY(-50%);
}

.mbhc-marker[aria-current="true"] .mbhc-track {
    height: 5px;
    background: #6984a2;
}

.mbhc-marker[data-completed] .mbhc-track,
.mbhc-marker:hover .mbhc-track {
    background: #a9c8e3;
}

.mbhc-fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
}

.mbhc-rotation-icon {
    width: 9px;
    height: 11px;
    border-inline: 2px solid currentColor;
}

.mbhc-rotation[data-paused] .mbhc-rotation-icon {
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 6px 0 6px 9px;
    border-inline-start-color: currentColor;
}

@media (min-width: 768px) {
    .mb-department-banner .mb-home-banner__copy {
        padding-block: 14px;
    }

    .mb-department-banner .mb-home-banner__category {
        margin-bottom: 8px;
    }

    .mb-department-banner .mb-home-banner__title {
        font-size: clamp(29px, 3vw, 42px);
    }

    .mb-department-banner .mb-home-banner__description {
        margin-top: 8px;
    }

    .mb-department-banner .mb-home-banner__button {
        margin-top: 12px;
    }
}

@media (max-width: 1023px) {
    .mb-home-banner {
        --stage-width: 60%;
    }
    .mb-home-banner--carro .mb-home-banner__picture {
        width: min(78%, 365px);
    }
}

@media (max-width: 767px) {
    .mbhc-stage {
        min-height: clamp(385px, 103vw, 465px);
        aspect-ratio: auto;
        border-radius: 17px;
    }

    .mb-home-banner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(155px, 1fr);
        border-radius: 17px;
        text-align: center;
    }

    .mb-department-banner {
        min-height: clamp(350px, 91vw, 422px);
        aspect-ratio: auto;
    }

    .mb-home-banner__copy {
        align-self: start;
        padding: 19px 15px 9px;
    }

    .mb-home-banner .mb-home-banner__category {
        justify-content: center;
        margin-bottom: 8px;
        font-size: 10px;
    }

    .mb-home-banner .mb-home-banner__title {
        font-size: clamp(27px, 7.55vw, 38px);
        letter-spacing: -.05em;
        line-height: 1.04;
    }

    .mb-home-banner .mb-home-banner__description {
        margin: 8px auto 0;
        font-size: 13px;
        text-wrap: balance;
    }

    .mb-home-banner .mb-home-banner__button {
        margin-top: 10px;
    }

    .mb-home-banner__art {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 155px;
    }

    .mb-home-banner--reparacao .mb-home-banner__picture {
        inset: 0;
        mask-image: linear-gradient(180deg, transparent 0, #000 24%);
    }

    .mb-home-banner--reparacao .mb-home-banner__photo {
        object-position: 52% 64%;
    }

    .mb-home-banner--smartwatches .mb-home-banner__art {
        background: linear-gradient(120deg, #263348 8%, #a6b8d4 45%, #e0e9f8);
        clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%);
    }

    .mb-home-banner--earbuds .mb-home-banner__picture,
    .mb-home-banner--smartwatches .mb-home-banner__picture {
        inset-inline-start: 50%;
        width: min(83%, 218px, 67vw);
    }

    .mb-home-banner--peliculas .mb-home-banner__art::before,
    .mb-home-banner--earbuds .mb-home-banner__art::before,
    .mb-home-banner--carregamento .mb-home-banner__art::before,
    .mb-home-banner--carro .mb-home-banner__art::before {
        right: 27%;
        width: 46%;
    }

    .mb-home-banner--peliculas .mb-home-banner__picture,
    .mb-home-banner--carro .mb-home-banner__picture {
        inset-inline-start: 50%;
    }

    .mb-home-banner--peliculas .mb-home-banner__picture {
        width: min(84%, 241px, 69vw);
    }

    .mb-home-banner--carregamento .mb-home-banner__picture {
        inset-inline-start: 37%;
        width: min(62%, 185px, 47vw);
    }

    .mb-home-banner__detail {
        right: 2%;
        width: min(51%, 148px, 40vw);
    }

    .mb-home-banner--carro .mb-home-banner__picture {
        width: min(86%, 296px, 72vw);
    }


}

@media (prefers-reduced-motion: reduce) {
    .mb-home-banner .mb-home-banner__button {
        transition: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .mbhc-card.mbhc-entering .mb-home-banner__copy,
    .mbhc-card.mbhc-entering .mb-home-banner__art {
        animation: mb-home-banner-appear .36s ease both;
    }

    @keyframes mb-home-banner-appear {
        from { opacity: .46; }
        to { opacity: 1; }
    }
}

.mb-home-banner--galaxy-a18 {
    --base: #08142e;
    --end: #173c89;
    --ink: #f7fbff;
    --support: #d7e5ff;
    --accent: #b7d3ff;
    --button: #c9dfff;
    --button-ink: #152952;
    --rule: #a7c7ff60;
    --stage-width: 63%;
}

.mb-home-banner--galaxy-a18 .mb-home-banner__art {
    background:
        linear-gradient(90deg, var(--base) 0%, #09173591 21%, transparent 57%),
        radial-gradient(ellipse at 68% 47%, #5795ff70, transparent 63%),
        url("galaxy-a18-studio.webp") 58% center / cover no-repeat;
}

.mb-home-banner--galaxy-a18 .mb-home-banner__picture {
    inset: 45% auto auto 60%;
    width: min(45%, 305px);
    height: min(88%, 330px);
    transform: translate(-50%, -50%);
}

.mb-home-banner--galaxy-a18 .mb-home-banner__photo {
    object-fit: contain;
    filter: drop-shadow(9px 10px 12px #03092180);
}

@media (max-width: 767px) {
    .mbhc-stage {
        min-height: clamp(415px, 112vw, 490px);
    }

    .mbhc .mbhc-card {
        padding-bottom: 52px;
    }

    .mb-home-banner--galaxy-a18 .mb-home-banner__art {
        background:
            linear-gradient(180deg, #0b1c42 0%, #10245074 20%, transparent 53%),
            radial-gradient(ellipse at 61% 55%, #5795ff65, transparent 63%),
            url("galaxy-a18-studio.webp") 76% center / cover no-repeat;
    }

    .mb-home-banner--galaxy-a18 .mb-home-banner__picture {
        inset: 52% auto auto 50%;
        width: min(69%, 240px);
        height: 96%;
    }
}
