@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./guia-assets/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #fff;
  --foreground: #383838;
  --primary: #3f3f3f;
  --surface: #f6f6f4;
  --muted: #6b6b6b;
  --border: #d9d9d5;
  --focus: #3f3f3f;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.guide-menu { min-height: 100svh; }

.menu-header {
  display: grid;
  min-height: 176px;
  grid-template-columns: minmax(0, 1fr) 240px;
  border-bottom: 1px solid var(--border);
}

.menu-header > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(24px, 5vw, 64px);
}

.identity-pattern {
  border-left: 1px solid var(--border);
  background: var(--surface) url("./guia-assets/patron-celular.png") center / cover no-repeat;
}

.eyebrow,
.item-kicker {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -.035em;
}

h3 {
  margin-bottom: 6px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -.025em;
}

.intro {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.guide-options {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 38px 52px;
}

.section-heading { margin-bottom: 22px; }

.guide-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.guide-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--border);
}

.item-number {
  align-self: start;
  padding-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.item-content > p:not(.item-kicker, .item-meta) {
  max-width: 70ch;
  margin-bottom: 9px;
  color: var(--muted);
}

.item-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.guide-link {
  display: inline-flex;
  width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: var(--foreground);
  text-decoration: none;
}

.guide-link:hover { color: #111; }
.guide-link:focus-visible,
.menu-footer a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.guide-link span { font-size: 20px; text-decoration: none; }

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.menu-footer p { margin: 0; }
.menu-footer a { color: var(--foreground); font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .menu-header { min-height: 0; grid-template-columns: 1fr 96px; }
  .menu-header > div:first-child { padding: 24px 20px; }
  .intro { font-size: 12px; }
  .guide-options { width: min(100% - 32px, 560px); padding-block: 32px 40px; }
  .guide-item { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding-block: 20px; }
  .guide-link { grid-column: 2; justify-self: start; }
  .item-meta { line-height: 1.7; }
  .menu-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .menu-header { grid-template-columns: 1fr; }
  .identity-pattern { display: none; }
}

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