/* Micronos / Horsetime — showroom
   Uma folha de estilo para as duas marcas; as cores mudam por [data-brand]. */

:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-2: #eeeeea;
  --ink: #15171a;
  --ink-2: #3b4047;
  --muted: #646a72;
  --line: #e1e1dc;
  --dark: #0e0f11;
  --dark-2: #17191d;
  --dark-line: #2a2d33;
  --on-dark: #f3f3f0;
  --on-dark-muted: #a3a8b0;

  --accent: #e3262f;
  --accent-hover: #c81d26;
  --accent-ink: #ffffff;
  --accent-soft: #fde9ea;
  --led: #ff3b3b;
  --led-off: rgba(255, 59, 59, .08);
  --glow: rgba(255, 40, 40, .55);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 18, 22, .04), 0 8px 24px rgba(16, 18, 22, .06);
  --shadow-lg: 0 2px 4px rgba(16, 18, 22, .05), 0 24px 48px rgba(16, 18, 22, .12);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
  --wrap: 1200px;
  --header-h: 72px;
}

[data-brand="horsetime"] {
  --accent: #f29a1f;
  --accent-hover: #df8710;
  --accent-ink: #17130c;
  --accent-soft: #fdf0dc;
  --led: #ffb02e;
  --led-off: rgba(255, 176, 46, .08);
  --glow: rgba(255, 160, 30, .5);
  --dark: #121110;
  --dark-2: #1b1a18;
  --dark-line: #2e2c29;
  --bg: #f6f5f1;
  --surface-2: #efede7;
  --line: #e3e0d8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.i { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
.i svg { width: 100%; height: 100%; }
.muted { color: var(--muted); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -6px var(--glow); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--on-dark); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.btn .i { width: 1.15em; height: 1.15em; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.text-link .i { transition: transform .2s; }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(245, 245, 242, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
[data-brand="horsetime"] .site-header { background: rgba(246, 245, 241, .82); }
.site-header.is-scrolled { border-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 28px; width: auto; }
[data-brand="horsetime"] .brand img { height: 40px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--surface-2); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; }
.menu-toggle .i { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .header-row { gap: 12px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 12px; border-radius: 10px; font-size: 17px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .header-cta span:not(.i) { display: none; }
  .header-cta { width: 44px; height: 44px; padding: 0; }
  .brand img { height: 22px; }
  [data-brand="horsetime"] .brand img { height: 34px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(40% 50% at 10% 110%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    linear-gradient(var(--dark), var(--dark));
}
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(80% 80% at 60% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(80% 80% at 60% 40%, #000 30%, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: min(720px, calc(100svh - var(--header-h))); padding-top: 72px; padding-bottom: 88px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 12px var(--glow); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin: 20px 0 22px; font-weight: 600; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--led); text-shadow: 0 0 32px var(--glow); }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark-muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--dark-line); color: var(--on-dark-muted); }

/* placar de LED (Micronos) */
.led-board {
  position: relative; background: linear-gradient(180deg, #16181c, #0b0c0e); border-radius: 22px; padding: 34px 30px 22px;
  border: 1px solid #2b2e34; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 10px #1c1e22, 0 0 0 11px #2a2d33;
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transform-origin: left center;
}
.led-screws i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #5a5f68, #22252a); }
.led-screws i:nth-child(1) { top: 12px; left: 12px; } .led-screws i:nth-child(2) { top: 12px; right: 12px; }
.led-screws i:nth-child(3) { bottom: 12px; left: 12px; } .led-screws i:nth-child(4) { bottom: 12px; right: 12px; }
.led-row { display: flex; gap: 18px; justify-content: space-between; }
.led-row + .led-row { margin-top: 22px; padding-top: 22px; border-top: 1px dashed #2a2d33; }
.led-cell { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.led-cell.center { align-items: center; }
.led-label { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #e9e9e6; opacity: .85; }
.led-brand { margin-top: 18px; text-align: center; font: 600 13px var(--display); letter-spacing: .3em; color: #6b7079; }

/* dígitos de 7 segmentos */
.seg { display: flex; gap: .12em; font-size: clamp(42px, 5vw, 64px); height: 1.5em; color: var(--led); font-family: ui-monospace, monospace; line-height: 1.5; }
.seg svg { height: 100%; width: auto; overflow: visible; }
.seg .on { fill: var(--led); filter: drop-shadow(0 0 6px var(--glow)); }
.seg .off { fill: var(--led-off); }
.seg.big { font-size: clamp(56px, 7vw, 92px); }
.led-cell.end { align-items: flex-end; }
.led-title { text-align: center; font: 700 11px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: #6b7079; margin: -10px 0 20px; }
.led-row.score .seg { font-size: clamp(30px, 3.1vw, 46px); }
.led-row.score { gap: 24px; }
.led-row.score .led-cell.center { padding: 0 22px; border-left: 1px dashed #2a2d33; border-right: 1px dashed #2a2d33; }
.led-row.three .seg { font-size: clamp(26px, 2.6vw, 38px); }
.seg.alt { --led: #ffb02e; --led-off: rgba(255, 176, 46, .08); --glow: rgba(255, 160, 30, .5); }
.led-cell.is-flash .seg { animation: goal .9s ease 2; }
@keyframes goal { 50% { opacity: .25; } }

/* hero Horsetime */
[data-brand="horsetime"] .hero-visual { position: relative; display: grid; place-items: center; }
.hero-product { width: 100%; max-width: 560px; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.timer { position: absolute; top: -10px; right: 0; z-index: 2; background: rgba(10,10,9,.82); border: 1px solid #34312c; border-radius: 16px; padding: 14px 20px 10px; backdrop-filter: blur(8px); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.timer-label { font: 700 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.timer .seg { font-size: clamp(40px, 4.6vw, 60px); margin-top: 6px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 64px; min-height: 0; }
  .led-board { transform: none; padding: 26px 18px 18px; }
  .seg { font-size: clamp(30px, 9vw, 52px); }
  .led-row.score .seg { font-size: clamp(22px, 7.4vw, 44px); }
  .led-row.three .seg { font-size: clamp(18px, 5.6vw, 32px); }
  .timer { top: -16px; right: 4px; }
}
@media (max-width: 420px) { .led-row { gap: 10px; } .led-label { font-size: 10px; } }

/* ---------- faixa de diferenciais ---------- */
.features { background: var(--surface); border-bottom: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-list li { display: flex; gap: 14px; padding: 30px 24px; border-right: 1px solid var(--line); }
.feature-list li:first-child { padding-left: 0; }
.feature-list li:last-child { border-right: 0; padding-right: 0; }
.feature-list .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
[data-brand="horsetime"] .feature-list .i { color: #b4690a; }
.feature-list h3 { font-size: 16px; letter-spacing: -.01em; margin-bottom: 4px; }
.feature-list p { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
  .feature-list li, .feature-list li:first-child, .feature-list li:last-child { padding: 22px 16px; border-right: 0; }
  .feature-list li:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
  .feature-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li, .feature-list li:first-child, .feature-list li:last-child, .feature-list li:nth-child(odd) { border-right: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .feature-list li:last-child { border-bottom: 0; }
}

/* ---------- seções ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font: 700 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
[data-brand="horsetime"] .eyebrow { color: #b4690a; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 30px; } }

/* categorias */
.cats { padding-bottom: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-tile { grid-column: span 2; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-tile:nth-child(-n+2) { grid-column: span 3; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-media { aspect-ratio: 16 / 9; background: #fff; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.cat-tile:nth-child(-n+2) .cat-media { aspect-ratio: 2 / 1; }
.cat-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.cat-tile:hover .cat-media img { transform: scale(1.04); }
.cat-body { padding: 20px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.cat-body h3 { font-size: 20px; }
.cat-body p { color: var(--muted); font-size: 15px; }
.count { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.count .i { width: 1em; height: 1em; transition: transform .2s; }
.cat-tile:hover .count .i { transform: translateX(3px); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } .cat-tile, .cat-tile:nth-child(-n+2) { grid-column: span 1; } .cat-tile:nth-child(-n+2) .cat-media { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* grade de produtos */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card[hidden] { display: none; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 22px; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body .eyebrow { margin: 0; font-size: 11px; }
.card-body h3 { font-size: 19px; letter-spacing: -.015em; }
.card-body p { font-size: 14.5px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-cta { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.card-cta .i { width: 1em; height: 1em; transition: transform .2s; }
.card:hover .card-cta .i { transform: translateX(4px); }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 12px; } .card-media { padding: 12px; } .card-body { padding: 14px; } .card-body h3 { font-size: 16px; } .card-body p { display: none; } .card-cta { font-size: 13px; } }
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } }

/* chips de filtro */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: all .2s; }
.chip span { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active span { background: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 700px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* como funciona */
.how { background: var(--dark); color: var(--on-dark); }
.how .section-head p { color: var(--on-dark-muted); }
.how .eyebrow { color: var(--led); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; margin-bottom: 44px; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); }
.step-n { display: block; font: 600 40px/1 var(--display); color: var(--led); text-shadow: 0 0 20px var(--glow); margin-bottom: 18px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--on-dark-muted); }
.how .btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--dark-line); }
.how .btn-ghost:hover { border-color: var(--on-dark); }
.how .link-pill { background: var(--dark-2); border-color: var(--dark-line); color: var(--on-dark); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ações de contato */
.actions { display: grid; gap: 10px; }
.actions .btn { width: 100%; }
.actions.compact { grid-template-columns: auto auto 1fr; align-items: center; }
.actions.compact .btn { width: auto; }
.actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.actions.compact .actions-row { justify-content: flex-end; }
.link-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: border-color .2s; }
.link-pill:hover { border-color: var(--ink); }
.link-pill .i { width: 1.05em; height: 1.05em; }
@media (max-width: 860px) {
  .actions.compact { grid-template-columns: 1fr; }
  .actions.compact .btn { width: 100%; }
  .actions.compact .actions-row { justify-content: flex-start; }
}

/* sobre */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-media div { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 18px; }
.about-media div:nth-child(2) { transform: translateY(28px); }
.about-media div:nth-child(4) { transform: translateY(28px); }
.about-media img { width: 100%; height: 100%; object-fit: contain; }
.about-copy h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.about-copy p { color: var(--ink-2); font-size: 17px; margin-bottom: 16px; }
.about-copy .text-link { margin-top: 10px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .about-media div:nth-child(2n) { transform: none; } }

/* contato */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.contact-copy .actions { max-width: 440px; }
.contact-cards { display: grid; gap: 10px; }
.contact-cards a, .contact-cards div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, background .2s; }
.contact-cards a:hover { border-color: var(--ink); background: var(--surface); }
.contact-cards .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.contact-cards small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-cards span { font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- páginas internas ---------- */
.page-hero { background: var(--dark); color: var(--on-dark); padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 12px; }
.page-hero p { color: var(--on-dark-muted); font-size: 18px; max-width: 640px; }
.page-hero.center { text-align: center; padding: 100px 0; }
.page-hero.center p { margin: 0 auto 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--on-dark); }
.listing { padding-top: 44px; }

/* produto */
.product { padding: 32px 0 40px; }
.product .crumbs { color: var(--muted); margin-bottom: 24px; }
.product .crumbs a:hover { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 32px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.gallery-main img.is-loading { opacity: .3; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 84px; height: 68px; padding: 6px; border-radius: 12px; border: 2px solid var(--line); background: #fff; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: var(--muted); }
.thumb.is-active { border-color: var(--accent); }
.product-info h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.product-lead { font-size: 18px; color: var(--ink-2); margin-bottom: 26px; }
.price-box { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); margin-bottom: 18px; }
.price-box strong { display: block; font: 600 19px var(--display); letter-spacing: -.01em; }
.price-box span { font-size: 14.5px; color: var(--ink-2); }
.product-detail { display: grid; gap: 20px; margin-top: 56px; max-width: 820px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; }
.spec > h2 { font-size: 24px; margin-bottom: 18px; }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .gallery-main { padding: 18px; }
  .spec { padding: 24px 20px; }
  .product-detail { margin-top: 36px; }
}

.prose { color: var(--ink-2); font-size: 16.5px; }
.prose p + p, .prose ul + p, .prose p + ul, .prose h3 + p, .prose ul + ul { margin-top: 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.prose .note { font-size: 14.5px; color: var(--muted); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--accent); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.video button:hover { transform: scale(1.06); }
.video button .i { width: 30px; height: 30px; margin-left: 4px; }
.video + .video { margin-top: 14px; }

.related { padding-top: 40px; }

/* suporte / ética */
.support-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.h-sm { font-size: 24px; margin-bottom: 18px; }
.downloads { display: grid; gap: 10px; margin-bottom: 16px; }
.downloads a { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.downloads a:hover { border-color: var(--ink); transform: translateY(-1px); }
.downloads .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
[data-brand="horsetime"] .downloads .i { color: #b4690a; }
.downloads strong { display: block; }
.downloads small { color: var(--muted); font-size: 14px; }
.support-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 20px); }
.support-card p { color: var(--ink-2); margin-bottom: 6px; }
.support-card .actions { margin-top: 20px; grid-template-columns: 1fr; }
.support-card .actions .btn { width: 100%; }
.support-card .actions-row { justify-content: flex-start !important; }
.muted a { color: var(--ink); border-bottom: 1px solid var(--accent); }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } .support-card { position: static; } }
.callout { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.callout .i { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.wrap.prose { font-size: 17.5px; }
.wrap.prose p + p { margin-top: 18px; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 18px; }
[data-brand="horsetime"] .footer-brand img { height: 44px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { font: 700 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--on-dark); }
.footer-contact li { overflow-wrap: anywhere; }
.sister { display: grid; gap: 2px; margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--dark-line); max-width: 320px; transition: border-color .2s; }
.sister:hover { border-color: var(--on-dark-muted); }
.sister small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.sister strong { color: var(--on-dark); font: 600 18px var(--display); }
.sister span { font-size: 14px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 24px 28px; border-top: 1px solid var(--dark-line); font-size: 13.5px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-base { padding-left: 16px; padding-right: 16px; padding-bottom: 96px; } }

/* WhatsApp flutuante — à esquerda para não colidir com o chat do Tawk.to */
.fab-wa { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa .i { width: 30px; height: 30px; }

/* entrada suave dos elementos */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* faz height:100% das fotos respeitar a proporção do quadro (evita cortes) */
.cat-media, .card-media, .gallery-main, .about-media div, .thumb { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.cat-media img, .card-media img, .gallery-main img, .about-media img, .thumb img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 1199px) { .led-board { transform: none; } }

/* ---------- página de downloads ---------- */
.dl { padding-top: 48px; }
.dl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.dl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 18px var(--display); }
.dl-crumbs a { color: var(--muted); transition: color .2s; }
.dl-crumbs a:hover { color: var(--ink); }
.dl-crumbs span { color: var(--muted); font-weight: 400; }
.dl-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.dl-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; min-width: min(320px, 100%); border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.dl-search:focus-within { border-color: var(--ink); }
.dl-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.dl-search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; }
.dl-count { margin: 18px 0 12px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.dl-list { display: grid; gap: 8px; }
.dl-item a { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 18px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s; }
.dl-item a:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.dl-icon { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); display: grid; }
.dl-icon svg { width: 100%; height: 100%; }
.is-dir .dl-icon, .dl-up .dl-icon { background: var(--accent-soft); color: var(--accent); }
[data-brand="horsetime"] .is-dir .dl-icon, [data-brand="horsetime"] .dl-up .dl-icon { color: #b4690a; }
.dl-icon.k-win { background: #e8f1fd; color: #1f6fd1; }
.dl-icon.k-zip { background: #fdf3e1; color: #b06d00; }
.dl-icon.k-linux { background: #eaf6ee; color: #23864a; }
.dl-icon.k-driver { background: #f1ecfb; color: #6a43c2; }
.dl-name { min-width: 0; display: grid; }
.dl-name strong { font-weight: 700; overflow-wrap: anywhere; }
.dl-name small { color: var(--muted); font-size: 13.5px; }
.dl-meta { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.dl-go { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--ink); color: #fff; white-space: nowrap; }
.dl-go svg { width: 16px; height: 16px; }
.is-dir .dl-go { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.dl-up a { grid-template-columns: 48px 1fr; background: transparent; border-style: dashed; }
.dl-empty { padding: 36px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.dl-empty a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.dl-help { margin-top: 40px; padding: 26px 28px; border-radius: var(--radius); background: var(--dark); color: var(--on-dark); display: grid; gap: 18px; }
.dl-help strong { display: block; font: 600 20px var(--display); }
.dl-help-text span { color: var(--on-dark-muted); }
.dl-help .btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--dark-line); }
.dl-help .link-pill { background: var(--dark-2); border-color: var(--dark-line); color: var(--on-dark); }
@media (max-width: 700px) {
  .dl-item a { grid-template-columns: 42px 1fr auto; gap: 12px; padding: 12px 14px; }
  .dl-icon { width: 42px; height: 42px; padding: 10px; }
  .dl-meta { display: none; }
  .dl-go { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .dl-go span, .is-dir .dl-go { font-size: 0; }
  .is-dir .dl-go { width: 40px; }
  .is-dir .dl-go::after { content: "›"; font-size: 22px; line-height: 1; }
  .dl-search { width: 100%; }
}

/* WhatsApp verde na Micronos (na Horsetime o botão segue a cor da marca) */
:root { --wa: #178544; --wa-hover: #126b37; }
[data-brand="micronos"] .btn-wa { background: var(--wa); color: #fff; border-color: transparent; box-shadow: 0 6px 20px -6px rgba(23, 133, 68, .55); }
[data-brand="micronos"] .btn-wa:hover { background: var(--wa-hover); border-color: transparent; }
.site-footer small { font-size: 13px; color: var(--on-dark-muted); opacity: .8; }
.site-footer small a { text-decoration: underline; text-underline-offset: 2px; }

/* ajuda da página de downloads */
.dl-help { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.dl-help-text { display: grid; gap: 4px; }
.dl-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-help-actions .btn { height: 46px; }
@media (max-width: 860px) {
  .dl-help { grid-template-columns: 1fr; }
  .dl-help-actions .btn { flex: 1 1 auto; }
}
.nowrap { white-space: nowrap; }
