/* Garagem Alternativa — interface mobile-first */
:root {
    color-scheme: light;
    --bg: #eef1f5;
    --surface: #ffffff;
    --surface-soft: #f7f8fa;
    --surface-raised: #ffffff;
    --header: rgba(255, 255, 255, 0.88);
    --text: #151922;
    --text-soft: #606978;
    --text-faint: #87909d;
    --line: #e1e5eb;
    --brand: #c91520;
    --brand-strong: #a80f18;
    --brand-soft: #fff0f1;
    --blue: #2563eb;
    --blue-soft: #eaf1ff;
    --green: #128c4b;
    --green-soft: #e7f8ef;
    --danger: #c33b3b;
    --shadow-sm: 0 2px 10px rgba(24, 31, 42, 0.06);
    --shadow-md: 0 12px 34px rgba(24, 31, 42, 0.11);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --app-width: 540px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0c0f14;
    --surface: #151920;
    --surface-soft: #1b2029;
    --surface-raised: #1a1f27;
    --header: rgba(21, 25, 32, 0.9);
    --text: #f2f4f7;
    --text-soft: #aeb6c2;
    --text-faint: #7e8795;
    --line: #2a3039;
    --brand: #ff5962;
    --brand-strong: #ff747c;
    --brand-soft: #3b171a;
    --blue: #79a4ff;
    --blue-soft: #172745;
    --green: #54cf88;
    --green-soft: #163626;
    --danger: #ff8585;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 14px 38px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    max-width: var(--app-width);
    margin: 0 auto;
    background: var(--surface);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    box-shadow: 0 0 42px rgba(20, 25, 34, 0.08);
}

button,
a,
input {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.app-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 100% 0, rgba(201, 21, 32, 0.08), transparent 280px),
        var(--surface);
}

.page-content {
    padding: 22px 18px calc(34px + env(safe-area-inset-bottom));
}

.page-content.with-bottom-nav {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: calc(66px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 14px 0;
    background: var(--header);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header.home-header {
    grid-template-columns: 1fr 44px;
}

.header-copy {
    min-width: 0;
    padding: 0 10px;
    text-align: center;
}

.home-header .header-copy {
    padding-left: 4px;
    text-align: left;
}

.header-eyebrow {
    display: block;
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.header-title {
    overflow: hidden;
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.icon-button:active {
    transform: scale(0.94);
}

.icon-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.theme-sun {
    display: none;
}

html[data-theme="dark"] .theme-sun {
    display: block;
}

html[data-theme="dark"] .theme-moon {
    display: none;
}

/* Typography and common blocks */
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.section-heading h2,
.intro-block h1 {
    color: var(--text);
    font-size: clamp(1.42rem, 5.3vw, 1.78rem);
    line-height: 1.18;
    letter-spacing: -0.045em;
}

.section-heading p,
.intro-block p {
    color: var(--text-soft);
    font-size: 0.91rem;
}

.section-heading p {
    margin-top: 4px;
}

.intro-block {
    margin-bottom: 20px;
}

.intro-block p {
    max-width: 40rem;
    margin-top: 8px;
}

.eyebrow-pill,
.count-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
    white-space: nowrap;
}

.eyebrow-pill {
    margin-bottom: 10px;
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.count-pill {
    background: var(--surface-soft);
    color: var(--text-soft);
    border: 1px solid var(--line);
}

.status-pill {
    background: var(--green-soft);
    color: var(--green);
}

/* Homepage */
.welcome-card {
    position: relative;
    min-height: 188px;
    margin-bottom: 24px;
    padding: 24px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #252a33 0%, #11141a 70%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.welcome-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -58px;
    width: 190px;
    height: 190px;
    border: 32px solid rgba(201, 21, 32, 0.22);
    border-radius: 50%;
}

.welcome-card .brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 25px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    background: rgba(255,255,255,0.09);
}

.welcome-card .brand-mark svg {
    width: 25px;
    height: 25px;
    stroke: var(--brand);
}

.welcome-card h1 {
    max-width: 310px;
    font-size: 1.62rem;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.welcome-card p {
    max-width: 310px;
    margin-top: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.feature-card {
    position: relative;
    display: block;
    min-height: 230px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #222 center/cover no-repeat;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    isolation: isolate;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 10, 13, 0.02) 20%, rgba(8, 10, 13, 0.9) 100%);
}

.feature-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 22px;
}

.feature-card-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.feature-card h3 {
    font-size: 1.45rem;
    letter-spacing: -0.035em;
}

.feature-card p {
    margin-top: 4px;
    padding-right: 54px;
    color: rgba(255,255,255,0.76);
    font-size: 0.88rem;
}

.feature-card .round-arrow {
    position: absolute;
    right: 20px;
    bottom: 22px;
}

.round-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
}

.round-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.guide-card {
    display: grid;
    grid-template-columns: 52px 1fr 24px;
    align-items: center;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.guide-icon,
.menu-icon {
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--brand-soft);
    color: var(--brand);
}

.guide-icon {
    width: 52px;
    height: 52px;
}

.guide-icon svg,
.menu-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
}

.guide-card h3 {
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.guide-card p {
    margin-top: 2px;
    color: var(--text-soft);
    font-size: 0.8rem;
}

.guide-card > svg,
.menu-card > svg {
    width: 20px;
    height: 20px;
    color: var(--text-faint);
    stroke: currentColor;
}

/* Bottom navigation */
.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: min(100%, var(--app-width));
    margin: 0 auto;
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
    background: var(--header);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-item {
    display: flex;
    min-height: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text-faint);
    font-size: 0.69rem;
    font-weight: 700;
    cursor: pointer;
}

.nav-item svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
}

.nav-item.active {
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.tab-panel[hidden] {
    display: none;
}

/* Model page */
.model-hero {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    background: #1c2027 center 43%/cover no-repeat;
}

.model-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,16,0.5) 0%, rgba(10,12,16,0.05) 45%, var(--surface) 100%);
}

.hero-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(14px + env(safe-area-inset-top)) 16px 0;
}

.hero-topbar .icon-button {
    border-color: rgba(255,255,255,0.28);
    background: rgba(10, 12, 16, 0.3);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.model-summary {
    position: relative;
    z-index: 3;
    margin: -72px 18px 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--shadow-md);
}

.model-summary-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.model-summary h1 {
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.model-summary p {
    margin-top: 7px;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.model-actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.menu-card {
    display: grid;
    grid-template-columns: 54px 1fr 24px;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 150ms ease, border-color 150ms ease;
}

.menu-card:active {
    transform: scale(0.985);
}

.menu-icon {
    width: 54px;
    height: 54px;
}

.menu-card h2 {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.menu-card p {
    margin-top: 3px;
    color: var(--text-soft);
    font-size: 0.8rem;
}

.community-card {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--surface-raised), var(--surface-soft));
    box-shadow: var(--shadow-sm);
}

.community-card h2 {
    font-size: 1.08rem;
    letter-spacing: -0.025em;
}

.community-card > p {
    margin-top: 6px;
    color: var(--text-soft);
    font-size: 0.85rem;
}

.social-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 17px;
}

.social-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 150ms ease, opacity 150ms ease;
}

.social-button:active,
.primary-button:active,
.secondary-button:active {
    transform: scale(0.98);
}

.social-button svg,
.primary-button svg,
.secondary-button svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
}

.social-button.whatsapp {
    background: #1fa75b;
    color: #fff;
}

.social-button.facebook {
    background: #2563eb;
    color: #fff;
}

/* Catalog */
.catalog-tools {
    position: sticky;
    top: calc(66px + env(safe-area-inset-top));
    z-index: 25;
    margin: -4px -18px 18px;
    padding: 10px 18px 12px;
    background: var(--surface);
    background: linear-gradient(180deg, var(--surface) 72%, color-mix(in srgb, var(--surface) 0%, transparent));
}

.search-field {
    position: relative;
}

.search-field > svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 20px;
    height: 20px;
    color: var(--text-faint);
    stroke: currentColor;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 44px 12px 44px;
    border: 1px solid var(--line);
    border-radius: 15px;
    outline: none;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0.91rem;
    box-shadow: var(--shadow-sm);
}

.search-field input::placeholder {
    color: var(--text-faint);
}

.search-field input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.clear-search {
    position: absolute;
    top: 50%;
    right: 8px;
    display: none;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    transform: translateY(-50%);
}

.clear-search.visible {
    display: grid;
}

.clear-search svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
}

.results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 12px;
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.product-list {
    display: grid;
    gap: 12px;
}

.product-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 24px;
    align-items: center;
    width: 100%;
    min-height: 116px;
    gap: 14px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    color: var(--text);
    text-align: left;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.product-card:active {
    transform: scale(0.988);
}

.product-card-image-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eceef1;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-content {
    min-width: 0;
}

.product-card h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.94rem;
    line-height: 1.28;
    letter-spacing: -0.022em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 6px;
    color: var(--text-soft);
    font-size: 0.78rem;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card > svg {
    width: 20px;
    height: 20px;
    color: var(--text-faint);
    stroke: currentColor;
}

.empty-state {
    display: none;
    padding: 42px 22px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
}

.empty-state.visible {
    display: block;
}

.empty-state svg {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    color: var(--text-faint);
    stroke: currentColor;
}

.empty-state h3 {
    font-size: 1rem;
}

.empty-state p {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: 0.83rem;
}

/* Product details */
#detail-view[hidden],
#list-view[hidden] {
    display: none;
}

.back-to-list {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    border: 0;
    background: transparent;
    color: var(--brand-strong);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
}

.back-to-list svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.detail-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--shadow-md);
}

.detail-image-wrap {
    position: relative;
    display: grid;
    min-height: 300px;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.detail-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.detail-image-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    background: rgba(18, 21, 27, 0.72);
    color: #fff;
    font-size: 0.69rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.detail-content {
    padding: 21px;
}

.detail-content h1 {
    font-size: 1.42rem;
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.detail-description {
    margin-top: 9px;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.tip-box {
    margin: 19px 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
    border-radius: 15px;
    background: var(--brand-soft);
}

.tip-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-strong);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.tip-title svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.tip-box p {
    margin-top: 7px;
    color: var(--text);
    font-size: 0.83rem;
}

.action-stack {
    display: grid;
    gap: 10px;
}

.primary-button {
    width: 100%;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #fff;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 22%, transparent);
}

.secondary-button {
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
    background: var(--blue-soft);
    color: var(--blue);
}

.primary-button.disabled {
    background: var(--surface-soft);
    color: var(--text-faint);
    box-shadow: none;
    pointer-events: none;
}

.affiliate-note {
    margin-top: 13px;
    color: var(--text-faint);
    font-size: 0.7rem;
    line-height: 1.4;
    text-align: center;
}

.catalog-disclaimer {
    margin-top: 20px;
    padding: 14px 15px;
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.74rem;
    line-height: 1.45;
}

/* Interaction and accessibility */
@media (hover: hover) {
    .icon-button:hover,
    .guide-card:hover,
    .menu-card:hover,
    .product-card:hover {
        border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
    }

    .guide-card:hover,
    .menu-card:hover,
    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .feature-card:hover {
        transform: translateY(-2px);
    }
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
    outline-offset: 3px;
}

@media (min-width: 541px) {
    body {
        min-height: calc(100vh - 28px);
        margin-top: 14px;
        margin-bottom: 14px;
        border-radius: 26px;
    }

    .site-header {
        top: 0;
    }

    .bottom-nav {
        bottom: 14px;
        border-radius: 0 0 26px 26px;
    }
}

@media (max-width: 370px) {
    .page-content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .catalog-tools {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .product-card {
        grid-template-columns: 78px minmax(0, 1fr) 18px;
        gap: 10px;
    }

    .product-card-image-wrap {
        width: 78px;
        height: 78px;
    }

    .social-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Tutorials — library and article pages */
.home-tutorial-card {
    display: block;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.home-tutorial-cover {
    position: relative;
    min-height: 176px;
    background: #242832 center 45%/cover no-repeat;
}

.home-tutorial-cover::after,
.tutorial-card-cover::after,
.article-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.08), rgba(10, 12, 16, 0.68));
}

.tutorial-badge,
.tutorial-read-time {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    background: rgba(16, 18, 23, 0.72);
    color: #fff;
    font-size: 0.67rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.home-tutorial-cover .tutorial-badge,
.article-hero-image .tutorial-badge {
    top: 14px;
    left: 14px;
}

.home-tutorial-copy {
    padding: 18px;
}

.tutorial-kicker,
.section-label {
    display: inline-block;
    color: var(--brand-strong);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-tutorial-copy h2 {
    margin-top: 7px;
    font-size: 1.18rem;
    line-height: 1.22;
    letter-spacing: -0.035em;
}

.home-tutorial-copy p {
    margin-top: 7px;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.tutorial-link-label {
    display: inline-flex;
    margin-top: 14px;
    color: var(--brand-strong);
    font-size: 0.83rem;
    font-weight: 800;
}

.tutorial-index-link {
    margin-top: 12px;
}

.tutorial-library-page {
    padding-top: 18px;
}

.tutorial-library-hero {
    position: relative;
    margin-bottom: 18px;
    padding: 23px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, #292d36, #12151b 74%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.tutorial-library-hero::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -75px;
    width: 200px;
    height: 200px;
    border: 30px solid rgba(201, 21, 32, 0.2);
    border-radius: 50%;
}

.tutorial-library-hero .eyebrow-pill {
    position: relative;
    z-index: 1;
}

.tutorial-library-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 340px;
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.tutorial-library-hero > p {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin-top: 10px;
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
}

.library-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.library-stats span {
    display: grid;
    color: rgba(255,255,255,0.65);
    font-size: 0.67rem;
}

.library-stats strong {
    color: #fff;
    font-size: 1rem;
}

.tutorial-tools {
    top: calc(66px + env(safe-area-inset-top));
    margin-bottom: 22px;
}

.filter-chips {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-raised);
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.filter-chip.active {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.tutorial-grid {
    display: grid;
    gap: 14px;
}

.tutorial-card-large {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.tutorial-card-large[hidden] { display: none; }

.tutorial-card-cover {
    position: relative;
    display: block;
    min-height: 206px;
    background: #242832 center 45%/cover no-repeat;
}

.tutorial-card-cover .tutorial-badge { top: 14px; left: 14px; }
.tutorial-card-cover .tutorial-read-time { right: 14px; bottom: 14px; }

.tutorial-card-body {
    padding: 18px;
}

.tutorial-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.difficulty-pill {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
}

.difficulty-pill.easy {
    background: var(--green-soft);
    color: var(--green);
}

.tutorial-card-body h2 {
    margin-top: 8px;
    font-size: 1.16rem;
    line-height: 1.24;
    letter-spacing: -0.035em;
}

.tutorial-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.tutorial-card-body > p {
    margin-top: 7px;
    color: var(--text-soft);
    font-size: 0.83rem;
}

.tutorial-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 0.7rem;
}

.tutorial-card-footer > span { color: var(--text-faint); }
.tutorial-card-footer a { color: var(--brand-strong); font-weight: 800; text-decoration: none; }

.editorial-callout {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    margin-top: 20px;
    padding: 17px;
    border: 1px dashed color-mix(in srgb, var(--brand) 42%, var(--line));
    border-radius: var(--radius-md);
    background: var(--brand-soft);
}

.editorial-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: var(--surface-raised);
    color: var(--brand-strong);
}

.editorial-icon svg { width: 21px; height: 21px; stroke: currentColor; }
.editorial-callout h2 { margin-top: 4px; font-size: 0.98rem; }
.editorial-callout p { margin-top: 4px; color: var(--text-soft); font-size: 0.78rem; }

/* Tutorial article */
.article-header .header-title { font-size: 0.92rem; }

.article-page {
    padding-bottom: 32px;
}

.article-hero {
    margin-bottom: 18px;
}

.article-hero-image {
    position: relative;
    min-height: 286px;
    background: #242832 center 43%/cover no-repeat;
}

.article-hero-copy {
    position: relative;
    z-index: 3;
    margin: -42px 14px 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--shadow-md);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
    color: var(--text-faint);
    font-size: 0.66rem;
}

.breadcrumbs a { color: inherit; text-decoration: none; }

.article-hero-copy h1 {
    margin-top: 7px;
    font-size: clamp(1.65rem, 7.3vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.article-lead {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 0.91rem;
}

.article-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.author-avatar,
.comment-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #fff;
    font-weight: 800;
}

.author-avatar { width: 38px; height: 38px; font-size: 0.7rem; }
.article-author-row > span:last-child { display: grid; }
.article-author-row strong { font-size: 0.76rem; }
.article-author-row small { margin-top: 2px; color: var(--text-faint); font-size: 0.66rem; }

.article-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 14px 22px;
}

.article-meta-grid > div {
    display: grid;
    min-width: 0;
    place-items: center;
    gap: 7px;
    padding: 12px 7px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-raised);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.article-meta-grid svg { width: 20px; height: 20px; color: var(--brand); stroke: currentColor; }
.article-meta-grid span { display: grid; min-width: 0; }
.article-meta-grid small { color: var(--text-faint); font-size: 0.59rem; }
.article-meta-grid strong { overflow: hidden; font-size: 0.69rem; text-overflow: ellipsis; white-space: nowrap; }

.article-layout {
    padding: 0 18px;
}

.article-content {
    font-size: 0.96rem;
    line-height: 1.72;
}

.article-content p { color: var(--text-soft); }

.demo-notice,
.article-tip,
.article-warning {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 11px;
    padding: 16px;
    border-radius: 16px;
}

.demo-notice {
    border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
    background: var(--blue-soft);
}

.demo-notice svg,
.article-tip svg,
.article-warning svg { width: 23px; height: 23px; stroke: currentColor; }
.demo-notice svg { color: var(--blue); }
.demo-notice strong, .article-tip strong, .article-warning strong { display: block; margin-bottom: 3px; font-size: 0.82rem; }
.demo-notice p, .article-tip p, .article-warning p { font-size: 0.76rem; line-height: 1.48; }

.article-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.article-section h2 {
    margin-top: 5px;
    font-size: clamp(1.28rem, 5.6vw, 1.56rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.article-section > p,
.step-section > p {
    margin-top: 12px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 13px 14px 13px 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 14px;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.67rem;
    font-weight: 900;
    transform: translateY(-50%);
}

.step-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.step-number {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 22%, transparent);
}

.step-heading h2 { margin-top: 3px; }

.article-figure {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.article-figure img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.article-figure figcaption,
.media-caption {
    padding: 10px 12px;
    color: var(--text-faint);
    font-size: 0.67rem;
    line-height: 1.45;
}

.article-tip {
    margin-top: 16px;
    border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
    background: var(--brand-soft);
}

.article-tip svg { color: var(--brand-strong); }

.article-warning {
    margin: 28px 0 0;
    border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line));
    background: color-mix(in srgb, var(--danger) 9%, var(--surface));
}

.article-warning svg,
.article-warning strong { color: var(--danger); }

.video-wrapper {
    position: relative;
    width: 100%;
    margin-top: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #090a0d;
    box-shadow: var(--shadow-sm);
}

.video-wrapper iframe { width: 100%; height: 100%; border: 0; }
.media-caption { padding-left: 2px; }

.related-links-grid {
    display: grid;
    gap: 10px;
    margin-top: 17px;
}

.related-content-card {
    display: grid;
    grid-template-columns: 46px 1fr 20px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.related-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.related-icon svg, .related-arrow { width: 20px; height: 20px; stroke: currentColor; }
.related-content-card > span:nth-child(2) { display: grid; }
.related-content-card small { color: var(--text-faint); font-size: 0.62rem; }
.related-content-card strong { font-size: 0.84rem; }
.related-content-card p { margin-top: 1px; font-size: 0.7rem; }
.related-arrow { color: var(--text-faint); }

.comments-section { border-bottom: 0; }

.comments-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.comments-heading > div > p { margin-top: 6px; font-size: 0.79rem; }

.demo-mode-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
}

.comments-demo-note {
    margin-top: 16px;
    padding: 11px 12px;
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text-faint);
    font-size: 0.68rem;
    line-height: 1.45;
}

.comment-form {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.comment-form label {
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 800;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: none;
    background: var(--surface-soft);
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
}

.comment-form input { min-height: 46px; padding: 11px 13px; }
.comment-form textarea { min-height: 110px; padding: 12px 13px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.comment-form-footer small { color: var(--text-faint); font-size: 0.64rem; }
.comment-submit { width: auto; min-height: 44px; padding: 10px 14px; font-size: 0.76rem; }

.comments-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    scroll-margin-top: 82px;
}

.comment-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 11px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
}

.comment-avatar { width: 40px; height: 40px; font-size: 0.68rem; }
.comment-body { min-width: 0; }
.comment-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.comment-header > span { display: grid; }
.comment-header strong { font-size: 0.77rem; }
.comment-header small { color: var(--text-faint); font-size: 0.61rem; }
.comment-body > p { margin-top: 8px; color: var(--text); font-size: 0.78rem; line-height: 1.5; }
.comment-remove { border: 0; background: transparent; color: var(--danger); font-size: 0.64rem; font-weight: 800; cursor: pointer; }
.comment-actions { display: flex; gap: 14px; margin-top: 11px; }
.comment-actions button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--text-faint); font-size: 0.67rem; font-weight: 800; cursor: pointer; }
.comment-actions button svg { width: 16px; height: 16px; stroke: currentColor; }
.comment-actions button.liked { color: var(--brand-strong); }

.article-footer {
    padding: 24px 18px calc(28px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
    text-align: center;
}

.article-footer strong { font-size: 0.85rem; }
.article-footer p { margin-top: 3px; color: var(--text-faint); font-size: 0.69rem; }
.article-footer a { display: inline-flex; margin-top: 13px; color: var(--brand-strong); font-size: 0.73rem; font-weight: 800; text-decoration: none; }

@media (hover: hover) {
    .home-tutorial-card:hover,
    .tutorial-card-large:hover,
    .related-content-card:hover {
        border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 370px) {
    .article-layout { padding-right: 14px; padding-left: 14px; }
    .article-meta-grid { margin-right: 10px; margin-left: 10px; }
    .article-hero-copy { margin-right: 10px; margin-left: 10px; }
    .article-meta-grid strong { font-size: 0.62rem; }
    .comment-form-footer { align-items: stretch; flex-direction: column; }
    .comment-submit { width: 100%; }
}

/* =========================================================
   Identidade oficial, comunidade e suporte
   ========================================================= */
.brand-logo-light,
.brand-logo-dark {
    display: block;
    max-width: 100%;
    height: auto;
}

.brand-logo-dark {
    display: none;
}

html[data-theme="dark"] .brand-logo-light {
    display: none;
}

html[data-theme="dark"] .brand-logo-dark {
    display: block;
}

.brand-lockup {
    display: flex;
    align-items: center;
    width: min(210px, 70%);
    min-height: 58px;
    margin-bottom: 22px;
}

.brand-lockup img {
    width: 100%;
    max-height: 74px;
    object-fit: contain;
    object-position: left center;
}

.welcome-card .brand-lockup .brand-logo-light {
    display: none;
}

.welcome-card .brand-lockup .brand-logo-dark {
    display: block;
}

.author-avatar.brand-avatar {
    overflow: hidden;
    padding: 0;
    background: #fff;
}

.author-avatar.brand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-footer .footer-logo-wrap,
.article-footer .footer-logo-wrap {
    width: 148px;
    margin: 0 auto 10px;
}

.brand-footer .footer-logo-wrap img,
.article-footer .footer-logo-wrap img {
    width: 100%;
    max-height: 64px;
    object-fit: contain;
}

.brand-inline-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    margin-bottom: 18px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.brand-inline-card img {
    width: min(240px, 82%);
    max-height: 78px;
    object-fit: contain;
}

/* Navegação com terceiro item */
.bottom-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bottom-nav .nav-item[href] {
    text-decoration: none;
}

/* Atalho de suporte reutilizável */
.support-shortcut {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.support-shortcut > span:first-child {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.support-shortcut svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.support-shortcut > span:nth-child(2) {
    min-width: 0;
}

.support-shortcut strong,
.support-shortcut small {
    display: block;
}

.support-shortcut strong {
    font-size: 0.84rem;
}

.support-shortcut small {
    margin-top: 3px;
    color: var(--text-soft);
    font-size: 0.69rem;
    line-height: 1.4;
}

.support-shortcut > svg {
    color: var(--text-faint);
}

/* Comentários persistentes e respostas */
.comments-count-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.67rem;
    font-weight: 800;
    white-space: nowrap;
}

.comments-demo-note strong {
    color: var(--text);
}

.comment-card {
    align-items: flex-start;
}

.comment-identity-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.comment-identity-line em {
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.54rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.official-comment > .comment-avatar {
    background: var(--brand-strong);
    color: #fff;
}

.reply-mention {
    color: var(--brand-strong);
    font-weight: 800;
}

.comment-replies {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-left: 12px;
    border-left: 2px solid var(--line);
}

.comment-reply {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
    border-radius: 14px;
    background: var(--surface-soft);
    box-shadow: none;
}

.comment-reply .comment-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.56rem;
}

.reply-form {
    display: grid;
    gap: 9px;
    margin-top: 13px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}

.reply-context,
.reply-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.reply-context {
    color: var(--text-soft);
    font-size: 0.67rem;
}

.reply-context button {
    border: 0;
    background: transparent;
    color: var(--danger);
    font-size: 0.64rem;
    font-weight: 800;
    cursor: pointer;
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-raised);
    color: var(--text);
    outline: none;
}

.reply-form input {
    min-height: 42px;
    padding: 10px 11px;
}

.reply-form textarea {
    min-height: 88px;
    padding: 11px;
    resize: vertical;
}

.reply-form input:focus,
.reply-form textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.reply-form-footer small {
    color: var(--text-faint);
    font-size: 0.61rem;
}

.reply-submit {
    width: auto;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.69rem;
}

.comment-actions button.liked svg {
    fill: currentColor;
}

/* Página de suporte */
.support-page {
    display: grid;
    gap: 28px;
}

.support-hero {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--surface-soft), var(--surface-raised));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.support-hero::after {
    content: "";
    position: absolute;
    right: -58px;
    bottom: -68px;
    width: 170px;
    height: 170px;
    border: 28px solid color-mix(in srgb, var(--brand) 16%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.support-brand-lockup {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: min(220px, 78%);
    min-height: 68px;
    margin-bottom: 14px;
}

.support-brand-lockup img {
    width: 100%;
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
}

.support-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 340px;
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.support-hero > p {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin-top: 9px;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.support-topic-grid,
.support-channels {
    display: grid;
    gap: 11px;
}

.support-topic-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.support-topic-card > span {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.support-topic-card svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
}

.support-topic-card h3 {
    font-size: 0.88rem;
}

.support-topic-card p {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: 0.73rem;
}

.support-channel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 68px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.support-channel.disabled {
    opacity: 0.62;
}

.support-channel-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--brand-strong);
}

.support-channel-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.support-channel strong,
.support-channel small {
    display: block;
}

.support-channel strong {
    font-size: 0.8rem;
}

.support-channel small {
    margin-top: 2px;
    color: var(--text-soft);
    font-size: 0.65rem;
}

.support-config-note {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 9px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
}

.support-config-note svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.support-config-note p {
    font-size: 0.68rem;
}

.support-form {
    display: grid;
    gap: 9px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.support-form label {
    margin-top: 4px;
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 800;
}

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    outline: none;
}

.support-form input,
.support-form select {
    min-height: 46px;
    padding: 10px 12px;
}

.support-form textarea {
    min-height: 132px;
    padding: 12px;
    resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.support-field-grid {
    display: grid;
    gap: 9px;
}

.support-field-grid > div {
    display: grid;
    gap: 9px;
}

.support-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.support-form-footer small {
    color: var(--text-faint);
    font-size: 0.64rem;
}

.support-form-footer .primary-button {
    width: auto;
    min-height: 44px;
    padding: 10px 15px;
}

.support-status {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 0.71rem;
    font-weight: 700;
}

.support-status.visible {
    display: block;
}

.support-status.success {
    background: var(--green-soft);
    color: var(--green);
}

.support-status.error {
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    color: var(--danger);
}

.support-faq {
    padding-bottom: 4px;
}

.support-faq details {
    border-bottom: 1px solid var(--line);
}

.support-faq summary {
    position: relative;
    padding: 15px 30px 15px 0;
    color: var(--text);
    font-size: 0.77rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.support-faq summary::-webkit-details-marker {
    display: none;
}

.support-faq summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    color: var(--brand-strong);
    font-size: 1.25rem;
    transform: translateY(-50%);
}

.support-faq details[open] summary::after {
    content: "−";
}

.support-faq details p {
    padding: 0 0 15px;
    color: var(--text-soft);
    font-size: 0.72rem;
}

@media (min-width: 460px) {
    .support-topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .support-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 350px) {
    .comments-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .reply-form-footer,
    .support-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .reply-submit,
    .support-form-footer .primary-button {
        width: 100%;
    }
}

.article-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-top: 13px;
}

.article-footer-links a {
    margin-top: 0;
}


/* Primeira matéria: checklist da DL 160 */
.checklist-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.checklist-progress {
    display: inline-flex;
    min-width: 54px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    transition: 180ms ease;
}

.checklist-progress.complete {
    border-color: color-mix(in srgb, var(--green) 35%, var(--line));
    background: var(--green-soft);
    color: var(--green);
}

.ride-checklist {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.ride-checklist label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: flex-start;
    gap: 11px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-raised);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.ride-checklist label:has(input:checked) {
    border-color: color-mix(in srgb, var(--green) 35%, var(--line));
    background: color-mix(in srgb, var(--green-soft) 62%, var(--surface-raised));
}

.ride-checklist input {
    width: 21px;
    height: 21px;
    margin: 1px 0 0;
    accent-color: var(--green);
}

.ride-checklist span,
.ride-checklist strong,
.ride-checklist small { display: block; }
.ride-checklist strong { font-size: 0.8rem; }
.ride-checklist small { margin-top: 2px; color: var(--text-soft); font-size: 0.68rem; line-height: 1.45; }

.checklist-reset {
    min-height: 40px;
    margin-top: 13px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.spec-card {
    display: grid;
    padding: 15px;
    border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
    border-radius: 16px;
    background: var(--brand-soft);
}

.spec-card small { color: var(--text-soft); font-size: 0.65rem; }
.spec-card strong { margin-top: 2px; color: var(--brand-strong); font-size: 1.42rem; letter-spacing: -0.04em; }
.spec-card span { margin-top: 2px; color: var(--text-faint); font-size: 0.61rem; }

.single-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 17px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
    border-radius: 15px;
    background: var(--brand-soft);
}
.single-spec span { color: var(--text-soft); font-size: 0.72rem; font-weight: 700; }
.single-spec strong { color: var(--brand-strong); font-size: 1.15rem; white-space: nowrap; }

.detail-list {
    display: grid;
    gap: 8px;
    margin-top: 17px;
    padding-left: 19px;
    color: var(--text-soft);
    font-size: 0.79rem;
}
.detail-list li::marker { color: var(--brand); }

.procedure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}
.procedure-grid span {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.35;
}
.procedure-grid strong {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.72rem;
}

.stop-warning { margin-bottom: 0; }

.sources-list {
    display: grid;
    gap: 10px;
    margin-top: 17px;
}
.sources-list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.source-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.72rem;
    font-weight: 800;
}
.sources-list a > span:nth-child(2) { display: grid; }
.sources-list strong { font-size: 0.76rem; line-height: 1.3; }
.sources-list small { margin-top: 3px; color: var(--text-soft); font-size: 0.64rem; line-height: 1.42; }
.sources-list svg { width: 19px; height: 19px; color: var(--text-faint); stroke: currentColor; }

@media (max-width: 350px) {
    .spec-grid,
    .procedure-grid { grid-template-columns: 1fr; }
}

.article-video-link { margin-top: 12px; }

/* Segunda matéria: medição do óleo da DL 160 */
.oil-sequence {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.oil-sequence > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.oil-sequence > div > span {
    grid-row: 1 / span 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.75rem;
    font-weight: 900;
}

.oil-sequence strong { font-size: 0.75rem; line-height: 1.25; }
.oil-sequence small { margin-top: 2px; color: var(--text-soft); font-size: 0.62rem; line-height: 1.35; }

.manual-figure img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: #fff;
}

.oil-window-figure img {
    max-height: 390px;
    padding: 8px;
}

.dipstick-figure img {
    max-height: 300px;
    padding: 14px;
}

.oil-level-cards {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.oil-level-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
    column-gap: 13px;
    align-items: center;
    padding: 14px 14px 14px 17px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-raised);
}

.oil-level-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--text-faint);
}

.oil-level-card > span {
    grid-row: 1 / span 2;
    color: var(--text-soft);
    font-size: 0.68rem;
    font-weight: 800;
}

.oil-level-card strong { font-size: 0.8rem; }
.oil-level-card small { margin-top: 2px; color: var(--text-soft); font-size: 0.65rem; line-height: 1.4; }
.oil-level-card.low::before,
.oil-level-card.high::before { background: var(--danger); }
.oil-level-card.low strong,
.oil-level-card.high strong { color: var(--danger); }
.oil-level-card.correct::before { background: var(--green); }
.oil-level-card.correct strong { color: var(--green); }

.mistake-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.mistake-list li {
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.76rem;
    line-height: 1.55;
}

.mistake-list strong { color: var(--text); }

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.comparison-card {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.comparison-card.active-model {
    border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
    background: var(--brand-soft);
}

.comparison-tag {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.61rem;
    font-weight: 800;
}

.comparison-card.active-model .comparison-tag {
    background: color-mix(in srgb, var(--brand) 13%, var(--surface));
    color: var(--brand-strong);
}

.comparison-card strong {
    display: block;
    margin-top: 10px;
    font-size: 0.79rem;
    line-height: 1.35;
}

.comparison-card p {
    margin-top: 6px;
    font-size: 0.68rem;
    line-height: 1.48;
}

.technical-note-section {
    position: relative;
}

.technical-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 17px;
    padding: 15px;
    border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
    border-radius: 15px;
    background: var(--blue-soft);
}

.technical-data-row span {
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
}

.technical-data-row strong {
    color: var(--blue);
    font-size: 1.08rem;
    white-space: nowrap;
}

.sources-list a,
.sources-list .source-static {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.sources-list .source-static > span:nth-child(2) { display: grid; }
.sources-list .source-static svg { width: 19px; height: 19px; color: var(--text-faint); stroke: currentColor; }

@media (max-width: 360px) {
    .oil-sequence,
    .comparison-grid { grid-template-columns: 1fr; }
    .technical-data-row { align-items: flex-start; flex-direction: column; }
}


/* Future official video placeholder */
.future-video-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 14px;
    padding: 18px;
    border: 1px dashed var(--border-strong, #596171);
    border-radius: 18px;
    background: var(--surface-soft, rgba(127, 127, 127, .08));
}
.future-video-card p { margin: 5px 0 0; }
.future-video-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(201, 21, 32, .12);
    color: var(--accent, #c91520);
}
.future-video-icon svg { width: 27px; height: 27px; stroke: currentColor; }
@media (max-width: 380px) {
    .future-video-card { align-items: flex-start; padding: 15px; }
    .future-video-icon { width: 42px; height: 42px; flex-basis: 42px; }
}

/* Terceira matéria: aviso de troca de óleo da DL 160 */
.warning-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.warning-facts-grid > div {
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}
.warning-facts-grid span { color: var(--text-soft); font-size: .64rem; font-weight: 700; }
.warning-facts-grid strong { margin-top: 3px; color: var(--brand-strong); font-size: 1.18rem; letter-spacing: -.035em; }
.warning-facts-grid small { margin-top: 3px; color: var(--text-faint); font-size: .61rem; line-height: 1.4; }
.dashboard-manual-figure img { max-height: 360px; padding: 8px; }
.oil-warning-manual-page img { max-height: 640px; padding: 8px; }
.dashboard-key-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}
.dashboard-key-grid > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}
.dashboard-key-grid span {
    grid-row: 1 / span 2;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: .71rem;
    font-weight: 900;
}
.dashboard-key-grid strong { font-size: .7rem; line-height: 1.25; }
.dashboard-key-grid small { color: var(--text-soft); font-size: .58rem; line-height: 1.35; }
.interval-scale {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 14px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-soft);
    scrollbar-width: thin;
}
.interval-scale span { flex: 0 0 auto; color: var(--text); font-size: .65rem; font-weight: 800; }
.interval-scale i { width: 18px; height: 2px; flex: 0 0 18px; border-radius: 999px; background: var(--brand); opacity: .45; }
.confirmation-strip,
.manual-example {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    padding: 15px 12px;
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
    border-radius: 15px;
    background: var(--brand-soft);
    text-align: center;
}
.confirmation-strip span { font-size: .68rem; font-weight: 800; }
.confirmation-strip svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--brand); stroke: currentColor; }
.manual-example { flex-wrap: wrap; }
.manual-example span { color: var(--text-soft); font-size: .69rem; font-weight: 700; }
.manual-example b { color: var(--brand); }
.manual-example strong { color: var(--brand-strong); font-size: .91rem; }
.oil-reminder-calculator {
    display: grid;
    gap: 9px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}
.calculator-heading { display: grid; margin-bottom: 2px; }
.calculator-heading strong { font-size: .82rem; }
.calculator-heading small { margin-top: 3px; color: var(--text-faint); font-size: .62rem; line-height: 1.4; }
.oil-reminder-calculator label { color: var(--text-soft); font-size: .64rem; font-weight: 800; }
.oil-reminder-calculator input,
.oil-reminder-calculator select {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    font: inherit;
    font-size: .78rem;
}
.oil-reminder-calculator .primary-button { width: 100%; margin-top: 3px; }
.calculator-result {
    padding: 12px;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--green);
    font-size: .76rem;
    font-weight: 800;
    text-align: center;
}
.calculator-result.error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); }
.support-video-list { display: grid; gap: 20px; margin-top: 18px; }
.support-video-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}
.support-video-card .video-wrapper { margin-top: 10px; }
.video-index {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: .62rem;
    font-weight: 900;
}
.oil-reset-warning { margin-top: 0; }
@media (max-width: 370px) {
    .warning-facts-grid { grid-template-columns: 1fr; }
    .dashboard-key-grid { grid-template-columns: 1fr; }
    .confirmation-strip { flex-wrap: wrap; }
}

/* Matéria: acessórios para a DL 160 */
.accessory-hero-image {
    background-position: center 55%;
}

.accessory-guide-grid {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.accessory-guide-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.accessory-guide-image {
    display: grid;
    align-self: start;
    overflow: hidden;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.accessory-guide-image img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
}

.accessory-guide-card h3 {
    margin-top: 5px;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.accessory-guide-card p {
    margin-top: 7px;
    color: var(--text-soft);
    font-size: 0.76rem;
    line-height: 1.52;
}

.accessory-tag {
    display: inline-flex;
    width: fit-content;
    min-height: 23px;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.accessory-tag.alternative {
    background: var(--blue-soft);
    color: var(--blue);
}

.accessory-tag.aesthetic {
    background: color-mix(in srgb, #8b5cf6 13%, var(--surface));
    color: #7c3aed;
}

.accessory-guide-card .accessory-caution {
    padding-top: 7px;
    border-top: 1px dashed var(--line);
    font-size: 0.7rem;
}

.accessory-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: var(--brand-strong);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.accessory-profile-grid {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.accessory-profile-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
}

.accessory-profile-grid span {
    color: var(--brand-strong);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.accessory-profile-grid h3 {
    margin-top: 3px;
    font-size: 0.94rem;
}

.accessory-profile-grid p {
    margin-top: 5px;
    font-size: 0.75rem;
    line-height: 1.52;
}

.accessory-catalog-button {
    width: 100%;
    margin-top: 18px;
}

.accessory-catalog-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

@media (max-width: 360px) {
    .accessory-guide-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 11px;
        padding: 11px;
    }

    .accessory-guide-card h3 { font-size: 0.9rem; }
    .accessory-guide-card p { font-size: 0.7rem; }
}

@media (min-width: 700px) {
    .accessory-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
