/* =========================================================
   Cachuf — loja
   Sistema visual: faixas de cor bem definidas, cantos retos,
   tipografia IBM Plex (Sans + Mono para rótulos).
   ========================================================= */
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { background: #fff; overflow-x: hidden; letter-spacing: -.005em; }
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.bg-ice { background: var(--ice); }
.bg-paper { background: var(--paper); }
.bg-brand { background: var(--brand); color: #fff; }
.bg-navy { background: var(--navy); color: #fff; }

.label {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.bg-brand .label, .bg-navy .label, .hero .label { color: var(--amber); }
.h-xl { font-size: clamp(36px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.h-lg { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 54ch; line-height: 1.55; }
.bg-brand .lead { color: #d3e9f3; } .bg-navy .lead { color: #a9c2cf; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.bg-brand .sec-head, .bg-navy .sec-head { border-color: rgba(255,255,255,.18); }
.sec-head h2 { margin-top: 14px; }
.sec-head p { margin: 12px 0 0; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.arrows { display: flex; gap: 0; flex: none; border: 1px solid var(--line); }
.arrow {
  width: 52px; height: 52px; border: none; background: #fff; display: grid; place-items: center; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.arrow + .arrow { border-left: 1px solid var(--line); }
.arrow:hover { background: var(--ink); color: #fff; }
.arrow svg { width: 20px; height: 20px; }
.arrow[disabled] { color: #b9c5cc; pointer-events: none; }
@media (max-width: 639px) { .sec-head .arrows { display: none; } }

.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--ice); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #f7c565; }
.btn-outline-white { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn .arr { transition: transform .25s var(--ease); display: inline-flex; }
.btn:hover .arr { transform: translateX(4px); }

/* Revelação (estado inicial só quando o JS de animação estiver ativo) */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.motion .split-line > span { display: inline-block; transform: translateY(110%); }
.split-line { display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }

/* ---------- Faixa de avisos ---------- */
.announce { background: var(--navy); color: #fff; font-size: 13px; font-weight: 500; position: relative; z-index: 45; }
.announce-row { display: flex; align-items: center; gap: 8px; height: 40px; }
.announce-msgs { flex: 1; position: relative; height: 100%; overflow: hidden; text-align: center; }
.announce-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(100%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; letter-spacing: .01em;
}
.announce-msg.on { opacity: 1; transform: none; }
a.announce-msg:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce .icon-btn { width: 36px; height: 36px; color: #fff; }
.announce .icon-btn:hover { background: rgba(255,255,255,.1); }
.announce .icon-btn svg { width: 16px; height: 16px; }
@media (max-width: 639px) {
  .announce-row { height: 48px; }
  .announce-msg { white-space: normal; line-height: 1.25; text-align: center; }
}

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.header.hide { transform: translateY(-100%); }
.header.shadow { box-shadow: 0 8px 30px rgba(11, 31, 42, .08); }
.header-row { display: flex; align-items: center; height: 76px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 24px; color: var(--navy); letter-spacing: -.03em; line-height: 1; display: block; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a { position: relative; padding: 10px 14px; font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu-btn { display: none; }
.cart-btn { position: relative; }
.cart-btn .badge {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
}
.nav-cta { margin-left: 8px; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25); } 60% { transform: scale(.95); } }

.subnav { background: var(--brand); }
.subnav-track { display: flex; overflow-x: auto; scrollbar-width: none; }
.subnav-track::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: 12px 16px; font-size: 14px; font-weight: 500; color: #e6f3f9; text-decoration: none; white-space: nowrap; position: relative;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.subnav a:first-child { padding-left: 0; }
.subnav a:hover { color: #fff; }
.subnav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .25s var(--ease); }
.subnav a:first-child::after { left: 0; }
.subnav a:hover::after { transform: scaleX(1); }

@media (max-width: 959px) {
  .nav, .nav-cta { display: none; }
  .menu-btn { display: inline-grid; margin-left: -10px; }
  .header-row { height: 64px; gap: 8px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 22px; }
  .brand img { width: 36px; height: 36px; }
}

/* Menu lateral (celular) */
.side { position: fixed; z-index: 70; top: 0; left: 0; height: 100dvh; width: min(360px, 88vw); background: #fff; transform: translateX(-100%); transition: transform .32s var(--ease); visibility: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.side.open { transform: none; visibility: visible; }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.side-body { overflow: auto; padding: 8px 20px 24px; }
.side-body a { display: block; padding: 14px 0; font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.side-body h3 { margin: 28px 0 6px; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side-body .cats a { font-size: 15px; font-weight: 500; padding: 10px 0; }

/* Busca */
.search-panel { position: fixed; z-index: 70; left: 0; right: 0; top: 0; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-104%); transition: transform .32s var(--ease); visibility: hidden; }
.search-panel.open { transform: none; visibility: visible; }
.search-box { display: flex; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.search-box svg.lupa { width: 26px; height: 26px; color: var(--ink); flex: none; }
.search-box input { flex: 1; height: 56px; border: none; font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; outline: none; background: transparent; min-width: 0; letter-spacing: -.02em; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; padding-bottom: 20px; max-height: 60vh; overflow: auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sr-item { display: flex; gap: 14px; align-items: center; padding: 12px; background: #fff; text-align: left; border: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .2s var(--ease); }
.sr-item:hover { background: var(--ice); }
.sr-item img { width: 60px; height: 60px; object-fit: contain; flex: none; mix-blend-mode: multiply; }
.sr-item b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.sr-item span span { font-weight: 700; color: var(--navy); }
.search-foot { padding-bottom: 22px; color: var(--muted); font-size: 14px; }
.search-foot button { background: none; border: none; color: var(--brand); font-weight: 700; text-decoration: underline; padding: 8px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 78% 30%, rgba(42, 159, 208, .35), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(10, 107, 146, .45), transparent 70%),
    linear-gradient(160deg, #0f3446 0%, #0b1f2a 55%, #08161e 100%);
}
.hero-bg::after { /* granulado leve para tirar o "liso digital" */
  content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-gl { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubbles-gl { display: block; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 80px); min-height: min(82vh, 760px); padding-top: 56px; padding-bottom: 72px; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { color: #b9cfda; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-facts { display: flex; gap: 0; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.14); max-width: 560px; }
.hero-facts div { flex: 1; padding: 18px 18px 0 0; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-facts b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.hero-facts span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8fb0c0; }

/* Vitrine do produto em destaque */
.spot { position: relative; background: #fff; color: var(--ink); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.spot-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.spot-top b { color: var(--brand); font-weight: 500; }
.spot-stage { position: relative; aspect-ratio: 1 / .82; overflow: hidden; background: #fff; }
.spot-slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; }
.spot-slide.on { opacity: 1; visibility: visible; }
.spot-slide img { position: absolute; left: 15%; top: 9%; width: 70%; height: 82%; object-fit: contain; }
.spot-off { position: absolute; top: 16px; right: 16px; z-index: 2; background: #d9480f; color: #fff; font-weight: 700; font-size: 13px; padding: 6px 10px; }
.spot-bar { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px; border-top: 1px solid var(--line); }
.spot-name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.spot-price { margin-top: 4px; display: flex; gap: 10px; align-items: baseline; }
.spot-price b { font-size: 22px; letter-spacing: -.02em; }
.spot-price s { color: var(--muted); font-size: 14px; }
.spot-bar .btn { min-height: 48px; }
.spot-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.spot-thumbs button { aspect-ratio: 1.3; background: #fff; border: none; border-right: 1px solid var(--line); padding: 8px; position: relative; opacity: .55; transition: opacity .2s var(--ease); }
.spot-thumbs button:last-child { border-right: none; }
.spot-thumbs button:hover, .spot-thumbs button[aria-current="true"] { opacity: 1; }
.spot-thumbs button::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.spot-thumbs button[aria-current="true"]::after { animation: spotbar var(--spot-ms, 5000ms) linear forwards; }
.spot.paused .spot-thumbs button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes spotbar { to { transform: scaleX(1); } }
.spot-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* Hero com foto/vídeo do painel */
.hero-media { min-height: min(86vh, 780px); display: flex; align-items: flex-end; }
.hero-media .media-bg { position: absolute; inset: 0; z-index: 0; }
.hero-media .media-bg img, .hero-media .media-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,31,42,0) 30%, rgba(11,31,42,.82) 100%); }
.hero-media .hero-inner { display: block; text-align: left; min-height: 0; padding-bottom: clamp(48px, 7vw, 96px); }
.hero-media .hero-facts { display: none; }

@media (max-width: 959px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 44px; padding-bottom: 48px; }
  .spot { max-width: 520px; width: 100%; }
  .hero-facts { margin-top: 36px; }
  .hero-facts b { font-size: 22px; }
}

/* ---------- Carrossel ---------- */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 16px 8px; margin: 0 -16px; scroll-padding-inline: 16px; cursor: grab; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging * { pointer-events: none; }
.rail > * { scroll-snap-align: start; flex: none; }
@media (min-width: 768px) { .rail { padding-inline: 24px; margin-inline: -24px; scroll-padding-inline: 24px; } }
.progress { height: 2px; background: var(--line); overflow: hidden; margin-top: 32px; }
.bg-brand .progress, .bg-navy .progress { background: rgba(255,255,255,.18); }
.progress i { display: block; height: 100%; width: 30%; background: var(--ink); }
.bg-brand .progress i, .bg-navy .progress i { background: #fff; }

/* ---------- Categorias (fundo gelo) ---------- */
.cat-card { width: clamp(230px, 23vw, 300px); text-decoration: none; color: var(--ink); display: block; }
.cat-img { aspect-ratio: 4 / 5; background: #fff; position: relative; overflow: hidden; }
.cat-img img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; transition: transform .7s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.07); }
.cat-img::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; transition: border-color .3s var(--ease); }
.cat-card:hover .cat-img::after { border-color: var(--brand); }
.cat-count { position: absolute; top: 14px; left: 14px; z-index: 1; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cat-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--navy); }
.cat-title svg { width: 20px; height: 20px; transition: transform .3s var(--ease); color: var(--brand); }
.cat-card:hover .cat-title svg { transform: translateX(6px); }
.cat-desc { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Benefícios (faixa azul) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 64px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.stats > div { padding: 32px 24px; }
.stats > div + div { border-left: 1px solid rgba(255,255,255,.2); }
.stat-num { font-weight: 700; font-size: clamp(48px, 7vw, 92px); letter-spacing: -.05em; line-height: .95; }
.stat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #c9e4f0; margin-top: 12px; }
.bgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.bitem { padding: 8px 28px 8px 0; }
.bitem + .bitem { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
.bicon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--amber); margin-bottom: 20px; border: 1px solid rgba(255,255,255,.3); }
.bicon svg { width: 26px; height: 26px; }
.bitem h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.bitem p { margin: 8px 0 0; color: #cfe6f1; font-size: 15px; }
@media (max-width: 859px) {
  .bgrid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .bitem:nth-child(3) { padding-left: 0; border-left: none; }
  .stats > div { padding: 24px 14px; }
}

/* ---------- Cartões de produto ---------- */
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.rail .pcard { width: clamp(240px, 23vw, 290px); }
@media (hover: hover) {
  .pcard:hover { border-color: var(--ink); box-shadow: 0 18px 40px rgba(11,31,42,.10); }
  .pcard:hover .pimg img { transform: scale(1.05); }
}
.popen { all: unset; cursor: pointer; display: flex; flex-direction: column; flex: 1; }
.popen:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.pimg { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.pimg img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; transition: transform .6s var(--ease); }
.badges { position: absolute; top: 0; left: 0; z-index: 1; display: flex; }
.badge-off, .badge-hot { padding: 5px 9px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge-off { background: #d9480f; color: #fff; }
.badge-hot { background: var(--navy); color: #fff; }
.pbody { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcat { font-family: var(--font-mono); font-size: 11px; color: var(--brand); text-transform: uppercase; letter-spacing: .1em; }
.pname { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-bottom: 14px; }
.price .now { font-weight: 700; font-size: 21px; color: var(--navy); letter-spacing: -.02em; }
.price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.pfoot { padding: 0 16px 16px; }
.add-btn {
  width: 100%; height: 46px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center; gap: 6px; position: relative; overflow: hidden; transition: color .25s var(--ease);
}
.add-btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .3s var(--ease); }
.add-btn:hover { color: #fff; }
.add-btn:hover::before { transform: none; }
.add-btn > * { position: relative; }
.add-btn svg { width: 16px; height: 16px; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 46px; background: var(--brand); color: #fff; padding: 0 2px; border-radius: 3px; }
.stepper button { width: 42px; height: 42px; border: none; background: transparent; color: #fff; display: grid; place-items: center; border-radius: 2px; transition: background-color .2s var(--ease); }
.stepper button:hover { background: rgba(255,255,255,.16); }
.stepper button svg { width: 16px; height: 16px; }
.stepper output { font-weight: 700; min-width: 28px; text-align: center; }
.stepper.light { background: #fff; color: var(--ink); border: 1px solid var(--line); height: 40px; }
.stepper.light button { color: var(--ink); width: 36px; height: 36px; }
.stepper.light button:hover { background: var(--ice); }

/* ---------- Banner 2 (faixa escura de ponta a ponta) ---------- */
.promo { padding: 0; }
.promo-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.promo-wrap.left .promo-media { order: 2; }
.promo-media { position: relative; overflow: hidden; min-height: 360px; background: var(--brand); }
.promo-media img, .promo-media video { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.promo-text { padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.promo-text p { color: #a9c2cf; margin: 0; font-size: 17px; max-width: 46ch; line-height: 1.6; }
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1px; background: rgba(255,255,255,.12); }
.ctile { background: #fff; display: grid; place-items: center; overflow: hidden; }
.ctile img { width: 72%; height: 72%; object-fit: contain; transition: transform .7s var(--ease); }
.ctile:hover img { transform: scale(1.08); }
@media (max-width: 859px) { .promo-wrap { grid-template-columns: 1fr; } .promo-wrap.left .promo-media { order: 0; } .promo-media { min-height: 320px; } }

/* ---------- Como funciona (fundo papel) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(11,31,42,.12); overflow: hidden; }
.steps-line i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.step { padding: 40px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid rgba(11,31,42,.12); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--brand); letter-spacing: .1em; margin-bottom: 40px; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.step p { color: var(--muted); margin: 10px 0 0; max-width: 32ch; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 28px 0; border-left: none; border-top: 1px solid rgba(11,31,42,.12); } .steps-line { display: none; } .step-num { margin-bottom: 16px; } }

/* ---------- Depoimentos ---------- */
.review { width: min(520px, 82vw); border: 1px solid rgba(255,255,255,.25); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.stars { color: var(--amber); display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; font-weight: 400; }
.review cite { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cfe6f1; }

/* ---------- Catálogo ---------- */
.catalog { padding-top: 0; }
.catalog-head { background: var(--ice); padding: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); }
.catalog-head .sec-head { margin-bottom: 0; border-bottom: none; padding-bottom: 32px; }
.catbar { position: sticky; top: var(--hh, 0px); z-index: 30; background: var(--ice); border-bottom: 1px solid var(--line); transition: top .35s var(--ease); }
.catbar-row { display: flex; align-items: center; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 14px; border: 1px solid #cbd8df; border-radius: 3px; background: #fff; font-weight: 500; font-size: 14px; color: var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: .55; margin-left: 6px; font-family: var(--font-mono); font-size: 11px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 28px 0 22px; flex-wrap: wrap; }
.toolbar h3 { font-size: 22px; letter-spacing: -.02em; }
.toolbar .count { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; margin-top: 2px; }
.tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-search { position: relative; }
.inline-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.inline-search input { height: 46px; width: min(300px, 100%); border-radius: 3px; border: 1px solid #cbd8df; background: #fff; padding: 0 16px 0 42px; font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.inline-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.sort select {
  height: 46px; border-radius: 3px; border: 1px solid #cbd8df; background: #fff; padding: 0 38px 0 14px; font-weight: 500; color: var(--ink); font-size: 14px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2352646e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
@media (max-width: 639px) { .tools, .inline-search, .inline-search input { width: 100%; } .sort { flex: 1; } .sort select { width: 100%; } }
.grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid .pcard { border-top: none; border-left: none; }
@media (hover: hover) { .grid .pcard:hover { border-color: var(--line); box-shadow: inset 0 0 0 1px var(--ink); } }
@media (max-width: 519px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid .pbody { padding: 12px 12px 0; } .grid .pfoot { padding: 0 10px 10px; } .grid .pname { font-size: 14px; } .grid .price .now { font-size: 18px; }
  .grid .add-btn { height: 42px; font-size: 13px; }
}
.more { display: flex; justify-content: center; padding-top: 40px; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); grid-column: 1 / -1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty svg { width: 44px; height: 44px; color: #b9c5cc; margin: 0 auto 12px; }
.empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.skeleton { background: linear-gradient(90deg, #eef2f4 25%, #f7f9fa 50%, #eef2f4 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; aspect-ratio: .62; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- CTA final (faixa azul com bolhas 3D) ---------- */
.cta { padding: 0; }
.cta-box { position: relative; overflow: hidden; isolation: isolate; text-align: left; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(120deg, #0a6b92 0%, #08587a 55%, #0b1f2a 100%); color: #fff; }
.cta-box .hero-gl { z-index: 1; }
.cta-box .container { position: relative; z-index: 2; }
.cta-box h2 { max-width: 15ch; }
.cta-box p { color: #cfe6f1; font-size: 18px; margin: 16px 0 32px; max-width: 46ch; }
.cta-box.has-media .media-bg { position: absolute; inset: 0; z-index: 0; }
.cta-box.has-media .media-bg img, .cta-box.has-media .media-bg video { width: 100%; height: 100%; object-fit: cover; }
.cta-box.has-media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(11,31,42,.85), rgba(11,31,42,.35)); }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: #a9c2cf; padding: 80px 0 120px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer p { margin: 18px 0 0; max-width: 36ch; line-height: 1.6; }
.footer h4 { color: #fff; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { color: #a9c2cf; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.footer a:hover { color: #fff; }
.footer svg { width: 17px; height: 17px; flex: none; }
.footer-wa { margin-top: 24px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); letter-spacing: .02em; }
@media (max-width: 859px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Detalhe do produto ---------- */
.pd { display: grid; gap: 28px; }
@media (min-width: 680px) { #product-modal { width: min(900px, calc(100vw - 32px)); } .pd { grid-template-columns: 1fr 1fr; align-items: center; } }
.pd-img { position: relative; background: #fff; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); }
.pd-img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; gap: 12px; }
.pd-info h3 { font-size: 28px; letter-spacing: -.03em; line-height: 1.15; }
.pd-info .price { padding: 0; margin: 0; }
.pd-info .price .now { font-size: 34px; }
.pd-save { color: var(--ok); font-weight: 600; font-size: 14px; }
.pd-desc { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }
.pd-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.pd-actions .stepper { width: 140px; flex: none; }
.pd-actions .btn { flex: 1; height: 52px; }

/* ---------- Carrinho ---------- */
.drawer { position: fixed; z-index: 70; top: 0; right: 0; height: 100dvh; width: min(460px, 100vw); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .34s var(--ease); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 12px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; letter-spacing: -.02em; }
.drawer-head small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; font-family: var(--font-mono); }
.drawer-list { flex: 1; overflow: auto; padding: 0 24px; margin: 0; list-style: none; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: none; }
.line img { width: 76px; height: 76px; object-fit: contain; border: 1px solid var(--line); background: #fff; padding: 6px; }
.line-name { font-weight: 500; font-size: 14px; line-height: 1.35; }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.line-row .stepper { width: 112px; }
.line-total { font-weight: 700; }
.line-unit { font-size: 13px; color: var(--muted); }
.remove { color: var(--muted); width: 36px; height: 36px; }
.remove:hover { color: var(--danger); background: var(--danger-50); }
.remove svg { width: 18px; height: 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--ice); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; }
.sum-row.total { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.sum-row.save { color: var(--ok); font-weight: 600; font-size: 14px; }
.link-btn { background: none; border: none; color: var(--muted); font-weight: 500; font-size: 14px; text-decoration: underline; min-height: 44px; }
.link-btn:hover { color: var(--danger); }

.cartbar { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); border: none; text-align: left; border-radius: 4px; transform: translateY(160%); transition: transform .4s var(--ease); }
.cartbar.show { transform: none; }
.cartbar strong { font-size: 18px; display: block; letter-spacing: -.02em; }
.cartbar small { color: #a9c2cf; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }
.cartbar .pill { background: var(--brand); padding: 12px 18px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; border-radius: 3px; }
.cartbar .pill svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .cartbar { left: auto; right: 24px; width: 360px; } }
body.has-cartbar .toast-wrap { bottom: 96px; }

/* Orçamento */
.quote-summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--ice); border-left: 3px solid var(--brand); margin-bottom: 18px; font-weight: 500; }
.quote-summary strong { font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.form-grid { display: grid; gap: 14px; }
.form-grid .btn { margin-top: 6px; height: 54px; font-size: 16px; }
.req { color: var(--danger); }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.done { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 8px 0 4px; }
.done-icon { width: 68px; height: 68px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; }
.done-icon svg { width: 34px; height: 34px; }
.done p { margin: 0; color: var(--muted); }
.done .btn { width: 100%; }

.fly { position: fixed; z-index: 95; width: 72px; height: 72px; background: #fff; box-shadow: var(--shadow-md); object-fit: contain; padding: 6px; pointer-events: none; }
.toast { border-radius: 4px; }

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

/* =========================================================
   Extras de movimento (extras.js) — leves, só transform/opacity
   ========================================================= */
.read-progress {
  position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; pointer-events: none; will-change: transform;
}
.to-top {
  position: fixed; z-index: 34; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px;
  border: none; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-md); display: grid; place-items: center;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); color: #fff; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.up { position: static; width: 20px; height: 20px; transform: none; }
.to-top circle { fill: none; stroke-width: 2.5; }
.to-top .track { stroke: var(--line); }
.to-top .ring { stroke: var(--brand); stroke-dasharray: 113; stroke-dashoffset: 113; }
@media (max-width: 899px) { body.has-cartbar .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* Títulos com palavras mascaradas */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }

/* Tracinho do rótulo que se desenha */
.label::before { transform: scaleX(var(--dash, 1)); transform-origin: left; }

/* Brilho que segue o mouse em cartões e categorias */
.pcard::after, .cat-img::before, .spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); z-index: 1;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(42, 159, 208, .10), transparent 60%);
}
.pcard:hover::after, .cat-card:hover .cat-img::before, .spot:hover::after { opacity: 1; }
.spot { will-change: transform; }

/* A cena 3D aparece suavemente quando termina de carregar */
.bubbles-gl { animation: gl-in 1.2s ease both; }
@keyframes gl-in { from { opacity: 0; } }

/* ---------- Faixa que corre abaixo do banner ---------- */
.ticker { background: var(--brand); border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--brand), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--brand), transparent); }
.tk-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tk-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 28px; color: #fff; text-decoration: none; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.14); transition: background-color .25s var(--ease);
}
.tk-item:hover { background: rgba(255,255,255,.08); }
.tk-img { width: 56px; height: 56px; background: #fff; display: grid; place-items: center; flex: none; overflow: hidden; }
.tk-img img { width: 84%; height: 84%; object-fit: contain; transition: transform .4s var(--ease); }
.tk-item:hover .tk-img img { transform: scale(1.12) rotate(-4deg); }
.tk-name { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.tk-count { font-family: var(--font-mono); font-size: 11px; color: var(--amber); letter-spacing: .06em; }
@media (max-width: 639px) { .tk-item { padding: 10px 18px; gap: 10px; } .tk-img { width: 44px; height: 44px; } .tk-name { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .ticker { overflow-x: auto; scrollbar-width: none; }
  html:not(.force-motion) .tk-track { animation: none; }
}

/* Vitrine do banner mais baixa em telas de notebook (miniaturas visíveis sem rolar) */
@media (min-width: 960px) and (max-height: 820px) {
  .spot-stage { aspect-ratio: 1 / .6; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; }
  .hero h1 { margin: 16px 0; }
  .hero-facts { margin-top: 32px; }
}
@media (min-width: 960px) and (max-height: 700px) {
  .spot-top { display: none; }
  .spot-stage { aspect-ratio: 1 / .46; }
  .spot-bar { padding: 12px 16px; }
  .spot-thumbs button { aspect-ratio: 2; padding: 6px; }
  .hero-inner { padding-top: 28px; padding-bottom: 36px; }
}
