/* ==========================================================================
   Multiverso Games — landing page
   Direção visual "clean": corpo claro, cartões brancos com sombra suave,
   muito respiro. Hero e duas faixas em modo escuro (.theme-dark) dão o
   clima gamer. UM acento de cor (verde), só em ações e indicadores.
   Estrutura:
     1. Design tokens (claro) + .theme-dark
     2. Base / reset
     3. Layout (container, section, section-header)
     4. Componentes (botões, badges, cards, ícones, mídia)
     5. Header / navegação (cartão flutuante)
     6. Seções (hero → footer, na ordem da página)
     7. Barra fixa mobile
     8. Animações e reveal
     9. Movimento reduzido
   Breakpoints: 576 / 768 / 992 / 1200 (mobile-first)
   ========================================================================== */

/* 1. Design tokens ======================================================== */
:root {
  --color-bg: #F6F7F9;
  --color-bg-secondary: #FFFFFF;
  --color-card: #FFFFFF;
  --color-card-hover: #FFFFFF;
  --color-art: #F1F2F4;
  --color-art-ink: #3F3F46;

  /* acento único — troque aqui para a cor oficial da marca */
  --color-accent: #4AD205; /* verde do logotipo */
  --color-accent-hover: #43BE04;
  --color-accent-ink: #061204; /* texto sobre o acento */
  --color-accent-soft: rgba(74, 210, 5, .12);

  --color-fg: #111114;
  --color-muted: #5B5F69;
  --color-faint: #8A8F99;
  --color-border: rgba(17, 17, 20, .07);
  --color-border-strong: rgba(17, 17, 20, .14);

  --shadow-sm: 0 1px 2px rgba(17, 17, 20, .04), 0 2px 8px rgba(17, 17, 20, .04);
  --shadow-md: 0 2px 4px rgba(17, 17, 20, .03), 0 12px 32px -8px rgba(17, 17, 20, .10);
  --shadow-lg: 0 4px 8px rgba(17, 17, 20, .03), 0 24px 56px -12px rgba(17, 17, 20, .16);

  --glass: rgba(255, 255, 255, .95);

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 64px;
  --header-gap: 12px;
  --mobile-bar-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* seções escuras reaproveitam os mesmos componentes trocando só os tokens */
.theme-dark {
  --color-bg: #0A0A0B;
  --color-bg-secondary: #0F0F11;
  --color-card: #141417;
  --color-card-hover: #19191D;
  --color-art: #111114;
  --color-art-ink: #D4D4D8;

  --color-fg: #FAFAFA;
  --color-muted: #A1A1AA;
  --color-faint: #71717A;
  --color-border: rgba(255, 255, 255, .08);
  --color-border-strong: rgba(255, 255, 255, .16);

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  background-color: var(--color-bg);
  color: var(--color-fg);
}

/* 2. Base ================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-gap) * 2 + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* espaço para a barra fixa inferior no mobile */
  padding-bottom: var(--mobile-bar-h);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--color-accent); color: var(--color-accent-ink); }

.visually-hidden {
  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-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* grid técnico — muito discreto, só nas faixas escuras */
.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.text-accent { color: var(--color-accent); }

/* 3. Layout =============================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: 72px;
}

.section--alt { background: var(--color-bg-secondary); }

/* faixas brancas alternadas com o cinza do fundo: cada seção vira um bloco definido */
.section--white {
  background: #FFFFFF;
  border-block: 1px solid var(--color-border);
}
.section--white .card { box-shadow: var(--shadow-md); }

.section-header {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header--left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-accent-soft);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-fg);
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.section-title {
  font-size: clamp(1.875rem, 1.35rem + 2.2vw, 2.875rem);
}

.section-subtitle {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

/* 4. Componentes ========================================================= */
.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
    border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  box-shadow: 0 6px 16px -8px rgba(74, 210, 5, .7);
}
.btn-primary:hover { background: var(--color-accent-hover); box-shadow: 0 10px 22px -10px rgba(74, 210, 5, .8); }

.btn-outline {
  background: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-fg);
}
.btn-outline:hover {
  border-color: var(--color-fg);
}

.btn-light {
  background: #FFFFFF;
  color: #111114;
}

.btn-dark {
  background: #111114;
  color: #FAFAFA;
}
.btn-dark:hover { background: #26262B; }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; border-radius: 9px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-fg);
}
.link-arrow .icon { color: var(--color-accent); transition: transform .25s var(--ease); }
.link-arrow:hover .icon,
a:hover .link-arrow .icon { transform: translateX(3px); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  background: var(--color-card);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.badge .icon { color: var(--color-accent); }
.badge--offer { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.badge--sample { border-style: dashed; color: var(--color-muted); }

/* Card base */
.card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
    border-color .25s var(--ease), background-color .25s var(--ease);
}

.card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
  background: var(--color-card-hover);
}
.theme-dark .card--interactive:hover { border-color: var(--color-border-strong); }

/* Mídia: arte vetorial de placeholder, trocada pela foto real quando ela existir */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.media > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.media.has-image > img { opacity: 1; }
.media.has-image > .media-placeholder { visibility: hidden; }

.art-surface { background: var(--color-art); }
.theme-dark .art-surface {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%),
    var(--color-art);
}
.art-surface .art {
  color: var(--color-art-ink);
  opacity: .85;
  transition: transform .5s var(--ease), opacity .3s var(--ease), color .3s var(--ease);
}

/* 5. Header (cartão flutuante) ========================================== */
.site-header {
  position: sticky;
  top: var(--header-gap);
  z-index: 100;
  /* o hero escuro passa por baixo do cartão */
  margin-bottom: calc((var(--header-h) + var(--header-gap)) * -1);
  padding-top: var(--header-gap);
}

.header-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-md);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-md);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled .header-card { box-shadow: var(--shadow-lg); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding-inline: 16px 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-logo { width: auto; height: 54px; }
.brand-logo--footer { height: 64px; }
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1;
}
.brand-name strong { font-size: .9375rem; font-weight: 800; letter-spacing: .06em; }
.brand-name span {
  margin-top: 4px;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .38em;
  color: var(--color-faint);
}

.nav-desktop { display: none; }

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--color-fg); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(17, 17, 20, .05); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.nav-mobile > div { overflow: hidden; }
.nav-mobile.is-open { grid-template-rows: 1fr; }
.nav-mobile-inner { padding: 0 16px 16px; }
.nav-mobile .nav-list { border-top: 1px solid var(--color-border); }
.nav-mobile .nav-list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-fg);
}
.nav-mobile .nav-list a::after { display: none; }
.nav-mobile .btn { margin-top: 16px; }

/* 6. Seções ============================================================== */

/* --- Hero (escuro) --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + var(--header-gap) * 2 + 32px) 0 104px;
  background:
    radial-gradient(ellipse 60% 55% at 78% 35%, rgba(255, 255, 255, .07), transparent 70%),
    var(--color-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-copy { text-align: center; }

.hero-kicker { margin-bottom: 22px; }
.hero .badge { background: rgba(255, 255, 255, .04); }

.hero-title {
  font-size: clamp(2.5rem, 1.3rem + 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}
.hero-title .line { display: block; }

.hero-subtitle {
  max-width: 460px;
  margin: 22px auto 0;
  color: var(--color-muted);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.hero .btn-outline:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  aspect-ratio: 1 / .72;
}
.hero-visual .media { position: absolute; inset: 0; border-radius: var(--radius-lg); }
.hero-visual .media-placeholder { position: absolute; inset: 0; }
.hero-art { width: 100%; height: 100%; overflow: visible; }
/* flutuação lenta do controle (desligada em movimento reduzido) */
/* movimento sutil: flutua ~6px e inclina ~1,5° em ciclo lento; LED "respira" */
.hero-pad {
  transform-box: fill-box;
  transform-origin: center;
  animation: pad-float 8s ease-in-out infinite;
}
@keyframes pad-float {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50%      { transform: translateY(-6px) rotate(-5.5deg); }
}
.hero-led { animation: led-breath 3.2s ease-in-out infinite; }
@keyframes led-breath {
  0%, 100% { opacity: .35; }
  50%      { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pad, .hero-led { animation: none; }
}

/* --- Cartão de destaques sobreposto ao hero --- */
.facts {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}
.facts-card {
  display: grid;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-lg);
}
.facts-card li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}
.facts-card li + li { border-top: 1px solid var(--color-border); }
.fact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: #1F7A12;
}
.facts-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.facts-card div > span { display: block; font-size: .875rem; color: var(--color-muted); }

/* --- Categorias --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.category-grid > li,
.product-grid > li { display: flex; }
.category-grid > li > .card,
.product-grid > li > .card { flex: 1; min-width: 0; }

.category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}
.category-card .media {
  aspect-ratio: 4 / 3;
  margin: 8px 8px 0;
  border-radius: 10px;
}
.category-card .media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.category-card .art { width: 38%; }
.category-card:hover .art { transform: translateY(-3px); opacity: 1; }
.category-card:hover .media > img { transform: scale(1.04); }

.category-body { padding: 14px 16px 18px; }
.category-body h3 { font-size: 1.0625rem; }
.category-body p {
  margin-top: 4px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--color-muted);
}
.category-body .link-arrow { margin-top: 12px; font-size: .8125rem; }

/* --- Ofertas --- */
.offers-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.offers-head .section-header { margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-card .media { aspect-ratio: 1 / 1; margin: 8px 8px 0; border-radius: 10px; }
.product-card .media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.product-card .art { width: 32%; }
.product-card:hover .art { transform: scale(1.05); opacity: 1; }
.product-card:hover .media > img { transform: scale(1.04); }

.product-badges {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.product-category {
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-faint);
}
.product-name {
  margin-top: 4px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.product-prices { margin-top: 14px; margin-bottom: 18px; }
.price-old {
  font-size: .8125rem;
  color: var(--color-faint);
}
.price-now {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.product-body .btn { margin-top: auto; }

.sample-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  color: var(--color-muted);
}
.sample-note .icon { margin-top: 2px; color: var(--color-faint); }

/* --- Sobre --- */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.about-copy .section-header { margin-bottom: 24px; }
.about-text p + p { margin-top: 16px; }
.about-text p { color: var(--color-muted); font-size: 1.0625rem; }
.about-text p:first-child { color: var(--color-fg); }

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.about-points .icon {
  width: 22px; height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: #1F7A12;
}

.about-visual {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  background: var(--color-card);
  box-shadow: var(--shadow-lg);
}
.about-visual .media { position: absolute; inset: 0; }
.about-visual .media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: var(--color-art);
}
/* mapa estilizado: ruas em traço fino + pino */
.about-map {
  position: absolute;
  inset: 0;
  background: var(--color-art);
}
.about-map iframe {
  position: absolute;
  /* sobra nas bordas esconde os controles do embed: o mapa aqui é só vitrine */
  /* o cartão de informações do embed fica no canto superior: sobe para fora da área visível */
  inset: -120px -60px 0;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  border: 0;
  pointer-events: none;
  filter: grayscale(.35);
}
.about-visual .media-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(255, 255, 255, .92) 72%, #fff 88%);
}
.place-link { margin-top: 14px; }
.place-label { position: relative; z-index: 1; }
.place-label .badge { margin-bottom: 14px; }
.place-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.place-address { display: block; margin-top: 6px; color: var(--color-muted); }

/* --- Diferenciais --- */
.feature-grid {
  display: grid;
  gap: 16px;
}
.feature-card { padding: 28px 24px; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #111114;
  color: #FAFAFA;
}
.feature-card h3 { font-size: 1.125rem; }
.feature-card p { margin-top: 8px; color: var(--color-muted); font-size: .9375rem; }
.feature-index {
  position: absolute;
  top: 26px; right: 24px;
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-faint);
}

/* --- Universos (faixa escura) --- */
.universe-grid {
  display: grid;
  gap: 14px;
}
.universe-card {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  isolation: isolate;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.universe-card .media { position: absolute; inset: 0; z-index: -1; }
.universe-card .media-placeholder { position: absolute; inset: 0; }
.universe-card .media-placeholder .art {
  position: absolute;
  right: 6%; top: 50%;
  width: min(34%, 190px);
  transform: translateY(-50%);
  opacity: .5;
}
.universe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 11, .85) 0%, rgba(10, 10, 11, .35) 60%, transparent 100%);
}
.universe-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
}
.universe-card:hover .media-placeholder .art { transform: translateY(-50%) scale(1.06); opacity: .9; }
.universe-card:hover .media > img { transform: scale(1.05); }

.universe-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: inherit;
  max-width: 68%;
  padding: 26px;
}
.universe-kicker {
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-faint);
}
.universe-content h3 {
  margin-top: 8px;
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.universe-content p {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: .9375rem;
}
.universe-content .link-arrow { margin-top: 18px; }

/* --- Avaliações (carrossel contínuo) --- */
.review-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  text-align: center;
}
.review-score {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.review-score strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.review-score span { display: block; margin-top: 4px; font-size: .8125rem; color: var(--color-muted); }

.review-marquee {
  overflow: hidden;
  padding-block: 8px 28px;
  /* bordas esmaecidas: os cards entram e saem suavemente */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.review-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-left: 16px;
  animation: marquee var(--marquee-duration, 60s) linear infinite;
}
.review-marquee:hover .review-track,
.review-marquee:focus-within .review-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(calc(-50% - 8px)); }
}

.review-card {
  display: flex;
  flex-direction: column;
  flex: none;
  width: min(340px, 82vw);
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-md);
}
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-stars { display: flex; gap: 2px; color: #F5A524; }
.review-quote-icon { color: #E4E4E7; }
.review-text {
  margin-top: 14px;
  font-size: .9375rem;
  line-height: 1.6;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: #1F7A12;
  font-weight: 700;
  font-size: .875rem;
}
.review-author strong { display: block; font-size: .9375rem; }
.review-author span { font-size: .8125rem; color: var(--color-muted); }

/* movimento reduzido: sem animação, rolagem manual com snap */
@media (prefers-reduced-motion: reduce) {
  .review-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .review-track { animation: none; padding-inline: var(--gutter); }
  .review-track > [aria-hidden="true"] { display: none; }
  .review-card { scroll-snap-align: start; }
}

/* --- Localização --- */
.location-grid {
  display: grid;
  gap: 20px;
}
.location-info { padding: 28px 24px; box-shadow: var(--shadow-md); }
.location-list { display: grid; gap: 22px; margin-top: 8px; }
.location-list li { display: flex; gap: 14px; }
.location-list .icon-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--color-accent-soft);
  color: #1F7A12;
}
.location-list h3 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-faint);
}
.location-list p,
.location-list address {
  margin-top: 4px;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
}
.location-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.location-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.map-frame {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-art);
  box-shadow: var(--shadow-md);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.35);
}
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.map-placeholder .pin {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
.map-placeholder strong { font-family: var(--font-display); font-size: 1.125rem; }
.map-frame.is-loaded .map-placeholder { display: none; }

/* --- CTA final (cartão escuro) --- */
.cta-final { padding-block: 24px 72px; }
.cta-box {
  position: relative;
  overflow: hidden;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%),
    var(--color-bg);
  text-align: center;
  isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(17, 17, 20, .5);
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
}
.cta-box h2 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.cta-box p {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--color-muted);
  font-size: 1.0625rem;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.cta-box .btn-outline:hover { border-color: rgba(255, 255, 255, .5); }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 36px;
}
.footer-tagline { margin-top: 16px; color: var(--color-muted); max-width: 320px; }
.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-faint);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-fg);
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--color-muted); }
.footer-links address { font-style: normal; color: var(--color-muted); line-height: 1.7; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  font-size: .8125rem;
  color: var(--color-faint);
}

/* 7. Barra fixa mobile =================================================== */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--glass);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: .875rem; }

/* 8. Animações ============================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: none; }
}

/* entrada do hero: logo → título → texto → botões → imagem (≈0.8s no total) */
.js .intro { opacity: 0; animation: rise .5s var(--ease) forwards; }
.js .intro-1 { animation-delay: 0s; }
.js .intro-2 { animation-delay: .08s; }
.js .intro-3 { animation-delay: .16s; }
.js .intro-4 { animation-delay: .24s; }
.js .intro-5 { animation-delay: .3s; }
.js .intro-visual { opacity: 0; animation: slide-in .6s var(--ease) .2s forwards; }

/* reveal no scroll — só com JS, para nunca esconder conteúdo */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Mobile (< 576px): ofertas viram carrossel com snap */
@media (max-width: 575.98px) {
  .product-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 80%;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid > li { scroll-snap-align: start; }
  .product-card .media { aspect-ratio: 4 / 3; }
}

/* Breakpoints ============================================================ */
@media (min-width: 576px) {
  :root { --gutter: 24px; }

  .hero-actions,
  .cta-actions { flex-direction: row; justify-content: center; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-actions { grid-template-columns: 1fr 1fr; }
  .category-body p { font-size: .875rem; }
}

@media (min-width: 768px) {
  .section { padding-block: 88px; }

  .facts-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-card li { padding: 26px 28px; }
  .facts-card li + li { border-top: 0; border-left: 1px solid var(--color-border); }

  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  .offers-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .universe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .universe-card { min-height: 300px; }


  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .cta-box { padding: 88px 48px; }
  .cta-final { padding-block: 32px 104px; }
}

@media (min-width: 992px) {
  :root { --header-h: 68px; --header-gap: 16px; --mobile-bar-h: 0px; }

  .mobile-bar { display: none; }

  .nav-desktop { display: block; }
  .nav-desktop .nav-list { display: flex; gap: 30px; }
  .header-cta { display: inline-flex; }
  .menu-toggle,
  .nav-mobile { display: none; }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding-inline: 20px 12px;
  }
  .header-inner .header-cta { justify-self: end; }

  .hero { padding-bottom: 136px; }
  .hero-inner { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .hero-copy { text-align: left; }
  .hero-subtitle { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }

  .facts { margin-top: -80px; }

  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }

  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .universe-card { min-height: 340px; }

  .location-grid { grid-template-columns: 420px 1fr; gap: 24px; }
  .location-info { padding: 36px 32px; }
  .location-actions { grid-template-columns: 1fr; }
  .map-frame { min-height: 100%; }
}

@media (min-width: 1200px) {
  .hero-inner { gap: 64px; }
  .category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .category-body h3 { font-size: 1rem; }
  .category-body p { font-size: .8125rem; }
}

/* 9. Movimento reduzido ================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal { opacity: 1; transform: none; }
}
