/* CWS Phones — vitrine. Mobile first. */
:root {
  --bg: #08080a;
  --bg-2: #0f0f12;
  --surface: #17171b;
  --surface-2: #1f1f25;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --muted: #a3a3ab;
  --accent: #ff6a2b;
  --accent-ink: #1c0a02;
  --wa: #25d366;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --light-bg: #f5f5f7;
  --light-text: #141416;
  --light-muted: #5d5d66;
  --r: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr: 64px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", Inter, Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(34px, 6vw, 68px); }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 46ch; text-wrap: pretty; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform 0.15s ease, background 0.2s, border-color 0.2s; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #ff7d45; }
.btn--ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.28); }
.btn--wa { background: var(--wa); color: #05260f; }
.btn--wa:hover { background: #3ee07e; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn small { font-weight: 500; opacity: 0.75; }
.btn--light { background: var(--light-text); color: #fff; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(8, 8, 10, 0.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.hdr__in { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; min-height: var(--hdr); display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand . burger" "search search search"; align-items: center; gap: 0 12px; padding-block: 8px; }
.brand { grid-area: brand; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand__mark { background: var(--accent); color: var(--accent-ink); padding: 3px 8px; border-radius: 9px; font-size: 15px; letter-spacing: 0; }
.nav, .hdr__wa { display: none; }
.burger { grid-area: burger; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.burger span, .burger span::before { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform 0.2s; }
.burger span::before { content: ""; position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }
.search { grid-area: search; position: relative; padding-block: 6px 4px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-40%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.07); padding: 0 16px 0 42px; font-size: 16px; outline: none; transition: border-color 0.2s, background 0.2s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); max-height: min(60vh, 420px); overflow: auto; z-index: 5; }
.suggest button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; text-align: left; min-height: 44px; }
.suggest button:hover, .suggest button[aria-selected="true"] { background: rgba(255, 255, 255, 0.08); }
.suggest em { font-style: normal; color: var(--muted); font-size: 13px; }
.suggest .none { padding: 12px; color: var(--muted); }

/* mega menu (desktop) / gaveta (celular) */
.mega { position: fixed; z-index: 49; left: 0; right: 0; top: var(--hdr-h, 112px); bottom: 0; background: var(--bg); overflow: auto; padding: 16px var(--gutter) 40px; border-top: 1px solid var(--line); }
.mega__grid { display: grid; gap: 22px; }
.mega h3 { font-size: 15px; letter-spacing: 0; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.mega h3 button { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--text); padding: 6px 0; min-height: 44px; }
.mega ul { list-style: none; }
.mega li button { display: flex; width: 100%; justify-content: space-between; padding: 10px 0; min-height: 44px; color: var(--muted); border-bottom: 1px solid var(--line); text-align: left; }
.mega li button:hover { color: var(--text); }
.mega li span { font-size: 13px; opacity: 0.7; }

@media (min-width: 900px) {
  :root { --hdr: 68px; }
  .hdr__in { grid-template-columns: auto auto minmax(220px, 420px) auto; grid-template-areas: "brand nav search wa"; justify-content: space-between; gap: 0 22px; }
  .burger { display: none; }
  .nav { grid-area: nav; display: flex; align-items: center; gap: 4px; }
  .nav a, .nav__btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s, background 0.2s; }
  .nav a:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
  .nav__btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
  .nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .hdr__wa { grid-area: wa; display: inline-flex; }
  .mega { top: var(--hdr); bottom: auto; max-height: calc(100vh - var(--hdr)); padding: 28px var(--gutter) 36px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
  .mega__grid { width: min(1180px, 100%); margin-inline: auto; grid-template-columns: repeat(6, 1fr); gap: 28px; }
  .mega li button { border: 0; padding: 7px 0; min-height: 36px; }
}

/* ---------- hero fixado (scroll narrativo) ---------- */
.pin { position: relative; height: 520vh; background: radial-gradient(120% 80% at 50% 0%, #1b1410 0%, var(--bg) 60%); }
.pin__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; padding-top: var(--hdr); }
.aurora { position: absolute; inset: -20%; background: radial-gradient(40% 40% at 50% 55%, var(--glow, rgba(255, 106, 43, 0.25)), transparent 70%); transition: background 0.6s; pointer-events: none; }
.intro { position: absolute; z-index: 3; text-align: center; padding: 0 var(--gutter); top: calc(var(--hdr) + 44px); left: 0; right: 0; will-change: opacity, transform; }
.intro h1 { font-size: clamp(48px, 11vw, 132px); margin-bottom: 14px; }
.intro .lead { margin: 0 auto 22px; }
.cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.phone { position: relative; z-index: 2; height: min(70vh, 640px); aspect-ratio: 300 / 620; perspective: 1400px; will-change: transform; margin-top: 10vh; }
.phone__in { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); }
.face--front { transform: rotateY(180deg); }
.face svg { width: 100%; height: 100%; }
.swatches { position: absolute; z-index: 4; bottom: 78px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); }
.swatches span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35); position: relative; }
.swatches button::after { content: ""; position: absolute; inset: -9px; }
.swatches button[aria-pressed="true"] { border-color: #fff; }
.feat { position: absolute; z-index: 3; opacity: 0; pointer-events: none; will-change: opacity, transform; left: var(--gutter); right: var(--gutter); bottom: 128px; padding: 18px 20px; border-radius: var(--r); background: linear-gradient(180deg, rgba(8, 8, 10, 0.2), rgba(8, 8, 10, 0.88)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.feat.is-on { pointer-events: auto; }
.feat h2 { font-size: clamp(30px, 8vw, 40px); margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 16px; }
.feat .big { display: block; font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.feat ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.feat li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.feat li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); font-size: 15px; font-weight: 500; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { border-color: rgba(255, 255, 255, 0.3); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--text); color: #111; border-color: var(--text); }
.gauge { display: grid; gap: 6px; margin-top: 14px; max-width: 360px; }
.gauge__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.gauge__row b { color: var(--text); }
.bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--ok); }
.bar i.mid { background: var(--warn); }
.bar i.low { background: var(--bad); }

@media (min-width: 900px) {
  .swatches { bottom: 24px; }
  .demo { left: auto; right: 16px; margin-inline: 0; }
  .phone { margin-top: 4vh; height: min(76vh, 700px); }
  .intro { top: calc(var(--hdr) + 7vh); }
  .feat { left: auto; right: auto; bottom: auto; top: 50%; width: min(440px, 40vw); padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: translateY(-50%); }
  .feat--r { right: max(var(--gutter), calc((100vw - 1180px) / 2)); }
  .feat--l { left: max(var(--gutter), calc((100vw - 1180px) / 2)); }
  .feat h2 { font-size: clamp(40px, 4.4vw, 60px); }
}
/* movimento reduzido: vira lista simples */
.pin.is-static { height: auto; }
.pin.is-static .pin__stage { position: static; height: auto; display: block; padding: calc(var(--hdr) + 32px) var(--gutter) 40px; overflow: visible; }
.pin.is-static .intro, .pin.is-static .feat { position: static; opacity: 1 !important; transform: none !important; margin: 0 auto 36px; width: min(560px, 100%); background: none; padding: 0; text-align: left; }
.pin.is-static .phone { margin: 24px auto; transform: none !important; height: 460px; }
.pin.is-static .phone__in { transform: none !important; }
.pin.is-static .swatches { display: none; }

/* ---------- faixas ---------- */
.band { padding-block: clamp(72px, 12vw, 150px); position: relative; overflow: hidden; }
.band--light { background: var(--light-bg); color: var(--light-text); }
.band--light .lead, .band--light .muted { color: var(--light-muted); }
.band--mac { background: radial-gradient(90% 70% at 50% 100%, #1a2230, var(--bg)); }
.split { display: grid; gap: 36px; align-items: center; }
.split__art { max-width: 560px; margin-inline: auto; width: 100%; }
.split__art svg { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.band--light .split__art svg { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.25)); }
.split h2 { margin-bottom: 18px; }
.from { display: inline-flex; align-items: baseline; gap: 6px; margin-left: 4px; color: var(--muted); font-size: 15px; }
.band--light .from { color: var(--light-muted); }
.from b { color: inherit; font-size: 1.25em; }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dots-sw { display: flex; gap: 10px; margin-top: 22px; }
.dots-sw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2); position: relative; }
.dots-sw button::after { content: ""; position: absolute; inset: -8px; }
.dots-sw button[aria-pressed="true"] { border-color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts b { display: block; font-size: clamp(20px, 3vw, 28px); letter-spacing: -0.02em; }
.facts span { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--rev .split__art { order: -1; }
}
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .reduce [data-reveal] { opacity: 1; transform: none; transition: none; }

/* bento */
.bento { display: grid; gap: 14px; margin-top: 40px; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; text-align: left; transition: transform 0.3s ease, border-color 0.3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); }
.tile h3 { font-size: clamp(28px, 4vw, 38px); }
.tile p { color: var(--muted); margin-top: 6px; }
.tile__art { margin: 18px auto 0; width: min(78%, 330px); }
.tile .from { margin: 10px 0 0; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } }

/* ---------- catálogo ---------- */
.cat { background: var(--bg-2); padding-block: clamp(64px, 10vw, 120px); border-top: 1px solid var(--line); }
.cat__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.filters { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 26px; }
.filters h3 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.scrollx { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
.scrollx::-webkit-scrollbar { display: none; }
.scrollx .chip { flex: none; }
.frow { display: grid; gap: 16px; }
.filters > *, .frow > * { min-width: 0; }
.field select { width: 100%; min-height: 48px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 0 14px; font-size: 16px; }
.range { width: 100%; accent-color: var(--accent); height: 44px; }
.range-out { font-weight: 600; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--text); }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 20px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 15px; gap: 10px; flex-wrap: wrap; }
.link { color: var(--accent); font-weight: 600; min-height: 44px; padding: 0 4px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }
.card__media { aspect-ratio: 4 / 3.2; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 40%, var(--tint, rgba(255, 255, 255, 0.08)), transparent 75%), var(--surface-2); padding: 18px; position: relative; }
.card__media svg, .card__media img { max-height: 100%; width: auto; max-width: 78%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45)); }
.card__media img { max-width: 100%; width: 100%; height: 100%; object-fit: cover; filter: none; position: absolute; inset: 0; padding: 0; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); z-index: 1; }
.badge--lacrado { color: #7dd3fc; } .badge--novo { color: var(--ok); } .badge--seminovo { color: var(--warn); } .badge--usado { color: #fda4af; }
.badge--res { left: auto; right: 12px; color: var(--text); background: rgba(255, 106, 43, 0.85); }
.card__body { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card__title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.card__meta { font-size: 14px; color: var(--muted); }
.mini { display: grid; gap: 5px; }
.mini .bar { height: 6px; }
.mini__txt { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.mini__txt b { color: var(--text); font-weight: 600; }
.card__price { margin-top: auto; padding-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.card.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 20% { box-shadow: 0 0 0 3px var(--accent), 0 0 40px rgba(255, 106, 43, 0.5); } }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.empty .btn { margin-top: 16px; }

/* explicação dos estados */
.states { display: grid; gap: 10px; margin-top: 40px; }
.states div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.states b { display: block; margin-bottom: 4px; }
.states p { font-size: 14px; color: var(--muted); }
@media (min-width: 700px) { .states { grid-template-columns: repeat(4, 1fr); } .frow { grid-template-columns: 1fr 1fr 1fr; align-items: end; } }
@media (min-width: 900px) { .filters { padding: 24px; } }

/* ---------- modal ---------- */
dialog.sheet { border: 0; padding: 0; background: var(--surface); color: var(--text); width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; overflow: auto; overscroll-behavior: contain; }
dialog.sheet::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
dialog.sheet[open] { animation: up 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet__x { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 5; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); border: 1px solid var(--line); font-size: 22px; }
.sheet__grid { display: grid; }
.gal { background: radial-gradient(70% 70% at 50% 40%, var(--tint, rgba(255, 255, 255, 0.1)), transparent 75%), var(--surface-2); padding: 28px 20px 16px; display: grid; gap: 14px; }
.gal__main { height: min(44vh, 380px); display: grid; place-items: center; position: relative; }
.gal__main svg { max-height: 100%; width: auto; max-width: 70%; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5)); }
.gal__main img { max-height: 100%; max-width: 100%; border-radius: 16px; object-fit: contain; }
.gal__th { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gal__th button { width: 56px; height: 56px; border-radius: 12px; border: 2px solid transparent; background: var(--surface); overflow: hidden; display: grid; place-items: center; position: relative; }
.gal__th button[aria-pressed="true"] { border-color: var(--accent); }
.gal__th img { width: 100%; height: 100%; object-fit: cover; }
.gal__th svg { width: 70%; height: 70%; }
.info { padding: 22px 22px 28px; display: grid; gap: 16px; align-content: start; }
.info h2 { font-size: clamp(28px, 5vw, 40px); }
.info .price { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.specs div { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.specs span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.specs b { font-size: 16px; }
.bigbat { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 8px; }
.cond-hint { font-size: 14px; color: var(--muted); }
.incl { font-size: 14px; color: var(--muted); }
.incl b { color: var(--text); }
.ctas { display: grid; gap: 10px; }
@media (min-width: 900px) {
  dialog.sheet { width: min(1040px, 94vw); margin: auto; border-radius: 28px; max-height: 88vh; }
  .sheet__grid { grid-template-columns: 1.05fr 1fr; }
  .gal { padding: 48px 32px 24px; }
  .gal__main { height: 460px; }
  .info { padding: 56px 36px 36px; }
}

/* ---------- troca / rodapé ---------- */
.steps { display: grid; gap: 14px; margin-top: 38px; counter-reset: s; }
.step { background: #fff; border-radius: 24px; padding: 24px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { color: var(--light-muted); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.foot { padding-block: 56px 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot__in { display: grid; gap: 22px; }
.foot a:hover { color: var(--text); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1fr auto; align-items: center; } }

/* faixa de demonstração + toast */
.demo { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(30, 30, 36, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); font-size: 13px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); max-width: 520px; margin-inline: auto; }
.demo p { flex: 1; color: var(--muted); line-height: 1.3; }
.demo b { color: var(--text); }
.demo .btn { min-height: 38px; font-size: 13px; padding: 0 14px; }
.demo__x { width: 36px; height: 36px; color: var(--muted); font-size: 18px; flex: none; }
.toast { position: fixed; z-index: 70; top: calc(var(--hdr-h, 112px) + 10px); left: 50%; transform: translate(-50%, -16px); opacity: 0; transition: 0.35s; padding: 10px 18px; border-radius: 999px; background: var(--text); color: #111; font-size: 14px; font-weight: 600; max-width: calc(100vw - 32px); pointer-events: none; text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ======================================================================
   Versão 2: cores animadas, tour de cores, disponibilidade, ficha do modelo
   ====================================================================== */
@property --c { syntax: '<color>'; inherits: true; initial-value: #8a8f98; }
svg.art { transition: --c 0.8s ease; }

.seg--hero { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); margin: 0 auto 18px; max-width: 100%; }
.seg--hero button { min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.seg--hero button[aria-selected="true"] { background: var(--text); color: #111; }
.intro h1 { font-size: clamp(42px, 9vw, 112px); }
.intro .cta .btn { min-height: 46px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.ok { background: rgba(74, 222, 128, 0.14); color: var(--ok); }
.pill.warn { background: rgba(251, 191, 36, 0.14); color: var(--warn); }

.tour { position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; width: min(440px, calc(100% - 24px)); padding: 8px; border-radius: 26px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); transition: border-color 0.4s; }
.tour.is-unavailable { border-color: rgba(251, 191, 36, 0.45); }
.tour__nav { width: 44px; height: 44px; flex: none; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); }
.tour__nav:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.tour__mid { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: center; text-align: center; }
.tour__dots { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tour__dots button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35); position: relative; transition: transform 0.2s; }
.tour__dots button::after { content: ""; position: absolute; inset: -8px; }
.tour__dots button[aria-pressed="true"] { border-color: #fff; transform: scale(1.12); }
.tour__dots button.is-off { opacity: 0.55; outline: 1px dashed rgba(255, 255, 255, 0.55); outline-offset: 2px; }
.tour__info { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: center; font-size: 14px; }
.tour__act { font-size: 13px; font-weight: 600; color: var(--accent); min-height: 32px; display: inline-flex; align-items: center; }
.tour.is-unavailable .tour__act { color: var(--warn); }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.3); color: var(--muted); font-size: 14px; }
.opt.is-ok { border: 1px solid var(--ok); color: var(--text); background: rgba(74, 222, 128, 0.1); }
.legend { font-size: 12px; color: var(--muted); margin-top: 8px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px dashed var(--muted); margin: 0 4px 0 10px; vertical-align: 0; }
.dot.ok { background: var(--ok); border: 0; margin-left: 0; }
.mini-h { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 14px 0 8px; }
.note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.feat ul { font-size: 15px; }
.link { background: none; text-align: left; }
.fam { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
#fModelInfo { padding-top: 4px; }

/* ficha do modelo */
.badge--ms { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.hl { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.hl li { display: flex; gap: 10px; align-items: baseline; }
.hl li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.ms-color { text-align: center; font-size: 16px; min-height: 24px; }
.cgrid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.cbtn { display: grid; grid-template-columns: 22px 1fr; gap: 3px 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 2px solid transparent; min-height: 44px; }
.cbtn i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.3); grid-row: span 2; }
.cbtn span { font-size: 14px; font-weight: 600; }
.cbtn em { grid-column: 2; justify-self: start; font-style: normal; }
.cbtn[aria-pressed="true"] { border-color: var(--accent); }
.specl { display: grid; }
.specl div { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specl dt { color: var(--muted); font-size: 13px; }
.specl dd { font-size: 14px; }
#modelSheet .info { gap: 14px; }

/* listas longas: o navegador pula o que está fora da tela */
.card { content-visibility: auto; contain-intrinsic-size: 300px 420px; }

@media (max-width: 899px) {
  .tour { bottom: 14px; }
  .feat { bottom: 190px; padding: 14px 16px; }
  .feat h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .feat li, .feat p { font-size: 14px; line-height: 1.35; }
  .feat li { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .intro .cta .btn { flex: 1 1 auto; }
}
@media (min-width: 900px) {
  .tour { bottom: 24px; }
  .demo { right: 16px; }
}

/* fotos reais por modelo/cor (opcionais): ficam em cartão claro, como nos fundos originais */
.gal__main--photo { height: auto; }
.gal__main--photo img, .ph-model { width: 100%; height: auto; max-height: min(52vh, 460px); object-fit: contain; border-radius: 16px; background: #f5f5f7; filter: none; }
.gal__th img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- visualizador de fotos com zoom ---------- */
dialog.zoom { border: 0; padding: 0; margin: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; background: rgba(8, 8, 10, 0.97); color: var(--text); overflow: hidden; }
dialog.zoom::backdrop { background: rgba(0, 0, 0, 0.85); }
.zoom__bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; background: linear-gradient(rgba(8, 8, 10, 0.9), transparent); }
.zoom__hint { font-size: 13px; color: var(--muted); }
.zoom__btns { display: flex; gap: 6px; }
.zoom__btns button, .zoom__nav { min-width: 44px; height: 44px; border-radius: 22px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); font-size: 22px; line-height: 1; padding: 0 12px; }
.zoom__btns button:hover, .zoom__nav:hover { background: rgba(255, 255, 255, 0.2); }
.zoom__btns .zoom__fit { font-size: 14px; font-weight: 600; }
.zoom__stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.zoom__stage img { position: absolute; left: 50%; top: 50%; max-width: 94%; max-height: 82%; transform-origin: center; will-change: transform; background: #f5f5f7; border-radius: 12px; pointer-events: none; }
.zoom__nav { position: absolute; z-index: 3; top: 50%; margin-top: -22px; }
.zoom__nav--prev { left: 12px; } .zoom__nav--next { right: 12px; }
.zoom__dots { position: absolute; z-index: 3; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.zoom__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.zoom__dots i.on { background: #fff; }
.zoom-btn { position: absolute; right: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.gal__main { position: relative; }
.gal__main img[data-zoomable] { cursor: zoom-in; }

/* ======================================================================
   Herói com fotos reais: palco claro (o fundo das fotos é #f5f5f7)
   ====================================================================== */
.shots { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; will-change: transform; }
.pin.is-photo .shots { display: block; }
.pin.is-photo .phone, .pin.is-photo .aurora { display: none; }
.shots img { position: absolute; left: 50%; top: 50%; height: 112vh; width: auto; max-width: none; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.18s linear; }
.shots img[data-view="detalhe"] { height: 100vh; min-width: 100%; object-fit: cover; }

.pin { transition: background-color 0.4s; }
.pin.is-photo { background: #f5f5f7; --text: #111114; --muted: #55555d; --line: rgba(0, 0, 0, 0.14); color: #111114; }
.pin.is-photo .intro h1, .pin.is-photo .feat h2 { color: #111114; }
.pin.is-photo .lead, .pin.is-photo .feat p, .pin.is-photo .feat li, .pin.is-photo .legend, .pin.is-photo .mini-h, .pin.is-photo .note { color: #55555d; }
.pin.is-photo .btn--ghost { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.18); color: #111114; }
.pin.is-photo .btn--ghost:hover { border-color: rgba(0, 0, 0, 0.4); }
.pin.is-photo .seg--hero { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.1); }
.pin.is-photo .seg--hero button { color: #55555d; }
.pin.is-photo .seg--hero button[aria-selected="true"] { background: #111114; color: #fff; }
.pin.is-photo .chip { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.16); color: #111114; }
.pin.is-photo .chip[aria-pressed="true"], .pin.is-photo .chip:hover { border-color: #111114; }
.pin.is-photo .gauge__row, .pin.is-photo .gauge__row b { color: #111114; }
.pin.is-photo .bar { background: rgba(0, 0, 0, 0.12); }
.pin.is-photo .opt { color: #55555d; border-color: rgba(0, 0, 0, 0.3); }
.pin.is-photo .opt.is-ok { color: #111114; background: rgba(22, 163, 74, 0.12); border-color: #16a34a; }
.pin.is-photo .link { color: #c2410c; }
.pin.is-photo .tour { --text: #f5f5f7; --muted: #b5b5bd; color: #f5f5f7; background: rgba(12, 12, 14, 0.82); }
@media (max-width: 899px) {
  .pin.is-photo .feat { background: linear-gradient(rgba(245, 245, 247, 0), rgba(245, 245, 247, 0.96) 38%); }
}
@media (min-width: 900px) {
  .shots img[data-view="detalhe"] { left: 33%; }
}

/* sem "pisca": o herói só aparece quando o modelo e as fotos já foram definidos */
.pin { transition: none; }
.pin__stage { opacity: 0; transition: opacity 0.35s ease; }
.pin.is-ready .pin__stage, .no-js .pin__stage { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pin__stage { transition: none; } }

/* materiais e pulseiras (ficha técnica) */
.mat { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mat h4 { font-size: 16px; letter-spacing: -0.01em; }
.mat ul { list-style: none; display: grid; gap: 8px; margin-top: 8px; }
.mat li { display: grid; grid-template-columns: minmax(96px, 30%) auto 1fr; gap: 4px 10px; align-items: baseline; font-size: 14px; }
.mat li span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.mat li em { font-style: normal; color: var(--muted); grid-column: 1 / -1; font-size: 13px; }
@media (min-width: 560px) { .mat li em { grid-column: auto; } }

/* seção Apple Watch com foto real */
#watchArt { max-width: 340px; }
#watchArt.has-photo { max-width: 680px; }
#watchArt img { width: 100%; height: auto; border-radius: 20px; cursor: zoom-in; background: #fafafa; filter: none; }
.band--light .dots-sw { flex-wrap: wrap; }
