/* ==========================================================================
   Portal público da loja — design system
   --------------------------------------------------------------------------
   CSS estático (sem build) carregado por components/layouts/portal.blade.php.
   A cor da loja chega via --brand (definida inline no layout); todo o resto
   é neutro para que qualquer cor de marca funcione.

   Os nomes antigos de variáveis (--line, --ink-soft, --radius-md, --shadow-low…)
   foram mantidos: as páginas de Trade-in e Upgrade dependem deles.
   ========================================================================== */

:root {
    --brand-dark: color-mix(in srgb, var(--brand) 78%, black);
    --brand-soft: color-mix(in srgb, var(--brand) 9%, white);
    --brand-line: color-mix(in srgb, var(--brand) 28%, white);
    --brand-contrast: #ffffff;

    --ink: #0b0b0f;
    --ink-soft: #3a3a42;
    --muted: #6e6e78;
    --subtle: #9b9ba5;
    --line: #e6e6ea;
    --line-strong: #d2d2d8;
    --surface: #ffffff;
    --surface-soft: #f5f5f7;
    --surface-cool: #f0f0f3;
    --graphite: #1d1d22;
    --success: #0a7d3c;
    --success-soft: #e8f6ee;
    --whatsapp: #0aad4b;
    --whatsapp-dark: #088a3c;
    --danger: #b42318;
    --danger-soft: #fff1f0;
    --info-soft: #f0f4fa;
    --info-ink: #364a63;

    --shadow-low: 0 1px 2px rgb(10 10 15 / .05), 0 2px 8px -4px rgb(10 10 15 / .08);
    --shadow-float: 0 18px 40px -20px rgb(10 10 15 / .28), 0 4px 12px -6px rgb(10 10 15 / .10);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --ease: cubic-bezier(.16, 1, .3, 1);

    --container: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 68px;
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, select { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden], [x-cloak] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--brand) 22%, white); }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 100;
    padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm);
    font-size: .875rem; font-weight: 600; text-decoration: none;
    transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--soft { background: var(--surface-soft); }

/* ─── Tipografia ─────────────────────────────────────────────────────────── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted);
}
.eyebrow--brand { color: var(--brand); }
.display {
    font-size: clamp(2.25rem, 5.2vw, 4.25rem);
    font-weight: 700; line-height: 1.02; letter-spacing: -.045em;
    text-wrap: balance;
}
.h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700; line-height: 1.1; letter-spacing: -.035em;
    text-wrap: balance;
}
.h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.lead { font-size: clamp(1rem, 1.6vw, 1.175rem); color: var(--muted); line-height: 1.6; max-width: 56ch; text-wrap: pretty; }
.muted { color: var(--muted); }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
    margin-bottom: clamp(24px, 3vw, 36px);
}
.section-head > div { display: grid; gap: 10px; }
.section-head p { color: var(--muted); max-width: 60ch; }

/* ─── Botões ─────────────────────────────────────────────────────────────── */
.btn {
    --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--btn-bg);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
    border-radius: 999px;
    font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; line-height: 1;
    text-decoration: none; white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn--brand { --btn-bg: var(--brand); --btn-fg: var(--brand-contrast); }
.btn--brand:hover { --btn-bg: var(--brand-dark); }
.btn--ink:hover { --btn-bg: #26262c; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bd: var(--ink); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--white:hover { --btn-bg: #f2f2f4; }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .28); }
.btn--ghost-dark:hover { --btn-bd: #fff; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-dark); }
.btn--whatsapp svg { fill: currentColor; stroke: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--brand { color: var(--brand); }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 9px; border-radius: 999px;
    font-size: .6875rem; font-weight: 650; letter-spacing: .02em; line-height: 1.2;
    background: #fff; color: var(--ink-soft); border: 1px solid var(--line);
}
.badge--new { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge--used { background: #fff; color: var(--ink); }
.badge--sale { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.badge--success { background: var(--success-soft); color: var(--success); border-color: transparent; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--ink); color: rgb(255 255 255 / .82); font-size: .78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-perks { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar-perks li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-perks svg { width: 14px; height: 14px; color: #fff; opacity: .9; }
.topbar-contact { display: flex; gap: 18px; white-space: nowrap; }
.topbar-contact a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar-contact svg { width: 14px; height: 14px; }

.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgb(255 255 255 / .9);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.site-header .container {
    display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px);
    min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; flex: 0 0 auto; }
.brand-logo { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.brand-mark {
    width: 36px; height: 36px; display: grid; place-items: center;
    background: var(--brand); color: var(--brand-contrast); border-radius: 10px;
    font-weight: 700; font-size: .95rem; letter-spacing: -.02em;
}
/* Logo horizontal sozinha (já traz o nome): pode ocupar mais largura */
.brand--logo .brand-logo { height: 30px; max-width: 170px; }
.brand--logo .brand-name { display: none; }
.brand-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
    position: relative; padding: 8px 12px; border-radius: 999px;
    font-size: .9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
    transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--ink); background: var(--surface-soft); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    border-radius: 2px; background: var(--brand);
}

.header-search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.header-search input {
    width: 100%; height: 42px; padding: 0 16px 0 42px;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--surface-soft); font-size: .9rem; outline: none;
    transition: background .15s, border-color .15s, box-shadow .15s;
}
.header-search input::placeholder { color: var(--subtle); }
.header-search input:focus { background: #fff; border-color: var(--line-strong); box-shadow: 0 0 0 4px var(--brand-soft); }
.header-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.header-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.icon-btn {
    width: 42px; height: 42px; display: inline-grid; place-items: center;
    border: 0; background: transparent; border-radius: 999px; color: var(--ink);
    transition: background .15s;
}
.icon-btn:hover { background: var(--surface-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn, .search-toggle { display: none; }

.mobile-search { display: none; padding: 0 var(--gutter) 12px; }
.mobile-search .header-search { max-width: none; display: block; }

/* Drawer mobile */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer-overlay { position: absolute; inset: 0; background: rgb(10 10 15 / .42); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer-overlay { opacity: 1; }
.drawer-panel {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 88vw);
    background: #fff; display: flex; flex-direction: column; overflow-y: auto;
    transform: translateX(-100%); transition: transform .3s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: grid; padding: 12px; }
.drawer-nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 12px; border-radius: var(--radius-sm);
    font-size: 1.05rem; font-weight: 550; letter-spacing: -.01em; color: var(--ink); text-decoration: none;
}
.drawer-nav a:hover { background: var(--surface-soft); }
.drawer-nav a svg { width: 18px; height: 18px; color: var(--subtle); }
.drawer-nav a[aria-current="page"] { color: var(--brand); }
.drawer-foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .875rem; color: var(--muted); }

/* ==========================================================================
   Product card
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.p-card { position: relative; display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.p-card-media {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden;
    background: var(--surface-soft); border-radius: var(--radius-lg);
    display: grid; place-items: center;
}
.p-card-media img {
    width: 100%; height: 100%; object-fit: contain; padding: 9%;
    mix-blend-mode: multiply;
    transition: transform .5s var(--ease);
}
.p-card:hover .p-card-media img { transform: scale(1.045); }
.p-card-media .p-card-ph { width: 30%; color: var(--line-strong); }
.p-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.p-card-body { padding: 14px 4px 4px; display: grid; gap: 4px; }
.p-card-brand { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.p-card-title { font-size: .98rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); }
.p-card-title a { text-decoration: none; color: inherit; }
.p-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-lg); }
.p-card-title a:focus-visible { outline: none; }
.p-card-title a:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 4px; }
.p-card-spec { font-size: .8125rem; color: var(--muted); }
.p-card-price { margin-top: 8px; display: grid; gap: 1px; }
.p-card-compare { font-size: .78rem; color: var(--subtle); text-decoration: line-through; }
.p-card-now { font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.p-card-inst { font-size: .78rem; color: var(--muted); }
.p-card-inst strong { color: var(--ink-soft); font-weight: 600; }
.p-card-consult { font-size: .95rem; font-weight: 600; color: var(--muted); }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: center; }
.hero-copy .display em { font-style: normal; color: var(--brand); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .875rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--success); }

.hero-visual {
    position: relative; aspect-ratio: 1 / 1; max-height: 620px; width: 100%;
    background: var(--surface-soft); border-radius: var(--radius-xl);
    display: grid; place-items: center; overflow: hidden; isolation: isolate;
    text-decoration: none; color: inherit;
}
.hero-visual::before {
    content: ""; position: absolute; inset: 12% 12% auto auto; width: 60%; aspect-ratio: 1;
    border-radius: 50%; z-index: -1;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 16%, transparent), transparent);
}
.hero-visual img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.hero-visual:hover img { transform: scale(1.03) rotate(-.5deg); }
.hero-tag {
    position: absolute; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; background: rgb(255 255 255 / .88);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgb(255 255 255 / .9); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
}
.hero-tag-info { display: grid; gap: 2px; min-width: 0; }
.hero-tag-info small { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-tag-info strong { font-size: 1rem; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tag-info span { font-size: .85rem; color: var(--ink-soft); }
.hero-tag-go { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.hero-tag-go svg { width: 18px; height: 18px; }

/* Faixa de confiança */
.trust { border-block: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 26px clamp(12px, 2vw, 28px); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--surface-soft); color: var(--ink); }
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: .92rem; font-weight: 650; letter-spacing: -.01em; }
.trust-item div > span { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); line-height: 1.45; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.cat-card {
    position: relative; grid-column: span 6; min-height: 260px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
    padding: clamp(22px, 3vw, 36px); overflow: hidden; isolation: isolate;
    background: var(--surface-soft); border-radius: var(--radius-xl);
    text-decoration: none; color: var(--ink);
    transition: background .2s;
}
.cat-card:hover { background: var(--surface-cool); }
.cat-card--dark { background: var(--graphite); color: #fff; }
.cat-card--dark:hover { background: #26262c; }
.cat-card-copy { display: grid; gap: 8px; max-width: 58%; }
.cat-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.cat-card p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cat-card--dark p { color: rgb(255 255 255 / .66); }
.cat-card img {
    position: absolute; right: -2%; bottom: -6%; z-index: -1;
    width: 52%; height: 105%; object-fit: contain; object-position: right bottom;
    transition: transform .6s var(--ease);
}
.cat-card:not(.cat-card--dark) img { mix-blend-mode: multiply; }
.cat-card:hover img { transform: translateY(-6px) scale(1.02); }
.cat-card .link-arrow { color: inherit; }
.cat-count { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cat-card--dark .cat-count { color: rgb(255 255 255 / .6); }

.brand-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(16px, 2vw, 24px); }
.brand-chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 999px;
    text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600;
    transition: border-color .15s, box-shadow .15s;
}
.brand-chip:hover { border-color: var(--ink); }
.brand-chip-mark.has-logo { background: #fff; box-shadow: inset 0 0 0 1px var(--line, #e7e7ec); }
.brand-chip-mark img { width: 64%; height: 64%; object-fit: contain; }
/* logo horizontal (só o nome escrito): selo em pílula para não ficar minúscula */
.brand-chip-mark.is-wide { width: auto; min-width: 30px; padding: 0 10px; border-radius: 999px; }
.brand-chip-mark.is-wide img { width: auto; height: 12px; max-width: 72px; }
.brand-chip-mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-soft); font-size: .75rem; font-weight: 700; color: var(--ink-soft); }
.brand-chip small { color: var(--subtle); font-weight: 500; }

/* Bloco escuro Trade-in / Upgrade */
.dark-band { background: var(--ink); color: #fff; border-radius: var(--radius-xl); overflow: hidden; position: relative; isolation: isolate; }
.dark-band::before {
    content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -18%; top: -40%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 55%, transparent), transparent);
    opacity: .55;
}
.dark-band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 6vw, 80px); align-items: center; }
.dark-band .eyebrow { color: rgb(255 255 255 / .6); }
.dark-band .h2 { color: #fff; margin-top: 14px; }
.dark-band .lead { color: rgb(255 255 255 / .7); margin-top: 16px; }
.steps { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .12); }
.steps li::before {
    content: counter(step); width: 32px; height: 32px; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid rgb(255 255 255 / .28); font-size: .8rem; font-weight: 650;
}
.steps strong { display: block; font-size: .95rem; font-weight: 600; }
.steps span { display: block; font-size: .85rem; color: rgb(255 255 255 / .62); margin-top: 2px; }
.offer-cards { display: grid; gap: 14px; }
.offer-card {
    display: grid; gap: 10px; padding: 26px;
    background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
    border-radius: var(--radius-lg); text-decoration: none; color: #fff;
    transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.offer-card:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .24); transform: translateY(-2px); }
.offer-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer-card-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--ink); }
.offer-card-icon svg { width: 22px; height: 22px; }
.offer-card h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.02em; }
.offer-card p { font-size: .9rem; color: rgb(255 255 255 / .66); line-height: 1.55; }
.offer-card .link-arrow { color: #fff; }

/* Seminovos — selo de inspeção */
.split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.checklist { display: grid; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); line-height: 1.45; }
.checklist svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--success); margin-top: 1px; }

/* Assistência */
.service-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 5vw, 64px); background: var(--surface-soft); border-radius: var(--radius-xl); align-items: center; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.service-list li { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border-radius: var(--radius-md); font-size: .92rem; font-weight: 600; letter-spacing: -.01em; }
.service-list svg { width: 22px; height: 22px; color: var(--ink); flex: 0 0 auto; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 40px 24px 0; color: var(--muted); line-height: 1.65; font-size: .95rem; }

/* Visite a loja */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 3vw, 32px); }
.visit-map {
    position: relative; min-height: 320px; border-radius: var(--radius-xl); overflow: hidden;
    background:
        linear-gradient(var(--surface-soft), var(--surface-soft)) padding-box,
        var(--surface-soft);
    display: grid; place-items: center; text-decoration: none; color: var(--ink);
    isolation: isolate;
}
.visit-map::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.visit-pin { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.visit-pin-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--brand-contrast); box-shadow: 0 0 0 12px var(--brand-soft); }
.visit-pin-icon svg { width: 28px; height: 28px; }
.visit-info { display: grid; gap: 0; align-content: start; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px); }
.visit-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit-row:last-of-type { border-bottom: 0; }
.visit-row svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); margin-top: 2px; }
.visit-row small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 2px; }
.visit-row a, .visit-row address { font-style: normal; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.5; }
.visit-row a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: clamp(48px, 7vw, 96px); background: var(--surface-soft); border-top: 1px solid var(--line); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(40px, 6vw, 72px); }
.footer-about { display: grid; gap: 16px; align-content: start; }
.footer-about p { color: var(--muted); line-height: 1.6; max-width: 40ch; }
.footer-col h2 { font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-col address { font-style: normal; color: var(--muted); line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--subtle); }
.footer-bottom a { color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.wa-fab {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35;
    width: 56px; height: 56px; display: none; place-items: center;
    background: var(--whatsapp); color: #fff; border-radius: 50%;
    box-shadow: 0 10px 24px -8px rgb(8 138 60 / .6);
}
.wa-fab svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* ==========================================================================
   Listagem de produtos
   ========================================================================== */
.page-head { padding-block: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .8125rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb [aria-current] { color: var(--ink-soft); }
.page-title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; }
.page-intro { margin-top: 10px; color: var(--muted); max-width: 70ch; line-height: 1.6; }

.catalog { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.filters-head { display: none; }
.filter-group { padding: 18px 0; border-top: 1px solid var(--line); }
.filters-head + .filter-group { border-top: 0; padding-top: 0; }
.filter-group h2 { font-size: .8125rem; font-weight: 650; letter-spacing: -.005em; margin-bottom: 10px; }
.filter-opt {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 7px 0; border: 0; background: none; text-align: left;
    font-size: .9rem; color: var(--ink-soft);
}
.filter-opt::before {
    content: ""; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 5px;
    border: 1.5px solid var(--line-strong); background: #fff;
    transition: background .15s, border-color .15s;
}
.filter-opt.is-radio::before { border-radius: 50%; }
.filter-opt:hover { color: var(--ink); }
.filter-opt:hover::before { border-color: var(--ink); }
.filter-opt.active { color: var(--ink); font-weight: 600; }
.filter-opt.active::before {
    background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
    border-color: var(--ink);
}
.filter-opt.is-radio.active::before { background: #fff; box-shadow: inset 0 0 0 4px var(--ink); }
.filter-opt .cnt { margin-left: auto; font-size: .78rem; color: var(--subtle); font-weight: 500; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-opt {
    padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; font-size: .8125rem; font-weight: 550; color: var(--ink-soft);
    transition: border-color .15s, background .15s, color .15s;
}
.chip-opt:hover { border-color: var(--ink); }
.chip-opt.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-slider { width: 100%; accent-color: var(--ink); cursor: pointer; }
.filter-clear { margin-top: 8px; border: 0; background: none; padding: 6px 0; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar-count { flex: 1; min-width: 0; font-size: .875rem; color: var(--muted); }
.toolbar-count strong { color: var(--ink); font-weight: 600; }
.filter-toggle { display: none; }
.sort-select {
    height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 999px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none; font-size: .875rem; font-weight: 500; cursor: pointer;
}
.sort-select:hover { border-color: var(--line-strong); }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px;
    border-radius: 999px; border: 0; background: var(--surface-soft);
    font-size: .8125rem; font-weight: 550; color: var(--ink);
}
.active-chip:hover { background: var(--surface-cool); }
.active-chip svg { width: 14px; height: 14px; }

.empty-state { text-align: center; padding: 72px 24px; display: grid; justify-items: center; gap: 10px; }
.empty-state svg { width: 48px; height: 48px; color: var(--line-strong); margin-bottom: 6px; }
.empty-state h2 { font-size: 1.1rem; font-weight: 650; }
.empty-state p { color: var(--muted); font-size: .92rem; }

.skeleton { animation: sk 1.4s ease-in-out infinite; }
@keyframes sk { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.skeleton-media { aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--surface-soft); }
.skeleton-line { height: 12px; border-radius: 6px; background: var(--surface-soft); margin-top: 10px; }

.load-more { display: flex; justify-content: center; padding-top: 40px; }
.list-end { text-align: center; color: var(--muted); font-size: .85rem; padding-top: 32px; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
    .main-nav a { padding: 8px 9px; }
    .header-search { max-width: 280px; }
    .trust-list { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
    .split-aside { position: static; }
    .dark-band-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .main-nav, .site-header .container > .header-search, .header-wa-label { display: none; }
    .menu-btn, .search-toggle { display: inline-grid; }
    .site-header .container { gap: 4px; }
    .brand { margin-right: auto; }
    .mobile-search.is-open { display: block; }
    .topbar-perks li:not(:first-child) { display: none; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { aspect-ratio: 4 / 3; max-height: none; }
    .service-card { grid-template-columns: 1fr; }
    .visit { grid-template-columns: 1fr; }
    .visit-map { min-height: 220px; }

    .catalog { grid-template-columns: 1fr; }
    .filter-toggle { display: inline-flex; }
    .filters {
        position: fixed; inset: 0 0 0 auto; z-index: 70; top: 0; max-height: none;
        width: min(380px, 92vw); padding: 0 20px 24px; background: #fff;
        transform: translateX(100%); transition: transform .3s var(--ease);
        box-shadow: var(--shadow-float);
    }
    .filters.is-open { transform: none; }
    .filters-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 14px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line); z-index: 1; }
    .filters-head h2 { font-size: 1.05rem; font-weight: 650; }
    .filters-overlay { position: fixed; inset: 0; z-index: 65; background: rgb(10 10 15 / .42); }
    .filters-apply { position: sticky; bottom: 0; padding-top: 16px; background: linear-gradient(transparent, #fff 30%); }
}
@media (min-width: 961px) {
    .filters-overlay, .filters-apply { display: none !important; }
}
@media (max-width: 720px) {
    :root { --header-h: 60px; }
    .topbar-contact a:not(:first-child) { display: none; }
    .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
    .p-card-media { border-radius: var(--radius-md); }
    .p-card-now { font-size: 1.05rem; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
    .trust-list { grid-template-columns: 1fr 1fr; }
    .trust-item { padding: 18px 12px; flex-direction: column; gap: 10px; }
    .cat-card { grid-column: span 12; min-height: 210px; }
    .cat-card-copy { max-width: 62%; }
    .service-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-ctas .btn { flex: 1 1 auto; }
    .wa-fab { display: grid; }
    .brand-logo { height: 34px; }
    .brand--logo .brand-logo { height: 26px; max-width: 130px; }
    /* logo + nome no celular: os dois cabem sem empurrar os botões */
    .brand--logo_name .brand-logo, .brand--auto .brand-logo { max-width: 96px; }
    .brand--logo_name .brand-name, .brand--auto .brand-name { max-width: 38vw; }
}
@media (max-width: 380px) {
    .topbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Categoria — variação de tom (mantém fundo claro para fotos com fundo branco) */
.cat-card--alt { background: #ececf0; }
.cat-card--alt:hover { background: #e4e4e9; }
@media (max-width: 720px) {
    .hero-visual { aspect-ratio: 1 / 1.08; }
    .hero-visual img { width: 82%; height: 66%; margin-bottom: 24%; }
    .hero-tag { padding: 12px 14px; }
}
.toolbar-count { white-space: nowrap; }

/* ==========================================================================
   Página do produto
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.pdp-main {
    position: relative; aspect-ratio: 1 / 1; background: var(--surface-soft); border-radius: var(--radius-xl);
    display: grid; place-items: center; overflow: hidden;
}
.pdp-main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: opacity .2s ease, transform .5s var(--ease); }
.pdp-main img.is-fading { opacity: 0; transform: scale(.98); }
.pdp-main .badge { position: absolute; top: 18px; left: 18px; }
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.pdp-thumb {
    flex: 0 0 84px; aspect-ratio: 1; padding: 0; background: var(--surface-soft);
    border: 2px solid transparent; border-radius: var(--radius-md); overflow: hidden; transition: border-color .15s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.pdp-thumb:hover { border-color: var(--line-strong); }
.pdp-thumb.is-active { border-color: var(--ink); }

.pdp-buy { display: grid; gap: 22px; }
.pdp-brand { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.pdp-brand:hover { color: var(--ink); }
.pdp-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.06; margin-top: 8px; text-wrap: balance; }
.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.pdp-chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; font-weight: 550; color: var(--ink-soft); }
.stock-status { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 550; color: var(--success); margin-left: 4px; }
.stock-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--success-soft); }

.price-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 6px; }
.price-box-compare { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--subtle); }
.price-box-compare s { text-decoration-thickness: 1px; }
.price-box-now { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.price-box-now small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-right: 6px; }
.price-box-inst { font-size: .95rem; color: var(--ink-soft); }
.price-box-inst strong { font-weight: 650; color: var(--ink); }
.price-box details { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.price-box summary { cursor: pointer; font-size: .875rem; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.price-box summary::-webkit-details-marker { display: none; }
.price-box summary svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.price-box details[open] summary svg { transform: rotate(90deg); }
.inst-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: .875rem; }
.inst-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.inst-table td:last-child { text-align: right; color: var(--muted); }
.inst-table tr:last-child td { border-bottom: 0; }
.pdp-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pdp-facts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pdp-facts li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pdp-facts svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--ink); margin-top: 1px; }
.pdp-facts strong { display: block; font-size: .92rem; font-weight: 600; }
.pdp-facts small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); line-height: 1.45; }

.pdp-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.pdp-details h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 16px; }
.pdp-details p { color: var(--ink-soft); line-height: 1.7; white-space: pre-line; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); }
.spec-table td { font-weight: 550; }

/* Simulador */
.sim-section { background: var(--surface-soft); padding-block: clamp(48px, 7vw, 88px); }
.sim-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sim-head > div { display: grid; gap: 10px; }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.estimate-chip { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.step-rail { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.simulation-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; }
.simulation-step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: -12px; width: 2px; background: var(--line); }
.simulation-step.is-complete:not(:last-child)::before, .simulation-step.is-active:not(:last-child)::before { background: var(--ink); }
.step-index { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); color: var(--muted); font-size: .85rem; font-weight: 650; position: relative; z-index: 1; }
.is-complete .step-index, .is-active .step-index { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-content { min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, box-shadow .2s; }
.is-active .step-content { border-color: var(--line-strong); box-shadow: var(--shadow-low); }
.step-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.step-title h3 { font-size: 1.02rem; font-weight: 650; letter-spacing: -.015em; }
.step-title p { margin-top: 2px; color: var(--muted); font-size: .85rem; }
.step-status { color: var(--success); font-size: .8125rem; font-weight: 650; white-space: nowrap; }

.selected-device-brief { margin-top: 14px; display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: var(--surface-soft); border-radius: var(--radius-md); }
.selected-device-brief img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.selected-device-brief span { min-width: 0; display: grid; }
.selected-device-brief strong { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selected-device-brief small { color: var(--muted); font-size: .8rem; }
.selected-device-brief b { font-size: .95rem; font-weight: 650; padding-right: 6px; }

.choice-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.choice { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 550; color: var(--ink-soft); transition: border-color .15s, background .15s, color .15s; }
.choice:hover { border-color: var(--ink); }
.choice.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }

.money-field { margin-top: 14px; display: grid; gap: 6px; }
.money-field > span:first-child, .trade-fields label > span, .installment-select > span { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.money-input { height: 48px; display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: #fff; transition: border-color .15s, box-shadow .15s; }
.money-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--surface-cool); }
.money-input b { padding-right: 8px; color: var(--muted); font-size: .85rem; font-weight: 500; }
.money-input input { width: 100%; border: 0; outline: 0; background: transparent; text-align: right; font-size: 1rem; font-weight: 650; }
.money-field small { color: var(--muted); font-size: .8rem; }
.money-field.is-disabled { opacity: .45; pointer-events: none; }

.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 40px; height: 24px; position: relative; background: var(--line-strong); border-radius: 24px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgb(10 10 15 / .3); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.switch em { font-size: .85rem; font-style: normal; font-weight: 600; color: var(--ink-soft); }

.trade-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.trade-fields label { display: grid; gap: 6px; }
.trade-fields .full-col { grid-column: 1 / -1; }
.trade-fields select, .trade-fields input[type=number], .installment-select select {
    min-width: 0; height: 46px; padding: 0 36px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none; font-size: .9rem;
}
.trade-fields input[type=number] { background-image: none; padding-right: 12px; }
.trade-fields select:focus, .trade-fields input:focus, .installment-select select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px var(--surface-cool); }
.trade-estimate, .installment-result { padding: 16px; background: var(--surface-soft); border-radius: var(--radius-md); display: grid; gap: 2px; }
.trade-estimate span, .installment-result small { font-size: .8rem; color: var(--muted); }
.trade-estimate strong, .installment-result strong { font-size: 1.2rem; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.trade-estimate small, .installment-result span { font-size: .8rem; color: var(--muted); }
.trade-warning { display: flex; gap: 8px; padding: 12px; background: var(--info-soft); border-radius: var(--radius-md); color: var(--info-ink); font-size: .8125rem; }
.trade-warning svg { width: 18px; height: 18px; flex: 0 0 auto; }
.installment-select { margin-top: 14px; display: grid; gap: 6px; }
.installment-result { margin-top: 12px; }
.lead-name-field { margin-top: 14px; display: grid; gap: 4px; font-size: .85rem; }
.lead-name-field > span { font-weight: 600; }
.lead-name-field small { color: var(--muted); }

.sim-summary { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 18px; box-shadow: var(--shadow-low); }
.sim-summary h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; }
.summary-values { margin: 0; display: grid; }
.summary-values div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-values dt { font-size: .875rem; color: var(--muted); }
.summary-values dd { font-size: .95rem; font-weight: 600; }
.summary-values .summary-balance { border-bottom: 0; padding-top: 16px; }
.summary-values .summary-balance dt { color: var(--ink); font-weight: 600; }
.summary-values .summary-balance dd { font-size: 1.5rem; font-weight: 700; letter-spacing: -.035em; }
.summary-installment { margin-top: -10px; text-align: right; font-size: .85rem; color: var(--muted); }
.whatsapp-cta { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--whatsapp); color: #fff; font-weight: 650; font-size: 1rem; transition: background .18s, transform .18s var(--ease); }
.whatsapp-cta:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }
.whatsapp-cta[disabled] { opacity: .5; pointer-events: none; }
.whatsapp-cta svg { width: 22px; height: 22px; }
.no-payment-note { display: flex; gap: 10px; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.no-payment-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--ink-soft); margin-top: 1px; }
.no-payment-note strong { color: var(--ink-soft); }

.sim-mobile-bar { display: none; }

/* Modal de contato */
.prod-contact-modal-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(10 10 15 / .55); }
.modal-card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: var(--radius-xl); padding: 32px; box-shadow: 0 30px 80px -20px rgb(10 10 15 / .4); display: grid; gap: 18px; }
.modal-card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.025em; }
.modal-card p { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.field label span { font-weight: 400; color: var(--muted); }
.prod-contact-input { width: 100%; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 0 14px; font-size: .95rem; outline: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.prod-contact-input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--surface-cool); }
.prod-contact-input.is-error { border-color: var(--danger); }
.modal-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

/* Upgrade advisor */
.upgrade-advisor { padding-block: clamp(48px, 7vw, 88px); }
.upgrade-hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 32px; }
.upgrade-hero h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 10px; }
.upgrade-hero p { color: var(--muted); max-width: 56ch; }
.max-monthly-box { min-width: 280px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.max-monthly-box label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.max-monthly-input { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--ink); }
.max-monthly-input b { color: var(--muted); font-weight: 500; }
.max-monthly-input input { flex: 1; border: 0; outline: 0; background: transparent; text-align: right; font-size: 1.3rem; font-weight: 700; padding: 4px 0; }
.max-monthly-hint { margin-top: 6px; font-size: .78rem; color: var(--muted); }
.upgrade-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.upgrade-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .2s; }
.upgrade-card:hover { box-shadow: var(--shadow-float); }
.upgrade-card.is-highlight { border: 2px solid var(--ink); }
.upgrade-card-tag { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag-label { font-size: .7rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tag-label.is-highlight { color: #fff; background: var(--ink); padding: 4px 9px; border-radius: 999px; }
.tag-sub { font-size: .75rem; color: var(--muted); }
.upgrade-card-img, .upgrade-card-img-placeholder { width: 100%; height: 180px; object-fit: contain; background: var(--surface-soft); border-radius: var(--radius-md); padding: 12px; mix-blend-mode: multiply; }
.upgrade-card-img-placeholder { display: grid; place-items: center; color: var(--muted); }
.upgrade-card h3 { font-size: 1.02rem; font-weight: 650; letter-spacing: -.015em; }
.upgrade-card-meta, .upgrade-card-price, .upgrade-total { font-size: .85rem; color: var(--muted); }
.upgrade-installment strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.upgrade-badges { display: grid; gap: 4px; }
.upgrade-badge { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--success); }
.upgrade-badge svg { width: 15px; height: 15px; flex: 0 0 auto; }
.upgrade-card-actions { margin-top: auto; padding-top: 6px; }
.upgrade-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.upgrade-btn:hover { border-color: var(--ink); }
.upgrade-btn.is-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.upgrade-empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--muted); }

@media (max-width: 1024px) {
    .pdp { grid-template-columns: 1fr; }
    .pdp-gallery { position: static; }
    .pdp-main { aspect-ratio: 4 / 3; }
    .sim-grid { grid-template-columns: 1fr; }
    .sim-summary { position: static; }
    .upgrade-cards { grid-template-columns: 1fr 1fr; }
    .upgrade-hero { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .pdp-main { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
    .pdp-ctas { grid-template-columns: 1fr; }
    .pdp-details { grid-template-columns: 1fr; }
    .trade-fields { grid-template-columns: 1fr; }
    .step-content { padding: 16px; }
    .simulation-step { grid-template-columns: 30px 1fr; gap: 10px; }
    .step-index { width: 30px; height: 30px; font-size: .78rem; }
    .simulation-step:not(:last-child)::before { left: 14px; top: 34px; }
    .upgrade-cards { grid-template-columns: 1fr; }
    .max-monthly-box { min-width: 0; }
    .sim-mobile-bar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgb(255 255 255 / .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
    }
    .sim-mobile-bar small { display: block; font-size: .72rem; color: var(--muted); }
    .sim-mobile-bar strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
    .sim-mobile-bar .btn { min-height: 46px; }
    body:has(.sim-mobile-bar) .site-footer { padding-bottom: 80px; }
    .modal-actions { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Trade-in e Upgrade — harmonização com o design system
   (as páginas têm CSS próprio inline; "body" eleva a especificidade)
   ========================================================================== */
body .ti-hero, body .upg-hero {
    background: var(--surface-soft);
    border-bottom: 0;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
body .ti-hero h1, body .upg-hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
body .ti-eyebrow, body .upg-eyebrow { color: var(--muted); }
body .ti-eyebrow svg, body .upg-eyebrow svg { stroke: currentColor; }
body .ti-step { border-color: var(--line); border-radius: 999px; }
body .ti-step-num { background: var(--ink); }
body .ti-wrap, body .upg-wrap { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
body .ti-form-card, body .upg-card, body .ti-info-card, body .upg-info-card { border-color: var(--line); border-radius: var(--radius-lg); box-shadow: none; }
body .ti-estimate-card, body .upg-result-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
body .ti-btn { background: var(--ink); color: #fff; border-radius: 999px; min-height: 52px; font-weight: 650; }
body .ti-btn:hover { background: #26262c; }
body .upg-cta-btn { background: var(--whatsapp); color: #fff; border: 0; border-radius: 999px; min-height: 48px; padding: 0 22px; }
body .upg-cta-btn:hover { background: var(--whatsapp-dark); }
body .ti-field input, body .ti-field select, body .upg-field input, body .upg-field select {
    min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background-color: #fff;
}
body .ti-field select, body .upg-field select {
    appearance: none; padding-right: 36px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
body .ti-field input:focus, body .ti-field select:focus, body .upg-field input:focus, body .upg-field select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--surface-cool); outline: 0; }
@media (max-width: 720px) {
    .sim-head .estimate-chip { display: none; }
    .selected-device-brief { grid-template-columns: 44px 1fr; }
    .selected-device-brief img { width: 44px; height: 44px; }
    .selected-device-brief b { grid-column: 2; padding: 0; }
    .whatsapp-cta { font-size: .95rem; }
}

/* ==========================================================================
   Correções
   ========================================================================== */

/* Ícones em caixas: centralização com flex + tamanho explícito (Safari/iOS) */
.trust-item .trust-icon, .offer-card-icon, .visit-pin-icon, .hero-tag-go, .brand-chip-mark, .icon-btn, .brand-mark, .p-card-media {
    display: inline-flex; align-items: center; justify-content: center;
}
.p-card-media { display: flex; }
.trust-icon svg { width: 20px; height: 20px; flex: none; margin: 0; }
.offer-card-icon svg { width: 22px; height: 22px; flex: none; }
.visit-pin-icon svg { width: 28px; height: 28px; flex: none; }
.hero-tag-go svg { width: 18px; height: 18px; flex: none; }
.icon-btn svg { width: 22px; height: 22px; flex: none; }
.btn svg, .link-arrow svg, .topbar svg, .checklist svg, .hero-proof svg, .pdp-facts svg, .visit-row svg, .service-list svg { height: auto; aspect-ratio: 1; flex: none; }

/* Categorias: texto e imagem não se sobrepõem */
.cat-card-copy { max-width: 50%; position: relative; z-index: 1; }
.cat-card > .link-arrow { position: relative; z-index: 1; }
.cat-card img { width: 46%; height: 92%; right: 2%; bottom: 4%; }
@media (max-width: 720px) {
    .cat-card { min-height: 220px; padding: 22px; }
    .cat-card-copy { max-width: 54%; }
    .cat-card h3 { font-size: 1.6rem; }
    .cat-card p { font-size: .85rem; }
    .cat-card img { width: 42%; height: 80%; right: 3%; bottom: 10%; }

    /* Faixa de confiança no mobile: ícone ao lado do texto, mais compacto */
    .trust-item { flex-direction: row; gap: 12px; padding: 16px 12px; }
    .trust-icon { width: 34px; height: 34px; border-radius: 10px; }
    .trust-icon svg { width: 18px; height: 18px; }
    .trust-item strong { font-size: .85rem; }
    .trust-item div > span { font-size: .75rem; }
}
