/* ============================================================
   Vitrine gamer e eletrônicos — estilos
   Edite as cores e fontes pelas variáveis abaixo.
   ============================================================ */

:root {
  --bg: #f6f4ee;
  --surface: #fffdf8;
  --surface-2: #f1eee5;
  --ink: #17181c;
  --ink-soft: #34363d;
  --muted: #646770;
  --line: #e3ded1;
  --line-strong: #d2ccbc;
  --accent: #ffd93d;
  --accent-deep: #e8b900;
  --accent-soft: #fff4b8;
  --green: #187a4b;
  --green-soft: #e7f4ec;
  --warn: #8a4a10;
  --warn-soft: #fdf2df;
  --dark: #141519;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(23, 24, 28, 0.06);
  --shadow: 0 18px 40px -18px rgba(23, 24, 28, 0.28);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(800px 420px at 8% -8%, rgba(255, 217, 61, 0.22), transparent 65%),
    radial-gradient(700px 420px at 100% 4%, rgba(24, 122, 75, 0.08), transparent 60%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input, select { font: inherit; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn--dark {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(20, 21, 25, 0.6);
}

.btn--dark:hover { background: #000; box-shadow: 0 16px 30px -14px rgba(20, 21, 25, 0.55); }

.btn--yellow {
  background: var(--accent);
  color: var(--dark);
  border-color: rgba(20, 21, 25, 0.08);
}

.btn--yellow:hover { background: #ffe16a; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }

.btn--block { width: 100%; }

.btn--sm {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn small { font-size: 0.78em; opacity: 0.8; }

.btn--disabled,
.btn[aria-disabled="true"] {
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Barra superior ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 238, 0.88);
  border-bottom: 1px solid rgba(210, 204, 188, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  transform: rotate(-3deg);
  box-shadow: 0 4px 0 rgba(20, 21, 25, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 900; letter-spacing: -0.02em; }
.brand-handle { font-size: 0.76rem; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { border-bottom-color: var(--accent-deep); }

.topbar .btn { flex: 0 0 auto; }

/* ---------- Hero ---------- */

.hero { padding: 60px 0 34px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(24, 122, 75, 0.14);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 em {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 0 0.06em;
  background: linear-gradient(transparent 64%, var(--accent) 64%, var(--accent) 94%, transparent 94%);
}

.hero-lead {
  max-width: 54ch;
  margin: 0 0 24px;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-points li { display: inline-flex; align-items: center; gap: 7px; }

.hero-points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
}

/* ---------- Cartão de perfil ---------- */

.profile-card {
  position: relative;
  margin: 0 auto;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), #ffeda0 55%, var(--accent));
}

.avatar {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 4px auto 14px;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, #fff6c9, transparent 42%),
    linear-gradient(145deg, #ffe468, var(--accent-deep));
  color: var(--dark);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -6px 14px rgba(20, 21, 25, 0.12), 0 8px 20px -10px rgba(20, 21, 25, 0.4);
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.profile-card h2 {
  margin: 0 0 2px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.profile-handle {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.profile-bio {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-stats div { padding: 0 6px; }
.profile-stats div + div { border-left: 1px solid var(--line); }

.profile-stats strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.profile-stats span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-note {
  margin: 12px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- Aviso de afiliado ---------- */

.disclosure-strip {
  background: var(--dark);
  color: #f3f0e7;
  padding: 13px 0;
  font-size: 0.84rem;
}

.disclosure-strip .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.disclosure-strip strong { color: var(--accent); }

/* ---------- Seções ---------- */

.section { padding: 54px 0 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-head p {
  margin: 6px 0 0;
  max-width: 58ch;
  font-size: 0.93rem;
  color: var(--muted);
}

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

.pill-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Grid e cards ---------- */

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

.grid { margin-top: 18px; }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card--featured { border-color: #e7cf6b; }

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.85), transparent 46%),
    linear-gradient(145deg, #f7f2dd, #eae4d2);
  font-size: 3.4rem;
  line-height: 1;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 24, 28, 0.055) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

.card-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.card-media > .media-fallback {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 12px rgba(23, 24, 28, 0.16));
}

.media-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(20, 21, 25, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.media-thumbs {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 5px;
  overflow-x: auto;
  border-radius: 12px;
  background: rgba(20, 21, 25, 0.55);
  backdrop-filter: blur(6px);
  scrollbar-width: none;
}

.media-thumbs::-webkit-scrollbar { display: none; }

.media-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.media-thumb:hover { opacity: 1; transform: translateY(-1px); }

.media-thumb.is-active {
  border-color: var(--accent);
  opacity: 1;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media.sem-imagem .media-thumbs,
.card-media.sem-imagem .media-count { display: none; }

.rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(20, 21, 25, 0.28);
}

.card--featured:nth-child(1) .rank { background: var(--accent); color: var(--dark); }
.card--featured:nth-child(2) .rank { background: #e8e6df; color: var(--ink); }
.card--featured:nth-child(3) .rank { background: #d8a06a; color: #2c1a0c; }

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.tag {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card .desc {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.ideal {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.ideal strong { color: var(--ink); }

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}

.stars { color: #b8860b; letter-spacing: 0.06em; }

.score {
  font-weight: 800;
  color: var(--ink);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2px 0 14px;
}

.price {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-note {
  font-size: 0.7rem;
  color: var(--muted);
}

.pros {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.pros li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pros li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 900;
  font-size: 0.78rem;
  line-height: 1.5;
}

.attention {
  margin: auto 0 14px;
  padding: 10px 12px;
  border: 1px solid #f0dcb4;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  font-size: 0.76rem;
  color: var(--warn);
}

.attention strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.card .btn { margin-top: auto; }

.affiliate-note {
  margin: 8px 0 0;
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

/* ---------- Ferramentas (busca, filtros, ordenação) ---------- */

.toolbar {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.toolbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
}

.search input::placeholder { color: #8a8d95; }

.search input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 217, 61, 0.35);
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.sort select {
  min-height: 46px;
  padding: 8px 34px 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background-color: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.chip:hover { border-color: var(--ink); }

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 2px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.empty {
  display: none;
  padding: 46px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.empty.is-visible { display: block; }

.empty strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.empty p { margin: 0 0 14px; font-size: 0.88rem; color: var(--muted); }

/* ---------- Confiança ---------- */

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

.trust-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.trust-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.trust-card h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: -0.02em; }
.trust-card p { margin: 0; font-size: 0.84rem; color: var(--muted); }

.criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.criteria span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

details[open] summary::after { content: "−"; transform: rotate(180deg); }

details p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Faixa CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding: 40px clamp(22px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #fff;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 217, 61, 0.12);
  pointer-events: none;
}

.cta-band::before { width: 260px; height: 260px; right: -70px; top: -130px; }
.cta-band::after { width: 160px; height: 160px; right: 120px; bottom: -100px; background: rgba(255, 255, 255, 0.05); }

.cta-copy { position: relative; z-index: 1; max-width: 58ch; }

.cta-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cta-copy p { margin: 0; font-size: 0.92rem; color: #c9c5ba; }

.cta-band .btn { position: relative; z-index: 1; flex: 0 0 auto; }

/* ---------- Rodapé ---------- */

footer {
  margin-top: 54px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-grid p { margin: 0 0 6px; max-width: 62ch; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-weight: 700;
  color: var(--ink-soft);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.footer-links a:hover { border-bottom-color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
}

/* ---------- Modo de edição (só em file://) ---------- */

.edit-banner {
  display: none;
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 1px dashed #c79b00;
  border-radius: var(--radius-sm);
  background: #fff8d6;
  color: #5c4700;
  font-size: 0.8rem;
}

.edit-banner.is-visible { display: block; }
.edit-banner code { background: rgba(255, 255, 255, 0.6); padding: 1px 5px; border-radius: 4px; }

/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 44px; }
  .profile-card { max-width: 460px; }
  .podium, .grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .topbar-inner { min-height: 62px; }
  .section { padding-top: 44px; }
  .hero-actions .btn { flex: 1 1 180px; }
}

@media (max-width: 620px) {
  .podium, .grid, .trust-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .toolbar { padding: 13px; }
  .sort { width: 100%; justify-content: space-between; }
  .sort select { flex: 1; }
  .cta-band { padding: 30px 22px; }
  .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
