/* ==========================================================================
   RBA Comércio — Oportunidades & Liquidações
   Design system: "Armazém" — graphite warehouse, RBA logo green, amber signal
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* Paleta extraída do vídeo (chão e luz do armazém, paletes, cartão) e do logótipo */
  --bg-main: #0E0E10;            /* Armazém: grafite do chão de betão */
  --bg-raise: #18171A;           /* Betão sombra */
  --color-primary: #6BBF45;      /* Verde RBA (logótipo): botões, destaques e texto de ação */
  --color-primary-hi: #8ED46B;
  --on-primary: #0B1806;         /* texto sobre o verde */
  --color-secondary: #B6AFA6;    /* Betão claro: texto corrido */
  --color-accent: #FF9A1F;       /* Sinal: âmbar elétrico, só para stock e descidas de preço */
  --brand-green: var(--color-primary);  /* LED "aberto" */

  --text-strong: #F3EFE9;
  --text-muted: #9D978F;
  --text-soft: #DCD6CE;          /* texto de leitura reforçada (horários) */
  --line: rgba(255, 255, 255, .10);
  --line-soft: rgba(255, 255, 255, .06);
  --line-strong: rgba(255, 255, 255, .16);
  --glass: rgba(20, 19, 22, .56);
  --glass-strong: rgba(15, 15, 17, .74);
  --glass-hi: rgba(255, 255, 255, .045);

  --radius-panel: 24px;
  --radius-card: 18px;
  --radius-ctl: 12px;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 12vw, 168px);

  --font: "Archivo", "Archivo Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.5rem, 1.05rem + 5.6vw, 6.1rem);
  --fs-h2: clamp(1.9rem, 1.25rem + 2.4vw, 3.3rem);
  --fs-h3: clamp(1.12rem, 1rem + .45vw, 1.38rem);
  --fs-lead: clamp(1.02rem, .95rem + .3vw, 1.18rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .8125rem;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 90%;
}

/* ---------- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: transparent;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--bg-main); /* propaga para o canvas: o vídeo fixo (z-index -10) continua visível */
  color: var(--color-secondary);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
s { text-decoration-thickness: 1px; }
::selection { background: var(--color-primary); color: var(--on-primary); }

:focus-visible {
  outline: 2px solid var(--color-primary-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-ctl);
  background: var(--text-strong); color: var(--bg-main); font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 24px; height: 24px; }

/* ---------- Video stage (persistent canvas) ----------------------------- */
.stage {
  position: fixed; inset: 0; z-index: -10;
  overflow: hidden; background: var(--bg-main);
  pointer-events: none;
}
.stage__video {
  position: absolute; inset: -4%;
  width: 108%; height: 108%; max-width: none;
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: 50% 55%;
  will-change: transform;
}
.stage__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,16,.62) 0%, rgba(14,14,16,0) 20%, rgba(14,14,16,0) 46%, rgba(14,14,16,.78) 86%, rgba(14,14,16,.92) 100%),
    radial-gradient(90% 70% at 12% 88%, rgba(14,14,16,.72) 0%, rgba(14,14,16,0) 62%);
}
.stage__veil {
  position: absolute; inset: 0;
  background: rgba(14, 14, 16, .48);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  opacity: 0;
  will-change: opacity;
}
.stage__dim { position: absolute; inset: 0; background: var(--bg-main); opacity: 0; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --btn-h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: 0 20px;
  border-radius: var(--radius-ctl);
  font-size: var(--fs-sm); font-weight: 560; letter-spacing: .005em;
  font-stretch: 108%;
  white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn--lg { --btn-h: 54px; padding: 0 26px; font-size: .95rem; }
.btn--primary {
  background: var(--color-primary);
  color: var(--on-primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px -12px rgba(107,191,69,.55);
}
.btn--primary:hover { background: var(--color-primary-hi); }
.btn--glass {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-strong);
  color: var(--text-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); }
.btn--quiet {
  border: 1px solid var(--line);
  color: var(--text-strong);
  background: transparent;
}
.btn--quiet:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.magnetic { will-change: transform; }
.magnetic .btn__label { display: inline-block; will-change: transform; }

/* ---------- LED ---------------------------------------------------------- */
.led {
  --led: var(--color-accent);
  position: relative; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--led) 18%, transparent), 0 0 14px 1px color-mix(in srgb, var(--led) 70%, transparent);
}
.led::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--led); opacity: 0;
}
[data-state="open"] .led { --led: var(--brand-green); }
[data-state="closing"] .led,
[data-state="closed"] .led { --led: var(--color-accent); }
[data-state="closed"] .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led) 14%, transparent); opacity: .85; }
[data-state="open"] .led::after,
[data-state="closing"] .led::after { animation: led-ping 2.4s var(--ease-out) infinite; }
[data-state="closing"] .led::after { animation-duration: 1.2s; }
.led--drop { --led: var(--color-primary); }
[data-state="live"] .led--drop { --led: var(--color-accent); }
[data-state="live"] .led--drop::after { animation: led-ping 1.2s var(--ease-out) infinite; }
@keyframes led-ping {
  0% { transform: scale(.4); opacity: .9; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Header / nav ------------------------------------------------- */
.nav {
  position: fixed; z-index: 50;
  top: max(12px, env(safe-area-inset-top));
  left: 0; right: 0;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px);
  height: 64px; padding: 0 10px 0 18px;
  border-radius: 18px;
  background: rgba(16, 16, 18, .52);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 50px -24px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  transition: background-color .4s ease, height .4s var(--ease-out);
}
.nav.is-scrolled .nav__bar { background: rgba(14, 14, 16, .72); }
.nav__brand img { width: 84px; height: auto; }

.live {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
  height: 40px; padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-soft);
  font-size: .9rem;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.live__store { display: flex; align-items: center; gap: 9px; min-width: 0; }
.live__store:hover .live__text { color: var(--color-primary-hi); }
.live__text { transition: color .2s ease; }
.live__short { display: none; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 12px; border-radius: 10px;
  font-size: var(--fs-sm); color: var(--color-secondary);
  transition: color .2s ease, background-color .2s ease;
}
.nav__links a:hover { color: var(--text-strong); background: rgba(255,255,255,.05); }
.nav__call { --btn-h: 42px; padding: 0 16px; }
.nav__call .ico { width: 16px; height: 16px; }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 12px; margin-left: auto; }
.nav__burger, .nav__burger::before {
  display: block; width: 18px; height: 1.5px; margin: auto; background: var(--text-strong);
  transition: transform .35s var(--ease-out);
}
.nav__burger { position: relative; transform: translateY(-3px); }
.nav__burger::before { content: ""; position: absolute; left: 0; top: 6px; }
.nav__menu[aria-expanded="true"] .nav__burger { transform: translateY(0) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__burger::before { transform: translateY(-6px) rotate(-90deg); }
.nav__sheet {
  pointer-events: auto;
  max-width: var(--wrap); margin: 8px auto 0;
  display: grid; padding: 8px;
  border-radius: 18px;
  background: rgba(14,14,16,.95);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a { padding: 14px 14px; border-radius: 12px; color: var(--text-strong); font-size: 1rem; }
.nav__sheet a + a { border-top: 1px solid var(--line-soft); }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "copy" "hours";
  align-items: end;
  gap: 0 48px;
  padding-bottom: clamp(32px, 5vh, 56px);
}
.hero__title {
  grid-area: title;
  color: var(--text-strong);
  font-size: var(--fs-display);
  font-weight: 640;
  font-stretch: 125%;
  line-height: .96;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__copy { grid-area: copy; }
.hero__lead {
  max-width: 54ch;
  margin-top: clamp(20px, 2.6vw, 30px);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: #CFC8BF;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }

/* Horário das lojas (no hero) */
.hero-hours {
  grid-area: hours;
  margin-top: 32px;
  padding: 24px 28px 26px;
  border-radius: var(--radius-card);
  background: rgba(16, 16, 18, .5);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px -30px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
}
.hero-hours__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 14px;
}
.hero-hours .hours__head, .hero-hours .stores__tabs { margin-bottom: 0; }
.hero-hours .pill { height: 40px; padding: 0 16px; font-size: 1rem; }
.hero-hours .pill .led { width: 9px; height: 9px; }
.hero-hours .stores__contact { margin-top: 18px; }

/* Ticker */
.ticker {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14,14,16,.35), rgba(14,14,16,.6));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ticker__inner { display: flex; align-items: center; gap: 20px; height: 58px; }
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); color: var(--text-strong); font-weight: 560;
}
.ticker__label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary); box-shadow: 0 0 10px var(--color-primary);
}
.ticker__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex; width: max-content;
  animation: ticker var(--ticker-dur, 60s) linear infinite;
}
.ticker__viewport:hover .ticker__track,
.ticker__viewport:focus-within .ticker__track,
.is-paused .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex; align-items: center;
  padding-inline: 24px;
  border-right: 1px solid var(--line-soft);
  white-space: nowrap;
}
.ticker__item a { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--text-soft); }
.ticker__item .ico { width: 17px; height: 17px; color: var(--color-primary); }
.ticker__item b { color: var(--text-strong); font-weight: 580; }
.ticker__item a:hover b, .ticker__item a:hover span { color: var(--color-primary-hi); }
@keyframes ticker { to { transform: translateX(-50%); } }

.motion-toggle {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--color-secondary);
  transition: color .2s ease, border-color .2s ease;
}
.motion-toggle:hover { color: var(--text-strong); border-color: var(--line-strong); }
.motion-toggle .ico { width: 15px; height: 15px; }
.motion-toggle .ico--play { display: none; }
.motion-toggle[aria-pressed="true"] .ico--play { display: block; }
.motion-toggle[aria-pressed="true"] .ico--pause { display: none; }

/* ---------- Sections ----------------------------------------------------- */
.section { position: relative; padding-block: var(--section-y) 0; }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(32px, 4.4vw, 56px);
}
.section__head h2 {
  color: var(--text-strong);
  font-size: var(--fs-h2);
  font-weight: 600;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.section__head p { max-width: 46ch; font-size: var(--fs-lead); color: var(--color-secondary); justify-self: end; }

/* ---------- Vender stock ou negócio -------------------------------------- */
.sell {
  position: relative;
  min-height: clamp(380px, 38vw, 480px);
  display: flex; align-items: center;
  border-radius: var(--radius-panel);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px -36px rgba(0,0,0,.9);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(14,14,16,.95) 0%, rgba(14,14,16,.86) 42%, rgba(14,14,16,.35) 100%),
    url("../img/sell-bg.webp") right 30% / cover no-repeat;
}
.sell__copy {
  display: grid; gap: 18px; align-content: center;
  max-width: 660px;
  padding: clamp(28px, 5vw, 64px);
}
.sell__title {
  color: var(--text-strong);
  font-size: var(--fs-h2); font-weight: 600; font-stretch: 118%;
  letter-spacing: -.03em; line-height: 1.02;
  text-wrap: balance;
}
.sell__text { font-size: var(--fs-lead); color: var(--color-secondary); max-width: 52ch; }
.sell__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Steps ------------------------------------------------------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.step { padding: 28px 32px 34px 0; display: grid; gap: 10px; align-content: start; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__n {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(107,191,69,.45);
  color: var(--color-primary);
  font-size: var(--fs-xs); font-weight: 600;
  margin-bottom: 8px;
}
.step h3 { color: var(--text-strong); font-size: var(--fs-h3); font-weight: 580; font-stretch: 110%; letter-spacing: -.012em; line-height: 1.2; }
.step p { font-size: var(--fs-sm); max-width: 40ch; }


/* ---------- Footer ------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: var(--section-y);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10,10,12,.55), rgba(10,10,12,.88) 40%);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.footer__main {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 40px;
  padding-block: 48px 36px;
  border-bottom: 1px solid var(--line);
}
.footer__brand-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__logo { display: grid; justify-items: center; gap: 10px; text-align: center; }
.footer__logo img { width: 136px; }
.footer__tagline {
  font-size: .68rem; color: var(--text-muted); letter-spacing: .02em; line-height: 1.4;
  padding-top: 10px; border-top: 1px solid rgba(107,191,69,.45);
}

.hours__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 16px; }
.hours__title { color: var(--text-strong); font-size: clamp(1.45rem, 1.2rem + .7vw, 1.8rem); font-weight: 580; font-stretch: 112%; letter-spacing: -.012em; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 32px; padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text-strong); font-size: var(--fs-xs); font-weight: 520;
}
.stores__tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.stores__tab {
  display: flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 9px 18px 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  text-align: left;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.stores__tab:hover { border-color: var(--line-strong); background: rgba(255,255,255,.05); }
.stores__tab .led { width: 9px; height: 9px; }
.stores__name { display: grid; line-height: 1.2; }
.stores__name b { color: var(--text-strong); font-weight: 600; font-size: 1.0625rem; }
.stores__name small { color: var(--text-soft); font-size: .875rem; }
.stores__tab[aria-selected="true"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 26px -14px rgba(107,191,69,.7);
}
.stores__tab[aria-selected="true"] .stores__name b,
.stores__tab[aria-selected="true"] .stores__name small { color: var(--on-primary); }
.stores__tab[aria-selected="true"] .led { --led: var(--on-primary); box-shadow: none; }
.stores__tab[aria-selected="true"] .led::after { border-color: var(--on-primary); }
.stores__contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px;
  margin-top: 16px;
}
.stores__addr, .stores__tel { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.stores__contact .ico { width: 20px; height: 20px; flex: none; color: var(--color-primary); }
.stores__addr { font-size: 1.0625rem; color: var(--text-soft); }
.stores__addr span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.22); transition: color .2s ease, text-decoration-color .2s ease; }
.stores__addr:hover span { color: var(--color-primary-hi); text-decoration-color: currentColor; }
.stores__tel { color: var(--text-strong); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stores__tel:hover { color: var(--color-primary-hi); }

.store-list { display: grid; margin-top: 12px; border-top: 1px solid var(--line-soft); }
.store-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.store-row__info { display: grid; gap: 2px; min-width: 0; }
.store-row__info strong { color: var(--text-strong); font-weight: 580; font-size: var(--fs-sm); }
.store-row__info span { font-size: var(--fs-xs); color: var(--color-secondary); }
.store-row__tel {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px; border-radius: 10px;
  border: 1px solid rgba(107,191,69,.4);
  color: var(--color-primary-hi); font-size: var(--fs-sm); font-weight: 560;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.store-row__tel:hover { background: rgba(107,191,69,.1); }
.store-row__tel .ico { width: 15px; height: 15px; }
.prose .store-list { max-width: 66ch; }
.prose .store-row__tel { text-decoration: none; color: var(--color-primary-hi); }

.hours__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hours__day {
  position: relative;
  padding: 14px 12px 8px;
  font-size: 1.0625rem; line-height: 1.6;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.hours__day + .hours__day { border-left: 1px solid var(--line-soft); }
.hours__day strong { display: block; margin-bottom: 6px; color: var(--text-strong); font-weight: 600; font-size: 1.125rem; }
.hours__ivs { display: block; }
.hours__day .closed { color: var(--text-muted); }
.hours__iv { display: block; }
.hours__day.is-today { color: var(--text-strong); }
.hours__day.is-today::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--color-primary); }
.hours__day.is-today strong { color: var(--color-primary-hi); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  padding-top: 24px;
  font-size: var(--fs-xs); color: var(--text-muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__legal a, .footer__legal button { color: var(--color-secondary); font-size: var(--fs-xs); }
.footer__legal a:hover, .footer__legal button:hover { color: var(--text-strong); }
.footer__credit a { color: var(--color-secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.footer__credit a:hover { color: var(--text-strong); }

/* ---------- Modal (glass dialog) ---------------------------------------- */
.modal {
  width: min(720px, calc(100vw - 32px));
  max-height: min(84vh, 820px);
  padding: 0; border: 0;
  background: transparent; color: var(--color-secondary);
  overflow: visible;
}
.modal::backdrop {
  background: rgba(8, 8, 10, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal[open] { animation: modal-in .5s var(--ease-out); }
.modal[open]::backdrop { animation: fade-in .4s ease; }
.modal__panel {
  display: flex; flex-direction: column;
  max-height: min(84vh, 820px);
  border-radius: var(--radius-panel);
  background: rgba(22, 21, 24, .72);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 120px -30px rgba(0,0,0,.9);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  backdrop-filter: blur(28px) saturate(1.3);
  overflow: hidden;
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px 18px 28px;
  border-bottom: 1px solid var(--line);
}
.modal__head h2 { color: var(--text-strong); font-size: 1.35rem; font-weight: 600; font-stretch: 114%; letter-spacing: -.015em; }
.modal__close {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--color-secondary);
}
.modal__close:hover { color: var(--text-strong); border-color: var(--line-strong); }
.modal__body { padding: 8px 28px 28px; overflow-y: auto; overscroll-behavior: contain; }
.terms { display: grid; }
.terms > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.terms > div:last-child { border-bottom: 0; }
.terms dt { color: var(--text-strong); font-weight: 560; font-size: var(--fs-sm); }
.terms dd { font-size: var(--fs-sm); }
.prose p { padding-top: 16px; font-size: var(--fs-sm); max-width: 66ch; }
.prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }

.noscript { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60; padding: 12px 16px; border-radius: 12px; background: var(--bg-raise); border: 1px solid var(--line); color: var(--text-strong); font-size: var(--fs-sm); }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1240px) {
  .nav__links { display: none; }
  .nav__call { margin-left: auto; }
  .nav__menu { display: grid; margin-left: 0; }
}
@media (max-width: 900px) {
  .section__head { grid-template-columns: 1fr; }
  .section__head p { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .sell { background:
      linear-gradient(180deg, rgba(14,14,16,.55) 0%, rgba(14,14,16,.9) 55%, rgba(14,14,16,.96) 100%),
      url("../img/sell-bg.webp") center top / cover no-repeat;
    align-items: flex-end; }
  .hours__days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hours__day:nth-child(5) { border-left: 0; }
  .hours__day:nth-child(n+5) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 720px) {
  .nav__bar { height: 58px; padding: 0 6px 0 14px; gap: 10px; }
  .nav__brand img { width: 66px; }
  .nav__call { display: none; }
  .nav__menu { margin-left: auto; }
  .live { height: 36px; padding: 0 12px; gap: 10px; }
  .live__long { display: none; }
  .live__short { display: inline; }
  .hero { padding-top: 100px; }
  .hero__title { font-stretch: 84%; font-size: clamp(2.3rem, 10.6vw, 3.6rem); letter-spacing: -.03em; line-height: .98; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .ticker__inner { height: 52px; gap: 14px; }
  .ticker__label { display: none; }
  .sell__actions .btn { flex: 1 1 100%; }
  .footer__logo { justify-items: start; text-align: left; }
  .footer__brand-actions { width: 100%; }
  .footer__brand-actions .btn { flex: 1 1 100%; }
  .hero-hours { padding: 18px 16px; }
  .hero-hours .stores__tabs { width: 100%; }
  .stores__contact { gap: 12px; }
  .stores__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours__days { grid-template-columns: 1fr; }
  .hours__day, .hours__day + .hours__day {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 12px 6px 12px 14px;
    border-left: 0;
  }
  .hours__day + .hours__day { border-top: 1px solid var(--line-soft); }
  .hours__day strong { margin: 0; }
  .hours__ivs { text-align: right; }
  .hours__day.is-today { background: rgba(107,191,69,.08); border-radius: 10px; }
  .hours__day.is-today::before { top: 10px; bottom: 10px; left: 0; right: auto; width: 3px; height: auto; border-radius: 2px; }
  .terms > div { grid-template-columns: 1fr; gap: 6px; }
  .modal__body { padding: 4px 20px 22px; }
  .modal__head { padding: 18px 16px 14px 20px; }
}

/* ---------- Intro (estado inicial antes da animação de entrada) --------- */
.intro-pending .nav__bar,
.intro-pending [data-hero-fade] { opacity: 0; }
.intro-pending .hero__title .line > span { transform: translateY(110%); }

/* ---------- Motion preferences ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; }
}
