/* FLIPR Motobombas — site público e área do cliente */
:root {
  --orange: #ff5a0a;
  --orange-600: #e84d00;
  --orange-50: #fff3ec;
  --ink: #14171a;
  --ink-2: #2b3036;
  --dark: #0e1013;
  --dark-2: #171a1e;
  --muted: #646b73;
  --line: #e4e7ea;
  --soft: #f5f6f7;
  --white: #fff;
  --ok: #15803d;
  --ok-bg: #e8f6ee;
  --warn: #b45309;
  --warn-bg: #fdf3e2;
  --bad: #b91c1c;
  --bad-bg: #fdecec;
  --info: #1d4ed8;
  --info-bg: #e9effd;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(16, 18, 20, .04), 0 8px 28px rgba(16, 18, 20, .07);
  --shadow-lg: 0 24px 60px rgba(16, 18, 20, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Manrope', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .auth-alt a, .form-actions a, .form-row-end a, .check a { color: var(--orange-600); font-weight: 600; }
p a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { flex: none; vertical-align: middle; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-bad { color: var(--bad); }
.accent { color: var(--orange); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }

/* ------------------------------------------------ botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255, 90, 10, .35); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 90, 10, .25); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-primary[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c9ced3; background: var(--soft); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #24282d; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f2f3; }
.btn-outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; min-height: 42px; padding: 0; border-radius: 10px; }
.btn-icon-plain { background: none; border: 0; color: var(--muted); padding: 8px; border-radius: 8px; cursor: pointer; }
.btn-icon-plain:hover { color: var(--bad); background: var(--bad-bg); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--orange-600); font-size: 12px; font-weight: 700; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange-600); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* ------------------------------------------------ badges e alertas */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-mute { background: #eef0f2; color: var(--muted); }
.flash-wrap { padding-top: 18px; }
.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 14px; font-size: 15px; border: 1px solid transparent; }
.alert-success { background: var(--ok-bg); color: #14532d; border-color: #c4e8d2; }
.alert-error { background: var(--bad-bg); color: #7f1d1d; border-color: #f6caca; }
.alert-info { background: var(--info-bg); color: #1e3a8a; border-color: #cbd8f8; }

/* ------------------------------------------------ topo */
.topbar { background: var(--dark); color: #c3c8cd; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { gap: 20px !important; }
.topbar a:hover { color: #fff; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a { padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav > a:hover, .nav > a.active { color: var(--orange-600); background: var(--orange-50); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }

/* ------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 85% 20%, rgba(255, 90, 10, .22), transparent 60%), linear-gradient(135deg, #0c0e11 0%, #1a1d22 100%); }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px; border-radius: 50%; border: 90px solid rgba(255, 90, 10, .07); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: 600px; padding: 64px 0; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.hero-copy > p { font-size: 18.5px; color: #c4c9ce; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #d5d9dd; font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--orange); }
.hero-points.vertical { flex-direction: column; }
.hero-art { position: relative; height: 480px; }
.hero-shot { position: absolute; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 6px solid rgba(255, 255, 255, .08); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot-1 { width: 56%; height: 78%; left: 0; top: 4%; transform: rotate(-3deg); }
.hero-shot-2 { width: 50%; height: 56%; right: 0; top: 0; transform: rotate(3deg); }
.hero-shot-3 { width: 48%; height: 46%; right: 6%; bottom: 0; transform: rotate(-1.5deg); }

/* ------------------------------------------------ seções */
.section { padding: 84px 0; }
.section-tight { padding: 40px 0 72px; }
.section-soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.section-head > p { max-width: 520px; color: var(--muted); margin: 0; }
.page-hero { background: linear-gradient(135deg, #0c0e11, #1c2025); color: #fff; padding: 52px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.page-hero p { color: #b9bec4; max-width: 640px; margin: 0; font-size: 17px; }
.breadcrumb { font-size: 13.5px; color: #8f969d; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb.dark { color: var(--muted); margin-bottom: 26px; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.category-media { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.category-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.category-card:hover .category-media img { transform: scale(1.05); }
.category-body { padding: 18px 20px 20px; }
.category-body h3 { display: flex; justify-content: space-between; align-items: center; font-size: 18px; margin-bottom: 6px; }
.category-body h3 .icon { color: var(--orange); }
.category-body p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------ produtos */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #f3f4f5; }
.product-media { overflow: hidden; }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-flag { position: absolute; left: 12px; top: 12px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.product-body .eyebrow { font-size: 11.5px; margin-bottom: 4px; }
.product-body h3 { font-size: 19px; margin-bottom: 12px; }
.product-body h3 a:hover { color: var(--orange-600); }
.spec-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 16px; }
.spec-mini dt { font-size: 11.5px; color: var(--muted); }
.spec-mini dd { margin: 0; font-size: 13.5px; font-weight: 600; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); min-height: 58px; }
.price { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-lg { font-size: 36px; margin: 6px 0 18px; }
.price-lg small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 500; }

.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 100px; }
.filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.filter-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--ink-2); }
.filter-link span { font-size: 12.5px; color: var(--muted); background: var(--soft); border-radius: 99px; padding: 1px 9px; }
.filter-link:hover { background: var(--soft); }
.filter-link.active { background: var(--orange-50); color: var(--orange-600); font-weight: 600; }
.filter-link.active span { background: #fff; }
.filter-box { margin-top: 24px; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.filter-box strong { display: flex; align-items: center; gap: 6px; }
.filter-box p { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.filter-box .btn { margin: 0 6px 6px 0; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.catalog-count { color: var(--muted); }
.catalog-count strong { color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-width: min(360px, 100%); height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); }
.search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 90, 10, .12); }
.search input { border: 0; outline: 0; flex: 1; min-width: 0; height: 100%; background: none; color: var(--ink); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 30px; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.pagination a:hover { border-color: var(--orange); }
.pagination a.active { background: var(--orange); color: #fff; border-color: var(--orange); }

.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .icon { color: #b9bfc5; margin: 0 auto 12px; }
.empty h3 { color: var(--ink); font-size: 20px; }
.empty.small { padding: 28px 10px; }

/* ------------------------------------------------ detalhe do produto */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gallery-main { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: #f3f4f5; overflow: hidden; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 78px; height: 78px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: #f3f4f5; padding: 0; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--orange); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 6px; }
.subtitle { font-size: 18px; color: var(--ink-2); margin: 0 0 6px; }
.sku { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.description { color: var(--ink-2); }
.buybox { margin-top: 26px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.buybox h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 8px 0; }
.buybox p { color: var(--muted); margin: 0; }
.buybox-locked { background: linear-gradient(135deg, #fff, var(--orange-50)); border-color: #ffd9c4; }
.buybox-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.buy-form { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 52px; background: #fff; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink-2); }
.qty button:hover { background: var(--soft); }
.qty input { width: 64px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; }
.qty-sm button { width: 34px; font-size: 17px; }
.qty-sm input { width: 50px; font-size: 15px; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 56px; }
.detail-wide { grid-column: 1 / -1; }
.detail-side { display: flex; flex-direction: column; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.panel h2 { font-size: 20px; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.panel-head h2 { margin: 0; }
.tech-table { width: 100%; border-collapse: collapse; }
.tech-table th, .tech-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.tech-table th { color: var(--muted); font-weight: 500; width: 45%; }
.tech-table td { font-weight: 600; }
.tech-table tr:last-child th, .tech-table tr:last-child td { border-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--orange); margin-top: 3px; }
.doc-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-weight: 600; }
.doc-link span { flex: 1; }
.doc-link .icon:first-child { color: var(--orange); }
.doc-link:hover { border-color: var(--orange); }
.curve { width: 100%; max-height: 520px; object-fit: contain; }
.related-head { margin-top: 72px; }

/* ------------------------------------------------ B2B e institucional */
.b2b { color: #fff; background: linear-gradient(135deg, #0c0e11, #1b1f24); position: relative; overflow: hidden; }
.b2b::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; border: 70px solid rgba(255, 90, 10, .08); right: -140px; top: -180px; }
.b2b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.b2b h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.b2b p { color: #bfc4c9; font-size: 17px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps-list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.steps-list span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--orange); font-weight: 800; font-family: var(--display); }
.steps-list strong { display: block; margin-bottom: 2px; }
.steps-list p { margin: 0; font-size: 14.5px; color: #a9afb5; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 16px; }
.feature h3 { font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.support { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.support h2 { font-size: clamp(26px, 3vw, 36px); }
.support p { color: var(--muted); margin: 0; max-width: 560px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------ formulários */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form h2 { font-size: 18px; margin: 28px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.form h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.panel.form h2 { border-top: 0; padding-top: 0; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #d5d9dd; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 90, 10, .12); }
.field input:disabled { background: var(--soft); color: var(--muted); }
.field-hint { font-size: 12.5px; color: var(--muted); }
.field-hint.ok { color: var(--ok); }
.field-hint.bad { color: var(--bad); }
.field-error { font-size: 13px; color: var(--bad); font-weight: 500; }
.has-error input, .has-error select, .has-error textarea { border-color: #ef9a9a; background: #fffafa; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 4px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.form-row-end { display: flex; justify-content: flex-end; font-size: 14px; margin: 4px 0 18px; }
.progress { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: s; }
.progress li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--muted); }
.progress span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff; font-size: 13px; }
.progress li.active { background: var(--orange-50); color: var(--orange-600); }
.progress li.active span { background: var(--orange); color: #fff; }
.done { text-align: center; padding: 56px 40px; }
.done h1 { font-size: 32px; }
.done p { color: var(--muted); max-width: 560px; margin: 0 auto 12px; }
.done-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin-bottom: 20px; font-family: var(--display); font-weight: 800; font-size: 24px; }
.done-icon-muted { background: var(--orange-50); color: var(--orange-600); }
.prose h2 { font-size: 21px; margin-top: 28px; }
.prose p { color: var(--ink-2); }

/* ------------------------------------------------ login */
.auth-body { background: #fff; }
.auth { display: grid; grid-template-columns: minmax(380px, 1fr) 1.1fr; min-height: 100vh; }
.auth-panel { display: flex; flex-direction: column; padding: 36px clamp(24px, 6vw, 80px); }
.auth-form { width: 100%; max-width: 420px; margin: auto 0; padding: 40px 0; }
.auth-form h1 { font-size: 34px; }
.auth-form .form .field { margin-bottom: 14px; }
.auth-alt { margin-top: 26px; color: var(--muted); }
.auth-back { color: var(--muted); font-size: 14px; }
.auth-back:hover { color: var(--ink); }
.auth-visual { display: flex; align-items: flex-end; padding: 56px; color: #fff; background: linear-gradient(180deg, rgba(10, 12, 14, .15), rgba(10, 12, 14, .88)), url('../img/login-bg.jpg') center / cover, #15181c; }
.auth-visual h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); max-width: 520px; }

/* ------------------------------------------------ área do cliente */
.account { background: var(--soft); padding: 40px 0 80px; min-height: 70vh; }
.account-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-nav { min-width: 0; position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.account-who { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.account-who strong { display: block; line-height: 1.25; }
.account-who small { color: var(--muted); font-size: 12.5px; }
.avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 800; font-family: var(--display); }
.account-table { display: flex; align-items: center; gap: 6px; margin: 14px 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--orange-50); color: var(--orange-600); font-size: 14px; }
.account-nav nav a, .account-nav nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-weight: 500; color: var(--ink-2); background: none; border: 0; cursor: pointer; text-align: left; font-size: 15px; }
.account-nav nav a:hover, .account-nav nav button:hover { background: var(--soft); }
.account-nav nav a.active { background: var(--dark); color: #fff; }
.account-nav nav .count { margin-left: auto; background: var(--orange); color: #fff; }
.account-nav nav a .icon, .account-nav nav button .icon { color: var(--muted); }
.account-nav nav a.active .icon { color: var(--orange); }
.account-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-title h1 { font-size: 30px; margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-title p { margin: 4px 0 0; }
.back-link { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat span { font-size: 13.5px; color: var(--muted); }
.stat strong { display: block; font-family: var(--display); font-size: 28px; margin-top: 4px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-grid p { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tfoot td { border-top: 2px solid var(--line); border-bottom: 0; font-weight: 600; padding-top: 16px; }
.table tr[data-href] { cursor: pointer; }
.table tr[data-href]:hover td { background: #fafafa; }
.num { text-align: right !important; white-space: nowrap; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 100px 36px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row:first-child { padding-top: 0; }
.cart-row-off { opacity: .6; }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #f3f4f5; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-name strong { display: block; }
.cart-name small { display: block; color: var(--muted); }
.cart-total { text-align: right; font-size: 16px; }
.cart-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.summary { position: sticky; top: 100px; }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin: 6px 0 4px; border-top: 1px solid var(--line); }
.summary-total strong { font-family: var(--display); font-size: 28px; }
.summary .field { margin: 14px 0; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.order-layout > div { display: flex; flex-direction: column; gap: 22px; }
.dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14.5px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 8px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.timeline p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------ rodapé */
.footer { background: var(--dark); color: #a9afb5; padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 14px; }
.footer-logo img { height: 46px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer p { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.footer-grid > div:first-child p { display: block; margin-top: 16px; max-width: 300px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.footer-bottom a { display: inline; padding: 0; }
.whats { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .15s; }
.whats:hover { transform: scale(1.06); }

/* ------------------------------------------------ responsivo */
@media (max-width: 1080px) {
  .category-grid, .product-grid, .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar .container > span:first-child { display: none; }
  .topbar .container { justify-content: center; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav-actions { margin: 10px 0 0; flex-direction: column; }
  .hero-grid, .b2b-grid, .product-detail, .detail-grid, .catalog, .account-grid, .cart-layout, .order-layout, .auth { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { min-height: 0; padding: 56px 0 64px; }
  .hero-art { height: 340px; }
  .filters, .account-nav, .summary { position: static; }
  .filters { display: flex; flex-wrap: wrap; gap: 6px; }
  .filters h3 { width: 100%; margin-bottom: 4px; }
  .filter-link { padding: 7px 12px; border: 1px solid var(--line); }
  .filter-box { width: 100%; }
  .account { padding-top: 20px; }
  .account-nav { padding: 14px; }
  .account-nav nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 2px; scrollbar-width: none; }
  .account-nav nav a, .account-nav nav button { width: auto; white-space: nowrap; padding: 8px 12px; border: 1px solid var(--line); font-size: 14px; }
  .account-nav nav form { flex: none; }
  .account-table { margin: 12px 0; }
  .product-detail { gap: 28px; }
  .auth-visual { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .progress { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container, .narrow { width: calc(100% - 32px); }
  .section { padding: 56px 0; }
  .category-grid, .product-grid, .product-grid-3, .feature-grid, .stat-grid, .info-grid, .form-grid, .form-grid-3, .footer-grid { grid-template-columns: 1fr; }
  .category-grid, .product-grid, .product-grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 16px; }
  .spec-mini { grid-template-columns: 1fr; }
  .spec-mini div:nth-child(n+3) { display: none; }
  .price { font-size: 18px; }
  .category-body { padding: 14px; }
  .category-body p { display: none; }
  .hero-art { display: none; }
  .card, .panel { padding: 20px; }
  .catalog-bar { flex-direction: column; align-items: stretch; }
  .cart-row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "img name del" "img qty total"; row-gap: 10px; }
  .cart-thumb { grid-area: img; width: 56px; height: 56px; }
  .cart-name { grid-area: name; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-total { grid-area: total; }
  .cart-row .btn-icon-plain { grid-area: del; }
  .footer-bottom { flex-direction: column; }
  .brand img { height: 44px; }
  .done { padding: 40px 20px; }
}
@media print {
  .topbar, .header, .footer, .account-nav, .whats, .btn { display: none !important; }
  .account { background: #fff; padding: 0; }
  .account-grid { display: block; }
}
