@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;
}

.mbhc {
    width: 100%;
    max-width: 1420px;
    margin-inline: auto;
    font-family: "Mobimática Lexend", "Lexend Deca", system-ui, sans-serif;
}

.mbhc .mbhc-card {
    --panel: #0a1c34;
    --glow: #16385b;
    --ink: #f8fbff;
    --muted: #c8d9eb;
    --accent: #91deff;
    --cta-bg: #a6e5ff;
    --cta-ink: #0b2944;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    color: var(--ink);
    background: var(--panel);
}

.mbhc--hero .mbhc-card {
    aspect-ratio: 1420 / 350;
}


.mbhc .mbhc-card--peliculas {
    --panel: #e7f3fc;
    --glow: #d0e7f8;
    --ink: #0f2b45;
    --muted: #304e65;
    --accent: #205d8d;
    --cta-bg: #124975;
    --cta-ink: #fff;
}

.mbhc .mbhc-card--earbuds {
    --panel: #eee9fc;
    --glow: #dfd3fa;
    --ink: #291848;
    --muted: #493866;
    --accent: #58328c;
    --cta-bg: #4d2c86;
    --cta-ink: #fff;
}

.mbhc .mbhc-card--smartwatches {
    --panel: #0b2530;
    --glow: #114551;
    --ink: #f3fcfc;
    --muted: #c3e4e6;
    --accent: #92eee1;
    --cta-bg: #a3f2e6;
    --cta-ink: #092e35;
}

.mbhc .mbhc-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(18px, 2.2vw, 34px) clamp(22px, 3.65vw, 52px);
    background: radial-gradient(ellipse at left bottom, var(--glow), transparent 75%);
}


.mbhc .mbhc-category {
    margin: 0 0 9px;
    color: var(--accent);
    font-size: clamp(10px, 0.94vw, 13px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.115em;
    text-transform: uppercase;
}

.mbhc .mbhc-title {
    max-width: 17ch;
    margin: 0;
    color: var(--ink);
    font-family: inherit;
    font-size: clamp(28px, 4vw, 58px);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}


.mbhc .mbhc-description {
    max-width: 48ch;
    margin: 11px 0 0;
    color: var(--muted);
    font-size: clamp(13px, 1.15vw, 16px);
    line-height: 1.5;
}

.mbhc .mbhc-cta {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    min-height: 46px;
    margin-top: clamp(12px, 1.5vw, 22px);
    padding: 8px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--cta-ink);
    background: var(--cta-bg);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    transition: filter .16s ease, transform .16s ease;
}




.mbhc .mbhc-cta:hover {
    color: var(--cta-ink);
    filter: brightness(.93);
    transform: translateY(-1px);
}

.mbhc .mbhc-cta span {
    font-size: 1.24em;
    line-height: 1;
}

.mbhc .mbhc-visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: var(--panel);
}

.mbhc .mbhc-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--panel), transparent 26%);
    pointer-events: none;
    content: "";
}

.mbhc .mbhc-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
}

.mbhc .mbhc-card--smartwatches .mbhc-photo {
    object-position: 50% 44%;
}

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

.mbhc .mbhc-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 9px;
}

.mbhc .mbhc-tab {
    min-height: 42px;
    padding: 6px 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #243e55;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    text-transform: none;
}

.mbhc .mbhc-tab:hover,
.mbhc .mbhc-tab[aria-selected="true"] {
    border-color: #bdd8ed;
    color: #0d4975;
    background: #e8f3fb;
}

.mbhc .mbhc-cta:focus-visible,
.mbhc .mbhc-tab:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 950px) and (min-width: 768px) {
    .mbhc .mbhc-copy { padding: 18px 25px; }

}

@media (max-width: 767px) {
    .mbhc .mbhc-card {
        grid-template-columns: minmax(0, 1fr);
        aspect-ratio: auto;
        border-radius: 14px;
    }
    .mbhc .mbhc-copy {
        padding: 21px 23px 18px;
    }
    .mbhc .mbhc-title {
        max-width: 18ch;
        font-size: clamp(26px, 6.4vw, 39px);
    }
    .mbhc .mbhc-description { margin-top: 8px; }
    .mbhc .mbhc-cta { margin-top: 12px; }
    .mbhc .mbhc-visual { height: clamp(138px, 41vw, 250px); }
    .mbhc .mbhc-visual::after {
        background: linear-gradient(180deg, var(--panel), transparent 30%);
    }
    .mbhc .mbhc-controls { gap: 4px; margin-top: 6px; }
    .mbhc .mbhc-tab { min-height: 44px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .mbhc .mbhc-cta { transition: none; }
}

.mbhc-stage {
    display: grid;
    overflow: hidden;
    border-radius: 18px;
}

.mbhc-stage > .mbhc-card {
    grid-area: 1 / 1;
    grid-template-rows: minmax(0, 1fr);
}

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

.mbhc .mbhc-card--reparacao .mbhc-photo {
    object-position: 50% 38%;
}

.mbhc .mbhc-card--catalogue .mbhc-visual {
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 54% 47%, var(--halo, #f8fbff), var(--stage, #d9eaf7) 85%);
}

.mbhc .mbhc-card--catalogue .mbhc-visual::after {
    background: none;
}

.mbhc .mbhc-card--catalogue .mbhc-photo {
    width: min(77%, 520px);
    height: 91%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.mbhc .mbhc-card--earbuds {
    --stage: #e3dcf8;
    --halo: #faf7ff;
}

.mbhc .mbhc-card--smartwatches {
    --stage: #cbdfe7;
    --halo: #f5fcff;
}

.mbhc .mbhc-card--catalogue .mbhc-title {
    max-width: 20ch;
    font-size: clamp(26px, 3.2vw, 48px);
}

.mbhc .mbhc-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.mbhc .mbhc-rotation {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    place-items: center;
    color: #1a4965;
    background: transparent;
    border: 1px solid #c7dcea;
    border-radius: 7px;
}

.mbhc .mbhc-rotation:hover {
    background: #e8f3fb;
}

.mbhc .mbhc-rotation:focus-visible {
    outline: 2px solid #1a4965;
    outline-offset: 3px;
}

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

.mbhc-rotation[aria-pressed="true"] .mbhc-rotation-icon {
    width: 0;
    height: 0;
    border-block: 7px solid transparent;
    border-inline: 10px solid currentColor;
    border-inline-end: 0;
}

.mbhc .mbhc-entering .mbhc-copy,
.mbhc .mbhc-entering .mbhc-visual {
    animation: mbhc-reveal .27s ease-out both;
}

@keyframes mbhc-reveal {
    from { opacity: .72; transform: translateX(8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
    .mbhc-stage { border-radius: 14px; }
    .mbhc-stage > .mbhc-card { grid-template-rows: auto clamp(138px, 41vw, 250px); }
    .mbhc .mbhc-card--catalogue .mbhc-title { font-size: clamp(26px, 6.4vw, 39px); }
    .mbhc .mbhc-controls {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
        justify-items: center;
        gap: 3px;
    }
    .mbhc .mbhc-tabs { gap: 1px; }
    .mbhc .mbhc-tab { padding-inline: 6px; font-size: clamp(10px, 2.7vw, 12px); }
}

@media (prefers-reduced-motion: reduce) {
    .mbhc .mbhc-entering .mbhc-copy,
    .mbhc .mbhc-entering .mbhc-visual { animation: none; }
}
