@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --gm-bg: #050709;
  --gm-bg-2: #0B0F12;
  --gm-card: #14181C;
  --gm-card-2: #1A1F24;
  --gm-text: #FFFFFF;
  --gm-muted: #8B939A;
  --gm-blue: #168BFF;
  --gm-blue-2: #007BFF;
}

body.gm-body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--gm-bg);
  color: var(--gm-text);
}

.gm-display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; }

.gm-logo-line {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.gm-logo-line span { color: var(--gm-blue); border-bottom: 2px solid var(--gm-blue); padding-bottom: 1px; }

.gm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem 1.35rem; border-radius: 6px; font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; transition: all .22s ease;
  background: var(--gm-blue); color: #fff;
  box-shadow: 0 4px 20px rgba(22,139,255,.4);
}
.gm-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gm-btn .arrow { font-size: 1rem; line-height: 1; }

.gm-btn-pill {
  border-radius: 9999px;
  padding: .55rem 1.25rem;
  font-size: .65rem;
}

.gm-btn-outline {
  background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff;
  box-shadow: none;
}
.gm-btn-outline:hover { border-color: var(--gm-blue); background: rgba(22,139,255,.1); }

.gm-card {
  background: var(--gm-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.gm-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.45); }

.gm-input {
  background: #12161A; border: 1px solid rgba(255,255,255,.08);
  color: #fff; border-radius: 8px; padding: .65rem 1rem; width: 100%;
}
.gm-input:focus { outline: none; border-color: var(--gm-blue); }

.gm-header {
  backdrop-filter: blur(16px);
  background: rgba(5,7,9,.92);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.gm-search-wrap {
  position: relative; flex: 1; max-width: 280px;
}
.gm-search-wrap input { padding-left: 2.5rem; font-size: .8rem; border-radius: 8px; }
.gm-search-wrap svg {
  position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
  width: 1rem; height: 1rem; color: var(--gm-muted);
}

.gm-cart-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: #E53935; color: #fff;
  font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* Hero — referência mockup */
.gm-hero {
  position: relative;
  background: #000;
  overflow: hidden;
}
.gm-hero-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
}
@media (min-width: 1024px) {
  .gm-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem 1.5rem 2rem;
    min-height: 420px;
  }
}
.gm-hero-copy { position: relative; z-index: 2; }
.gm-hero-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  margin-top: 1.5rem;
  border: 1px solid rgba(255,255,255,.06);
}
@media (min-width: 1024px) {
  .gm-hero-banner {
    margin-top: 0;
    min-height: 360px;
    height: 100%;
  }
}
.gm-hero-banner img {
  width: 100%; height: 100%; min-height: 200px;
  object-fit: cover; object-position: center;
  display: block;
}
@media (min-width: 1024px) {
  .gm-hero-banner img { min-height: 360px; }
}
.gm-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
}
.gm-hero-sub {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d7379;
  max-width: 20rem;
  line-height: 1.8;
  margin-top: 1.25rem;
  font-weight: 600;
}

.gm-brand-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
  margin-top: 2rem;
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .gm-brand-row { grid-template-columns: repeat(4, 1fr); gap: .75rem; }
}
.gm-brand-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 88px;
  border: 1px solid rgba(255,255,255,.08);
  background: #111;
  display: block;
}
.gm-brand-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease, opacity .45s;
}
.gm-brand-card:hover img { transform: scale(1.03); opacity: .95; }
.gm-brand-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.5) 100%);
  padding: 0.65rem 0.75rem;
  pointer-events: none;
}
.gm-brand-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.9);
}
.gm-brand-logo.sm { font-size: 0.72rem; line-height: 1.25; letter-spacing: 0.08em; }
.gm-brand-card .gm-hero-cta {
  position: absolute; bottom: 0.5rem; left: 0.5rem; right: 0.5rem;
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.gm-brand-card:hover .gm-hero-cta { opacity: 1; transform: none; }

.gm-trust-bar {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: #080A0C;
}
.gm-trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .65rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gm-muted); white-space: nowrap;
}
.gm-trust-item svg { width: 1rem; height: 1rem; color: #fff; flex-shrink: 0; }

/* Drop product card (mockup) */
.gm-drop-card {
  background: #14181C;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.04);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s;
}
.gm-drop-card:hover { transform: translateY(-3px); border-color: rgba(22,139,255,.25); }
.gm-drop-card .img-wrap {
  background: #0E1114;
  padding: 1rem;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.gm-drop-card .img-wrap img {
  max-height: 100%; width: auto; object-fit: contain;
  transition: transform .4s ease;
}
.gm-drop-card:hover .img-wrap img { transform: scale(1.03); }
.gm-drop-card .meta { padding: .85rem 1rem 1rem; }
.gm-drop-cart {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.gm-drop-cart:hover { background: var(--gm-blue); border-color: var(--gm-blue); }

.gm-rivela-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 220px;
}
.gm-rivela-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gm-rivela-banner .veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,7,9,.95) 0%, rgba(5,7,9,.7) 50%, rgba(5,7,9,.4) 100%);
}

.gm-garagens-scroll {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gm-garagens-scroll::-webkit-scrollbar { height: 4px; }
.gm-garagens-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }
.gm-garagem-chip {
  flex: 0 0 160px; scroll-snap-align: start;
  border-radius: 10px; overflow: hidden; position: relative;
  aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,.06);
}
.gm-garagem-chip img { width: 100%; height: 100%; object-fit: cover; }
.gm-garagem-chip span {
  position: absolute; bottom: .75rem; left: .75rem; right: .75rem;
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
  text-shadow: 0 2px 8px #000;
}

/* Product page mockup */
.gm-size-btn {
  min-width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15); background: transparent;
  color: #fff; font-weight: 700; font-size: .8rem;
  transition: all .2s;
}
.gm-size-btn:hover, .gm-size-btn.active { border-color: var(--gm-blue); background: rgba(22,139,255,.15); }
.gm-swatch {
  width: 32px; height: 32px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer;
}
.gm-swatch.active { border-color: var(--gm-blue); }

@keyframes gm-fade-up { from { opacity:0; transform: translateY(12px);} to { opacity:1; transform:none;} }
.gm-animate { animation: gm-fade-up .5s ease forwards; }


.gm-section-head h2 { font-size: 1.75rem; letter-spacing: 0.06em; }
@media (min-width: 1024px) { .gm-section-head h2 { font-size: 2rem; } }
.gm-section-sub {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #5c6369; margin-top: 0.35rem; font-weight: 600;
}
.gm-btn-ver {
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 8px; padding: 0.5rem 1.1rem;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; transition: border-color .2s, background .2s;
  box-shadow: none;
}
.gm-btn-ver:hover { border-color: #fff; background: rgba(255,255,255,.05); }

.gm-trust-bar {
  background: #000 !important;
  border-top: 1px solid #1c1c1c;
  border-bottom: 1px solid #1c1c1c;
}
.gm-trust-bar .gm-trust-item {
  color: #6d7379; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
}
.gm-trust-bar .gm-trust-item svg { color: #8a9198; width: 14px; height: 14px; }

.gm-drop-card { background: #121416; border-radius: 10px; border: 1px solid #1e2226; }
.gm-drop-card .img-wrap { background: #0a0c0e; padding: 1.25rem; border-radius: 10px 10px 0 0; }
.gm-drop-card .meta { padding: 0.75rem 0.85rem 1rem; }
.gm-drop-card h3 { font-size: 11px; font-weight: 600; color: #e8eaed; min-height: auto; }
.gm-drop-card .brand-line { font-size: 9px; color: #168BFF; letter-spacing: 0.08em; }
.gm-drop-cart {
  width: 34px; height: 34px; border-radius: 6px;
  background: #fff !important; border: none !important;
}
.gm-drop-cart svg { color: #111 !important; }

.gm-rivela-banner { border-radius: 12px; min-height: 240px; }
.gm-rivela-logo {
  display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem;
}
.gm-rivela-logo .r-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, #168BFF, #007BFF);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.25rem; color: #fff;
}
.gm-rivela-logo .r-name {
  font-size: 2.25rem; font-weight: 800; font-style: italic;
  letter-spacing: 0.02em; color: #fff;
}

.gm-garagem-chip {
  flex: 0 0 140px; aspect-ratio: 3/4.2;
}
.gm-garagem-chip .logo-top {
  position: absolute; top: 12px; left: 0; right: 0; text-align: center;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
  padding: 0 0.5rem;
}
.gm-garagem-scroll-wrap { position: relative; }
.gm-garagem-next {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.6);
  color: #fff; display: none;
}
@media (min-width: 1024px) { .gm-garagem-next { display: flex; align-items: center; justify-content: center; } }

#drops .drops-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
@media (min-width: 768px) { #drops .drops-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { #drops .drops-grid { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; } }

/* Auth — login / cadastro */
.gm-auth-page {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
  isolation: isolate;
}
.gm-auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(22, 139, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(0, 123, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 70%, rgba(22, 139, 255, 0.06) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.gm-auth-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  width: min(520px, 90vw);
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(22, 139, 255, 0.22) 0%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
.gm-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(26, 31, 36, 0.92) 0%, rgba(14, 17, 20, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(22, 139, 255, 0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 8px 32px rgba(22, 139, 255, 0.08);
}
.gm-auth-card--wide { max-width: 32rem; }
.gm-auth-card__accent {
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--gm-blue) 30%, #4db5ff 50%, var(--gm-blue) 70%, transparent);
  opacity: 0.9;
}
.gm-auth-eyebrow {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gm-blue);
  margin-bottom: 0.5rem;
}
.gm-auth-title {
  font-size: 2.75rem;
  line-height: 1;
  color: #fff;
  margin: 0;
}
.gm-auth-sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #8b939a;
  line-height: 1.5;
}
.gm-auth-card__head { margin-bottom: 1.75rem; }
.gm-auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.gm-auth-form.gm-auth-form--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .gm-auth-form.gm-auth-form--grid { grid-template-columns: 1fr 1fr; }
  .gm-auth-form .gm-auth-span-2 { grid-column: 1 / -1; }
}
.gm-auth-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b939a;
  margin-bottom: 0.4rem;
}
.gm-auth-input-wrap { position: relative; }
.gm-auth-input-wrap .gm-input {
  padding-left: 2.65rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.gm-auth-page .gm-auth-field > .gm-input {
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.gm-auth-input-wrap .gm-input:hover,
.gm-auth-page .gm-auth-field > .gm-input:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: #141a1f;
}
.gm-auth-input-wrap .gm-input:focus,
.gm-auth-page .gm-auth-field > .gm-input:focus {
  border-color: rgba(22, 139, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(22, 139, 255, 0.15);
  background: #12181e;
}
.gm-auth-input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  color: #5c6369;
  pointer-events: none;
  transition: color 0.2s;
}
.gm-auth-input-wrap:focus-within .gm-auth-input-icon { color: var(--gm-blue); }
.gm-auth-page .gm-btn {
  margin-top: 0.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-size: 0.75rem;
  background: linear-gradient(135deg, #1a9bff 0%, var(--gm-blue-2) 50%, #0066d6 100%);
  box-shadow: 0 4px 24px rgba(22, 139, 255, 0.45), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.gm-auth-page .gm-btn:hover {
  box-shadow: 0 8px 32px rgba(22, 139, 255, 0.55), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
.gm-auth-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: #8b939a;
  text-align: center;
}
.gm-auth-link {
  color: var(--gm-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.gm-auth-link:hover { color: #4db5ff; }
.gm-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.gm-auth-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--gm-blue);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.gm-auth-check span { font-size: 0.8125rem; color: #a7adb3; line-height: 1.45; }
.gm-auth-check a { color: var(--gm-blue); }
