:root {
  --bg: #060606;
  --surface: #101113;
  --surface-2: #15171a;
  --surface-3: #1b1e22;
  --border: rgba(255,255,255,0.12);
  --border-strong: rgba(255,255,255,0.18);
  --text: #f4f1eb;
  --muted: #b6b7bb;
  --accent: #f58a1f;
  --accent-2: #ff9b34;
  --shadow: 0 16px 48px rgba(0,0,0,0.35);
  --radius: 28px;
  --radius-sm: 18px;
  --radius-xs: 14px;
  --maxw: 560px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at top, rgba(245,138,31,0.10), transparent 32%),
    linear-gradient(180deg, #0a0a0b 0%, var(--bg) 38%, #050506 100%);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.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;
}
.site-shell {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}
.hero-photo {
  position: relative;
  height: clamp(170px, 32vh, 240px);
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: saturate(0.96) contrast(1.02) brightness(0.92);
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.28) 55%, rgba(6,6,6,0.96) 100%),
    linear-gradient(0deg, rgba(245,138,31,0.08), rgba(245,138,31,0.08));
  z-index: 1;
}
.profile-card {
  position: relative;
  margin: -42px 16px 0;
  padding: 0 18px 20px;
  z-index: 3;
}
.profile-main {
  background: linear-gradient(180deg, rgba(17,18,21,0.98), rgba(10,10,11,0.98));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 0 18px 24px;
  backdrop-filter: blur(8px);
}
.profile-badge-wrap {
  display: flex; justify-content: center;
  margin-top: -34px;
}
.profile-badge {
  width: 108px; height: 108px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900;
  font-family: Inter, "Arial Black", system-ui, sans-serif;
  font-size: 3rem;
  letter-spacing: -0.075em;
  color: var(--accent);
  background: #08090a;
  border: 4px solid var(--accent);
  box-shadow: 0 10px 26px rgba(0,0,0,0.38);
}
.profile-copy {
  text-align: center;
  margin-top: 10px;
}
.brand-name {
  margin: 0;
  font-family: Inter, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.64rem, 7.15vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
  font-weight: 900;
  text-wrap: balance;
}
.role {
  margin: 12px 0 0;
  color: var(--accent);
  letter-spacing: 0.23em;
  font-size: clamp(0.74rem, 2.65vw, 0.93rem);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  text-wrap: balance;
}
.role::before {
  content: "";
  display: block;
  width: 62px;
  height: 5px;
  border-radius: 999px;
  margin: 0 auto 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.profile-description {
  margin: 18px auto 0;
  max-width: 34ch;
  color: #d0d1d4;
  font-size: clamp(1rem, 3.55vw, 1.3rem);
  line-height: 1.48;
}
.primary-menu {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.menu-button {
  display: grid;
  grid-template-columns: 76px 1fr 34px;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 12px 18px 12px 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13,14,16,0.98), rgba(9,10,12,0.98));
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.menu-button:hover, .menu-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(245,138,31,0.36);
  outline: none;
}
.menu-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #17191c, #111214);
  border: 1px solid rgba(255,255,255,0.06);
}
.menu-icon svg, .arrow-icon svg, .mini-mark svg { width: 31px; height: 31px; stroke: var(--accent); }
.menu-label {
  font-size: clamp(1.06rem, 4.2vw, 1.63rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.028em;
}
.arrow-icon {
  display: flex; justify-content: flex-end; align-items: center;
}
.arrow-icon svg { width: 28px; height: 28px; stroke: #f0f0f0; }
.page-footer-sign {
  text-align: center;
  color: #eef0f2;
  opacity: .95;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 24px 12px 34px;
}
.page-footer-sign::before {
  content: "";
  display: block;
  width: 76px; height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: 0 auto 16px;
}
.page {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 0 16px 32px;
}
.page-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(6,6,6,0.88), rgba(6,6,6,0.72));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-topbar-inner {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-brand {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 0;
}
.mini-mark {
  width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: 50%;
  background: #08090a;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
.mini-mark strong { color: var(--accent); font-size: 1rem; font-weight: 900; letter-spacing: -0.065em; }
.topbar-meta { min-width: 0; }
.topbar-title {
  display: block; font-size: .95rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-subtitle {
  display: block; color: var(--muted); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
}
.topbar-back {
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
}
.topbar-back svg {
  width: 21px;
  height: 21px;
  stroke: var(--accent);
  flex: 0 0 auto;
}
.topbar-back:hover,
.topbar-back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.guide-cover {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 12px;
}
.section {
  background: linear-gradient(180deg, rgba(16,17,19,0.98), rgba(11,12,14,0.98));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-top: 18px;
  box-shadow: var(--shadow);
}
.section h1, .section h2 { margin: 0; line-height: 1.02; letter-spacing: -0.04em; }
.section h1 { font-size: clamp(2rem, 7vw, 3rem); }
.section h2 { font-size: clamp(1.45rem, 5vw, 2rem); }
.section p {
  color: #d2d3d7; line-height: 1.55; font-size: 1.05rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.helper { color: var(--muted); font-size: .95rem; }
.grid {
  display: grid; gap: 14px;
}
.category-card, .guide-card, .contact-card, .placeholder-box {
  background: linear-gradient(180deg, rgba(20,22,25,0.98), rgba(13,14,16,0.98));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
}
.card-title {
  margin: 0; font-size: 1.36rem; font-weight: 700; letter-spacing: -0.03em;
}
.card-copy { margin: 10px 0 0; color: #caccd1; }
.chip-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 8px 12px;
  font-size: .84rem; font-weight: 700;
  background: rgba(245,138,31,0.08); color: #ffd3a8; border: 1px solid rgba(245,138,31,0.20);
}
.link-btn, .ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 16px; margin-top: 16px;
  border-radius: 16px; font-weight: 700;
}
.link-btn {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #101113;
}
.ghost-btn {
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}
.empty-state {
  text-align: center;
  padding: 28px 18px;
}
.empty-state strong { display: block; font-size: 1.24rem; margin-bottom: 10px; }
.note-list {
  margin: 14px 0 0; padding-left: 18px; color: #cfd1d5;
}
.note-list li { margin-top: 8px; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px;
}
/* Alinhamentos exclusivos da biblioteca: preservar estilos e dimensões aprovados. */
.category-card .link-btn {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav--centered { justify-content: center; }
.text-link { color: #ffd2a0; }
.contact-list {
  display: grid; gap: 12px; margin-top: 16px;
}
.contact-card strong { font-size: 1.05rem; }
.contact-card small { display: block; color: var(--muted); margin-top: 6px; }
.inline-icon {
  display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: text-bottom;
}
.skip-link {
  position: absolute; left: 16px; top: -60px;
  padding: 10px 14px; border-radius: 999px;
  background: var(--accent); color: #111; z-index: 100;
}
.skip-link:focus { top: 14px; }

/* Preserve the approved touch targets while preventing cramped mobile labels. */
@media (max-width: 420px) {
  .profile-card { margin-left: 8px; margin-right: 8px; padding-left: 6px; padding-right: 6px; }
  .profile-main { padding: 0 12px 20px; }
  .profile-badge { width: 100px; height: 100px; font-size: 2.8rem; }
  .profile-copy { margin-top: 12px; }
  .primary-menu { margin-top: 20px; gap: 12px; }
  .menu-button { grid-template-columns: 58px minmax(0, 1fr) 24px; gap: 9px; padding: 10px 11px 10px 10px; min-height: 84px; border-radius: 22px; }
  .menu-icon { width: 55px; height: 55px; border-radius: 16px; }
  .menu-icon svg { width: 28px; height: 28px; }
  .arrow-icon svg { width: 24px; height: 24px; }
}
@media (max-width: 340px) {
  .brand-name { font-size: 1.6rem; }
  .role { letter-spacing: 0.17em; font-size: 0.70rem; }
  .menu-label { font-size: 1.04rem; }
}

@media (min-width: 700px) {
  .hero-photo { height: 250px; }
  .profile-card { margin-top: -52px; }
  .profile-main { padding: 0 26px 28px; }
  .page { padding-bottom: 40px; }
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Ajustes apenas das páginas internas: sem impacto no menu principal aprovado. */
.footer-nav { justify-content: center; }
.guide-card .link-btn {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.contact-copy { min-width: 0; }
.contact-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,138,31,0.22);
  border-radius: 16px;
  background: rgba(245,138,31,0.06);
  color: var(--accent);
}
.contact-icon svg { width: 29px; height: 29px; }
.contact-subtitle {
  margin: 5px 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--muted);
}
.contact-card--featured {
  border-color: rgba(245,138,31,0.38);
  background: linear-gradient(180deg, rgba(34,27,21,0.98), rgba(16,16,18,0.98));
}
.contact-card--featured .contact-icon {
  border-color: rgba(245,138,31,0.42);
  background: rgba(245,138,31,0.12);
}
/* Três CTAs de contato com dimensões idênticas por tamanho de tela. */
.contact-action {
  display: flex;
  width: min(100%, 270px);
  height: 64px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.contact-action .action-arrow { width: 18px; height: 18px; flex: 0 0 18px; }
.link-btn:hover, .ghost-btn:hover {
  filter: brightness(1.12);
}
.link-btn:focus-visible, .ghost-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
